/*
  Design read: a premium product page for a course, in the manner of the best hardware makers.
  White, near black and one quiet green that means "it worked". One sans family. Very large type,
  a lot of air, grey tiles with soft corners, black sections for the moments that matter.
  Motion is tied to scrolling: the recording becomes text becomes tasks while you scroll.

  Light only. Shape rule: buttons are pills, fields 14px, tiles 28px.
  Layers: page 0, sticky top bar 10, word window 20.
  Fonts: Geist and Geist Mono, free under the SIL Open Font License (assets/fonts/OFL.txt).
*/
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #0f7b3a;
  --accent-hi: #30d158;
  --night: #0a0a0b;
  --night-2: #161617;
  --night-ink: #f5f5f7;
  --night-muted: #a1a1a6;
  --field: #ffffff;
  --block: #1d1d1f;
  --block-ink: #f5f5f7;
  --btn: #1d1d1f;
  --btn-ink: #ffffff;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 30px 60px -30px rgba(0, 0, 0, 0.25);
  --radius: 14px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --sans: "Geist", "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --display: "Geist", "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "Geist Mono", "SF Mono", "Cascadia Mono", Consolas, Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.5 var(--sans);
  letter-spacing: -0.011em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { max-width: 1120px; margin: 0 auto; padding: 0 24px 72px; }
