:root {
  --ink: #0A0F1E;
  --black: #000000;
  --white: #FFFFFF;
  --tint: #F5F7FA;
  --blue: #2563EB;
  --blue-deep: #1D4ED8;
  --sky: #3B82F6;
  --body: rgba(10, 15, 30, 0.66);
  --line: rgba(10, 15, 30, 0.08);
  --on-dark: rgba(255, 255, 255, 0.74);
  --gutter: clamp(16px, 5vw, 64px);
  --display: "Archivo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--display);
  font-variation-settings: "wdth" 100;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  margin: 0;
  font-weight: 850;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
h2 { font-size: clamp(38px, 5.6vw, 76px); }
h3 { font-size: 22px; letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0; }

.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.narrow > * { max-width: 820px; }
.section-sub { max-width: 34em; margin-top: 20px; color: var(--body); font-size: 19px; }
.fine { margin-top: 24px; font-size: 14px; color: var(--body); max-width: 40em; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* wordmark: the period is the brand */
.mark {
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.mark span { color: var(--blue); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--blue); color: var(--white);
  border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 16px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--blue-deep); }
.btn:active { transform: scale(0.97); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter);
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.nav.solid {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.nav-links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; opacity: 0.85; }
.nav-links a:hover { opacity: 1; }

/* phone */
.phone {
  position: relative;
  width: 100%;
  padding: 10px;
  background: #1C1C20;
  border-radius: 54px;
  box-shadow: inset 0 0 0 1.5px #3C3E46, 0 40px 80px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.phone img { width: 100%; height: auto; border-radius: 44px; background: #000; }

/* viewfinder corners, prompt pill, store badge (film) */
.vf { border: 0 solid rgba(255, 255, 255, 0.85); }
.vf.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 14px; }
.vf.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 14px; }
.vf.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 14px; }
.vf.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 14px; }
.prompt {
  display: inline-block; font-size: 15px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 18px 0 14px; border-radius: 14px;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9); font-weight: 700; font-size: 17px; line-height: 1.05;
}
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; }
.free-note { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,0.6); }

/* HOW IT WORKS */
.how { padding: clamp(90px, 12vw, 150px) 0; }
.steps {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px);
}
.steps li { border-top: 2px solid var(--ink); padding-top: 22px; }
.step-n {
  display: block; margin-bottom: 18px;
  font-size: 56px; font-weight: 900; font-variation-settings: "wdth" 125; line-height: 1;
  color: var(--blue);
}
.steps p { margin-top: 10px; color: var(--body); }

/* USES: a BeReal-style reel */
.uses { padding: 0 0 clamp(90px, 12vw, 150px); }
.post {
  flex: 0 0 auto; width: clamp(190px, 20vw, 270px);
  margin: 0; position: relative;
  border-radius: 22px; overflow: hidden;
  aspect-ratio: 4 / 5.2;
  background: var(--ink);
}
.post img { width: 100%; height: 100%; object-fit: cover; }
.post figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 60px 18px 18px;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.78));
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.tag { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--white); color: var(--ink); }
.post time { font-size: 13px; font-weight: 600; opacity: 0.8; font-variant-numeric: tabular-nums; }
.post p { flex-basis: 100%; font-size: 16px; font-weight: 600; line-height: 1.3; }

/* COACHES */
.coaches { background: var(--tint); padding: clamp(90px, 12vw, 150px) 0; }
.coaches-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.coaches h2 { max-width: 11ch; }
.tabs {
  margin-top: 40px;
  display: inline-flex; gap: 4px; padding: 5px;
  background: var(--white); border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line);
}
.tabs button {
  font: inherit; font-size: 16px; font-weight: 700;
  min-height: 44px; padding: 0 22px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--body);
  transition: background 0.18s ease, color 0.18s ease;
}
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.panel ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.panel li { position: relative; padding-left: 30px; font-size: 18px; font-weight: 500; }
.panel li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue);
}
.coaches-phone { justify-self: center; width: min(320px, 100%); }
#coach-shot { transition: opacity 0.2s ease; }
#coach-shot.swap { opacity: 0; }

/* PRICING */
.pricing { padding: clamp(90px, 12vw, 150px) 0; }
.pricing h2 { max-width: 11ch; }
.pricing-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.trial { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 22px; max-width: 30em; }
.trial li { border-left: 3px solid var(--blue); padding-left: 18px; color: var(--body); }
.trial li:last-child { border-left-color: var(--ink); }
.trial b { display: block; color: var(--ink); font-size: 19px; margin-bottom: 4px; }
.plan-note { margin-top: 14px; font-size: 14px; color: var(--on-dark); }
.plan {
  display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.plan h3 { font-size: 26px; }
.price { margin-top: 18px; font-size: 54px; font-weight: 850; font-variation-settings: "wdth" 125; letter-spacing: -0.03em; line-height: 1; }
.price small { font-size: 18px; font-weight: 600; letter-spacing: 0; color: inherit; opacity: 0.7; }
.alt-price { margin-top: 10px; font-size: 15px; }
.plan ul { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 12px; flex: 1; }
.plan li { padding-left: 28px; position: relative; font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.35em; width: 12px; height: 7px; border: solid var(--blue); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.plan .btn { align-self: flex-start; }
.plan-plus { background: var(--ink); color: var(--white); box-shadow: none; }
.plan-plus .alt-price { color: var(--on-dark); }
.plan-plus li::before { border-color: var(--sky); }

/* FAQ */
.faq { padding: 0 0 clamp(90px, 12vw, 150px); }
.faq h2 { margin-bottom: 28px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0;
  font-size: 20px; font-weight: 700;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: 0 0 auto; width: 12px; height: 12px;
  border: solid var(--ink); border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-4px);
  transition: transform 0.2s ease;
}
details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
details p { padding: 0 0 26px; max-width: 40em; color: var(--body); }

/* FINAL */
.final { background: var(--ink); color: var(--white); padding: clamp(90px, 12vw, 140px) 0 0; overflow: hidden; }
.final-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.final-grid > div:first-child { padding-bottom: clamp(90px, 12vw, 140px); }
.final h2 { font-size: clamp(48px, 8vw, 112px); max-width: 8ch; }
.final h2::after { content: "."; color: var(--blue); }
.final-phone { justify-self: center; width: min(320px, 100%); margin-bottom: -18%; }

/* FOOTER */
.foot { background: var(--ink); color: rgba(255,255,255,0.7); padding: 40px 0; box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); position: relative; }
.foot-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; font-size: 15px; }
.foot .mark { color: var(--white); }
.foot nav { display: flex; flex-wrap: wrap; gap: 26px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--white); }

/* responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .coaches-grid, .final-grid { grid-template-columns: 1fr; }
  .coaches-phone { width: min(270px, 78%); }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .final-phone { width: min(260px, 74%); margin-bottom: -30%; }
  .final-grid > div:first-child { padding-bottom: 0; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .prompt { font-size: 14px; }
  .tabs { display: flex; }
  .tabs button { flex: 1; padding: 0 10px; }
  .phone { border-radius: 44px; padding: 8px; }
  .phone img { border-radius: 36px; }
}

/* JOURNEY: a pinned map; scrolling climbs the route */
.journey { position: relative; background: var(--ink); color: var(--white); }
.journey-stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  background: radial-gradient(120% 90% at 65% 40%, #101a36 0%, var(--ink) 60%);
}
.journey-map { position: absolute; left: -50%; top: -50%; width: 200%; height: 200%; transform-origin: 50% 50%; will-change: transform; }
.contours path { fill: none; stroke: rgba(148, 170, 220, 0.11); }
.contours path:nth-child(5n) { stroke: rgba(148, 170, 220, 0.2); }
.route-ahead { fill: none; stroke: rgba(255, 255, 255, 0.32); stroke-linecap: round; }
.route-done { fill: none; stroke: var(--blue); stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.75)); }
.route-comet { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)); }

.journey-marks { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.jmark { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.jmark .pin { position: absolute; left: 0; top: 0; }
.jmark .dot {
  position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.jmark .lab {
  position: absolute; top: -9px; white-space: nowrap;
  font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease;
}
.jmark .pic {
  position: absolute; top: -40px; width: 60px; height: 76px; border-radius: 10px; overflow: hidden;
  background: #000; box-shadow: 0 0 0 2px var(--white), 0 12px 24px rgba(0, 0, 0, 0.45);
  opacity: 0; transform: scale(0.6) rotate(var(--tilt, -4deg));
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.jmark .pic img { width: 100%; height: 100%; object-fit: cover; }
.jmark.right .lab { left: 16px; }
.jmark.right .pic { left: 16px; top: 14px; }
.jmark.left .lab { right: 16px; }
.jmark.left .pic { right: 16px; top: 14px; }
.jmark.on .dot { background: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.3); }
.jmark.on .lab { color: var(--white); }
.jmark.on .pic { opacity: 1; transform: scale(1) rotate(var(--tilt, -4deg)); }
.jmark.far .pic, .jmark.far .lab { opacity: 0; }

.journey-you { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; }
.journey-you { z-index: 2; }
.journey-card, .journey-rail, .journey-bar { z-index: 3; }
.journey-you span {
  position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.55), 0 0 30px 8px rgba(59, 130, 246, 0.55);
}
.journey-you::before, .journey-you::after {
  content: ""; position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.8);
  animation: ping 2.2s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.journey-you::after { animation-delay: 1.1s; }
@keyframes ping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .journey-you::before, .journey-you::after { animation: none; opacity: 0; } }
.jmark .flag {
  position: absolute; left: -6px; top: -44px; width: 34px; height: 34px; color: var(--sky);
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.8));
  opacity: 0.5; transition: opacity 0.3s ease, color 0.3s ease;
}
.jmark.summit.on .flag { opacity: 1; color: #fff; }
.jmark.summit .lab { top: -9px; }

.journey-card {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%);
  width: min(460px, 40vw);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.journey-card.out { opacity: 0; transform: translateY(calc(-50% + 12px)); }
.j-when { font-size: 18px; font-weight: 800; color: var(--sky); margin-bottom: 14px; }
.journey-card h2, .journey-card h3 { font-size: clamp(38px, 4.6vw, 68px); }
.journey-card h2 { max-width: 11ch; }
.j-lead { margin-top: 20px; font-size: clamp(17px, 1.4vw, 19px); color: var(--on-dark); max-width: 30em; }
.j-plans { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.j-plans li { font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3); }
.j-hint { margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.j-facts { margin: 28px 0 0; display: grid; gap: 12px; }
.j-facts div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: baseline; padding-top: 12px; box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.12); }
.j-facts dt { font-size: 14px; font-weight: 800; color: var(--sky); }
.j-facts dd { margin: 0; font-size: 16px; font-weight: 600; }
.journey-card .btn { margin-top: 30px; }

.journey-rail {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; text-align: right;
}
.journey-rail button {
  font: inherit; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.4);
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: color 0.2s ease;
}
.journey-rail button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.journey-rail button.done { color: rgba(255, 255, 255, 0.75); }
.journey-rail button { font-size: 0; gap: 0; }
.journey-rail button::after { width: 9px; height: 9px; }
.journey-rail button[aria-current="step"], .journey-rail button:hover, .journey-rail button:focus-visible { font-size: 13px; gap: 10px; }
.journey-rail button.done::after { background: var(--blue); box-shadow: none; }
.journey-rail button[aria-current="step"] { color: var(--white); }
.journey-rail button:hover { color: var(--white); }
.journey-bar { display: none; }

