/* ============================================================
   Good Legs — site stylesheet (v2)
   Tokens from docs/design/good-legs-handoff/tokens.json (v5).
   One canvas, one signal colour, Geist for words and Geist Mono for data.
   ============================================================ */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/geist-latin-variable.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/geist-mono-latin-variable.woff2") format("woff2"); }

:root {
  --canvas: #0F1012; --panel: #17181C; --subtle: #131417; --raised: #1E2025;
  --text: #F2F2F4; --text-2: #A3A5AD; --text-3: #868994;
  --signal: #E8567F; --violet: #957AE0;
  --success: #4FC48D; --warning: #E9B44C; --danger: #F0605C; --info: #7D9BF0;
  --m-strength: #F0A35E; --m-ride: #7FB2D9; --m-mobility: #C9A9F2; --m-yoga: #E79BC4; --m-breath: #8ED0D4; --m-audio: #D9C48E; --m-rest: #6B6E78;
  --hair: rgba(242, 242, 244, 0.10); --hair-soft: rgba(242, 242, 244, 0.07); --quiet: rgba(242, 242, 244, 0.05); --outline: rgba(242, 242, 244, 0.16);
  --edge: rgba(242, 242, 244, 0.06);
  --text-dim: #8D8F98;
  --signal-glow: rgba(232, 86, 127, 0.16);
  --r-sm: 12px; --r-md: 20px; --r-pill: 999px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1); --ease-em: cubic-bezier(0.16, 1, 0.3, 1);
  --t-press: 120ms; --t-reveal: 240ms; --t-sheet: 360ms;
  --gutter: 20px; --wrap: 1280px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --nav-h: 64px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --nav-h: 72px; } }
@media (min-width: 1280px) { :root { --gutter: 48px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--canvas); color: var(--text); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--canvas); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 25px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
@media (min-width: 768px) { body { font-size: 17px; line-height: 27px; } }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
i, b { font-style: normal; }
u { text-decoration-color: rgba(242, 242, 244, 0.3); text-underline-offset: 3px; }
s { text-decoration-color: rgba(242, 242, 244, 0.45); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(232, 86, 127, 0.35); }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-pill); background: var(--text); color: var(--canvas); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* material: grain and the reading-progress line (the second line) */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.045; 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='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); background-size: 160px 160px; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 95; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--signal); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }

/* ---------- glyphs ---------- */
.g { display: inline-block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.g[width="12"] { stroke-width: 2.2; } .g[width="14"] { stroke-width: 1.8; }

/* ---------- type ---------- */
.mono { font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); font-variant-numeric: tabular-nums; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.eyebrow__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--signal); display: inline-block; }
.caption { font-size: 13px; line-height: 18px; color: var(--text-2); }
.display { font-size: clamp(36px, 9.4vw, 44px); line-height: 0.94; font-weight: 600; letter-spacing: -0.04em; color: var(--text); }
@media (min-width: 600px) { .display { font-size: clamp(44px, 7.2vw, 74px); line-height: 0.92; letter-spacing: -0.045em; } }
.display .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.display .line > span { display: block; }
.js .display .line > span { transform: translateY(108%); }
.js.is-ready .display .line > span { transform: none; transition: transform 1000ms var(--ease-em); transition-delay: calc(120ms + var(--i, 0) * 100ms); }
.t-big { font-size: clamp(38px, 5.4vw, 80px); line-height: 0.98; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; color: var(--text); }
.t-mid { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; color: var(--text); }
.t-h3 { font-size: 17px; line-height: 22px; font-weight: 500; letter-spacing: -0.01em; }
.lead { font-size: 18px; line-height: 28px; color: var(--text-2); text-wrap: pretty; max-width: 62ch; }
@media (min-width: 768px) { .lead { font-size: 20px; line-height: 31px; } }
@media (min-width: 1280px) { .lead { font-size: 22px; line-height: 34px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: var(--r-pill); font-weight: 600; font-size: 15px; line-height: 22px; letter-spacing: -0.01em; white-space: nowrap; transition: transform var(--t-press) var(--ease), opacity var(--t-press) var(--ease), background-color var(--t-press) var(--ease), box-shadow var(--t-press) var(--ease); }
.btn:active { transform: scale(0.98); opacity: 0.78; }
.btn--primary { background: var(--text); color: var(--canvas); }
.btn--primary:hover { background: #ffffff; }
.btn--lg { min-height: 56px; padding-inline: 28px; font-size: 16px; }
.btn--secondary { box-shadow: inset 0 0 0 1px var(--outline); }
.btn--secondary:hover { box-shadow: inset 0 0 0 1px rgba(242, 242, 244, 0.32); }
.btn--text { padding-inline: 4px; color: var(--text-2); min-height: 44px; }
.btn--text:hover { color: var(--text); }
.btn--sm { min-height: 40px; padding-inline: 18px; font-size: 14px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color var(--t-reveal) var(--ease), box-shadow var(--t-reveal) var(--ease); }
.nav.is-scrolled { background: rgba(15, 16, 18, 0.78); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 1px 0 var(--hair); }
.nav__row { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: none; gap: 28px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--text-2); min-height: 44px; display: inline-flex; align-items: center; transition: color var(--t-press) var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-pill); }
.nav__toggle .g--menu-close { display: none; }
.nav__toggle[aria-expanded="true"] .g--menu-open { display: none; }
.nav__toggle[aria-expanded="true"] .g--menu-close { display: inline-block; }
@media (min-width: 960px) { .nav__links { display: flex; } .nav__toggle { display: none; } }
@media (max-width: 959px) {
  .nav__links.is-open { display: grid; position: absolute; left: 0; right: 0; top: var(--nav-h); padding: 8px var(--gutter) 24px; background: rgba(15, 16, 18, 0.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--hair), 0 24px 48px rgba(0, 0, 0, 0.5); gap: 0; animation: menu-in var(--t-reveal) var(--ease); }
  .nav__links.is-open a { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); min-height: 58px; box-shadow: 0 1px 0 var(--hair-soft); }
  .nav__actions .btn--sm { display: none; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- lockups ---------- */
.lockup { display: inline-flex; align-items: center; gap: 10px; }
.mark { display: inline-grid; gap: 2px; width: 22px; flex: none; }
.mark > span { display: block; height: 4px; border-radius: 2px; background: var(--text); }
.mark > span:last-child { width: 60%; background: var(--signal); }
.mark--xs { width: 10px; gap: 2px; margin-right: 5px; vertical-align: middle; }
.mark--xs > span { height: 2px; border-radius: 1px; }
.mark--xl { width: clamp(44px, 6vw, 92px); gap: clamp(4px, 0.6vw, 9px); }
.mark--xl > span { height: clamp(8px, 1.1vw, 17px); border-radius: 999px; }
.wordmark { font-size: 22px; line-height: 1; font-weight: 500; letter-spacing: -0.05em; color: var(--text); }
.wordmark--xl { font-size: clamp(64px, 13vw, 200px); letter-spacing: -0.06em; line-height: 0.9; }
.roadman-lockup { height: 22px; width: auto; }
.roadman-lockup--28 { height: 28px; }
.roadman-lockup--lg { height: clamp(48px, 7vw, 88px); }
.byline { display: inline-flex; align-items: center; gap: 12px; }

/* ---------- panels, glow, reveals ---------- */
.panel { position: relative; background: var(--panel); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--hair-soft), inset 0 1px 0 var(--edge); }
.glow { --mx: 50%; --my: 50%; }
.glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(242, 242, 244, 0.07), transparent 65%); transition: opacity 400ms var(--ease); }
.glow:hover::after { opacity: 1; }
.js .reveal { transition: opacity 700ms var(--ease), transform 900ms var(--ease-em); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-out { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) { .js .reveal, .js .reveal.is-out { opacity: 1; transform: none; transition: none; } .js .display .line > span, .js.is-ready .display .line > span { transform: none; transition: none; } }

/* ---------- section rhythm ---------- */
.section__head { display: grid; gap: 18px; max-width: 820px; margin-bottom: clamp(40px, 6vw, 80px); }
.section__head--wide { max-width: 960px; }
.section__head .lead { margin-top: 6px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: 8px; padding-bottom: clamp(48px, 7vw, 104px); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% 0 0; background: radial-gradient(60% 70% at 78% 40%, rgba(255, 140, 56, 0.16), transparent 62%), radial-gradient(50% 50% at 62% 84%, rgba(232, 86, 127, 0.10), transparent 60%); pointer-events: none; transform: translateY(var(--ay, 0px)); }
.js .hero::before { opacity: 0; }
.js.is-ready .hero::before { opacity: 1; transition: opacity 1600ms var(--ease) 120ms; }
.hero__inner { position: relative; display: grid; gap: 0; }
.hero__copy { position: relative; z-index: 2; display: grid; gap: 14px; min-width: 0; align-content: end; margin-top: -56px; }
.hero__lead { max-width: 34ch; font-size: 17px; line-height: 25px; }
.hero__actions { margin-top: 6px; }
.hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__coach { order: -1; justify-self: end; width: min(78%, 380px); margin-right: calc(-0.5 * var(--gutter)); }
.hero .eyebrow { font-size: 11px; }
@media (max-width: 1023px) and (max-height: 700px) { .hero__coach { width: min(70%, 380px); } .hero__copy { margin-top: -64px; gap: 12px; } }
@media (min-width: 600px) { .hero .eyebrow { font-size: 12px; } }
.hero__coach.coach::before { left: -55%; right: -55%; top: -16%; bottom: -6%; background: radial-gradient(30% 26% at 55% 28%, rgba(255, 158, 64, 0.72), rgba(255, 158, 64, 0) 70%), radial-gradient(40% 36% at 44% 60%, rgba(232, 86, 127, 0.42), rgba(232, 86, 127, 0) 70%), radial-gradient(60% 14% at 50% 99%, rgba(255, 158, 64, 0.40), transparent 70%); filter: blur(18px); transform: translate(var(--lx, 0px), var(--ly, 0px)); transition: transform 600ms var(--ease), opacity 1400ms var(--ease) 200ms; }
.js .hero__coach.coach::before { opacity: 0; }
.js.is-ready .hero__coach.coach::before { opacity: 1; }
.hero__coach::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 0.4%; height: 3.6%; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.8), transparent 70%); filter: blur(5px); z-index: 1; pointer-events: none; display: none; }
.hero__coach picture { display: block; position: relative; z-index: 2; transform: translateY(var(--dy, 0px)) perspective(1400px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transform-style: preserve-3d; transition: transform 700ms var(--ease); will-change: transform; }
.hero__coach img { z-index: 2; }
.coach { position: relative; pointer-events: none; }
.coach::before { content: ""; position: absolute; left: -6%; right: -6%; top: 6%; bottom: -4%; background: radial-gradient(48% 40% at 50% 36%, rgba(255, 166, 82, 0.12), transparent 70%), radial-gradient(50% 46% at 50% 72%, var(--signal-glow), transparent 70%); filter: blur(30px); pointer-events: none; }
.coach img { position: relative; display: block; width: 100%; height: auto; }
.js .hero__coach { opacity: 0; transform: translateY(18px); }
.js.is-ready .hero__coach { opacity: 1; transform: none; transition: opacity 900ms var(--ease) 320ms, transform 900ms var(--ease) 320ms; }
.js.is-ready .hero__coach img { animation: breathe 7s ease-in-out 1.6s infinite; }
@keyframes breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (min-width: 1024px) {
  .hero { padding-top: 0; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 3vw, 56px); align-items: end; min-height: calc(100svh - var(--nav-h) - 8px); }
  .hero__copy { align-self: center; margin-top: 0; padding-block: 48px; gap: 22px; }
  .hero__lead { max-width: 44ch; font-size: 19px; line-height: 29px; }
  .hero__coach { order: 0; width: auto; margin: 0; justify-self: end; }
  .hero__coach img { height: min(90svh, 64vw, 940px); width: auto; max-width: none; -webkit-box-reflect: below -4px linear-gradient(transparent 76%, rgba(0, 0, 0, 0.3)); }
  .hero { padding-bottom: clamp(72px, 9vw, 132px); }
  .hero__coach::after { display: block; }
  .display { font-size: clamp(56px, 6.2vw, 96px); line-height: 0.92; letter-spacing: -0.045em; }
}
@media (prefers-reduced-motion: reduce) { .js .hero__coach, .js.is-ready .hero__coach { opacity: 1; transform: none; transition: none; } .js.is-ready .hero__coach img { animation: none; } .js .hero::before, .js .hero__coach.coach::before { opacity: 1; transition: none; } .hero__coach picture { transform: none; transition: none; } }
.hero__figure { position: relative; margin-top: clamp(40px, 6vw, 88px); display: grid; gap: 22px; }
.hero__figure > * { min-width: 0; }
.hero__figure::before { content: ""; position: absolute; left: 10%; right: 10%; top: 10%; bottom: 0; background: radial-gradient(50% 60% at 50% 60%, var(--signal-glow), transparent 70%); filter: blur(24px); pointer-events: none; }
.hero__meta { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-inline: 6px; }

