:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-muted: #eef3fc;
  --text: #1c1c1e;
  --muted: #5f6470;
  --brand: #2f7cff;
  --brand-strong: #1a5fe0;
  --brand-soft: #e6efff;
  --ball: #f2c94c;
  --success: #31c159;
  --border: #e2e7f0;
  --shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 12px 32px rgb(16 24 40 / 8%);
  --store-bg: #111827;
  --store-text: #ffffff;
  --radius: 20px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --surface: #131b2e;
    --surface-muted: #18223a;
    --text: #e9edf5;
    --muted: #a0a9bb;
    --brand: #5b9bff;
    --brand-strong: #7fb0ff;
    --brand-soft: #1b2b4d;
    --border: #243049;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px rgb(0 0 0 / 35%);
    --store-bg: #f5f7fb;
    --store-text: #0b1120;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 600;
}

.lang a,
.lang span {
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}

.lang [aria-current] {
  background: var(--brand);
  color: #ffffff;
}

/* Hero */

.hero {
  position: relative;
  padding: 48px 0 56px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px -20% auto;
  height: 620px;
  z-index: -1;
  background:
    radial-gradient(closest-side at 70% 45%, color-mix(in srgb, var(--brand) 22%, transparent), transparent),
    radial-gradient(closest-side at 85% 20%, color-mix(in srgb, var(--ball) 28%, transparent), transparent);
}

.hero .wrap {
  display: grid;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.85rem;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ball);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ball) 35%, transparent);
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 7vw, 3.75rem);
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.hero .lead {
  margin-top: 18px;
  max-width: 34em;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-art {
  justify-self: center;
  width: min(100%, 460px);
  filter: drop-shadow(0 24px 40px rgb(26 95 224 / 25%));
}

/* Store buttons. Replace a `.store.is-soon` span with
   `<a class="store" href="https://...">` once the app is published. */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 10px 20px 10px 16px;
  border-radius: 14px;
  background: var(--store-bg);
  color: var(--store-text);
  text-decoration: none;
  line-height: 1.2;
}

.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.store small {
  display: block;
  font-size: 0.72rem;
  opacity: 0.75;
}

.store strong {
  display: block;
  font-size: 1.1rem;
}

a.store:hover {
  transform: translateY(-1px);
}

.store.is-soon {
  opacity: 0.88;
  cursor: default;
}

.stores-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.stat {
  padding: 16px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--brand);
  font-size: clamp(1.25rem, 5.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Sections */

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 40em;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 5vw, 2.6rem);
  font-weight: 800;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.05rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 20px 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.85rem;
  font-weight: 700;
}

.step img {
  height: 110px;
  width: auto;
  margin: 4px auto 14px;
}

.step h3 {
  font-size: 1.05rem;
}

.step p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

.panel {
  padding: 28px 22px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  font-weight: 800;
}

.panel p {
  margin-top: 14px;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.9rem;
  font-weight: 600;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checklist li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.equipment-art {
  justify-self: center;
  width: min(100%, 520px);
}

.privacy {
  display: grid;
  gap: 18px;
  padding: 28px 22px;
  border-radius: 28px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
}

.privacy svg {
  width: 44px;
  height: 44px;
  color: var(--brand);
}

.privacy h2 {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 800;
}

.privacy p {
  margin-top: 10px;
  color: var(--muted);
}

.privacy a {
  font-weight: 600;
}

/* Final call to action */

.cta {
  position: relative;
  overflow: hidden;
  padding: 40px 24px;
  border-radius: 32px;
  background: linear-gradient(135deg, #2f7cff 0%, #1a4fd6 100%);
  color: #ffffff;
  text-align: center;
}

.cta::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff59a, #f2c94c 55%, #d9a514);
  opacity: 0.9;
}

.cta h2 {
  position: relative;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  font-weight: 800;
}

.cta p {
  position: relative;
  margin: 12px auto 0;
  max-width: 30em;
  opacity: 0.9;
}

.cta .stores {
  position: relative;
  z-index: 1;
  justify-content: center;
}

.cta .store {
  background: #ffffff;
  color: #0b1120;
}

/* Footer */

.site-footer {
  padding: 48px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: grid;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a,
.site-footer a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

@media (min-width: 720px) {
  .wrap {
    padding: 0 32px;
  }

  .hero {
    padding: 72px 0 80px;
  }

  .stats {
    gap: 16px;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .step {
    padding: 28px 20px;
  }

  .step img {
    height: 130px;
  }

  .panel,
  .privacy {
    padding: 44px;
  }

  .privacy {
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: start;
  }

  .cta {
    padding: 64px 40px;
  }

  .site-footer .wrap {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }

  .hero-art {
    width: 100%;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .split-reverse .equipment-art {
    order: -1;
  }

  .section {
    padding: 80px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a.store:hover {
    transform: none;
  }
}
