/* Layout concept: the page is the route a goal takes. The dark hero carries the brand's yellow
   journey line (Today, The plan, Every day, Your goal); below it a yellow rail runs down the left
   edge and each main section is a stop on it, ending at the finish flag. Same system as the
   App Store screenshots: night teal, sun yellow, Bricolage Grotesque. */
:root {
  --night: #032f34;
  --night-2: #04464d;
  --teal: #00788a;
  --teal-strong: #005f6d;
  --teal-fill: #00788a;       /* fills behind white text; stays the same in dark mode */
  --mint: #b2f6e4;
  --mint-soft: #e1f4ef;
  --sun: #ffce54;
  --sun-ink: #3a2a00;
  --paper: #f3f7f5;
  --surface: #ffffff;
  --ink: #0e2b2a;
  --ink-soft: #4a6462;
  --line: #d6e3df;
  --danger: #b4232d;
  --on-night: #f1fbf8;
  --on-night-soft: #a8d3cb;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.1vw, 2.2rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem);
  --step-4: clamp(3rem, 1.9rem + 5.4vw, 6.6rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --wrap: min(100% - 2 * var(--gutter), var(--max));
  --rail-in: 15px;            /* rail centre, measured from the left edge of .wrap */
  --indent: clamp(44px, 6vw, 76px);
  --pad: clamp(72px, 10vw, 128px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #071d1f; --surface: #0d2a2c; --ink: #e6f3f0; --ink-soft: #9fbcb7; --line: #1d3a3b;
    --teal: #5fd3c1; --teal-strong: #8ae3d5; --mint-soft: #123532;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #071d1f; --surface: #0d2a2c; --ink: #e6f3f0; --ink-soft: #9fbcb7; --line: #1d3a3b;
  --teal: #5fd3c1; --teal-strong: #8ae3d5; --mint-soft: #123532;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-strong); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.04; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.045em; line-height: 0.94; }
h2 { font-size: var(--step-3); font-weight: 750; letter-spacing: -0.035em; }
h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; }
p, ul, ol, dl, dd, figure { margin: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 36ch; }
.muted { color: var(--ink-soft); }
.eyebrow { display: block; font: 600 var(--step--1)/1.3 var(--font-body); color: var(--teal); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--sun); color: var(--sun-ink); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 700 1rem/1 var(--font-body); text-decoration: none; transition: transform .15s ease, background-color .15s ease; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-sun { background: var(--sun); color: var(--sun-ink); }
.btn-sun:hover { background: #ffd977; color: var(--sun-ink); }
.btn-teal, .btn-primary { background: var(--teal-fill); color: #fff; }
.btn-teal:hover, .btn-primary:hover { background: #005f6d; color: #fff; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }

/* Header: night bar on every page */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--night) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: env(safe-area-inset-top, 0px); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 68px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 750 1.3rem/1 var(--font-display); letter-spacing: -0.03em; color: var(--on-night); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--on-night); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { list-style: none; display: flex; gap: 26px; padding: 0; margin: 0; }
.nav-links a { color: var(--on-night-soft); text-decoration: none; font-weight: 500; font-size: 0.96rem; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--on-night); }
.nav-links a[aria-current] { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-toggle { display: none; font: 600 0.95rem/1 var(--font-body); color: var(--on-night); background: none; border: 1px solid rgb(255 255 255 / 25%); border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.site-header :focus-visible { outline-color: var(--sun); }

/* Hero */
.hero {
  color: var(--on-night);
  background:
    radial-gradient(55% 70% at 78% 60%, rgb(40 210 180 / 38%), transparent 70%),
    radial-gradient(40% 60% at 5% 100%, rgb(0 170 190 / 25%), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 55%, #006a72 100%);
  padding-block: clamp(40px, 6vw, 72px) 0;
  overflow: hidden;
}
.hero :focus-visible { outline-color: var(--sun); }

.journey { list-style: none; padding: 0; display: flex; justify-content: space-between; position: relative; padding-top: 34px; font: 600 var(--step--1)/1 var(--font-body); color: var(--mint); }
.journey::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 10px; border-radius: 5px; background: var(--sun); box-shadow: 0 0 24px rgb(255 206 84 / 45%); transform-origin: left; animation: draw 1.1s cubic-bezier(.6, 0, .2, 1) .2s both; }
.journey li { position: relative; white-space: nowrap; animation: pop .4s ease both; }
.journey li::before { content: ""; position: absolute; left: 0; top: -34px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 6px solid var(--sun); box-shadow: 0 0 0 6px rgb(255 206 84 / 18%); }
.journey li:nth-child(1) { animation-delay: .2s; }
.journey li:nth-child(2) { animation-delay: .5s; }
.journey li:nth-child(3) { animation-delay: .8s; }
.journey li:nth-child(4) { animation-delay: 1.15s; }
.journey .goal { color: var(--on-night); font-weight: 700; }
.journey .goal::before { left: auto; right: 0; }
@keyframes draw { from { transform: scaleX(0); } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 56px); align-items: end; padding-top: clamp(48px, 7vw, 88px); }
.hero-copy { display: grid; gap: 28px; padding-bottom: clamp(56px, 8vw, 104px); }
.hero h1 { color: #fff; }
.hero .lede { color: var(--mint); max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cta-note { color: var(--on-night-soft); font-size: var(--step--1); }
.hero-facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--on-night-soft); font-size: var(--step--1); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }

.hero-stage { position: relative; display: grid; justify-items: center; padding-top: 70px; min-width: 0; }
.iphone { width: min(330px, 70vw); padding: 10px; border-radius: 56px; background: linear-gradient(140deg, #6f7c80 0%, #161c1e 8%, #0b0f10 50%, #1d2427 92%, #7d8a8e 100%); box-shadow: inset 0 0 0 2px #a7b3b6, 0 60px 90px -30px rgb(0 12 14 / 70%); }
.iphone-screen { position: relative; border-radius: 47px; overflow: hidden; aspect-ratio: 1320 / 2868; background: #fff; }
.iphone-screen img { width: 100%; height: 100%; object-fit: cover; }
.island { position: absolute; top: 2.2%; left: 50%; width: 31%; height: 3.9%; transform: translateX(-50%); background: #000; border-radius: 40px; }
.hero .iphone { margin-bottom: -150px; transform: rotate(4deg); }
.say-bubble { position: absolute; z-index: 2; top: 18px; left: 0; background: var(--teal); color: #fff; font-weight: 600; padding: 16px 22px; border-radius: 26px 26px 6px 26px; box-shadow: 0 30px 50px -20px rgb(0 16 18 / 70%); white-space: nowrap; transform: rotate(-3deg); }
.sched { position: absolute; z-index: 2; display: flex; gap: 14px; align-items: center; background: #fff; color: var(--ink); border-radius: 22px; padding: 14px 18px 14px 14px; box-shadow: 0 40px 60px -24px rgb(0 16 18 / 75%); }
.sched small { display: block; color: var(--teal); font-weight: 600; font-size: 0.8rem; }
.sched b { display: block; font: 700 1.02rem/1.25 var(--font-body); white-space: nowrap; }
.sched em { font-style: normal; font-size: 0.8rem; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.sched em::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 0.7rem; font-weight: 700; }
.sched-badge { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: #ffbe6e; flex: none; }
.sched-badge.mint { background: #8fe6d4; }
.s1 { left: -2%; bottom: 120px; transform: rotate(-3deg); }
.s2 { right: -2%; bottom: 36px; transform: rotate(3deg); }

/* The route: a yellow rail down the left edge, one stop per section */
.route { position: relative; }
.station { position: relative; padding-block: var(--pad) 0; }
.station:last-child { padding-bottom: var(--pad); }
.station::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc((100% - var(--wrap)) / 2 + var(--rail-in) - 4px); width: 8px; background: var(--sun); }
.station:last-child::before { bottom: auto; height: calc(var(--pad) + 16px); border-radius: 0 0 4px 4px; }
.station > .wrap { padding-left: var(--indent); }
.stop { position: relative; display: flex; align-items: center; min-height: 32px; margin-bottom: 18px; font: 700 var(--step-0)/1 var(--font-display); color: var(--teal); }
.stop::before { content: ""; position: absolute; left: calc(var(--rail-in) - var(--indent) - 14px); top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 7px solid var(--sun); box-shadow: 0 0 0 6px rgb(255 206 84 / 22%); }
.stop-goal::before { background: var(--sun); }
.station h2 { max-width: 18ch; }
.station-copy { display: grid; gap: 24px; align-content: start; min-width: 0; }

/* Today: the Coach */
.coach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.points { display: grid; gap: 18px; margin-top: 8px; max-width: 46ch; }
.points dt { font-weight: 700; }
.points dd { color: var(--ink-soft); }
.thread { display: grid; gap: 28px; padding-top: 8px; }
.exchange { display: grid; gap: 10px; }
.you { justify-self: end; max-width: 85%; background: var(--teal-fill); color: #fff; font-weight: 600; padding: 14px 20px; border-radius: 24px 24px 6px 24px; }
.reply { justify-self: start; max-width: 90%; background: var(--surface); border: 1px solid var(--line); border-radius: 24px 24px 24px 6px; padding: 14px 18px 16px; display: grid; gap: 10px; }
.reply-who { font-weight: 600; }
.taskline { display: flex; align-items: baseline; gap: 12px; font-weight: 600; background: var(--mint-soft); border-radius: 12px; padding: 10px 14px; }
.taskline time, .timeline time, .cal time { font-variant-numeric: tabular-nums; color: var(--teal); font-weight: 700; }
.chips { display: flex; gap: 8px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; font-weight: 600; }
.chips .yes { background: var(--teal-fill); border-color: var(--teal-fill); color: #fff; }
.chips .no { background: var(--danger); border-color: var(--danger); color: #fff; }

/* The plan */
.planning-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.flow { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 20px; max-width: 52ch; }
.flow li { counter-increment: step; display: grid; grid-template-columns: 2.2rem 1fr; column-gap: 16px; row-gap: 2px; }
.flow li::before { content: counter(step); grid-row: span 2; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; font: 700 0.95rem/1 var(--font-display); color: var(--sun-ink); background: var(--sun); }
.flow span { color: var(--ink-soft); }
.planning-phone { display: grid; justify-items: center; gap: 14px; }
.iphone.small { width: min(250px, 64vw); padding: 7px; border-radius: 44px; }
.iphone.small .iphone-screen { border-radius: 37px; }
.planning-phone figcaption, .cal figcaption { color: var(--ink-soft); font-size: var(--step--1); text-align: center; }
.cal figcaption { text-align: left; }

.cal { margin-top: clamp(40px, 6vw, 64px); background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(18px, 3vw, 30px); display: grid; gap: 18px; min-width: 0; }
.cal-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.cal-head strong { display: block; font: 700 var(--step-1)/1.2 var(--font-display); letter-spacing: -0.02em; }
.cal-head span { color: var(--ink-soft); font-size: var(--step--1); }
.cal-head .cal-chip { background: var(--mint-soft); color: var(--teal); font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.cal-scroll { overflow-x: auto; }
.cal-grid { display: grid; gap: 8px; min-width: 640px; }
.cal-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 12px; align-items: center; }
.cal-week b { display: block; font-size: 0.9rem; }
.cal-week span { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.3; display: block; }
.cal-days { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-labels .cal-days li { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); text-align: center; }
.cal-days .slot { background: var(--mint-soft); border-left: 4px solid var(--teal); border-radius: 8px; padding: 7px 9px; font-size: 0.82rem; line-height: 1.25; min-height: 50px; }
.cal-days .slot time { display: block; font-size: 0.78rem; }
.cal-days .off { border-radius: 8px; min-height: 50px; background: repeating-linear-gradient(135deg, transparent 0 6px, var(--line) 6px 7px); }

/* Every day */
.days-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px); margin-top: clamp(32px, 5vw, 48px); }
.feat { display: grid; gap: 12px; align-content: start; }
.feat p { color: var(--ink-soft); max-width: 46ch; }
.feat-tasks { grid-row: span 2; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px; margin-bottom: 10px; }
.panel-title { font-weight: 700; font-size: 0.92rem; }
.timeline { list-style: none; padding: 0 0 0 22px; display: grid; gap: 14px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-weight: 600; padding: 12px 14px; border-radius: 14px; background: var(--paper); }
.timeline li::before { content: ""; position: absolute; left: -22px; top: 18px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--teal); }
.timeline .done { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: var(--ink-soft); background: transparent; }
.timeline .done::before { background: var(--teal); }
.timeline .now { background: var(--mint-soft); box-shadow: inset 4px 0 0 var(--teal); }
.timeline .tag { margin-left: auto; font-size: 0.78rem; font-weight: 700; color: var(--sun-ink); background: var(--sun); border-radius: 999px; padding: 3px 10px; }
.grid28 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 12px; max-width: 260px; }
.grid28 i { aspect-ratio: 1; border-radius: 6px; background: var(--line); }
.grid28 .on { background: var(--teal); }
.grid28 .next { background: transparent; outline: 2px dashed var(--teal); outline-offset: -2px; }
.feat-focus .panel { display: flex; align-items: center; gap: 18px; }
.ring { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; flex: none; background: radial-gradient(closest-side, var(--surface) 78%, transparent 79%), conic-gradient(var(--teal) 0 62%, var(--line) 62% 100%); }
.ring b { font: 750 1.2rem/1 var(--font-display); font-variant-numeric: tabular-nums; }

/* Your goal */
#goals .lede { margin-top: 18px; max-width: 46ch; }
.milestones { margin-top: clamp(32px, 5vw, 48px); background: var(--night); color: var(--on-night); border-radius: 28px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 34px; border: 1px solid rgb(255 255 255 / 8%); }
.ms-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: baseline; }
.ms-head strong { font: 750 var(--step-2)/1.1 var(--font-display); letter-spacing: -0.03em; }
.ms-head span { color: var(--mint); font-weight: 600; }
.ms-line { list-style: none; padding: 36px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; font-size: 0.92rem; color: var(--on-night-soft); }
.ms-line::before, .ms-line::after { content: ""; position: absolute; top: 9px; height: 8px; border-radius: 4px; left: 9px; }
.ms-line::before { right: 9px; background: rgb(255 255 255 / 16%); }
.ms-line::after { width: calc(60% + 9px); background: var(--sun); }
.ms-line li { position: relative; z-index: 1; padding-right: 12px; }
.ms-line li::before { content: ""; position: absolute; left: 0; top: -36px; width: 26px; height: 26px; border-radius: 50%; background: var(--night); border: 3px solid rgb(255 255 255 / 30%); }
.ms-line .done { color: var(--on-night); }
.ms-line .done::before { background: #fff; border: 6px solid var(--sun); }
.ms-line .current { color: var(--sun); font-weight: 700; }
.ms-line .current::before { border-color: var(--sun); }
.ms-line li:last-child::after { content: "🏁"; position: absolute; left: 0; top: -40px; font-size: 1.4rem; }
.ms-line li:last-child::before { display: none; }
.studio { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(40px, 6vw, 56px); }
.studio dt { font-weight: 700; margin-bottom: 4px; }
.studio dd { color: var(--ink-soft); font-size: 0.96rem; }

/* Privacy band */
.band { background: var(--night); color: var(--on-night); padding-block: var(--pad); }
.band a { color: var(--sun); font-weight: 600; }
.band a:hover { color: #ffd977; }
.band :focus-visible { outline-color: var(--sun); }
.band .lede { color: var(--mint); margin-block: 20px; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.facts { display: grid; gap: 0; border-top: 1px solid rgb(255 255 255 / 14%); }
.facts div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; padding-block: 18px; border-bottom: 1px solid rgb(255 255 255 / 14%); }
.facts dt { font-weight: 700; }
.facts dd { color: var(--on-night-soft); }

/* Pricing and FAQ */
.section { padding-block: var(--pad) 0; }
.section + .section { padding-bottom: var(--pad); }
.pricing, .faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.pricing .lede, .faq .lede { margin-top: 18px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
.price-top { display: flex; align-items: center; gap: 14px; }
.price-top img { width: 52px; height: 52px; border-radius: 14px; }
.price-top strong { display: block; font: 700 var(--step-1)/1.2 var(--font-display); }
.price-top span { color: var(--ink-soft); font-size: var(--step--1); }
.price-line { font: 800 var(--step-3)/1 var(--font-display); letter-spacing: -0.04em; margin-top: 8px; }
.price-then { color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; margin-block: 6px 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.ticks li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mint-soft); color: var(--teal); font-size: 0.75rem; font-weight: 800; margin-top: 2px; }
.fine { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.05rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 500 1.5rem/1 var(--font-body); color: var(--teal); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-soft); padding-bottom: 20px; max-width: 62ch; }

/* Closing */
.closing { background: linear-gradient(180deg, var(--night-2), var(--night)); color: #fff; padding-block: var(--pad); }
.closing .wrap { display: grid; gap: 32px; justify-items: start; }
.closing h2 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.045em; line-height: 0.96; max-width: 14ch; }
.closing :focus-visible { outline-color: var(--sun); }

/* Footer: continues the night of the closing band */
.site-footer { background: var(--night); color: var(--on-night-soft); padding-block: 56px 40px; font-size: 0.92rem; display: grid; gap: 40px; border-top: 1px solid rgb(255 255 255 / 10%); }
.footer-cols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand { display: grid; gap: 12px; align-content: start; }
.footer-brand p { max-width: 26ch; }
.footer-cols nav h2 { font: 700 0.95rem/1 var(--font-display); letter-spacing: 0; color: var(--on-night); margin-bottom: 14px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-cols a { color: var(--on-night-soft); text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: var(--sun); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: 0.85rem; border-top: 1px solid rgb(255 255 255 / 10%); }

/* Document pages (privacy, terms, support, 404) */
.doc { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 104px); }
.doc-grid { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); display: grid; gap: 2px; font-size: 0.92rem; padding-left: 18px; border-left: 4px solid var(--sun); }
.toc a { color: var(--ink-soft); text-decoration: none; padding: 4px 0; }
.toc a:hover { color: var(--ink); }
.toc .eyebrow { margin-bottom: 8px; }
.prose { max-width: 68ch; min-width: 0; }
.prose header { display: grid; gap: 14px; margin-bottom: 36px; }
.prose h1 { font-size: var(--step-3); line-height: 1; letter-spacing: -0.04em; }
.prose h2 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.015em; margin: 40px 0 10px; scroll-margin-top: 92px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 12px 0 0; }
.prose strong { color: var(--ink); }
.summary-box { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--sun); border-radius: 18px; padding: 20px 22px; display: grid; gap: 10px; }
.summary-box ul { margin: 0; }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin-top: 12px; }
.contact code { font: 600 1rem/1.2 var(--font-body); color: var(--ink); user-select: all; }
.copy { font: 600 0.85rem/1 var(--font-body); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.qa { border-top: 1px solid var(--line); margin-top: 28px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .coach-grid, .planning-grid, .band-grid, .pricing, .faq { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 0; }
  .hero-stage { padding-top: 64px; max-width: 520px; width: 100%; justify-self: center; }
  .days-grid { grid-template-columns: minmax(0, 1fr); }
  .feat-tasks { grid-row: auto; }
  .studio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
}
@media (max-width: 760px) {
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px 0 16px; background: var(--night); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1.05rem; }
  .nav > .btn { display: none; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ms-line { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 44px; gap: 18px; }
  .ms-line::before, .ms-line::after { left: 9px; top: 6px; width: 8px; height: auto; }
  .ms-line::before { bottom: 6px; right: auto; }
  .ms-line::after { height: calc(60% + 6px); }
  .ms-line li::before { left: -44px; top: -2px; }
  .ms-line li:last-child::after { left: -46px; top: -6px; }
}
@media (max-width: 520px) {
  :root { --rail-in: 10px; --indent: 38px; }
  .journey { font-size: 0.78rem; }
  .journey li:nth-child(3) { visibility: hidden; }
  .journey li:nth-child(3)::before { visibility: visible; }
  .studio { grid-template-columns: minmax(0, 1fr); }
  .say-bubble { font-size: 0.92rem; padding: 12px 16px; }
  .sched { padding: 10px 14px 10px 10px; gap: 10px; }
  .sched-badge { width: 40px; height: 40px; font-size: 1.2rem; border-radius: 12px; }
  .sched b { font-size: 0.9rem; }
  .s1 { left: -4px; bottom: 110px; }
  .s2 { right: -4px; bottom: 30px; }
  .stop::before { width: 24px; height: 24px; border-width: 6px; left: calc(var(--rail-in) - var(--indent) - 12px); top: 4px; }
  .station::before { width: 6px; left: calc((100% - var(--wrap)) / 2 + var(--rail-in) - 3px); }
  .timeline .tag { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
