/* GPS intro site. Tokens follow the app design (mobile/packages/gps_ui/lib/src/tokens.dart). */

@font-face { font-family: Lexend; font-weight: 400; font-display: swap; src: url(/assets/fonts/lexend-400.woff2) format("woff2"); }
@font-face { font-family: Lexend; font-weight: 500; font-display: swap; src: url(/assets/fonts/lexend-500.woff2) format("woff2"); }
@font-face { font-family: Lexend; font-weight: 600; font-display: swap; src: url(/assets/fonts/lexend-600.woff2) format("woff2"); }
@font-face { font-family: Lexend; font-weight: 800; font-display: swap; src: url(/assets/fonts/lexend-800.woff2) format("woff2"); }

:root {
  --lime: #c6ef3a;
  --lime-soft: #ddf59b;
  --ink: #111111;
  --ink-2: #1b1b1b;
  --ink-3: #262626;
  --bg: #f3f3f3;
  --surface: #ffffff;
  --border: #e4e4e4;
  --text-2: #4f4f4f;
  --text-3: #a3a3a3;
  --on-dark-2: #b8b8b8;
  --line-dark: rgba(255, 255, 255, 0.12);
  --r-card: 20px;
  --r-pill: 999px;
  --gutter: 20px;
  --max: 1160px;
  --head-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Lexend, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
mark { background: none; color: var(--lime); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.dark { background: var(--ink); color: #fff; }
.light { background: var(--bg); }
.lime { background: var(--lime); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #d4f562; }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(17,17,17,.88); backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px); color: #fff; border-bottom: 1px solid var(--line-dark); }
.top__bar { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--lime); color: var(--ink); }
.logo__word { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a:not(.btn) { text-decoration: none; color: var(--on-dark-2); transition: color .15s; }
.nav a:not(.btn):hover { color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, top .2s ease; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 879px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--head-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; color: #fff; }
  .nav__cta { margin-top: 18px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 48px 0 0; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(198,239,58,.22), rgba(198,239,58,0)); pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 40px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line-dark); background: rgba(255,255,255,.05); font-size: 13px; font-weight: 500; color: var(--on-dark-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(198,239,58,.18); }
.hero__title { margin-top: 20px; font-weight: 800; font-size: clamp(40px, 10.5vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
.hero__lead { margin-top: 20px; max-width: 560px; color: var(--on-dark-2); font-size: 17px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.hero__facts li { padding: 16px 12px 0 0; display: grid; gap: 2px; }
.hero__facts li + li { padding-left: 14px; border-left: 1px solid var(--line-dark); }
.hero__facts strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.hero__facts span { font-size: 13px; color: var(--text-3); }

.hero__phones { position: relative; display: flex; justify-content: center; align-items: flex-end; height: clamp(380px, 112vw, 620px); }
.phone {
  margin: 0; border-radius: 36px; padding: 7px; background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px -20px rgba(0,0,0,.6);
}
.phone img { border-radius: 30px; width: 100%; }
.light .phone, .lime .phone { box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 24px 48px -18px rgba(17,17,17,.35); }
.hero__phones .phone { position: absolute; bottom: -40px; }
.phone--front { width: 52%; max-width: 280px; z-index: 2; }
.phone--back { width: 40%; max-width: 230px; opacity: .9; }
.phone--l { left: 4%; transform: rotate(-7deg); bottom: -70px !important; }
.phone--r { right: 4%; transform: rotate(7deg); bottom: -70px !important; }

.ticker { position: relative; z-index: 3; background: var(--lime); color: var(--ink); overflow: hidden; border-top: 1px solid var(--ink); }
.ticker__row { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker span { padding: 14px 22px; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.ticker span::after { content: "✦"; margin-left: 44px; font-weight: 400; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Chapters */
.chapter { padding: 72px 0; }
.head { max-width: 760px; margin-bottom: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--text-2); }
.eyebrow span { display: grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: var(--r-pill); background: var(--ink); color: var(--lime); letter-spacing: 0; }
.dark .eyebrow { color: var(--on-dark-2); }
.dark .eyebrow span { background: var(--lime); color: var(--ink); }
.lime .eyebrow { color: var(--ink); }
.eyebrow--lime { color: var(--lime) !important; }
.head h2, .final h2 { margin-top: 16px; font-size: clamp(30px, 7.4vw, 52px); font-weight: 800; letter-spacing: -0.03em; }
.head__lead { margin-top: 16px; font-size: 17px; color: var(--text-2); max-width: 640px; }
.dark .head__lead { color: var(--on-dark-2); }

.cards { display: grid; gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px 24px; }
.card h3 { font-size: 20px; font-weight: 600; margin-top: 18px; }
.card p { margin-top: 8px; color: var(--text-2); }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--lime); }
.card__icon svg { width: 24px; height: 24px; fill: var(--ink); }
.card--line { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 20px 0 0; }
.card--line h3 { margin-top: 0; }
.lime .card--line p { color: #2a2a2a; }

/* Features (dark) */
.feature { display: grid; gap: 32px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line-dark); }
.feature .phone { width: 70%; max-width: 280px; margin: 0 auto; }
.feature__no { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--lime); }
.feature h3 { margin-top: 10px; font-size: clamp(24px, 5.6vw, 36px); font-weight: 800; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: #e6e6e6; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime);
  -webkit-mask: none;
}
.ticks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 8px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

/* Steps */
.steps {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter) 8px; max-width: var(--max);
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.steps::-webkit-scrollbar { display: none; }
.step { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 18px 18px 22px; }
.step .phone { width: 100%; max-width: 220px; margin: 0 auto; border-radius: 30px; padding: 6px; }
.step .phone img { border-radius: 25px; }
.step__no { margin-top: 20px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--lime); font-weight: 800; font-size: 15px; }
.step h3 { margin-top: 12px; font-size: 19px; font-weight: 600; }
.step p:last-child { margin-top: 6px; color: var(--text-2); font-size: 15px; line-height: 1.5; }

/* Coach */
.coach__grid { display: grid; gap: 40px; }
.coach__media { position: relative; padding-bottom: 60px; }
.coach__photo { width: 78%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; filter: grayscale(1) contrast(1.05); }
.phone--float { position: absolute; right: 0; bottom: 0; width: 46%; max-width: 240px; }
.coach__list { display: grid; gap: 0; align-content: start; }
.row { padding: 22px 0; border-top: 1px solid var(--line-dark); }
.row h3 { font-size: 21px; font-weight: 600; }
.row h3::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 12px; border-radius: 3px; background: var(--lime); vertical-align: 3px; }
.row p { margin-top: 8px; color: var(--on-dark-2); }
.coach__list .btn { justify-self: start; margin-top: 18px; }
.note { margin-top: 12px; font-size: 14px; color: var(--text-3); }

/* FAQ */
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); font-size: 20px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.faq details p { padding: 0 0 20px; color: var(--text-2); }

/* Final CTA */
.final { position: relative; z-index: 2; padding: 72px 0 0; }
.final__grid { display: grid; gap: 40px; align-items: end; }
.final h2 { font-size: clamp(36px, 9vw, 64px); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 18px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line-dark); background: var(--ink-2); line-height: 1.15; font-weight: 600; font-size: 16px; color: #fff; opacity: .85; }
.store small { display: block; font-size: 11px; font-weight: 400; color: var(--text-3); }
.store svg { width: 24px; height: 24px; fill: #fff; }
.phone--final { width: 60%; max-width: 260px; margin: 0 auto -120px; }

/* Footer */
.foot { position: relative; z-index: 1; padding: 140px 0 28px; border-top: 1px solid var(--line-dark); }
.foot__grid { display: grid; gap: 32px; }
.foot__tag { margin-top: 12px; color: var(--text-3); font-size: 14px; }
.foot nav { display: grid; gap: 8px; align-content: start; font-size: 15px; color: var(--on-dark-2); }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: #fff; }
.foot__h { color: #fff; font-weight: 600; margin-bottom: 4px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); color: var(--text-3); font-size: 13px; }

/* Tablet */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
  .steps { grid-auto-columns: 40%; }
  .foot__grid { grid-template-columns: 2fr 1fr 1fr; }
  .hero__phones { height: 560px; }
}

/* Desktop */
@media (min-width: 960px) {
  :root { --head-h: 72px; }
  .chapter { padding: 112px 0; }
  .head { margin-bottom: 56px; }
  .hero { padding-top: 72px; }
  .hero__grid { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 24px; }
  .hero__copy { padding-bottom: 96px; }
  .hero__phones { height: 640px; }
  .phone--l { left: 0; }
  .phone--r { right: 0; }
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; padding: 56px 0; max-width: 980px; margin: 0 auto; }
  .feature--rev .phone { order: 2; }
  .feature .phone { width: 100%; }
  .feature__copy { max-width: 480px; }
  .steps { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; padding-bottom: 0; }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
  .coach__grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
  .faq .head { position: sticky; top: calc(var(--head-h) + 32px); }
  .final { padding-top: 112px; }
  .final__grid { grid-template-columns: 1.3fr 1fr; }
  .phone--final { margin-bottom: -160px; }
  .foot { padding-top: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__row { animation: none; }
  .btn, .nav, .burger span { transition: none; }
}

/* 404 */
.notfound { min-height: 100vh; display: grid; align-content: center; justify-items: start; gap: 18px; }
.notfound h1 { font-size: clamp(34px, 8vw, 56px); font-weight: 800; }