/* the week line */
.weekline { position: relative; min-width: 0; padding: clamp(18px, 2.4vw, 32px); }
.wl__scroll:focus-visible { outline: 2px solid var(--signal); outline-offset: 6px; border-radius: 12px; }
.wl__scroll { position: relative; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.wl__scroll::-webkit-scrollbar { display: none; }
.wl__grid { display: grid; grid-template-columns: 96px repeat(7, minmax(108px, 1fr)); gap: 10px 8px; min-width: 860px; padding-bottom: 18px; }
.wl__corner { }
.wl__day { display: flex; align-items: baseline; gap: 8px; padding: 0 6px 6px; }
.wl__day span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.wl__day b { font-size: 17px; font-weight: 500; }
.wl__day.is-now b { color: var(--signal); }
.wl__rowlabel { align-self: center; padding-right: 8px; }
.wl__rowlabel--second { color: var(--text); }
.wl__cell { min-height: 60px; border-radius: 12px; background: var(--quiet); }
.wl__bar { position: relative; height: 100%; min-height: 60px; border-radius: 12px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--hair-soft); padding: 10px 12px 10px 22px; display: grid; align-content: center; gap: 2px; transform-origin: 0 50%; }
.wl__bar .s-stripe { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); }
.wl__bar b { font-size: 14px; line-height: 18px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl__bar .mono { font-size: 11.5px; letter-spacing: 0.01em; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl__line { position: absolute; left: 104px; right: 0; bottom: 2px; height: 3px; border-radius: 2px; background: var(--signal); transform: scaleX(0); transform-origin: 0 50%; }
.js .wl__bar { opacity: 0; transform: scaleX(0.7); }
.js.is-ready .wl__bar--ride { opacity: 1; transform: none; transition: opacity 500ms var(--ease), transform 700ms var(--ease-em); transition-delay: calc(700ms + var(--i, 0) * 140ms); }
.js.is-ready .wl__bar--placed { opacity: 1; transform: none; transition: opacity 500ms var(--ease), transform 700ms var(--ease-em); transition-delay: calc(1400ms + var(--i, 0) * 160ms); }
.js.is-ready .wl__line { transform: scaleX(1); transition: transform 1100ms var(--ease-em) 1900ms; }
@media (prefers-reduced-motion: reduce) { .js .wl__bar, .js.is-ready .wl__bar--ride, .js.is-ready .wl__bar--placed { opacity: 1; transform: none; transition: none; } .wl__line, .js.is-ready .wl__line { transform: scaleX(1); transition: none; } }
@media (max-width: 767px) {
  .wl__scroll { overflow: visible; }
  .wl__grid { grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: auto; gap: 8px; min-width: 0; padding-bottom: 0; }
  .wl__corner { display: none; }
  .wl__rowlabel { grid-row: 1; align-self: end; padding: 0 0 6px 12px; }
  .wl__rowlabel:not(.wl__rowlabel--second) { grid-column: 2; }
  .wl__rowlabel--second { grid-column: 3; }
  .wl__day { grid-column: 1; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 0 0 4px; }
  .wl__day:nth-child(2) { grid-row: 2; } .wl__day:nth-child(3) { grid-row: 3; } .wl__day:nth-child(4) { grid-row: 4; } .wl__day:nth-child(5) { grid-row: 5; } .wl__day:nth-child(6) { grid-row: 6; } .wl__day:nth-child(7) { grid-row: 7; } .wl__day:nth-child(8) { grid-row: 8; }
  .wl__cell:nth-child(10) { grid-area: 2 / 2; } .wl__cell:nth-child(11) { grid-area: 3 / 2; } .wl__cell:nth-child(12) { grid-area: 4 / 2; } .wl__cell:nth-child(13) { grid-area: 5 / 2; } .wl__cell:nth-child(14) { grid-area: 6 / 2; } .wl__cell:nth-child(15) { grid-area: 7 / 2; } .wl__cell:nth-child(16) { grid-area: 8 / 2; }
  .wl__cell:nth-child(18) { grid-area: 2 / 3; } .wl__cell:nth-child(19) { grid-area: 3 / 3; } .wl__cell:nth-child(20) { grid-area: 4 / 3; } .wl__cell:nth-child(21) { grid-area: 5 / 3; } .wl__cell:nth-child(22) { grid-area: 6 / 3; } .wl__cell:nth-child(23) { grid-area: 7 / 3; } .wl__cell:nth-child(24) { grid-area: 8 / 3; }
  .wl__cell { min-height: 56px; }
  .wl__bar { min-height: 56px; padding: 8px 10px 8px 20px; }
  .wl__bar b { white-space: normal; overflow: visible; text-overflow: clip; }
  .wl__line { left: calc(68px + (100% - 68px) / 2 - 8px); right: auto; top: 34px; bottom: 0; width: 3px; height: auto; transform: scale(1, 0); transform-origin: 50% 0; }
  .js.is-ready .wl__line { transform: scale(1, 1); }
}

/* ============================================================
   THE WEEK — pinned scene
   ============================================================ */
.scene { position: relative; padding-top: clamp(80px, 11vw, 160px); padding-bottom: clamp(40px, 6vw, 96px); overflow-x: clip; }
.scene__head { display: grid; gap: 16px; margin-bottom: clamp(24px, 4vw, 56px); }
.scene__grid { display: block; }
.scene__stage { position: sticky; top: var(--nav-h); z-index: 5; height: 54vh; height: 54svh; display: grid; justify-items: center; align-items: start; padding-top: 12px; background: linear-gradient(var(--canvas) 78%, rgba(15, 16, 18, 0)); }
.stage { position: relative; width: 100%; height: 100%; display: grid; place-items: start center; }
.stage::before { content: ""; position: absolute; inset: -10% -30%; background: radial-gradient(45% 45% at 50% 50%, var(--signal-glow), transparent 70%); filter: blur(28px); pointer-events: none; }
.device.device--xl { position: relative; width: calc((54vh - 36px) * 413 / 872); width: calc((54svh - 36px) * 413 / 872); max-width: 100%; }
.chapters { position: relative; display: grid; padding-left: 28px; padding-top: 12px; }
.chapters__rail { position: absolute; left: 6px; top: 12px; bottom: 12px; width: 2px; background: var(--hair); border-radius: 1px; }
.chapters__rail::after { content: ""; position: absolute; inset: 0; background: var(--signal); border-radius: 1px; transform: scaleY(var(--fill, 0)); transform-origin: 50% 0; transition: transform 500ms var(--ease); }
.chapter { position: relative; display: grid; gap: 14px; align-content: center; min-height: 62vh; min-height: 62svh; padding: 28px 0; max-width: 560px; }
.chapter::before { content: ""; position: absolute; left: -27px; top: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--canvas); box-shadow: inset 0 0 0 2px var(--text-3); transition: box-shadow 300ms var(--ease), background-color 300ms var(--ease); }
.chapter.is-active::before { background: var(--signal); box-shadow: inset 0 0 0 2px var(--signal), 0 0 0 6px rgba(232, 86, 127, 0.16); }
.chapter p { color: var(--text-2); text-wrap: pretty; transition: color 400ms var(--ease); }
.chapter .t-mid { transition: color 400ms var(--ease); }
.js .chapter:not(.is-active) .t-mid { color: var(--text-2); }
.js .chapter:not(.is-active) p { color: var(--text-dim); }
.js .chapter:not(.is-active) .eyebrow { color: var(--text-dim); }
.chapter__hint { color: var(--signal) !important; }
@media (min-width: 1024px) {
  .scene__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .scene__stage { order: 2; top: calc(var(--nav-h) + 24px); height: auto; min-height: calc(100vh - var(--nav-h) - 48px); align-items: center; padding: 0; background: none; }
  .stage { place-items: center; }
  .device.device--xl { width: min(100%, calc((100vh - var(--nav-h) - 88px) * 413 / 872)); max-width: 470px; }
  .chapters { order: 1; padding-left: 36px; }
  .chapters__rail { left: 8px; }
  .chapter { min-height: 80vh; padding: 40px 0; }
  .chapter::before { left: -33px; }
}

/* stage screens */
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(8px); transition: none; }
.screen.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-sheet) var(--ease), transform var(--t-sheet) var(--ease), visibility 0s; }
@media (prefers-reduced-motion: reduce) { .screen { transition: none; } }