main.narrow { max-width: 688px; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--bg); }

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 2.75rem); font-weight: 650; line-height: 1.07; letter-spacing: -0.035em; }
h2 { font-size: 1.1rem; font-weight: 650; line-height: 1.3; margin-bottom: 10px; }
h3 { font-size: 1.2rem; font-weight: 650; line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 12px; }
p { margin: 0 0 12px; max-width: 62ch; text-wrap: pretty; }
ol { margin: 0 0 12px; padding-left: 1.25em; max-width: 62ch; }
li { margin-bottom: 6px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.lead { font-size: 1.2rem; line-height: 1.4; color: var(--muted); letter-spacing: -0.015em; }

/* Top bar. Thin, see through, always there. */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 52px;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0 -100vmax;
  z-index: -1;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.wordmark { font-weight: 650; font-size: 1rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 28px; font-size: 0.82rem; }
.nav-links a { color: var(--ink); opacity: 0.8; text-decoration: none; padding: 8px 0; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.wide-only { display: none; }
@media (min-width: 640px) { .wide-only { display: inline; } }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: text-decoration-color 0.2s; }
.link:hover { text-decoration-color: var(--ink); }

/* Buttons are pills. Primary is black. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  border-radius: 980px;
  border: 0;
  background: #e8e8ed;
  color: var(--ink);
  font: inherit;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s var(--ease), opacity 0.2s;
}
.btn:hover { background: #dedee3; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: #3a3a3d; }
.btn-lg { min-height: 56px; padding: 12px 32px; font-size: 1.1rem; }
.btn.is-done { background: var(--ink); color: var(--bg); }
.btn[disabled] { opacity: 0.45; cursor: default; }
a:focus-visible, button:focus-visible, textarea:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible { border-radius: 980px; }
.arr { display: inline-block; margin-left: 8px; transition: transform 0.3s var(--ease); }
a:hover > .arr { transform: translateX(4px); }

/* ---------- Home ---------- */

.hero { padding: clamp(64px, 12vh, 132px) 0 clamp(64px, 11vh, 120px); text-align: center; }
.hero h1 { margin: 0 auto; font-size: clamp(2.9rem, 8.4vw, 6.25rem); font-weight: 650; line-height: 0.98; letter-spacing: -0.055em; max-width: 13ch; }
.hero .lead { margin: 28px auto 36px; font-size: clamp(1.15rem, 1.9vw, 1.5rem); max-width: 36ch; }
.hero-go { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; }
.hero .phone-only { margin-top: 22px; }

/* The scene. It stays on screen while you scroll, and the recording becomes text, then tasks. */
.scene { position: relative; height: 340vh; }
.scene-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-content: center; gap: 28px; padding: 76px 0 40px; color: var(--night-ink); background: var(--night); box-shadow: 0 0 0 100vmax var(--night); clip-path: inset(0 -100vmax); }
.caps { position: relative; min-height: 9.5rem; }
.cap { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(18px); transition: opacity 0.5s, transform 0.7s var(--ease); }
.cap-label { margin: 0 0 10px; font-size: 0.95rem; font-weight: 550; color: var(--accent-hi); }
.cap-say { margin: 0; max-width: 16ch; font: 650 clamp(1.8rem, 4.2vw, 3.4rem)/1.04 var(--display); letter-spacing: -0.045em; }
.stage { position: relative; height: min(52vh, 440px); border-radius: var(--radius-lg); background: var(--night-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); overflow: hidden; }
.layer { position: absolute; inset: 0; display: grid; align-content: center; padding: clamp(20px, 4vw, 44px); opacity: 0; transform: translateY(28px) scale(0.98); transition: opacity 0.5s, transform 0.8s var(--ease); }
[data-step="0"] .cap-0, [data-step="1"] .cap-1, [data-step="2"] .cap-2,
[data-step="0"] .layer-0, [data-step="1"] .layer-1, [data-step="2"] .layer-2 { opacity: 1; transform: none; }
[data-step="1"] .layer-0, [data-step="2"] .layer-0, [data-step="2"] .layer-1,
[data-step="1"] .cap-0, [data-step="2"] .cap-0, [data-step="2"] .cap-1 { transform: translateY(-28px) scale(0.98); }
.file-name { display: flex; align-items: baseline; gap: 14px; font: 500 clamp(1.1rem, 2.4vw, 1.6rem) var(--mono); letter-spacing: -0.02em; }
.file-name span { font: 0.95rem var(--sans); color: var(--night-muted); }
.wave { display: flex; align-items: center; gap: clamp(2px, 0.5vw, 5px); height: min(26vh, 200px); margin-top: 22px; }
.wave i { flex: 1; height: calc(var(--v) * 100%); min-width: 2px; border-radius: 99px; background: var(--night-ink); transform-origin: center; transition: transform 0.7s var(--ease), opacity 0.5s; }
.scene-pin:not([data-step="0"]) .wave i { transform: scaleY(0.06); opacity: 0.3; }
.lines { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; gap: clamp(8px, 1.6vh, 14px); }
.lines li { margin: 0; display: grid; grid-template-columns: 3.4rem 1fr; gap: 10px; font-size: clamp(0.9rem, 1.6vw, 1.12rem); line-height: 1.4; opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.6s var(--ease); }
.lines time { font: 0.8rem/1.9 var(--mono); color: var(--accent-hi); }
[data-step="1"] .lines li { opacity: 1; transform: none; transition-delay: calc(0.12s + var(--i) * 0.09s); }
.demo-tasks { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.demo-tasks th { text-align: left; font-weight: 500; font-size: 0.85rem; color: var(--muted); padding: 0 12px 10px 0; }
.demo-tasks td { padding: 14px 12px 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.demo-tasks td:first-child { font-weight: 650; }
.demo-tasks td:last-child, .demo-tasks th:last-child { padding-right: 0; white-space: nowrap; }
.stage .demo-tasks { font-size: clamp(1rem, 2vw, 1.35rem); letter-spacing: -0.02em; }
.stage .demo-tasks th { color: var(--night-muted); }
.stage .demo-tasks td { border-top-color: rgba(255, 255, 255, 0.12); padding: clamp(12px, 2.4vh, 22px) 12px clamp(12px, 2.4vh, 22px) 0; }
.stage .demo-tasks td:last-child { color: var(--accent-hi); }
.stage .demo-tasks tbody tr { opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.6s var(--ease); }
[data-step="2"] .demo-tasks tbody tr { opacity: 1; transform: none; transition-delay: calc(0.15s + var(--i) * 0.12s); }
.scene-bar { height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.scene-bar i { display: block; height: 100%; background: var(--night-ink); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.scene-note { margin: 0; max-width: none; font-size: 0.88rem; color: var(--night-muted); }
@media (min-width: 900px) {
  .scene-pin { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-rows: auto auto auto; column-gap: 64px; align-items: center; }
  .caps { grid-row: 1; min-height: 15rem; align-self: center; }
  .stage { grid-row: 1; grid-column: 2; height: min(60vh, 500px); }
  .scene-bar, .scene-note { grid-column: 1 / -1; }
}
/* With motion off, or without scripts, the three stages simply stand under each other. */
.scene.is-static { height: auto; }
.scene.is-static .scene-pin { position: static; height: auto; padding: 72px 0; gap: 20px; display: block; }
.scene.is-static .cap, .scene.is-static .layer, .scene.is-static .lines li, .scene.is-static .demo-tasks tbody tr { position: static; opacity: 1; transform: none; }
.scene.is-static .caps { min-height: 0; }
.scene.is-static .stage { height: auto; margin: 20px 0 56px; }
.scene.is-static .scene-bar { display: none; }

/* Sections */
.band { padding: 96px 0; }
@media (min-width: 940px) { .band { padding: 150px 0; } }
.band + .band { padding-top: 0; }
.h-sec { font-size: clamp(2.3rem, 5.6vw, 4.5rem); font-weight: 650; line-height: 1; letter-spacing: -0.05em; margin-bottom: 44px; max-width: 14ch; }
.band > .h-sec + .lead { margin: -22px 0 52px; max-width: 40ch; font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.band > .small { margin: 28px 0 0; }

/* What it takes: four facts in large type */
.needs { margin: 0; display: grid; gap: 36px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 820px) { .needs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.needs > div { padding-top: 18px; border-top: 1px solid var(--line); }
.needs dt { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.1; }
.needs dd { margin: 8px 0 0; color: var(--muted); }
.tap-hint { margin: 40px 0 0; max-width: none; font-size: 0.92rem; color: var(--muted); }

/* Tiles: soft grey, soft corners. One of them is black. */
.tiles { display: grid; gap: 16px; }
.tile { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); }
.tile-n { display: block; margin-bottom: clamp(40px, 9vw, 96px); font-size: 0.95rem; font-weight: 550; color: var(--muted); font-variant-numeric: tabular-nums; }
.tile h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 10px; }
.tile p { margin: 0; color: var(--muted); font-size: 1.08rem; max-width: 28ch; }
.tile-dark { background: var(--night); color: var(--night-ink); }
.tile-dark .tile-n, .tile-dark p { color: var(--night-muted); }
.tile-dark .tile-n { margin-bottom: 28px; }
@media (min-width: 860px) {
  .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tiles > .tile:nth-child(1) { grid-column: span 3; }
  .tiles > .tile:nth-child(2) { grid-column: span 3; grid-row: span 2; }
  .tiles > .tile:nth-child(3) { grid-column: span 3; }
  .tiles > .tile:nth-child(4) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
  .tiles > .tile:nth-child(4) .tile-n { margin-bottom: 0; grid-column: 1 / -1; }
}
/* The tool card: four questions and their answers. */
.card { margin: 0; padding: 32px; border-radius: var(--radius-lg); background: var(--night); color: var(--night-ink); }
.tile .card { padding: 0; margin-top: 30px; background: none; }
.card dl { margin: 0; display: grid; }
.card dl > div { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.card dt { font-size: 0.85rem; color: var(--night-muted); }
.card dd { margin: 3px 0 0; font-size: 1.08rem; line-height: 1.35; letter-spacing: -0.015em; }
.card dl > div:last-child dd { color: var(--accent-hi); }
.card figcaption { margin-top: 18px; font-size: 0.85rem; color: var(--night-muted); }
.block > .card { max-width: 32rem; }
/* Ideas for your own tool. The one in the middle of the screen is lit. */
.ideas { list-style: none; margin: 0; padding: 0; max-width: none; }
.ideas li { margin: 0; padding: 3px 0; font: 650 clamp(1.35rem, 2.5vw, 2rem)/1.15 var(--display); letter-spacing: -0.04em; color: #c7c7cc; transition: color 0.5s; }
.ideas li.on, html:not(.anim) .ideas li { color: var(--ink); }

/* The real window: two of our own screenshots in a grey tile. */
.prints { display: grid; gap: 16px; }
.print { margin: 0; padding: clamp(18px, 4vw, 48px) clamp(14px, 4vw, 48px) 24px; border-radius: var(--radius-lg); background: var(--surface); }
.print .zoom { display: block; margin: 0 auto; }
.print .shot { margin: 0; border: 0; border-radius: 10px; box-shadow: var(--shadow); }
.print figcaption { padding-top: 20px; text-align: center; font-size: 0.95rem; color: var(--muted); }
.proof-note { margin: 32px 0 0; max-width: 52ch; color: var(--muted); }

/* Six modules: a quiet list */
.toc { list-style: none; margin: 0; padding: 0; max-width: none; border-top: 1px solid var(--line); }
.toc > li { margin: 0; border-bottom: 1px solid var(--line); }
.toc-row { display: grid; grid-template-columns: 3rem 1fr; gap: 4px 0; padding: 28px 0; color: inherit; text-decoration: none; }
.toc-num { font-size: 1rem; font-weight: 550; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 0.55rem; }
.toc-main { display: grid; gap: 6px; }
.toc-title { font: 650 clamp(1.5rem, 3vw, 2.2rem)/1.08 var(--display); letter-spacing: -0.045em; transition: opacity 0.2s; }
.toc-out { color: var(--muted); max-width: 52ch; }
.toc-learn { font-size: 0.9rem; max-width: 52ch; }
.toc-meta { grid-column: 2; margin-top: 10px; font-size: 0.92rem; color: var(--muted); white-space: nowrap; }
a.toc-row .toc-meta { color: var(--ink); font-weight: 550; }
a.toc-row:hover .toc-title { opacity: 0.6; }
.is-soon .toc-title { color: var(--muted); }
@media (min-width: 760px) {
  .toc-row { grid-template-columns: 5rem 1fr auto; align-items: start; gap: 0 24px; }
  .toc-meta { grid-column: 3; margin-top: 0.7rem; }
}
.mod-link { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.mod-link:hover { text-decoration-color: var(--ink); }
.vault-line { margin: 32px 0 0; max-width: 70ch; }
.band > .vault-line + .small { margin-top: 12px; }
.vault-item { padding: 28px 0; border-top: 1px solid var(--line); }
.vault-item .h-part { margin-bottom: 8px; overflow-wrap: anywhere; }
.vault-item dl { margin: 16px 0 0; display: grid; gap: 12px; }
.vault-item dt { font-size: 0.85rem; color: var(--muted); }
.vault-item dd { margin: 2px 0 0; max-width: 62ch; }
.path-ask { font-weight: 650; margin: 20px 0 10px; }
.btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.path { margin-bottom: 8px; }
.path > .do { animation: line-in 0.4s var(--ease); }

/* Why local: black from edge to edge. The sentence lights up as it crosses the screen. */
.local { color: var(--night-ink); background: var(--night); box-shadow: 0 0 0 100vmax var(--night); clip-path: inset(0 -100vmax); }
.band.local, .band.local + .band { padding-top: 96px; }
@media (min-width: 940px) { .band.local, .band.local + .band { padding-top: 150px; } }
.local .h-sec { font-size: clamp(2.8rem, 8.6vw, 7rem); line-height: 0.95; letter-spacing: -0.06em; max-width: 11ch; margin-bottom: 88px; }
.lit .w { transition: opacity 0.4s; }
.anim .lit .w { opacity: 0.22; }
.anim .lit .w.on { opacity: 1; }
.facts { margin: 0; display: grid; gap: 36px 48px; }
.facts > div { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.facts dt { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.03em; }
.facts dd { margin: 8px 0 0; color: var(--night-muted); max-width: 40ch; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }

/* Price: three tiles */
.plans { display: grid; gap: 16px; }
.plan { display: flex; flex-direction: column; padding: clamp(26px, 3.4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); }
.plan h3 { margin-bottom: 8px; font-size: 1.5rem; letter-spacing: -0.035em; }
.plan-text { color: var(--muted); margin-bottom: 44px; flex: 1; max-width: 26ch; }
.plan-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.plan-tier + .plan-tier { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 28px; font-size: 0.95rem; }
.legal-part { padding: 36px 0 12px; margin-top: 36px; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.legal-part p, .legal-list { max-width: 64ch; }
.legal-list { margin: 0 0 16px; padding-left: 1.2rem; }
.legal-list li { margin: 6px 0; }
.terms-more { margin: 12px 0 0; font-size: 0.95rem; }
.foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.plan-buy { margin-top: 18px; width: 100%; }
.plan-buy[hidden] { display: none; }
.plan-price strong { font: 650 clamp(3rem, 5.4vw, 4.4rem)/1 var(--display); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.plan-then { color: var(--muted); font-size: 0.95rem; }
.plan-label { flex-basis: 100%; font-size: 0.92rem; color: var(--muted); margin-bottom: 4px; }
@media (min-width: 820px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.closer { text-align: center; }
.closer .h-sec { margin: 0 auto 44px; max-width: 12ch; font-size: clamp(2.9rem, 8.4vw, 6.25rem); line-height: 0.98; letter-spacing: -0.055em; }

.foot { padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
main.narrow .foot { margin-top: 72px; }
.foot p { margin-bottom: 4px; max-width: none; }

/* ---------- Step page ---------- */

.bar { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; margin-bottom: 44px; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.9s var(--ease); }
.btn.is-ok { background: var(--accent); border-color: var(--ink); color: var(--bg); animation: pop 0.45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.04); } }
/* The end of a module: a tick that draws itself. */
.done-mark { position: relative; width: 72px; height: 72px; margin: 24px 0 28px; border-radius: 50%; background: var(--accent); animation: pop-in 0.7s var(--ease) backwards; }
.done-mark::after { content: ""; position: absolute; left: 25px; top: 15px; width: 18px; height: 32px; border: solid var(--bg); border-width: 0 5px 5px 0; border-radius: 2px; transform: rotate(45deg); animation: tick 0.5s var(--ease) 0.35s backwards; }
@keyframes pop-in { from { opacity: 0; transform: scale(0.4); } }
@keyframes tick { from { opacity: 0; transform: rotate(45deg) scale(0.4); } }
.step-head { padding-top: 8px; }
.map + .bar + .step-head { padding-top: 0; }
/* Where you are, and the whole route when opened. */
.map { margin-top: 20px; font-variant-numeric: tabular-nums; }
.map summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; font-size: 0.9rem; color: var(--muted); cursor: pointer; list-style: none; }
.map summary::-webkit-details-marker { display: none; }
.map-open { color: var(--ink); font-weight: 600; }
.map-open::after { content: "+"; display: inline-block; margin-left: 8px; font: 400 1.2rem/1 var(--display); vertical-align: -0.08em; transition: transform 0.3s var(--ease); }
.map[open] .map-open::after { transform: rotate(45deg); }
.map ol { list-style: none; margin: 0 0 20px; padding: 0; max-width: none; animation: line-in 0.4s var(--ease); }
.map li { margin: 0; border-top: 1px solid var(--line); }
.map a { display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: center; gap: 0 8px; min-height: 48px; padding: 8px 0; color: var(--ink); text-decoration: none; }
.map a:hover span:nth-child(2) { text-decoration: underline; text-underline-offset: 4px; }
.map-n { color: var(--muted); font-weight: 600; }
.map-min { color: var(--muted); font-size: 0.85rem; }
.map .is-done .map-n, .map .is-done .map-min { color: var(--ink); }
.map .is-now a { font-weight: 650; }
.map .is-now .map-n { color: var(--ink); }
.meta { margin-top: 10px; color: var(--muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
/* The three parts of a step: do, see, answer. */
.h-part { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 16px; }
.do { list-style: none; padding: 0; counter-reset: do; }
.do li { counter-increment: do; position: relative; margin: 0; padding: 9px 0 9px 2.6rem; }
.do li::before { content: counter(do); position: absolute; left: 0; top: 8px; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--ink); font-size: 0.85rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.why { margin-top: 20px; color: var(--muted); }
.why strong { color: var(--ink); font-weight: 650; }
kbd { display: inline-block; padding: 0 7px; font: 600 0.82em/1.7 var(--mono); white-space: nowrap; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; }
.seen-table { padding: 20px 20px 4px; margin-bottom: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.block > .card { max-width: 30rem; }
/* A picture you can open large. */
.zoom { position: relative; display: block; max-width: 100%; margin: 0 0 10px; padding: 0; border: 0; background: none; font: inherit; cursor: zoom-in; border-radius: var(--radius); }
.zoom .shot { margin: 0; transition: border-color 0.15s; }
.zoom:hover .shot { border-color: var(--ink); }
.zoom-tag { position: absolute; right: 8px; bottom: 8px; padding: 3px 9px; font-size: 0.78rem; font-weight: 600; color: var(--btn-ink); background: var(--btn); border-radius: 6px; opacity: 0.92; }
.do .zoom, .aside .zoom { margin-top: 8px; }
.lightbox { max-width: 100vw; max-height: 100vh; margin: auto; padding: 16px; border: 0; background: transparent; color: #e7eaf0; text-align: center; }
.lightbox::backdrop { background: rgba(7, 9, 12, 0.9); }
.lightbox[open] { animation: rise 0.35s var(--ease); }
.lightbox-pic { max-width: calc(100vw - 32px); max-height: calc(100vh - 190px); overflow: auto; border-radius: var(--radius); }
.lightbox-pic img { display: block; max-width: none; height: auto; }
.lightbox-say { margin: 14px auto; max-width: 56ch; font-size: 0.9rem; opacity: 0.8; }
.lightbox .btn-primary { background: #eceef2; border-color: #eceef2; color: #0e1013; }
.nav + .step-head { padding-top: 48px; }
.step-head .lead { margin-top: 12px; }
.block { margin-top: 40px; }

pre { margin: 0; font: 0.9rem/1.55 var(--mono); }
.cmd { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; margin-bottom: 10px; }
.cmd pre, .term {
  background: var(--block);
  color: var(--block-ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.cmd pre { flex: 1 1 220px; white-space: pre-wrap; word-break: break-word; }
.term { overflow-x: auto; white-space: pre; margin-bottom: 10px; }
.term-wrap { white-space: pre-wrap; word-break: break-word; }
.shot { display: block; width: auto; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }

.warn { border-left: 3px solid var(--accent); padding-left: 16px; }
.answers { display: grid; gap: 8px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.answers .h-part { margin-bottom: 8px; }
.back-row { margin-top: 40px; font-size: 0.9rem; }

.paste, .search {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--field);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 10px;
  transition: border-color 0.15s;
}
.paste:hover, .search:hover { border-color: var(--muted); }
.paste { font: 0.9rem/1.5 var(--mono); resize: vertical; }
.search { min-height: 52px; margin: 28px 0 8px; }

/* A known error or a result: set apart by one rule on the left, not a box. */
.aside { border-left: 3px solid var(--ink); padding-left: 16px; margin-top: 40px; }
.aside.is-ok { border-color: var(--ink); }
.aside > :last-child { margin-bottom: 0; }
.aside h2 { margin-top: 16px; }

/* Choices in a row: the questions at the end, the plan at the start. */
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.q { padding: 24px 0 14px; border-top: 1px solid var(--line); }
.q h3 { margin-bottom: 14px; }
.q .muted { min-height: 1.6em; margin: 0; }
.btn.is-wrong { opacity: 0.45; text-decoration: line-through; animation: nope 0.35s; }
@keyframes nope { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.plan-ask { padding-top: 32px; border-top: 1px solid var(--line); }
.likely ol { margin: 0 0 20px; }

/* The certificate: a form on screen, one clean sheet on paper. */
.cert-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
/* The team page: one row per person, the email on the left and Remove on the right. */
.team-list { list-style: none; padding: 0; margin: 16px 0 20px; border-top: 1px solid var(--line); }
.team-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.team-list li span { min-width: 0; overflow-wrap: anywhere; }
.team-list .btn { flex: none; padding: 8px 16px; min-height: 0; }
.cert-form .search { flex: 1 1 220px; margin: 0; font-family: var(--sans); }
.cert-paper { margin: 28px 0 16px; padding: clamp(28px, 6vw, 56px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); animation: rise 0.7s var(--ease); }
.cert-kind { color: var(--ink); font-weight: 600; margin-bottom: 20px; }
.cert-name { font-family: var(--display); font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 660; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 14px; }
.cert-paper ul { margin: 18px 0 28px; padding-left: 1.2em; }
.cert-paper li { margin-bottom: 6px; }
.cert-foot { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); max-width: none; }
@media print {
  .nav, .step-head, .quiz, .likely, .cert > h2, .cert-form, .cert > p, .block > .btn, p.block, .foot { display: none !important; }
  body { background: #fff; color: #000; }
  .cert-paper { box-shadow: none; border: 2px solid #000; margin: 0; animation: none; }
}

/* Try first, then ask to see ours. */
.try { border-left: 3px solid var(--accent); padding-left: 16px; margin-bottom: 16px; }
.try p { margin-bottom: 14px; }
.shown { animation: line-in 0.5s var(--ease); }
.block .search { margin-top: 4px; font-family: var(--mono); }

/* The usual suspects for one step. Each opens to show its fix. */
.likely details { border-top: 1px solid var(--line); }
.likely details:last-child { border-bottom: 1px solid var(--line); }
.likely summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0; font-weight: 650; cursor: pointer; list-style: none; }
.likely summary::-webkit-details-marker { display: none; }
.likely summary::after { content: "+"; flex: none; font: 400 1.5rem/1 var(--display); color: var(--ink); transition: transform 0.3s var(--ease); }
.likely details[open] summary::after { transform: rotate(45deg); }
.likely summary:hover { color: var(--ink); }
.likely .aside { margin: 4px 0 24px; animation: line-in 0.4s var(--ease); }
.likely .aside > h3 { display: none; }

/* ---------- Step page, in the same manner ---------- */

.bar { height: 4px; background: #e8e8ed; border-radius: 4px; }
.bar-fill { background: var(--ink); border-radius: 4px; }
.btn.is-ok { background: var(--accent); color: #fff; }
.done-mark { background: var(--accent); }
.done-mark::after { border-color: #fff; }
.map summary { font-size: 0.85rem; }
.map-open { color: var(--ink); font-weight: 550; }
.map .is-done .map-n, .map .is-done .map-min { color: var(--accent); }
.h-part { font-size: 1.6rem; font-weight: 650; letter-spacing: -0.04em; }
.step-head h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); letter-spacing: -0.05em; line-height: 1; }
.do li::before { background: var(--surface); color: var(--ink); }
.why strong { font-weight: 650; }
kbd { background: var(--surface); border: 1px solid var(--line); border-bottom-width: 2px; }
.warn, .try, .aside.is-ok { border-left: 3px solid var(--accent); }
.aside { border-left-color: var(--line); }
.seen-table { background: var(--surface); border: 0; border-radius: var(--radius-lg); padding: 24px 24px 8px; }
.shot { border-color: var(--line); }
.zoom:hover .shot { border-color: var(--muted); }
.zoom-tag { border-radius: 980px; padding: 4px 12px; }
.lightbox .btn-primary { background: #f5f5f7; color: #1d1d1f; }
.cmd pre, .term { border: 0; border-radius: var(--radius); background: var(--night); }
.paste, .search { border: 1px solid var(--line); background: var(--field); }
.paste:hover, .search:hover { border-color: var(--muted); }
.answers { gap: 10px; border-top-color: var(--line); }
.cert-paper { border: 0; background: var(--surface); box-shadow: none; }
.cert-kind { color: var(--accent); }
.likely summary::after { color: var(--muted); }
.likely summary:hover { color: var(--muted); }

/* A word you can tap, and the small dark window that explains it. */
.word {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: help;
  text-decoration: underline dotted currentColor;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  border-radius: 4px;
  transition: opacity 0.2s;
}
.word:hover, .word[aria-expanded="true"] { opacity: 0.6; }
.term-pop {
  position: absolute;
  z-index: 20;
  padding: 16px 20px 18px;
  background: rgba(29, 29, 31, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--night-ink);
  border-radius: 18px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.4);
  font-size: 0.97rem;
  line-height: 1.45;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.96);
  transform-origin: var(--tip, 50%) 0;
  transition: opacity 0.2s, transform 0.35s var(--ease), visibility 0s 0.2s;
  pointer-events: none;
}
.term-pop.above { transform: translateY(6px) scale(0.96); transform-origin: var(--tip, 50%) 100%; }
.term-pop.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; pointer-events: auto; }
.term-pop strong { display: block; margin-bottom: 4px; font-size: 1.05rem; font-weight: 650; letter-spacing: -0.02em; }
.term-pop p { margin: 0; max-width: none; color: var(--night-muted); }

/* Phone and PC only parts. A phone here means a small touch screen. */
.phone-only { display: none !important; }
@media (max-width: 700px) and (pointer: coarse) {
  .phone-only { display: block !important; }
}

/* ---------- Motion ----------
   Calm and exact. Things rise into place as they come into view, and the scene follows the scroll.
   The class "anim" is set by the page only when the visitor has not asked for less motion. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes line-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes arrive { from { opacity: 0; transform: translateY(26px); } }
.anim .hero > * { animation: arrive 1s var(--ease) backwards; }
.anim .hero > :nth-child(2) { animation-delay: 0.12s; }
.anim .hero > :nth-child(3) { animation-delay: 0.22s; }
.anim .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 0.08s); }
.anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- 1 December 2026, night: no colour at all, and a darker, larger opening ----------
   The owner did not like the green text. The page is now black, white and greys only.
   The first screen is black and runs straight into the scene. The last screen is black too. */
:root { --accent: #1d1d1f; --accent-hi: #f5f5f7; }
.cap-label { color: var(--night-muted); }
.card dl > div:last-child dd { color: var(--night-ink); }
.stage .demo-tasks td:last-child { color: var(--night-ink); }
.lines time { color: var(--night-muted); }
.btn.is-ok, .done-mark { background: var(--ink); }
.cert-kind { color: var(--muted); }
.map .is-done .map-n, .map .is-done .map-min { color: var(--ink); }
.warn, .try, .aside.is-ok { border-left-color: var(--ink); }

.on-night { color: var(--night-ink); background: var(--night); box-shadow: 0 0 0 100vmax var(--night); clip-path: inset(0 -100vmax); }
.on-night .lead { color: var(--night-muted); }
.on-night .btn-primary { background: var(--night-ink); color: var(--ink); }
.on-night .btn-primary:hover { background: #ffffff; }
.on-night .link { color: var(--night-ink); text-decoration-color: rgba(255, 255, 255, 0.35); }
.on-night .link:hover { text-decoration-color: var(--night-ink); }
.hero { padding: clamp(56px, 10vh, 112px) 0 clamp(28px, 5vh, 56px); }
.hero h1 { font-size: clamp(3rem, 9.2vw, 7.25rem); line-height: 0.94; letter-spacing: -0.06em; }
.band.closer { padding-top: 96px; }
@media (min-width: 940px) { .band.closer { padding: 190px 0; } }
main:has(> .closer) { padding-bottom: 0; }
.closer + .foot { margin: 0; padding: 24px 0 40px; border-top: 0; color: var(--night-muted); background: var(--night); box-shadow: 0 0 0 100vmax var(--night); clip-path: inset(0 -100vmax); }
.closer + .foot .word { color: inherit; }

/* On the home page the top bar is dark glass. */
/* The top bar is dark only while it lies over the black top part. Further down it is the light bar of every other page. */
.nav::before { transition: background-color 0.3s, border-color 0.3s; }
.wordmark, .nav-links a { transition: color 0.3s, opacity 0.2s; }
.home.nav-night .nav::before { background: rgba(10, 10, 11, 0.72); border-bottom-color: rgba(255, 255, 255, 0.1); }
.home.nav-night .wordmark, .home.nav-night .nav-links a { color: var(--night-ink); }

/* The drawn stage has no frame: the dots hang in the dark. */
.stage.is-drawn { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.scene { height: 420vh; }
.scene-pin { padding-top: 64px; }/* The wave under the headline runs the full width of the window and fades out at both ends. */
.hero-wave { display: block; width: 100vw; height: clamp(110px, 20vh, 190px); margin: clamp(36px, 6vh, 64px) 0 0 calc(50% - 50vw); -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
/* The black of the top part reaches up behind the top bar, and stops exactly at its own lower edge. */
.hero.on-night { clip-path: inset(-240px -100vmax 0); }
/* Under the headline: the six things you build, one word each, on a thin line. */
.builds { list-style: none; margin: clamp(48px, 8vh, 88px) 0 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.builds li { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.builds a { display: block; height: 100%; padding: 20px 16px 22px 0; color: inherit; text-decoration: none; transition: opacity 0.2s; }
.builds a:hover { opacity: 0.7; }
.builds-n { display: block; font: 0.8rem var(--mono); color: var(--night-muted); margin-bottom: 14px; }
.builds strong { display: block; font: 650 clamp(1.3rem, 1.75vw, 1.6rem)/1.05 var(--display); letter-spacing: -0.04em; white-space: nowrap; }
.builds-say { display: block; margin-top: 8px; font-size: 0.92rem; line-height: 1.35; color: var(--night-muted); max-width: 22ch; }
@media (min-width: 640px) { .builds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .builds { grid-template-columns: repeat(6, minmax(0, 1fr)); } .builds li { border-bottom: 0; } .builds a { padding-right: 20px; } }
.anim .builds li { animation: arrive 0.9s var(--ease) backwards; animation-delay: calc(0.35s + var(--i) * 0.07s); }
/* The number strip now stands on white, under the real pictures. */
.band .stats { margin-top: clamp(56px, 8vw, 96px); border-top-color: var(--line); }
.band .stats dd { color: var(--muted); }
/* Less empty space between the parts of the home page. */
@media (min-width: 940px) { .home .band { padding: 112px 0; } .home .band + .band { padding-top: 0; } .home .band.local, .home .band.local + .band { padding-top: 112px; } .home .band.closer { padding: 150px 0; } }
/* ---------- The sales argument, added 1 December 2026 ---------- */
.kind { margin: 0 auto 26px; max-width: none; font-size: clamp(0.95rem, 1.5vw, 1.15rem); font-weight: 550; color: var(--night-muted); letter-spacing: -0.01em; }
.hero .lead { max-width: 40ch; }
/* Three moments where people stop. */
.pains { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; gap: 0; }
.pains li { margin: 0; padding: 28px 0 30px; border-top: 1px solid var(--line); }
.pains h3 { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.04; letter-spacing: -0.045em; }
.pains p { margin: 0; color: var(--muted); font-size: 1.12rem; max-width: 26ch; }
@media (min-width: 860px) { .pains { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; } }
.big-say { margin: clamp(48px, 8vw, 96px) 0 0; max-width: 24ch; font: 650 clamp(1.7rem, 4.2vw, 3.3rem)/1.06 var(--display); letter-spacing: -0.045em; }
/* A chat alone, next to a chat with the course. */
.versus { display: grid; gap: 16px; }
@media (min-width: 860px) { .versus { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.versus h3 { margin-bottom: 26px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.versus ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.versus li { margin: 0; padding: 16px 0; border-top: 1px solid var(--line); font-size: 1.1rem; line-height: 1.35; color: var(--muted); }
.versus .tile-dark li { border-top-color: rgba(255, 255, 255, 0.14); color: var(--night-ink); }
@media (min-width: 860px) { .versus li { min-height: 4.6rem; } }
/* Three tiles in a row. */
.trio { display: grid; gap: 16px; }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trio .tile p { max-width: 30ch; }
.gets { margin-bottom: 0; }
@media (min-width: 820px) { .needs.gets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.h-sub { margin: clamp(64px, 9vw, 110px) 0 28px; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.045em; }
.terms { margin: 28px 0 0; font-size: 1.2rem; font-weight: 550; letter-spacing: -0.02em; }
.fit { margin: clamp(48px, 7vw, 80px) 0 0; display: grid; gap: 32px 48px; }
.fit > div { padding-top: 18px; border-top: 1px solid var(--line); }
.fit dt { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.03em; }
.fit dd { margin: 8px 0 0; color: var(--muted); max-width: 44ch; }
@media (min-width: 760px) { .fit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Questions: one line each, opens on a tap. */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; padding: 16px 0; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; letter-spacing: -0.03em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.7rem; font-weight: 300; line-height: 1; color: var(--muted); transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 26px; max-width: 60ch; color: var(--muted); font-size: 1.1rem; animation: line-in 0.4s var(--ease); }
/* ---------- After the competitor study, 1 December 2026: say what it is, show the method, open the box ---------- */
.risk { margin: 22px auto 0; max-width: none; font-size: 0.95rem; color: var(--night-muted); }
.stats { margin: clamp(28px, 5vh, 52px) 0 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; text-align: left; }
.stats dt { font: 650 clamp(2rem, 4.6vw, 3.4rem)/1 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stats dd { margin: 8px 0 0; color: var(--night-muted); font-size: 0.95rem; line-height: 1.35; max-width: 20ch; }
.stats .stat-say { grid-column: 1 / -1; }
.stats .stat-say dt { font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.03em; line-height: 1.15; max-width: 18ch; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(3, minmax(0, 0.7fr)) minmax(0, 1.3fr); } .stats .stat-say { grid-column: auto; } }
.hero { padding-bottom: clamp(48px, 8vh, 88px); }
.hero h1 { max-width: 12ch; }
/* Pick a task on the left, read its card on the right. */
.chooser { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .chooser { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; } .chooser .card { position: sticky; top: 92px; } }
.tasks { display: grid; }
.task { padding: 12px 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; cursor: pointer; font: 650 clamp(1.35rem, 2.6vw, 2rem)/1.12 var(--display); letter-spacing: -0.04em; color: #b4b4ba; transition: color 0.3s; }
.task:last-child { border-bottom: 1px solid var(--line); }
.task:hover { color: var(--muted); }
.task[aria-pressed="true"] { color: var(--ink); }
.chooser .card { padding: clamp(26px, 3.4vw, 40px); min-height: 26rem; }
.chooser .card dl > div:first-child { border-top: 0; padding-top: 0; }
.chooser .card dd { font-size: 1.15rem; }
.anim .swap > div { animation: line-in 0.45s var(--ease) calc(var(--i) * 0.07s) backwards; }
/* Every step of an open module, behind one line. */
.toc-steps { margin: -8px 0 26px 0; }
.toc-steps summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 0.95rem; font-weight: 550; cursor: pointer; list-style: none; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.toc-steps summary::-webkit-details-marker { display: none; }
.toc-steps summary::after { content: "+"; font-size: 1.2rem; font-weight: 300; color: var(--muted); transition: transform 0.35s var(--ease); }
.toc-steps[open] summary::after { transform: rotate(45deg); }
.toc-steps ol { margin: 10px 0 0; padding: 0; max-width: 640px; list-style: none; counter-reset: st; animation: line-in 0.4s var(--ease); }
.toc-steps li { counter-increment: st; margin: 0; display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: center; min-height: 44px; border-top: 1px solid var(--line); }
.toc-steps li::before { content: counter(st); color: var(--muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.toc-steps a { color: var(--ink); text-decoration: none; }
.toc-steps a:hover { text-decoration: underline; text-underline-offset: 4px; }
.free { padding: 2px 10px; border-radius: 980px; background: var(--ink); color: var(--bg); font-size: 0.78rem; font-weight: 600; }
@media (min-width: 760px) { .toc-steps { margin-left: calc(5rem + 24px); } }
/* The founder's note: plain sentences in large type, nothing else. */
.maker .h-sub { margin-top: 0; color: var(--muted); font-size: 1.1rem; letter-spacing: -0.02em; font-weight: 550; }
.maker-line { margin: 0 0 0.5em; max-width: 26ch; font: 650 clamp(1.6rem, 3.8vw, 3rem)/1.08 var(--display); letter-spacing: -0.045em; }
.maker-line:first-of-type ~ .maker-line { color: var(--muted); }
.maker-line:last-of-type { color: var(--ink) !important; }
.maker-sign { margin: 28px 0 0; color: var(--muted); }
.terms { max-width: 34ch; line-height: 1.3; }

/* Sign in page: one wide button per way to sign in. */
#login { max-width: 25rem; margin-left: auto; margin-right: auto; padding-top: clamp(40px, 9vh, 96px); text-align: center; }
#login h1 { font-size: clamp(2rem, 5vw, 2.6rem); }
#login .lead { font-size: 1.05rem; color: var(--muted); }
#login .opts { justify-content: center; }
.login-ways { display: grid; gap: 12px; margin-top: 32px; text-align: left; }
/* A sign in button: white, a thin line, the company's own logo at the left, the words in the middle. */
.btn-id { position: relative; width: 100%; min-height: 54px; padding: 12px 52px; font-size: 1.02rem; font-weight: 550; }
a.btn-id { background: var(--bg); border: 1px solid var(--line); }
a.btn-id:hover { background: #f5f5f7; border-color: #b8b8bf; }
.btn-id img { position: absolute; left: 22px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); }
.login-or { display: flex; align-items: center; gap: 14px; margin: 10px 0; color: var(--muted); font-size: 0.9rem; max-width: none; }
.login-or::before, .login-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login-form { display: grid; gap: 10px; }
.login-form[hidden] { display: none; }
.login-label { font-size: 0.9rem; font-weight: 550; }
.login-field { width: 100%; min-height: 54px; padding: 12px 18px; font: inherit; font-size: 1.02rem; color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 14px; transition: border-color 0.15s, box-shadow 0.15s; }
.login-field:hover { border-color: #b8b8bf; }
.login-field:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.12); }
.login-code { font-family: var(--mono); font-size: 1.5rem; letter-spacing: 0.45em; text-align: center; padding-left: calc(18px + 0.45em); }
.login-sent { margin: 0; color: var(--muted); font-size: 0.95rem; max-width: none; }
.login-again { justify-self: center; background: none; border: 0; padding: 8px; font: inherit; font-size: 0.9rem; cursor: pointer; }
.login-say { min-height: 1.4em; margin: 2px 0 0; font-size: 0.92rem; color: var(--ink); max-width: none; }
.login-note { margin-top: 28px; margin-left: auto; margin-right: auto; }


/* ===== The map, 2 December 2026. The chat in the middle, the six parts around it, lit by scrolling. ===== */
.aim { padding: 24px 0 96px; }
.aim .h-sec { margin-bottom: 18px; }
.aim .lead { margin: 0 0 48px; max-width: 34ch; font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.aim-stage { position: relative; display: grid; gap: 14px; }
.aim-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.aim-wires path { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 1.5; transition: stroke 0.6s var(--ease); }
.aim-wires path.on { stroke: rgba(255, 255, 255, 0.55); }
.aim-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.aim-node { position: relative; z-index: 1; display: block; padding: 20px 20px 22px; border-radius: var(--radius-lg); background: var(--night-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); color: inherit; text-decoration: none; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), box-shadow 0.6s var(--ease); }
.aim-node strong { display: block; margin-top: 18px; font: 650 clamp(1.3rem, 2vw, 1.7rem)/1.05 var(--display); letter-spacing: -0.04em; }
.aim-n { font: 0.8rem var(--mono); color: var(--night-muted); }
.aim-say { display: block; margin-top: 8px; font-size: 0.95rem; line-height: 1.35; color: var(--night-muted); }
.aim-node:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.aim-chat { position: relative; z-index: 1; margin: 0 0 14px; padding: 16px 18px 20px; border-radius: var(--radius-lg); background: var(--night-ink); color: var(--ink); }
.aim-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.aim-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.aim-ask { margin: 0 0 12px auto; width: fit-content; max-width: 85%; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: var(--ink); color: var(--night-ink); font-size: 0.95rem; line-height: 1.3; }
.aim-answer { margin: 0 0 8px; font-size: 0.95rem; line-height: 1.35; }
.aim-code { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: #e8e8ed; font: 0.78rem/1.55 var(--mono); color: var(--muted); white-space: pre; overflow: hidden; }
.aim-chat figcaption { padding-top: 16px; border-top: 1px solid var(--line); }
.aim-chat figcaption strong { display: block; font: 650 1.6rem/1 var(--display); letter-spacing: -0.04em; }
.aim-chat figcaption span { display: block; margin-top: 6px; font-size: 0.95rem; color: var(--muted); }
@media (min-width: 900px) {
  .aim { height: 280vh; padding: 0; }
  .aim-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 72px 0 32px; }
  .aim .h-sec { max-width: none; }
  .aim-stage { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
  .aim-side { grid-template-columns: 1fr; gap: 14px; }
  .aim-chat { margin: 0; }
  .anim .aim-node { opacity: 0.25; transform: scale(0.97); }
  .anim .aim-node.on { opacity: 1; transform: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
}
@media (max-width: 899px) { .aim-stage > .aim-chat { order: -1; } }

/* ===== How a step works: a real step, drawn the way the lesson page draws it. ===== */
.how { display: grid; gap: 40px; align-items: center; }
@media (min-width: 940px) { .how { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; } }
.step-demo { margin: 0; padding: clamp(20px, 3.4vw, 36px); border-radius: var(--radius-lg); background: var(--surface); min-width: 0; }
.demo-top { margin: 0 0 6px; font-size: 0.9rem; color: var(--muted); }
.step-demo h3 { margin: 0 0 26px; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.02; letter-spacing: -0.045em; }
.demo-part { position: relative; padding: 18px 0 20px 40px; border-top: 1px solid var(--line); min-width: 0; }
.demo-part > .demo-n { position: absolute; left: 0; top: 18px; }
.demo-label { margin: 2px 0 12px; font-weight: 600; }
.demo-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 600 0.8rem/1 var(--mono); flex: none; }
.demo-cmd { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border-radius: 14px; background: var(--night); color: var(--night-ink); min-width: 0; }
.demo-cmd code { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 0.8rem var(--mono); }
.demo-pill { display: inline-block; padding: 7px 14px; border-radius: 99px; background: var(--bg); color: var(--ink); font-size: 0.85rem; font-weight: 550; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.demo-cmd .demo-pill { box-shadow: none; }
.demo-pill.dark { background: var(--ink); color: var(--bg); box-shadow: none; }
.demo-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.step-demo .zoom { display: block; max-width: 100%; }
.step-demo .shot { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow); }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.how-list li { display: flex; gap: 18px; margin: 0; }
.how-list h3 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.05; letter-spacing: -0.04em; }
.how-list p { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 32ch; }
.how-list .demo-n { margin-top: 4px; }
.aim { margin-top: 0; text-align: left; clip-path: inset(-2px -100vmax 0); }
.aim-node strong, .aim-node .aim-say { color: var(--night-ink); text-align: left; }
.aim-node .aim-say { color: var(--night-muted); }
@media (min-width: 900px) { .aim-node { padding: 16px 20px 18px; } .aim-node strong { margin-top: 10px; } .aim .lead { margin-bottom: 36px; } }
@media (max-width: 899px) {
  .aim-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aim-side { display: contents; }
  .aim-stage > .aim-chat { grid-column: 1 / -1; }
  .aim-node { padding: 16px 16px 18px; }
  .aim-node strong { margin-top: 12px; font-size: 1.25rem; }
}
