/* Vellum website.
   One system: colours from design-system/tokens.css (they mean what they mean in the app), one type scale,
   one 4px spacing scale, five radii, one icon stroke, one light source (top left, like a lamp over a drafting table). */

@font-face {
  font-family: "Bricolage";
  src: url("fonts/BricolageGrotesque-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
/* Chinese: Noto Sans SC (SIL OFL), subset to the characters this page uses, so Chinese looks the same on every
   system. Re-subset when the copy adds new characters (see README). unicode-range keeps it off Latin text. */
@font-face {
  font-family: "Vellum Sans SC";
  src: url("fonts/VellumSansSC-subset.woff2?v=2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+2E80-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF, U+2018-201D, U+2026, U+00B7;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --canvas: #ecedf0; --canvas-lift: #f8f8fa; --card: #ffffff; --card-2: #f5f6f8; --card-3: #ecedf1;
  --label: #0b0c0e; --label-2: rgba(11,12,14,.70); --label-3: rgba(11,12,14,.58); --label-4: rgba(11,12,14,.16);
  --hair: rgba(11,12,14,.075); --hair-2: rgba(11,12,14,.13); --thread: rgba(11,12,14,.22); --ink-rule: rgba(11,12,14,.24);
  --dot: rgba(11,12,14,.10); --hover: rgba(11,12,14,.045); --press: rgba(11,12,14,.08);
  --chrome: rgba(250,250,252,.78); --act: #0c0d0f; --on-act: #ffffff; --focus: #3f444e;
  --danger: #e12f34; --danger-ink: #b02529; --ok: #3c7811; --ok-fill: #4c9816;
  --A: #9f5a00; --B: #2066db; --C: #0b7b50;
  --A-fill: #c97200; --B-fill: #2b6fe0; --C-fill: #0e9662; --chip-ink: #ffffff;
  --note: #fce15d; --note-ink: #925600;
  --crew-scout: #1d4ed8; --crew-strategist: #6d28d9; --crew-wright: #b45309; --crew-critic: #047857; --orb-off: #dcdde1;
  --bloom: rgba(255,186,104,.55);
  --lamp: rgba(255,255,255,.85);
  --sheet: rgba(255,255,255,.46); --sheet-edge: rgba(255,255,255,.95);
  --shadow-card: 0 0 0 .5px rgba(11,12,14,.07), 0 1px 1px rgba(11,12,14,.03), 0 2px 4px -1px rgba(11,12,14,.04), 0 12px 28px -16px rgba(11,12,14,.16);
  --shadow-up: 0 0 0 .5px rgba(11,12,14,.08), 0 2px 3px rgba(11,12,14,.04), 0 10px 18px -6px rgba(11,12,14,.09), 0 38px 70px -28px rgba(11,12,14,.34);
  --shadow-board: 0 0 0 .5px rgba(11,12,14,.07), 0 1px 2px rgba(11,12,14,.03), 0 40px 90px -50px rgba(11,12,14,.38);

  --sans: "Inter", "Vellum Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --display: "Bricolage", "Inter", "Vellum Sans SC", -apple-system, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;

  /* type scale: 108 / 54 / 24 / 19 / 16 / 14 / 12.5 */
  --t-1: clamp(36px, 10.4vw, 104px);
  --t-2: clamp(32px, 4vw, 54px);
  --t-lede: clamp(18px, 1.4vw, 20px);

  /* 4px spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 144px;
  --section: clamp(var(--s9), 11vw, 160px);
  --head-gap: clamp(var(--s6), 4vw, 56px);
  --gutter: clamp(20px, 6.2vw, 104px);
  --max: 1120px;

  /* five radii */
  --r-chip: 6px; --r-ctl: 12px; --r-card: 16px; --r-panel: 24px; --r-board: 28px;

  --ease: cubic-bezier(.22,.8,.24,1);
  --spring: cubic-bezier(.3,1.35,.5,1);
  --e-out: cubic-bezier(.23,1,.32,1); --settle: cubic-bezier(.3,1.18,.4,1); --glide: cubic-bezier(.65,0,.35,1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --canvas: #050608; --canvas-lift: #0b0c0f; --card: #1b1c20; --card-2: #22242a; --card-3: #2a2c33;
    --label: #f4f5f7; --label-2: rgba(244,245,247,.70); --label-3: rgba(244,245,247,.54); --label-4: rgba(244,245,247,.14);
    --hair: rgba(255,255,255,.07); --hair-2: rgba(255,255,255,.12); --thread: rgba(255,255,255,.2); --ink-rule: rgba(244,245,247,.34);
    --dot: rgba(255,255,255,.075); --hover: rgba(255,255,255,.055); --press: rgba(255,255,255,.09);
    --chrome: rgba(16,17,20,.74); --act: #f3f4f6; --on-act: #0a0b0d; --focus: #c8ccd4;
    --danger: #ff6369; --danger-ink: #ff797e; --ok: #6cc23a; --ok-fill: #6cc23a;
    --A: #ffb547; --B: #5aa2ff; --C: #45d49a;
    --A-fill: #ffb547; --B-fill: #5aa2ff; --C-fill: #45d49a; --chip-ink: #0a0b0d;
    --crew-scout: #7ab3ff; --crew-strategist: #c4a5ff; --crew-wright: #ffb547; --crew-critic: #45d49a; --orb-off: #2a2b30;
    --bloom: rgba(255,214,160,.42);
    --lamp: rgba(255,206,150,.075);
    --sheet: rgba(255,255,255,.045); --sheet-edge: rgba(255,255,255,.16);
    --shadow-card: 0 0 0 .5px rgba(255,255,255,.07), inset 0 1px 0 rgba(255,255,255,.04), 0 14px 34px -16px rgba(0,0,0,.8);
    --shadow-up: 0 0 0 .5px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.06), 0 40px 80px -24px rgba(0,0,0,.95);
    --shadow-board: 0 0 0 .5px rgba(255,255,255,.075), 0 40px 100px -50px rgba(0,0,0,1);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #050608; --canvas-lift: #0b0c0f; --card: #1b1c20; --card-2: #22242a; --card-3: #2a2c33;
  --label: #f4f5f7; --label-2: rgba(244,245,247,.70); --label-3: rgba(244,245,247,.54); --label-4: rgba(244,245,247,.14);
  --hair: rgba(255,255,255,.07); --hair-2: rgba(255,255,255,.12); --thread: rgba(255,255,255,.2); --ink-rule: rgba(244,245,247,.34);
  --dot: rgba(255,255,255,.075); --hover: rgba(255,255,255,.055); --press: rgba(255,255,255,.09);
  --chrome: rgba(16,17,20,.74); --act: #f3f4f6; --on-act: #0a0b0d; --focus: #c8ccd4;
  --danger: #ff6369; --danger-ink: #ff797e; --ok: #6cc23a; --ok-fill: #6cc23a;
  --A: #ffb547; --B: #5aa2ff; --C: #45d49a;
  --A-fill: #ffb547; --B-fill: #5aa2ff; --C-fill: #45d49a; --chip-ink: #0a0b0d;
  --crew-scout: #7ab3ff; --crew-strategist: #c4a5ff; --crew-wright: #ffb547; --crew-critic: #45d49a; --orb-off: #2a2b30;
  --bloom: rgba(255,214,160,.42);
  --lamp: rgba(255,206,150,.075);
  --sheet: rgba(255,255,255,.045); --sheet-edge: rgba(255,255,255,.16);
  --shadow-card: 0 0 0 .5px rgba(255,255,255,.07), inset 0 1px 0 rgba(255,255,255,.04), 0 14px 34px -16px rgba(0,0,0,.8);
  --shadow-up: 0 0 0 .5px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.06), 0 40px 80px -24px rgba(0,0,0,.95);
  --shadow-board: 0 0 0 .5px rgba(255,255,255,.075), 0 40px 100px -50px rgba(0,0,0,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--canvas); color: var(--label);
  font: 400 16px/1.55 var(--sans); letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { -webkit-tap-highlight-color: transparent; }
p, h1, h2, h3, h4, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid color-mix(in srgb, var(--focus) 70%, transparent); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
/* Chinese breaks between any two characters; "pretty" keeps a lone character off the last line. */
:lang(zh) body { text-wrap: pretty; }
::selection { background: color-mix(in srgb, var(--B-fill) 26%, transparent); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: var(--s2); top: -60px; z-index: 100; background: var(--act); color: var(--on-act); padding: var(--s2) var(--s4); border-radius: var(--r-ctl); text-decoration: none; }
.skip:focus { top: var(--s2); }

svg.ic, svg.mk, svg.ki { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.ic { width: 20px; height: 20px; }
svg .dot { fill: currentColor; stroke: none; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 560; color: var(--label); font-optical-sizing: none; }
h1 { font-size: var(--t-1); line-height: .98; letter-spacing: -.042em; font-variation-settings: "opsz" 40; text-wrap: balance; }
h2 { font-size: var(--t-2); line-height: 1.04; letter-spacing: -.034em; font-variation-settings: "opsz" 32; text-wrap: balance; max-width: 20ch; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -.014em; font-variation-settings: "opsz" 20; }
.lede { font-size: var(--t-lede); line-height: 1.5; color: var(--label-2); letter-spacing: -.012em; max-width: 30em; text-wrap: pretty; }
:lang(zh) body { letter-spacing: 0; }
:lang(zh) h1 { line-height: 1.26; letter-spacing: -.02em; font-weight: 600; font-size: clamp(34px, 9.6vw, 96px); }
:lang(zh) h1, :lang(zh) h2 { word-break: keep-all; overflow-wrap: anywhere; }
.cl { display: inline-block; max-width: 100%; text-indent: 0; }
:lang(zh) h2 { line-height: 1.22; letter-spacing: -.01em; font-weight: 600; max-width: 15em; }
:lang(zh) h3 { letter-spacing: 0; }
:lang(zh) .lede { line-height: 1.7; letter-spacing: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  height: 48px; padding: 0 var(--s5); border: 0; border-radius: 999px; cursor: pointer;
  font-size: 15.5px; font-weight: 560; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: transform .5s var(--spring), background-color .15s, box-shadow .2s, color .15s;
}
.btn:active { transform: scale(.97); transition-duration: .09s; }
.btn svg.ic { width: 18px; height: 18px; }
.btn-primary { background: var(--act); color: var(--on-act); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(0,0,0,.12); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(0,0,0,.12), 0 10px 24px -12px rgba(0,0,0,.5); }
.btn-quiet { background: var(--hover); color: var(--label); box-shadow: inset 0 0 0 1px var(--hair); }
.btn-quiet:hover { background: var(--card); box-shadow: inset 0 0 0 1px var(--hair-2), 0 6px 16px -10px rgba(0,0,0,.3); }
.btn-sm { height: 36px; padding: 0 var(--s4); font-size: 14.5px; }
.btn-sm svg.ic { width: 16px; height: 16px; }
.btn[aria-disabled="true"] { cursor: default; color: var(--label-3); background: transparent; box-shadow: inset 0 0 0 1px var(--hair-2); }
.btn[aria-disabled="true"]:active { transform: none; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 80%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
}
/* No rule under the header: once you scroll, the page dissolves into it through a short, fading blur. */
.site-head::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 28px; pointer-events: none; opacity: 0; transition: opacity .3s var(--e-out);
  background: linear-gradient(color-mix(in srgb, var(--canvas) 70%, transparent), transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.site-head.scrolled::after { opacity: 1; }
.head-row { display: flex; align-items: center; gap: var(--s5); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.025em; font-variation-settings: "opsz" 20; }
.brand .mark { width: 26px; height: 26px; fill: currentColor; stroke: none; flex: none; }
.nav { display: flex; gap: var(--s1); margin-left: auto; }
.nav a { text-decoration: none; color: var(--label-2); padding: 7px var(--s3); border-radius: 999px; font-size: 14.5px; font-weight: 500; transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--label); background: var(--hover); }
.tools { display: flex; align-items: center; gap: var(--s1); }
.tool {
  height: 36px; min-width: 36px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  color: var(--label-2); display: inline-flex; align-items: center; justify-content: center; gap: 3px; font-size: 13.5px; font-weight: 560;
  transition: color .15s, background-color .15s;
}
.tool:hover { background: var(--hover); color: var(--label); }
.tool svg.ic { width: 18px; height: 18px; }
.tools .btn { margin-left: var(--s2); }
@media (max-width: 860px) { .nav { display: none; } .tools { margin-left: auto; } }
@media (max-width: 359px) { #themeBtn { display: none; } .seg.tabs button { font-size: 13px; padding: 0 6px; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(var(--s7), 6vw, 88px); }
.hero h1 { max-width: 11.5em; }
.hero-lede { margin-top: var(--s5); max-width: 27em; }
:lang(zh) .hero h1 { max-width: none; }
:lang(zh) .hero-lede { max-width: 31em; }
/* The keyword: "a chat box" set inside a real chat input, slightly too small for the sentence. */
.chatbox { display: inline-flex; align-items: center; gap: .16em; white-space: nowrap; vertical-align: .06em;
  height: .98em; padding: 0 .1em 0 .36em; margin: 0 .02em; border-radius: .26em; box-sizing: border-box;
  background: var(--card); box-shadow: 0 0 0 .016em var(--hair-2), 0 .06em .18em -.06em rgba(11,12,14,.12);
  font-size: .72em; font-weight: 500; letter-spacing: -.03em; color: var(--label-2); line-height: 1; }
/* Han characters fill the whole em, so the box needs more room above and below them than Latin does. */
:lang(zh) .chatbox { font-weight: 560; letter-spacing: 0; vertical-align: .38em; font-size: .54em; height: 1.72em; padding: 0 .38em 0 .62em; margin: 0 .24em; gap: .3em; border-radius: .42em; }
:lang(zh) .chatbox .cb-send { width: .96em; height: .96em; }
.chatbox .cb-text { min-width: .2em; }
.chatbox .cb-caret { width: .05em; height: .62em; margin-left: -.05em; border-radius: 1px; background: var(--label); opacity: 0; }
.chatbox.typing .cb-caret { opacity: 1; animation: cb-blink 1s steps(1) .3s infinite; }
@keyframes cb-blink { 50% { opacity: 0; } }
.chatbox .cb-send { display: grid; place-items: center; width: .74em; height: .74em; margin-left: auto; border-radius: 999px; background: var(--hover); color: var(--label-3); transition: background-color .35s var(--e-out), color .35s var(--e-out); }
.chatbox .cb-send svg { width: .46em; height: .46em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.chatbox.sent .cb-send { background: var(--act); color: var(--on-act); }

/* The live board: paper on a drafting table, lit from the top left. */
.board-shell { margin-top: clamp(var(--s6), 4.4vw, 64px); }
/* On screens tall enough, the board stays put and scrolling moves the story forward one step at a time. */
.board-track.pinned .board-shell { position: sticky; top: var(--pin-top, 80px); }
.board {
  position: relative; border-radius: var(--r-board); overflow: hidden; isolation: isolate;
  touch-action: pan-y;
}
/* No box: the drafting table fades into the page at every edge, so the board reads as a lit patch of an
   endless canvas rather than a framed screenshot. */
.board::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70% 75% at 16% -8%, var(--lamp), transparent 72%),
    radial-gradient(var(--dot) 1px, transparent 1.3px) 11px 11px / 22px 22px,
    var(--canvas-lift);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  mask-composite: intersect; }
.board-stage { position: absolute; left: 0; top: 0; z-index: 1; transform-origin: 0 0; }
.board-lines { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.board-lines path { fill: none; stroke: var(--thread); stroke-width: 1.5; stroke-linecap: round; transition: stroke .3s, opacity .4s, stroke-width .2s; }
.board-lines path.supports { stroke: color-mix(in srgb, var(--ok) 72%, transparent); }
.board-lines path.counters { stroke: var(--danger); stroke-dasharray: 5 5; }
.board-lines path.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .75s cubic-bezier(.45,.05,.2,1) forwards; }
.board-lines path.dim { opacity: .3; }
.board.focus .board-lines path:not(.hot):not(.marker) { opacity: .22; }
.board.focus .bcard.on:not(.near) { opacity: .5; transition: opacity .3s var(--e-out), transform .62s var(--settle), filter .42s var(--e-out), box-shadow .25s var(--ease); }
.board.focus .rel-tag.on:not(.hot) { opacity: .3; }
/* Spotlight: the step's own cards are lit, what they touch is half lit, the rest steps back but stays legible.
   Pointing at a card (.focus) takes over. */
.board.spotlit:not(.focus) .bcard.on:not(.lit):not(.ctx) { opacity: .34; }
.board.spotlit:not(.focus) .bcard.on.ctx { opacity: .7; }
.board.spotlit:not(.focus) .board-lines path[data-a]:not(.lit) { opacity: .2; }
/* A tag reads with its line: when the line steps back, so does its label. */
.board.spotlit:not(.focus) .rel-tag.on:not(.lit) { opacity: .3; }
/* Set-aside cards already wear a veil; dimming them again would make them unreadable. */
.board.spotlit:not(.focus) .bcard.on.aside:not(.lit) { opacity: .66; }
/* The marker loop is part of the chosen card: when B steps back, so does its loop. */
.board-lines path.marker { transition: opacity .36s var(--e-out); }
.board.spotlit.b-back:not(.focus) .board-lines path.marker { opacity: .34; }
.board.focus.b-far .board-lines path.marker { opacity: .24; }
.board-lines path.out { opacity: 0; transition: opacity .2s var(--e-out); }
.board-lines circle.pen { stroke: none; }
.board-lines path.hot { stroke-width: 2.2; }
.board-lines path.marker { stroke: var(--label); stroke-width: 1.6; opacity: .5; stroke-linejoin: round; }
.board-lines path.draw-slow { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.15s cubic-bezier(.55,.1,.25,1) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.rel-tag {
  position: absolute; transform: translate(-50%, -50%) scale(.9); pointer-events: none; z-index: 2;
  font-size: 11.5px; font-weight: 600; line-height: 18px; padding: 0 8px; border-radius: 999px; white-space: nowrap;
  background: var(--card); color: var(--label-2); box-shadow: 0 0 0 1px var(--hair-2), 0 2px 6px -2px rgba(0,0,0,.12);
  opacity: 0; transition: opacity .3s .45s, transform .5s .45s var(--spring);
}
.rel-tag.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.rel-tag.supports { color: var(--ok); }
.rel-tag.counters { color: var(--danger-ink); box-shadow: 0 0 0 1px color-mix(in srgb, var(--danger) 38%, transparent), 0 2px 6px -2px rgba(0,0,0,.12); }

/* Who is working: each member of the crew (and you) has a cursor, the same colour as the avatar on the cards it makes. */
.cursor { position: absolute; left: 0; top: 0; z-index: 9; pointer-events: none; opacity: 0; will-change: transform;
  transition: opacity .28s var(--e-out), transform var(--mv, .7s) var(--glide); }
.cursor.on { opacity: 1; }
.cursor svg { display: block; width: 18px; height: 18px; overflow: visible; transform-origin: 3px 2px; transition: transform .14s var(--e-out); filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.28)); }
.cursor svg path { fill: var(--c); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.cursor .who { position: absolute; left: 13px; top: 17px; padding: 0 7px; border-radius: 999px; background: var(--c); color: #fff;
  font: 600 11.5px/19px var(--sans); white-space: nowrap; box-shadow: 0 2px 8px -3px rgba(0,0,0,.35); }
.cursor.you .who { color: var(--card); }
:root[data-theme="dark"] .cursor:not(.you) .who { color: #0a0b0d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cursor:not(.you) .who { color: #0a0b0d; } }
.cursor.press svg { transform: scale(.8); }
.ripple { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; pointer-events: none; z-index: 8;
  box-shadow: 0 0 0 1.5px var(--c); animation: ripple .6s var(--e-out) forwards; }
@keyframes ripple { from { transform: scale(.2); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }

.tok { opacity: 0; filter: blur(4px); transition: opacity .32s var(--e-out), filter .38s var(--e-out); }
.tok.in { opacity: 1; filter: none; }

/* A Vellum card. The board demo and the zones board share it, so they look like one product. */
.vc { background: var(--card); border-radius: var(--r-card); padding: 13px 15px 12px; box-shadow: var(--shadow-card); position: relative; }
.vc .k { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 560; line-height: 16px; color: var(--label-3); margin-bottom: 6px; }
.vc .k svg.ki { width: 13px; height: 13px; stroke-width: 1.8; }
.vc .t { font-size: 15.5px; line-height: 1.28; font-weight: 600; letter-spacing: -.014em; text-wrap: pretty; }
.vc .b { font-size: 13.5px; line-height: 1.45; color: var(--label-2); margin-top: 4px; text-wrap: pretty; }
.vc .by { display: flex; align-items: center; margin-left: auto; padding-left: 8px; }
.vc .by b { width: 16px; height: 16px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 9px; font-weight: 700; color: #fff; box-shadow: 0 0 0 1.5px var(--card); }
.vc .by b + b { margin-left: -6px; }
.vc.ink { box-shadow: 0 0 0 1px var(--ink-rule), var(--shadow-card); }
/* Evidence with a picture: the picture sits on top, bleeding into the padding the way the How board's media does,
   and the claim under it carries the card, so there is no separate title. Photos and clips stay dark in both themes. */
.bcard .media { position: relative; height: 84px; margin: -7px -9px 10px; border-radius: 11px; overflow: hidden; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--hair); }
.board[data-layout="mid"] .bcard .media { height: 80px; }
.board[data-layout="narrow"] .bcard .media { height: 68px; }
.bcard .media svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bcard.has-media .b { margin-top: 0; color: var(--label); }
.ill .ph-bg { fill: #121419; }
.ill .ph-wash { fill: rgba(255,255,255,.1); filter: blur(7px); }
.ill .tl-tick { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1; }
.ill .tl-clip { fill: #30333b; }
.ill .tl-clip.dim { fill: #23262c; }
.ill .tl-aud { fill: #1d2025; }
.ill .tl-undo { fill: none; stroke: rgba(255,255,255,.34); stroke-width: 1; stroke-dasharray: 2.5 2; }
.ill .tl-redo { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.ill .tl-glow { fill: rgba(255,255,255,.3); filter: blur(6px); }
.ill .tl-head { fill: none; stroke: #f4f5f7; stroke-width: 1.2; }
.ill .tl-cap { fill: #f4f5f7; }
.ill .tk { fill: rgba(255,255,255,.28); }
.ill .tk.on { fill: #f4f5f7; }
/* The spreadsheet is a real table, so the words are real and it follows the theme. It is an excerpt: rows run off the bottom. */
.bcard .xl-wrap { background: var(--card); }
.bcard .xl-wrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: linear-gradient(transparent, var(--card)); pointer-events: none; }
.xl { width: 100%; border-collapse: collapse; table-layout: fixed; font: 500 10.5px/14px var(--sans); color: var(--label-3); }
.xl th, .xl td { height: 14px; padding: 0 6px; border-bottom: 1px solid var(--hair); white-space: nowrap; overflow: hidden; text-align: left; }
.xl th { font-weight: 600; color: var(--label-3); background: color-mix(in srgb, var(--label) 5%, transparent); }
.xl .n, .xl th:first-child { width: 26px; padding: 0; text-align: center; color: var(--label-4); border-right: 1px solid var(--hair); }
.xl .st, .xl th:last-child { width: 22px; padding: 0; text-align: center; border-left: 1px solid var(--hair); }
.xl tr.hit td { background: color-mix(in srgb, var(--label) 5%, transparent); color: var(--label-2); }
.xl tr.hit .n { color: var(--label-4); }
.xl mark { background: color-mix(in srgb, var(--label) 14%, transparent); color: var(--label); font-weight: 600; border-radius: 3px; padding: 0 2px; margin: 0 -1px; }
.ill .cl-track { fill: rgba(255,255,255,.16); }
.ill .cl-done { fill: rgba(255,255,255,.75); }
.ill .cl-time { fill: rgba(0,0,0,.55); }
.ill .cl-tx { fill: #fff; font: 600 8px/1 var(--sans); letter-spacing: .02em; }
/* A quote looks like a quote: one big mark instead of a label, the words in the display face, and a cite line
   with who said it and the recording it came from. */
.vc.quote .k { min-height: 16px; margin-bottom: 2px; }
.vc.quote .k .ki, .vc.quote .k .kk { display: none; }
.vc.quote .k::before { content: "\201C"; font: 600 46px/1 var(--display); color: var(--label-4); height: 18px; margin: 2px 0 0 -2px; letter-spacing: 0; }
:root[data-theme="dark"] .vc.quote .k::before { color: rgba(244,245,247,.24); }
.vc.quote .b { margin-top: 0; font: 500 15.5px/1.38 var(--display); letter-spacing: -.012em; color: var(--label); }
:lang(zh) .vc.quote .b { font-weight: 560; letter-spacing: 0; }
.vc.quote .cite { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.vc.quote .cite .t { flex: none; white-space: nowrap; font-size: 12.5px; line-height: 1.3; font-weight: 500; letter-spacing: 0; color: var(--label-3); }
.vc.quote .cite .t::before { content: "\2014\00a0"; }
/* The recording trails off instead of being cut: on a narrow card the bars run out under a soft edge. */
.wave { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; height: 18px; flex: 0 1 auto; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent); mask-image: linear-gradient(90deg, #000 72%, transparent); }
.wave i { display: block; flex: none; width: 2px; border-radius: 1px; background: var(--label-4); }
.wave i.on { background: var(--label-3); }
.wave .pl { width: 0; height: 0; margin-right: 4px; border-radius: 0; background: none; border-style: solid; border-width: 4.5px 0 4.5px 7px; border-color: transparent transparent transparent var(--label-3); }
.chip { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5.5px; font: 700 11.5px/1 var(--sans); color: var(--chip-ink); flex: none; vertical-align: 1.5px; margin-right: 7px; }
.chip.A { background: var(--A-fill); } .chip.B { background: var(--B-fill); } .chip.C { background: var(--C-fill); }
.vc.adopted { box-shadow: 0 0 0 2px var(--B-fill), var(--shadow-card); }
.bcard.adopted { box-shadow: 0 0 0 1px var(--ink-rule), var(--shadow-card); }
:lang(zh) .vc .t { letter-spacing: 0; }

/* Set aside = under a sheet of vellum. Still readable, and the reason is written on top. */
.vc .veil { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
  background: linear-gradient(160deg, color-mix(in srgb, var(--canvas-lift) 72%, transparent), color-mix(in srgb, var(--canvas-lift) 58%, transparent));
  box-shadow: inset 0 1px 0 var(--sheet-edge), inset 0 0 0 1px var(--hair); }
.vc.aside > .k, .vc.aside > .t, .vc.aside > .b { filter: saturate(.3); }
.vc.aside { box-shadow: 0 0 0 1px var(--hair-2); }
.vc.aside .veil { opacity: 1; }
.vc .note { position: relative; z-index: 1; display: none; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--hair-2); font-size: 13px; line-height: 1.42; color: var(--label); }
.vc .note strong { font-weight: 600; }
.vc.show-note .note { display: block; animation: rise .45s var(--ease); }

/* Hero board cards */
/* Cards are paper. They arrive from whatever placed them (a cursor, or the card they were forked from):
   lifted, a little small and soft, then land with their shadow settling. They leave faster than they came. */
.bcard {
  position: absolute; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: manipulation;
  opacity: 0; transform: translate(var(--ox, 0px), var(--oy, 10px)) scale(.94); filter: blur(3px);
  transition: opacity .2s var(--e-out), transform .24s var(--e-out), filter .2s var(--e-out), box-shadow .25s var(--ease);
}
.bcard.on { opacity: 1; transform: none; filter: none;
  transition: opacity .36s var(--e-out), transform .62s var(--settle), filter .42s var(--e-out), box-shadow .25s var(--ease); }
.bcard.landing { box-shadow: var(--shadow-up); }
.bcard.ink.landing { box-shadow: 0 0 0 1px var(--ink-rule), var(--shadow-up); }
.bcard.landed { transition: opacity .36s var(--e-out), transform .62s var(--settle), filter .42s var(--e-out), box-shadow .8s var(--e-out); }
.bcard.on:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); }
.bcard.ink.on:hover { box-shadow: 0 0 0 1px var(--ink-rule), var(--shadow-up); }
.bcard.adopted.on:hover { box-shadow: 0 0 0 1px var(--ink-rule), var(--shadow-up); }
.bcard.dragging, .bcard.dragging:hover { cursor: grabbing; z-index: 6; transition: box-shadow .2s, transform .12s linear; transform: translateY(-3px) scale(1.025) rotate(var(--tilt, 0deg)); box-shadow: var(--shadow-up); }
.bcard.ink.dragging { box-shadow: 0 0 0 1px var(--ink-rule), var(--shadow-up); }
.bcard.adopted.dragging { box-shadow: 0 0 0 1px var(--ink-rule), var(--shadow-up); }
.bcard.nudge { animation: nudge 1.1s var(--ease) 1; }
@keyframes nudge { 0%, 100% { translate: 0 0; rotate: 0deg; } 22% { translate: 6px -3px; rotate: 1.4deg; } 46% { translate: -3px 0; rotate: -.8deg; } 70% { translate: 1px 0; rotate: .2deg; } }

.bcard.sticky { background: var(--note); color: #1d1a10; border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 16px 28px -16px rgba(80,60,0,.5); }
.bcard.sticky:not(.on) { transform: rotate(-2.2deg) translate(var(--ox, 0px), var(--oy, 10px)) scale(.94); }
.bcard.sticky.on { transform: rotate(-2.2deg); }
.bcard.sticky.on:hover { transform: rotate(-1.4deg) translateY(-2px); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 26px 40px -18px rgba(80,60,0,.55); }
.bcard.sticky .k { color: var(--note-ink); }
.bcard.sticky .b { color: rgba(29,26,16,.88); font-size: 14px; margin-top: 0; }
.bcard.fresh { animation: fresh 1.8s var(--ease) 1; }
@keyframes fresh { 0% { box-shadow: 0 0 0 0 var(--bloom), var(--shadow-card); } 35% { box-shadow: 0 0 0 12px transparent, 0 0 30px 6px var(--bloom), var(--shadow-card); } 100% { box-shadow: 0 0 0 0 transparent, var(--shadow-card); } }

/* The flag is part of the card, not a box inside it: a hairline and one red line. */
.flag { display: none; position: relative; z-index: 1; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hair-2); font-size: 13px; line-height: 1.4; }
.bcard.show-flag .flag { display: block; animation: rise .45s var(--ease); }
.flag .fh { display: flex; align-items: baseline; gap: 7px; font-weight: 600; color: var(--danger-ink); text-wrap: balance; }
.flag .fh::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); transform: translateY(-1px); }
.flag .fh { cursor: default; }
/* The chosen card keeps its reason and its two actions folded until you reach for them. */
.bcard .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease) 0s; }
.bcard .more .mi { min-height: 0; overflow: hidden; }
.bcard .more .note { margin-top: 0; padding-top: 10px; border-top: 0; color: var(--label-2); }
.bcard.show-note .more .note { display: block; animation: none; }
/* The divider lives inside the folded part, so it folds away with it instead of hanging under the card. */
.bcard.show-note:not(.show-flag) .more .note { margin-top: 10px; border-top: 1px solid var(--hair-2); }
.bcard .fb { display: none; justify-content: flex-end; gap: 6px; padding: 10px 0 1px; flex-wrap: wrap; }
.bcard.show-flag:not(.resolved) .fb { display: flex; }
.bcard.open .more, .bcard:focus-within .more { grid-template-rows: 1fr; }
@media (hover: hover) { .bcard:hover .more { grid-template-rows: 1fr; transition-delay: .12s; } }
.bcard.dragging .more { transition: none; }
.fb button { min-height: 28px; padding: 4px 12px; border: 0; border-radius: 999px; font-size: 13px; line-height: 1.2; font-weight: 600; cursor: pointer; transition: transform .45s var(--spring), box-shadow .2s, background-color .15s; }
.fb button:active { transform: scale(.95); }
.fb .reopen { background: transparent; color: var(--label); box-shadow: inset 0 0 0 1px var(--hair-2); }
.fb .reopen:hover { background: var(--hover); }
.fb .holds { background: var(--act); color: var(--on-act); }
.flag.waiting .fh::before { animation: waiting 1.6s var(--ease) 3; }
@keyframes waiting { 50% { transform: translateY(-1px) scale(1.6); opacity: .45; } }
.flag.resolved .fh { color: var(--label-2); }
.flag.resolved .fh::before { background: var(--label-4); }
/* "Still holds": the waiting dot becomes a tick, drawn once. */
.flag.held .fh::before { width: 9px; height: 5px; border-radius: 0; background: none; border: solid var(--ok); border-width: 0 0 1.7px 1.7px;
  transform: translateY(-3px) rotate(-45deg); animation: tick-in .42s var(--e-out); }
@keyframes tick-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.back-chip { display: none; position: relative; z-index: 1; margin-top: 9px; font-size: 12px; font-weight: 600; color: var(--label-2); }
.bcard.back .back-chip { display: inline-flex; align-items: center; gap: 4px; animation: rise .4s var(--ease); }

.board-hint {
  position: absolute; right: var(--s4); top: var(--s4); z-index: 3; display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--label-2); padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--chrome); box-shadow: 0 0 0 .5px var(--hair-2), 0 6px 16px -10px rgba(0,0,0,.3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(-4px); transition: opacity .4s var(--ease), transform .5s var(--spring); pointer-events: none;
}
.board-hint.on { opacity: 1; transform: none; }
.board[data-layout="mid"] .board-hint { top: auto; right: auto; bottom: var(--s4); left: var(--s4); }
.board[data-layout="narrow"] .board-hint { display: none; }
@media (hover: none) { .bcard { cursor: default; } }
.board-hint svg.ic { width: 15px; height: 15px; }

/* Step rail */
.board-foot { margin-top: var(--s4); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s1); list-style: none; padding: 0; margin: 0; }
.steps button {
  position: relative; width: 100%; display: flex; align-items: center; gap: var(--s2); padding: 14px 2px 6px; border: 0; background: transparent; cursor: pointer;
  text-align: left; color: var(--label-3); font-size: 14px; font-weight: 560; transition: color .2s;
}
.steps button::before, .steps button::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; border-radius: 2px; }
.steps button::before { right: 0; background: var(--hair-2); }
.steps button::after { width: 0; background: var(--label); }
.steps button svg.ic { width: 17px; height: 17px; }
.steps button:hover { color: var(--label); }
.steps button.done { color: var(--label-2); }
.steps button.done::after { width: 100%; }
.steps button.cur { color: var(--label); }
.steps button.cur::after { width: var(--p, 100%); }
.step-caption { display: flex; gap: var(--s4); align-items: center; justify-content: space-between; min-height: 52px; margin-top: var(--s2); }
.step-caption p { font-size: 17px; line-height: 1.45; color: var(--label-2); max-width: 40em; text-wrap: pretty; }
.step-caption p.swap { animation: rise .4s var(--ease); }
.step-caption .btn { flex: none; }
@media (max-width: 680px) {
  .steps .lbl { display: none; }
  .steps button { justify-content: center; padding-top: 12px; }
  .board-hint { top: var(--s3); right: var(--s3); }
}

/* ---------- Sections ---------- */
.block { padding-top: var(--section); }
.sec-head { display: grid; gap: var(--s4); margin-bottom: var(--head-gap); }
.sec-head .lede { max-width: 32em; }

/* Why */
/* Two-tone heads: one sentence in ink, one in grey, same size. The colour does the work small print used to. */
.why-title { max-width: 21ch; }
.two-tone .quiet { color: var(--label-3); }
.why-title .quiet::after { content: " "; }
#how-title, #out-title { max-width: 24ch; }
#how-title .quiet::before, #out-title .quiet::before { content: " "; }
:lang(zh) .two-tone .quiet::after, :lang(zh) .two-tone .quiet::before { content: none; }
.why-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5) clamp(var(--s6), 6vw, var(--s9)); margin-top: var(--head-gap); align-items: start; }
.why-body .lede { max-width: 18em; }
.why-side { display: grid; gap: clamp(var(--s6), 5vw, var(--s8)); align-content: start; }

/* Nothing gets wiped: each step of the thinking is a translucent sheet laid on the last. At rest the three
   drawings register as one board (only the paper edges peek out); point at it and the stack opens into an
   exploded view, each layer on a spring, the top ones lifting higher. One line language: hand-drawn, one
   stroke width, round caps, every connector computed to end exactly on a shape's edge. */
.layers { margin: 0; width: min(100%, 400px); --mx: 0; --my: 0;
  --spring: linear(0, 0.039, 0.133, 0.256, 0.388, 0.518, 0.635, 0.737, 0.821, 0.888, 0.939, 0.976, 1.002, 1.018, 1.027, 1.031, 1.031, 1.029, 1.026, 1.022, 1.018, 1.014, 1.01, 1.007, 1.005, 1.003, 1.001, 1, 1, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 1); }
.sheets { position: relative; width: 100%; aspect-ratio: 320 / 196; }
.sheet { position: absolute; inset: 4% 4% 4% 4%; transform: translate(0, -10px); opacity: 0;
  transition: transform .9s var(--settle), opacity .35s var(--e-out), translate .5s var(--e-out); }
@supports (transition-timing-function: linear(0, 1)) { .sheet { transition: transform .9s var(--spring), opacity .35s var(--e-out), translate .5s var(--e-out); } }
.sheet .paper { position: absolute; inset: 0; border-radius: 12px; background: var(--sheet);
  box-shadow: inset 0 1px 0 var(--sheet-edge), 0 0 0 .5px var(--hair-2), 0 1px 2px rgba(0,0,0,.05), 0 12px 22px -18px rgba(0,0,0,.35);
  transition: transform .9s var(--settle), box-shadow .6s var(--e-out); }
@supports (transition-timing-function: linear(0, 1)) { .sheet .paper { transition: transform .9s var(--spring), box-shadow .6s var(--e-out); } }
.sheet .paper::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 90% at calc(18% + var(--mx) * 30%) calc(0% + var(--my) * 20%), var(--sheet-edge), transparent 58%); opacity: .5; }
/* The papers sit a little askew; the drawings on them stay registered. */
.sheet.s1 .paper { transform: rotate(-2.2deg) translate(-1.5%, -1%); }
.sheet.s2 .paper { transform: rotate(.8deg); }
.sheet.s3 .paper { transform: rotate(2.4deg) translate(1.5%, 1.5%); }
.sheet svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sheet path { fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sheet .thin { stroke-width: 1.3; }
.sheet .fillish { fill: color-mix(in srgb, var(--label-3) 22%, transparent); }
.sheet .ink-1 { stroke: var(--label); }
.sheet .ink-3 { stroke: var(--label-3); }
.sheet .ink-b { stroke: var(--B-fill); }
.sheet .knot { fill: var(--label); stroke: none; }
.sheet .br-a { stroke: color-mix(in srgb, var(--A-fill) 70%, var(--label-3)); }
.sheet .br-b { stroke: color-mix(in srgb, var(--B-fill) 70%, var(--label-3)); }
.sheet .br-c { stroke: color-mix(in srgb, var(--C-fill) 70%, var(--label-3)); }
.sheet .chipf { stroke-width: 1.4; }
.sheet .chipf.A { fill: var(--A-fill); stroke: var(--A-fill); } .sheet .chipf.B { fill: var(--B-fill); stroke: var(--B-fill); } .sheet .chipf.C { fill: var(--C-fill); stroke: var(--C-fill); }
.sheet .chipl { font: 700 12px/1 var(--sans); fill: var(--chip-ink); text-anchor: middle; }
.sheet .pen { stroke: var(--label); stroke-width: 1.7; }
/* The paper above already softens what is below; only the bottom sheet gets a touch quieter. */
.sheet.s1 svg > * { opacity: .9; }
.sheet.ghost { pointer-events: none; }
.sheet.ghost svg > * { opacity: 1; }
.sheet .tag { font: 600 11px/1 var(--sans); fill: var(--label-2); letter-spacing: .01em; }
:lang(zh) .sheet .tag { letter-spacing: .04em; }
/* Arriving: the sheets land one after another. */
.layers.open .sheet { transform: none; opacity: 1; }
.layers.open .s2 { transition-delay: .22s; } .layers.open .s3 { transition-delay: .44s; }
/* Opened: an exploded view. Pointer position adds a little parallax, more for the higher sheets. */
.layers.open.apart .sheet { transition-delay: 0s; }
.layers.open.apart .s1 { transform: translate(-6%, -7%); }
.layers.open.apart .s3 { transform: translate(6%, 7%); }
.layers.open.apart .s2 .paper { box-shadow: inset 0 1px 0 var(--sheet-edge), 0 0 0 .5px var(--hair-2), 0 2px 4px rgba(0,0,0,.05), 0 18px 30px -20px rgba(0,0,0,.38); }
.layers.open.apart .s3 .paper { box-shadow: inset 0 1px 0 var(--sheet-edge), 0 0 0 .5px var(--hair-2), 0 3px 6px rgba(0,0,0,.06), 0 26px 40px -22px rgba(0,0,0,.42); }
.layers .s1 { translate: calc(var(--mx) * -2px) calc(var(--my) * -1.5px); }
.layers .s2 { translate: calc(var(--mx) * 2px) calc(var(--my) * 1.5px); }
.layers .s3 { translate: calc(var(--mx) * 6px) calc(var(--my) * 4px); }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet .paper { transition: none !important; } .layers .sheet { translate: none; } }

.contrast { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.42; }
.contrast th { text-align: left; font-size: 12.5px; font-weight: 560; color: var(--label-3); padding: 0 var(--s4) var(--s3) 0; }
.contrast th + th, .contrast td + td { padding-left: var(--s5); }
.contrast td { vertical-align: top; padding: var(--s4) var(--s4) var(--s4) 0; border-top: 1px solid var(--hair-2); width: 50%; }
.contrast td > * { vertical-align: top; }
.contrast td { position: relative; }
.contrast td > span { display: block; padding-left: 26px; text-wrap: pretty; }
/* The marks: one 16px grid, one stroke family, centred on the first line. The cross is a size smaller than the
   check so the two weigh the same; it stays quiet grey, the check carries the colour. */
.contrast td svg.mk { position: absolute; width: 16px; height: 16px; margin-top: 3px; stroke-linecap: round; stroke-linejoin: round; }
.contrast td + td svg.mk { left: var(--s5); }
.contrast svg.no { color: var(--label-3); stroke-width: 1.4; opacity: .8; }
.contrast svg.yes { color: var(--ok); stroke-width: 1.75; }
.contrast td:first-child { color: var(--label-3); }
/* The strike is drawn, not a text decoration, so it can sweep across, line by line. */
.contrast .st { background: linear-gradient(color-mix(in srgb, var(--label-3) 60%, transparent), color-mix(in srgb, var(--label-3) 60%, transparent)) no-repeat 0 56% / 100% 1px; -webkit-box-decoration-break: slice; box-decoration-break: slice; }
.contrast td + td { font-weight: 500; }
/* On scroll each row resolves in turn: the old way is struck out, then the new one arrives (site.js adds .reveal). */
.contrast.reveal td:first-child { color: var(--label-2); transition: color .34s var(--e-out); }
.contrast.reveal .st { background-size: 0% 1px; transition: background-size .34s var(--e-out); }
.contrast.reveal svg.no { opacity: .45; transition: opacity .34s var(--e-out); }
.contrast.reveal svg.yes { stroke-dasharray: 1 2; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset .32s var(--e-out) .26s, opacity .08s linear .26s; }
.contrast.reveal td + td > span { opacity: 0; transform: translateY(3px); transition: opacity .3s var(--e-out) .3s, transform .4s var(--e-out) .3s; }
.contrast.reveal tr.done td:first-child { color: var(--label-3); }
.contrast.reveal tr.done .st { background-size: 100% 1px; }
.contrast.reveal tr.done svg.no { opacity: .8; }
.contrast.reveal tr.done svg.yes { stroke-dashoffset: 0; opacity: 1; }
.contrast.reveal tr.done td + td > span { opacity: 1; transform: none; }
.contrast tbody tr:last-child td { border-bottom: 1px solid var(--hair-2); }
@media (max-width: 900px) {
  .why-body { grid-template-columns: 1fr; }
  .why-body .lede { max-width: 30em; }
}
@media (max-width: 560px) {
  .contrast thead { display: none; }
  .contrast, .contrast tbody, .contrast tr, .contrast td { display: block; width: auto; }
  .contrast tr { padding: var(--s4) 0; border-top: 1px solid var(--hair-2); }
  .contrast tbody tr:last-child { border-bottom: 1px solid var(--hair-2); }
  .contrast td, .contrast tbody tr:last-child td { border: 0; padding: 0; }
  .contrast td + td { padding-left: 0; margin-top: 6px; }
  .contrast td + td svg.mk { left: 0; }
}

/* ---------- How it works: the zones board ---------- */
/* One control for "pick one of three", used by the use-case tabs and the crew modes. */
/* Light by default: no frame, a faint well, and a flat thumb that only lifts as far as it needs to read. */
.seg { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--hover); max-width: 100%; }
.seg .thumb { position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 999px; background: var(--card); box-shadow: 0 1px 2px rgba(11,12,14,.06); transition: transform .5s var(--settle), width .5s var(--settle); }
:root[data-theme="dark"] .seg .thumb { background: rgba(255,255,255,.09); box-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .seg .thumb { background: rgba(255,255,255,.09); box-shadow: none; } }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; background: transparent; height: 34px; padding: 0 var(--s4); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--label-3); cursor: pointer; white-space: nowrap; transition: color .2s, transform .45s var(--spring); }
.seg button svg.ic { width: 16px; height: 16px; }
.seg button:hover { color: var(--label); }
.seg button:active { transform: scale(.96); }
.seg button[aria-selected="true"], .seg button[aria-checked="true"] { color: var(--label); }
.tabs { margin-bottom: var(--s5); }
@media (max-width: 520px) {
  .tabs { display: flex; width: 100%; }
  .tabs button { flex: 1 1 auto; padding: 0 var(--s2); }
  .tabs button svg.ic { display: none; }
}