/* ============================================================
   INSIGHT INTO ACTION (what came in, what changed)
   ============================================================ */
.loop { padding-block: clamp(80px, 11vw, 160px); }
.cases { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.case { display: grid; gap: 20px; padding: clamp(20px, 3vw, 32px); border-radius: 20px; }
.case .mono { color: var(--text-3); }
.case__title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; color: var(--text); margin-top: 10px; }
.signals { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.signals li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 10px 12px 10px 24px; border-radius: 12px; background: var(--quiet); }
.signals .s-stripe { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); }
.signals b { font-weight: 500; font-size: 15px; line-height: 20px; }
.signals .mono { font-size: 11px; text-transform: none; letter-spacing: 0.02em; color: var(--text-3); }
.case__arrow { display: grid; place-items: center; color: var(--text-3); }
.case__svg { transform: rotate(90deg); }
.case__line { stroke-dasharray: 60; stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease) 300ms; }
.js .case.is-out .case__line { stroke-dashoffset: 60; }
.case__out .mono { margin-bottom: 10px; }
.app-card { border-radius: 16px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--hair-soft); padding: 16px; display: grid; gap: 8px; }
.app-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.app-card__title { font-size: 22px; line-height: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.app-card__body { color: var(--text-2); font-size: 15px; line-height: 22px; }
.s-warn { color: var(--m-strength); }
.loop__foot { margin-top: 28px; color: var(--text-2); max-width: 60ch; }
@media (min-width: 900px) {
  .case { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: center; gap: 28px; }
  .case__svg { transform: none; }
}

/* ============================================================
   WHERE GOOD LEGS SITS (coach's plan in, our work back out)
   ============================================================ */
.fits { padding-block: clamp(72px, 10vw, 150px); }
.flow { display: grid; gap: 16px; }
.flow__side { display: grid; gap: 12px; align-content: start; }
.flow__label { color: var(--text-3); }
.flow__arrow { display: grid; place-items: center; color: var(--text-3); padding: 4px 0; }
.flow__arrow .two__svg { transform: rotate(90deg); }
.fl { padding: clamp(16px, 2.2vw, 22px); border-radius: 16px; display: grid; gap: 10px; align-content: start; }
.fl__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fl__top .lg__svg { display: block; fill: currentColor; color: var(--text); }
.fl__tag { color: var(--text-3); text-transform: none; letter-spacing: 0.01em; }
.fl__marks { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--text); }
.fl__mk { display: block; fill: currentColor; }
.fl__word { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.fl__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }
.fl__plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fl__plan li { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 12px 9px 22px; border-radius: 10px; background: var(--quiet); }
.fl__plan .s-stripe { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); }
.fl__plan b { font-weight: 500; font-size: 14px; line-height: 19px; }
.fl__plan .mono { font-size: 12px; color: var(--text-2); text-transform: none; }
.fl__h { font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.fl__note { color: var(--text-2); font-size: 14px; line-height: 21px; text-wrap: pretty; }
.fl--out { box-shadow: inset 0 0 0 1px var(--hair-soft), inset 2px 0 0 var(--signal); }
.engine { padding: clamp(20px, 2.6vw, 30px); border-radius: 20px; display: grid; gap: 12px; align-content: start; box-shadow: inset 0 0 0 1.5px var(--signal); }
.engine__label { color: var(--signal); }
.engine__stat { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.engine__n { font-size: clamp(52px, 7vw, 80px); line-height: 0.9; font-weight: 600; letter-spacing: -0.04em; color: var(--text); font-variant-numeric: tabular-nums; }
.engine__stat span { color: var(--text-2); font-size: 15px; line-height: 21px; max-width: 16ch; }
.engine__body { color: var(--text-2); font-size: 14.5px; line-height: 22px; text-wrap: pretty; }
.engine__say { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; color: var(--text); margin-top: 2px; }
.fits__foot { margin-top: 28px; color: var(--text-2); max-width: 60ch; }
.wrk__word { font-size: 13px; letter-spacing: 0.06em; color: var(--text-2); }
@media (min-width: 1024px) {
  .flow { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 0.92fr) 56px minmax(0, 1fr); gap: 12px; align-items: start; }
  .flow__arrow, .flow__engine { align-self: center; }
  .flow__engine { padding-top: 26px; }
  .flow__arrow { padding: 0; }
  .flow__arrow .two__svg { transform: none; width: 56px; }
  .flow__label { margin-bottom: 2px; }
}

/* ============================================================
   02 WHAT HAPPENS NEXT · 05 PROGRESSION (two-step panels)
   ============================================================ */
.next, .prog, .pillars, .states, .beside, .consistency { padding-block: clamp(72px, 10vw, 150px); }
.twos { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.two { display: grid; gap: 20px; padding: clamp(20px, 3vw, 32px); border-radius: 20px; margin: 0; }
.two__kind { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.two__note { margin: 4px 0 0; color: var(--text-2); font-size: 14px; line-height: 21px; }
.two--caution { box-shadow: inset 0 0 0 1px var(--hair), inset 3px 0 0 0 var(--warning); }
.two .mono, .prog .mono, .synth__label, .decision .mono { color: var(--text-3); }
.two__side { display: grid; gap: 12px; align-content: start; }
.two__arrow { display: grid; place-items: center; color: var(--text-3); }
.two__svg { transform: rotate(90deg); }
.metrics { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.metrics li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--quiet); }
.metrics .mono { font-size: 10.5px; color: var(--text-3); }
.decisions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.decisions li { position: relative; display: flex; gap: 12px; padding: 12px 14px 12px 24px; border-radius: 12px; background: var(--quiet); }
.decisions .s-stripe { position: absolute; left: 10px; top: 14px; }
.decisions b { display: block; font-weight: 500; font-size: 15px; line-height: 21px; }
.decisions span { display: block; color: var(--text-2); font-size: 13.5px; line-height: 19px; margin-top: 2px; }
@media (min-width: 900px) {
  .two { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: start; gap: 20px 28px; }
  .two__kind { grid-column: 1 / -1; }
  .two__arrow { align-self: start; padding-top: 108px; }
  .two__svg { transform: none; }
}

/* Progression */
.prog__pair { display: grid; gap: 16px; }
.prog__col { padding: clamp(18px, 2.4vw, 26px); border-radius: 20px; display: grid; gap: 10px; align-content: start; }
.prog__col--next { box-shadow: inset 0 0 0 1.5px var(--signal); }
.prog__lift { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.prog__delta { color: var(--signal); font-size: 12px; }
.prog__note { color: var(--text-2); font-size: 14px; line-height: 21px; }
.prog__arrow { display: grid; place-items: center; color: var(--text-3); }
.prog__arrow .two__svg { transform: rotate(90deg); }
.sets { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sets th { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); text-align: right; padding: 0 0 8px; }
.sets th:first-child, .sets td:first-child { text-align: left; }
.sets td { text-align: right; padding: 7px 0; font-size: 15px; box-shadow: 0 -1px 0 var(--hair-soft); }
.sets td:first-child { color: var(--text-3); }
@media (min-width: 900px) {
  .prog__pair { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: start; gap: 24px; }
  .prog__arrow { align-self: center; }
  .prog__arrow .two__svg { transform: none; }
}

/* ============================================================
   03 THE PILLARS (five inputs, one decision)
   ============================================================ */
.synth { display: grid; gap: 18px; align-items: center; }
.synth__in { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.synth__in li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair-soft); font-size: 16px; font-weight: 500; }
.synth__join { display: none; }
.synth__join svg { width: 100%; height: 260px; fill: none; stroke: var(--hair); stroke-width: 1.5; }
.synth__out { display: grid; gap: 10px; }
@media (min-width: 900px) {
  .synth { grid-template-columns: minmax(0, 0.8fr) 120px minmax(0, 1.1fr); gap: 0; }
  .synth__join { display: block; }
}

/* ============================================================
   07 ASSISTANT COACH (three states, never colour alone)
   ============================================================ */
.states__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.state { padding: clamp(20px, 2.6vw, 28px); border-radius: 20px; display: grid; gap: 12px; align-content: start; --state: var(--success); }
.state[data-state="check"] { --state: var(--warning); }
.state[data-state="review"] { --state: var(--danger); }
.state__tag { display: flex; align-items: flex-start; gap: 10px; color: var(--text); text-transform: none; letter-spacing: 0.01em; font-size: 13px; line-height: 19px; }
.state__tag i { width: 10px; height: 10px; border-radius: 50%; background: var(--state); flex: none; margin-top: 4px; }
.state__say { font-size: 19px; line-height: 27px; font-weight: 500; letter-spacing: -0.015em; text-wrap: pretty; }
.state__why { list-style: none; margin: 0; padding: 12px 0 0; display: grid; gap: 6px; box-shadow: 0 -1px 0 var(--hair); }
.state__why li { position: relative; padding-left: 16px; color: var(--text-2); font-size: 14px; line-height: 21px; }
.state__why li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 1.5px; background: var(--text-3); }
.states__foot { margin-top: 24px; color: var(--text-2); max-width: 60ch; }
@media (min-width: 900px) { .states__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

/* ============================================================
   08 BESIDE A COACH
   ============================================================ */
.beside__grid { display: grid; gap: 32px; align-items: center; }
.beside__copy { display: grid; gap: 16px; }
.beside__line { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; color: var(--text); }
.beside__note .app-card { max-width: 420px; }
.beside__meta { margin-top: 6px; color: var(--text-3); text-transform: none; letter-spacing: 0.01em; }
@media (min-width: 1024px) { .beside__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; } }

/* ============================================================
   10 DATA · the single decision the inputs produce
   ============================================================ */
.decision { display: grid; gap: 10px; margin-top: 8px; max-width: 420px; }

/* ============================================================
   11 EVIDENCE · what we do with it
   ============================================================ */
.study__does { display: block; color: var(--text-3); margin-bottom: 4px; }

/* ============================================================
   12 CONSISTENCY · a twelve-week block
   ============================================================ */
.block { margin: 0; display: grid; gap: 14px; }
.block__cap { color: var(--text-3); max-width: 62ch; }

/* The Plan tab, brought out of the phone: the week rail, then this week. */
.blockapp { display: grid; gap: clamp(20px, 3vw, 30px); padding: clamp(18px, 2.6vw, 28px); border-radius: 20px; }
.blockapp__rail, .blockapp__week { display: grid; gap: 12px; align-content: start; }
.blockapp__hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.blockapp__foot { margin: 2px 0 0; max-width: 46ch; }

.rail { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; align-items: end; height: clamp(120px, 15vw, 168px); }
.rail__note { margin: 6px 0 0; max-width: 44ch; }
.rail__wk { display: grid; grid-template-rows: 1fr auto; gap: 7px; align-items: end; justify-items: center; min-width: 0; height: 100%; }
.rail__wk[data-break] { margin-left: 7px; }
.rail__bar { display: block; width: 100%; height: var(--h, 50%); border-radius: 4px; background: var(--rail-bar, var(--hair)); transform-origin: 50% 100%; }
.rail__n { font-size: 10px; color: var(--text-3); }
.rail__wk[data-state="done"] { --rail-bar: var(--violet); }
.rail__wk[data-state="current"] { --rail-bar: var(--signal); }
.rail__wk[data-state="current"] .rail__n { color: var(--text); }
.rail__wk[data-state="todo"] { --rail-bar: color-mix(in srgb, var(--text-3) 34%, transparent); }
.js .block:not(.is-out) .rail__bar { animation: rail-in 460ms var(--ease) both; }
.rail__wk:nth-child(1) .rail__bar { animation-delay: 0ms; } .rail__wk:nth-child(2) .rail__bar { animation-delay: 35ms; }
.rail__wk:nth-child(3) .rail__bar { animation-delay: 70ms; } .rail__wk:nth-child(4) .rail__bar { animation-delay: 105ms; }
.rail__wk:nth-child(5) .rail__bar { animation-delay: 140ms; } .rail__wk:nth-child(6) .rail__bar { animation-delay: 175ms; }
.rail__wk:nth-child(7) .rail__bar { animation-delay: 210ms; } .rail__wk:nth-child(8) .rail__bar { animation-delay: 245ms; }
.rail__wk:nth-child(9) .rail__bar { animation-delay: 280ms; } .rail__wk:nth-child(10) .rail__bar { animation-delay: 315ms; }
.rail__wk:nth-child(11) .rail__bar { animation-delay: 350ms; } .rail__wk:nth-child(12) .rail__bar { animation-delay: 385ms; }
@keyframes rail-in { from { transform: scaleY(0.05); opacity: 0; } to { transform: none; opacity: 1; } }
.rail__key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text-3); font-size: 11px; }
.rail__key li { display: inline-flex; align-items: center; gap: 7px; }
.rail__key i { width: 10px; height: 10px; border-radius: 3px; background: var(--hair); }
.rail__key i[data-state="done"] { background: var(--violet); }
.rail__key i[data-state="current"] { background: var(--signal); }
.rail__key i[data-state="todo"] { background: color-mix(in srgb, var(--text-3) 34%, transparent); }
.rail__key i[data-state="absorb"] { background: color-mix(in srgb, var(--text-3) 34%, transparent); height: 4px; }

