/* Initiative home. One stylesheet for the redesigned home page.
   Hybrid direction: Apple cinematic storytelling, Midnight Terminal restraint, institutional editorial type.
   Dark cinematic sections: hero, method, week, final. Light editorial sections: statement, teacher,
   program, pricing, fit, apply. Signal Blue is the only accent. */

:root {
  --midnight: #101216;
  --navy: #1A2230;
  --navy-2: #222B3B;
  --cloud: #F5F6F8;
  --white: #FFFFFF;
  --blue: #528BFF;
  --blue-ink: #2B5FD0;

  /* one dark world: every section shares these, only --bg shifts between sections */
  --bg: var(--midnight);
  --surface: #161C28;
  --surface-2: #121722;
  --ink: #F5F6F8;
  --ink-2: #C9D0DB;
  --muted: #9AA3B2;
  --line: #222A38;
  --line-strong: #323C4F;
  --accent: var(--blue);
  --focus: var(--blue);
  --error: #FF8A7A;

  --f-display: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --s-micro: 0.8125rem;
  --s-small: 0.9375rem;
  --s-body: 1.0625rem;
  --s-lead: clamp(1.125rem, 1.4vw, 1.3125rem);
  --s-h3: clamp(1.25rem, 1.8vw, 1.5rem);
  --s-h2: clamp(2.25rem, 5vw, 4rem);
  --s-hero: clamp(3.25rem, 9vw, 6rem);
  --s-state: clamp(1.875rem, 4.2vw, 3.375rem);

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(80px, 9vw, 128px);
  --r: 20px;
  --r-sm: 12px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Section tones: three close shades of Midnight so the page breathes without ever going light */
.dark, .light, .white { background: var(--bg); color: var(--ink-2); }
.dark { --bg: var(--midnight); }
.light { --bg: #0B0D11; }
.white { --bg: #131823; --surface: #1A2130; --surface-2: #161C28; --line: #262F3F; }
.light + .dark, .dark + .light, .white + .light, .light + .white, .dark + .white, .white + .dark { border-top: 1px solid #1A202C; }
:root { color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--midnight); color-scheme: dark; color: var(--ink-2); font: 400 var(--s-body)/1.65 var(--f-display); -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--blue); color: var(--midnight); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--f-display); font-weight: 700; text-wrap: balance; }
h2 { font-size: var(--s-h2); line-height: 1.02; letter-spacing: -0.038em; }
h3 { font-size: var(--s-h3); line-height: 1.25; letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
a, button, input, select, textarea, label, summary { touch-action: manipulation; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: 0.92em; }
.tab { font-variant-numeric: tabular-nums lining-nums; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding-block: var(--sec); position: relative; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 50; padding: 12px 16px; border-radius: var(--r-sm); background: #F5F6F8; color: var(--midnight); }
.skip:focus { top: 12px; }

/* Links and buttons */
.link { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 5px; text-decoration-thickness: 1px; transition: text-decoration-color 200ms var(--ease); }
.link:hover { text-decoration-color: currentColor; }
.btn {
  --b-bg: var(--ink); --b-ink: var(--bg);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--b-bg); color: var(--b-ink); font: 600 0.9375rem/1 var(--f-display); letter-spacing: -0.005em; text-decoration: none;
  transition: background-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn .arr { display: inline-block; transition: transform 300ms var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--blue { --b-bg: var(--blue); --b-ink: var(--midnight); }
.btn--blue:hover { --b-bg: #6A9BFF; }
.btn--line { --b-bg: transparent; --b-ink: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 0.875rem; }
.btn--sm::after { content: ""; position: absolute; inset: -4px 0; }
.btn[disabled] { cursor: wait; opacity: 0.8; }
.btn.is-loading { color: transparent; }
.btn.is-loading::before { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border: 2px solid color-mix(in srgb, var(--b-ink) 30%, transparent); border-top-color: var(--b-ink); border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Header: Midnight bar, hides on scroll down, returns on scroll up */
.top { position: sticky; top: 0; z-index: 40; background: var(--midnight); border-bottom: 1px solid transparent; transition: transform 400ms var(--ease-out), border-color 300ms var(--ease); }
.top.is-scrolled { border-bottom-color: #242C3A; }
.top.is-hidden { transform: translateY(-100%); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #F5F6F8; text-decoration: none; font: 700 1.0625rem/1 var(--f-display); letter-spacing: -0.03em; }
.brand-mark { width: 10px; height: 10px; border-radius: 2px; background: var(--blue); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a.nl { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: #9AA3B2; font-size: 0.875rem; text-decoration: none; transition: color 200ms var(--ease); }
.nav a.nl:hover, .nav a.nl.is-current { color: #F5F6F8; }
.nav a.nl::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.nav a.nl.is-current::after { transform: scaleX(1); }
.nav .btn { margin-left: 12px; }
@media (max-width: 820px) { .nav a.nl { display: none; } .nav a.nl.keep { display: inline-flex; } }

/* 1. Hero: centered headline, then the chart as the product shot */
.hero { padding-top: clamp(64px, 10vh, 120px); padding-bottom: clamp(56px, 6vw, 96px); overflow: clip; }
.hero-head { text-align: center; display: grid; justify-items: center; }
.hero h1 { font-size: var(--s-hero); line-height: 0.96; letter-spacing: -0.045em; max-width: 16ch; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .ln > span { display: inline-block; }
.hero h1 .blue { color: var(--blue); }
.hero .lede { margin-top: 28px; max-width: 46ch; font-size: var(--s-lead); line-height: 1.55; color: var(--ink-2); }
.hero .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero .meta { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; color: var(--muted); font: 400 0.8125rem/1.4 var(--f-mono); }
@media (max-width: 600px) { .hero .meta { gap: 6px 14px; } .hero .meta span + span::before { display: none !important; } }
.hero .meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 18px 2px 0; border-radius: 50%; background: var(--line-strong); }
.hero .meta .live { color: var(--ink); }
.screen-wrap { position: relative; margin: clamp(56px, 8vw, 96px) auto 0; max-width: 1120px; perspective: 1600px; }
.screen { position: relative; border-radius: var(--r); padding: 10px; background: linear-gradient(#202838, #151a24); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7), 0 0 0 1px #2A3344; transform-origin: 50% 0%; will-change: transform; }
.screen-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px 12px; color: #9AA3B2; font: 400 0.75rem/1 var(--f-mono); }
.screen-bar i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #364052; }
.chart { position: relative; overflow: hidden; border-radius: 10px; background: #0E1117; aspect-ratio: 1600 / 857; }
.chart img { width: 100%; height: 100%; object-fit: cover; filter: invert(0.94) hue-rotate(180deg) contrast(0.95) brightness(0.92); }
.hero-plan { position: absolute; right: clamp(-12px, -2vw, -40px); bottom: -64px; width: min(380px, 42%); z-index: 2; }
.plan { border-radius: 16px; background: #161C28; color: #F5F6F8; box-shadow: 0 0 0 1px #2E384A, 0 40px 80px -30px rgb(0 0 0 / 0.8); overflow: hidden; }
.plan-head { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid #262F3F; font-size: 0.8125rem; color: #9AA3B2; }
.plan-head p:first-child { color: #F5F6F8; font-weight: 700; }
.plan dl { margin: 0; padding: 4px 20px; }
.plan dl > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid #222A38; font-size: 0.875rem; line-height: 1.45; }
.plan dl > div:last-child { border-bottom: 0; }
.plan dt { color: #9AA3B2; }
.plan dd { margin: 0; color: #F5F6F8; }
.plan footer { padding: 12px 20px; background: #121722; font-size: 0.75rem; color: #9AA3B2; }
.hero-cap { margin-top: 84px; text-align: center; font-size: var(--s-micro); color: var(--muted); }
@media (max-width: 860px) {
  .hero-plan { position: relative; right: auto; bottom: auto; width: auto; margin: -28px 12px 0; }
  .hero-cap { margin-top: 20px; }
}

/* 2. Statement: words fill in with scroll */
.statement { padding-block: clamp(96px, 11vw, 160px); }
.statement p.big { font: 400 var(--s-state)/1.18 var(--f-serif); letter-spacing: -0.02em; color: var(--ink); max-width: 26ch; }
.statement .w { transition: color 200ms linear; }
.js-motion .statement .w { color: #5E687C; }
.js-motion .statement .w.on { color: var(--ink); }
.statement .after { margin-top: 40px; max-width: 52ch; font-size: var(--s-lead); color: var(--ink-2); }

/* 3. Method. Desktop with motion: a tall track whose sticky pin holds the text panels, the real chart and the rail.
   Scroll position drives the camera continuously (home.js). Mobile and reduced motion: a stacked list,
   each stage with its own still frame of the same chart. */
.method { padding-top: var(--sec); }
.method-head { display: grid; gap: 18px; max-width: 760px; }
.method-head p { font-size: var(--s-lead); max-width: 52ch; }
.tag { display: flex; align-items: center; gap: 10px; color: var(--muted); font: 400 0.8125rem/1 var(--f-mono); }
.tag b { color: var(--blue); font-weight: 400; }
.track { display: none; position: relative; height: 440vh; }
.pin { position: sticky; top: 0; height: 100vh; display: grid; align-content: center; gap: 22px; padding-top: 40px; }
.pin-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: center; }
.panels { position: relative; min-height: 300px; }
.panel { position: absolute; inset: 0; display: grid; align-content: center; gap: 14px; opacity: 0; transform: translateY(28px); transition: opacity 180ms var(--ease), transform 400ms var(--ease-out); pointer-events: none; }
.panel.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity 450ms var(--ease) 160ms, transform 700ms var(--ease-out) 120ms; }
.panel.past { transform: translateY(-28px); }
.panel h3, .sstep h3 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.08; letter-spacing: -0.03em; }
.panel p:last-child, .sstep .stxt p:last-child { max-width: 42ch; }
.rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.rb { display: grid; gap: 10px; padding: 8px 0 4px; border: 0; background: none; color: var(--muted); text-align: left; font: 500 0.8125rem/1.2 var(--f-display); cursor: pointer; transition: color 200ms var(--ease); }
.rb:hover, .rb.on { color: var(--ink); }
.rb-bar { position: relative; display: block; height: 2px; border-radius: 2px; background: #2A3344; overflow: hidden; }
.rb-bar i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(var(--f, 0)); }
.stage-note { color: var(--muted); font-size: var(--s-micro); }
.stage { position: relative; }
.stage-screen { position: relative; border-radius: var(--r); padding: 10px; background: linear-gradient(#202838, #151a24); box-shadow: 0 0 0 1px #2A3344, 0 40px 80px -40px rgb(0 0 0 / 0.8); }
.stage .chart { aspect-ratio: 16 / 10; }
.cam { position: absolute; inset: 0; transform-origin: 0 0; transition: transform 1100ms var(--ease-out), filter 700ms var(--ease); will-change: transform; }
.track .cam { transition: none; }
.cam .frame { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1600 / 857; }
.cam .frame img { width: 100%; height: 100%; filter: invert(0.94) hue-rotate(180deg) contrast(0.95) brightness(0.92); }
.zone { position: absolute; border-radius: 2px; background: rgb(82 139 255 / 0); outline: 1px solid rgb(82 139 255 / 0); transition: background-color 500ms var(--ease), outline-color 500ms var(--ease); }
.stage[data-step="3"] .zone, .stage[data-step="4"] .zone.z1 { background: rgb(82 139 255 / 0.45); outline-color: rgb(82 139 255 / 0.9); }
.stage[data-step="4"] .zone:not(.z1) { background: rgb(82 139 255 / 0.12); }
/* Still frames per stage (stacked layout); the pinned stage gets inline values from home.js */
.stage[data-step="1"] .cam { transform: translate(0, 7.1%) scale(1); filter: blur(6px) brightness(0.45); }
.stage[data-step="2"] .cam { transform: translate(0, 7.1%) scale(1); }
.stage[data-step="3"] .cam { transform: translate(-34.4%, -12.9%) scale(1.9); }
.stage[data-step="4"] .cam { transform: translate(-59.6%, 2%) scale(2.35); }
.stage[data-step="5"] .cam { transform: translate(0, 7.1%) scale(1); filter: brightness(0.35) blur(2px); }
.callout { position: absolute; z-index: 3; opacity: 0; transform: translateY(10px); transition: opacity 450ms var(--ease), transform 600ms var(--ease-out); pointer-events: none; }
.stage[data-step="1"] .c-plan, .stage[data-step="2"] .c-ctx, .stage[data-step="3"] .c-lv, .stage[data-step="4"] .c-ex, .stage[data-step="5"] .c-rv { opacity: 1; transform: none; }
.c-plan { left: 50%; top: 50%; width: min(360px, 70%); transform: translate(-50%, -46%); }
.stage[data-step="1"] .c-plan { transform: translate(-50%, -50%); }
.chip { display: inline-grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: rgb(16 18 22 / 0.92); box-shadow: 0 0 0 1px #364052; color: #F5F6F8; font-size: 0.8125rem; line-height: 1.4; max-width: 260px; }
.chip b { font-weight: 600; }
.chip .k { color: var(--blue); font: 400 0.75rem/1.2 var(--f-mono); }
.c-ctx { left: 18px; top: 18px; }
.c-lv { right: 18px; top: 18px; }
.c-ex { left: 18px; right: 18px; bottom: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.c-ex .chip { max-width: none; }
.c-rv { left: 50%; top: 50%; transform: translate(-50%, -46%); width: min(380px, 78%); }
.stage[data-step="5"] .c-rv { transform: translate(-50%, -50%); }
.review { border-radius: 16px; background: #161C28; color: #F5F6F8; padding: 20px 22px; box-shadow: 0 0 0 1px #2E384A, 0 40px 80px -30px rgb(0 0 0 / 0.8); }
.review .rh { margin: 0 0 10px; font: 700 0.9375rem/1.2 var(--f-display); }
.review ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 0.875rem; color: #C9D0DB; }
.review li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.review li svg { margin-top: 3px; }
/* Stacked layout */
.steps-stack { list-style: none; margin: clamp(40px, 6vw, 64px) auto 0; padding-bottom: var(--sec); display: grid; gap: clamp(48px, 7vw, 72px); }
.sstep { display: grid; gap: 20px; }
.sstep .stxt { display: grid; gap: 12px; }
.sfig .stage-screen { padding: 6px; }
.stack-note { color: var(--muted); font-size: var(--s-micro); }
@media (min-width: 980px) {
  .sstep { grid-template-columns: 4fr 7fr; gap: 64px; align-items: center; }
  .js-motion .track { display: block; }
  .js-motion .steps-stack { display: none; }
  .js-motion .method { padding-bottom: 0; }
}
@media (max-width: 979px) {
  .chip { font-size: 0.75rem; padding: 9px 11px; max-width: 200px; }
  .c-ex { grid-template-columns: 1fr; right: auto; }
  .c-ex .chip:nth-child(n+2) { display: none; }
  .c-lv { top: auto; bottom: 12px; right: auto; left: 12px; }
  .c-plan { width: 86%; }
  .c-plan .plan dl > div:nth-child(n+3), .c-plan .plan footer { display: none; }
  .c-plan .plan-head { padding: 10px 14px; }
  .c-plan .plan dl { padding: 0 14px; }
  .c-plan .plan dl > div { padding: 7px 0; font-size: 0.75rem; grid-template-columns: 6.5em 1fr; }
  .review { padding: 14px 16px; }
  .review ul { font-size: 0.8125rem; }
}
@media (max-height: 760px) and (min-width: 980px) { .pin { gap: 14px; padding-top: 56px; } .stage .chart { aspect-ratio: 16 / 9; } }

/* 4. Teacher: editorial */
.teacher-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .teacher-grid { grid-template-columns: 7fr 5fr; gap: 96px; align-items: start; } }
.quote { font: 400 clamp(1.875rem, 3.6vw, 3rem)/1.15 var(--f-serif); letter-spacing: -0.02em; color: var(--ink); }
.quote + p { margin-top: 28px; color: var(--muted); font-size: var(--s-small); }
.bio h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.bio .intro { margin-top: 16px; color: var(--ink); font-size: var(--s-lead); line-height: 1.5; }
.list { list-style: none; margin: 24px 0 0; padding: 0; }
.list li { position: relative; padding: 14px 0 14px 28px; border-top: 1px solid var(--line); }
.list li::before { content: ""; position: absolute; left: 0; top: calc(14px + 0.78em); width: 14px; height: 1px; background: var(--ink); }
.proof { margin-top: clamp(56px, 6vw, 88px); }
.proof .chart { border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); background: var(--white); }
.proof .chart img { filter: none; }
.proof figcaption { margin-top: 14px; font-size: var(--s-micro); color: var(--muted); }

/* 5. Program: three phases as editorial columns */
.sec-head { display: grid; gap: 20px; }
@media (min-width: 960px) { .sec-head { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; } }
.sec-head p { max-width: 50ch; font-size: var(--s-lead); }
.phases { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; border-top: 1px solid var(--line-strong); }
@media (min-width: 900px) { .phases { grid-template-columns: repeat(3, 1fr); } }
.phase { display: grid; align-content: start; gap: 14px; padding: 32px 0 8px; }
@media (min-width: 900px) { .phase { padding: 40px 40px 8px; border-left: 1px solid var(--line); } .phase:first-child { padding-left: 0; border-left: 0; } }
@media (max-width: 899px) { .phase + .phase { border-top: 1px solid var(--line); } }
.phase .n { font: 400 clamp(4rem, 7vw, 6rem)/0.9 var(--f-serif); color: var(--accent); letter-spacing: -0.04em; }
.phase .wk { color: var(--muted); font: 400 0.8125rem/1 var(--f-mono); }
.phase h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.phase .cp { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); }
.phase .cp span { display: block; margin-bottom: 4px; color: var(--muted); font-size: var(--s-small); }

/* Week: dark band, a line that draws with scroll */
.week-line { position: relative; list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 900px) { .week-line { grid-template-columns: repeat(6, 1fr); } }
.week-line::before, .week-line::after { content: ""; position: absolute; background: #2A3344; }
.week-line .stop { position: relative; display: grid; align-content: start; gap: 10px; padding: 0 20px 36px 32px; }
.week-line .stop::before { content: ""; position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--midnight); box-shadow: inset 0 0 0 2px #364052; transition: box-shadow 300ms var(--ease), background-color 300ms var(--ease); }
.week-line .stop.on::before { background: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.week-line .time { color: var(--blue); font: 400 0.8125rem/1.3 var(--f-mono); }
.week-line strong { color: var(--ink); font-weight: 600; }
.week-line p { font-size: var(--s-small); }
.fill { position: absolute; background: var(--blue); z-index: 0; }
@media (min-width: 900px) {
  .week-line .stop { padding: 36px 24px 0 0; }
  .week-line .stop::before { top: -5px; }
  .week-line::before { left: 0; right: 0; top: 0; height: 1px; }
  .fill { left: 0; top: 0; height: 1px; width: calc(var(--p, 1) * 100%); }
}
@media (max-width: 899px) {
  .week-line::before { left: 5px; top: 0; bottom: 0; width: 1px; }
  .fill { left: 5px; top: 0; width: 1px; height: calc(var(--p, 1) * 100%); }
}

/* 6. Pricing: the Group card is the page's conversion peak */
.og { position: relative; display: grid; margin-top: clamp(40px, 5vw, 64px); border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #172036 0%, #111725 55%); color: #C9D0DB; box-shadow: inset 0 0 0 1px rgb(82 139 255 / 0.35), 0 60px 120px -60px rgb(0 0 0 / 0.9); }
.og::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); opacity: 0.8; }
@media (min-width: 1000px) { .og { grid-template-columns: 6fr 5fr; } }
.og-main { display: grid; align-content: start; justify-items: start; gap: 18px; padding: clamp(28px, 4vw, 56px); }
.og h3 { color: #F5F6F8; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.04em; }
.og-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #9AA3B2; font-size: 0.8125rem; }
.og-facts span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 18px 2px 0; border-radius: 50%; background: #364052; }
.og-price { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 24px; margin-top: 8px; }
.price { color: #F5F6F8; font: 700 clamp(3.5rem, 7vw, 5.5rem)/0.9 var(--f-display); letter-spacing: -0.055em; font-variant-numeric: tabular-nums lining-nums; }
.price-sub { display: grid; gap: 2px; padding-bottom: 6px; font-size: var(--s-small); color: #9AA3B2; }
.price-sub b { color: #F5F6F8; font-weight: 600; }
.btn--xl { min-height: 60px; padding: 0 32px; font-size: 1.0625rem; margin-top: 8px; }
.og-note { color: #9AA3B2; font-size: var(--s-small); }
.enroll { list-style: none; margin: 18px 0 0; padding: 22px 0 0; display: grid; gap: 14px; width: 100%; border-top: 1px solid #242C3A; }
.enroll li { display: grid; grid-template-columns: 8px 1fr; gap: 14px; align-items: start; font-size: var(--s-small); }
.enroll strong { color: #F5F6F8; font-weight: 600; }
.en { width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--blue); }
.og-incl { padding: clamp(28px, 4vw, 56px); background: rgb(10 13 19 / 0.45); border-left: 1px solid rgb(82 139 255 / 0.15); }
.og-h { color: var(--muted); font: 600 0.8125rem/1 var(--f-display); letter-spacing: 0.02em; }
.og .og-h { color: #9AA3B2; }
.incl { list-style: none; margin: 18px 0 0; padding: 0; }
.incl li { padding: 14px 0; border-top: 1px solid #2A3344; font-size: var(--s-small); line-height: 1.55; }
.incl strong { display: block; color: #F5F6F8; font-weight: 600; font-size: var(--s-body); margin-bottom: 2px; }
.og .fine { margin-top: 16px; color: #9AA3B2; font-size: var(--s-micro); }
.below { display: grid; gap: 40px; margin-top: clamp(40px, 5vw, 64px); align-items: start; }
@media (min-width: 1000px) {
  .one { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .one .offer-top, .one > p { grid-column: 1 / -1; }
  .one .one-b .terms { margin-top: 22px; }
  .faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
  .faq-wrap .faq { margin-top: 0; }
}
.one { border-radius: 24px; padding: clamp(24px, 3vw, 40px); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.offer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: baseline; }
.one h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); letter-spacing: -0.03em; }
.one .when { color: var(--muted); font: 400 0.8125rem/1.4 var(--f-mono); }
.one > p { margin-top: 10px; font-size: var(--s-small); }
.rows { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.rows li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rows .nm { color: var(--ink); font-weight: 600; }
.rows .amt { color: var(--ink); font: 700 1.375rem/1.1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums lining-nums; text-align: right; }
.rows .ds { grid-column: 1 / -1; color: var(--muted); font-size: var(--s-small); }
.rows .note { grid-column: 1 / -1; color: var(--ink-2); font-size: var(--s-small); }
.terms { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; font-size: var(--s-small); }
.terms strong { color: var(--ink); }
.one .btn { margin-top: 24px; }
.faq { margin-top: 14px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; color: var(--ink); font-weight: 600; transition: color 200ms var(--ease); }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--accent); transition: transform 300ms var(--ease-out); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details p { padding: 0 0 20px; max-width: 64ch; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 350ms var(--ease-out), content-visibility 350ms allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .og { transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
  .og:hover { box-shadow: inset 0 0 0 1px rgb(82 139 255 / 0.55), 0 60px 120px -60px rgb(0 0 0 / 0.9); }
  .one { transition: box-shadow 300ms var(--ease); }
  .one:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
}

/* Mobile sticky Group bar: appears after the hero, hides at pricing, apply, final and footer */
.mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--midnight); color: #C9D0DB; box-shadow: 0 0 0 1px #2A3344, 0 20px 40px -12px rgb(0 0 0 / 0.5); font-size: 0.875rem; transform: translateY(140%); visibility: hidden; transition: transform 450ms var(--ease-out), visibility 0s 450ms; }
.mbar b { color: #F5F6F8; font-weight: 600; }
.mbar.show { transform: none; visibility: visible; transition: transform 450ms var(--ease-out); }
@media (min-width: 820px) { .mbar { display: none !important; } }

/* 7. Fit */
.fit { display: grid; gap: 48px; margin-top: clamp(48px, 6vw, 72px); }
@media (min-width: 800px) { .fit { grid-template-columns: 1fr 1fr; gap: 64px; } }
.fit h3 { font: 400 clamp(1.75rem, 2.6vw, 2.25rem)/1.1 var(--f-serif); letter-spacing: -0.02em; }
.fit .no li::before { width: 8px; height: 8px; top: calc(14px + 0.78em - 4px); border-radius: 50%; background: none; box-shadow: inset 0 0 0 1px var(--muted); }
.fit .yes li::before { background: var(--accent); height: 2px; }

/* 8. Apply */
.apply-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .apply-grid { grid-template-columns: 4fr 7fr; gap: 80px; align-items: start; } .apply-head { position: sticky; top: 112px; } }
.apply-head h2 { font-size: clamp(2.25rem, 4vw, 3.25rem); }
.apply-head p { margin-top: 20px; max-width: 42ch; }
.apply-head .alt { color: var(--muted); }
.form { display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 700px) { .form { grid-template-columns: 1fr 1fr; } .wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { color: var(--ink); font-size: var(--s-small); font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #0E121A; color: var(--ink); font: 400 1rem var(--f-display); transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: right 20px center, right 15px center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: none; overflow: hidden; min-height: 7rem; field-sizing: content; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgb(82 139 255 / 0.25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.check { grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.check input { appearance: none; position: relative; width: 22px; height: 22px; min-height: 22px; margin: 2px 0 0; padding: 0; border: 1px solid var(--line-strong); border-radius: 6px; background: #0E121A; cursor: pointer; transition: background-color 150ms, border-color 150ms; }
.check input::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 150ms var(--ease); }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { transform: rotate(45deg) scale(1); }
.check label { font-weight: 400; color: var(--ink-2); font-size: var(--s-body); cursor: pointer; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form .btn { --b-bg: #F5F6F8; --b-ink: var(--midnight); }
.form-status { position: relative; font-size: var(--s-small); font-weight: 600; }
.form-status[data-state="error"] { color: var(--error); }
.form-status[data-state="sent"] { padding-left: 26px; color: var(--ink); }
.form-status[data-state="sent"]::before { content: ""; position: absolute; left: 6px; top: 50%; width: 6px; height: 12px; margin-top: -8px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.book-direct { margin: -6px 0 0; color: var(--muted); font-size: var(--s-small); }
.book-direct a { display: inline-block; padding: 12px 0; color: var(--ink); text-underline-offset: 4px; }

/* 9. Final call: the story's conclusion */
.final { text-align: center; padding-block: clamp(96px, 12vw, 160px); border-top: 1px solid #1C2330; }
.final h2 { font-size: clamp(2.75rem, 7vw, 6rem); letter-spacing: -0.045em; max-width: 14ch; margin: 0 auto; }
.final-sub { margin: 22px auto 0; max-width: 44ch; font-size: var(--s-lead); }
.recap { list-style: none; margin: clamp(40px, 5vw, 56px) auto 0; padding: 0; max-width: 880px; display: grid; gap: 1px; background: #242C3A; border-radius: 18px; overflow: hidden; }
@media (min-width: 720px) { .recap { grid-template-columns: repeat(3, 1fr); } }
.recap li { display: grid; gap: 6px; padding: 22px 20px; background: var(--midnight); color: #F5F6F8; font-weight: 600; }
.recap .mono { color: var(--blue); font-weight: 400; font-size: 0.8125rem; }
.final-buy { margin-top: clamp(36px, 4vw, 48px); display: grid; justify-items: center; gap: 16px; }
.final-buy p { max-width: 52ch; color: #9AA3B2; font-size: var(--s-small); }

/* Footer */
.foot { padding-block: 56px; border-top: 1px solid #242C3A; font-size: var(--s-small); }
.foot-grid { display: grid; gap: 20px; color: #9AA3B2; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 7fr 3fr; gap: 48px; } .foot-grid > :last-child { text-align: right; } }
.foot .brand { min-height: 0; }
.foot-legal p + p { margin-top: 12px; }

/* Motion: authored moments only. Everything has a visible default; .js-motion turns them on. */
@media (prefers-reduced-motion: no-preference) {
  .js-motion .hero h1 .ln > span { transform: translateY(105%); animation: rise 1100ms var(--ease-out) forwards; animation-delay: calc(150ms + var(--i) * 120ms); }
  .js-motion .hero .fade { opacity: 0; animation: fade 900ms var(--ease-out) forwards; animation-delay: calc(500ms + var(--i) * 110ms); }
  .js-motion .screen-wrap { opacity: 0; animation: fade 1200ms var(--ease-out) 700ms forwards; }
}
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .cam, .zone, .callout, .step, .week-line .stop::before { transition: none !important; }
  .screen { transform: none !important; }
}