.journey-steps { margin-top: -100svh; position: relative; pointer-events: none; }
.jstep { height: 100svh; scroll-snap-align: start; }
.js .jcontent {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
/* Without JavaScript the stops read as a plain list. */
html:not(.js) .journey-stage { display: none; }
html:not(.js) .journey-steps { margin-top: 0; }
html:not(.js) .jstep { height: auto; padding: 60px var(--gutter); }

@media (max-width: 900px) {
  .journey-card {
    left: 12px; right: 12px; top: auto; bottom: 12px; transform: none; width: auto;
    padding: 22px 20px 20px; border-radius: 24px;
    background: rgba(10, 15, 30, 0.82);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
  .journey-card.out { transform: translateY(12px); }
  .journey-card h2, .journey-card h3 { font-size: clamp(30px, 8.4vw, 40px); }
  .j-when { font-size: 15px; margin-bottom: 8px; }
  .j-lead { margin-top: 10px; font-size: 15px; }
  .j-plans { margin-top: 14px; }
  .j-plans li { font-size: 13px; padding: 6px 11px; }
  .j-hint { margin-top: 12px; }
  .j-facts { margin-top: 14px; gap: 6px; }
  .j-facts div { padding-top: 6px; grid-template-columns: 58px 1fr; }
  .j-facts dt { font-size: 13px; }
  .j-facts dd { font-size: 14px; }
  .journey-card .btn { margin-top: 16px; }
  .journey-rail { display: none; }
  .journey-bar { display: block; position: absolute; left: 16px; right: 16px; top: 74px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.15); }
  .journey-bar i { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--blue); }
  .jmark .pic { width: 46px; height: 58px; top: 12px; }
  .jmark .lab { font-size: 12px; }
}

/* FILM: pinned, scroll-scrubbed scenes */
.film { position: relative; background: #000; color: var(--white); }
.film-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; perspective: 1400px; }
.scene { position: absolute; inset: 0; overflow: hidden; visibility: hidden; will-change: clip-path; }
.scene:first-child { visibility: visible; }
.scene img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; will-change: transform; }
.film-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 18, 0.82) 0%, rgba(5, 8, 18, 0.5) 38%, rgba(5, 8, 18, 0.08) 70%),
    linear-gradient(180deg, rgba(5, 8, 18, 0.55) 0%, transparent 22%, transparent 70%, rgba(5, 8, 18, 0.6) 100%);
}
.iris-ring {
  position: absolute; left: 0; top: 0; border-radius: 50%; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 0 60px 10px rgba(59, 130, 246, 0.35), inset 0 0 60px 10px rgba(255, 255, 255, 0.25);
}
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; mix-blend-mode: screen; }

.hud { position: absolute; inset: clamp(70px, 9vh, 90px) var(--gutter) clamp(18px, 3.5vh, 34px); pointer-events: none; }
.hud .vf { position: absolute; width: clamp(26px, 3.6vw, 46px); height: clamp(26px, 3.6vw, 46px); }
.hud-time {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.88);
}
.hud-time b { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.28); animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: 0.35; } }
.hud-day {
  position: absolute; right: 14px; bottom: 10px;
  font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(18px, 2vw, 26px);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.hud-day span { color: var(--sky); }

.copy {
  position: absolute; left: calc(var(--gutter) + clamp(10px, 2.5vw, 36px)); top: 50%; transform: translateY(-50%);
  width: min(600px, 46vw); visibility: hidden;
}
.copy-hero { visibility: visible; width: min(780px, 58vw); }
.copy h1 { font-size: clamp(44px, 5.3vw, 80px); }
.copy h2 { font-size: clamp(40px, 5.2vw, 76px); }
.ln { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.ln > span { display: block; will-change: transform; }
.copy .lede { margin-top: 24px; max-width: 30em; font-size: clamp(17px, 1.45vw, 20px); color: rgba(255, 255, 255, 0.8); }
.copy .ctas { margin-top: 32px; }
.copy .prompt { margin-bottom: 24px; }
.scroll-cue {
  margin-top: 40px; display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.6);
}
.scroll-cue span { position: relative; width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(11px); opacity: 0; } 100% { opacity: 0; } }

.fphone {
  position: absolute; right: calc(var(--gutter) + clamp(0px, 5vw, 90px)); top: 50%;
  width: min(300px, 24vw); margin-top: calc(min(300px, 24vw) * -1.09);
  visibility: hidden; opacity: 0; transform-style: preserve-3d; will-change: transform, opacity;
}