.cons__foot { margin-top: 28px; color: var(--text-2); max-width: 60ch; }
@media (min-width: 900px) {
  .blockapp { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(28px, 3.4vw, 44px); align-items: start; }
}
@media (prefers-reduced-motion: reduce) { .js .block:not(.is-out) .rail__bar { animation: none; } }

/* ============================================================
   BAND body copy · close sign-off
   ============================================================ */
.band__body { color: var(--text-2); font-size: 16px; line-height: 24px; max-width: 46ch; text-wrap: pretty; }
.band__copy .band__body { text-shadow: 0 1px 2px rgba(15, 16, 18, 0.7), 0 2px 20px rgba(15, 16, 18, 0.85); }
@media (max-width: 767px) { .band__copy .band__body { text-shadow: none; } }
.close__sign { font-size: clamp(17px, 1.8vw, 21px); line-height: 1.35; color: var(--text); letter-spacing: -0.01em; margin-top: 8px; }

/* ============================================================
   BANDS (one per pillar: painted renders at full bleed)
   ============================================================ */
.band { position: relative; height: min(94vh, 980px); height: min(94svh, 980px); min-height: 560px; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.band__media { position: absolute; inset: 0; z-index: -1; }
.band__media img { position: absolute; left: 0; bottom: 0; display: block; width: 100%; height: 96%; object-fit: contain; object-position: var(--pos, 50% 100%); transform: translate3d(0, var(--py, 0%), 0); transform-origin: 50% 100%; will-change: transform; }
.band__copy { position: relative; width: 100%; padding-bottom: clamp(44px, 8vh, 96px); display: grid; gap: 16px; }
.band__copy > * { max-width: 680px; }
.band__copy::before { content: ""; position: absolute; left: -50vw; right: -50vw; bottom: -24px; height: 340px; background: linear-gradient(rgba(15, 16, 18, 0), rgba(15, 16, 18, 0.55) 45%, rgba(15, 16, 18, 0.94)); z-index: -1; pointer-events: none; }
.band__copy .eyebrow, .band__copy .t-band, .band__copy .band__body { text-shadow: 0 1px 2px rgba(15, 16, 18, 0.7), 0 2px 24px rgba(15, 16, 18, 0.85); }
.band__copy .band__body { max-width: 46ch; }
.band__copy .eyebrow { color: var(--text); }
.band--top { align-items: flex-start; }
.band--top .band__copy { padding-top: clamp(44px, 9vh, 104px); padding-bottom: 0; }
.band--top .band__copy::before { bottom: auto; top: -60px; height: 400px; background: linear-gradient(rgba(15, 16, 18, 0.94), rgba(15, 16, 18, 0.6) 58%, rgba(15, 16, 18, 0)); }
/* Contrast for the body copy alone, pooled where it sits so the render keeps its light. */
.band__copy::after { content: ""; position: absolute; inset: -40px -20% -80px -50vw; z-index: -1; pointer-events: none; background: radial-gradient(76% 62% at 24% 50%, rgba(15, 16, 18, 0.95) 0%, rgba(15, 16, 18, 0.88) 38%, rgba(15, 16, 18, 0.5) 66%, rgba(15, 16, 18, 0) 84%); }
.band__media picture { position: relative; display: block; width: 100%; height: 100%; }
.js .band__media img { scale: 1.04; transition: scale 1600ms var(--ease); }
.js .band.is-in .band__media img { scale: 1; }
.t-band { font-size: clamp(30px, 4.3vw, 62px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; color: var(--text); text-wrap: balance; }
.band--strength { --pos: 50% 100%; }
.band--ride { --pos: 54% 100%; }
.band--recovery { --pos: 50% 100%; }
@media (max-width: 767px), (max-aspect-ratio: 5/4) {
  .band, .band--top { height: auto; min-height: 0; display: block; }
  .band__media { position: relative; inset: auto; height: auto; aspect-ratio: 1536 / 1031; max-height: none; z-index: 0; }
  .band--ride .band__media { aspect-ratio: 1158 / 1024; }
  .band--recovery .band__media { aspect-ratio: 1536 / 1000; }
  .band__media img, .js .band__media img, .js .band.is-in .band__media img { position: relative; bottom: auto; height: 100%; margin: 0; object-fit: contain; object-position: 50% 100%; transform: none; scale: 1; transition: none; }
  .band__copy, .band--top .band__copy { padding: 8px var(--gutter) 48px; margin-top: 0; }
  .band__copy::before, .band--top .band__copy::before, .band__copy::after { display: none; }
  .band__copy .eyebrow, .band__copy .t-band { text-shadow: none; }
}
}
@media (prefers-reduced-motion: reduce) { .band__media img, .js .band__media img { transform: none; scale: 1; will-change: auto; transition: none; } }

/* ============================================================
   EVIDENCE
   ============================================================ */
.evidence { padding-block: clamp(80px, 11vw, 160px); overflow-x: clip; }
.studies { display: grid; gap: 14px; }
.study { padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 14px; align-content: start; }
.study .study__cite { color: var(--text-2); text-transform: none; letter-spacing: 0.02em; }
.study__claim { font-size: clamp(22px, 2vw, 27px); line-height: 1.2; font-weight: 600; letter-spacing: -0.025em; text-wrap: pretty; }
.study__note { color: var(--text-2); font-size: 15px; line-height: 23px; }
.study__link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); margin-top: auto; padding-top: 4px; transition: color var(--t-press) var(--ease); }
.study__link:hover { color: var(--text); }
@media (min-width: 720px) { .studies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .studies { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.method { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 32px; padding-top: 40px; box-shadow: 0 -1px 0 var(--hair); }
.method__classes { display: grid; gap: 12px; }
.klass { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.klass b { width: 40px; height: 40px; border-radius: 10px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; letter-spacing: 0; color: var(--text); }
.klass span { color: var(--text-2); font-size: 15px; line-height: 23px; padding-top: 8px; }
.method__copy { display: grid; gap: 22px; color: var(--text-2); text-wrap: pretty; }
.method__copy p { max-width: 60ch; }
.method__never { display: grid; gap: 8px; }
.method__never s { color: var(--text-2); margin-right: 10px; }
@media (min-width: 900px) { .method { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; } .method__classes { grid-template-columns: 1fr 1fr; gap: 16px 24px; } }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { padding-block: clamp(80px, 11vw, 150px); background: var(--subtle); box-shadow: inset 0 1px 0 var(--hair), inset 0 -1px 0 var(--hair); }
.manifesto .t-big { margin-top: 16px; }
.coachline { display: flex; align-items: center; gap: 12px; }
.coach-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--panel); object-fit: cover; object-position: 50% 48%; flex: none; box-shadow: inset 0 0 0 1px var(--hair); }
.refusals { display: grid; gap: 40px; margin-top: clamp(40px, 6vw, 72px); }
.refusal { display: grid; gap: 14px; padding-top: 24px; box-shadow: 0 -1px 0 var(--hair); }
.refusal p { color: var(--text-2); text-wrap: pretty; max-width: 42ch; }
@media (min-width: 900px) { .refusals { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }

/* ============================================================
   HOW IT STARTS
   ============================================================ */
.start { padding-block: clamp(80px, 11vw, 160px); overflow: hidden; }
.trio { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 24px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
.trio::-webkit-scrollbar { display: none; }
.trio:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; border-radius: 12px; }
.trio__item { flex: 0 0 min(78vw, 330px); scroll-snap-align: center; display: grid; gap: 14px; justify-items: center; }
.trio__item figcaption { text-align: center; }
.trio__item .device { max-width: 330px; }
@media (min-width: 960px) {
  .trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); overflow: visible; padding: 32px 0 0; margin-inline: 0; align-items: end; }
  .trio__item { flex: none; }
  .trio__item .device { max-width: 100%; }
  .trio__item--raised { transform: translateY(-40px); }
}

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.works { padding-bottom: clamp(80px, 11vw, 150px); overflow-x: clip; }
.marquee { overflow: hidden; padding-block: 28px; box-shadow: inset 0 1px 0 var(--hair), inset 0 -1px 0 var(--hair); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 44px; width: max-content; animation: marquee 44s linear infinite; }
.marquee__track { gap: clamp(40px, 5vw, 72px); }
.lg { display: inline-flex; align-items: center; gap: 12px; color: var(--text-2); white-space: nowrap; }
.lg b { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.lg__svg { display: block; fill: currentColor; }
.marquee:hover .lg { color: var(--text); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
.works__grid { display: grid; gap: 40px; padding-top: clamp(56px, 8vw, 100px); align-items: start; }
.works__copy { display: grid; gap: 18px; }
.works__list { display: grid; }
.wrk { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 22px 0; box-shadow: 0 -1px 0 var(--hair); }
.wrk:last-child { box-shadow: 0 -1px 0 var(--hair), 0 1px 0 var(--hair); }
.wrk__logo { width: 112px; height: 48px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.wrk__svg { display: block; fill: currentColor; }
.wrk > div { display: grid; gap: 4px; }
.wrk p { color: var(--text-2); font-size: 15px; line-height: 23px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair-soft); grid-column: 2; justify-self: start; font-size: 11px; }
@media (min-width: 640px) { .wrk { grid-template-columns: 112px minmax(0, 1fr) auto; } .chip { grid-column: auto; } }
@media (min-width: 1024px) { .works__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 96px; } }

/* ============================================================
   ROADMAN
   ============================================================ */
.roadman-section { padding-block: clamp(80px, 11vw, 150px); background: var(--subtle); box-shadow: inset 0 1px 0 var(--hair), inset 0 -1px 0 var(--hair); }
.roadman__grid { display: grid; gap: 40px; align-items: center; }
.roadman__copy { display: grid; gap: 22px; }
.links { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (min-width: 1024px) { .roadman__grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 96px; } }

/* ============================================================
   QUESTIONS
   ============================================================ */
.faq { padding-block: clamp(80px, 11vw, 150px); overflow-x: clip; }
.faq__grid { display: grid; gap: 40px; align-items: start; }
.faq__head { display: grid; gap: 16px; }
.faq__list { display: grid; }
.qa { box-shadow: 0 -1px 0 var(--hair); }
.qa:last-child { box-shadow: 0 -1px 0 var(--hair), 0 1px 0 var(--hair); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; font-size: 19px; line-height: 26px; font-weight: 500; letter-spacing: -0.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .g { color: var(--text-2); transition: transform var(--t-reveal) var(--ease); }
.qa[open] summary .g { transform: rotate(180deg); }
.qa__a { padding: 0 4px 24px; color: var(--text-2); }
.qa__a p { max-width: 60ch; text-wrap: pretty; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 96px; } .faq__head { position: sticky; top: calc(var(--nav-h) + 24px); } }

/* ============================================================
   CLOSE
   ============================================================ */
.close { position: relative; padding-block: clamp(96px, 14vw, 200px) clamp(80px, 12vw, 160px); overflow: hidden; }
.close::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 12%, var(--signal-glow), transparent 70%), radial-gradient(40% 50% at 84% 70%, rgba(255, 140, 56, 0.14), transparent 62%); pointer-events: none; }
.close__inner { position: relative; display: grid; gap: 22px; }
.close__word { display: inline-flex; align-items: center; gap: clamp(14px, 2vw, 32px); margin-bottom: 8px; justify-self: start; }
.close__grid { display: grid; gap: 36px; }
.close__copy { display: grid; gap: 22px; justify-items: start; }
.close__copy .lead { max-width: 46ch; }
.close__coach { justify-self: end; width: clamp(200px, 50vw, 280px); margin: 0; }
.close__coach.coach::before { left: -50%; right: -50%; top: -14%; bottom: -8%; background: radial-gradient(32% 28% at 52% 30%, rgba(255, 158, 64, 0.6), rgba(255, 158, 64, 0) 70%), radial-gradient(42% 38% at 46% 62%, rgba(232, 86, 127, 0.36), rgba(232, 86, 127, 0) 70%), radial-gradient(60% 14% at 50% 99%, rgba(255, 158, 64, 0.34), transparent 70%); filter: blur(18px); }
@media (min-width: 900px) { .close__grid { grid-template-columns: minmax(0, 1fr) auto; gap: 72px; align-items: end; } .close__coach { width: 340px; margin-bottom: -28px; } .close__coach img { -webkit-box-reflect: below -4px linear-gradient(transparent 78%, rgba(0, 0, 0, 0.28)); } }
.waitlist { width: 100%; max-width: 640px; display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 8px; }
.waitlist__input { min-height: 56px; padding: 0 22px; border-radius: var(--r-pill); border: 0; background: var(--panel); color: var(--text); font: inherit; font-size: 16px; box-shadow: inset 0 0 0 1px var(--hair-soft); transition: box-shadow var(--t-press) var(--ease); }
.waitlist__input::placeholder { color: var(--text-3); }
.waitlist__input:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--signal); }
.waitlist .btn { min-height: 56px; }
.waitlist__status { grid-column: 1 / -1; min-height: 18px; }
.waitlist__status.is-error { color: var(--danger); }
.waitlist__status.is-ok { color: var(--success); }
@media (min-width: 600px) { .waitlist { grid-template-columns: minmax(0, 1fr) auto; } }

