/* athlxpro.com, part 4 motion language. Black, white, one orange for live or selected things, no second orange (BRAND.md).
   Barlow Condensed for display, Inter for text, both self-hosted. */

@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/BarlowCondensed-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #000;
  --panel: #0b0b0b;
  --line: #1c1b19;
  --ink: #f4f1eb;
  --mute: #8b8781;
  --dim: #8a8a8a;
  --orange: #ff3b1a;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px;
  --max: 1240px;
  --nav-h: 64px;
  --gap: 48px;           /* section padding: 96 px between sections on phones */
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 32px; --gap: 64px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --gap: 80px; } }   /* 160 px between sections */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--text); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg, picture { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
.text a, .lead a, .doc a:not(.btn), .foot p a, .legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--dim); }
.text a:hover, .lead a:hover, .doc a:not(.btn):hover { text-decoration-color: var(--ink); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: .9; text-transform: uppercase; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
p, dd, figcaption, summary { text-wrap: pretty; }
h2 { font-size: clamp(40px, 6.4vw, 88px); }
h3 { font-size: clamp(32px, 3.4vw, 48px); line-height: .95; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
}
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--mute); max-width: 34em; }
.text { color: var(--mute); max-width: 34em; }
.text strong, .lead strong { color: var(--ink); font-weight: 600; }
.num { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.small { font-size: 14px; color: var(--dim); }

/* Layout */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--gap); position: relative; }
.band { background: var(--panel); border-block: 1px solid var(--line); }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split.flip > :first-child { order: 2; }
}
.head { margin-bottom: 40px; max-width: 760px; }
.head .text, .head .lead { margin-top: 20px; }

/* Buttons and the App Store badge */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1; background: var(--ink); color: var(--bg);
  transition: transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active, .pill a:active, .gal-ctrl button:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px #333; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--mute); }
.store { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.store-badge { height: 52px; width: auto; }
@media (min-width: 1024px) { .store-badge { height: 56px; } }
.store-link { display: inline-block; border-radius: 9px; }
.store-soon { font-size: 13px; color: var(--mute); }
.hero-store .store-soon { color: var(--ink); text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 12px rgba(0,0,0,.8); }

/* Device frames: one iPhone 17 Pro and one 46 mm Apple Watch (img/frame-*.svg), used everywhere.
   The screen sits in the frame's hole: iPhone 402 x 874 at 17,17 in a 436 x 908 box; watch
   208 x 248 at 21,22 in a 262 x 292 box. The status bar band is black, so only the island shows. */
.phone, .watch { position: relative; max-width: 100%; flex: none; isolation: isolate; }
.phone { width: var(--pw, 300px); aspect-ratio: 436 / 908; border-radius: 15.4% / 7.4%; box-shadow: 0 50px 70px -30px rgba(0,0,0,.9); }
/* The screen sits in the frame's opening, measured in the frame's own size (padding % would follow the parent's width). */
.phone > * { position: absolute; left: 3.899%; top: 1.872%; width: 92.202%; height: 96.256%; }
.phone .stack picture, .phone .feedfx picture { height: 100%; }
.phone > img { display: block; object-fit: cover; object-position: top; border-radius: 13.68% / 6.29%; background: #000; }
.phone > picture img, .phone .stack img, .phone .feedfx img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 13.68% / 6.29%; background: #000; }
.phone::before, .watch::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: url(/img/frame-iphone.svg?v=2) 0 0 / 100% 100% no-repeat; }
.phone::after, .watch::after { content: ""; position: absolute; z-index: -1; left: 12%; right: 12%; bottom: -3.5%; height: 5%; background: radial-gradient(closest-side, rgba(0,0,0,.75), rgba(0,0,0,0)); pointer-events: none; }
.watch { width: var(--ww, 220px); aspect-ratio: 262 / 292; border-radius: 24% / 21%; }
.watch > * { position: absolute; left: 8.015%; top: 7.534%; width: 79.389%; height: 84.932%; }
.watch::before { background-image: url(/img/frame-watch.svg?v=2); }
.watch::after { left: 8%; right: 14%; bottom: -6%; height: 9%; }
.watch > picture img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 21.6% / 18.1%; background: #000; }
.devices { display: flex; gap: 24px; justify-content: center; align-items: flex-start; }
.devices .phone { --pw: 280px; }
@media (max-width: 599px) { .devices { gap: 12px; } .devices .phone { --pw: calc(50% - 6px); } .devices.one .phone { --pw: min(300px, 80vw); } }
.card916 { border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px #262626, 0 40px 80px -20px rgba(0,0,0,.85); background: #000; }
.card916 img { width: 100%; }

/* Top bar: the logo only. Sections live in the floating pill at the bottom. */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; height: calc(var(--nav-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); display: flex; align-items: center; pointer-events: none; }
.topbar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.8), rgba(0,0,0,0)); opacity: 0; transition: opacity .3s; }
.topbar.solid::before { opacity: 1; }
.topbar .wrap { position: relative; }
.topbar .logo { display: inline-flex; align-items: center; height: 44px; pointer-events: auto; }
.topbar .logo img { height: 20px; width: auto; }