/* Hero lines rise once on load */
@media (prefers-reduced-motion: no-preference) {
  .film.intro .copy-hero .ln > span { animation: lnIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .film.intro .copy-hero .ln:nth-child(2) > span { animation-delay: 0.1s; }
  .film.intro .copy-hero .ln:nth-child(3) > span { animation-delay: 0.2s; }
  .film.intro .copy-hero > :not(h1) { animation: fadeUp 0.9s ease 0.45s both; }
  .film.intro .hud .vf { animation: vfIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .film.intro .hud .vf.tl { --from: translate(-30px, -30px); }
  .film.intro .hud .vf.tr { --from: translate(30px, -30px); }
  .film.intro .hud .vf.bl { --from: translate(-30px, 30px); }
  .film.intro .hud .vf.br { --from: translate(30px, 30px); }
  @keyframes lnIn { from { transform: translateY(105%); } }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
  @keyframes vfIn { from { opacity: 0; transform: var(--from); } }
}

@media (max-width: 900px) {
  .film-shade { background: linear-gradient(180deg, rgba(5, 8, 18, 0.55) 0%, transparent 25%, rgba(5, 8, 18, 0.35) 45%, rgba(5, 8, 18, 0.92) 78%); }
  .copy, .copy-hero { left: 20px; right: 20px; width: auto; top: auto; bottom: clamp(56px, 9vh, 80px); transform: none; }
  .copy h1 { font-size: clamp(28px, 8.4vw, 46px); }
  .copy h2 { font-size: clamp(28px, 8.2vw, 44px); }
  .copy .lede { margin-top: 14px; font-size: 16px; }
  .copy .prompt { margin-bottom: 16px; font-size: 13px; }
  .copy .ctas { margin-top: 20px; }
  .copy .free-note { margin-top: 10px; }
  .scroll-cue { display: none; }
  .fphone { right: 18px; top: 92px; margin-top: 0; width: min(170px, 40vw); }
  .hud-day { bottom: 6px; right: 6px; font-size: 16px; }
}
@media (max-width: 900px) and (max-height: 740px) {
  .copy .lede { display: none; }
}

/* Scroll-linked reveals: --r runs 0 to 1 as each element settles into view */
.js [data-r] { --r: 0; }
.js .rh {
  opacity: calc(0.15 + var(--r) * 0.85);
  transform: translate3d(0, calc((1 - var(--r)) * 70px), 0);
  letter-spacing: calc(-0.03em + (1 - var(--r)) * 0.08em);
  will-change: transform;
}
.js .section-sub[data-r], .js .tabs[data-r], .js .trial[data-r] {
  opacity: var(--r);
  transform: translate3d(0, calc((1 - var(--r)) * 40px), 0);
}
.js .steps[data-r] li { opacity: calc(var(--r) * 1.6 - var(--k, 0) * 0.3); transform: translate3d(0, calc((1 - var(--r)) * (60px + var(--k, 0) * 40px)), 0); }
.js .steps li:nth-child(2) { --k: 1; }
.js .steps li:nth-child(3) { --k: 2; }
.steps li { position: relative; border-top: 0; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink); transform-origin: left; transform: scaleX(var(--r, 1)); }
.steps[data-r] { --r: 1; }
.js .steps[data-r] { --r: 0; }
.js .steps[data-r] li::before { transform: scaleX(var(--r)); }
.js .coaches-phone[data-r] {
  transform: perspective(1200px) translate3d(0, calc((1 - var(--r)) * 120px), 0) rotateY(calc((1 - var(--r)) * -28deg)) rotateZ(calc((1 - var(--r)) * 5deg));
  opacity: calc(0.2 + var(--r) * 0.8);
}
.js .plan-plus[data-r] { transform: translate3d(0, calc((1 - var(--r)) * 80px), 0) scale(calc(0.9 + var(--r) * 0.1)); opacity: calc(0.3 + var(--r) * 0.7); }

/* Two rows of real moments drifting in opposite directions with the scroll */
.drift { margin-top: 56px; display: grid; gap: 16px; overflow: hidden; padding: 6px 0; }
.drift-row { display: flex; gap: 16px; width: max-content; will-change: transform; }
.drift-row.a { transform: translate3d(calc(var(--d, 0.5) * -38%), 0, 0) rotate(-1.5deg); }
.drift-row.b { transform: translate3d(calc(-38% + var(--d, 0.5) * 38%), 0, 0) rotate(-1.5deg); margin-left: 6vw; }
.drift .post:nth-child(3n) { margin-top: 18px; }

/* Finale: full-bleed photo that pulls back as you arrive */
.final { position: relative; isolation: isolate; overflow: hidden; }
.final-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transform: scale(calc(1.35 - var(--r, 1) * 0.35)); transform-origin: 50% 40%;
}
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 15, 30, 0.9) 0%, rgba(10, 15, 30, 0.6) 45%, rgba(10, 15, 30, 0.2) 100%), linear-gradient(0deg, rgba(10, 15, 30, 0.85), transparent 40%);
}
.js .final-grid > div:first-child { transform: translate3d(0, calc((1 - var(--r)) * 90px), 0); opacity: calc(0.2 + var(--r) * 0.8); }
.js .final-phone { transform: translate3d(0, calc((1 - var(--r)) * 200px), 0) rotate(calc((1 - var(--r)) * 8deg)); }
@media (max-width: 900px) {
  .final::before { background: linear-gradient(0deg, rgba(10, 15, 30, 0.95) 30%, rgba(10, 15, 30, 0.35) 100%); }
  .drift-row.a { transform: translate3d(calc(var(--d, 0.5) * -60%), 0, 0) rotate(-1.5deg); }
  .drift-row.b { transform: translate3d(calc(-60% + var(--d, 0.5) * 60%), 0, 0) rotate(-1.5deg); }
}