/* ============================================================
   STICKY CTA (below the desktop nav breakpoint)
   ============================================================ */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(15, 16, 18, 0.82); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 -1px 0 var(--hair); transform: translateY(100%); visibility: hidden; transition: transform var(--t-sheet) var(--ease), visibility 0s linear var(--t-sheet); }
.sticky-cta .btn { width: 100%; }
.sticky-cta.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
@media (max-width: 959px) { body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 960px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding-block: 48px 40px; box-shadow: 0 -1px 0 var(--hair); }
.footer__grid { display: grid; gap: 32px; }
.footer__brand { display: grid; gap: 14px; justify-items: start; }
.footer__tag { max-width: 36ch; }
.footer__col { display: grid; gap: 6px; justify-items: start; align-content: start; }
.footer__col .mono { margin-bottom: 8px; }
.footer__col a { color: var(--text-2); min-height: 32px; display: inline-flex; align-items: center; font-size: 15px; transition: color var(--t-press) var(--ease); }
.footer__col a:hover { color: var(--text); }
.footer__legal { display: grid; gap: 8px; margin-top: 40px; padding-top: 24px; box-shadow: 0 -1px 0 var(--hair); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr)); gap: 24px; } }

/* ============================================================
   Device frame and app screens (the app's own tokens, 393×852)
   ============================================================ */