.pill {
  position: fixed; z-index: 60; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px; padding: 5px;
  background: rgba(11,11,11,.8); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  border: .5px solid rgba(255,255,255,.22); border-radius: 999px; box-shadow: 0 12px 40px rgba(0,0,0,.45);
  max-width: calc(100vw - 24px);
}
.pill a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.6); white-space: nowrap; transition: color .2s, background .2s; }
.pill a:hover { color: var(--ink); }
.pill a[aria-current="true"] { color: var(--ink); background: rgba(255,255,255,.08); }
.pill svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pill .pill-cta { background: var(--ink); color: #000; font-weight: 600; padding: 0 18px; margin-left: 4px; }
.pill .pill-cta:hover { color: #000; }
@media (max-width: 767px) { .pill a:not(.pill-cta) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .pill a:not(.pill-cta) { padding: 0; width: 44px; } .pill .pill-cta { width: 118px; padding: 0; } }
@media (min-width: 768px) { .pill a:not(.pill-cta) svg { display: none; } }

/* Motion: reveals. Visible without JS; with JS they rise 14 px on a 60 ms stagger (DESIGN.md). */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--d, 0) * 60ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { transform: none; transition: opacity .18s linear; transition-delay: 0s; }
  .js .rv.in { opacity: 1; }
}