/* Phone polish */
.pricing-grid > *, .coaches-grid > *, .final-grid > * { min-width: 0; }
.scene picture, .final picture { display: contents; }
@media (max-width: 900px) {
  .fphone { display: none; }
  h2 { font-size: clamp(34px, 9.6vw, 48px); }
  .section-sub { font-size: 17px; }
  .how, .pricing, .coaches { padding: 76px 0; }
  .faq { padding-bottom: 76px; }
  .uses { padding-bottom: 76px; }
  .drift { margin-top: 36px; gap: 12px; }
  .drift-row { gap: 12px; }
  .drift .post { width: 168px; border-radius: 18px; }
  .drift .post p { font-size: 14px; }
  .steps { margin-top: 36px; gap: 30px; }
  .step-n { font-size: 44px; margin-bottom: 10px; }
  .tabs { margin-top: 28px; }
  .panel li { font-size: 16px; }
  .coaches-phone { width: min(250px, 70%); margin-top: 8px; }
  .plans, .pricing-grid { gap: 32px; }
  .plan { padding: 26px 22px; border-radius: 24px; }
  .price { font-size: 46px; }
  summary { font-size: 17px; padding: 20px 0; }
  /* Finale: the photo and the words, no phone */
  .final { min-height: 88svh; display: flex; align-items: flex-end; padding: 0; }
  .final-grid { padding-bottom: 56px; }
  .final-phone { display: none; }
  .final h2 { font-size: clamp(46px, 13vw, 64px); }
  .final-bg { object-position: 50% 30%; }
  .foot-grid { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot nav { gap: 18px; }
}
@media (max-width: 380px) {
  .copy .prompt { display: none; }
  .store { min-height: 46px; font-size: 15px; }
  .btn { min-height: 48px; padding: 0 22px; }
}
@media (max-width: 900px) {
  .copy-hero .prompt { display: none; }
}

/* Title card: black, with a blue heartbeat right behind the wordmark */
.scene-title { visibility: visible; background: #000; }
.title-glow { position: absolute; left: var(--dx, 50%); top: var(--dy, 45%); width: 0; height: 0; transform-origin: 0 0; will-change: transform; }
.title-glow { position: static; width: auto; height: auto; }

.copy.copy-hero {
  left: 0; right: 0; top: 0; bottom: 0; width: auto; transform: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 90px 20px 80px; will-change: transform, opacity;
}
.copy-hero h1 { font-size: inherit; margin: 0; }
.copy-hero .welcome {
  font-size: clamp(17px, 1.8vw, 24px); font-weight: 600; font-variation-settings: "wdth" 100;
  letter-spacing: 0; color: rgba(255, 255, 255, 0.72); margin-bottom: 0.5em;
}
.copy-hero .wm {
  font-size: clamp(64px, 15vw, 230px); font-weight: 900; letter-spacing: 0.03em; line-height: 0.92;
  padding-bottom: 0.08em;
}
.copy-hero .dot {
  display: inline-block; width: 0.2em; height: 0.2em; margin-left: 0.05em; border-radius: 50%;
  background: var(--blue); vertical-align: baseline;
  box-shadow: 0 0 22px 2px rgba(37, 99, 235, 0.45);
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.copy-hero .lede { margin: 26px auto 0; font-size: clamp(18px, 1.7vw, 22px); color: rgba(255, 255, 255, 0.82); max-width: 26em; }
.copy-hero .ctas { justify-content: center; margin-top: 34px; }
.copy-hero .scroll-cue { position: absolute; left: 50%; bottom: clamp(22px, 4vh, 40px); transform: translateX(-50%); margin: 0; display: inline-flex; }
@media (max-width: 900px) {
  .copy.copy-hero { left: 0; right: 0; top: 0; bottom: 0; padding: 80px 20px 90px; }
  .copy-hero .wm { font-size: clamp(52px, 15.5vw, 120px); }
  .copy-hero .lede { font-size: 17px; margin-top: 18px; }
  .copy-hero .ctas { flex-direction: column; gap: 12px; margin-top: 26px; }
  .copy-hero .scroll-cue { display: inline-flex; }
}

/* Scroll cue: chevrons pointing the way the page is about to move */
.copy-hero .chev-cue { gap: 14px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.7); letter-spacing: 0.02em; }
.chevs { display: inline-flex; align-items: center; gap: 2px; }
.chevs i {
  width: 11px; height: 11px; border: solid var(--sky); border-width: 2.5px 2.5px 0 0; border-radius: 1px;
  transform: rotate(45deg); opacity: 0.25;
}
@media (prefers-reduced-motion: no-preference) {
  .chevs i { animation: chev 1.5s ease-in-out infinite; }
  .chevs i:nth-child(2) { animation-delay: 0.18s; }
  .chevs i:nth-child(3) { animation-delay: 0.36s; }
  .chevs { animation: chevNudge 1.5s ease-in-out infinite; }
}
@keyframes chev { 0%, 100% { opacity: 0.25; } 35% { opacity: 1; } }
@keyframes chevNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.scroll-cue .chevs { width: auto; height: auto; border-radius: 0; box-shadow: none; }
.scroll-cue .chevs::after { display: none; }
.copy-hero .chev-cue { font-size: 14px; }
.chevs i { width: 13px; height: 13px; border-width: 3px 3px 0 0; }
@media (max-width: 900px) and (max-height: 740px) {
  .copy-hero .lede { display: block; font-size: 16px; margin-top: 12px; }
  .copy-hero .ctas { margin-top: 18px; gap: 10px; }
}

/* Store badges on the title card */
.store-badges { gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 14px;
  background: #000; color: #fff; text-decoration: none; text-align: left;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
  font-weight: 700; font-size: 19px; line-height: 1.05; letter-spacing: -0.01em;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.badge:hover { box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 4px rgba(37, 99, 235, 0.35); }
.badge:active { transform: scale(0.97); }
.badge svg { width: 26px; height: 26px; flex: none; }
.badge small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.01em; opacity: 0.85; }
@media (max-width: 900px) {
  .copy-hero .store-badges { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .badge { height: 50px; font-size: 16px; padding: 0 14px 0 12px; gap: 8px; }
  .badge svg { width: 22px; height: 22px; }
  .badge small { font-size: 10px; }
}

/* Pathway, premium pass: same grade as the photos (near-black, fine light, cool blue) */
.journey { background: #040506; }
.journey-stage { background: radial-gradient(90% 70% at 62% 34%, #121720 0%, #080a0e 52%, #030405 100%); }
.journey-stage::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 95% at 55% 45%, transparent 55%, rgba(0, 0, 0, 0.75) 100%);
}
.journey-stage::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: url("img/grain.png"); opacity: 0.07; mix-blend-mode: overlay;
}
.contours path { stroke: rgba(222, 230, 242, 0.06); }
.contours path:nth-child(5n) { stroke: rgba(222, 230, 242, 0.13); }
.route-ahead { stroke: rgba(255, 255, 255, 0.3); }
.route-done { stroke: #EAF0FA; filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.85)) drop-shadow(0 0 18px rgba(37, 99, 235, 0.45)); }
.route-comet { stroke: #fff; filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.95)); }

.journey-you span { width: 16px; height: 16px; left: -8px; top: -8px; background: #fff; box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.45), 0 0 26px 6px rgba(59, 130, 246, 0.55); }
.journey-you::before, .journey-you::after { left: -8px; top: -8px; width: 16px; height: 16px; box-shadow: 0 0 0 1.5px rgba(147, 180, 255, 0.7); }

.jmark .dot { width: 10px; height: 10px; left: -5px; top: -5px; background: #05070a; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }
.jmark.on .dot { background: #fff; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.45), 0 0 12px rgba(59, 130, 246, 0.6); }
.jmark .lab { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.42); }
.jmark.on .lab { color: rgba(255, 255, 255, 0.82); }
.jmark.current .lab { color: #fff; }
.jmark .pic {
  width: 54px; height: 70px; border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 16px 34px rgba(0, 0, 0, 0.65);
}
.jmark .pic img { filter: grayscale(0.72) contrast(1.14) brightness(0.9); }
.jmark .pic::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.14), rgba(3, 4, 6, 0.28)); mix-blend-mode: soft-light;
}
.jmark .pic { position: absolute; }
.jmark .flag { color: #fff; filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.9)); }

.j-when { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.66); font-weight: 700; letter-spacing: 0.02em; }
.j-when::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px rgba(59, 130, 246, 0.9); }
.j-lead { color: rgba(255, 255, 255, 0.72); }
.j-facts div { box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08); }
.j-facts dt { color: rgba(147, 180, 255, 0.95); font-weight: 700; }
.j-plans li { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.03); }
.journey-rail button { color: rgba(255, 255, 255, 0.35); }
.journey-rail button.done::after { background: #fff; box-shadow: 0 0 8px rgba(59, 130, 246, 0.8); }

@media (max-width: 900px) {
  .journey-card {
    left: 10px; right: 10px; bottom: 10px; padding: 18px 18px 16px; border-radius: 20px;
    background: linear-gradient(180deg, rgba(10, 13, 18, 0.72), rgba(5, 6, 9, 0.9));
    -webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 -20px 40px rgba(0, 0, 0, 0.35);
  }
  .journey-card h2, .journey-card h3 { font-size: clamp(25px, 7.2vw, 32px); }
  .j-when { font-size: 13px; margin-bottom: 6px; }
  .j-lead { font-size: 14.5px; line-height: 1.45; margin-top: 8px; }
  .j-plans { margin-top: 12px; gap: 6px; }
  .j-plans li { font-size: 12px; padding: 5px 10px; }
  .j-hint { display: none; }
  .j-facts { margin-top: 10px; gap: 0; }
  .j-facts div { padding: 7px 0 0; grid-template-columns: 54px 1fr; }
  .j-facts dt { font-size: 12px; }
  .j-facts dd { font-size: 13.5px; }
  .journey-card .btn { margin-top: 14px; min-height: 46px; }
  .journey-bar { top: 70px; height: 2px; background: rgba(255, 255, 255, 0.1); }
  .journey-bar i { background: linear-gradient(90deg, #2563EB, #93B4FF); box-shadow: 0 0 10px rgba(59, 130, 246, 0.8); }
  /* Keep the map calm: only the stop you're on gets a label */
  .jmark .lab { opacity: 0; transition: opacity 0.3s ease; }
  .jmark.current .lab, .jmark.summit .lab { opacity: 1; }
  .jmark .pic { width: 40px; height: 52px; border-radius: 5px; top: 10px; }
}
@media (max-width: 900px) and (max-height: 600px) {
  .j-facts { display: none; }
}
@media (max-width: 900px) and (max-height: 760px) {
  .journey-card { padding: 14px 16px 12px; }
  .journey-card h2, .journey-card h3 { font-size: clamp(23px, 6.6vw, 28px); }
  .j-lead { font-size: 13.5px; margin-top: 6px; }
  .j-facts { margin-top: 6px; }
  .j-facts div { padding-top: 5px; }
  .j-facts dd { font-size: 12.5px; }
}

/* Coaches on phones: tabs sit directly above the phone they change */
@media (max-width: 900px) {
  .coaches-grid { gap: 0; }
  .coaches-copy { display: contents; }
  .coaches-grid > .coaches-copy > h2 { order: 1; }
  .coaches-grid > .coaches-copy > .section-sub { order: 2; }
  .coaches-grid > .coaches-copy > .tabs { order: 3; justify-self: stretch; }
  .coaches-grid > .coaches-phone { order: 4; margin: 24px auto 0; width: min(240px, 66%); }
  .coaches-grid > .coaches-copy > .panel { order: 5; }
  .coaches-grid > .coaches-copy > .fine { order: 6; }
  .coaches .panel ul { margin-top: 26px; }
  .js .coaches-phone[data-r] {
    transform: translate3d(0, calc((1 - var(--r)) * 50px), 0) scale(calc(0.94 + var(--r) * 0.06));
  }
}

/* App Store waitlist (final section) */
.waitlist { margin-top: 40px; max-width: 520px; display: grid; gap: 12px; }
.wl-title { font-weight: 800; font-size: 17px; color: var(--white); }
.wl-row { display: flex; gap: 10px; }
.wl-row input { flex: 1; min-width: 0; height: 52px; border-radius: 26px; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08); color: var(--white); padding: 0 20px; font: inherit; font-size: 16px; }
.wl-row input::placeholder { color: rgba(255,255,255,0.5); }
.wl-row input:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.wl-row .btn { height: 52px; white-space: nowrap; }
.wl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--on-dark); cursor: pointer; }
.wl-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.wl-msg { margin: 0; min-height: 1.4em; font-size: 15px; font-weight: 700; color: #93C5FD; }
.wl-msg.err { color: #FCA5A5; }
@media (max-width: 520px) { .wl-row { flex-direction: column; } .wl-row input { flex: none; } .wl-row .btn { width: 100%; } }

/* AHEAD Score: dark, same grade as the pathway */
.score { position: relative; background: radial-gradient(90% 70% at 70% 30%, #121720 0%, #07090d 55%, #030405 100%); color: #fff; padding: clamp(90px, 12vw, 150px) 0; overflow: hidden; }
.score::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("img/grain.png"); opacity: 0.06; mix-blend-mode: overlay; }
.score .section-sub { color: rgba(255, 255, 255, 0.7); }
.score-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 100px); align-items: center; position: relative; z-index: 1; }
.score-grid > *, .comm-grid > * { min-width: 0; }
.score-meter { margin-top: 40px; padding: 28px; border-radius: 26px; background: linear-gradient(160deg, rgba(37, 99, 235, 0.22), rgba(255, 255, 255, 0.03) 60%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); max-width: 520px; }
.score-num { font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(64px, 8vw, 104px); letter-spacing: -0.04em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.score-num small { font-size: 18px; font-weight: 600; letter-spacing: 0; color: rgba(255, 255, 255, 0.5); margin-left: 10px; font-variation-settings: "wdth" 100; }
.score-tier { margin-top: 10px; font-weight: 800; font-size: 17px; color: #93b4ff; }
.score-tier span { margin-left: 10px; font-weight: 600; color: rgba(255, 255, 255, 0.6); font-size: 15px; }
.score-parts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.score-parts li { display: grid; grid-template-columns: 92px 1fr 36px; align-items: center; gap: 12px; font-size: 14px; }
.score-parts b { font-weight: 700; color: rgba(255, 255, 255, 0.85); }
.score-parts em { font-style: normal; color: rgba(255, 255, 255, 0.45); text-align: right; font-variant-numeric: tabular-nums; }
.score-parts i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.score-parts i::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(calc(var(--w) * var(--r, 1))); background: linear-gradient(90deg, #2563EB, #93B4FF); border-radius: inherit; box-shadow: 0 0 12px rgba(59, 130, 246, 0.7); }
.tiers { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tiers li { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; color: rgba(255, 255, 255, 0.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.tiers li.here { color: #fff; background: var(--blue); box-shadow: 0 0 18px rgba(37, 99, 235, 0.55); }
.score-phone { justify-self: center; width: min(310px, 100%); }
.js .score-phone[data-r], .js .comm-phone[data-r] {
  transform: perspective(1200px) translate3d(0, calc((1 - var(--r)) * 110px), 0) rotateY(calc((1 - var(--r)) * 22deg));
  opacity: calc(0.25 + var(--r) * 0.75);
}
.js .score-meter[data-r], .js .extra[data-r], .js .comm-list[data-r] { opacity: calc(0.2 + var(--r) * 0.8); transform: translate3d(0, calc((1 - var(--r)) * 40px), 0); }
.score-extras { position: relative; z-index: 1; margin-top: clamp(60px, 8vw, 100px); display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 16px; }
.extra { padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.extra h3 { font-size: 20px; }
.extra p { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.68); }
.three { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 8px; }
.three li { font-size: 13px; font-weight: 800; padding: 6px 12px 6px 30px; border-radius: 999px; background: rgba(16, 185, 129, 0.16); color: #6ee7b7; position: relative; }
.three li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 9px; height: 5px; margin-top: -4px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.medals { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.medals li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, 0.72); text-align: center; line-height: 1.15; }
.medals span {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  font-size: 13px; font-weight: 900; color: #05070a;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--m) 45%, color-mix(in srgb, var(--m) 55%, #000) 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18), 0 6px 18px color-mix(in srgb, var(--m) 45%, transparent);
}

/* Communities */
.communities { padding: clamp(90px, 12vw, 150px) 0; }
.comm-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.comm-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.comm-list li { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.comm-list li span { grid-row: span 2; font-size: 24px; }
.comm-list li b { font-size: 15px; }
.comm-list li small { font-size: 13px; color: var(--body); }
.comm-list li.local { grid-column: 1 / -1; background: var(--tint); box-shadow: inset 0 0 0 1.5px rgba(37, 99, 235, 0.35); }
.comm-phone { justify-self: center; width: min(310px, 100%); }

@media (max-width: 900px) {
  .score { padding: 76px 0; }
  .communities { padding: 76px 0; }
  .score-grid, .comm-grid { grid-template-columns: 1fr; gap: 0; }
  .score-phone, .comm-phone { width: min(240px, 66%); margin-top: 36px; }
  .score-meter { margin-top: 28px; padding: 22px; }
  .score-parts li { grid-template-columns: 80px 1fr 32px; }
  .score-extras { grid-template-columns: 1fr; margin-top: 44px; }
  .medals { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; }
  .comm-list { grid-template-columns: 1fr; }
}
.medals { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; }
@media (max-width: 900px) {
  .comm-list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .comm-list li { grid-template-columns: 28px 1fr; padding: 10px; border-radius: 14px; }
  .comm-list li span { font-size: 20px; }
  .comm-list li b { font-size: 13.5px; line-height: 1.2; }
  .comm-list li small { display: none; }
  .comm-list li.local small { display: block; font-size: 12px; }
}

/* AHEAD points (replaces the 0-1000 score) */
.score-label { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.6); margin-bottom: 8px; }
.score-num { font-variant-numeric: tabular-nums; }
.score-tier { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.score-tier .today-pill { margin: 0; font-size: 14px; font-weight: 800; color: #fff; background: #16a34a; padding: 5px 12px; border-radius: 999px; }
.windows { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.windows li { padding: 12px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); text-align: center; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: rgba(147, 180, 255, 0.85); }
.windows b { display: block; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.01em; color: #fff; font-variant-numeric: tabular-nums; margin-bottom: 2px; }
.earn-title { margin-top: 34px; font-size: 18px; color: rgba(255, 255, 255, 0.9); }
.earn { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; max-width: 520px; }
.earn li { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, 0.78); padding: 9px 0; box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.07); }
.earn b { font-weight: 900; font-variation-settings: "wdth" 125; color: #93b4ff; font-variant-numeric: tabular-nums; }
.earn li.big b { color: #fff; text-shadow: 0 0 16px rgba(59, 130, 246, 0.8); }
.medals span { font-size: 11px; }
@media (max-width: 900px) {
  .earn li { grid-template-columns: 64px 1fr; font-size: 14px; }
  .windows li { padding: 10px 6px; font-size: 10px; }
}

/* Launch alerts: forms, sheet and floating pill */
.waitlist { margin-top: 36px; max-width: 560px; display: grid; gap: 14px; }
.wl-title { font-weight: 800; font-size: 17px; color: var(--white); margin: 0; }
.wl-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wl-field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.75); }
.wl-field em { font-style: normal; font-weight: 500; color: rgba(255, 255, 255, 0.5); margin-left: 4px; }
.wl-field input {
  height: 52px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08);
  color: var(--white); padding: 0 16px; font: inherit; font-size: 16px; font-weight: 500; min-width: 0;
}
.wl-field input::placeholder { color: rgba(255, 255, 255, 0.42); }
.wl-field input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.wl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.66); cursor: pointer; }
.wl-consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.wl-submit { justify-self: start; height: 52px; }
.wl-submit:disabled { opacity: 0.6; }
.wl-msg { margin: 0; min-height: 1.4em; font-size: 15px; font-weight: 700; color: #93C5FD; }
.wl-msg.err { color: #FCA5A5; }
.free-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.notify-sheet {
  width: min(520px, calc(100vw - 24px)); max-height: calc(100svh - 24px); overflow: auto;
  margin: auto; padding: 30px 26px 24px; border: 0; border-radius: 28px;
  background: linear-gradient(180deg, #0f1420 0%, #07090d 100%); color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 40px 90px rgba(0, 0, 0, 0.6);
}
.notify-sheet::backdrop { background: rgba(2, 3, 6, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.notify-sheet[open] { animation: sheetIn 0.32s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.sheet-kicker { font-size: 13px; font-weight: 700; color: #93b4ff; }
.notify-sheet h2 { font-size: clamp(32px, 6vw, 44px); margin-top: 8px; }
.sheet-sub { margin-top: 10px; color: rgba(255, 255, 255, 0.7); font-size: 16px; }
.notify-sheet .waitlist { margin-top: 22px; }
.notify-sheet .wl-title { font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.notify-sheet .wl-fields { grid-template-columns: 1fr; }
.notify-sheet .wl-submit { justify-self: stretch; }

.notify-pill {
  position: fixed; z-index: 60; left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px 0 16px;
  border-radius: 999px; background: #0b0f17; color: #fff; text-decoration: none; font-weight: 800; font-size: 15px; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 24px rgba(37, 99, 235, 0.35);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
}
.notify-pill.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.notify-pill .bell {
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue);
  -webkit-mask: none; position: relative;
}
.notify-pill .bell::before {
  content: ""; position: absolute; inset: 6px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22a2.5 2.5 0 0 0 2.45-2h-4.9A2.5 2.5 0 0 0 12 22Zm7-6V11a7 7 0 0 0-5.5-6.84V3a1.5 1.5 0 0 0-3 0v1.16A7 7 0 0 0 5 11v5l-2 2v1h18v-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22a2.5 2.5 0 0 0 2.45-2h-4.9A2.5 2.5 0 0 0 12 22Zm7-6V11a7 7 0 0 0-5.5-6.84V3a1.5 1.5 0 0 0-3 0v1.16A7 7 0 0 0 5 11v5l-2 2v1h18v-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.notify-pill:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 30px rgba(37, 99, 235, 0.55); }
@media (prefers-reduced-motion: reduce) { .notify-pill, .notify-sheet[open] { transition: none; animation: none; } }
@media (max-width: 600px) {
  .wl-fields { grid-template-columns: 1fr; }
  .wl-submit { justify-self: stretch; }
  .notify-sheet { margin: auto auto 0; border-radius: 26px 26px 0 0; width: 100vw; max-width: 100vw; padding: 26px 18px max(20px, env(safe-area-inset-bottom)); }
  @keyframes sheetIn { from { transform: translateY(100%); } }
}