.device { position: relative; width: 100%; max-width: 413px; aspect-ratio: 413 / 872; --s: 1; }
.device--sm { max-width: 320px; }
.device__shell { position: absolute; left: 0; top: 0; width: 413px; height: 872px; transform: scale(var(--s)); transform-origin: 0 0; padding: 10px; border-radius: 58px; background: #1A1B20; box-shadow: inset 0 0 0 1px rgba(242, 242, 244, 0.09), inset 0 1px 0 rgba(242, 242, 244, 0.14), 0 40px 80px rgba(0, 0, 0, 0.55), 0 12px 24px rgba(0, 0, 0, 0.35); }
.scr { position: relative; width: 393px; height: 852px; border-radius: 48px; background: var(--canvas); overflow: hidden; color: var(--text); font-size: 15px; line-height: 22px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; font-family: var(--font); }
.scr::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; border-radius: 3px; background: var(--text); opacity: 0.9; transform: translateX(-50%); z-index: 2; }
.sb { flex: none; height: 54px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 30px 6px; font-size: 16px; font-weight: 600; }
.sb__icons { display: inline-flex; align-items: center; gap: 6px; }
.sb__signal { width: 18px; height: 11px; background: currentColor; -webkit-mask: linear-gradient(to top, #000 30%, transparent 30%) 0 0/3px 100% no-repeat, linear-gradient(to top, #000 55%, transparent 55%) 5px 0/3px 100% no-repeat, linear-gradient(to top, #000 78%, transparent 78%) 10px 0/3px 100% no-repeat, linear-gradient(to top, #000 100%, transparent 100%) 15px 0/3px 100% no-repeat; mask: linear-gradient(to top, #000 30%, transparent 30%) 0 0/3px 100% no-repeat, linear-gradient(to top, #000 55%, transparent 55%) 5px 0/3px 100% no-repeat, linear-gradient(to top, #000 78%, transparent 78%) 10px 0/3px 100% no-repeat, linear-gradient(to top, #000 100%, transparent 100%) 15px 0/3px 100% no-repeat; }
.sb__battery { width: 25px; height: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(242, 242, 244, 0.4); position: relative; }
.sb__battery::after { content: ""; position: absolute; left: 2px; top: 2px; bottom: 2px; width: 17px; border-radius: 2px; background: var(--text); }

.s-label { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.s-title { font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.02em; }
.s-display { font-size: 40px; line-height: 42px; font-weight: 600; letter-spacing: -0.03em; text-wrap: pretty; }
.s-h3 { font-size: 17px; line-height: 22px; font-weight: 500; }
.s-body { font-size: 15px; line-height: 22px; }
.s-caption { font-size: 13px; line-height: 18px; }
.s-numeric { font-size: 20px; line-height: 24px; font-weight: 600; }
.s-numeric-lg { font-size: 32px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; }
.s-timer { font-size: 24px; line-height: 28px; font-weight: 500; letter-spacing: -0.02em; }
.s-live { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.03em; text-wrap: pretty; }
.s-muted { color: var(--text-2); }
.s-quiet { color: var(--text-3); }
.s-strong { font-weight: 500; color: var(--text); }
.s-success { color: var(--success); font-weight: 500; }
.s-violet { color: var(--violet); }
.s-inset { padding-inline: 4px; }
.s-dotlabel { display: inline-flex; align-items: center; gap: 8px; }
.s-dotlabel i, .s-legend i, .s-dotline i { width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--text-3)); flex: none; }
.s-dotline { display: flex; align-items: flex-start; gap: 8px; }
.s-dotline i { width: 6px; height: 6px; margin-top: 8px; }
.s-dotline--top { padding-inline: 4px; }
.s-plain { display: grid; gap: 10px; padding: 20px 4px 8px; }
.s-plain .s-display { margin-top: 2px; }

.scr__pad { flex: 1; overflow: hidden; padding: 8px 20px 120px; display: grid; gap: 20px; align-content: start; }
.scr__pad--ob { padding-top: 12px; gap: 12px; }
.scr__pad--ob .s-title { margin-bottom: 4px; }
.scr__pad--ob .choices { margin-top: 12px; }
.scr__pad--reveal { padding-top: 16px; gap: 14px; }
.scr__pad--reveal .s-display { margin-top: 10px; }
.scr__pad--reveal .s-body { margin-bottom: 4px; }
.scr__pad--reveal .s-label.s-inset { margin-top: 8px; }
.scr__pad--complete { padding-top: 16px; gap: 28px; }
.scr__pad--complete > div:first-child { display: grid; gap: 10px; }
.scr__foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 20px 44px; background: linear-gradient(rgba(15, 16, 18, 0), var(--canvas) 45%); }
.s-head { display: grid; gap: 4px; }
.s-head--row { display: flex; justify-content: space-between; align-items: flex-start; }
.s-iconbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-2); margin: -6px -10px 0 0; }
.s-card { background: var(--panel); border-radius: 20px; padding: 20px; display: grid; gap: 12px; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.28); }
.s-hero__top { display: flex; justify-content: space-between; align-items: center; }
.s-pill { margin-top: 4px; height: 52px; border-radius: 999px; background: var(--text); color: var(--canvas); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; width: 100%; }
.s-pill--btn { transition: transform var(--t-press) var(--ease), opacity var(--t-press) var(--ease); }
.s-pill--btn:active { transform: scale(0.98); opacity: 0.78; }
.s-section { display: grid; gap: 10px; }
.s-rows { display: grid; gap: 2px; }
.s-row { display: flex; gap: 14px; align-items: center; min-height: 56px; padding: 8px 4px; position: relative; }
.s-row + .s-row::before { content: ""; position: absolute; left: 18px; right: 0; top: -1px; height: 1px; background: var(--hair); }
.s-rows--posted .s-row + .s-row::before { left: 36px; }
.s-row__body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.s-stripe { display: block; width: 4px; height: 32px; border-radius: 2px; background: var(--dot, var(--text-3)); flex: none; }
.s-tickcircle { width: 22px; height: 22px; border-radius: 50%; background: var(--success); color: var(--canvas); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.s-via { display: inline-flex; align-items: center; color: var(--text); font-weight: 500; }
.weekstrip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.ws__day { height: 64px; border-radius: 12px; display: grid; justify-items: center; align-content: center; gap: 4px; }
.ws__day span { font-size: 11px; line-height: 14px; font-weight: 600; color: var(--text-2); }
.ws__day b { font-size: 17px; line-height: 22px; font-weight: 500; }
.ws__day i { width: 6px; height: 6px; border-radius: 3px; background: var(--dot, var(--m-rest)); position: relative; }
.ws__day i[style*="--dot2"] { margin-left: -5px; }
.ws__day i[style*="--dot2"]::after { content: ""; position: absolute; left: 10px; top: 0; width: 6px; height: 6px; border-radius: 3px; background: var(--dot2); }
.ws__day.is-past b { color: var(--text-3); }
.ws__day.is-today { background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--signal); }
.ws__day.is-today span { color: var(--text); }
.s-legend { display: flex; gap: 14px; flex-wrap: wrap; padding-inline: 4px; }
.s-legend span { display: inline-flex; align-items: center; gap: 8px; }
.s-legend i { width: 6px; height: 6px; }
.weekstrip--2 { margin-bottom: 4px; }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 20px 30px; background: linear-gradient(rgba(15, 16, 18, 0), var(--canvas) 40%); display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.tab { display: grid; justify-items: center; gap: 5px; min-height: 44px; padding-top: 6px; color: var(--text-3); }
.tab span { font-size: 11px; line-height: 14px; font-weight: 600; }
.tab.is-active { color: var(--text); }