.zb {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); padding: var(--s3);
  border-radius: var(--r-board); isolation: isolate;
  background-color: var(--canvas-lift); background-image: radial-gradient(var(--dot) 1px, transparent 1.3px); background-size: 22px 22px; background-position: 11px 11px;
  box-shadow: var(--shadow-board);
}
.zb::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 80% at 12% -10%, var(--lamp), transparent 70%); }
.zb-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.zb-lines path { fill: none; stroke: var(--thread); stroke-width: 1.5; stroke-linecap: round; transition: opacity .35s var(--ease), stroke-width .25s, stroke .25s; }
.zb-lines path.supports { stroke: color-mix(in srgb, var(--ok) 70%, transparent); }
.zb-lines path.lineB { stroke: color-mix(in srgb, var(--B-fill) 80%, transparent); }
.zb-lines path.aside { stroke-dasharray: 4 5; }
.zb-lines path.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .5s cubic-bezier(.45,.05,.2,1) forwards; }
.lane { position: relative; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; min-width: 0; padding: 14px 12px 14px; border-radius: 20px;
  background: color-mix(in srgb, var(--card) 38%, transparent); box-shadow: inset 0 0 0 1px var(--hair); }
.lane-head { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: 10px; align-items: start; padding: 0 2px 13px; margin-bottom: 14px; border-bottom: 1px solid var(--hair); }
.lane-head h3 { align-self: end; }
.lane-ic { grid-row: span 2; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--card); box-shadow: 0 0 0 .5px var(--hair-2), 0 1px 2px rgba(0,0,0,.05); color: var(--label); }
.lane-ic svg.ic { width: 17px; height: 17px; }
.lane-head h3 { font-size: 17px; line-height: 1.2; }
.lane-head p { font-size: 12.5px; line-height: 1.3; color: var(--label-3); }
.lane-cards { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px; }

