:root {
  --navy: #0F2A44;
  --navy-deep: #0A1E33;
  --navy-line: #2A4360;
  --slate: #5A6E84;
  --muted: #A9B8C7;
  --teal: #2BB5A6;
  --teal-light: #5FD0C3;
  --teal-ink: #1C7F74;
  --coral: #F26B4E;
  --coral-ink: #D9573A;
  --cream: #F5F1E8;
  --mist: #EEF3F6;
  --white: #FFFFFF;
  --ink: #0F2A44;
  --ink-soft: #4B5D71;
  --display: Oswald, 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --body: Nunito, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--cream);
  padding: calc(env(safe-area-inset-top, 0px) + 18px) 24px 72px;
  overflow: hidden;
}
.bar { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: 0.02em;
}
.brand .ten { color: var(--teal-light); }
.bar-cta {
  text-decoration: none; font-weight: 800; font-size: 15px;
  padding: 9px 16px; border-radius: 999px; border: 2px solid var(--navy-line); color: var(--cream);
}
.bar-cta:hover { border-color: var(--teal); }

.hero-grid {
  max-width: 1120px; margin: 48px auto 0;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(96px, 15vw, 172px);
  line-height: 0.9;
  color: var(--cream);
}
.rally {
  margin: 22px 0 0;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(26px, 3.4vw, 34px);
  color: var(--teal-light);
}
.lede { margin: 14px 0 0; max-width: 32em; color: var(--muted); }

.waitlist { margin-top: 32px; max-width: 520px; scroll-margin-top: 24px; }
.waitlist label { display: block; font-weight: 800; margin-bottom: 10px; color: var(--cream); }
.field { display: flex; gap: 10px; }
.field input {
  flex: 1 1 auto; min-width: 0;
  font: inherit; font-size: 17px;
  padding: 14px 16px; border-radius: 12px;
  border: 2px solid var(--navy-line);
  background: var(--navy-deep); color: var(--white);
}
.field input::placeholder { color: var(--slate); }
.field button {
  flex: 0 0 auto;
  font: inherit; font-weight: 800; font-size: 17px;
  padding: 14px 22px; border: 0; border-radius: 12px;
  background: var(--coral); color: var(--white);
  cursor: pointer;
}
.field button:hover { background: var(--coral-ink); }
.field button:disabled { opacity: 0.7; cursor: progress; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.form-note.ok { color: var(--teal-light); font-weight: 800; font-size: 17px; }
.form-note.err { color: #FFB3A3; font-weight: 700; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 40px 0 10px; }
.phone {
  width: 300px; aspect-ratio: 9 / 19.2;
  border-radius: 48px; padding: 11px;
  background: #06121F;
  box-shadow: 0 0 0 2px #22384F, 0 40px 80px rgba(3, 12, 22, 0.55);
}
.screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden;
  background: var(--navy);
  display: flex; flex-direction: column; align-items: center;
  padding: 58px 22px 24px;
}
.island { position: absolute; top: 12px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; }
.ws-kicker { font-size: 14px; font-weight: 800; color: var(--teal-light); }
.ws-title { margin-top: 4px; font-family: var(--display); font-weight: 500; font-size: 26px; color: var(--cream); }
.ws-ring { width: 200px; margin-top: 18px; }
.rt { fill: none; stroke: var(--navy-line); stroke-width: 14; }
.rf { fill: none; stroke: var(--teal); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 100; transform: rotate(-90deg); transform-origin: 100px 100px; }
.rf.live { stroke-dashoffset: 33.3; animation: to-live 1.8s cubic-bezier(.3,.7,.3,1) .3s both; }
.rf.full { stroke-dashoffset: 0; }
.r-big { font-family: var(--display); font-weight: 600; font-size: 46px; fill: var(--cream); }
.r-small { font-family: var(--body); font-weight: 700; font-size: 15px; fill: var(--muted); }
@keyframes to-live { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 33.3; } }
.ws-stats { display: flex; width: 100%; justify-content: space-around; margin-top: 16px; text-align: center; }
.ws-stats b { display: block; font-family: var(--display); font-weight: 600; font-size: 26px; color: var(--cream); line-height: 1.1; }
.ws-stats span { font-size: 13px; font-weight: 700; color: var(--muted); }
.ws-btn { margin-top: auto; width: 100%; padding: 13px 0; border-radius: 14px; text-align: center; font-weight: 800; color: var(--cream); border: 2px solid var(--navy-line); }

.notif {
  position: absolute; top: 0; left: 50%; z-index: 2;
  width: 318px; margin-left: -210px;
  display: flex; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 20px;
  background: rgba(245, 241, 232, 0.96); color: var(--ink);
  box-shadow: 0 16px 36px rgba(3, 12, 22, 0.45);
  animation: drop-in .7s cubic-bezier(.2,.8,.2,1) 1.9s both;
}
.notif img { border-radius: 9px; flex: 0 0 auto; }
.notif-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); }
.notif-top strong { color: var(--ink); }
.notif-body { font-size: 15px; font-weight: 700; line-height: 1.35; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rf.live, .notif { animation: none; }
}