/* onboarding */
.ob__head { flex: none; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; padding: 4px 16px 8px; }
.ob__back { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.ob__progress { height: 2px; border-radius: 1px; background: var(--hair); overflow: hidden; }
.ob__progress i { display: block; height: 100%; width: var(--w, 20%); background: var(--signal); border-radius: 1px; }
.ob__head .s-caption { text-align: right; font-weight: 500; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; border-radius: 12px; background: var(--panel); padding: 14px 16px; text-align: left; }
.choice--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--outline); }
.choice__tick { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(242, 242, 244, 0.25); flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--canvas); }
.choice.is-selected { box-shadow: inset 0 0 0 1.5px var(--signal); }
.choice.is-selected .choice__tick { background: var(--signal); box-shadow: none; }
.choice--sm { min-height: 64px; display: grid; gap: 4px; align-content: center; justify-items: start; padding: 12px 14px; }
.choices--grid { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.choice--chip { min-height: 56px; padding: 12px 14px; gap: 8px; }
.ob__art { position: relative; margin: 10px -20px 0; height: 254px; }
.ob__art::before { content: ""; position: absolute; left: 10%; right: 10%; top: 14%; bottom: 0; background: radial-gradient(50% 55% at 50% 60%, var(--signal-glow), transparent 70%); filter: blur(26px); }
.ob__art img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.ob__art--scene { flex: none; margin: 0 0 4px; height: 256px; }
.scr__pad--after-art { padding-top: 0; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.day { display: grid; justify-items: center; gap: 10px; padding: 12px 0 10px; border-radius: 12px; background: var(--panel); font-weight: 600; font-size: 15px; line-height: 20px; }
.day i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(242, 242, 244, 0.25); display: inline-flex; align-items: center; justify-content: center; color: var(--canvas); }
.day.is-selected { box-shadow: inset 0 0 0 1.5px var(--signal); }
.day.is-selected i { background: var(--signal); box-shadow: none; }
.ob__hint { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.ob__hint .g { color: var(--signal); }
.s-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.s-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--panel); object-fit: cover; object-position: 50% 48%; margin-bottom: 4px; flex: none; }
.feels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.s-card--list { padding: 4px; gap: 0; box-shadow: none; margin-top: 12px; }
.srow { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px; }
.srow__mono { width: 36px; height: 36px; border-radius: 10px; background: var(--raised); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; color: var(--text-2); flex: none; }
.srow__body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: var(--panel); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.stats--lg .stat { padding: 16px 14px; gap: 4px; }

