/* ACT landing — warm editorial canvas after the Duna reference:
   linen paper, aubergine ink, pill controls, colour only in the artwork. */
:root {
  --ink: #1b0624;
  --espresso: #160f0c;
  --graphite: #444;
  --ash: #766a7c;
  --stone: #898683;
  --bone: #edece7;
  --linen: #f7f7f5;
  --paper: #fff;
  --line: rgba(27, 6, 36, 0.09);

  --gentle: #f2cf6e;
  --gentle-tint: #f6e7bd;
  --firm: #ea9874;
  --firm-tint: #fbe0d3;
  --reset: #9bc5a6;
  --reset-tint: #ddebdc;
  --lavender: #c9b6ff;

  --sans: "Inter", "Söhne", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --accent-font: "Story Script", "Brush Script MT", cursive;
  --accent-ink: #9a82ec;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { color: var(--accent-ink); font-family: var(--accent-font); font-style: normal; font-weight: 400; font-synthesis: none; letter-spacing: 0; -webkit-text-stroke: 0.035em currentColor; paint-order: stroke fill; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

/* ---------- Load curtain & scroll progress ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--linen);
  transition: clip-path 1s var(--ease-in-out) 0.35s;
  clip-path: inset(0 0 0 0);
}
.curtain img { width: 120px; animation: logoIn 0.8s var(--ease) both; }
.is-loaded .curtain { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes logoIn { from { opacity: 0; transform: translateY(12px) scale(0.96); } }

.progress {
  position: fixed; top: 0; left: 0; z-index: 60;
  height: 2px; width: 100%;
  background: var(--ink);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 16px var(--gutter);
  transition: padding 0.4s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 8px calc(var(--gutter) - 12px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0; transform: scale(0.98);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  z-index: -1;
}
.nav.is-scrolled::before { opacity: 1; transform: none; }
.nav-logo img { height: 38px; width: auto; transition: transform 0.4s var(--ease); }
.nav-logo:hover img { transform: scale(1.04); }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; color: var(--graphite);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.is-current { color: var(--ink); background: rgba(27, 6, 36, 0.05); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), background 0.2s, box-shadow 0.2s, color 0.2s;
  will-change: transform;
}
.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn-dark { background: var(--espresso); color: var(--paper); }
.btn-dark:hover { background: #2b1d17; }
.btn-light { background: var(--paper); color: var(--espresso); }
.btn-ghost { box-shadow: inset 0 0 0 1px rgba(27, 6, 36, 0.18); background: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: var(--paper); box-shadow: inset 0 0 0 1px rgba(27, 6, 36, 0.35); }
.btn-block { width: 100%; }
.btn:active { transform: scale(0.97); }

.play-ico {
  position: relative; width: 22px; height: 22px; border-radius: 50%;
  background: currentColor; flex: none;
}
.play-ico::after {
  content: ""; position: absolute; left: 8px; top: 6px;
  border-left: 8px solid var(--linen); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.btn-dark .play-ico::after { border-left-color: var(--espresso); }
.is-playing .play-ico::after {
  left: 7px; top: 7px; width: 8px; height: 8px; border: 0;
  background: var(--linen);
}
.btn-dark.is-playing .play-ico::after { background: var(--espresso); }
.is-playing .play-ico { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(27, 6, 36, 0.1); } }

.play-badge {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 24px 0 18px; border-radius: 999px;
  background: var(--espresso); color: var(--paper);
  transition: transform 0.35s var(--ease), background 0.2s;
}
.play-badge:hover { background: #2b1d17; }
.play-badge svg { width: 24px; height: 24px; }
.play-badge span { display: flex; flex-direction: column; line-height: 1.1; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.play-badge small { font-size: 11px; font-weight: 400; opacity: 0.7; letter-spacing: 0.02em; }
.play-badge-lg { height: 64px; padding: 0 30px 0 22px; }
.play-badge.is-soon { cursor: default; }
.play-badge.is-soon:hover { background: var(--espresso); }
.cta .lead a { color: inherit; text-decoration: underline; text-decoration-color: var(--lavender); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .store-badges { justify-content: center; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ash);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.display {
  margin: 0; font-weight: 400;
  font-size: clamp(46px, 7.6vw, 92px); line-height: 0.98; letter-spacing: -0.06em;
}
.display em, .heading-xl em, .display-sm em { letter-spacing: -0.02em; }
.display-sm { margin: 0; font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.05em; }
.heading-xl { margin: 0; font-weight: 400; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.045em; max-width: 18ch; }
.lead { margin: 24px 0 0; max-width: 46ch; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--graphite); }
h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }

/* ---------- Reveal system ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.08em 0.2em 0; margin: 0 -0.08em -0.2em 0; }
/* Story Script's tall loops and swashes reach past the word box, so its mask gets room on every side. */
.split em .w { padding: 0.28em 0.22em 0.3em 0.16em; margin: -0.28em -0.22em -0.3em -0.16em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }
.split.in .w > span { transform: none; }

/* scroll-scrubbed words in the mission heading */
.scrub .w { opacity: 0.16; transition: opacity 0.3s linear; }
.scrub .w.lit { opacity: 1; }

/* ---------- Layout ---------- */
.section { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--gutter) 0; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(48px, 7vw, 96px);
  min-height: calc(100svh - 80px);
}
.hero .split .w > span { --d: 0.9s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-foot { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; font-size: 14px; color: var(--ash); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #3f7a52; box-shadow: 0 0 0 0 rgba(63, 122, 82, 0.5); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(63, 122, 82, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 122, 82, 0); } }

.hero-art {
  position: relative; aspect-ratio: 1 / 1.05; border-radius: 32px;
  isolation: isolate;
}
.wash { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: #fbf1e4; z-index: -1; }
.wash::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.05  0 0 0 0 0.1  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
.blob { position: absolute; border-radius: 50%; filter: blur(48px); opacity: 0.85; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 70%; height: 60%; left: -10%; top: -8%; background: var(--gentle); }
.b2 { width: 65%; height: 65%; right: -15%; top: 20%; background: var(--firm); animation-duration: 22s; animation-delay: -6s; }
.b3 { width: 70%; height: 55%; left: 5%; bottom: -15%; background: var(--reset); animation-duration: 20s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6%, 8%) scale(1.12); }
  100% { transform: translate(-6%, 3%) scale(0.95); }
}

.float { position: absolute; width: 34%; filter: drop-shadow(0 24px 30px rgba(70, 40, 20, 0.18)); will-change: transform; }
.float { animation: bob 6s ease-in-out infinite; }
.c-moon { left: -4%; top: 4%; width: 32%; }
.c-star { right: -6%; top: -6%; width: 36%; animation-delay: -2s; animation-duration: 7s; }
.c-drop { left: 2%; bottom: 0%; width: 30%; animation-delay: -4s; animation-duration: 6.5s; }
@keyframes bob { 50% { translate: 0 -14px; rotate: 3deg; } }

.phone {
  position: absolute; left: 50%; top: 50%;
  width: min(56%, 300px); aspect-ratio: 9 / 18.5;
  translate: -50% -50%;
  border-radius: 40px; padding: 10px;
  background: #1a1816;
  box-shadow: 0 40px 80px -30px rgba(40, 20, 10, 0.45), inset 0 0 0 1.5px #3a3330;
}
.phone-notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 70px; height: 20px; border-radius: 20px; background: #0d0d0d; z-index: 2; }
.phone-screen {
  height: 100%; border-radius: 31px; overflow: hidden;
  background: #fbf6e9; color: #463717; padding: 52px 16px 16px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background 0.6s var(--ease), color 0.6s;
}
.ph-over { margin: 0; font-size: 10px; letter-spacing: 0.08em; font-weight: 600; opacity: 0.6; }
.ph-title { margin: -6px 0 0; font-size: 18px; line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; }
.ph-coach { position: relative; display: grid; place-items: center; padding-top: 4px; }
.ph-coach img { width: 58%; animation: bob 4s ease-in-out infinite; }
.ph-bubble {
  margin: 8px 0 0; padding: 10px 12px; border-radius: 16px; background: #fff;
  font-size: 11.5px; line-height: 1.35; text-align: center; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.3);
  min-height: 3.2em;
}
.ph-card { display: grid; padding: 12px 14px; border-radius: 16px; background: #fffdf6; box-shadow: inset 0 0 0 1px #ede1c3; }
.ph-k { font-size: 9px; letter-spacing: 0.08em; font-weight: 600; opacity: 0.6; }
.ph-card strong { font-size: 22px; letter-spacing: -0.03em; font-weight: 600; }
.ph-s { font-size: 11px; opacity: 0.75; }
.ph-week { display: flex; gap: 5px; margin-top: auto; }
.ph-week span { flex: 1; height: 6px; border-radius: 6px; background: #ede1c3; }
.ph-week span.on { background: #f2cf6e; }

.notif {
  position: absolute; left: -22%; right: -22%; bottom: 20%;
  display: flex; gap: 10px; align-items: center;
  padding: 10px 14px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -16px rgba(40, 20, 10, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  font-size: 12px; line-height: 1.3; color: var(--ink);
  opacity: 0; translate: 0 -20px; scale: 0.94;
  transition: opacity 0.6s var(--ease), translate 0.6s var(--ease), scale 0.6s var(--ease);
}
.notif.show { opacity: 1; translate: 0 0; scale: 1; }
.notif img { width: 34px; height: 34px; flex: none; }
.notif b { display: block; font-weight: 600; font-size: 11px; color: var(--ash); }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  padding: 22px 0; background: var(--paper);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 32px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { color: var(--accent-ink); font-family: var(--accent-font); font-style: normal; font-weight: 400; -webkit-text-stroke: 0.03em currentColor; font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.01em; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--stone); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Mission ---------- */
.mission .heading-xl { max-width: 22ch; font-size: clamp(32px, 4.4vw, 58px); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.m-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: clamp(28px, 3.4vw, 44px); border-radius: 28px;
  background: linear-gradient(160deg, #fff 0%, #fbf8f2 100%);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.6s var(--ease), box-shadow 0.4s, opacity 0.9s var(--ease) var(--d, 0s);
}
.m-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(27, 6, 36, 0.14), 0 40px 60px -40px rgba(40, 20, 10, 0.35); }
.m-card::before {
  content: ""; position: absolute; z-index: -1; right: -20%; top: -30%; width: 70%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(242, 207, 110, 0.35), transparent 65%);
  transition: transform 0.8s var(--ease);
}
.m-card:hover::before { transform: translate(-10%, 10%) scale(1.15); }
.m-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.m-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), 0 10px 20px -14px rgba(40, 20, 10, 0.4);
}
.m-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.m-num { padding: 6px 12px; border-radius: 999px; background: rgba(27, 6, 36, 0.05); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--ash); }
.m-card h3 { margin: 48px 0 14px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; font-weight: 400; letter-spacing: -0.04em; }
.m-card p { margin: 0; max-width: 40ch; color: var(--graphite); }
.m-wave { display: flex; align-items: center; justify-content: space-between; gap: 4px; height: 40px; margin-top: auto; padding-top: 40px; box-sizing: content-box; }
.m-wave i { flex: 0 0 5px; height: 20%; border-radius: 5px; background: var(--ink); opacity: 0.85; }
.m-wave i:nth-child(odd) { height: 55%; }
.m-wave i:nth-child(3n) { height: 90%; }
.m-wave i:nth-child(4n) { height: 35%; }
.m-wave-faint i { opacity: 0.12; }
.m-card.in .m-wave:not(.m-wave-faint) i { animation: wave 1.3s ease-in-out infinite; }
.m-wave i:nth-child(2n) { animation-delay: -0.4s; }
.m-wave i:nth-child(3n) { animation-delay: -0.8s; }
.m-card-dark { background: linear-gradient(160deg, #241a2e 0%, #160f0c 100%); color: var(--paper); box-shadow: none; }
.m-card-dark::before { background: radial-gradient(circle, rgba(201, 182, 255, 0.4), transparent 65%); }
.m-card-dark p { color: rgba(255, 255, 255, 0.72); }
.m-card-dark .m-icon { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.m-card-dark .m-icon svg { stroke: var(--lavender); }
.m-card-dark .m-num { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.6); }
.m-card-dark .m-wave i { background: var(--lavender); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.stat {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; min-height: 220px;
  padding: 24px; border-radius: 24px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.6s var(--ease), box-shadow 0.4s, opacity 0.9s var(--ease) var(--d, 0s);
}
.stat::after {
  content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 0%;
  background: var(--tint); transition: height 0.6s var(--ease);
}
.stat:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(27, 6, 36, 0.12), 0 30px 50px -36px rgba(40, 20, 10, 0.4); }
.stat:hover::after { height: 100%; }
.stat-chip {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--tint); box-shadow: inset 0 0 0 1px rgba(27, 6, 36, 0.06);
  transition: transform 0.6s var(--ease), background 0.4s;
}
.stat:hover .stat-chip { transform: rotate(-8deg) scale(1.08); background: var(--paper); }
.stat-chip img { width: 30px; }
.stat-chip svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stat strong {
  display: block; margin-top: auto; padding-top: 28px;
  font-size: clamp(56px, 5.4vw, 76px); font-weight: 400; letter-spacing: -0.06em; line-height: 0.9; font-feature-settings: "tnum";
}
.stat strong::after { content: ""; display: block; width: 28px; height: 3px; margin: 14px 0 0; border-radius: 3px; background: var(--accent); transition: width 0.6s var(--ease); }
.stat:hover strong::after { width: 56px; }
.stat-label { display: block; margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--graphite); }

