/* The app's look (app/src/theme.ts): since 2026-10-23 Henry's draft C, a
   flat black page and solid dark-grey cards with a light edge, as Whoop and
   Apple Fitness draw theirs; white text, the one action white, vivid good /
   warn / danger, and violet only where Logic speaks. Manrope. Change these
   with theme.ts. */
:root {
  --g1: #000000;
  --g2: #000000;
  --g3: #000000;
  --bg: #000000;
  --surface: #141518;
  --lifted: #1b1c20;
  --raised: #26282d;
  --line: rgba(255, 255, 255, 0.15);
  --line-strong: rgba(255, 255, 255, 0.30);
  --hero-line: rgba(255, 255, 255, 0.42);
  --ink: #f4f6f9;
  --soft: rgba(244, 246, 249, 0.74);
  --faint: rgba(244, 246, 249, 0.52);
  --on-accent: #14181e;
  --bar: #1b1c20;
  --good: #66f2a8;
  --good-soft: rgba(102, 242, 168, 0.12);
  --warn: #ffc847;
  --danger: #ff8573;
  --danger-soft: rgba(255, 133, 115, 0.12);
  --ai: #d0bdff;
  --spark: #ae8fff;
  --ai-soft: rgba(174, 143, 255, 0.14);
  --ai-line: rgba(174, 143, 255, 0.45);
  --gold: #f2c230;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font: 500 17px/1.55 "Manrope", system-ui, sans-serif;
}
body { background: var(--bg); }
main { max-width: 720px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 8vw, 60px); margin: 56px 0 16px; }
h2 { font-size: 28px; margin: 48px 0 12px; }
p, li { color: var(--soft); }
strong { color: var(--ink); font-weight: 700; }
a { color: var(--ink); }
.lede { font-size: 19px; color: var(--ink); }
/* Solid cards since 2026-10-23 (no glass): the card's edge holds on black. */
.glass, .card, .price {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.card { padding: 16px; }
.price { padding: 20px; margin-top: 16px; }

/* The landing page. */
.lp-cta {
  display: inline-block; background: var(--ink); color: var(--on-accent); text-decoration: none;
  font-weight: 800; padding: 14px 22px; border-radius: 14px; border: 0; font-size: 16px; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.lp-cta:hover { transform: translateY(-1px); }

/* The demo page (2026-11-10): the real app recorded through three sample
   nights, in the same phone as the hero's video, with a night picked under
   it. The hand-drawn log sheet and debrief it replaced are gone. */
.demo { position: relative; width: 100%; max-width: 380px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.demo .phone-shot { width: min(320px, 82vw); }
.phone {
  border: 10px solid var(--bar); border-radius: 48px; overflow: hidden; background: var(--bg);
  box-shadow: 0 30px 80px rgba(174, 143, 255, .10), 0 0 0 1px var(--line-strong);
}

.picker { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.picker button {
  font: inherit; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; cursor: pointer; min-height: 40px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
}
.picker button[aria-pressed="true"] { background: var(--ink); color: var(--on-accent); border-color: var(--ink); }
.demo-note { text-align: center; font-size: 13px; margin: 10px 0 0; }

.lp-band { max-width: 1080px; margin: 0 auto; padding: 72px 16px 0; }
.lp-band h2 { margin: 0 0 24px; font-size: clamp(28px, 5vw, 40px); }

/* Screenshots of the app itself (site/img), in the same phone. */
/* Six screens in even rows (2026-11-12, Henry): three to a row on a
   laptop, two on a tablet, one on a phone; never four then two. */
.shots { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shots figure { margin: 0; }
.shots .phone { border-width: 8px; border-radius: 38px; max-width: 280px; margin: 0 auto; }
.shots img { display: block; width: 100%; height: auto; }
.shots figcaption { text-align: center; color: var(--soft); font-size: 15px; margin: 14px auto 0; max-width: 30ch; }
.shots figcaption b { color: var(--ink); display: block; }

.lp-measure { max-width: 720px; margin: 0 auto; padding: 72px 16px 0; display: flex; flex-direction: column; gap: 16px; }
.lp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 4px 0 6px; }
.lp-price b { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; }
.lp-close { text-align: center; padding: 28px 22px; }
.lp-close h2 { margin-top: 0; }

@media (max-width: 420px) { .phone { border-width: 8px; border-radius: 40px; } }

/* The pages (2026-10-13: one long page split into home, demo, inside and
   pricing, each reached from the header). */
.lp-cta.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.lp-page { padding-top: 40px; }
.lp-page h1 { margin: 0 0 16px; }
.lp-narrow { max-width: 44ch; margin: 0 0 32px; }
.lp-demo { max-width: 1080px; margin: 0 auto; padding: 40px 16px 0; display: grid; gap: 32px; align-items: center; }
@media (min-width: 920px) { .lp-demo { grid-template-columns: 1fr 380px; padding-top: 64px; } }
.lp-intro h1 { max-width: 14ch; }
.lp-intro .lede { max-width: 36ch; }
.lp-list { margin: 10px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.lp-list li { color: var(--ink); }
.lp-measure .card h3 { margin: 0 0 6px; font-size: 19px; }
.lp-measure .card p { margin: 0; }
.lp-next { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.lp-next a {
  display: block; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; font-weight: 800; font-size: 18px; transition: border-color .15s;
}
.lp-next a:hover { border-color: var(--ink); }
.lp-next a span { display: block; font-size: 13px; font-weight: 600; color: var(--soft); margin-bottom: 2px; }


/* The bar and the foot on every page (2026-10-20, after SystemBJJ's
   PublicShell): the brand, the pages and the one filled ask in a bar that
   stays at the top, and a foot in columns. The bar's ground is the
   page's black at 78% with a blur, so the page reads as scrolling under it. */
.site-bar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, .78); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.site-bar-in { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.lp-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 18px; }
/* The wordmark (docs/brand, Henry's pick, 2026-10-30), at its own proportions. */
.lp-brand img { height: 24px; width: auto; display: block; }
.site-bar nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.site-bar nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 15px; min-height: 44px; display: flex; align-items: center; }
.site-bar nav a:hover, .site-bar nav a[aria-current="page"] { color: var(--ink); }
.bar-cta {
  margin-left: auto; background: var(--ink); color: var(--on-accent); text-decoration: none; font-weight: 800; font-size: 14px;
  padding: 0 16px; min-height: 40px; border-radius: 12px; display: flex; align-items: center; white-space: nowrap;
}
.bar-cta:hover { opacity: .9; }
/* A phone: the brand and the ask on the first row, the pages under them. */
@media (max-width: 640px) {
  .site-bar-in { padding: 8px 16px 0; gap: 0 16px; }
  .site-bar nav { order: 3; width: 100%; }
  .site-bar nav a { min-height: 40px; }
}

.site-foot { max-width: 1120px; margin: 96px auto 0; padding: 40px 16px 48px; border-top: 1px solid var(--line); font-size: 14px; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-brand p { margin: 12px 0 8px; max-width: 30ch; }
.foot-brand > a:last-child { color: var(--ink); font-weight: 600; }
.site-foot nav { display: flex; flex-direction: column; gap: 2px; }
.site-foot nav p { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-foot nav a { color: var(--ink); text-decoration: none; min-height: 32px; display: flex; align-items: center; }
.site-foot nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.foot-co { margin: 32px 0 0; color: var(--soft); }

/* The home page in SystemBJJ's shape (2026-10-20): the hero is two columns
   from 920px, the words on the left and the phone on the right with rings
   turning behind it, and one column under that. Then the facts, Logic's four
   cards, the loop, the map on a gridded stage, the price, the questions and
   the closing ask, each fading in as it is reached (reveal.js). */
.lp { max-width: none; padding: 0; }
.lp h2 { margin: 0; font-size: clamp(30px, 5vw, 46px); line-height: 1.05; letter-spacing: -0.03em; max-width: 20ch; }
.lp-eyebrow.ai { color: var(--ai); }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); min-height: min(88svh, 860px);
  /* the phone is taller than the words; it is cut by the hero's foot on a short window, as SystemBJJ's is */ display: flex; align-items: center; padding: 48px 16px; }
.hero-in { width: 100%; max-width: 1120px; margin: 0 auto; display: grid; gap: 48px; align-items: center; justify-items: center; text-align: center; }
.hero-copy { position: relative; z-index: 1; max-width: 640px; }
.hero-title { margin: 0 auto 20px; font-size: clamp(44px, 9vw, 104px); line-height: .98; letter-spacing: -0.04em; max-width: 12ch; }
.hero-lede { margin: 0 auto; max-width: 46ch; font-size: clamp(17px, 2.4vw, 20px); line-height: 1.55; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 32px; }
.text-link { color: var(--ink); font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.text-link:hover { text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--ai); text-decoration-thickness: 2px; }
.hero-price { margin: 20px 0 0; font-size: 15px; color: var(--ink); font-weight: 600; }
.trust { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 14px; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust li::before { content: "✓"; color: var(--good); font-weight: 800; }
.hero-product { position: relative; width: 100%; display: flex; justify-content: center; }
.phone-shot { position: relative; z-index: 1; margin: 0; width: min(300px, 78vw); }
.phone-shot .phone { border-width: 8px; border-radius: 40px; }
.phone-shot img { display: block; width: 100%; height: auto; }
@media (min-width: 920px) {
  .hero { padding: 56px 32px; }
  .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); text-align: left; justify-items: start; gap: 56px; }
  .hero-copy .hero-title, .hero-copy .hero-lede { margin-left: 0; margin-right: 0; }
  .hero-copy .hero-ctas, .hero-copy .trust { justify-content: flex-start; }
  .hero-product { justify-self: center; }
  .hero .phone-shot { width: 380px; }
}



.facts { border-bottom: 1px solid var(--line); }
.facts dl { max-width: 1120px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .facts dl { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts dl > div { padding: 28px 12px; text-align: center; }
.facts dt { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.facts dd { margin: 8px auto 0; color: var(--soft); font-size: 14px; max-width: 20ch; }

.band { max-width: 1120px; margin: 0 auto; padding: 96px 16px 0; }
.band.narrow { max-width: 760px; }
.band-head { margin-bottom: 32px; }
.band-head.center { text-align: center; }
.band-head.center h2 { margin: 0 auto; }

.ai-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.ai-card { padding: 18px; display: flex; flex-direction: column; }
.ai-card h3 { margin: 18px 0 6px; font-size: 19px; }
.ai-card > p { margin: 0; font-size: 15px; }
.mock { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 172px; font-size: 14px; line-height: 1.4; }
.mock p { margin: 0; }
.said { color: var(--soft); font-style: italic; }
.mock-arrow { color: var(--ai); text-align: center; font-weight: 800; }
/* A line Logic filled (SheetLine): the field's grey with a violet edge
   until it is touched, under its heading's colour. */
.line { color: var(--ink); background: var(--raised); border-left: 3px solid var(--ai); border-radius: 10px; padding: 7px 9px; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.line b { font-size: 12px; }
.line.good b { color: var(--good); }
.line.bad b { color: var(--danger); }
.by { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--ai); }
/* Logic's bubble as the app draws it (LogicBubble): the card's grey with
   a violet edge on the left and the spark over the words. */
.bubble-ai { color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--ai); border-radius: 14px; padding: 10px 12px; }
.bubble-ai .who { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 12px; font-weight: 700; color: var(--ai); }
.taps { display: flex; flex-wrap: wrap; gap: 6px; }
.taps span { border: 1px solid var(--line); background: var(--raised); border-radius: 999px; padding: 5px 11px; font-weight: 700; font-size: 13px; color: var(--ink); }
.taps span.on { background: var(--ink); color: var(--on-accent); border-color: var(--ink); }
.q { align-self: flex-end; background: var(--ink); color: var(--on-accent); font-weight: 600; border-radius: 14px; border-bottom-right-radius: 4px; padding: 8px 12px; }
.mock .a { color: var(--ink); }
.mock .a b { color: var(--ai); font-size: 12px; display: block; }
.tag { align-self: flex-start; color: var(--ai); border: 1px solid var(--ai-line); background: var(--ai-soft); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.mock .pt::before { content: "• "; color: var(--ai); }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }

.loop { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); }
.loop li { padding: 24px 24px 0 0; }
.loop-when { font-size: 13px; font-weight: 700; color: var(--good); }
.loop h3 { margin: 8px 0 6px; font-size: 22px; }
.loop p { margin: 0; max-width: 32ch; }

.stage-wrap { max-width: 1120px; margin: 0 auto; padding: 96px 16px 0; }
.stage {
  display: grid; justify-items: center; gap: 40px; padding: 40px 16px; border: 1px solid var(--line); border-radius: 24px;
  background-color: var(--surface);
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 28px 28px;
}
@media (min-width: 840px) { .stage { grid-template-columns: auto minmax(0, 400px); justify-content: center; align-items: center; gap: 64px; padding: 56px 32px; } }
.pin, .callout-n {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: var(--on-accent); font-weight: 800; font-size: 14px; flex: none;
}
.pin { position: absolute; z-index: 2; transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(0, 0, 0, .45); }
.callouts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.callouts li { display: flex; gap: 14px; align-items: flex-start; }
.callouts h3 { margin: 2px 0 4px; font-size: 19px; }
.callouts p { margin: 0; }
.stage-note { text-align: center; font-size: 13px; margin: 14px 0 0; }

.plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plan { padding: 22px; }
.plan.lead { border-color: var(--ink); }
.plan-name { margin: 0; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flag { font-size: 12px; font-weight: 800; color: var(--on-accent); background: var(--good); border-radius: 999px; padding: 2px 8px; }
.plan-price { margin: 10px 0 4px; display: flex; align-items: baseline; gap: 8px; }
.plan-price b { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.plan-note { margin: 0; font-size: 14px; }
.plan-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plan-list li { color: var(--ink); display: flex; gap: 8px; }
.plan-list li::before { content: "✓"; color: var(--good); font-weight: 800; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; font-size: 18px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 600; color: var(--soft); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; max-width: 60ch; }

.close { max-width: 760px; margin: 96px auto 0; padding: 48px 24px; text-align: center; }
@media (max-width: 791px) { .close { margin-left: 16px; margin-right: 16px; } }
.close h2 { margin: 0 auto 10px; }
.close p { margin: 0; }
.hero-ctas.center { justify-content: center; margin-top: 24px; }

/* New information arrives as it is scrolled to (reveal.js marks the page
   ready only when it can observe and the reader has not asked for less
   motion; without it everything is simply there). */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
.reveal-ready [data-reveal].is-revealed { opacity: 1; transform: none; }

/* The hero's video (2026-10-20): the recording under a drawn status bar,
   in the same phone. It has no status bar of its own, since the web build
   was recorded in a browser; the strip is the recording's black. */
.hero-video .phone { background: #000; }
.vid-status { height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 4px 22px 0 26px; font-size: 13px; font-weight: 700; background: #000; }
.vid-status i { width: 76px; height: 22px; border-radius: 14px; background: #000; }
.vid-status b { width: 20px; height: 10px; border-radius: 3px; border: 1.5px solid var(--ink); position: relative; }
.vid-status b::after { content: ""; position: absolute; inset: 1px 4px 1px 1px; background: var(--ink); border-radius: 1px; }
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 590 / 1276; background: #111; }
.hero-video figcaption { text-align: center; font-size: 13px; color: var(--soft); margin-top: 12px; }

/* Logic's face (2026-11-10, app/src/LogicHero.tsx, Henry's sixth sketch):
   the spark with a dark plate and two violet eyes, in a dark disc on a
   soft violet halo. It introduces Logic's band as it introduces Logic in
   the app; the halo breathes only for a reader who has not asked for less
   motion. */
.logic-face { position: relative; width: 168px; height: 168px; display: grid; place-items: center; margin: 0 0 8px -24px; }
.band-head.center .logic-face { margin: 0 auto 8px; }
.logic-face::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(174, 143, 255, .45) 0%, rgba(174, 143, 255, .16) 42%, rgba(174, 143, 255, 0) 72%);
}
.logic-face .disc {
  position: relative; width: 101px; height: 101px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 0 28px rgba(174, 143, 255, .35);
}
.logic-face svg { width: 87px; height: 87px; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .logic-face::before { animation: halo 2.8s ease-in-out infinite alternate; }
}
@keyframes halo { from { opacity: .7; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }
.logic-hi { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--ai); }

/* The rest of the app (2026-11-10): Home, the competition record and
   Progress as they are today, three phones in a row. */
.trio { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.trio figure { margin: 0; }
.trio .phone { border-width: 8px; border-radius: 38px; max-width: 280px; margin: 0 auto; }
.trio img { display: block; width: 100%; height: auto; }
.trio figcaption { text-align: center; color: var(--soft); font-size: 15px; margin: 14px auto 0; max-width: 30ch; }
.trio figcaption b { color: var(--ink); display: block; font-size: 17px; margin-bottom: 2px; }

/* The closing ask with the app's icon (ozu. with BJJ under it, 2026-11-03). */
.app-icon { display: block; width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 20px; box-shadow: 0 0 0 1px var(--line-strong), 0 12px 40px rgba(174, 143, 255, .18); }

/* The hero with the App Store screenshots (2026-11-10): the words
   centred, three screenshots fanned under them and cut by the hero's
   foot, the middle one lifted on Ozu's violet light. They rise in once,
   unless less motion was asked for. */
.hero-fan { display: block; min-height: 0; padding: 64px 16px 0; text-align: center; }
.hero-fan .hero-copy { margin: 0 auto; max-width: 720px; }
.hero-fan .hero-title { margin-left: auto; margin-right: auto; }
.hero-fan .hero-lede { margin-left: auto; margin-right: auto; }
.hero-fan .hero-ctas, .hero-fan .trust { justify-content: center; }
.fan { position: relative; max-width: 1000px; height: clamp(360px, 64vw, 620px); margin: 40px auto 0; }
.fan::before {
  content: ""; position: absolute; left: 50%; top: 8%; width: min(720px, 120vw); height: min(720px, 120vw); transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(174, 143, 255, .30), rgba(174, 143, 255, .10) 45%, rgba(174, 143, 255, 0) 72%);
  pointer-events: none;
}
.fan img {
  position: absolute; top: 0; left: 50%; width: clamp(170px, 31vw, 300px); height: auto; border-radius: 26px;
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, .7);
}
.fan .fan-c { z-index: 2; transform: translateX(-50%); }
.fan .fan-l { transform: translateX(-122%) translateY(48px) rotate(-7deg); opacity: .92; }
.fan .fan-r { transform: translateX(22%) translateY(48px) rotate(7deg); opacity: .92; }
@media (prefers-reduced-motion: no-preference) {
  .fan img { animation: fan-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .fan .fan-l { animation-delay: .12s; }
  .fan .fan-r { animation-delay: .2s; }
}
@keyframes fan-rise { from { opacity: 0; translate: 0 60px; } }

/* Six screens in a row that scrolls sideways, each stopping in place. */
.gallery {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px;
  scrollbar-width: thin; scrollbar-color: var(--raised) transparent;
}
.gallery img {
  flex: none; width: clamp(210px, 26vw, 260px); height: auto; border-radius: 22px; scroll-snap-align: start;
  box-shadow: 0 0 0 1px var(--line);
}
.gallery:focus-visible { outline: 2px solid var(--ai); outline-offset: 4px; border-radius: 12px; }

/* The recording beside its words. */
.watch { display: grid; gap: 32px; align-items: center; justify-items: center; }
@media (min-width: 860px) { .watch { grid-template-columns: minmax(0, 1fr) auto; justify-items: start; } }
.watch-lede { margin: 16px 0 12px; max-width: 40ch; }
/* From 1000 across: the words on the left, the fan on the right, both in
   the first screen; the fan is cut by the hero's foot. */
@media (min-width: 1000px) {
  .hero-fan {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px;
    max-width: none; padding: 40px max(32px, calc((100vw - 1120px) / 2 + 16px)) 0; text-align: left;
  }
  .hero-fan .hero-copy { margin: 0; padding-bottom: 56px; }
  .hero-fan .hero-title, .hero-fan .hero-lede { margin-left: 0; margin-right: 0; }
  .hero-fan .hero-ctas, .hero-fan .trust { justify-content: flex-start; }
  .hero-fan .fan { height: 680px; margin: 24px 0 0; width: 100%; }
  .hero-fan .fan img { width: 250px; top: 20px; }
}

/* The founder (2026-11-12): his words at reading width, signed. */
.founder-body { max-width: 62ch; }
.founder-body p { margin: 0 0 16px; }
.founder-sign { margin-top: 24px !important; color: var(--ink); font-weight: 700; }
.founder-sign span { display: block; font-weight: 500; font-size: 14px; color: var(--faint); }
/* The brand line as the hero (2026-11-12): two even lines, never "better." alone. */
.hero-title, .close h2 { text-wrap: balance; }

/* The five-screen home page (2026-11-12). */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-by { margin: 24px 0 0; font-size: 14px; font-weight: 600; color: var(--soft); letter-spacing: .01em; }
.steps { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps figure { margin: 0; text-align: center; }
.steps img { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
          mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.steps figcaption { color: var(--soft); font-size: 16px; margin: 4px auto 0; max-width: 26ch; }
.steps figcaption b { display: block; color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 4px; }
.proof-nums { margin: 0; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); text-align: center; }
.proof-nums dt { font-size: clamp(56px, 9vw, 88px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.proof-nums dd { margin: 10px auto 0; max-width: 22ch; color: var(--soft); }
.proof-src { margin: 28px 0 0; text-align: center; font-size: 13px; color: var(--faint); }
.founder .text-link { display: inline-block; margin-top: 4px; }
.proof-nums dd { text-wrap: balance; }
/* The coach on /about (2026-11-12): one number, then one sentence. */
.coach { margin: 32px 0 40px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coach-num { margin: 0; font-size: clamp(56px, 9vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.coach-label { margin: 6px 0 0; font-size: 18px; font-weight: 700; color: var(--ink); }
.coach-line { margin: 14px 0 0; max-width: 46ch; }

/* Contrast between sections (2026-11-12, after Apple, Whoop, Strava): the
   proof on the page's one light band, the product larger in the hero, and
   the headline larger against calm body text. */
.proof-band { margin-top: 96px; background: var(--ink); color: #0b0c0e; }
.proof-band .band.proof { padding: 72px 16px; }
.proof-band .proof-nums dt { color: #0b0c0e; }
.proof-band .proof-nums dd { color: rgba(11, 12, 14, 0.7); }
.proof-band .proof-src { color: rgba(11, 12, 14, 0.58); }

/* Henry's photo (2026-11-12, the 2026 IBJJF European No-Gi): beside the
   founder's words on a laptop, above them on a phone, and at the top of
   /about. A real face builds trust where a screenshot cannot. */
.founder-grid { display: grid; gap: 32px; align-items: center; max-width: 920px; margin: 0 auto; }
@media (min-width: 760px) { .founder-grid { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; } }
.founder-photo { margin: 0; }
.founder-photo img { display: block; width: 100%; max-width: 360px; height: auto; border-radius: 18px; border: 1px solid var(--line); }
.about-photo { margin: 28px 0 32px; }
.about-photo img { max-width: 320px; margin: 0 auto; }
.founder-body h2 { margin-bottom: 14px; }

/* Students' words under the proof (2026-11-12): two quotes side by side on
   a laptop, stacked on a phone, the source once under both. */
.quotes { display: grid; gap: 40px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; } }
.quote figure { margin: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; color: var(--ink); font-size: clamp(19px, 2.2vw, 22px); font-weight: 600; line-height: 1.45; letter-spacing: -0.005em; }
.quote figcaption { margin-top: 16px; color: var(--soft); font-size: 15px; }
.quote figcaption b { color: var(--ink); }
.quote-src { margin: 32px 0 0; text-align: center; font-size: 13px; color: var(--faint); }
.quote-src { text-wrap: balance; }

/* How it works as tabs on a phone (2026-11-12). The control is the app's
   own segmented look; one phone shows at a time. */
.step-tabs { display: none; }
@media (max-width: 759px) {
  .steps.tabbed { display: block; }
  .steps.tabbed .step-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; margin: 0 auto 28px; max-width: 400px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
  .step-tabs button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--soft);
    font: 700 14px/1.1 "Manrope", system-ui, sans-serif; cursor: pointer; padding: 0 6px; }
  .step-tabs button[aria-selected="true"] { background: var(--ink); color: var(--on-accent); }
  .step-tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .steps.tabbed figure { display: none; }
  .steps.tabbed figure.on { display: block; animation: step-in .32s ease both; }
}
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .steps.tabbed figure.on { animation: none; } }

/* The bar at the foot on a phone (2026-11-12). */
.stick { display: none; }
@media (max-width: 759px) {
  .stick { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; padding: 10px 10px 10px 18px; border-radius: 20px;
    background: rgba(20, 21, 24, 0.92); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0, 0, 0, .55);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transform: translateY(140%); transition: transform .32s ease; }
  .stick.up { transform: none; }
  .stick p { margin: 0; display: grid; line-height: 1.2; }
  .stick p b { color: var(--ink); font-size: 15px; }
  .stick p span { color: var(--faint); font-size: 13px; }
  .stick .lp-cta { padding: 12px 16px; font-size: 15px; box-shadow: none; white-space: nowrap; }
}
@media (max-width: 759px) and (prefers-reduced-motion: reduce) { .stick { transition: none; } }

/* The support page's questions as rows that open (2026-11-13). */
.faq-lines details { border-bottom: 1px solid var(--line); }
.faq-lines details:first-child { border-top: 1px solid var(--line); }
.faq-lines summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 0; color: var(--ink); font-weight: 700; }
.faq-lines summary::-webkit-details-marker { display: none; }
.faq-lines summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
.faq-ico { width: 20px; height: 20px; flex: none; color: var(--soft); transition: transform .2s ease; }
.faq-lines details[open] .faq-ico { transform: rotate(180deg); }
.faq-lines details p { margin: 0 0 18px; }
@media (prefers-reduced-motion: reduce) { .faq-ico { transition: none; } }

/* The price and the trust row (2026-11-15, SITE_PLAN items 1 and 2): the
   price in the order it happens, then four plain facts under the button,
   quiet, separated by a thin dot rather than ticks. */
.price-line { max-width: 44ch; margin: 0 auto !important; text-wrap: balance; }
.assure { list-style: none; margin: 24px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; font-size: 14px; color: var(--soft); max-width: 560px; }
.assure li { display: inline-flex; align-items: center; }
.assure li + li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--faint); margin: 0 10px; }

/* The proof as one row on a phone too (2026-11-15, SITE_PLAN item 7):
   586 points of phone for three numbers became one band. */
@media (max-width: 559px) {
  .proof-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .proof-nums dt { font-size: clamp(30px, 10vw, 44px); }
  .proof-nums dd { font-size: 14px; line-height: 1.35; margin-top: 8px; }
  .proof-band .band.proof { padding: 48px 12px; }
}

/* The students' whole words on /about (2026-11-15, SITE_PLAN item 6). */
.about-quotes { margin: 56px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.about-quotes figure { margin: 24px 0 0; }
.about-quotes blockquote { margin: 0; }
.about-quotes blockquote p { margin: 0; color: var(--ink); font-weight: 600; }
.about-quotes figcaption { margin-top: 10px; color: var(--soft); font-size: 15px; }
.about-quotes .quote-src { margin-top: 20px; font-size: 13px; color: var(--faint); }

/* The hero in the store set's look (2026-11-15, SITE_PLAN item 10, Henry
   took the glow): the violet wash at the top of every App Store frame and
   behind the welcome screen's line (app/assets/welcome-glow.png, #ae8fff),
   the site's one gradient. On a phone the phone runs off the hero's foot
   right under the words, as in the store's first frame. */
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 760px; pointer-events: none;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(174, 143, 255, .30) 0%, rgba(174, 143, 255, .12) 45%, rgba(174, 143, 255, 0) 80%);
}
@media (min-width: 920px) {
  .hero::before { background: radial-gradient(ellipse 60% 90% at 30% 10%, rgba(174, 143, 255, .26) 0%, rgba(174, 143, 255, .10) 45%, rgba(174, 143, 255, 0) 80%); }
}
.hero-in { position: relative; }
@media (max-width: 919px) {
  .hero { min-height: 0; padding: 40px 16px 0; border-bottom: 0; }
  .hero-in { gap: 36px; }
  .hero-product { height: 470px; overflow: hidden; align-items: flex-start; }
  .hero .phone-shot .phone { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .hero-product::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
}

/* Every screen on /demo as the App Store's frames (2026-11-15, SITE_PLAN
   item 11): the seven of docs/store/v2, a row that scrolls sideways on a
   phone as the store's own does, a grid on a laptop. Each frame carries its
   own line, so no caption is drawn under it. */
.frames { display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 280px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 28px -16px 0; padding: 0 16px 12px; scrollbar-width: none; }
.frames::-webkit-scrollbar { display: none; }
.frames figure { margin: 0; scroll-snap-align: center; }
.frames img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); background: #0b0b10; }
@media (min-width: 900px) {
  .frames { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin: 32px 0 0; padding: 0; }
}
@media (max-width: 559px) {
  .assure { flex-direction: column; align-items: center; gap: 4px; }
  .assure li + li::before { display: none; }
}
@media (max-width: 919px) {
  .hero { padding-top: 28px; }
  .hero-in { gap: 28px; }
  .hero-by { margin-top: 16px; }
}
@media (min-width: 900px) {
  .frames { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
  .frames figure { width: calc(25% - 15px); }
}
/* Three students' words (2026-11-15, Phil added): three across on a
   laptop, the highest belt first. */
@media (min-width: 1000px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1120px; gap: 48px; } }

/* Apple's own badge (2026-11-15, SITE_PLAN item 5; Apple's App Store
   Marketing Guidelines: the artwork as supplied, never redrawn or
   recoloured, at least 40 points tall, clear space around it). The black
   badge with its grey edge, as Apple makes it for a dark page. The top
   bar and the phone's bar keep "Download". */
.store-badge { display: inline-flex; align-items: center; min-height: 52px; padding: 0; border-radius: 9px; transition: transform .15s, opacity .15s; }
.store-badge img { display: block; height: 52px; width: auto; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge:active { opacity: .8; }
.store-badge:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
/* The trust row stacked at every width: on a laptop's close and Pricing's
   card it wrapped with a dot at the head of the second line. */
.assure { flex-direction: column; align-items: center; gap: 4px; }
.assure li + li::before { display: none; }

/* The violet glow on every page (2026-11-15, Henry: "introduce the violet
   glow to the other pages"): the store set's wash at the top of the page,
   behind the title, as the home page's hero has it. Drawn as the page's
   own background so it sits under everything and scrolls away with the
   top; the home page keeps the hero's glow instead of a second one. */
body {
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(174, 143, 255, .24) 0%, rgba(174, 143, 255, .09) 45%, rgba(174, 143, 255, 0) 80%) no-repeat top center / 100% 640px,
    var(--bg);
}
@media (min-width: 920px) {
  body { background:
    radial-gradient(ellipse 50% 100% at 50% 0%, rgba(174, 143, 255, .22) 0%, rgba(174, 143, 255, .08) 45%, rgba(174, 143, 255, 0) 80%) no-repeat top center / 100% 680px,
    var(--bg); }
}
body:has(.hero) { background: var(--bg); }

/* A number's unit smaller beside it, never on a line of its own
   (2026-11-15, Henry's phone: "40 sec" broke after "40" in a third of
   the band), as Apple's and Whoop's stats set theirs. */
.proof-nums dt { white-space: nowrap; }
.proof-nums .unit { font-size: .42em; letter-spacing: -0.01em; margin-left: .12em; }
/* Room above Apple's badge in a closing card (Apple asks for clear space
   round it; the line above sat on it). */
.lp-close .store-badge { margin-top: 20px; }
.lp-close .price-line { margin-top: 8px !important; }

/* The rise as blocks are reached, larger on a laptop (2026-11-15, Henry:
   "the info to appear to slide onto the screen on the computer view
   too"): 18 points was hard to see on a big screen. Still nothing for a
   reader who asked for less motion (reveal.js). */
@media (min-width: 920px) {
  .reveal-ready [data-reveal] { transform: translateY(36px); transition-duration: .8s, .8s; }
}

/* How it is paid for, as three steps on Pricing (2026-11-15). */
.price-steps { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; gap: 0; counter-reset: s; }
.price-steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.price-steps li:last-child { border-bottom: 1px solid var(--line); }
.price-steps li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; color: var(--ink); background: var(--raised); }
.price-steps b { color: var(--ink); font-weight: 700; }
.price-steps span { color: var(--soft); font-size: 15px; line-height: 1.45; }
.faq-more { margin: 14px 0 0; font-size: 15px; }
.assure a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .2em; }
.assure a:hover { color: var(--ink); }

/* The pattern on /demo (2026-11-15): Henry's four notes, then Ozu's
   reading in its violet, one tap at a time. */
.pat { max-width: 560px; }
.pat-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pat-note { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--danger); border-radius: 14px; padding: 14px 16px; }
.pat-note[hidden] { display: none; }
.pat-note time { display: block; font-size: 13px; color: var(--faint); font-weight: 600; }
.pat-kind { display: block; margin-top: 2px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--danger); }
.pat-note p { margin: 6px 0 0; color: var(--ink); font-weight: 600; }
.pat-read { margin-top: 14px; background: var(--ai-soft); border: 1px solid var(--ai-line); border-radius: 16px; padding: 16px 18px; }
.pat-read[hidden] { display: none; }
.pat-by { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; color: var(--ai); font-weight: 600; }
.pat-by svg { width: 14px; height: 14px; }
.pat-head { margin: 8px 0 0; font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.pat-line { margin: 8px 0 0; color: var(--soft); }
.pat-next { margin: 10px 0 0; color: var(--good); font-weight: 600; }
.pat-next b { font-weight: 800; }
.pat-ctl { display: flex; align-items: center; gap: 20px; margin-top: 18px; min-height: 52px; }
.pat-ctl [hidden] { display: none; }
.pat .demo-note { text-align: left; color: var(--faint); }
@media (prefers-reduced-motion: no-preference) {
  .pat-live .pat-new, .pat-live .pat-read { animation: pat-in .45s cubic-bezier(.2, .7, .2, 1); }
}
@keyframes pat-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Larger screens on a laptop (2026-11-15, item 1 of Henry's five): the
   App Store frames three across (were four, about 250 wide, too small to
   read), and the hero's phone a size up. */
@media (min-width: 900px) {
  .frames figure { width: calc(33.333% - 14px); max-width: 340px; }
}
@media (min-width: 920px) {
  .hero .phone-shot { width: 420px; }
}
.pat-again { background: none; border: 0; padding: 0 4px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }

/* What the journal builds, on the home page (2026-11-15): two of the
   store's frames, side by side. */
.builds-more { margin: 20px auto 0; max-width: 560px; text-align: center; color: var(--soft); }
@media (min-width: 900px) {
  .frames.frames-two figure { width: 300px; max-width: 300px; }
  .builds-more { margin-top: 28px; }
}
.builds .band-head .lede { margin: 14px auto 0; max-width: 46ch; }
.frames.frames-two { grid-auto-columns: minmax(0, 1fr); grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; overflow: visible; margin: 28px 0 0; padding: 0; gap: 12px; }
@media (min-width: 900px) { .frames.frames-two { gap: 20px; } }
/* /demo's screens in three groups (2026-11-15): a heading and one line
   over each row of three. */
.frame-group { margin-top: 44px; }
.frame-group h3 { font-size: 22px; margin: 0 0 6px; }
.frame-group p { margin: 0; max-width: 46ch; }
.frame-group .frames { margin-top: 18px; }
@media (min-width: 900px) {
  .frame-group { margin-top: 64px; text-align: center; }
  .frame-group h3 { font-size: 26px; }
  .frame-group p { margin: 0 auto; }
  .frame-group .frames { margin-top: 24px; }
}