.zc { min-width: 0; cursor: pointer; transition: opacity .35s var(--ease), transform .5s var(--spring), box-shadow .25s var(--ease), filter .35s; outline-offset: 3px; }
.zc:hover, .zc.lit { transform: translateY(-2px); }
/* No hover lifts while the page is moving under a resting pointer. */
html.scrolling .zc:not(.lit):hover { transform: none; }
.zc.dir .t { display: flex; align-items: baseline; }
.zc.dir .chip { margin-top: 1px; align-self: flex-start; }
.zc.aside { padding-top: 11px; padding-bottom: 11px; }
.zc.aside .t { font-size: 14.5px; }
.zc.aside .note { display: block; margin-top: 7px; padding-top: 7px; font-size: 12.5px; color: var(--label-2); }
/* Cards off the traced line fade their ink but keep their paper, so lines behind them stay hidden. */
.zb.tracing .zc:not(.lit) { box-shadow: 0 0 0 1px var(--hair); }
.zb.tracing .zc:not(.lit) > * { opacity: .34; filter: saturate(.3); transition: opacity .35s var(--ease), filter .35s; }
.zb.tracing .zc.lit { opacity: 1; filter: none; box-shadow: var(--shadow-up); }
.zb.tracing .zc.ink.lit { box-shadow: 0 0 0 1px var(--ink-rule), var(--shadow-up); }
.zb.tracing .zc.adopted.lit { box-shadow: 0 0 0 2px var(--B-fill), var(--shadow-up); }
.zb.tracing .zc.aside.lit { box-shadow: 0 0 0 1px var(--label-4), var(--shadow-up); }
.zb.tracing .zb-lines path { opacity: .16; }
.zb.tracing .zb-lines path.lit { opacity: 1; stroke-width: 2.2; }
.zb-lines .spark { stroke: var(--card); stroke-width: 1.5; }
.zc.swap { opacity: 0; transform: translateY(8px); transition: none; }