/* ---------- How it works ---------- */
.how-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px); margin-top: 48px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: flex; gap: 20px; padding: 36px 0; border-top: 1px solid var(--line);
  min-height: 46vh; opacity: 0.3; transition: opacity 0.5s var(--ease);
}
.step:last-child { min-height: 30vh; }
.step.is-active { opacity: 1; }
.step p { margin: 0; color: var(--graphite); max-width: 42ch; }
.step h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.03em; }
.step-n {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(27, 6, 36, 0.25); font-size: 14px; font-feature-settings: "tnum";
  transition: background 0.4s, color 0.4s;
}
.step.is-active .step-n { background: var(--espresso); color: var(--paper); box-shadow: none; }

.how-visual {
  position: sticky; top: 14vh; align-self: start;
  height: min(72vh, 620px); border-radius: 32px; overflow: hidden;
  background: var(--bone); box-shadow: inset 0 0 0 1px var(--line);
}
.hv-screen {
  position: absolute; inset: 50% auto auto 50%; translate: -50% -50%;
  width: min(80%, 340px); padding: 24px; border-radius: 28px;
  background: var(--paper); box-shadow: 0 30px 60px -30px rgba(40, 20, 10, 0.3);
  opacity: 0; scale: 0.94; filter: blur(6px);
  transition: opacity 0.6s var(--ease), scale 0.6s var(--ease), filter 0.6s var(--ease);
}
.hv-screen.is-active { opacity: 1; scale: 1; filter: none; }
.hv-k { margin: 0 0 6px; font-size: 11px; letter-spacing: 0.08em; font-weight: 600; color: var(--ash); }
.hv-t { margin: 0 0 16px; font-size: 22px; line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; }
.hv-opt { display: grid; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); margin-top: 8px; font-size: 13px; }
.hv-opt span { color: var(--ash); font-size: 12px; }
.hv-opt.sel { background: var(--espresso); color: var(--paper); box-shadow: none; }
.hv-opt.sel span { color: rgba(255, 255, 255, 0.65); }
.hv-opt.dashed { box-shadow: none; border: 1.5px dashed rgba(27, 6, 36, 0.18); }
.hv-coaches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.hv-c { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; background: var(--tint); font-size: 12px; transition: transform 0.4s var(--ease), box-shadow 0.3s; }
.hv-c img { width: 64px; }
.hv-c b { font-weight: 500; }
.hv-c.sel { box-shadow: inset 0 0 0 2px var(--ink); transform: translateY(-4px); }
.hv-quote { margin: 20px 0 10px; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.15; transition: opacity 0.25s; }
.hv-quote.fading { opacity: 0; }
.hv-shot { width: auto; height: 90%; padding: 8px; border-radius: 34px; background: #1a1816; box-shadow: 0 40px 70px -30px rgba(40, 20, 10, 0.45), inset 0 0 0 1.5px #3a3330; }
.hv-shot img { height: 100%; width: auto; border-radius: 26px; }
.hv-wave, .wave { display: flex; align-items: center; gap: 4px; height: 36px; }
.hv-wave i, .wave i { flex: 1; height: 30%; border-radius: 4px; background: var(--ink); animation: wave 1.1s ease-in-out infinite; }
.hv-wave i:nth-child(3n) , .wave i:nth-child(3n) { animation-delay: -0.3s; }
.hv-wave i:nth-child(3n+1), .wave i:nth-child(3n+1) { animation-delay: -0.6s; }
.hv-wave i:nth-child(4n), .wave i:nth-child(4n) { animation-delay: -0.9s; animation-duration: 1.4s; }
@keyframes wave { 50% { height: 100%; } }

.ring { position: relative; width: 190px; margin: 16px auto 20px; }
.ring svg { width: 100%; rotate: -90deg; }
.ring circle { fill: none; stroke-width: 8; }
.ring-bg { stroke: var(--bone); }
.ring-fg { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.6s var(--ease); }
.hv-2.is-active .ring-fg { stroke-dashoffset: 82; }
.ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-txt strong { font-size: 36px; font-weight: 500; letter-spacing: -0.04em; font-feature-settings: "tnum"; }
.ring-txt span { font-size: 11px; color: var(--ash); }
.hv-line { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 13px; color: var(--graphite); }
.hv-line span { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--stone); }
.hv-line .ok { background: var(--ink); box-shadow: none; }
.hv-line .nx { background: var(--firm); box-shadow: none; animation: live 2s infinite; }