/* Four-week rhythm strip, as the reveal screen shows it. */
.rhythm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.rhy { display: grid; gap: 3px; align-content: start; padding: 11px 10px 12px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair-soft); min-width: 0; }
.rhy b { font-size: 12px; color: var(--text-3); letter-spacing: 0.04em; }
.rhy__load { font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-2); }
.rhy .s-caption { font-size: 11.5px; line-height: 15px; }
.rhy.is-current { background: var(--raised); box-shadow: inset 0 0 0 1.5px var(--signal); }
.rhy.is-current b { color: var(--text); }
.rhy.is-current .rhy__load { color: var(--signal); }
.rhy.is-absorb { background: var(--subtle); }
.rhy.is-absorb .rhy__load { color: var(--m-rest); }
.s-card--week { padding: 4px 16px; gap: 0; box-shadow: none; }
.wrow { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 0; }
.wrow + .wrow { box-shadow: 0 -1px 0 var(--hair-soft); }
.wrow__day { width: 36px; font-size: 15px; color: var(--text-2); flex: none; }

/* live workout */
.live { display: flex; flex-direction: column; height: 100%; }
.live__head { flex: none; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 4px 16px 8px; }
.live__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.live__timer { display: grid; justify-items: center; gap: 2px; }
.live__pos { text-align: right; font-weight: 500; }
.live__progress { flex: none; height: 2px; margin: 0 20px; background: var(--hair); border-radius: 1px; overflow: hidden; }
.live__progress i { display: block; height: 100%; width: 0; background: var(--signal); border-radius: 1px; transition: width 240ms var(--ease); }
.live__body { flex: 1; overflow: hidden; padding: 24px 20px 140px; display: grid; gap: 20px; align-content: start; }
.live__body > div:first-child { display: grid; gap: 6px; }
.settable { background: var(--subtle); border-radius: 20px; padding: 8px; display: grid; gap: 4px; }
.settable__head, .set { display: grid; grid-template-columns: 36px 1fr 1.6fr 1.1fr 44px; gap: 4px; align-items: center; }
.settable__head { padding: 8px 8px 4px; }
.settable__head .c { text-align: center; }
.set { min-height: 56px; padding: 4px 0 4px 8px; border-radius: 12px; transition: background-color var(--t-reveal) var(--ease), box-shadow var(--t-reveal) var(--ease); }
.set.is-active { background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--signal); }
.set__n { font-size: 17px; font-weight: 500; }
.set__prev { font-size: 13px; color: var(--text-3); }
.set__kg { display: flex; align-items: center; justify-content: center; gap: 2px; }
.set__kg b, .set__reps { font-size: 20px; line-height: 24px; font-weight: 500; }
.set__kg b { min-width: 44px; text-align: center; }
.set__reps { text-align: center; }
.set__step { width: 32px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-2); font-size: 20px; }
.set__tickbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.set__tick { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(242, 242, 244, 0.3); display: inline-flex; align-items: center; justify-content: center; color: var(--canvas); transition: background-color var(--t-press) var(--ease); }
.set.is-done .set__n, .set.is-done .set__kg b, .set.is-done .set__reps { color: var(--text-2); }
.set.is-done .set__tick { background: var(--signal); box-shadow: none; }
.set__tick .g { display: none; }
.set.is-done .set__tick .g { display: block; }
.live__foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 20px 44px; background: linear-gradient(rgba(15, 16, 18, 0), var(--canvas) 40%); display: grid; gap: 10px; }
.live__note { text-align: center; min-height: 18px; }
.hold { appearance: none; -webkit-appearance: none; width: 100%; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; position: relative; height: 52px; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px rgba(242, 242, 244, 0.14); overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; user-select: none; -webkit-user-select: none; touch-action: none; cursor: pointer; }
.hold i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--fill, 0%); background: var(--signal); }
.hold span { position: relative; }
.hold.is-done { background: var(--signal); }
.hold[hidden] { display: none; }
.complete { display: flex; flex-direction: column; height: 100%; }
.complete[hidden], .live[hidden] { display: none; }

/* recover */
.mediahero { position: relative; height: 240px; border-radius: 20px; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, #2C2540 0%, #1A1622 55%, var(--subtle) 100%); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.28); display: flex; flex-direction: column; justify-content: space-between; padding: 16px; }
.mediahero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(15, 16, 18, 0.45), rgba(15, 16, 18, 0) 30%, rgba(15, 16, 18, 0) 55%, rgba(15, 16, 18, 0.92)); pointer-events: none; }
.mediahero > * { position: relative; z-index: 1; }
.mediahero__top { display: flex; justify-content: space-between; align-items: center; }
.mediahero__bottom { display: grid; gap: 4px; }
.mediahero__title { font-size: 32px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; }
.glass { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 999px; background: rgba(15, 16, 18, 0.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 13px; font-weight: 500; }

@media print { .nav, .device, .waitlist, .grain, .progress, .marquee { display: none !important; } body { color: #000; background: #fff; } }

/* ============================================================
   SECONDARY PAGES (404, privacy, terms)
   ============================================================ */
.section { padding-block: clamp(64px, 10vw, 140px); overflow-x: clip; }
.doc { display: grid; gap: 20px; max-width: 760px; justify-items: start; }
.label { font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.t-section { font-size: clamp(36px, 5.4vw, 76px); line-height: 0.98; font-weight: 600; letter-spacing: -0.04em; color: var(--text); text-wrap: balance; }
.prose { display: grid; gap: 14px; color: var(--text-2); max-width: 64ch; text-wrap: pretty; }
.prose h2 { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); margin-top: 18px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.doc__coach { width: clamp(160px, 34vw, 250px); margin: 16px 0 0; }

/* The plan card outside the phone: same components, web reading size. */
.blockapp .s-card--week { padding: 2px 18px; background: var(--subtle); border-radius: 14px; }
.blockapp .wrow { min-height: 62px; }
.blockapp .s-h3 { font-size: 16.5px; }
.blockapp .s-caption { font-size: 13px; }
.rail__stats { margin-top: 4px; }
.rail__stats .stat { background: var(--subtle); }
.blockapp .block__cap { margin: 0 0 2px; max-width: 34ch; color: var(--text-3); }

/* ── Scope: what Good Legs writes, and what it only reads ─────────────── */
.pill-role { margin-left: auto; font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); flex: none; }
.synth__in li.is-ours { box-shadow: inset 0 0 0 1.5px var(--signal); }
.synth__in li.is-ours .pill-role { color: var(--signal); }
.fl--quiet { opacity: 0.86; }
.chip--soon { color: var(--text-3); }
.works__note { margin: 18px 0 0; color: var(--text-2); font-size: 14px; line-height: 21px; max-width: 66ch; }
.fits__foot b { color: var(--text); font-weight: 600; }
.two__note b { color: var(--text); font-weight: 500; }
.s-unit { font-size: 0.62em; font-weight: 500; margin-left: 1px; letter-spacing: 0; }