/* prototype card: a picture of the thing, in a well like the app's media */
.zc .media { position: relative; margin: -7px -9px 11px; border-radius: 11px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--hair); }
.zc .media svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Evidence in its own form (a link, a chart, a slice of logs): a short well on top, then what it shows. */
.zc.has-media .media:not(.lp) { aspect-ratio: auto; height: 84px; }
.zc.has-media .b { margin-top: 0; color: var(--label); }
.zc .media.lp { aspect-ratio: auto; height: auto; display: flex; align-items: center; gap: 10px; padding: 10px 11px; }
.lp-ic { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--label-3); }
.zc .media.lp .lp-ic svg { position: static; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lp-tx { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 360px) { .lp-ic { display: none; } }
.lp-d { font-size: 11.5px; line-height: 14px; color: var(--label-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The page title is the part that says something, so it may take a second line; only the address gets cut. */
.lp-t { font-size: 13px; line-height: 16px; font-weight: 600; color: var(--label); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; text-wrap: balance; }
.zc .cb { padding: 8px 0 0 10px; font: 500 11px/16px var(--mono); color: var(--label-3); white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent), linear-gradient(#000 62%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 80%, transparent), linear-gradient(#000 62%, transparent); mask-composite: intersect; }
.zc .cb i { font-style: normal; color: var(--label-4); margin-right: 10px; }
.zc .cb mark { background: color-mix(in srgb, var(--label) 14%, transparent); color: var(--label); border-radius: 3px; padding: 0 2px; margin: 0 -2px; }
.ill .rt-grid { fill: none; stroke: var(--hair-2); stroke-width: 1; }
.ill .rt-area { fill: var(--label); opacity: .06; }
.ill .rt-line { fill: none; stroke: var(--label); stroke-width: 1.6; opacity: .8; stroke-linecap: round; }
.ill .rt-cut { fill: none; stroke: var(--label-3); stroke-width: 1; stroke-dasharray: 2 3; }
.ill .rt-dot { fill: var(--label); }
.ill .rt-tx { fill: var(--label-3); font: 600 9px/1 var(--sans); }
.zc .meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: var(--label-3); font-variant-numeric: tabular-nums; }
.zc .meta i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok-fill); }
/* What ships: a picture of the output, drawn with the same three facts as the board (B, its sources, A and C set aside). */
.zc .meta .sep { margin: 0 2px; color: var(--label-3); }
.ill .sheet-front { fill: var(--card); stroke: var(--hair-2); stroke-width: 1; }
.ill .sheet-back { fill: var(--card-3); }
.ill .bar-ink { fill: var(--label); opacity: .82; }
.ill .bar-soft { fill: var(--label-4); }
.ill .pill-ok { fill: color-mix(in srgb, var(--ok-fill) 30%, transparent); }
.ill .set-aside rect { fill: var(--label-4); opacity: .7; }
.ill .frame { fill: #16181d; }
.ill .frame-ink { fill: #0e0f12; opacity: .85; }
.ill .glow-b { fill: color-mix(in srgb, var(--B-fill) 45%, transparent); filter: blur(10px); }
.ill .play { fill: rgba(255,255,255,.92); }
.ill .play-ink { fill: #0b0c0e; }
.ill .track { fill: var(--label-4); opacity: .6; }
.ill .track-cut { fill: var(--label-4); }
.ill .dot3 { fill: var(--label-4); }
.ill .ring { fill: none; stroke: var(--label-4); stroke-width: 5; }
.ill .ring-b { fill: none; stroke: var(--B-fill); stroke-width: 5; stroke-linecap: round; }

/* illustrations inside prototype cards */
.ill .line { fill: none; stroke: var(--label); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ill .soft { fill: none; stroke: var(--label-3); stroke-width: 1.3; stroke-linecap: round; }
.ill .fill-card { fill: var(--card); }
.ill .fill-2 { fill: var(--card-3); }
.ill .glow { fill: url(#glowB); }
.ill .pass { fill: var(--ok-fill); }
.ill .fail { fill: var(--danger); }
.ill .b-ink { fill: var(--B-fill); }
.ill .b-stroke { fill: none; stroke: var(--B-fill); stroke-width: 1.6; stroke-linecap: round; }
.ill text { font: 600 9px var(--sans); fill: var(--label-3); letter-spacing: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ill .drop { transform-box: view-box; }
  .proto.alive .ill .drop { animation: settle 1.1s var(--spring); }
  .ill .playhead { transform-box: view-box; }
  .proto.alive .ill .playhead { animation: scrub 1.8s cubic-bezier(.45,0,.25,1); }
  .ill .pass, .ill .fail { transform-box: fill-box; transform-origin: center; }
  .proto.alive .ill .pass, .proto.alive .ill .fail { animation: tick .55s var(--spring) both; animation-delay: calc(var(--i) * 14ms); }
}
@keyframes settle { 0% { transform: translateY(-16px); opacity: .4; } 45% { opacity: 1; } }
@keyframes scrub { 0% { transform: none; } 62% { transform: translateX(140px); opacity: 1; } 70% { transform: translateX(140px); opacity: 0; } 71% { transform: none; opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes tick { 40% { transform: scale(.55); } }

/* Below 900px the lanes stack and read top to bottom. The chosen direction comes first; the set-aside pair sits under it. */
@media (max-width: 900px) {
  .zb { grid-template-columns: 1fr; row-gap: 0; padding: var(--s3); }
  .lane + .lane { margin-top: var(--s4); }
  .lane-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .lane-cards > .wide { grid-column: 1 / -1; }
  .lane-cards > [data-id="B"] { order: 1; }
  .lane-cards > .aside { order: 2; }
  .zc .media { aspect-ratio: auto; height: clamp(150px, 34vw, 240px); }
  .zc.has-media .media:not(.lp) { height: 84px; }
  .zc .media.lp { height: auto; }
}
@media (max-width: 620px) {
  .zb { padding: var(--s2); }
  .lane { padding: 12px 10px; }
  .lane + .lane { margin-top: var(--s3); }
  .lane-cards { gap: 8px; }
}

/* ---------- What it becomes ---------- */
/* A reel of five outputs. The one in front is lit; the others wait, dimmed, under feathered edges. */
.reel { position: relative; overflow: hidden; padding: 6px 0 30px; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl, 8%), #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fl, 8%), #000 92%, transparent); }
.reel-track { display: flex; gap: 24px; width: max-content; transition: transform .9s var(--e-out); }
.reel.still .reel-track, .reel.still .ri { transition: none; }
.ri { flex: none; width: min(460px, calc(100vw - 64px)); height: 300px; margin: 0; padding: 24px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-card);
  overflow: hidden; position: relative; opacity: .3; transform: scale(.94); cursor: pointer; user-select: none;
  transition: opacity .6s var(--e-out), transform .9s var(--e-out); }
.ri.on { opacity: 1; transform: none; cursor: default; }

/* Plan: the spec, B on top, with its reasons, what it rests on and what was set aside. */
.doc-h { display: flex; align-items: center; font: 600 19px/1.25 var(--display); letter-spacing: -.02em; color: var(--label); margin-bottom: 18px; }
.doc dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 0; font-size: 13.5px; line-height: 1.45; }
.doc dt { color: var(--label-3); font-weight: 500; }
.doc dd { margin: 0; color: var(--label); }
.doc dd.aside { color: var(--label-3); }
.doc-ev { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.doc-ev li { text-wrap: pretty; }
.doc-ev i { font-style: normal; font-size: 11px; font-weight: 600; line-height: 17px; display: inline-block; padding: 0 6px; margin-right: 7px; border-radius: 5px; color: var(--label-2); background: var(--card-3); vertical-align: 1px; }

/* Tasks: the same decision broken into work. */
.kb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; height: 100%; }
.kb-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.kb-col h5 { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--label-3); }
.kb-col h5 b { font-weight: 500; color: var(--label-4); }
.kb-card { padding: 11px 12px; border-radius: 11px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--hair); font-size: 13.5px; line-height: 1.4; color: var(--label); }
.kb-col.done .kb-card { color: var(--label-3); }
.kb-col.done .kb-card span { text-decoration: line-through; text-decoration-color: var(--label-4); }
.kb-card span { display: block; }
.kb-card time { display: block; margin-top: 5px; font-size: 11.5px; line-height: 1.3; color: var(--label-3); font-variant-numeric: tabular-nums; }
/* Status code: an empty ring to do, a half-filled amber ring doing, a filled green dot done. Shape carries it
   as much as colour, so it still reads without colour. */
.kb-col h5::before { content: ""; flex: none; width: 10px; height: 10px; box-sizing: border-box; border-radius: 50%; padding: 1.75px;
  box-shadow: inset 0 0 0 1.4px var(--st, var(--label-3)); background-clip: content-box; }
.kb-col.doing { --st: var(--A-fill); }
.kb-col.doing h5::before { background-image: conic-gradient(var(--st) 0 180deg, transparent 0); }
.kb-col.done { --st: var(--ok-fill); }
.kb-col.done h5::before { background: var(--st); padding: 0; }
.kb-col.doing .kb-card { background: color-mix(in srgb, var(--st) 8%, var(--card-2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--st) 24%, transparent); }
.kb-card { text-wrap: pretty; }

/* Table: the field test, with the row that became a counter marked the way counters are marked on the board. */
.tb-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font: 600 16px/1.3 var(--display); letter-spacing: -.015em; color: var(--label); }
.tb-seg { display: inline-flex; padding: 2px; border-radius: 999px; background: var(--hover); font: 500 11.5px/1 var(--sans); letter-spacing: 0; color: var(--label-3); flex: none; }
.tb-seg > * { padding: 5px 9px; border-radius: 999px; }
.tb-seg b { font-weight: 600; color: var(--label); background: var(--card); box-shadow: 0 1px 2px rgba(11,12,14,.08); }
.tb table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tb td { height: 44px; border-top: 1px solid var(--hair); color: var(--label); }
.tb td.v { width: 54px; color: var(--label-3); font-variant-numeric: tabular-nums; text-align: right; padding-right: 14px; }
.tb td.bar { width: 34%; }
.tb td.bar i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--label) calc(var(--v) * 100%), var(--hover) 0); opacity: .75; }
.tb tr.warn td.v { color: var(--danger-ink); }
.tb tr.warn td.bar i { background: linear-gradient(90deg, var(--danger) calc(var(--v) * 100%), var(--hover) 0); opacity: 1; }

/* Cut and Site: the one moment you picked, lit among the rough cut, in a frame and in a browser. Light only, no new colour. */
/* A dark frame on a light page reads louder than its neighbours when dimmed, so it steps back further. */
:root[data-theme="light"] .ri.dark:not(.on) { opacity: .16; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .ri.dark:not(.on) { opacity: .16; } }
.ri.dark { background: #0d0e11; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), var(--shadow-card); }
.mo { position: absolute; display: flex; align-items: center; gap: 5px; transform: translate(-50%, -50%); }
.mo i { width: 20px; height: 28px; border-radius: 5px; background: rgba(255,255,255,.12); }
.mo i.on { width: 30px; height: 42px; border-radius: 7px; background: #f4f5f7; box-shadow: 0 0 30px 10px rgba(255,255,255,.26), 0 0 90px 30px rgba(255,255,255,.1); }
.cut { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #f4f5f7; }
.cut-glow { position: absolute; left: 50%; top: 38%; }
.cut-line { position: relative; font: 600 24px/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 18px; }
.cut-bar { position: relative; display: flex; align-items: center; gap: 12px; font: 600 11.5px/1 var(--sans); color: rgba(244,245,247,.7); font-variant-numeric: tabular-nums; }
.cut-bar svg { width: 16px; height: 16px; fill: #f4f5f7; }
.cut-bar i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.cut-bar i b { display: block; width: 0; height: 100%; background: #f4f5f7; }
.ri.on .cut-bar i b { animation: cutplay 3.8s linear forwards; }
@keyframes cutplay { to { width: 100%; } }
.br { position: absolute; inset: 0; display: flex; flex-direction: column; }
.br-top { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--hair-2); }
.br-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--label-4); opacity: .6; }
.br-top span { margin: 0 auto; padding: 4px 14px; border-radius: 999px; background: var(--hover); font-size: 11.5px; color: var(--label-3); transform: translateX(-16px); }
.br-page { flex: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 12px; padding: 0 26px; }
.br-copy h5 { margin: 0 0 8px; font: 600 22px/1.15 var(--display); letter-spacing: -.025em; color: var(--label); }
.br-copy p { margin: 0 0 16px; font-size: 13px; line-height: 1.45; color: var(--label-3); }
.br-cta { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--label); color: var(--card); font-size: 12.5px; font-weight: 600; }
.br-glow { position: relative; align-self: stretch; margin: 18px 0; border-radius: 14px; background: #0d0e11; overflow: hidden; }
.br-glow .mo { left: 50%; top: 50%; gap: 4px; }
.br-glow .mo i { width: 13px; height: 20px; border-radius: 4px; }
.br-glow .mo i.on { width: 22px; height: 32px; border-radius: 6px; }
:lang(zh) .doc-h, :lang(zh) .tb-h, :lang(zh) .cut-line, :lang(zh) .br-copy h5 { letter-spacing: 0; }
@media (max-width: 620px) {
  .reel { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent); }
  .reel-track { gap: 14px; }
  .ri { height: 280px; padding: 20px; }
  #reelTabs button { flex: 1; padding: 0 4px; }
  .kb { gap: 8px; }
  .kb-card { padding: 9px 10px; font-size: 12.5px; }
  .tb td.bar { width: 26%; }
  .br-page { grid-template-columns: 1fr; padding: 16px 18px; }
  .br-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .reel-track, .ri { transition: none; } .ri.on .cut-bar i b { animation: none; width: 30%; } }

/* ---------- Crew ---------- */
.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hair-2); }
.agent { padding: var(--s5) var(--s5) 0 0; }
.agent + .agent { padding-left: var(--s5); border-left: 1px solid var(--hair); }
.who { display: flex; align-items: center; gap: var(--s3); }
.who h3 { font-size: 18px; }
.who p { font-size: 14px; line-height: 1.35; color: var(--label-3); }
.orb { position: relative; width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent);
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .5s var(--ease), transform .5s var(--spring); }
.orb svg.ic { width: 21px; height: 21px; }
.agent:hover .orb { transform: scale(1.06); }
.agent blockquote {
  margin-top: var(--s5); font-family: var(--display); font-size: 19px; line-height: 1.36; font-weight: 500; letter-spacing: -.016em;
  font-variation-settings: "opsz" 20; text-indent: -.42em; text-wrap: pretty; transition: opacity .4s var(--ease), color .4s;
}
:lang(zh) .agent blockquote { letter-spacing: 0; text-indent: -.5em; line-height: 1.55; font-weight: 500; }
@keyframes alive { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--c) 8%, transparent), 0 10px 26px -6px color-mix(in srgb, var(--c) 80%, transparent); } }