/* ---------- Coaches ---------- */
.coaches-head { display: grid; justify-items: center; text-align: center; }
.coaches-head .heading-xl { max-width: 16ch; }
.coaches-head .lead { text-align: center; }
.coach-stage { --c: var(--gentle); --t: var(--gentle-tint); margin-top: 56px; }
.coach-stage[data-tone="firm"] { --c: var(--firm); --t: var(--firm-tint); }
.coach-stage[data-tone="reset"] { --c: var(--reset); --t: var(--reset-tint); }
.coach-tabs {
  position: relative; display: flex; width: max-content; max-width: 100%; margin: 0 auto 24px;
  padding: 5px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
}
.coach-tabs button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap;
  transition: color 0.3s;
}
.coach-tabs button[data-tone="gentle"] { color: #8a5e00; }
.coach-tabs button[data-tone="firm"] { color: #b2502c; }
.coach-tabs button[data-tone="reset"] { color: #3f7a52; }
.tab-emoji { font-size: 17px; line-height: 1; transition: transform 0.5s var(--ease); }
.coach-tabs button:hover .tab-emoji { transform: scale(1.2) rotate(-10deg); }
.coach-tabs button[aria-selected="true"] .tab-emoji { transform: scale(1.15); }
.coach-tabs button[aria-selected="true"] { color: var(--paper); }
.coach-tabs button[data-tone][aria-selected="true"] { color: var(--paper); }
.tab-pill, .billing-pill {
  position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--espresso);
  transition: transform 0.55s var(--ease), width 0.55s var(--ease);
}
.coach-card {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(24px, 5vw, 72px);
  padding: clamp(24px, 5vw, 64px); border-radius: 32px;
  background: var(--t); transition: background 0.7s var(--ease);
  overflow: hidden;
}
.coach-figure { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.coach-glow { position: absolute; inset: 8%; border-radius: 50%; background: var(--c); filter: blur(50px); opacity: 0.55; transition: background 0.7s; animation: drift 14s ease-in-out infinite alternate; }
.coach-img { position: relative; width: 82%; filter: drop-shadow(0 30px 30px rgba(60, 30, 10, 0.18)); animation: bob 5s ease-in-out infinite; }
.coach-img.swap-out { animation: swapOut 0.35s var(--ease-in-out) forwards; }
.coach-img.swap-in { animation: swapIn 0.7s var(--ease) both, bob 5s ease-in-out 0.7s infinite; }
@keyframes swapOut { to { opacity: 0; transform: scale(0.7) rotate(-14deg) translateY(20px); } }
@keyframes swapIn { from { opacity: 0; transform: scale(0.7) rotate(14deg) translateY(30px); } }
.coach-tag { margin: 0; font-size: 14px; font-weight: 500; color: var(--graphite); }
.coach-phrase { margin: 14px 0 0; min-height: 2.3em; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.04em; }
.coach-phrase .caret { display: inline-block; width: 2px; height: 0.9em; margin-left: 4px; vertical-align: -0.08em; background: currentColor; animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.coach-quote { margin: 28px 0 32px; padding-left: 16px; border-left: 2px solid rgba(27, 6, 36, 0.2); font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; color: var(--graphite); }
.coach-quote cite { display: block; margin-top: 6px; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--ash); }

/* ---------- Modes ---------- */
.modes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.mode { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transform-style: preserve-3d; transition: transform 0.5s var(--ease), opacity 0.9s var(--ease) var(--d, 0s); }
.mode h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.03em; }
.mode p { margin: 0; color: var(--graphite); }
.mode-vis { display: grid; place-items: center; height: 180px; margin-bottom: 28px; border-radius: 18px; background: var(--linen); }
.mini-ring { position: relative; width: 110px; display: grid; place-items: center; }
.mini-ring svg { width: 100%; rotate: -90deg; }
.mini-ring circle { fill: none; stroke: var(--bone); stroke-width: 6; }
.mini-ring .fg { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 214; animation: countdown 8s linear infinite; }
.mini-ring b { position: absolute; font-size: 28px; font-weight: 500; letter-spacing: -0.04em; }
@keyframes countdown { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 214; } }
.timeline { position: relative; width: 80%; height: 2px; background: var(--bone); border-radius: 2px; }
.timeline span { position: absolute; left: var(--x); top: 50%; width: 12px; height: 12px; translate: -50% -50%; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }
.timeline .now { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; translate: -50% -50%; border-radius: 50%; background: var(--firm); box-shadow: 0 0 0 6px rgba(234, 152, 116, 0.25); animation: travel 8s var(--ease-in-out) infinite; }
@keyframes travel { from { left: 0; } to { left: 100%; } }
.tl-labels { display: flex; justify-content: space-between; width: 80%; margin-top: -60px; font-size: 12px; color: var(--stone); }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9.4 7.7 12 13 6.4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/100% no-repeat;
}