/* ---------- Sections ---------- */
main section { padding: 88px max(24px, calc((100% - 1120px) / 2)); }
main h2 { font-size: clamp(38px, 5vw, 56px); }
.sub { margin-top: 14px; max-width: 36em; color: var(--ink-soft); }

/* Day timeline */
.day { background: var(--cream); }
.timeline {
  list-style: none; padding: 0; margin-top: 44px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 4px;
  background: var(--navy); border-radius: 2px;
}
.timeline li { position: relative; padding: 38px 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.timeline li::before {
  content: ""; position: absolute; top: 4px; left: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--cream); border: 4px solid var(--navy);
}
.timeline .t { font-family: var(--display); font-weight: 600; font-size: 32px; line-height: 1; }
.timeline .m { font-weight: 800; color: var(--ink-soft); }
.chip {
  margin-top: 10px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--navy); color: var(--cream); font-weight: 800; font-size: 16px;
}
.chip svg { width: 30px; height: 30px; }
.ct { fill: none; stroke: var(--navy-line); stroke-width: 5; }
.cf { fill: none; stroke: var(--teal); stroke-width: 5; stroke-dasharray: 100; stroke-dashoffset: 0; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 18px 18px; }
.chip.bonus .cf { stroke: var(--coral); }

/* Steps */
.steps ol {
  list-style: none; padding: 0; margin-top: 44px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps h3 { font-size: 30px; margin-top: 22px; }
.steps h3::before { content: counter(step) ". "; color: var(--teal-ink); }
.steps p { margin: 8px 0 0; color: var(--ink-soft); }
.mini {
  height: 220px; border-radius: 24px; background: var(--navy); color: var(--cream);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.mini.center { align-items: center; justify-content: center; }
.mini-q { font-weight: 800; color: var(--teal-light); font-size: 15px; }
.mini-choice {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; border-radius: 14px; background: var(--teal); color: var(--navy);
}
.mini-choice b { font-family: var(--display); font-weight: 600; font-size: 24px; }
.mini-choice span { font-weight: 800; font-size: 14px; }
.mini-choice.alt { background: transparent; color: var(--cream); border: 2px solid var(--navy-line); }
.mini-ring { width: 170px; }
.mini-big { font-family: var(--display); font-weight: 600; font-size: 72px; line-height: 1; }
.mini-bonus { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--coral); color: var(--white); font-weight: 800; font-size: 15px; }
.mini-foot { margin-top: auto; color: var(--muted); font-weight: 700; font-size: 15px; }

/* Share cards */
.cards { background: var(--navy); color: var(--cream); }
.cards .sub { color: var(--muted); }
.cards .sub strong { color: var(--teal-light); }
.card-row { display: flex; gap: 28px; margin-top: 44px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.cardbox { margin: 0; flex: 0 0 auto; width: 297px; height: 528px; border-radius: 18px; overflow: hidden; scroll-snap-align: start; box-shadow: 0 0 0 1px var(--navy-line); }
.card {
  width: 540px; height: 960px; transform: scale(0.55); transform-origin: top left;
  padding: 52px 48px 44px; display: flex; flex-direction: column; gap: 32px;
  background: #0F2A44; color: var(--cream); font-family: var(--body);
}
.card.c-mile { background: var(--teal); color: var(--navy); }
.card.c-group { background: var(--cream); color: var(--navy); }
.c-top { display: flex; justify-content: space-between; align-items: center; }
.c-k { font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: 0.18em; color: var(--teal); }
.c-mile .c-k { color: var(--navy); }
.c-group .c-k { color: var(--coral-ink); }
.c-d { font-size: 15px; font-weight: 700; opacity: 0.75; }
.c-h { font-family: var(--display); font-weight: 500; font-size: 58px; line-height: 1.05; }
.c-h.small { font-size: 52px; }
.c-dots { display: flex; gap: 14px; margin-top: auto; }
.c-dots i { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); }
.c-dots i.miss { background: transparent; border: 3px solid var(--slate); }
.c-score { display: flex; justify-content: space-between; align-items: flex-end; }
.c-score > div { display: flex; flex-direction: column; }
.c-k2 { font-size: 15px; font-weight: 800; letter-spacing: 0.14em; opacity: 0.7; }
.c-num { font-family: var(--display); font-weight: 600; font-size: 168px; line-height: 0.9; }
.c-num.s { font-size: 110px; }
.c-meta { font-size: 18px; font-weight: 700; color: var(--muted); padding-bottom: 12px; }
.c-hundred { font-family: var(--display); font-weight: 700; font-size: 260px; line-height: 0.85; margin-top: 24px; }
.c-hundred span { display: block; font-size: 40px; letter-spacing: 0.2em; margin-top: 10px; }
.c-p { margin: 0; font-size: 24px; line-height: 1.45; }
.c-faces { display: flex; flex-wrap: wrap; gap: 12px; }
.c-faces i {
  font-style: normal; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--cream); font-family: var(--display); font-size: 28px; font-weight: 600;
}
.c-faces i:nth-child(3n+2) { background: var(--teal); color: var(--navy); }
.c-faces i:nth-child(3n) { background: var(--coral); color: var(--white); }
.c-stats { display: flex; gap: 48px; }
.c-stats > div { display: flex; flex-direction: column; }
.c-foot { margin-top: auto; border-top: 1px solid currentColor; padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.c-week .c-foot { border-color: var(--navy-line); }
.c-rally { font-size: 24px; font-weight: 700; }
.c-tag { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: 0.04em; }

/* Why */
.why { background: var(--mist); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why p { max-width: 34em; margin-top: 20px; }
.why .fine { font-size: 15px; color: var(--ink-soft); }
.curve { margin: 0; background: var(--white); border-radius: 24px; padding: 20px 20px 14px; }
.curve svg { width: 100%; height: auto; display: block; }
.axis { stroke: #C9D3DC; stroke-width: 2; }
.walkband { fill: var(--teal); opacity: 0.12; }
.lbl-band { font: 700 14px var(--body); fill: var(--teal-ink); }
.c-sit { fill: none; stroke: var(--coral); stroke-width: 5; stroke-linecap: round; }
.c-walk { fill: none; stroke: var(--teal); stroke-width: 5; stroke-linecap: round; }
.lbl-sit { font: 800 15px var(--body); fill: var(--coral-ink); }
.lbl-walk { font: 800 15px var(--body); fill: var(--teal-ink); }
.lbl-ax { font: 700 13px var(--body); fill: var(--ink-soft); }
.curve figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.curve .curve-title { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; color: var(--ink); margin: 0 0 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; font-weight: 700; font-size: 15px; }
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg::before { content: ""; width: 22px; height: 5px; border-radius: 3px; }
.lg.sit { color: var(--coral-ink); } .lg.sit::before { background: var(--coral); }
.lg.walk { color: var(--teal-ink); } .lg.walk::before { background: var(--teal); }
.bracket { stroke: var(--ink); stroke-width: 2; }
.lbl-note { font: 800 15px var(--body); fill: var(--ink); }

/* Quick facts */
.facts { padding-top: 56px; padding-bottom: 56px; border-top: 1px solid #DCE3EA; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.facts li { display: flex; flex-direction: column; gap: 4px; }
.facts b { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.1; }
.facts span { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 860px) { .facts ul { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* Closing */
.close { background: var(--coral); color: var(--white); text-align: left; }
.close-h { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; }
.close-s { margin: 10px 0 0; font-weight: 700; }
.close-btn {
  display: inline-block; margin-top: 24px; text-decoration: none;
  padding: 14px 24px; border-radius: 12px; background: var(--navy); color: var(--cream); font-weight: 800;
}
.close-btn:hover { background: var(--navy-deep); }

/* Footer */
.foot {
  background: var(--navy-deep); color: var(--muted);
  padding: 36px 24px calc(36px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 16px;
}
.foot nav { display: flex; gap: 24px; }
.foot .legal { font-weight: 400; }
.foot p { margin: 0; }

/* Text pages (privacy, support) */
.page-head { background: var(--navy); color: var(--cream); padding: calc(env(safe-area-inset-top, 0px) + 18px) 24px 48px; }
.page-head h1 { max-width: 760px; margin: 40px auto 0; font-size: clamp(44px, 7vw, 64px); }
.page-head .bar { max-width: 760px; }
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.doc h2 { font-size: 30px; margin-top: 40px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc .updated { font-size: 15px; }
.doc a { color: var(--teal-ink); font-weight: 700; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .hero { padding-bottom: 40px; }
  .hero-grid { grid-template-columns: 1fr; margin-top: 32px; gap: 32px; }
  .field { flex-direction: column; }
  .field button { width: 100%; }
  .notif { width: 290px; margin-left: -145px; }
  .phone { width: 260px; }
  .screen { padding-top: 52px; }
  .ws-ring { width: 170px; }
  main section { padding: 64px 20px; }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { left: 11px; right: auto; top: 8px; bottom: 8px; width: 4px; height: auto; }
  .timeline li { padding: 0 0 0 44px; }
  .timeline li::before { top: 4px; }
  .steps ol { grid-template-columns: 1fr; gap: 44px; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .cardbox { width: 243px; height: 432px; }
  .card { transform: scale(0.45); }
}

[hidden]{display:none !important}

/* Brand lockup: numeral 1 + plate as the 0, matching the app icon */
.brand .mark { display: inline-flex; align-items: center; gap: 1px; }
.brand .mark .one { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 30px; line-height: 1; color: var(--cream, #F5F1E8); }
.page-head .brand .mark .one { color: inherit; }
.brand .app-icon { width: 36px; height: 36px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(244,241,234,.18); flex: none; }