.agency { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6) clamp(var(--s6), 5vw, var(--s9)); align-items: center; margin-top: var(--s8); padding-top: var(--s7); border-top: 1px solid var(--hair-2); }
.agency-line { font-family: var(--display); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.2; font-weight: 560; letter-spacing: -.024em; font-variation-settings: "opsz" 32; max-width: 16em; text-wrap: balance; }
:lang(zh) .agency-line { letter-spacing: 0; font-weight: 600; }
/* The switch sits on the board it changes (same place as the tabs above the How board). Its caption sits right
   under it, so switch, caption and board read as one group and the words change where you tapped. */
.scene-col { display: grid; justify-items: start; min-width: 0; }
.scene-col .modes { margin-bottom: var(--s3); }
.scene-col .scene-wrap { width: 100%; }
.mode-desc { font-size: 15px; line-height: 1.45; color: var(--label-2); min-height: 1.45em; max-width: 34em; text-wrap: pretty; margin: 0 0 var(--s4) 4px;
  transition: opacity .16s var(--e-out), transform .16s var(--e-out); }
.mode-desc.swap { opacity: 0; transform: translateY(-2px); transition-duration: .1s; }
@media (max-width: 560px) { .mode-desc { min-height: 2.9em; } }

/* The crew scene: a small board where the same moment plays out in each mode, with a timeline of when. */
.scene-wrap { margin: 0; min-width: 0; }
.scene { position: relative; aspect-ratio: 560 / 236; border-radius: var(--r-board); overflow: hidden; cursor: pointer;
  background-color: var(--canvas-lift); background-image: radial-gradient(var(--dot) 1px, transparent 1.3px); background-size: 22px 22px; background-position: 11px 11px; box-shadow: var(--shadow-board); }