/* ---------- Features bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.tile { grid-column: span 2; display: flex; flex-direction: column; padding: 28px; border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.5s var(--ease), box-shadow 0.4s, opacity 0.9s var(--ease) var(--d, 0s); }
.tile:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(27, 6, 36, 0.16), 0 30px 50px -36px rgba(40, 20, 10, 0.35); }
.tile p { margin: 0; color: var(--graphite); font-size: 15px; }
.tile > :first-child { margin-bottom: auto; padding-bottom: 32px; }
.t-streak, .t-lang { grid-column: span 2; }
.t-chart, .t-quote { grid-column: span 4; }
.t-voice, .t-fav { grid-column: span 3; }
.streak { display: flex; align-items: baseline; gap: 10px; }
.streak strong { font-size: 88px; font-weight: 400; letter-spacing: -0.06em; line-height: 0.9; font-feature-settings: "tnum"; }
.streak small { font-size: 12px; letter-spacing: 0.08em; color: var(--ash); font-weight: 600; }
.flame { font-size: 40px; align-self: center; animation: flicker 1.8s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes flicker { 25% { transform: scale(1.06, 0.96) rotate(-3deg); } 50% { transform: scale(0.96, 1.06); } 75% { transform: scale(1.04, 0.98) rotate(3deg); } }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 140px; }
.chart i { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: var(--bone); transform-origin: bottom; transform: scaleY(0); transition: transform 1.1s var(--ease); }
.chart i.hi { background: var(--ink); }
.tile.in .chart i { transform: none; }
.chart i:nth-child(2) { transition-delay: 0.06s; } .chart i:nth-child(3) { transition-delay: 0.12s; } .chart i:nth-child(4) { transition-delay: 0.18s; }
.chart i:nth-child(5) { transition-delay: 0.24s; } .chart i:nth-child(6) { transition-delay: 0.3s; } .chart i:nth-child(7) { transition-delay: 0.36s; }
.voice-vis { display: flex; align-items: center; gap: 16px; }
.mic { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--lavender); }
.mic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 22px; translate: -50% -60%; border-radius: 8px; background: var(--ink); }
.mic::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--lavender); animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(1.8); opacity: 0; } }
.voice-vis .wave { flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 7px; border-radius: 999px;
  background: var(--bg); color: var(--c); box-shadow: inset 0 0 0 1px rgba(27, 6, 36, 0.06);
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.4s var(--ease);
}
.star {
  width: 26px; height: 26px; padding: 5px; border-radius: 50%;
  background: var(--paper); fill: var(--s); stroke: var(--c); stroke-width: 1.4; stroke-linejoin: round;
  box-shadow: 0 4px 10px -6px rgba(40, 20, 10, 0.5);
  transition: transform 0.6s var(--ease);
}
.t-fav:hover .star { transform: rotate(72deg) scale(1.1); }
.t-fav:hover .chips span:nth-child(1) { transform: translate(-4px, -4px) rotate(-3deg); }
.t-fav:hover .chips span:nth-child(2) { transform: translate(4px, -6px) rotate(2deg); }
.t-fav:hover .chips span:nth-child(3) { transform: translate(0, 4px) rotate(-1deg); }
.q-big { font-family: var(--serif); font-style: italic; font-size: 26px !important; line-height: 1.15; color: var(--ink) !important; }
.t-quote { background: var(--espresso); color: var(--paper); box-shadow: none; }
.t-quote p { color: rgba(255, 255, 255, 0.7); }
.t-quote .q-big { color: var(--paper) !important; }
.langs { display: flex; gap: 8px; }
.langs span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--linen); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; transition: transform 0.45s var(--ease), background 0.3s, color 0.3s; }
.t-lang:hover .langs span { transform: translateY(-8px); }
.t-lang:hover .langs span:nth-child(2) { transition-delay: 0.05s; }
.t-lang:hover .langs span:nth-child(3) { transition-delay: 0.1s; }
.t-lang:hover .langs span:nth-child(4) { transition-delay: 0.15s; }
.langs span:first-child { background: var(--ink); color: var(--paper); }

/* ---------- Plus ---------- */
.plus-head { position: relative; display: grid; justify-items: center; text-align: center; }
.plus-head .lead { text-align: center; }
.plus-star { width: 120px; margin-bottom: 8px; mix-blend-mode: multiply; }
.float-slow { animation: bob 7s ease-in-out infinite; }
.billing { position: relative; display: flex; margin-top: 36px; padding: 5px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.billing button { position: relative; z-index: 1; height: 42px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--graphite); transition: color 0.3s; }
.billing button em { font-family: var(--sans); font-style: normal; -webkit-text-stroke: 0; font-size: 12px; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--lavender); color: var(--ink); }
.billing button[aria-checked="true"] { color: var(--paper); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 880px; margin: 48px auto 0; }
.plan { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.plan-name { margin: 0; font-size: 15px; font-weight: 500; color: var(--ash); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 0; }
.price strong { font-size: clamp(48px, 5vw, 64px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; font-feature-settings: "tnum"; display: inline-block; }
.price span { color: var(--ash); }
.price strong.flip { animation: flip 0.5s var(--ease); }
@keyframes flip { 0% { opacity: 0; transform: translateY(40%); filter: blur(4px); } }
.plan-note { margin: 8px 0 28px; min-height: 1.6em; font-size: 14px; color: var(--ash); }
.plan .ticks li { color: var(--graphite); }
.plan-plus { overflow: hidden; background: #1d1427; color: var(--paper); box-shadow: none; isolation: isolate; }
.plan-plus::before, .plan-plus::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); animation: drift 16s ease-in-out infinite alternate; }
.plan-plus::before { width: 70%; height: 60%; right: -20%; top: -20%; background: rgba(201, 182, 255, 0.45); }
.plan-plus::after { width: 60%; height: 50%; left: -20%; bottom: -10%; background: rgba(243, 198, 232, 0.3); animation-delay: -8s; }
.plan-plus .plan-name, .plan-plus .price span, .plan-plus .plan-note, .plan-plus .fine { color: rgba(255, 255, 255, 0.65); }
.plan-plus .ticks li { color: rgba(255, 255, 255, 0.88); }
.plan-plus .ticks li::before { background-color: var(--lavender); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9.4 7.7 12 13 6.4' fill='none' stroke='%231b0624' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.badge { position: absolute; top: 24px; right: 24px; padding: 6px 12px; border-radius: 999px; background: var(--lavender); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; }
.fine { margin: 24px 0 0; font-size: 13px; }
.compare { max-width: 880px; margin: 16px auto 0; border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.compare th, .compare td { padding: 16px 24px; text-align: left; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-size: 13px; font-weight: 500; color: var(--ash); }
.compare td + td, .compare th + th { text-align: center; width: 24%; }
.compare tbody tr { transition: background 0.2s; }
.compare tbody tr:hover { background: var(--linen); }
.compare td:nth-child(3) { color: #6a4fc4; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; column-gap: clamp(24px, 6vw, 96px); align-items: start; }
.faq .eyebrow { grid-column: 1; }
.faq .heading-xl { grid-column: 1; }
.faq-list { grid-column: 2; grid-row: 1 / span 3; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { position: relative; list-style: none; padding: 24px 48px 24px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after, summary::before { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease); }
summary::before { transform: rotate(90deg); }
details[open] summary::before { transform: rotate(0); }
details p { margin: 0; padding: 0 48px 24px 0; color: var(--graphite); }
details[open] p { animation: faqIn 0.5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- CTA ---------- */
.cta { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--gutter) 0; }
.cta-inner { position: relative; isolation: isolate; display: grid; justify-items: center; text-align: center; padding: clamp(56px, 8vw, 110px) 24px; border-radius: 40px; overflow: hidden; }
.wash-cta { background: #fbf1e4; }
.cta-chars { display: flex; justify-content: center; margin-bottom: 24px; }
.cta-chars img { transition: transform 0.5s var(--ease); width: clamp(72px, 9vw, 110px); margin: 0 -8px; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 18px 20px rgba(70, 40, 20, 0.18)); }
.cta-chars img:nth-child(2) { animation-delay: -1.6s; translate: 0 -12px; }
.cta-chars img:nth-child(3) { animation-delay: -3.2s; }
.cta .lead { margin-bottom: 32px; }

/* ---------- Footer ---------- */
.footer { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 80px var(--gutter) 40px; display: grid; grid-template-columns: 1fr auto; gap: 40px; }
.foot-logo { height: 28px; width: auto; }
.foot-top p { margin: 14px 0 0; color: var(--ash); }
.foot-cols { display: flex; gap: clamp(32px, 6vw, 80px); }
.foot-cols div { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.foot-cols b { font-weight: 500; }
.foot-cols a { color: var(--ash); transition: color 0.2s; }
.foot-cols a:hover { color: var(--ink); }
.foot-copy { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--stone); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--espresso); color: var(--paper);
  box-shadow: 0 18px 40px -16px rgba(22, 15, 12, 0.6);
  opacity: 0; pointer-events: none; transform: translateY(20px) scale(0.8);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), background 0.2s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: #2b1d17; }
.to-top-ring { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); rotate: -90deg; }
.to-top-ring circle { fill: none; stroke: var(--lavender); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 * (1 - var(--p, 0))); }
.to-top-arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.to-top:hover .to-top-arrow { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; gap: 6px; margin-left: auto; width: 44px; height: 44px; place-content: center; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
  .nav-toggle span { width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.35s var(--ease); }
  .nav.is-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.is-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: var(--gutter); right: var(--gutter);
    padding: 12px; border-radius: 24px; background: var(--paper); box-shadow: 0 30px 60px -20px rgba(40, 20, 10, 0.25), inset 0 0 0 1px var(--line);
    animation: faqIn 0.35s var(--ease);
  }
  .nav.is-open .nav-links a { padding: 14px 16px; font-size: 16px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { max-width: 560px; width: 100%; margin: 0 auto; }
  .how-body { grid-template-columns: 1fr; }
  .how-visual { order: -1; top: 76px; height: 440px; z-index: 2; }
  .step { min-height: 0; padding: 28px 0; opacity: 1; }
  .coach-card { grid-template-columns: 1fr; text-align: center; }
  .coach-figure { width: min(320px, 70%); margin: 0 auto; }
  .coach-quote { border-left: 0; padding-left: 0; }
  .faq { grid-template-columns: 1fr; }
  .faq-list { grid-column: 1; grid-row: auto; margin-top: 40px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .t-streak, .t-chart, .t-voice, .t-fav, .t-quote, .t-lang { grid-column: span 1; }
}

@media (max-width: 640px) {
  .mission-grid, .modes-grid, .plans { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { min-height: 190px; padding: 20px; }
  .coach-tabs button { gap: 6px; }
  .tab-emoji { font-size: 15px; }
  .nav-logo img { height: 32px; }
  .to-top { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .bento { grid-template-columns: 1fr; }
  .hero-actions > * { flex: 1 1 100%; }
  .play-badge { justify-content: center; }
  .store-badges { flex-wrap: nowrap; width: 100%; }
  .store-badges .play-badge { flex: 1 1 0; min-width: 0; padding: 0 12px; gap: 8px; }
  .store-badges .play-badge span { font-size: 16px; }
  .notif { left: -12%; right: -12%; }
  .coach-tabs button { padding: 0 10px; font-size: 13px; gap: 5px !important; }
  .how-visual { top: 68px; height: 380px; border-radius: 24px; }
  .hv-screen { scale: 0.82; padding: 18px; }
  .hv-screen.is-active { scale: 0.86; }
  .hv-shot { padding: 6px; height: 104%; border-radius: 30px; }
  .hv-shot img { border-radius: 24px; }
  .step { min-height: 52vh; opacity: 0.3; }
  .step.is-active { opacity: 1; }
  .footer { grid-template-columns: 1fr; }
  .foot-cols { flex-wrap: wrap; }
  .streak strong { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .split .w > span { opacity: 1; transform: none; }
  .scrub .w { opacity: 1; }
}

/* ---------- Legal pages ---------- */
.legal-page .nav { position: sticky; }
.legal-back { margin-left: auto; }
.nav .legal-back { display: inline-flex; }
.legal { max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter) 0; }
.legal .heading-xl { margin-top: 4px; }
.legal-date { margin: 16px 0 0; font-size: 14px; color: var(--ash); }
.legal-summary { margin: 40px 0 8px; padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.legal-summary b { font-weight: 600; }
.legal-summary .ticks { margin-top: 16px; color: var(--graphite); }
.legal section { padding: 32px 0 0; }
.legal h2 { margin: 0 0 12px; font-size: clamp(20px, 2vw, 24px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.legal p, .legal section li { color: var(--graphite); line-height: 1.65; }
.legal p { margin: 0 0 12px; }
.legal section ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 8px; }
.legal section li b { color: var(--ink); font-weight: 600; }
.legal a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lavender); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal a:not(.btn):hover { text-decoration-color: var(--ink); }
.not-found { text-align: center; padding-bottom: clamp(40px, 7vw, 88px); }
.not-found .heading-xl { margin-bottom: 18px; }
.not-found-art { display: block; width: clamp(120px, 22vw, 180px); margin: 0 auto 12px; filter: drop-shadow(0 18px 24px rgba(27, 6, 36, 0.15)); }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.foot-cols a[aria-current="page"] { color: var(--ink); }