/* 1. Hero: the runner photo behind, text left, iPhone and watch right (desktop only). */
.hero { position: relative; isolation: isolate; overflow: clip; min-height: max(100svh, 640px); display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 72px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { position: absolute; max-width: none; width: 130vw; height: auto; left: -30.56vw; top: calc((100% - 72.56vw) * .22); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, #000 0, rgba(0,0,0,0) 22%), linear-gradient(180deg, rgba(0,0,0,.35) 0, rgba(0,0,0,0) 30%), linear-gradient(90deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.6) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.25) 100%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-eyebrow { margin: 0 0 20px; font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); }
.hero h1 { font-size: clamp(54px, 7.78vw, 128px); line-height: .9; max-width: 8em; }
.hero .lead { margin: 24px 0 0; max-width: 26em; color: rgba(255,255,255,.82); }
.hero-store { margin-top: 32px; }
.hero-devices { display: none; }
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .hero-devices { display: block; position: relative; justify-self: end; --pw: clamp(220px, 21vw, 320px); width: var(--pw); margin-right: 2vw; }
  .hero-devices .phone { width: 100%; }
  .hero-devices .watch { position: absolute; z-index: 3; --ww: calc(var(--pw) * .75); left: -71%; top: 64%; }
}
@media (max-width: 767px) {
  .hero { align-items: flex-start; padding-top: calc(var(--nav-h) + 32px); }
  .hero-bg img { inset: 0; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
  .hero::before { background: linear-gradient(180deg, rgba(0,0,0,.85) 0, rgba(0,0,0,.55) 40%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 80%, #000 100%); }
}
.seq > * { animation: rise .6s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--s, 0) * 80ms); }
.hero-devices > * { animation: rise .8s cubic-bezier(.22,1,.36,1) both; animation-delay: 380ms; }
.hero-devices > .watch { animation-delay: 520ms; }
@keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
/* The headline rises without fading, so the largest text is painted at once. */
.hero h1 { animation-name: rise-only; }
@keyframes rise-only { from { translate: 0 40px; } to { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .seq > *, .hero-devices > * { animation: fade .18s linear both; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* The brand line, Sign In style: in the top bar and under the footer logo. */
.mark { margin: 0; font-family: var(--text); font-weight: 500; font-size: 11.5px; line-height: 1.2; letter-spacing: .42em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.topbar .wrap { display: flex; align-items: center; gap: 22px; }

/* 2. Built for you if you: the rotating word list. */
/* Manifesto: black and white, orange on one word only */
.manifesto { padding-block: var(--gap); }
.manifesto h2 { max-width: 12em; }
.manifesto .accent { color: var(--orange); }
.manifesto-text { margin-top: 32px; max-width: 40em; }
.manifesto-text p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: var(--ink); }
.manifesto .mark { margin-top: 40px; }
@media (min-width: 900px) { .manifesto .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0 56px; align-items: start; } .manifesto-text { margin-top: 8px; } .manifesto .mark { grid-column: 2; } }
.words { padding-block: var(--gap); }
.words-grid { display: grid; gap: 24px; align-items: center; }
.words h2 { font-size: clamp(40px, 6vw, 80px); }
.words h2 .br { display: none; }
@media (min-width: 900px) { .words h2 .br { display: inline; } }
.wordlist { --step: 48px; position: relative; height: calc(var(--step) * 5); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 32%, #000 68%, transparent); mask-image: linear-gradient(180deg, transparent, #000 32%, #000 68%, transparent); }
.wordlist ul { list-style: none; margin: 0; padding: 0; transform: translateY(0); will-change: transform; }
.wordlist li { height: var(--step); display: flex; align-items: center; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: min(calc(var(--step) * .68), 8vw); line-height: 1; color: rgba(255,255,255,.4); transition: color .3s ease-out; white-space: nowrap; }
.wordlist li.on { color: var(--orange); }
@media (min-width: 900px) { .words-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; } .wordlist { --step: 72px; } .wordlist li { font-size: min(calc(var(--step) * .68), 4.4vw); } }
.no-js .wordlist { height: auto; -webkit-mask-image: none; mask-image: none; }
.no-js .wordlist ul { transform: none; }
.no-js .wordlist li[aria-hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .wordlist { height: var(--step); -webkit-mask-image: none; mask-image: none; }
  .wordlist ul { transform: none; }
  .wordlist li { display: none; }
  .wordlist li.first { display: flex; color: var(--orange); }
}

/* 3. What is Athlxpro */
#what h2 { margin-bottom: 28px; }
.statement { font-size: clamp(20px, 2vw, 26px); line-height: 1.45; color: var(--ink); max-width: 40em; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 32px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(5, 1fr); } }
.facts div { background: var(--bg); padding: 16px 18px; }
.facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.facts dd { margin: 6px 0 0; font-weight: 600; }
.factrow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; margin: 48px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .factrow { grid-template-columns: repeat(4, 1fr); } }
.factrow dt { font-size: clamp(40px, 4.4vw, 64px); }
.factrow dd { margin: 8px 0 0; color: var(--mute); font-size: 15px; }

/* 4. The usual week: grey guessing line, orange line drawn over it in the app's 2.5 kg steps. */
.chart { border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: #000; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chart-head .eyebrow { margin: 0; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); border: 1px solid #333; border-radius: 999px; padding: 4px 10px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding: 0; font-size: 14px; color: var(--mute); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend li::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: #5c5c5c; }
.legend .o::before { background: var(--orange); }
.chart svg { width: 100%; height: auto; margin-top: 12px; overflow: visible; }
.chart svg text { font-family: var(--text); font-size: 13px; fill: var(--dim); }
.chart svg .tagt { font-size: 15px; }
@media (max-width: 599px) { .chart svg text { font-size: 21px; } .chart svg .tagt { font-size: 17px; } }
.callout { border-left: 3px solid var(--orange); padding: 4px 0 4px 18px; margin-top: 24px; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink); max-width: 30em; }
/* Before, then after: the grey line draws first, then the orange line over it, then its labels. */
.js .draw .flat, .js .draw .line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .draw .flat { transition: stroke-dashoffset 1s cubic-bezier(.45,0,.2,1) .2s; }
.js .draw .line { transition: stroke-dashoffset 1.6s cubic-bezier(.45,0,.2,1) 1.6s; }
.js .draw.in .flat, .js .draw.in .line { stroke-dashoffset: 0; }
.js .draw .end-g { opacity: 0; transition: opacity .3s 1.15s; }
.js .draw .pt { opacity: 0; transition: opacity .35s 3.2s; }
.js .draw.in .pt, .js .draw.in .end-g { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .draw .line, .js .draw .flat { stroke-dashoffset: 0; transition: none; } .js .draw .pt, .js .draw .end-g { opacity: 1; transition: none; } }
@media (min-width: 900px) { .split > .chart { align-self: start; margin-top: 34px; } }

/* Scroll-linked tilt-in: written by the motion loop, flat without JS or with reduced motion. */
[data-tilt] { transform-origin: 50% 0; will-change: transform; }

/* 5. A day with Athlxpro: pinned iPhone, 12 steps, a time rail that fills as you scroll. */
.dsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.dstep { display: grid; grid-template-columns: minmax(0, 1fr) min(42vw, 220px); grid-template-areas: "t p" "h p" "x p"; column-gap: 16px; align-content: center; align-items: start; }
.dstep time { grid-area: t; align-self: end; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.dstep h3 { grid-area: h; margin-top: 8px; font-size: clamp(28px, 3vw, 44px); }
.dstep .text { grid-area: x; margin: 12px 0 0; }
.dstep .phone { grid-area: p; --pw: 100%; align-self: center; }
.rail, .day-phone { display: none; }
@media (min-width: 600px) { .dstep { grid-template-columns: minmax(0, 1fr) 240px; column-gap: 32px; } }
@media (min-width: 900px) {
  .day-grid { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; }
  .rail { display: flex; flex-direction: column; align-items: center; gap: 12px; position: sticky; top: calc(var(--nav-h) + 48px); height: calc(100svh - var(--nav-h) - 96px); align-self: start; font-size: 12px; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; }
  .rail-line { flex: 1; width: 2px; border-radius: 2px; background: #262626; overflow: hidden; }
  .rail-line i { display: block; width: 100%; height: 100%; background: var(--orange); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .dsteps { gap: 0; }
  .dstep { display: flex; flex-direction: column; justify-content: center; min-height: 45svh; }
  .dstep .phone { display: none; }
  .dstep time { font-size: 28px; align-self: flex-start; }
  .js .dstep:not(.on) h3, .js .dstep:not(.on) .text { color: #777; }
  .js .dstep:not(.on) time { color: #777; }
  .dstep h3, .dstep .text, .dstep time { transition: color .25s; }
  .dsteps { padding-block: 20svh 25svh; }
  .day-phone { display: flex; position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); align-items: center; justify-content: center; align-self: start; }
  .day-phone .phone { --pw: calc(min(100svh - var(--nav-h) - 96px, 760px) * .48); }
  .day-phone .stack > [data-i] { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease-out; }
  .day-phone .stack > [data-i].on { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .day-phone .stack > [data-i], .dstep h3, .dstep .text, .dstep time { transition: none; } }

/* 6. Features as sticky stacking cards */
.fstack { position: relative; width: min(100% - 2 * var(--gutter), 1080px); margin: 48px auto 0; padding-bottom: 8vh; }
.fcard {
  position: sticky; top: calc(64px + var(--i) * 8px);
  display: grid; grid-template-rows: minmax(250px, 1fr) auto; overflow: hidden;
  min-height: calc(100svh - 96px - var(--i) * 8px); margin-bottom: 18vh;
  background: #0b0b0b; border: .5px solid rgba(255,255,255,.22); border-radius: 28px;
  transform-origin: 50% 0; will-change: transform; box-shadow: 0 -20px 60px -20px rgba(0,0,0,.9);
}
.fcard:last-child { margin-bottom: 0; }
.fcard.flow { position: relative; top: auto; }
@media (max-width: 899px) {
  .fcard:has(.panel-in) { grid-template-rows: auto 1fr; }
  .pick button { min-height: 54px; padding: 8px 12px; }
  .pick .result { min-height: 0; }
  .fc-text { gap: 10px; padding-top: 20px; }
  .fc-text li { font-size: 14px; }
}
.fc-text { order: 2; padding: 24px 22px 28px; display: grid; align-content: start; gap: 12px; }
.fc-text h3 { font-size: clamp(30px, 3.2vw, 44px); }
.fc-text p { margin: 0; color: var(--mute); }
.fc-text ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.fc-text li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ink); }
.fc-text li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; border-radius: 2px; background: var(--orange); }
.badge-i { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: .5px solid rgba(255,255,255,.22); font-family: var(--display); font-size: 18px; color: var(--orange); transform-origin: 0 50%; will-change: transform; }
.fc-media { order: 1; position: relative; overflow: hidden; background: radial-gradient(70% 60% at 60% 100%, rgba(255,59,26,.18), transparent 70%), #121212; display: flex; justify-content: center; align-items: flex-start; gap: 16px; padding: 28px 20px 0; }
.fc-media .phone { --pw: 200px; }
.fc-media.two .phone { --pw: 160px; }
.fc-media.panel-in { align-items: center; padding: 20px; }
@media (min-width: 900px) {
  .fcard { top: calc(80px + var(--i) * 10px); grid-template-rows: none; grid-template-columns: 1fr 1fr; height: 490px; min-height: 0; }
  .fc-text { order: 0; padding: 44px 40px; align-content: center; gap: 14px; }
  .fc-media { order: 0; padding: 40px 32px 0; }
  .fc-media .phone { --pw: 280px; }
  .fc-media.two .phone { --pw: 210px; }
  .fc-media.panel-in { padding: 32px; }
}

/* Easy, Good, Hard, Max (inside card 01) */
.pick { display: grid; gap: 12px; width: 100%; }
.pick .ex { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid #262626; }
.pick .ex b { font-family: var(--display); font-size: 28px; text-transform: uppercase; line-height: 1; }
.pick .ex span { color: var(--mute); font-size: 13px; text-align: right; }
.pick .btns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pick button { display: grid; gap: 2px; min-height: 60px; padding: 10px 12px; border-radius: 14px; background: #000; box-shadow: inset 0 0 0 1px #2a2a2a; text-align: left; transition: box-shadow .2s, background .2s; }
.pick button b { font-size: 17px; font-weight: 600; }
.pick button span { font-size: 12px; color: var(--mute); }
.pick button:hover { box-shadow: inset 0 0 0 1px var(--mute); }
.pick button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--orange); background: #140805; }
.pick .result { padding: 14px 16px; border-radius: 14px; background: #000; border: 1px solid #262626; min-height: 92px; font-size: 15px; }
.pick .result b { font-family: var(--display); font-size: 26px; text-transform: uppercase; color: var(--orange); }
.pick .bar { height: 6px; border-radius: 999px; background: #262626; margin-top: 12px; overflow: hidden; }
.pick .bar i { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: left; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.pick .result[data-up="0"] .bar i { transform: scaleX(.6); }

/* Chat (inside card 05) */
.chat { display: grid; gap: 8px; width: 100%; max-width: 440px; }
.chat .u, .chat .a { padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; max-width: 90%; }
.chat .u { justify-self: end; background: #b83a0e; color: var(--ink); border-bottom-right-radius: 5px; }
.chat .a { justify-self: start; background: #1e1e1e; border-bottom-left-radius: 5px; }
.chat .who { font-size: 11px; color: var(--dim); margin: 4px 0 -4px 4px; }

/* 7. Mosaic wall */
.mosaic { position: relative; height: 640px; overflow: hidden; isolation: isolate; background: #000; }
@media (min-width: 900px) { .mosaic { height: 900px; } }
.mosaic-rot { position: absolute; left: 50%; top: 50%; width: 150%; height: 190%; transform: translate(-50%, -50%) rotate(-12deg); display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 900px) { .mosaic-rot { width: 112%; grid-template-columns: repeat(4, 1fr); } }
.mcol { overflow: hidden; }
.mcol:nth-child(n+3) { display: none; }
@media (min-width: 900px) { .mcol:nth-child(n+3) { display: block; } }
.mtrack { display: grid; gap: 20px; }
.mtrack img { width: 100%; height: auto; border-radius: 20px; background: #111; }
.js .mcol:nth-child(odd) .mtrack { animation: mup var(--dur, 60s) linear infinite; }
.js .mcol:nth-child(even) .mtrack { animation: mdown var(--dur, 60s) linear infinite; }
@keyframes mup { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 10px)); } }
@keyframes mdown { from { transform: translateY(calc(-50% - 10px)); } to { transform: translateY(0); } }
.mosaic.paused .mtrack { animation-play-state: paused; }
.mosaic-scrim { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--gutter); background: radial-gradient(60% 50% at 50% 50%, rgba(0,0,0,.82), rgba(0,0,0,.35) 70%), linear-gradient(180deg, #000 0, transparent 20%, transparent 70%, #000 97%); }
.mosaic-line { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 7vw, 104px); line-height: .92; text-align: center; max-width: 12em; margin: 0; }
@media (prefers-reduced-motion: reduce) { .js .mcol .mtrack { animation: none; } }

/* 8. Apple Watch: four watches, one by one; swipeable on phones. */
/* Phones: a plain 2 x 2 grid that only scrolls with the page (no sideways swipe). */
.watches4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; margin-top: 48px; }
.watches4 figure { margin: 0; display: grid; justify-items: center; align-content: start; gap: 14px; }
.watches4 .watch { --ww: 100%; }
.watches4 figcaption { font-size: 14px; line-height: 1.45; color: var(--mute); text-align: center; max-width: 16em; }
@media (min-width: 900px) { .watches4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } .watches4 .watch { --ww: min(100%, 250px); } .watches4 figcaption { font-size: 15px; } }

/* 13. FAQ on the light band, for contrast before the final call to action. */
.light { position: relative; background: #f2f2f2; color: #0a0a0a; padding-block: var(--gap); }
.light .eyebrow { color: #0a0a0a; }   /* orange text fails 4.5:1 on the light background, and BRAND.md allows no second orange */
.light h2 { color: #0a0a0a; }
.light .lead, .light .text { color: #3a3a3a; }
.light .lead a, .light .text a { text-decoration-color: #8a8a8a; }
.light .faq details { border-color: #d0d0d0; }
.light .faq summary::after { color: #5a5a5a; }
.light .faq details[open] summary::after { color: var(--orange); }
.light :focus-visible { outline-color: var(--orange); }

/* 10. Share gallery */
.gal { position: relative; margin-top: 40px; outline: none; --gw: min(72vw, 320px); overflow-x: clip; overflow-clip-margin: 40px; }
.gal-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); height: calc(var(--gw) * 16 / 9 + 48px); padding: 0 var(--gutter); margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-card { flex: 0 0 var(--gw); margin: 0; scroll-snap-align: center; }
.gal-card .box { aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #0b0b0b; box-shadow: 0 0 0 .5px rgba(255,255,255,.22), 0 40px 80px -30px rgba(0,0,0,.9); }
.gal-card img { width: 100%; height: 100%; object-fit: cover; }
.gal-card figcaption { margin-top: 12px; font-size: 14px; color: var(--mute); text-align: center; }
.js .gal-track { display: block; position: relative; overflow: visible; padding: 0; margin: 0; touch-action: pan-y; cursor: grab; user-select: none; }
.js .gal-card { position: absolute; left: 50%; top: 0; width: var(--gw); transform: translateX(-50%); transition: transform .6s cubic-bezier(.22,1,.36,1), opacity .6s cubic-bezier(.22,1,.36,1); }
.js .gal-card figcaption { opacity: 0; transition: opacity .3s; }
.js .gal-card.center figcaption { opacity: 1; }
.js .gal-card.center img { animation: slowzoom 9s ease-out forwards; }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.gal-ctrl { display: none; justify-content: center; align-items: center; gap: 12px; margin-top: 8px; }
.js .gal-ctrl { display: flex; }
.gal-ctrl button { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px #333; color: var(--ink); }
.gal-ctrl button:hover { box-shadow: inset 0 0 0 1px var(--mute); }
.gal-ctrl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gal-dots { display: flex; gap: 2px; }
.gal-dots button { width: 28px; height: 44px; box-shadow: none; border-radius: 0; }
.gal-dots button::before { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-radius: 50%; background: #444; transition: background .2s, transform .2s; }
.gal-dots button[aria-current="true"]::before { background: var(--orange); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .js .gal-card, .js .gal-card.center img { transition: none; animation: none; } }

/* 12. About: full-bleed photo with the huge word over its bottom edge. */
.about-x { position: relative; }
.ax-photo { position: relative; height: min(88svh, 860px); min-height: 520px; overflow: hidden; isolation: isolate; }
.ax-photo picture, .ax-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ax-photo img { object-fit: cover; object-position: 50% 62%; filter: grayscale(1) contrast(1.05); }
.ax-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.15) 35%, rgba(0,0,0,.2) 70%, #000 100%); }
.huge { position: relative; z-index: 3; margin: calc(-0.42 * clamp(88px, 27vw, 390px)) 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(88px, 27vw, 390px); line-height: .8; text-align: center; letter-spacing: -.01em; color: var(--ink); text-transform: uppercase; user-select: none; }
.about-text { padding-block: 56px var(--gap); }
.about-p { margin-top: 24px; max-width: 40em; font-size: clamp(18px, 1.5vw, 21px); }

/* 12. FAQ */
.faq { max-width: 820px; margin-top: 32px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; text-align: center; font-family: var(--display); font-size: 28px; color: var(--mute); transition: transform .3s cubic-bezier(.22,1,.36,1), color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--orange); }
.faq .ans { overflow: hidden; }
.faq .text { padding-bottom: 20px; max-width: 44em; }

/* 14. Final CTA: an orange line runs once around the box, clockwise from 12, then the badge. */
.final { text-align: center; }
.final-box { position: relative; border-radius: 40px; padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 72px); box-shadow: inset 0 0 0 1px var(--line); }
.final h2 { font-size: clamp(44px, 8.4vw, 116px); max-width: 10em; margin-inline: auto; }
.final .lead { margin: 20px auto 0; }
.final-store { display: flex; justify-content: center; margin-top: 32px; }
.final .store { align-items: center; }
.edge { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; display: none; }
.edge path { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; }
.no-js .final-box { box-shadow: inset 0 0 0 2px var(--orange); }
.js .edge.on { display: block; }
.js .edge.on path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .final-box.in .edge.on path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.5s cubic-bezier(.45,.05,.4,1); }
.js .final-box.armed .final-store { opacity: 0; transform: translateY(10px); transition: opacity .5s ease-out 2.4s, transform .5s ease-out 2.4s; }
.js .final-box.armed.in .final-store { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .edge.on path { stroke-dashoffset: 0 !important; transition: none !important; } .js .final-box.armed .final-store { opacity: 1; transform: none; transition: none; } }

/* Live Activity crop (no status bar, no clock), shown frameless */
.la { display: block; width: 100%; max-width: 520px; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 .5px rgba(255,255,255,.22), 0 30px 60px -20px rgba(0,0,0,.8); }
.la img { width: 100%; height: auto; }
.shots .la { max-width: 300px; align-self: center; }

/* Hash links land on the section, clear of the top bar */
section[id], [id].section { scroll-margin-top: var(--nav-h); }
.js .rv.now { transition: none; }

/* Room for the floating pill under the footer */
footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)) !important; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); color: var(--mute); font-size: 14px; }
.foot { display: grid; gap: 8px 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.foot-brand { grid-column: 1 / -1; margin-bottom: 24px; }
@media (min-width: 900px) { .foot { grid-template-columns: 2fr repeat(4, 1fr); } .foot-brand { grid-column: auto; margin: 0; } }
.foot .logo img { height: 18px; width: auto; margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.foot ul a { display: inline-block; padding: 10px 0; }
.foot ul a:hover { color: var(--ink); }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13px; color: var(--mute); }
.legal p { margin: 0; }
.legal .tm { font-size: 11px; color: var(--dim); }
@media (min-width: 900px) { .legal { grid-template-columns: 1fr auto; } .legal .tm { text-align: right; } }

/* Document pages */
.doc { padding-top: calc(var(--nav-h) + var(--gap)); }
.doc h1 { font-size: clamp(44px, 8vw, 96px); }
.doc .lead { margin-top: 16px; }
.doc article { max-width: 720px; margin-top: 48px; }
.doc h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 56px 0 16px; }
.doc h3 { font-family: var(--text); text-transform: none; font-size: 19px; font-weight: 600; letter-spacing: 0; line-height: 1.4; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--mute); }
.doc li { margin-bottom: 6px; }
.doc ol, .doc ul { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); color: var(--mute); }
.doc th { color: var(--ink); font-weight: 600; }
.doc .todo { color: var(--orange); font-weight: 600; }
.doc .meta { font-size: 14px; color: var(--dim); }
.doc .links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.doc .faq { margin-top: 8px; }
.doc .faq summary { font-size: 17px; }

/* Press */
.press-facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.press-facts dt { color: var(--dim); font-size: 15px; }
.press-facts dd { margin: 0; color: var(--ink); }
.logos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.logo-tile { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: grid; }
.logo-tile .art { display: grid; place-items: center; padding: 40px 28px; background: #000; }
.logo-tile .art img { width: 70%; height: auto; }
.logo-tile.on-light .art { background: #fff; }
.logo-tile .dl { display: flex; gap: 8px; padding: 12px; background: var(--panel); }
.logo-tile .dl a { flex: 1; min-height: 44px; display: grid; place-items: center; border-radius: 10px; box-shadow: inset 0 0 0 1px #333; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
.logo-tile .dl a:hover { box-shadow: inset 0 0 0 1px var(--mute); }
.shots { display: grid; gap: 32px 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; } }
.shots figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.shots .phone { --pw: 100%; max-width: 240px; }
.shots figcaption { font-size: 14px; color: var(--mute); text-align: center; }

/* Step 12: the session post gets a like. The white heart pops on the photo, then the like row turns orange. */
.feedfx .liked { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease-out .45s; }
.feedfx .liked img { width: 100%; }
.feedfx .pop { position: absolute; left: 50%; top: 64%; width: 26%; margin: -13% 0 0 -13%; fill: #fff; opacity: 0; transform: scale(.6); pointer-events: none; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); }
.feedfx.play .liked { opacity: 1; }
.feedfx.play .pop { animation: likepop 1.1s ease-out both; }
@keyframes likepop { 0% { opacity: 0; transform: scale(.6); } 15% { opacity: 1; transform: scale(1.1); } 36% { opacity: 1; transform: scale(1); } 64% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .feedfx .liked { opacity: 1; transition: none; } .feedfx .pop { display: none; } }
.no-js .feedfx .liked { opacity: 1; }
.fc-text h3 { text-wrap: balance; }

/* Your data. Your coach. — the export section: the iPhone screen next to three stacked report pages. */
.export-grid { display: grid; gap: 48px; align-items: center; }
.export-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.export-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.export-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.export-media { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 4vw, 48px); }
.export-media .phone { --pw: clamp(150px, 20vw, 260px); }
.pages { position: relative; width: clamp(170px, 22vw, 300px); aspect-ratio: 1190 / 1683; flex: none; }
.export-media .pages { margin-right: calc(clamp(170px, 22vw, 300px) * .32); }
.pages img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); background: #fff; }
.pages .p3 { transform: translate(14%, -6%) rotate(5deg); opacity: .9; }
.pages .p2 { transform: translate(7%, -3%) rotate(2deg); opacity: .95; }
.pages .p1 { transform: rotate(-3deg); }
@media (min-width: 900px) { .export-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } }
@media (max-width: 599px) { .export-media { flex-direction: row; gap: 12px; } .export-media .phone { --pw: 40vw; } .export-media .pages { width: 36vw; margin-right: 8vw; } }

/* On your wrist. On your watch face. — watch face, Smart Stack and the Live Activity. */
.glance { display: grid; gap: 28px; margin-top: 48px; }
.glance figure { margin: 0; display: grid; justify-items: center; align-content: start; gap: 14px; }
.glance figcaption { font-size: 15px; color: var(--mute); text-align: center; max-width: 18em; }
.glance .watch { --ww: min(100%, 240px); }
.glance .la-shot { width: 100%; max-width: 400px; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 .5px rgba(255,255,255,.22), 0 30px 60px -20px rgba(0,0,0,.8); background: #000; }
.glance .la-shot img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .glance { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; } }
@media (min-width: 600px) and (max-width: 899px) { .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#export .lead, #glance .lead { margin-top: 20px; }

/* Still screens with a live layer: the still is the final state; .fx redraws one or two elements over
   it (in the still's own pixels) and animates them once into it. Without JS or with reduced motion
   only the still shows. */
.scr { overflow: hidden; background: #000; }
.phone > .scr { border-radius: 13.68% / 6.29%; }
.watch > .scr { border-radius: 21.6% / 18.1%; }
.stack .scr { position: absolute; inset: 0; border-radius: 13.68% / 6.29%; }
.la-shot .scr { position: relative; }
.scr picture, .scr img { display: block; width: 100%; height: 100%; }
.scr img { object-fit: cover; object-position: top; }
.scr, .scr img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.la-shot .scr img { height: auto; }
.fx { position: absolute; inset: 0; width: 100%; height: 100%; display: none; pointer-events: none; overflow: visible; }
.fx-on .fx { display: block; }
.fx text { font-family: "Barlow Condensed", sans-serif; font-variant-numeric: tabular-nums; }
.fx .fw, .fx .fp { transform-box: fill-box; }
.fx .fw.x { transform-origin: 100% 50%; }
.fx .fw.y { transform-origin: 50% 0; }
.fx .fw { transition: transform var(--ms) cubic-bezier(.22, .8, .24, 1) var(--dl); }
.play .fx .fw.x { transform: scaleX(0); }
.play .fx .fw.y { transform: scaleY(0); }
.fx .fr { transition: stroke-dashoffset var(--ms) cubic-bezier(.22, .8, .24, 1) var(--dl); }
.play .fx .fr { stroke-dashoffset: calc(-1 * var(--L)); }
.fx .fc { transition: opacity .22s linear; }
.fx .fc.done { opacity: 0; }
.fx .fp { transform-origin: 50% 50%; }
.fx .fp.pop { opacity: 0; transform: scale(.6); }
.play .fx .fp.pop { opacity: 1; transform: none; transition: transform var(--ms) cubic-bezier(.3, 1.45, .5, 1) var(--dl), opacity calc(var(--ms) * .4) linear var(--dl); }
.fx .fp.rise { opacity: 0; transform: translateY(18px); }
.play .fx .fp.rise { opacity: 1; transform: none; transition: transform var(--ms) cubic-bezier(.22, .8, .24, 1) var(--dl), opacity var(--ms) ease-out var(--dl); }
.play .fx .fp.pulse { animation: fx-pulse var(--ms) ease-out var(--dl) both; }
.play .fx .fp.press { animation: fx-press 520ms ease-out var(--dl) both; }
.play .fx .fp.done, .fx .pt.done { opacity: 0; transition: opacity .16s linear; animation: none; }
@keyframes fx-pulse { 0%, 100% { transform: none; } 38% { transform: scale(1.18); } }
@keyframes fx-press { 0%, 100% { transform: none; } 35% { transform: scale(.94); } }
/* Export: the pages fan out from behind the phone. */
.export-media .phone { z-index: 2; }
.fx-on .pages img { transition: transform 1100ms cubic-bezier(.22, .8, .24, 1), opacity 500ms ease-out; }
.fx-on .pages:not(.play) img { transform: translate(-46%, 4%) rotate(-6deg) scale(.9); opacity: 0; }
.fx-on .pages .p2 { transition-delay: 120ms; }
.fx-on .pages .p3 { transition-delay: 240ms; }

/* Launch-day note: one pill with the email field and the button, MailerLite with double opt-in
   (see js/site.js). Sits over the hero photo, so the small text carries a shadow. */
.notify { display: grid; width: 100%; max-width: 340px; margin-top: 32px; text-align: left; }
.notify-h { margin: 0 0 10px; font-family: var(--text); font-weight: 500; font-size: 11px; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 241, 235, .78); text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.notify-row { display: flex; align-items: center; gap: 0; height: 48px; max-width: 340px; padding: 0 5px 0 18px; border-radius: 999px; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 .5px rgba(244, 241, 235, .16); transition: box-shadow .2s; }
.notify-row:focus-within { box-shadow: inset 0 0 0 1px rgba(244, 241, 235, .5); }
.notify input[type="email"] { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; color: #f4f1eb; font: 400 15px/1 var(--text); outline: none; }
.notify input[type="email"]::placeholder { color: #8b8781; opacity: 1; }
.notify button { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; background: #f4f1eb; color: #000; font: 600 13px/1 var(--text); transition: background .2s; }
.notify button:hover, .notify button:active { background: #fff; }
.notify button:focus-visible { outline: 2px solid #f4f1eb; outline-offset: 2px; }
.notify button[disabled] { opacity: .6; cursor: progress; }
.notify-m, .notify-c { margin: 10px 0 0; font: 400 11px/1.45 var(--text); color: rgba(244, 241, 235, .66); text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.notify-c a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.notify-m:empty { display: none; }
.notify-m.err { color: #ff3b1a; }
.notify.done .notify-row, .notify.done .notify-c { display: none; }
.notify.done .notify-m { color: rgba(244, 241, 235, .78); }
.hero-notify-wrap { margin-top: 8px; }
.final-notify { margin: 48px auto 0; }
.final-notify .notify-h, .final-notify .notify-c, .final-notify .notify-m { text-align: center; }

/* Blog (tools/sync-blog.mjs): article pages and the list, on the doc layout. */
.blog .eyebrow a { color: inherit; }
.post-date { margin: 12px 0 0; font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.post-hero { display: block; width: 100%; max-width: 720px; height: auto; margin-top: 32px; border-radius: 18px; background: var(--panel); }
/* Long reads: lighter text than --mute, a larger size and more air between paragraphs. */
.post { max-width: 680px; margin-top: 40px; font-size: 18px; line-height: 1.7; }
.post p, .post li { color: #cfcac2; }
.post p { margin: 0 0 24px; }
.post li { margin-bottom: 8px; }
.post li::marker { color: var(--dim); }
.post strong { color: var(--ink); font-weight: 600; }
.post h2 { margin: 64px 0 16px; line-height: 1; }
.post h3 { margin: 40px 0 8px; color: var(--ink); }
.post img { display: block; max-width: 100%; height: auto; margin: 40px 0; border-radius: 12px; }
.post p > img { margin: 16px 0; }
.post a { color: var(--ink); }
.post ul, .post ol { padding-left: 1.2em; margin: 0 0 24px; }
.post .table-scroll { overflow-x: auto; margin: 8px 0 32px; }
.post table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.post th, .post td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid #2a2926; color: #cfcac2; }
.post th { color: var(--ink); font-weight: 600; }
.post blockquote { margin: 32px 0; padding-left: 16px; border-left: 2px solid var(--orange); }
.post blockquote p { color: var(--ink); }
.post-cta { margin: 40px 0; padding: 32px 0; border-top: 1px solid #2a2926; border-bottom: 1px solid #2a2926; }
.post-cta .post-cta-title { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1; text-transform: uppercase; color: var(--ink); }
.post-cta .btn { text-decoration: none; color: var(--bg); }
.post-list { list-style: none; padding: 0; margin: 48px 0 0; max-width: 720px; }
.post-list li { padding: 24px 0; border-top: 1px solid var(--line); }
.post-list a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.post-title { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3vw, 32px); line-height: 1; text-transform: uppercase; color: var(--ink); }
.post-meta { flex: none; font-size: 13px; color: var(--dim); }
.post-list p { margin: 8px 0 0; color: var(--mute); }