.scene-stage { position: absolute; left: 0; top: 0; width: 560px; height: 236px; transform-origin: 0 0; }
.sc-card { position: absolute; opacity: 0; transform: translate(var(--ox, 0px), var(--oy, 8px)) scale(.94); filter: blur(3px);
  transition: opacity .2s var(--e-out), transform .24s var(--e-out), filter .2s var(--e-out); }
.sc-card.on { opacity: 1; transform: none; filter: none; transition: opacity .36s var(--e-out), transform .62s var(--settle), filter .42s var(--e-out); }
.sc-card .t { display: flex; align-items: baseline; }
/* The Critic's pin: a note not opened yet. It sits on the board beside your card, never on it, with its tip
   toward the card, exactly where the note's avatar will be, so the note opens out of it. */
.sc-dot { position: absolute; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-card);
  transform: scale(0); transform-origin: 0 100%; transition: transform .45s var(--settle); }
.sc-dot[data-tip="bl"] { border-bottom-left-radius: 6px; }
.sc-dot[data-tip="tl"] { border-top-left-radius: 6px; transform-origin: 0 0; }
.sc-dot.on { transform: scale(1); }
.av { width: 18px; height: 18px; border-radius: 50%; flex: none; display: inline-grid; place-items: center; background: var(--c); color: #fff; font: 700 9.5px/1 var(--sans); }
:root[data-theme="dark"] .av { color: #0a0b0d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .av { color: #0a0b0d; } }
.sc-bubble { position: absolute; display: flex; gap: 9px; align-items: flex-start; padding: 10px 13px 11px 10px; border-radius: 13px; background: var(--card);
  box-shadow: var(--shadow-card); font-size: 13.5px; line-height: 1.42; color: var(--label);
  opacity: 0; transform: scale(.4); transform-origin: 19px 20px; transition: opacity .2s var(--e-out), transform .24s var(--e-out); }
.sc-bubble.on { opacity: 1; transform: none; transition: opacity .3s var(--e-out), transform .55s var(--settle); }
.sc-bubble .av { margin-top: 1px; }
.sc-bubble p { text-wrap: balance; } /* site.js then shrinks it to its longest line, so no empty space on the right */
.sc-avs { display: flex; margin-top: 10px; }
.sc-avs .av { box-shadow: 0 0 0 1.5px var(--card); }
.sc-avs .av + .av { margin-left: -3px; }
.sc-draft { background: color-mix(in srgb, var(--card) 70%, transparent); box-shadow: inset 0 0 0 1.25px var(--thread); }
.sc-draft::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(-45deg, transparent 0 7px, var(--hair) 7px 8px); opacity: .5; }
.sc-acts { position: relative; display: flex; justify-content: flex-end; gap: 6px; margin-top: 10px; }
.sc-acts span { font-size: 12px; font-weight: 600; line-height: 24px; padding: 0 10px; border-radius: 999px; color: var(--label); box-shadow: inset 0 0 0 1px var(--hair-2); background: var(--card); }
.sc-acts .keep { background: var(--act); color: var(--on-act); box-shadow: none; }
@media (max-width: 1000px) { .agency { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .crew { grid-template-columns: 1fr 1fr; }
  .agent:nth-child(3) { padding-left: 0; border-left: 0; }
  .agent:nth-child(n+3) { margin-top: var(--s6); border-top: 1px solid var(--hair); }
}
@media (max-width: 560px) {
  .crew { grid-template-columns: 1fr; }
  .agent, .agent + .agent { padding: var(--s5) 0; padding-left: 0; border-left: 0; margin-top: 0; }
  .agent + .agent { border-top: 1px solid var(--hair); }
  .agent blockquote { margin-top: var(--s4); }
  .agency { grid-template-columns: 1fr; margin-top: var(--s5); }
}

/* ---------- Get Vellum ---------- */
/* The last section rises out of the page instead of starting at a line: the lighter sheet fades in from above. */
.get { margin-top: calc(var(--section) * .5); padding: calc(var(--section) * 1.5) 0 var(--section); background: linear-gradient(var(--canvas), var(--canvas-lift) min(46%, 320px)); }
.get-wrap { max-width: 680px; }
.get-wrap .sec-head { justify-items: center; text-align: center; }
/* The mark as a light. The two small cards are frosted glass; the decided card is solid and, in the dark, glows. Its light spreads
   down behind the heading and the panel, which is frosted so the light reads through it. */
.get { overflow-x: clip; }
.get-wrap { position: relative; }
.get-mark { position: relative; width: 128px; height: 128px; margin: 0 auto 30px; }
.get-mark::before { content: ""; position: absolute; left: 50%; top: 58%; width: 640px; height: 520px; transform: translate(-50%, -30%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.075), transparent); opacity: 0; transition: opacity 1.2s var(--e-out); }
.get-mark svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.gm-pane { fill: rgba(11,12,14,.05); }
.gm-e1 { stop-color: rgba(11,12,14,.32); } .gm-e2 { stop-color: rgba(11,12,14,.06); }
.gm-on { fill: #0b0c0e; filter: none; }
:root[data-theme="dark"] .gm-pane { fill: rgba(255,255,255,.06); }
:root[data-theme="dark"] .gm-e1 { stop-color: rgba(255,255,255,.44); } :root[data-theme="dark"] .gm-e2 { stop-color: rgba(255,255,255,.06); }
:root[data-theme="dark"] .gm-on { fill: #f6f7f9; filter: url(#gm-f); }
:root[data-theme="dark"] .get-mark::before { opacity: 1; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .gm-pane { fill: rgba(255,255,255,.06); }
  :root:not([data-theme="light"]) .gm-e1 { stop-color: rgba(255,255,255,.44); } :root:not([data-theme="light"]) .gm-e2 { stop-color: rgba(255,255,255,.06); }
  :root:not([data-theme="light"]) .gm-on { fill: #f6f7f9; filter: url(#gm-f); }
  :root:not([data-theme="light"]) .get-mark::before { opacity: 1; }
}
.get-lede { margin-top: var(--s4); font-size: 17px; line-height: 1.5; color: var(--label-2); max-width: 30em; text-wrap: balance; }
.get-lede span { display: block; }

/* One button; the form lives in the dialog below. */
.join { width: min(460px, 100%); margin: var(--s7) auto 0; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 22px; }
.get-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.get-acts .btn { height: 52px; padding: 0 28px; }
.get-acts .btn[hidden] { display: none; }
@media (max-width: 380px) { .get-acts { flex-direction: column-reverse; align-self: stretch; width: 100%; } .get-acts .btn { width: 100%; } }
.join.live .get-go { display: none; }
.done-state { display: none; gap: 10px; align-items: flex-start; justify-content: center; text-align: left; }
.done-state strong { display: block; font-size: 16px; font-weight: 600; line-height: 22px; }
.done-state p { margin-top: 2px; font-size: 14.5px; line-height: 1.45; color: var(--label-2); }
.done-state p:empty { display: none; }
.done-ic { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--label); color: var(--card); flex: none; }
.done-ic svg.ic { width: 14px; height: 14px; stroke-width: 2.4; }
.join.sent .done-state { display: flex; animation: rise .45s var(--ease); }
.join.sent .get-go { display: none; }

/* The last step before joining: which system, and what it's for. It rises over a soft blur of the page;
   Back, Esc or a click outside close it without joining. */
.more { width: min(420px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--r-panel); background: var(--card); color: var(--label);
  box-shadow: inset 0 0 0 .5px var(--hair-2), var(--shadow-up); overflow: visible; }
.more[open] { animation: more-in .42s var(--settle); }
.more::backdrop { background: rgba(8, 9, 11, .32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .3s var(--e-out); }
@keyframes more-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.more form { display: grid; gap: 22px; padding: 26px 26px 22px; }
.more h3 { font-size: 18px; line-height: 1.3; font-weight: 600; }
.mrow { display: grid; gap: 10px; }
.mlabel { font-size: 14px; line-height: 1.3; color: var(--label-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: 14.5px; font-weight: 500; color: var(--label-2); box-shadow: inset 0 0 0 1px var(--hair-2); transition: background-color .2s, color .2s, box-shadow .2s, transform .45s var(--spring); }
.pick svg.ic { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.pick:hover { color: var(--label); background: var(--hover); }
.pick:active { transform: scale(.96); }
.pick[aria-checked="true"] { background: var(--label); color: var(--card); box-shadow: none; }
.chips[aria-invalid] .pick { box-shadow: inset 0 0 0 1px var(--danger); }
.mfield { width: 100%; height: 46px; border: 0; border-radius: var(--r-ctl); padding: 0 14px; margin: 0; font-size: 16px; color: var(--label);
  background: var(--card-2); box-shadow: inset 0 0 0 1px var(--hair); outline: none; transition: box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none; }
.mfield::placeholder { color: var(--label-3); opacity: 1; }
.mfield:focus { background: var(--card); box-shadow: inset 0 0 0 1px var(--label-3), 0 0 0 4px var(--hover); }
.mfield[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--danger); }
.macts { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 4px; }
.mmsg { display: block; margin: -2px 0 0; font-size: 13.5px; line-height: 1.35; color: var(--danger-ink); }
.mmsg:empty { display: none; }
.mmsg.info { color: var(--label-2); }
.macts .btn { height: 42px; padding: 0 18px; }
@media (prefers-reduced-motion: reduce) { .more[open], .more::backdrop { animation: none; } }

/* ---------- Footer ---------- */
.foot { background: var(--canvas-lift); }
.foot .foot-row { box-shadow: inset 0 1px 0 var(--hair); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); height: 72px; }
.brand-sm { font-size: 16px; gap: var(--s2); }
.brand-sm .mark { width: 20px; height: 20px; }
.foot-nav { display: flex; align-items: center; gap: var(--s5); font-size: 14px; color: var(--label-3); }
.foot-nav a { text-decoration: none; transition: color .15s; }
.foot-nav > span { white-space: nowrap; }
.foot-nav a:hover { color: var(--label); }
/* Language: a quiet bordered picker at the very end of the page. The native select keeps it accessible. */
.lang-pick { position: relative; display: inline-flex; align-items: center; height: 32px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--label-2); transition: box-shadow .15s, color .15s; }
.lang-pick:hover { color: var(--label); box-shadow: inset 0 0 0 1px var(--ink-rule); }
.lang-pick:focus-within { box-shadow: inset 0 0 0 1px var(--ink-rule), 0 0 0 3px var(--hover); }
.lang-pick .ic { position: absolute; width: 15px; height: 15px; pointer-events: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lang-pick .ic:first-child { left: 10px; }
.lang-pick .chev { right: 8px; }
.lang-pick select { appearance: none; -webkit-appearance: none; height: 100%; padding: 0 30px 0 32px; border: 0; background: transparent; color: inherit; font: 500 13.5px/1 var(--sans); cursor: pointer; outline: none; }
.lang-pick select option { color: #0b0c0e; }
@media (max-width: 560px) {
  .foot-row { flex-wrap: wrap; height: auto; padding-block: var(--s5); row-gap: var(--s4); }
  .foot-nav { width: 100%; gap: var(--s4); }
  .foot-nav .lang-pick { margin-left: auto; }
}

[hidden] { display: none !important; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
