
/* The brand face (design pass 1, D4): one variable file served from /assets, the only url in the
  stylesheet. The fallback is an Arial-class local face sized to Bricolage, so the swap barely moves text. */
@font-face { font-family: "Bricolage Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Roboto"); size-adjust: 100%; }
@layer tokens {
  :root {
  /* ---- knobs ---------------------------------------------------------------------------- */
  --hue-neutral: 85;          /* the barely warm paper: every grey leans a little yellow */
  --chroma-neutral: 0.004;
  --hue-accent: 236;           /* links, focus, "you", primary actions: a Prussian ink blue */
  --hue-agent: 355;            /* agents: the brand pink's hue */
  --hue-member: 250;           /* people in the workspace: slate (low chroma, see --chroma-member) */
  --hue-outsider: 186;         /* people or agents from outside the workspace: teal, always dashed */
  --hue-ok: 148;
  --hue-warn: 72;
  --hue-bad: 27;

  --l-strong: 47%;             /* lightness of hued text and marks */
  --l-mark: 56%;               /* lightness of hued fills (chart bars, edges) */
  --l-soft: 94.5%;             /* lightness of hued washes behind text */
  --c-strong: 0.125;
  --c-soft: 0.03;
  --chroma-member: 0.03;

  /* ---- raw palette: neutral ramp, 0 = page, 12 = ink ------------------------------------- */
  --n-0: oklch(98% var(--chroma-neutral) var(--hue-neutral));
  --n-1: oklch(96.6% var(--chroma-neutral) var(--hue-neutral));
  --n-2: oklch(94.6% var(--chroma-neutral) var(--hue-neutral));
  --n-3: oklch(91.5% var(--chroma-neutral) var(--hue-neutral));
  --n-4: oklch(86% var(--chroma-neutral) var(--hue-neutral));
  --n-5: oklch(74% var(--chroma-neutral) var(--hue-neutral));
  --n-6: oklch(60% var(--chroma-neutral) var(--hue-neutral));
  --n-7: oklch(50% var(--chroma-neutral) var(--hue-neutral));
  --n-8: oklch(40% var(--chroma-neutral) var(--hue-neutral));
  --n-9: oklch(31% var(--chroma-neutral) var(--hue-neutral));
  --n-10: oklch(26% var(--chroma-neutral) var(--hue-neutral));
  --n-11: oklch(23% var(--chroma-neutral) var(--hue-neutral));
  --n-12: oklch(19.5% var(--chroma-neutral) var(--hue-neutral));

  /* ---- raw palette: hued pairs ----------------------------------------------------------- */
  --accent-strong: oklch(var(--l-strong) calc(var(--c-strong) * 0.95) var(--hue-accent));
  --accent-wash: oklch(var(--l-soft) var(--c-soft) var(--hue-accent));
  --agent-strong: oklch(var(--l-strong) var(--c-strong) var(--hue-agent));
  --agent-fill: oklch(var(--l-mark) var(--c-strong) var(--hue-agent));
  --agent-wash: oklch(var(--l-soft) var(--c-soft) var(--hue-agent));
  --member-strong: oklch(var(--l-strong) var(--chroma-member) var(--hue-member));
  --member-fill: oklch(var(--l-mark) var(--chroma-member) var(--hue-member));
  --member-wash: oklch(var(--l-soft) calc(var(--chroma-member) * 0.5) var(--hue-member));
  --outsider-strong: oklch(var(--l-strong) calc(var(--c-strong) * 0.8) var(--hue-outsider));
  --outsider-fill: oklch(var(--l-mark) calc(var(--c-strong) * 0.8) var(--hue-outsider));
  --outsider-wash: oklch(var(--l-soft) var(--c-soft) var(--hue-outsider));
  --ok-strong: oklch(var(--l-strong) var(--c-strong) var(--hue-ok));
  --ok-fill: oklch(var(--l-mark) var(--c-strong) var(--hue-ok));
  --ok-wash: oklch(var(--l-soft) var(--c-soft) var(--hue-ok));
  --warn-strong: oklch(calc(var(--l-strong) + 3%) var(--c-strong) var(--hue-warn));
  --warn-fill: oklch(calc(var(--l-mark) + 14%) calc(var(--c-strong) * 1.1) calc(var(--hue-warn) + 8));
  --warn-wash: oklch(var(--l-soft) calc(var(--c-soft) * 1.4) var(--hue-warn));
  --bad-strong: oklch(var(--l-strong) calc(var(--c-strong) * 1.25) var(--hue-bad));
  --bad-fill: oklch(var(--l-mark) calc(var(--c-strong) * 1.2) var(--hue-bad));
  --bad-wash: oklch(var(--l-soft) var(--c-soft) var(--hue-bad));

  /* ---- semantic: surfaces and ink -------------------------------------------------------- */
  color-scheme: light;
  --bg: var(--n-0);
  --surface: var(--n-1);             /* side panels, table heads */
  --surface-sunken: var(--n-2);      /* code, inputs at rest */
  --text: var(--n-12);
  --text-muted: var(--n-7);
  --text-faint: var(--n-6);
  --border: var(--n-3);
  --border-strong: var(--n-4);
  --rule: var(--n-12);               /* the heavy rule under page titles */
  --card: oklch(99.4% calc(var(--chroma-neutral) * 0.5) var(--hue-neutral));   /* a row or card that sits on the page */
  --surface-raised: var(--card);     /* a card that floats over the page: the search popup */
  --scrim: oklch(22% var(--chroma-neutral) var(--hue-neutral) / 0.34);   /* the dim behind it */
  --shadow-pop: 0 28px 64px -16px oklch(22% 0.03 var(--hue-neutral) / 0.34), 0 8px 20px -8px oklch(22% 0.03 var(--hue-neutral) / 0.2);

  /* ---- semantic: accent (the one confident color) --------------------------------------- */
  --accent: var(--accent-strong);
  --accent-soft: var(--accent-wash);
  --on-accent: var(--n-0);
  --focus: var(--accent-strong);

  /* ---- semantic: provenance (reserved; status never borrows these) ---------------------- */
  --agent: var(--agent-strong);
  --agent-edge: var(--agent-strong);   /* the darker step carries thin edges */
  --agent-soft: var(--agent-wash);
  --member: var(--member-strong);
  --member-edge: var(--member-fill);
  --member-soft: var(--member-wash);
  --outsider: var(--outsider-strong);
  --outsider-edge: var(--outsider-fill);
  --outsider-soft: var(--outsider-wash);
  --you: var(--accent);
  --you-edge: var(--accent);

  /* ---- semantic: status ------------------------------------------------------------------ */
  --ok: var(--ok-strong);
  --ok-mark: var(--ok-fill);
  --ok-soft: var(--ok-wash);
  --warn: var(--warn-strong);
  --warn-mark: var(--warn-fill);
  --warn-soft: var(--warn-wash);
  --bad: var(--bad-strong);
  --bad-mark: var(--bad-fill);
  --bad-soft: var(--bad-wash);
  --info: var(--accent);
  --info-soft: var(--accent-soft);
  --muted: var(--text-muted);
  --muted-soft: var(--surface-sunken);

  /* freshness is a status scale: fresh / aging / stale */
  --fresh: var(--ok-mark);
  --aging: var(--warn-mark);
  --stale: var(--n-5);

  /* ---- semantic: charts ------------------------------------------------------------------ */
  --chart-track: var(--n-2);
  --chart-grid: var(--n-3);
  --chart-ink: var(--text-muted);
  --chart-bar: var(--series-1);      /* a single bar (a glance's progress): slot 1, the accent's hue, 3:1 on --chart-track in both themes */
  --series-1: oklch(54% 0.115 236);
  --series-2: oklch(66% 0.16 50);
  --series-3: oklch(50% 0.16 335);
  --series-4: oklch(64% 0.13 85);
  --series-5: oklch(45% 0.16 295);
  --series-6: oklch(60% 0.11 178);

  /* ---- type ------------------------------------------------------------------------------ */
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --font-brand: "Bricolage Grotesque", "Bricolage Fallback", var(--font-ui);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "URW Palladio L", P052, "Book Antiqua", Charter, "Bitstream Charter", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;

  /* fluid scale, 375px -> 1280px; ratio ~1.2 at small, ~1.25 at large */
  --step--2: clamp(0.72rem, 0.70rem + 0.08vw, 0.76rem);
  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(0.94rem, 0.91rem + 0.13vw, 1rem);
  --step-1: clamp(1.08rem, 1.03rem + 0.24vw, 1.22rem);
  --step-2: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --step-3: clamp(1.5rem, 1.3rem + 0.85vw, 1.95rem);
  --step-4: clamp(1.8rem, 1.5rem + 1.4vw, 2.6rem);

  /* ---- space ----------------------------------------------------------------------------- */
  --space-3xs: clamp(0.2rem, 0.19rem + 0.05vw, 0.25rem);
  --space-2xs: clamp(0.35rem, 0.33rem + 0.1vw, 0.45rem);
  --space-xs: clamp(0.5rem, 0.47rem + 0.13vw, 0.62rem);
  --space-s: clamp(0.72rem, 0.68rem + 0.2vw, 0.9rem);
  --space-m: clamp(1rem, 0.93rem + 0.3vw, 1.25rem);
  --space-l: clamp(1.4rem, 1.27rem + 0.55vw, 1.9rem);
  --space-xl: clamp(2rem, 1.75rem + 1.1vw, 3rem);
  --space-2xl: clamp(2.6rem, 2.2rem + 1.8vw, 4.2rem);
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.25rem);

  /* ---- shape and layout ------------------------------------------------------------------ */
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 18px;                  /* floating cards, panels */
  --radius-pill: 999px;              /* buttons, tabs, status pills, tags */
  --hairline: 1px;
  --edge-w: 3px;                     /* the provenance edge on every block */
  --measure: 66ch;
  --shell-max: 84rem;
  --panel-w: 19rem;
  --tabbar-h: 3.5rem;                /* the phone's bottom bar (below 44rem), without the safe-area inset */
  --topbar-h: 3.25rem;               /* the site bar's row, open or folded, without its bottom rule */
  --topbar-stick: calc(var(--topbar-h) + var(--hairline)); /* where the pinned site bar ends: what sticks below it starts here */
  --margin-w: 13rem;                 /* the margin beside blocks on wide screens: the block's heading, then two lines of names (§24.16, Reader R1) */
}
  /* Dark is for a screen. On paper (a print, or a page saved as a PDF) both rule sets fall away and
     the light tokens above apply, so a reader who forced the dark theme does not print light text
     on white (fixes batch 2, F4). */
  @media screen and (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
  color-scheme: dark;
  --hue-neutral: 250;
  --chroma-neutral: 0.008;
  --l-strong: 78%;
  --l-mark: 66%;
  --l-soft: 27%;
  --c-strong: 0.11;
  --c-soft: 0.035;
  --chroma-member: 0.025;

  --n-0: oklch(20.5% calc(var(--chroma-neutral) * 1.6) var(--hue-neutral));
  --n-1: oklch(23% calc(var(--chroma-neutral) * 1.6) var(--hue-neutral));
  --n-2: oklch(26% calc(var(--chroma-neutral) * 1.5) var(--hue-neutral));
  --n-3: oklch(30.5% calc(var(--chroma-neutral) * 1.4) var(--hue-neutral));
  --n-4: oklch(37% var(--chroma-neutral) var(--hue-neutral));
  --n-5: oklch(48% var(--chroma-neutral) var(--hue-neutral));
  --n-6: oklch(60% var(--chroma-neutral) var(--hue-neutral));
  --n-7: oklch(71% var(--chroma-neutral) var(--hue-neutral));
  --n-8: oklch(80% var(--chroma-neutral) var(--hue-neutral));
  --n-9: oklch(86% var(--chroma-neutral) var(--hue-neutral));
  --n-10: oklch(90% var(--chroma-neutral) var(--hue-neutral));
  --n-11: oklch(93% var(--chroma-neutral) var(--hue-neutral));
  --n-12: oklch(95.5% calc(var(--chroma-neutral) * 0.6) var(--hue-neutral));

  --warn-fill: oklch(calc(var(--l-mark) + 8%) calc(var(--c-strong) * 1.1) calc(var(--hue-warn) + 8));
  --on-accent: var(--n-0);
  --stale: var(--n-5);
  --chart-track: var(--n-2);
  --series-1: oklch(66% 0.13 236);
  --series-2: oklch(66% 0.15 50);
  --series-3: oklch(58% 0.15 335);
  --series-4: oklch(66% 0.13 85);
  --series-5: oklch(58% 0.14 295);
  --series-6: oklch(66% 0.12 178);
  --card: var(--n-1);
  --surface-raised: var(--card);     /* a step under --surface-sunken, so sunken things on the card still show */
  --scrim: oklch(9% var(--chroma-neutral) var(--hue-neutral) / 0.52);
  --shadow-pop: 0 28px 64px -16px oklch(4% 0.01 var(--hue-neutral) / 0.75), 0 8px 20px -8px oklch(4% 0.01 var(--hue-neutral) / 0.5);
}
  }
  @media screen {
    :root[data-theme="dark"] {
  color-scheme: dark;
  --hue-neutral: 250;
  --chroma-neutral: 0.008;
  --l-strong: 78%;
  --l-mark: 66%;
  --l-soft: 27%;
  --c-strong: 0.11;
  --c-soft: 0.035;
  --chroma-member: 0.025;

  --n-0: oklch(20.5% calc(var(--chroma-neutral) * 1.6) var(--hue-neutral));
  --n-1: oklch(23% calc(var(--chroma-neutral) * 1.6) var(--hue-neutral));
  --n-2: oklch(26% calc(var(--chroma-neutral) * 1.5) var(--hue-neutral));
  --n-3: oklch(30.5% calc(var(--chroma-neutral) * 1.4) var(--hue-neutral));
  --n-4: oklch(37% var(--chroma-neutral) var(--hue-neutral));
  --n-5: oklch(48% var(--chroma-neutral) var(--hue-neutral));
  --n-6: oklch(60% var(--chroma-neutral) var(--hue-neutral));
  --n-7: oklch(71% var(--chroma-neutral) var(--hue-neutral));
  --n-8: oklch(80% var(--chroma-neutral) var(--hue-neutral));
  --n-9: oklch(86% var(--chroma-neutral) var(--hue-neutral));
  --n-10: oklch(90% var(--chroma-neutral) var(--hue-neutral));
  --n-11: oklch(93% var(--chroma-neutral) var(--hue-neutral));
  --n-12: oklch(95.5% calc(var(--chroma-neutral) * 0.6) var(--hue-neutral));

  --warn-fill: oklch(calc(var(--l-mark) + 8%) calc(var(--c-strong) * 1.1) calc(var(--hue-warn) + 8));
  --on-accent: var(--n-0);
  --stale: var(--n-5);
  --chart-track: var(--n-2);
  --series-1: oklch(66% 0.13 236);
  --series-2: oklch(66% 0.15 50);
  --series-3: oklch(58% 0.15 335);
  --series-4: oklch(66% 0.13 85);
  --series-5: oklch(58% 0.14 295);
  --series-6: oklch(66% 0.12 178);
  --card: var(--n-1);
  --surface-raised: var(--card);     /* a step under --surface-sunken, so sunken things on the card still show */
  --scrim: oklch(9% var(--chroma-neutral) var(--hue-neutral) / 0.52);
  --shadow-pop: 0 28px 64px -16px oklch(4% 0.01 var(--hue-neutral) / 0.75), 0 8px 20px -8px oklch(4% 0.01 var(--hue-neutral) / 0.5);
}
  }
}
@layer tokens { .ink {
  /* ---- knobs ---------------------------------------------------------------------------- */
  --hue-neutral: 85;          /* the barely warm paper: every grey leans a little yellow */
  --chroma-neutral: 0.004;
  --hue-accent: 236;           /* links, focus, "you", primary actions: a Prussian ink blue */
  --hue-agent: 355;            /* agents: the brand pink's hue */
  --hue-member: 250;           /* people in the workspace: slate (low chroma, see --chroma-member) */
  --hue-outsider: 186;         /* people or agents from outside the workspace: teal, always dashed */
  --hue-ok: 148;
  --hue-warn: 72;
  --hue-bad: 27;

  --l-strong: 47%;             /* lightness of hued text and marks */
  --l-mark: 56%;               /* lightness of hued fills (chart bars, edges) */
  --l-soft: 94.5%;             /* lightness of hued washes behind text */
  --c-strong: 0.125;
  --c-soft: 0.03;
  --chroma-member: 0.03;

  /* ---- raw palette: neutral ramp, 0 = page, 12 = ink ------------------------------------- */
  --n-0: oklch(98% var(--chroma-neutral) var(--hue-neutral));
  --n-1: oklch(96.6% var(--chroma-neutral) var(--hue-neutral));
  --n-2: oklch(94.6% var(--chroma-neutral) var(--hue-neutral));
  --n-3: oklch(91.5% var(--chroma-neutral) var(--hue-neutral));
  --n-4: oklch(86% var(--chroma-neutral) var(--hue-neutral));
  --n-5: oklch(74% var(--chroma-neutral) var(--hue-neutral));
  --n-6: oklch(60% var(--chroma-neutral) var(--hue-neutral));
  --n-7: oklch(50% var(--chroma-neutral) var(--hue-neutral));
  --n-8: oklch(40% var(--chroma-neutral) var(--hue-neutral));
  --n-9: oklch(31% var(--chroma-neutral) var(--hue-neutral));
  --n-10: oklch(26% var(--chroma-neutral) var(--hue-neutral));
  --n-11: oklch(23% var(--chroma-neutral) var(--hue-neutral));
  --n-12: oklch(19.5% var(--chroma-neutral) var(--hue-neutral));

  /* ---- raw palette: hued pairs ----------------------------------------------------------- */
  --accent-strong: oklch(var(--l-strong) calc(var(--c-strong) * 0.95) var(--hue-accent));
  --accent-wash: oklch(var(--l-soft) var(--c-soft) var(--hue-accent));
  --agent-strong: oklch(var(--l-strong) var(--c-strong) var(--hue-agent));
  --agent-fill: oklch(var(--l-mark) var(--c-strong) var(--hue-agent));
  --agent-wash: oklch(var(--l-soft) var(--c-soft) var(--hue-agent));
  --member-strong: oklch(var(--l-strong) var(--chroma-member) var(--hue-member));
  --member-fill: oklch(var(--l-mark) var(--chroma-member) var(--hue-member));
  --member-wash: oklch(var(--l-soft) calc(var(--chroma-member) * 0.5) var(--hue-member));
  --outsider-strong: oklch(var(--l-strong) calc(var(--c-strong) * 0.8) var(--hue-outsider));
  --outsider-fill: oklch(var(--l-mark) calc(var(--c-strong) * 0.8) var(--hue-outsider));
  --outsider-wash: oklch(var(--l-soft) var(--c-soft) var(--hue-outsider));
  --ok-strong: oklch(var(--l-strong) var(--c-strong) var(--hue-ok));
  --ok-fill: oklch(var(--l-mark) var(--c-strong) var(--hue-ok));
  --ok-wash: oklch(var(--l-soft) var(--c-soft) var(--hue-ok));
  --warn-strong: oklch(calc(var(--l-strong) + 3%) var(--c-strong) var(--hue-warn));
  --warn-fill: oklch(calc(var(--l-mark) + 14%) calc(var(--c-strong) * 1.1) calc(var(--hue-warn) + 8));
  --warn-wash: oklch(var(--l-soft) calc(var(--c-soft) * 1.4) var(--hue-warn));
  --bad-strong: oklch(var(--l-strong) calc(var(--c-strong) * 1.25) var(--hue-bad));
  --bad-fill: oklch(var(--l-mark) calc(var(--c-strong) * 1.2) var(--hue-bad));
  --bad-wash: oklch(var(--l-soft) var(--c-soft) var(--hue-bad));

  /* ---- semantic: surfaces and ink -------------------------------------------------------- */
  color-scheme: light;
  --bg: var(--n-0);
  --surface: var(--n-1);             /* side panels, table heads */
  --surface-sunken: var(--n-2);      /* code, inputs at rest */
  --text: var(--n-12);
  --text-muted: var(--n-7);
  --text-faint: var(--n-6);
  --border: var(--n-3);
  --border-strong: var(--n-4);
  --rule: var(--n-12);               /* the heavy rule under page titles */
  --card: oklch(99.4% calc(var(--chroma-neutral) * 0.5) var(--hue-neutral));   /* a row or card that sits on the page */
  --surface-raised: var(--card);     /* a card that floats over the page: the search popup */
  --scrim: oklch(22% var(--chroma-neutral) var(--hue-neutral) / 0.34);   /* the dim behind it */
  --shadow-pop: 0 28px 64px -16px oklch(22% 0.03 var(--hue-neutral) / 0.34), 0 8px 20px -8px oklch(22% 0.03 var(--hue-neutral) / 0.2);

  /* ---- semantic: accent (the one confident color) --------------------------------------- */
  --accent: var(--accent-strong);
  --accent-soft: var(--accent-wash);
  --on-accent: var(--n-0);
  --focus: var(--accent-strong);

  /* ---- semantic: provenance (reserved; status never borrows these) ---------------------- */
  --agent: var(--agent-strong);
  --agent-edge: var(--agent-strong);   /* the darker step carries thin edges */
  --agent-soft: var(--agent-wash);
  --member: var(--member-strong);
  --member-edge: var(--member-fill);
  --member-soft: var(--member-wash);
  --outsider: var(--outsider-strong);
  --outsider-edge: var(--outsider-fill);
  --outsider-soft: var(--outsider-wash);
  --you: var(--accent);
  --you-edge: var(--accent);

  /* ---- semantic: status ------------------------------------------------------------------ */
  --ok: var(--ok-strong);
  --ok-mark: var(--ok-fill);
  --ok-soft: var(--ok-wash);
  --warn: var(--warn-strong);
  --warn-mark: var(--warn-fill);
  --warn-soft: var(--warn-wash);
  --bad: var(--bad-strong);
  --bad-mark: var(--bad-fill);
  --bad-soft: var(--bad-wash);
  --info: var(--accent);
  --info-soft: var(--accent-soft);
  --muted: var(--text-muted);
  --muted-soft: var(--surface-sunken);

  /* freshness is a status scale: fresh / aging / stale */
  --fresh: var(--ok-mark);
  --aging: var(--warn-mark);
  --stale: var(--n-5);

  /* ---- semantic: charts ------------------------------------------------------------------ */
  --chart-track: var(--n-2);
  --chart-grid: var(--n-3);
  --chart-ink: var(--text-muted);
  --chart-bar: var(--series-1);      /* a single bar (a glance's progress): slot 1, the accent's hue, 3:1 on --chart-track in both themes */
  --series-1: oklch(54% 0.115 236);
  --series-2: oklch(66% 0.16 50);
  --series-3: oklch(50% 0.16 335);
  --series-4: oklch(64% 0.13 85);
  --series-5: oklch(45% 0.16 295);
  --series-6: oklch(60% 0.11 178);

  /* ---- type ------------------------------------------------------------------------------ */
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --font-brand: "Bricolage Grotesque", "Bricolage Fallback", var(--font-ui);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "URW Palladio L", P052, "Book Antiqua", Charter, "Bitstream Charter", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;

  /* fluid scale, 375px -> 1280px; ratio ~1.2 at small, ~1.25 at large */
  --step--2: clamp(0.72rem, 0.70rem + 0.08vw, 0.76rem);
  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(0.94rem, 0.91rem + 0.13vw, 1rem);
  --step-1: clamp(1.08rem, 1.03rem + 0.24vw, 1.22rem);
  --step-2: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --step-3: clamp(1.5rem, 1.3rem + 0.85vw, 1.95rem);
  --step-4: clamp(1.8rem, 1.5rem + 1.4vw, 2.6rem);

  /* ---- space ----------------------------------------------------------------------------- */
  --space-3xs: clamp(0.2rem, 0.19rem + 0.05vw, 0.25rem);
  --space-2xs: clamp(0.35rem, 0.33rem + 0.1vw, 0.45rem);
  --space-xs: clamp(0.5rem, 0.47rem + 0.13vw, 0.62rem);
  --space-s: clamp(0.72rem, 0.68rem + 0.2vw, 0.9rem);
  --space-m: clamp(1rem, 0.93rem + 0.3vw, 1.25rem);
  --space-l: clamp(1.4rem, 1.27rem + 0.55vw, 1.9rem);
  --space-xl: clamp(2rem, 1.75rem + 1.1vw, 3rem);
  --space-2xl: clamp(2.6rem, 2.2rem + 1.8vw, 4.2rem);
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.25rem);

  /* ---- shape and layout ------------------------------------------------------------------ */
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 18px;                  /* floating cards, panels */
  --radius-pill: 999px;              /* buttons, tabs, status pills, tags */
  --hairline: 1px;
  --edge-w: 3px;                     /* the provenance edge on every block */
  --measure: 66ch;
  --shell-max: 84rem;
  --panel-w: 19rem;
  --tabbar-h: 3.5rem;                /* the phone's bottom bar (below 44rem), without the safe-area inset */
  --topbar-h: 3.25rem;               /* the site bar's row, open or folded, without its bottom rule */
  --topbar-stick: calc(var(--topbar-h) + var(--hairline)); /* where the pinned site bar ends: what sticks below it starts here */
  --margin-w: 13rem;                 /* the margin beside blocks on wide screens: the block's heading, then two lines of names (§24.16, Reader R1) */

  color-scheme: dark;
  --hue-neutral: 250;
  --chroma-neutral: 0.008;
  --l-strong: 78%;
  --l-mark: 66%;
  --l-soft: 27%;
  --c-strong: 0.11;
  --c-soft: 0.035;
  --chroma-member: 0.025;

  --n-0: oklch(20.5% calc(var(--chroma-neutral) * 1.6) var(--hue-neutral));
  --n-1: oklch(23% calc(var(--chroma-neutral) * 1.6) var(--hue-neutral));
  --n-2: oklch(26% calc(var(--chroma-neutral) * 1.5) var(--hue-neutral));
  --n-3: oklch(30.5% calc(var(--chroma-neutral) * 1.4) var(--hue-neutral));
  --n-4: oklch(37% var(--chroma-neutral) var(--hue-neutral));
  --n-5: oklch(48% var(--chroma-neutral) var(--hue-neutral));
  --n-6: oklch(60% var(--chroma-neutral) var(--hue-neutral));
  --n-7: oklch(71% var(--chroma-neutral) var(--hue-neutral));
  --n-8: oklch(80% var(--chroma-neutral) var(--hue-neutral));
  --n-9: oklch(86% var(--chroma-neutral) var(--hue-neutral));
  --n-10: oklch(90% var(--chroma-neutral) var(--hue-neutral));
  --n-11: oklch(93% var(--chroma-neutral) var(--hue-neutral));
  --n-12: oklch(95.5% calc(var(--chroma-neutral) * 0.6) var(--hue-neutral));

  --warn-fill: oklch(calc(var(--l-mark) + 8%) calc(var(--c-strong) * 1.1) calc(var(--hue-warn) + 8));
  --on-accent: var(--n-0);
  --stale: var(--n-5);
  --chart-track: var(--n-2);
  --series-1: oklch(66% 0.13 236);
  --series-2: oklch(66% 0.15 50);
  --series-3: oklch(58% 0.15 335);
  --series-4: oklch(66% 0.13 85);
  --series-5: oklch(58% 0.14 295);
  --series-6: oklch(66% 0.12 178);
  --card: var(--n-1);
  --surface-raised: var(--card);     /* a step under --surface-sunken, so sunken things on the card still show */
  --scrim: oklch(9% var(--chroma-neutral) var(--hue-neutral) / 0.52);
  --shadow-pop: 0 28px 64px -16px oklch(4% 0.01 var(--hue-neutral) / 0.75), 0 8px 20px -8px oklch(4% 0.01 var(--hue-neutral) / 0.5);
} }
/* The landing page's own styles. Colors, space and the base type scale come from the app's tokens
   (src/render/theme/tokens.ts), which build.mjs puts in front of this file. Colors here are either
   tokens or computed from the token hues; there are no other literal colors. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2");
}

/* Where the split-screen divider sits. Registered so it can be animated as a length, not a string. */
@property --split {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 50%;
}

/* The landing page's light theme is a warm off-white, not the app's cool near-white: the greys
   turn toward yellow and the page drops a step in lightness. Dark keeps the app's cool greys, so
   its selectors set the hue back. */
@layer tokens {
  :root {
    --hue-agent: 355;             /* the brain's pink, so agent marks match the logo (the app uses plum) */
    --hue-neutral: 85;
    --chroma-neutral: 0.013;
    --n-0: oklch(97.3% 0.013 var(--hue-neutral));
    --n-1: oklch(95.4% 0.015 var(--hue-neutral));
    --n-2: oklch(93.2% 0.016 var(--hue-neutral));
    --n-3: oklch(89.5% 0.016 var(--hue-neutral));
    --n-4: oklch(84% 0.016 var(--hue-neutral));
    --surface-raised: oklch(99% 0.006 var(--hue-neutral));
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) { --hue-neutral: 250; --chroma-neutral: 0.008; }
  }
  :root[data-theme="dark"] { --hue-neutral: 250; --chroma-neutral: 0.008; }
  /* dark bands restate the app's tokens, plum included; they take the brain's pink too */
  .ink { --hue-agent: 355; }
}

@layer base, page, motion;

@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  /* 90%: everything on the page is sized in rem, so this one number scales the whole design. */
  html { font-size: 90%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
  :root {
    --font-pop: "Bricolage Grotesque", var(--font-ui);
    --cycle: 11s;                 /* one pass of the live example */
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
    --ease-spring: cubic-bezier(0.3, 1.5, 0.5, 1);
    --radius-xl: 28px;
    --page-bg: var(--bg);         /* the page's own background, for shapes drawn inside a dark band */
    --ex: 0;                      /* where the pointer is, -1 to 1: app.js sets these for the eyes */
    --ey: 0;
  }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: var(--step-0)/1.6 var(--font-ui);
    overflow-x: clip;
  }
  h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
  ol, ul { list-style: none; }
  h1, h2, h3 { font-family: var(--font-pop); font-weight: 700; text-wrap: balance; }
  p, li { text-wrap: pretty; }
  a { color: var(--accent); text-underline-offset: 0.18em; }
  button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
  :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--radius-s); }
  [hidden] { display: none !important; }
  /* for labels a screen reader needs and the eye does not */
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@layer page {
  .shell { max-width: 74rem; margin-inline: auto; padding-inline: var(--gutter); }

  /* ---- provenance marks: an agent is a square, a person a circle (docs/design/tokens.md) ---- */
  .mark { display: inline-block; flex: none; width: 0.62em; height: 0.62em; }
  .mark-agent { background: var(--agent-edge); border-radius: 1px; }
  .mark-you { background: var(--you); border-radius: 50%; }
  .mark-member { background: var(--member-edge); border-radius: 50%; }
  .mark-out { border: 1.5px dashed var(--outsider-edge); rotate: 45deg; scale: 0.9; }

  /* ---- top bar ---- */
  .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
    padding-block: var(--space-m);
  }
  .wordmark {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    font: 700 var(--step-2)/1 var(--font-pop);
    letter-spacing: -0.02em;
  }
  .logo { width: 2em; height: 2em; flex: none; margin-block: -0.4em; }
  .tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    padding: var(--space-2xs) var(--space-s);
    border-radius: 99px;
    background: var(--warn-soft);
    color: var(--warn);
    font-size: var(--step--1);
    font-weight: 600;
  }
  .top-end { display: inline-flex; align-items: center; gap: var(--space-xs); }
  /* on a phone the top bar has room for the name and two buttons, not the status tag as well;
     the page says it is in development in its closing band */
  @media (max-width: 34rem) {
    .top { gap: var(--space-xs); }
    .top .tag { display: none; }
    .wordmark { font-size: var(--step-1); }
  }
  .theme {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--border-strong);
    transition: background 0.15s, rotate 0.5s var(--ease-spring);
  }
  .theme:hover { background: var(--surface-sunken); rotate: 180deg; }
  .theme-icon {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid var(--text);
    background: linear-gradient(90deg, var(--text) 50%, transparent 50%);
  }
  .pulse { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--warn-mark); }

  /* ---- hero ---- */
  .hero { padding-block: var(--space-m) var(--space-2xl); }
  .hero-text { display: grid; gap: var(--space-l); }
  .hero h1 {
    font-size: clamp(1.8rem, 1rem + 2.4vw, 3rem);
    text-wrap: wrap;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
  }
  .hero-head { display: grid; gap: var(--space-s); }
  .kicker { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.01em; color: var(--muted); }
  .hero h1 .line { display: block; }
  .hero h1 .line-name { margin-top: 0.3em; }
  /* the redline: each question struck through, its answer highlighted as the insertion */
  .line-struck { position: relative; color: var(--muted); font-weight: 700; }
  .line-struck::after { content: ""; position: absolute; left: -0.05em; right: -0.05em; top: 52%; height: 0.09em; border-radius: 1em; background: var(--agent); }
  .line-answer { white-space: nowrap; color: var(--agent); background: oklch(from var(--agent-soft) l c h / 0.9); border-radius: 0.18em; padding: 0 0.15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
  .line-name { color: var(--accent); }
  .simmer { display: inline-flex; gap: 3px; align-items: flex-end; height: 1.6em; flex: none; }
  .simmer i { width: 5px; height: 5px; border-radius: 50%; background: var(--warn-mark); }

  /* ---- the stage: your agent, the page, and you ---- */
  .stage {
    position: relative;
    margin-top: var(--space-xl);
    padding: var(--space-xl) var(--space-m) var(--space-m);
    border-radius: var(--radius-xl);
    background:
      radial-gradient(46rem 22rem at 8% 0%, oklch(from var(--agent-soft) l c h / 0.9), transparent 70%),
      radial-gradient(46rem 22rem at 92% 100%, oklch(from var(--accent-soft) l c h / 0.9), transparent 70%),
      var(--surface);
  }
  .stage-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "agent you" "demo demo";
    gap: var(--space-m);
    justify-items: center;
    align-items: center;
  }
  .char-agent { grid-area: agent; }
  .char-you { grid-area: you; }
  .demo { grid-area: demo; position: relative; width: 100%; max-width: 34rem; }
  .char { position: relative; display: grid; justify-items: center; gap: var(--space-xs); }
  .char-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16%;
    width: clamp(4.2rem, 2.6rem + 6vw, 8.5rem);
    aspect-ratio: 1;
    background: var(--agent-edge);
    border-radius: 16%;
    box-shadow: 0 18px 30px -18px oklch(from var(--agent-edge) l c h / 0.7);
  }
  .char-you .char-body {
    background: var(--you);
    border-radius: 50%;
    box-shadow: 0 18px 30px -18px oklch(from var(--you) l c h / 0.7);
  }
  .eye {
    width: 13%;
    height: 19%;
    border-radius: 50%;
    background: var(--n-0);
    translate: calc(var(--ex) * 55%) calc(var(--ey) * 40%);
    transition: translate 0.18s var(--ease-out);
  }
  /* your agent is the brain from the logo: the token pink, wiring cut out, square eyes */
  .char-brain { width: clamp(4.8rem, 3rem + 7vw, 9.8rem); aspect-ratio: 60 / 52; background: none; border-radius: 0; box-shadow: none; overflow: visible; filter: drop-shadow(0 14px 14px oklch(from var(--agent-edge) l c h / 0.35)); }
  .brain-eye { fill: var(--n-0); translate: calc(var(--ex) * 1.5px) calc(var(--ey) * 1.2px); transition: translate 0.18s var(--ease-out); }
  /* you are a pointer: not a person, not an agent. Two dot eyes that lean toward the visitor's own
     pointer; when you act, the arrow turns into a tick for a moment. */
  .char-body.char-pointer { aspect-ratio: 1; background: none; border-radius: 0; box-shadow: none; overflow: visible; filter: drop-shadow(0 12px 12px oklch(from var(--you) l c h / 0.3)); }
  .you-fill { fill: var(--you); stroke: var(--you); stroke-width: 5; stroke-linejoin: round; }
  .you-eye { fill: var(--n-0); translate: calc(var(--ex) * 1.4px) calc(var(--ey) * 1.1px); transition: translate 0.18s var(--ease-out); }
  .you-arrow, .you-check, .you-deny { transform-box: fill-box; transform-origin: center; transition: opacity 0.25s, scale 0.35s var(--ease-spring), rotate 0.35s var(--ease-out); }
  .you-check, .you-deny { opacity: 0; scale: 0.3; }
  .you-badge { fill: var(--ok-mark); }
  .you-badge-no { fill: var(--bad-mark); }
  .you-eye { transform-box: fill-box; transform-origin: center; }
  /* the sunnies sit over the eyes, and only on a pointer that has earned them */
  .you-sunnies { opacity: 0; }
  .with-sunnies .you-sunnies { opacity: 1; }
  .sunnies-dark { fill: var(--n-12); }
  .sunnies-glint { fill: var(--n-0); }
  .you-tick { fill: none; stroke: var(--n-0); stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; }
  .stage.you-acted .char-you .you-arrow, .stage.you-denied .char-you .you-arrow { opacity: 0; scale: 0.4; rotate: -30deg; }
  .stage.you-acted .char-you .you-check, .stage.you-denied .char-you .you-deny { opacity: 1; scale: 1; }
  .char-pointer.char-small { filter: none; }

  /* a page is the blue page from the logo, with eyes: used wherever pages are kept or found */
  .page-char { width: 1.5em; height: 1.875em; flex: none; vertical-align: middle; margin-right: var(--space-xs); }
  .page-eye { fill: var(--n-0); translate: calc(var(--ex) * 0.7px) calc(var(--ey) * 0.6px); transition: translate 0.18s var(--ease-out); }
  .char-label { font: 700 var(--step-0)/1 var(--font-pop); color: var(--text-muted); }

  .sheet {
    border: var(--hairline) solid var(--border-strong);
    border-radius: var(--radius-l);
    background: var(--surface-raised);
    box-shadow: var(--shadow-pop);
    padding: var(--space-m);
    font-size: var(--step--1);
    line-height: 1.5;
  }
  .sheet-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-s);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--rule);
  }
  .sheet-title { font: 700 var(--step-1)/1.2 var(--font-pop); letter-spacing: -0.01em; }
  .state { display: grid; flex: none; }
  .st {
    grid-area: 1 / 1;
    justify-self: end;
    padding: 0 var(--space-xs);
    border-radius: 99px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    background: var(--info-soft);
    color: var(--info);
  }
  .st-draft { background: var(--muted-soft); color: var(--muted); }
  .st-changes { background: var(--warn-soft); color: var(--warn); }
  .st-ok { background: var(--ok-soft); color: var(--ok); }
  .demo[data-state="review"] .st-review,
  .demo[data-state="changes"] .st-changes,
  .demo[data-state="ok"] .st-ok { opacity: 1; }

  .block {
    margin-top: var(--space-s);
    padding-left: var(--space-s);
    border-left: var(--edge-w) solid var(--agent-edge);
  }
  .block-you { border-left-color: var(--you-edge); }
  .block-label { display: flex; align-items: center; gap: var(--space-2xs); color: var(--text-muted); }
  .block-lead { font: 600 var(--step-0)/1.4 var(--font-pop); }
  .choices { display: grid; gap: var(--space-3xs); margin-top: var(--space-3xs); justify-items: start; }
  .choice {
    display: flex;
    align-items: baseline;
    gap: var(--space-2xs);
    padding: 2px var(--space-xs) 2px var(--space-3xs);
    margin-left: calc(var(--space-3xs) * -1);
    border-radius: var(--radius-m);
    transition: background 0.15s;
  }
  .choice:hover { background: var(--accent-soft); }
  .radio {
    flex: none;
    width: 0.85em;
    height: 0.85em;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--text-faint);
    translate: 0 0.1em;
    transition: box-shadow 0.2s var(--ease-spring);
  }
  .choice[aria-pressed="true"] .radio { box-shadow: inset 0 0 0 0.27em var(--accent); }
  .thread {
    display: grid;
    gap: var(--space-xs);
    margin-top: var(--space-s);
    padding: var(--space-xs) var(--space-s);
    border-radius: var(--radius-m);
    background: var(--surface-sunken);
  }
  .thread .block { margin-top: 0; }
  .dots { display: none; gap: 3px; margin-left: var(--space-3xs); }
  .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--agent-edge); }
  .msg.thinking .dots { display: inline-flex; }
  .msg.thinking .reply { display: none; }
  .sheet-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-s);
    padding-top: var(--space-s);
    border-top: var(--hairline) solid var(--border);
  }
  .rev { display: grid; margin-right: auto; color: var(--text-faint); }
  .rv { grid-area: 1 / 1; opacity: 0; }
  .demo .rv3 { opacity: 1; }
  .demo[data-rev="4"] .rv3 { opacity: 0; }
  .demo[data-rev="4"] .rv4 { opacity: 1; }
  .btn {
    padding: var(--space-2xs) var(--space-s);
    border-radius: 99px;
    font-weight: 600;
    transition: scale 0.15s var(--ease-spring), background 0.15s;
  }
  .btn:hover { scale: 1.04; }
  .btn:active { scale: 0.96; }
  .btn-quiet { box-shadow: inset 0 0 0 1px var(--border-strong); }
  .btn-quiet:hover { background: var(--surface-sunken); }
  .btn-go { background: var(--accent); color: var(--on-accent); }
  .stage figcaption {
    margin-top: var(--space-m);
    text-align: center;
    color: var(--text-muted);
    font-size: var(--step--1);
  }
  .replay { color: var(--accent); text-decoration: underline; text-underline-offset: 0.18em; }

  /* the shapes that fly out when the page is approved */
  .burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
  .burst i { position: absolute; width: 14px; height: 14px; margin: -7px; opacity: 0; background: var(--agent-edge); }
  .burst i:nth-child(even) { background: var(--you); border-radius: 50%; }
  .burst i:nth-child(3n) { background: var(--ok-mark); }

  /* ---- the share image and the square icon (landing/brand/render.mjs photographs these) ---- */
  .og { position: relative; background: var(--bg); color: var(--text); }
  .og-name { display: flex; align-items: center; gap: 16px; font: 700 42px/1 var(--font-pop); letter-spacing: -0.02em; }
  .og-name .logo { width: 76px; height: 76px; margin: 0; }
  .og-line { font: 800 51px/1 var(--font-pop); letter-spacing: -0.04em; text-wrap: balance; }
  .og-line > span { display: block; }
  .og-line > span + span { margin-top: 10px; }
  .og-line .line-name { margin-top: 18px; }
  /* A: name and headline on the left, the mark large on the right */
  .og-a, .og-c { display: grid; grid-template-columns: 1fr 380px; align-items: center; }
  .og-a .og-main, .og-c .og-main { display: grid; gap: 60px; padding-left: 72px; }
  .og-art { display: grid; place-items: center; padding-right: 56px; }
  .og-logo { width: 330px; height: 330px; }
  .og-dark { background: oklch(17% 0.04 var(--hue-accent)); }
  /* B: the three characters in a row */
  .og-b { display: grid; align-content: center; justify-items: center; gap: 44px; text-align: center; }
  .og-trio { display: flex; align-items: center; gap: 26px; }
  .og-trio .char-body { width: 170px; filter: none; }
  .og-trio .og-page { width: 124px; height: 155px; margin: 0; }
  .og-wire { position: relative; width: 110px; height: 5px; border-radius: 99px; background: var(--text); }
  .og-wire::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 5px var(--text); }
  .og-b { gap: 36px; }
  .og-b .og-line { font-size: 44px; }
  .og-b .og-trio .char-body { width: 150px; }
  .og-b .og-trio .og-page { width: 108px; height: 135px; }
  /* C: an approved page, with the agent and you either side of it */
  .og-c { grid-template-columns: 1fr 450px; }
  .og-c .og-line { font-size: 42px; }
  .og-scene { position: relative; padding-right: 60px; }
  .og-sheet { font-size: 19px; padding: 26px; rotate: 2.5deg; }
  .og-sheet .sheet-title { font-size: 26px; }
  .og-sheet .block-lead { font-size: 21px; }
  .og-scene .og-brain { position: absolute; left: -96px; top: -112px; width: 150px; filter: none; rotate: -8deg; }
  .og-scene .og-you { position: absolute; right: 6px; bottom: -78px; width: 130px; filter: none; }
  .icon-card { display: grid; place-items: center; width: 100vw; height: 100vh; background: var(--bg); }
  .icon-logo { width: 82vw; height: 82vw; }

  /* ---- sections ---- */
  .band { padding-block: var(--space-2xl); }
  .band h2 {
    font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
  }
  /* the section's line in the page's story, on its own line above the heading */
  .beat { display: block; margin-bottom: 0.25em; font-size: 0.42em; letter-spacing: -0.01em; color: var(--accent); }
  .split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: center; }
  .lede { max-width: 36rem; margin-top: var(--space-m); font-size: var(--step-2); line-height: 1.4; color: var(--text-muted); }

  .terminal {
    border-radius: var(--radius-l);
    background: var(--n-12);
    color: var(--n-3);
    box-shadow: var(--shadow-pop);
    overflow: hidden;
    rotate: 1.5deg;
  }
  .terminal-bar { display: flex; gap: 6px; padding: var(--space-xs) var(--space-s); }
  .terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--n-8); }
  .terminal-view {
    height: 15rem;
    overflow: hidden;
    padding-inline: var(--space-m);
    font: var(--step--1)/1 var(--font-mono);
    mask-image: linear-gradient(180deg, transparent 4%, var(--n-12) 55%);
  }
  .terminal-roll p { padding-block: 0.7em; white-space: nowrap; }

  /* ---- how it works: three short captions straight under the example ---- */
  .how { margin-top: var(--space-l); }
  .how-title { font-size: var(--step-2); letter-spacing: -0.02em; color: var(--text-muted); }
  .how .steps { margin-top: var(--space-s); gap: var(--space-m); }
  .how .steps li { padding: var(--space-s) var(--space-m); }
  .how .steps h3 { margin-top: var(--space-2xs); font-size: var(--step-1); }
  .how .step-who::after { font-size: var(--step-2); }

  /* ---- how it works (shared step styles) ---- */
  .steps { position: relative; display: grid; gap: var(--space-l); margin-top: var(--space-xl); counter-reset: step; }
  .steps li {
    counter-increment: step;
    padding: var(--space-m);
    border-radius: var(--radius-l);
    background: var(--agent-soft);
  }
  .steps .step-you { background: var(--accent-soft); }
  .step-who { display: flex; align-items: center; gap: var(--space-2xs); font-weight: 600; color: var(--agent); }
  .step-you .step-who { color: var(--accent); }
  .step-who::after {
    content: counter(step);
    margin-left: auto;
    font: 800 var(--step-4)/0.8 var(--font-pop);
    opacity: 0.35;
  }
  /* The steps are wired together the way the closing band is: a trace leaves each card for the
     next and ends in a node, and a signal runs along it. Across on wide screens, down on a phone. */
  .steps li { position: relative; }
  .steps li + li::before, .steps li + li::after { content: ""; position: absolute; pointer-events: none; }
  .steps li + li::before {
    left: 50%;
    bottom: 100%;
    width: 3px;
    height: var(--space-m);
    margin-left: -1.5px;
    background: var(--text);
  }
  .steps li + li::after {
    left: 50%;
    bottom: 100%;
    width: 11px;
    height: 11px;
    margin: 0 0 -5.5px -5.5px;
    border-radius: 50%;
    background: var(--agent-edge);
    box-shadow: 0 0 0 3px var(--text);
  }
  .steps .step-you + li::after { background: var(--you); }
  .steps h3 { margin-top: var(--space-m); font-size: var(--step-2); line-height: 1.15; letter-spacing: -0.02em; }
  .steps li > p:last-child { margin-top: var(--space-xs); color: var(--text-muted); }

  /* ---- one page, two readers: the split screen ---- */
  .views { margin-top: var(--space-xl); }
  .views-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: var(--hairline) solid var(--border-strong);
    box-shadow: var(--shadow-pop);
    isolation: isolate;
  }
  .view { display: grid; gap: var(--space-l); align-content: start; padding: var(--space-xl) var(--space-m) var(--space-l); }
  .view-you {
    min-height: 54rem;            /* one column on a phone: room for the agent's lines and its data, stacked */
    background:
      radial-gradient(40rem 20rem at 0% 0%, oklch(from var(--accent-soft) l c h / 0.9), transparent 70%),
      var(--surface);
  }
  .view-page {
    max-width: 30rem;
    padding: var(--space-m);
    border: var(--hairline) solid var(--border-strong);
    border-radius: var(--radius-l);
    background: var(--surface-raised);
    font-size: var(--step--1);
    line-height: 1.5;
  }
  .st-on { opacity: 1; }
  .margin-note {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3xs);
    margin-left: auto;
    padding: 0 var(--space-xs);
    border-radius: 99px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
  }
  .view-comment { margin-left: var(--space-m); padding-block: var(--space-2xs); border-radius: 0 var(--radius-m) var(--radius-m) 0; background: var(--accent-soft); }
  .choice-static { display: flex; align-items: baseline; gap: var(--space-2xs); }
  .choice-static.picked .radio { box-shadow: inset 0 0 0 0.27em var(--accent); }
  .view-agent {
    position: absolute;
    inset: 0;
    background: oklch(17% 0.04 var(--hue-agent));
    color: var(--text);
    clip-path: inset(0 0 0 var(--split));
  }
  .view-agent pre {
    margin: 0;
    min-width: 0;
    font: var(--step--2)/1.6 var(--font-mono);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .j-key { color: var(--agent); }
  .j-str { color: var(--accent); }
  .view-tag {
    position: absolute;
    top: var(--space-s);
    left: var(--space-m);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    font: 700 var(--step-0)/1 var(--font-pop);
  }
  .view-agent .view-tag { left: auto; right: var(--space-m); }
  /* what each reader says: it sits in the half the other view covers until the slider uncovers it */
  .says { display: grid; gap: var(--space-m); align-content: center; max-width: 26rem; }
  .says-who { display: flex; align-items: center; gap: var(--space-s); font: 700 var(--step-2)/1 var(--font-pop); letter-spacing: -0.02em; }
  .char-small, .char-brain.char-small { width: 3.4rem; box-shadow: none; filter: none; }
  .says ul { display: grid; gap: var(--space-s); }
  .says li {
    display: grid;
    gap: var(--space-3xs);
    padding: var(--space-s) var(--space-m);
    border-radius: var(--radius-l) var(--radius-l) var(--radius-l) var(--radius-s);
    background: var(--accent-soft);
  }
  .says-agent li { background: oklch(from var(--agent-soft) l c h / 0.75); }
  .says b { font: 700 var(--step--1)/1 var(--font-pop); color: var(--accent); }
  .says-agent b { color: var(--agent); }
  .says span { font-size: var(--step-0); line-height: 1.4; }

  .views-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: clamp(1.9rem, var(--split), 100% - 1.9rem);
    width: 3px;
    margin-left: -1.5px;
    background: var(--n-0);
    box-shadow: 0 0 0 1px var(--scrim);
  }
  .views-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: var(--space-s) var(--space-s);
    border-radius: 99px;
    background: var(--n-0);
    box-shadow: 0 6px 18px -4px var(--scrim), 0 0 0 1px var(--border-strong);
    transition: scale 0.2s var(--ease-spring);
  }
  /* the grip: two arrowheads, pointing apart */
  .views-knob i { width: 0.55rem; height: 0.55rem; border: 2.5px solid var(--n-12); border-width: 0 0 2.5px 2.5px; rotate: 45deg; }
  .views-knob i + i { rotate: 225deg; }
  .views-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    touch-action: pan-y;
  }
  .views-frame:has(.views-range:hover) .views-knob { scale: 1.12; }
  .views-frame:has(.views-range:focus-visible) .views-knob { outline: 2px solid var(--focus); outline-offset: 3px; }
  .views figcaption { margin-top: var(--space-s); color: var(--text-faint); font-size: var(--step--1); text-align: center; }

  /* ---- many agents, one page ---- */
  .multi {
    display: grid;
    gap: var(--space-s);
    padding: var(--space-m);
    border: var(--hairline) solid var(--border-strong);
    border-radius: var(--radius-xl);
    background: var(--surface-raised);
    box-shadow: var(--shadow-pop);
  }
  .multi-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-s);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--rule);
  }
  .multi-rev { margin-right: 0; font-size: var(--step--1); white-space: nowrap; }
  .multi-rev .rv { justify-self: end; }
  .multi-rev .mr4 { opacity: 1; }
  .multi-row { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: var(--space-s); align-items: center; }
  .multi-agent { display: flex; align-items: center; gap: var(--space-xs); min-width: 0; }
  .multi-agent .char-small { width: 2.4rem; flex: none; }
  .multi-agent p { display: grid; min-width: 0; line-height: 1.25; }
  .multi-agent b { font: 700 var(--step-0)/1.2 var(--font-pop); }
  .multi-agent span { color: var(--text-faint); font-size: var(--step--1); }
  .multi .block { margin-top: 0; padding-block: var(--space-2xs); }
  .multi .block-label { font-size: var(--step--1); }
  .multi-busy { display: inline-flex; align-items: center; margin-left: auto; color: var(--agent); font-weight: 600; opacity: 0; }
  .multi-busy .dots { display: inline-flex; }

  /* ---- still on the stove ---- */
  .stove { position: relative; }
  .pots { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-m); margin-top: var(--space-xl); }
  .pot {
    position: relative;
    padding: var(--space-m) var(--space-m) var(--space-l);
    border-radius: var(--radius-xl);
    background: var(--warn-soft);
    overflow: hidden;
  }
  /* a gas burner under each pot: a row of blue flames with a paler core, flickering */
  .pot { padding-bottom: calc(var(--space-l) + 0.7rem); }
  .pot::before, .pot::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.05rem;
    transform-origin: 50% 100%;
    background: radial-gradient(ellipse 46% 100% at 50% 100%, oklch(62% 0.17 var(--hue-accent)) 0 62%, transparent 66%) 0 0 / 1rem 100% repeat-x;
  }
  .pot::after {
    height: 0.55rem;
    background: radial-gradient(ellipse 34% 100% at 50% 100%, oklch(88% 0.09 calc(var(--hue-accent) - 20)) 0 60%, transparent 66%) 0 0 / 1rem 100% repeat-x;
  }
  .pot-art {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: var(--space-s);
    height: 6.5rem;
    margin-bottom: var(--space-s);
    padding-bottom: var(--space-xs);
    border-radius: calc(var(--radius-xl) - var(--space-s));
    background: var(--bg);
    font-size: var(--step-1);
  }
  /* local sync: a page leaves the cloud, travels the wire, and lands on your laptop's screen */
  .sync { display: grid; grid-template-columns: auto minmax(1.6rem, 1fr) auto; align-items: center; gap: var(--space-2xs); width: 100%; max-width: 15rem; padding-inline: var(--space-xs) var(--space-s); }
  .sync-cloud {
    position: relative;
    display: grid;
    place-items: center;
    width: 3.3rem;
    height: 2.1rem;
    border-radius: 99px;
    background: var(--accent-soft);
  }
  .sync-cloud::before, .sync-cloud::after { content: ""; position: absolute; bottom: 55%; border-radius: 50%; background: var(--accent-soft); }
  .sync-cloud::before { left: 14%; width: 1.3rem; height: 1.3rem; }
  .sync-cloud::after { left: 42%; width: 1.7rem; height: 1.7rem; }
  .sync-cloud .page-char { position: relative; z-index: 1; }
  .sync-wire { position: relative; height: 3px; border-radius: 99px; background: var(--text); }
  .pot-art .sync .page-char { width: 1rem; height: 1.25rem; }
  .pot-art .sync-wire .page-char { position: absolute; top: 50%; left: 50%; margin: -0.625rem 0 0 -0.5rem; }
  .sync-laptop { display: grid; justify-items: center; }
  .sync-screen {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    padding: var(--space-2xs) var(--space-2xs) 3px;
    border: 3px solid var(--text);
    border-bottom: 0;
    border-radius: var(--radius-m) var(--radius-m) 0 0;
    background: var(--surface-raised);
  }
  .sync-laptop::after { content: ""; width: calc(100% + 0.8rem); height: 5px; border-radius: 0 0 99px 99px; background: var(--text); }
  /* charts and diagrams: five bars */
  .bars { position: relative; display: flex; align-items: flex-end; gap: var(--space-2xs); height: 4.6rem; padding-bottom: 2px; border-bottom: 3px solid var(--text); }
  /* the trend line across the tops of the bars, and the dot at its end */
  .trend { position: absolute; inset: 0 0 2px 0; width: 100%; height: calc(100% - 2px); overflow: visible; }
  .trend polyline { fill: none; stroke: var(--text); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 100; }
  .bars::after { content: ""; position: absolute; right: 0.2rem; top: -0.3rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--text); }
  .bars i { width: 1.1rem; border-radius: 4px 4px 0 0; background: var(--agent-edge); transform-origin: 50% 100%; }
  .bars i:nth-child(1) { height: 38%; } .bars i:nth-child(2) { height: 62%; } .bars i:nth-child(3) { height: 48%; background: var(--you); }
  .bars i:nth-child(4) { height: 84%; } .bars i:nth-child(5) { height: 100%; background: var(--you); }
  .floaters { display: inline-flex; align-items: flex-end; gap: var(--space-2xs); }
  .pot-art .page-char { width: 2rem; height: 2.5rem; margin: 0; }
  .pot-art .char-small { width: 3.6rem; }
  /* bring your own agent: one page, and your agents coming and going */
  .swoop { position: relative; width: 100%; height: 100%; }
  .swoop .page-char { position: absolute; left: 50%; bottom: var(--space-xs); width: 2.4rem; height: 3rem; margin-left: -1.2rem; }
  .swoop .char-brain { position: absolute; left: 50%; bottom: 1.1rem; width: 2.6rem; margin-left: -1.3rem; }
  .swoop { display: block; }
  .swoop .swoop-1 { translate: -4.4rem 0; }
  .swoop .swoop-2 { translate: 4.4rem 0; }
  .swoop .swoop-3 { display: none; }
  .plugs { display: grid; gap: 3px; font-size: var(--step--2); }
  .plugs i {
    display: grid;
    min-width: 5.2em;
    position: relative;
    padding: 1px var(--space-xs);
    border-radius: 99px;
    background: var(--surface-sunken);
    font-style: normal;
    font-weight: 600;
  }
  /* each plug holds every name it will show, stacked; only the first shows when nothing moves */
  .plugs b { grid-area: 1 / 1; font-weight: 600; white-space: nowrap; opacity: 0; }
  .plugs b:first-child { opacity: 1; }
  .plugs i::after { content: ""; position: absolute; left: 100%; top: 50%; width: var(--space-s); border-top: 2px dashed var(--border-strong); }
  .pot h3 { font-size: var(--step-2); line-height: 1.15; letter-spacing: -0.02em; }
  .pot > p:last-child { margin-top: var(--space-xs); color: var(--text-muted); }

  /* ---- what it does ---- */
  .bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-m); margin-top: var(--space-xl); }
  .tile {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: var(--space-s) var(--space-s) var(--space-m);
    border: var(--hairline) solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    transition: translate 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
  }
  .tile:hover { translate: 0 -6px; box-shadow: var(--shadow-pop); border-color: var(--border-strong); }
  .tile-9 .tile-visual { height: 16.5rem; }
  .tile-visual {
    display: grid;
    place-items: center;
    height: 10.5rem;
    margin-bottom: var(--space-m);
    border-radius: calc(var(--radius-xl) - var(--space-s));
    background: var(--bg);
    overflow: hidden;
    font-size: var(--step--1);
  }
  .tile h3 { padding-inline: var(--space-2xs); font-size: var(--step-2); line-height: 1.15; letter-spacing: -0.02em; }
  .tile > p { padding-inline: var(--space-2xs); margin-top: var(--space-xs); color: var(--text-muted); max-width: 38rem; }

  .v { width: 100%; min-width: 0; padding: var(--space-m); }
  .v-flow.v { padding-inline: var(--space-xs); }
  .v p { display: flex; align-items: center; gap: var(--space-xs); }

  .v-blocks { display: grid; gap: var(--space-xs); max-width: 24rem; }
  .v-blocks p { padding-left: var(--space-xs); border-left: var(--edge-w) solid var(--agent-edge); }
  .v-blocks b { flex: none; width: 6.2em; font-weight: 600; color: var(--text-muted); }
  .v-blocks i { flex: 1; height: 0.7em; border-radius: 99px; background: var(--border-strong); transform-origin: left; }

  .v-route { display: flex; align-items: center; justify-content: center; gap: var(--space-s); }
  .v-route .char-small { width: 3rem; }
  .wire { position: relative; flex: 1; max-width: 12rem; border-top: 2px dashed var(--border-strong); }
  .chip {
    position: absolute;
    top: 0;
    left: 0;
    translate: -50% -50%;
    padding: 2px var(--space-xs);
    border-radius: 99px;
    background: var(--you);
    color: var(--on-accent);
    font-size: var(--step--1);
    font-weight: 600;
  }

  /* a decision: the agent suggests it, you sign it, and only then is it confirmed */
  .v-decide { display: grid; place-items: center; }
  .dec-card {
    display: grid;
    gap: var(--space-2xs);
    width: min(100%, 17rem);
    padding: var(--space-s);
    border-radius: var(--radius-l);
    border: var(--hairline) solid var(--border-strong);
    background: var(--surface-raised);
  }
  .dec-q { font: 700 var(--step-0)/1.2 var(--font-pop); }
  .dec-q .char-tiny { width: 1.5em; filter: none; }
  .dec-state { display: grid; justify-items: start; }
  .pill { grid-area: 1 / 1; padding: 1px var(--space-xs); border-radius: 99px; font-weight: 600; white-space: nowrap; }
  .p-sug { background: var(--agent-soft); color: var(--agent); opacity: 0; }
  .p-ok { background: var(--ok-soft); color: var(--ok); }
  /* the signature line, with you at the end of it */
  .dec-sign { display: flex; align-items: flex-end; gap: var(--space-xs); border-bottom: 2px solid var(--text); padding-bottom: 2px; }
  .dec-ink { flex: 1; min-width: 0; height: 2.4rem; }
  .dec-ink path { fill: none; stroke: var(--you); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; }
  .dec-sign .char-small { width: 1.9rem; margin-bottom: 3px; }

  .v-search { display: grid; gap: var(--space-2xs); max-width: 22rem; }
  .v-search .field {
    padding: var(--space-2xs) var(--space-s);
    border-radius: 99px;
    box-shadow: inset 0 0 0 1.5px var(--accent);
    font-weight: 600;
  }
  .v-search .hit { display: block; padding: 2px var(--space-s); color: var(--text-muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .v-who { display: grid; gap: var(--space-xs); max-width: 20rem; }
  .v-who p { padding-left: var(--space-xs); border-left: var(--edge-w) solid var(--agent-edge); font-weight: 600; }
  .v-who .w-member { border-left-color: var(--member-edge); }
  .v-who .w-out { border-left: var(--edge-w) dashed var(--outsider-edge); }
  .v-who i { flex: 1; height: 0.7em; border-radius: 99px; background: var(--border); }

  .v-age { display: grid; gap: var(--space-xs); max-width: 20rem; }
  .age-bar { position: relative; display: grid; grid-template-columns: 1fr 1.6fr 2fr; gap: 3px; }
  .age-bar i { height: 0.9em; border-radius: 99px; }
  .a-fresh { background: var(--fresh); }
  .a-aging { background: var(--aging); }
  .a-stale { background: var(--stale); }
  .age-pin {
    position: absolute;
    top: 50%;
    left: 92%;
    width: 1.5em;
    height: 1.5em;
    margin: -0.75em;
    border-radius: 50%;
    background: var(--surface-raised);
    box-shadow: 0 0 0 2px var(--text), 0 4px 10px -2px var(--scrim);
  }
  .age-labels { display: grid; grid-template-columns: 1fr 1.6fr 2fr; gap: 3px; color: var(--text-muted); }
  .age-labels em { font-style: normal; }

  .v-tpl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-m); align-items: center; max-width: 30rem; margin-inline: auto; }
  .tpl-form { display: grid; gap: var(--space-3xs); padding: var(--space-xs) var(--space-s); border: 2px dashed var(--border-strong); border-radius: var(--radius-l); }
  .tpl-form b { font: 700 var(--step-0)/1.3 var(--font-pop); }
  .tpl-form span { padding-left: var(--space-xs); border-left: var(--edge-w) solid var(--border-strong); color: var(--text-faint); }
  .tpl-pages { display: grid; gap: var(--space-2xs); }
  .tpl-pages p {
    padding: var(--space-2xs) var(--space-s);
    border-radius: var(--radius-m);
    background: var(--surface-sunken);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  .tpl-pages .page-char, .v-search .page-char { width: 1.1em; height: 1.375em; }

  /* numbers at a glance: stat tiles and a timeline, the blocks an agent can send instead of prose */
  .v-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); max-width: 21rem; margin-inline: auto; }
  .v-stats .stat { display: grid; gap: 1px; padding: var(--space-2xs) var(--space-xs); border-radius: var(--radius-m); background: var(--ok-soft); }
  .v-stats .stat b { font: 800 var(--step-2)/1.05 var(--font-pop); letter-spacing: -0.03em; color: var(--ok); white-space: nowrap; }
  .v-stats .stat span { font-size: var(--step--2); color: var(--text-muted); white-space: nowrap; }
  .v-stats .stat-warn { background: var(--warn-soft); }
  .v-stats .stat-warn b { color: var(--warn); }
  .v-stats .stat-info { background: var(--info-soft); }
  .v-stats .stat-info b { color: var(--info); }
  .tl { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: var(--space-2xs); font-size: var(--step--2); color: var(--text-muted); }
  .tl li { position: relative; padding-top: 0.9em; text-align: center; }
  .tl li::before { content: ""; position: absolute; top: 0.25em; left: 0; right: 0; border-top: 2px solid var(--border-strong); }
  .tl li:first-child::before { left: 50%; }
  .tl li:last-child::before { right: 50%; }
  .tl li::after { content: ""; position: absolute; top: 0; left: 50%; width: 0.6em; height: 0.6em; margin-left: -0.3em; border-radius: 50%; background: var(--text); }

  /* local or cloud: the page sits in the middle, the laptop's agents on one side and the cloud's
     on the other, each wired to it, and you stand a wire's length in front of it. Work runs in
     from the agents and down to you; your answer runs back up to the page and out to the agents.
     Every wire carries traffic both ways, so nothing here is a one-way relay. */
  .v-flow {
    --page-h: 4.25rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(1.1rem, 0.45fr) auto minmax(1.1rem, 0.45fr) minmax(0, 1fr);
    align-items: start;
    gap: var(--space-xs);
    max-width: 44rem;
    margin-inline: auto;
    font-size: var(--step--2);
  }
  .v-flow.v { padding-inline: var(--space-xs); }
  .flow-from { display: grid; gap: var(--space-2xs); min-width: 0; }
  .flow-from em { font-style: normal; color: var(--text-faint); }
  .flow-cloud em { text-align: right; }
  .flow-from span {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
    padding: var(--space-3xs) var(--space-xs);
    border-radius: var(--radius-m);
    background: var(--surface-sunken);
    font-weight: 600;
    line-height: 1.2;             /* on a phone the names wrap to two lines rather than being cut off */
  }
  .char-tiny, .char-brain.char-tiny { width: 1.5em; filter: none; }
  .flow-from .char-tiny { display: none; }
  /* a wire, level with the middle of the page; the cloud's is the same thing mirrored */
  .flow-wire { position: relative; height: 3px; margin-top: calc(var(--page-h) / 2); border-radius: 99px; background: var(--text); }
  .flow-rev { scale: -1 1; }
  /* signals: with motion off none is drawn, and the picture still reads from its wires */
  .v-flow i { position: absolute; width: 0.6rem; height: 0.6rem; margin: -0.3rem; border-radius: 50%; opacity: 0; }
  .flow-wire i { top: 50%; left: 0; }
  .sig-in, .sig-down { background: var(--agent-edge); }
  .sig-back, .sig-up { background: var(--you); }
  .flow-mid { display: grid; justify-items: center; }
  .page-char.flow-page-char { width: calc(var(--page-h) * 0.8); height: var(--page-h); margin: 0; }
  /* the wire between the page and you */
  .flow-drop { position: relative; width: 3px; height: 1.7rem; border-radius: 99px; background: var(--text); }
  .flow-drop i { left: 50%; top: 0; }
  .flow-you { display: grid; justify-items: center; gap: var(--space-3xs); }
  .flow-you .char-small { width: 2.7rem; }
  .flow-you p { display: grid; justify-items: center; gap: 2px; }   /* stacked, so the middle column stays narrow on a phone */
  .flow-you b { font: 700 var(--step-0)/1.1 var(--font-pop); }
  .flow-ok { padding: 0 var(--space-xs); border-radius: 99px; background: var(--ok-soft); color: var(--ok); font-weight: 600; }

  /* ---- who it is for ---- */
  .who { display: grid; gap: var(--space-m); margin-top: var(--space-xl); }
  .panel { padding: var(--space-l); border-radius: var(--radius-xl); background: var(--agent-soft); }
  .panel-2, .panel-3 { background: var(--accent-soft); }
  .panel h3 { font-size: var(--step-3); line-height: 1.05; letter-spacing: -0.03em; color: var(--agent); }
  .panel-2 h3, .panel-3 h3 { color: var(--accent); }
  .panel p { margin-top: var(--space-s); font-size: var(--step-1); line-height: 1.45; max-width: 26rem; }

  /* ---- the waitlist form ---- */
  .waitlist { display: grid; gap: var(--space-2xs); max-width: 34rem; }
  .waitlist-row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
  .waitlist input[type="email"] {
    flex: 1 1 14rem;
    min-width: 0;
    padding: var(--space-xs) var(--space-m);
    border: 0;
    border-radius: 99px;
    background: var(--surface-raised);
    color: var(--text);
    font: inherit;
    box-shadow: inset 0 0 0 1.5px var(--border-strong);
  }
  .waitlist input[type="email"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .waitlist .btn { padding: var(--space-xs) var(--space-m); }
  .waitlist .btn[disabled] { opacity: 0.6; cursor: default; scale: 1; }
  /* a field people cannot see and scripts fill in: anything in it marks the sender as a bot */
  .hp { position: absolute; left: -200vw; width: 1px; height: 1px; opacity: 0; }
  .waitlist-check:empty { display: none; }
  .waitlist-status { min-height: 1.5em; font-weight: 600; }
  .waitlist-status[data-kind="ok"] { color: var(--ok); }
  .waitlist-status[data-kind="bad"] { color: var(--bad); }
  .waitlist-privacy { color: var(--text-faint); font-size: var(--step--1); }
  .waitlist.done .waitlist-row, .waitlist.done .waitlist-privacy, .waitlist.done .waitlist-check { display: none; }
  .stage-waitlist { display: grid; justify-items: center; margin-top: var(--space-m); }
  .stage-waitlist .waitlist { width: 100%; }
  .closing-waitlist { position: relative; margin-top: var(--space-l); }

  /* until the waitlist is switched on: one line where the form will be */
  .waitlist-soon { display: inline-flex; align-items: flex-end; gap: var(--space-xs); font-weight: 600; color: var(--warn); }

  /* ---- the page for an address that does not exist ---- */
  .lost-main { display: grid; justify-items: start; gap: var(--space-m); padding-block: var(--space-xl) var(--space-2xl); }
  .lost-main h1 { font-size: clamp(2.2rem, 1.2rem + 4.4vw, 4.4rem); font-weight: 800; line-height: 0.96; letter-spacing: -0.04em; }
  .lost-art { display: flex; align-items: flex-end; gap: var(--space-l); margin-bottom: var(--space-m); }
  .lost-art .char-brain { width: clamp(7rem, 4rem + 12vw, 12rem); }
  /* where the page should be: an outline of the page from the logo, with nothing in it */
  .lost-page {
    display: grid;
    place-items: center;
    width: clamp(5.2rem, 3rem + 9vw, 9rem);
    aspect-ratio: 32 / 40;
    border: 3px dashed var(--border-strong);
    border-radius: 12% 34% 12% 12% / 10% 27% 10% 10%;
    color: var(--text-faint);
    font: 800 var(--step-3)/1 var(--font-pop);
  }
  .lost-back { display: inline-block; padding: var(--space-xs) var(--space-m); text-decoration: none; }
  a.wordmark { color: inherit; text-decoration: none; }

  /* ---- the brain asleep: after a minute with nothing happening, its eyes close ---- */
  .zzz { position: absolute; top: 2%; left: 62%; display: none; gap: 2px; font: 800 var(--step-1)/1 var(--font-pop); color: var(--agent); }
  .zzz i { font-style: normal; opacity: 0; }
  .zzz i:nth-child(2) { font-size: 1.3em; translate: 0 -0.5em; }
  .zzz i:nth-child(3) { font-size: 1.7em; translate: 0 -1.1em; }
  .asleep .zzz { display: inline-flex; }
  .asleep .brain-eye { scale: 1 0.12; }
  .asleep .zzz i { opacity: 1; }

  /* ---- ask your agent ---- */
  .ask-box {
    position: relative;
    display: grid;
    gap: var(--space-s);
    justify-items: start;
    padding: var(--space-l) var(--space-m) var(--space-m);
    border-radius: var(--radius-xl);
    background: var(--n-12);
    color: var(--n-1);
    box-shadow: var(--shadow-pop);
  }
  .ask-box .char-small { position: absolute; top: -1.6rem; right: var(--space-m); width: 4.2rem; }
  .ask-prompt { font: var(--step-0)/1.55 var(--font-mono); }
  /* under the prompt, a drop-down for anyone wary of pasting it: the same sliding panel as a question */
  .ask-side { display: grid; gap: var(--space-s); min-width: 0; }
  .ask-safe { border: 0; padding-inline: var(--space-m); border-radius: var(--radius-l); background: var(--surface); }
  .ask-safe:last-child { border-bottom: 0; }
  .ask-safe h3 { font-size: var(--step-1); }
  .ask-safe .qa-q { padding-block: var(--space-s); }
  .ask-safe .qa-a p { padding-bottom: var(--space-xs); font-size: var(--step-0); }
  .ask-safe blockquote {
    margin: 0 0 var(--space-s);
    padding: var(--space-xs) var(--space-s);
    border-left: var(--edge-w) solid var(--agent-edge);
    border-radius: 0 var(--radius-m) var(--radius-m) 0;
    background: var(--bg);
    font: var(--step--1)/1.55 var(--font-mono);
  }
  .ask-safe .qa-a p:last-child { padding-bottom: var(--space-m); }

  /* ---- the page as your agent reads it ---- */
  .as-agent { padding-block: var(--space-xl) var(--space-2xl); background: oklch(17% 0.04 var(--hue-agent)); color: var(--text); }
  .as-agent-head { display: flex; align-items: center; gap: var(--space-m); }
  .as-agent-head .char-small { width: 4.6rem; flex: none; }
  .as-agent h2 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
  .as-agent-head p { margin-top: var(--space-xs); max-width: 38rem; color: var(--text-muted); }
  .as-agent pre {
    margin: var(--space-l) 0 0;
    font: var(--step--1)/1.65 var(--font-mono);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  /* while it is showing, everything a person reads steps aside */
  .agent-view main > :not(.as-agent) { display: none; }
  .agent-view .closing { margin-top: 0; }
  .as-agent-toggle { padding: var(--space-2xs) var(--space-s); font-size: var(--step--1); white-space: nowrap; }
  .as-agent-toggle[aria-pressed="true"] { background: var(--text); color: var(--bg); box-shadow: none; }

  /* ---- questions ---- */
  .split-faq { display: grid; gap: var(--space-l); }
  .qa { border-top: var(--hairline) solid var(--border-strong); }
  .qa:last-child { border-bottom: var(--hairline) solid var(--border-strong); }
  .qa-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
    width: 100%;
    padding-block: var(--space-m);
    font: inherit;
    letter-spacing: inherit;
  }
  .qa-q::after {
    content: "";
    flex: none;
    width: 0.9rem;
    height: 0.9rem;
    background:
      linear-gradient(var(--text), var(--text)) center / 100% 2px no-repeat,
      linear-gradient(var(--text), var(--text)) center / 2px 100% no-repeat;
  }
  .qa.open .qa-q::after { rotate: 45deg; }
  .faq h3 { font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.02em; }
  /* The answer is a grid row that goes from 0fr to 1fr, which is what lets its height slide. Closed
     only once app.js is running; without it every answer stays open. */
  .qa-a { display: grid; grid-template-rows: 1fr; }
  .qa-a > div { overflow: hidden; }
  .js .qa:not(.open) .qa-a { grid-template-rows: 0fr; visibility: hidden; }
  .qa-a p { max-width: 40rem; padding-bottom: var(--space-m); font-size: var(--step-1); line-height: 1.5; color: var(--text-muted); }

  /* ---- closing band and footer ---- */
  .closing {
    --ink-bg: oklch(17% 0.04 var(--hue-accent));
    --wires-h: 11rem;             /* how far the page's wiring runs down into the band */
    position: relative;
    margin-top: var(--space-xl);
    padding-top: calc(var(--wires-h) + var(--space-m));
    background: var(--ink-bg);
    color: var(--text);
  }
  /* The page bleeds into the band as wiring: traces in the page's own color drop from the band's
     top edge, turn at right angles, branch, and end in nodes, like the wiring in the logo's brain.
     Signals run down them. build.mjs draws the traces; the same tile repeats across the width. */
  .wires {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: var(--wires-h);
    display: flex;
    overflow: hidden;
    pointer-events: none;
  }
  .wires svg { flex: none; height: 100%; aspect-ratio: 1600 / 200; }
  .wire { fill: none; stroke: var(--page-bg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
  .node { fill: var(--ink-bg); stroke: var(--page-bg); stroke-width: 3; }
  .node-agent { fill: var(--agent-edge); }
  .node-you { fill: var(--you); }
  /* a signal is a short bright dash laid over a wire; with motion off it is not drawn */
  .signal { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 16 400; stroke-dashoffset: 16; opacity: 0; }
  .signal-agent { stroke: var(--agent-edge); }
  .signal-you { stroke: var(--you); }
  .closing-line {
    position: relative;
    font: 800 clamp(2.2rem, 0.9rem + 5.4vw, 5.1rem)/0.95 var(--font-pop);   /* sized so the full name and the verb fit one line on a desktop */
    letter-spacing: -0.045em;
  }
  .closing-sub { position: relative; max-width: 30rem; margin-top: var(--space-m); font-size: var(--step-1); color: var(--text-muted); }
  .foot {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-xs) var(--space-l);
    margin-top: var(--space-2xl);
    padding-block: var(--space-m);
    border-top: var(--hairline) solid var(--border-strong);
    color: var(--text-muted);
    font-size: var(--step--1);
  }
  .foot a { color: inherit; }

  @media (min-width: 46rem) {
    .steps { grid-template-columns: repeat(3, 1fr); }
    .steps li + li::before { left: auto; right: 100%; bottom: auto; top: 50%; width: var(--space-m); height: 3px; margin: -1.5px 0 0; }
    .steps li + li::after { left: auto; right: 100%; bottom: auto; top: 50%; margin: -5.5px -5.5px 0 0; }
    .who { grid-template-columns: repeat(2, 1fr); }
    .pots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split.split-wide { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
    .bento { grid-template-columns: repeat(6, 1fr); }
    .tile { grid-column: span 2; }
    .tile-1 { grid-column: span 4; }
    .tile-9 { grid-column: span 6; }
    .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
    .v-flow { --page-h: 5.2rem; font-size: var(--step--1); }
    .flow-from { margin-top: 0.3rem; }
    .flow-from span { white-space: nowrap; }
    .flow-from .char-tiny { display: block; }
    .flow-you p { display: flex; align-items: center; gap: var(--space-2xs); }
    .split-faq { grid-template-columns: 0.7fr 1.3fr; align-items: start; }
    .view { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); padding-inline: var(--space-l); }
    .view-you { min-height: 29rem; }
    /* keep each reader's lines clear of the handle when it is parked at their edge */
    .says-you { justify-self: end; margin-right: var(--space-xl); }
    /* The agent's lines sit against the divider, mirrored, with the brain nearest it: sliding
       toward the agent's side, the brain is the first thing uncovered. */
    .says-agent { justify-self: end; margin-right: var(--space-m); }
    .says-agent .says-who { flex-direction: row-reverse; }
    .says-agent li { border-radius: var(--radius-l) var(--radius-l) var(--radius-s) var(--radius-l); }
  }
  @media (min-width: 62rem) {
    .pots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stage { padding: var(--space-xl) var(--space-l) var(--space-l); }
    .stage-row { grid-template-columns: 1fr minmax(0, 34rem) 1fr; grid-template-areas: "agent demo you"; }
    /* each character is wired to the example page between them */
    .char { width: 100%; }
    .char::before {
      content: "";
      position: absolute;
      top: calc(50% - var(--space-m));
      height: 3px;
      background: var(--text);
      border-radius: 99px;
    }
    .char-agent::before { left: calc(50% + 5.6rem); right: calc(var(--space-m) * -1); }
    .char-you::before { right: calc(50% + 5.6rem); left: calc(var(--space-m) * -1); }
    .char::after {
      content: "";
      position: absolute;
      top: calc(50% - var(--space-m) - 4px);
      width: 11px;
      height: 11px;
      border-radius: 50%;
      background: var(--agent-edge);
      box-shadow: 0 0 0 3px var(--text);
    }
    .char-agent::after { left: calc(50% + 5.6rem - 5px); }
    .char-you::after { right: calc(50% + 5.6rem - 5px); background: var(--you); }
  }
}

/* Everything that moves. Each element's resting style above is its final, readable state, so with
   motion off (prefers-reduced-motion, or app.js missing) the page is complete and still. */
@layer motion {
  @media (prefers-reduced-motion: no-preference) {
    /* -- the headline is reviewed as you watch: the questions are there, then one at a time each is
          struck through and its answer fades in, and the name arrives last. Slow on purpose:
          about a second a line -- */
    .kicker { animation: line-in 0.6s var(--ease-out) both; }
    @keyframes line-in { from { opacity: 0; translate: 0 0.45em; } }
    .hero h1 .line-struck::after { transform-origin: left; animation: strike 0.9s var(--ease-out) both; }
    .hero h1 .line-answer { animation: answer-in 0.7s var(--ease-out) both; }
    .hero h1 .line:nth-child(1) .line-struck::after { animation-delay: 0.8s; }
    .hero h1 .line:nth-child(1) .line-answer { animation-delay: 1.6s; }
    .hero h1 .line:nth-child(2) .line-struck::after { animation-delay: 2s; }
    .hero h1 .line:nth-child(2) .line-answer { animation-delay: 2.8s; }
    .hero h1 .line:nth-child(3) .line-struck::after { animation-delay: 3.2s; }
    .hero h1 .line:nth-child(3) .line-answer { animation-delay: 4s; }
    .hero h1 .line-name { animation: line-in 0.8s var(--ease-out) 4.6s both; }
    @keyframes strike { from { transform: scaleX(0); } }
    @keyframes answer-in { from { opacity: 0; } }

    /* -- sections rise as they scroll into view (app.js adds .js and .in) -- */
    .js .reveal { opacity: 0; translate: 0 2rem; transition: opacity 0.8s var(--ease-out), translate 0.8s var(--ease-out); }
    .js .reveal.in { opacity: 1; translate: none; }
    .js .stagger > :nth-child(2) { transition-delay: 0.08s; }
    .js .stagger > :nth-child(3) { transition-delay: 0.16s; }
    .js .stagger > :nth-child(4) { transition-delay: 0.24s; }
    .js .stagger > :nth-child(5) { transition-delay: 0.32s; }
    .js .stagger > :nth-child(6) { transition-delay: 0.4s; }
    .js .stagger > :nth-child(7) { transition-delay: 0.48s; }
    .js .stagger > :nth-child(8) { transition-delay: 0.56s; }
    .js .stagger > :nth-child(9) { transition-delay: 0.64s; }
    .js .tile.reveal.in { transition-delay: 0s; }

    /* -- loops stop while off screen -- */
    .offscreen, .offscreen * , .offscreen *::before, .offscreen *::after { animation-play-state: paused !important; }

    /* -- the divider sways once when it first appears, to show it moves -- */
    .js .views.in:not(.touched) .views-frame { animation: sway 2.6s ease-in-out 0.7s 1 both; }
    @keyframes sway { 0%, 100% { --split: 50%; } 30% { --split: 68%; } 70% { --split: 34%; } }

    /* -- questions slide open and shut -- */
    .qa-a { transition: grid-template-rows 0.45s var(--ease-out), visibility 0.45s; }
    .qa-a p { transition: opacity 0.35s, translate 0.45s var(--ease-out); }
    .js .qa:not(.open) .qa-a p { opacity: 0; translate: 0 -0.6rem; }
    .qa-q::after { transition: rotate 0.35s var(--ease-spring); }
    .char-small { animation: none; }

    .pulse { animation: pulse 1.8s ease-in-out infinite; }
    @keyframes pulse { 50% { scale: 1.7; opacity: 0.4; } }
    .simmer i { animation: simmer 1.4s ease-in-out infinite; }
    .simmer i:nth-child(2) { animation-delay: 0.2s; }
    .simmer i:nth-child(3) { animation-delay: 0.4s; }
    @keyframes simmer { 50% { translate: 0 -0.7em; opacity: 0.35; } }

    /* -- the two characters -- */
    .char-body { animation: bob 5s ease-in-out infinite; }
    .char-you .char-body { animation-delay: -2.5s; }
    @keyframes bob { 50% { translate: 0 -8px; rotate: -3deg; } }
    .eye { animation: blink 5.5s infinite; }
    .brain-eye { animation: blink 5.5s infinite; transform-box: fill-box; transform-origin: center; }
    @keyframes blink { 0%, 94%, 100% { scale: 1 1; } 97% { scale: 1 0.1; } }
    .stage.agent-busy .char-agent .char-body { animation: think 0.5s ease-in-out infinite; }
    @keyframes think { 25% { rotate: -7deg; } 75% { rotate: 7deg; } }
    .stage.you-acted .char-you .char-body { animation: hop 0.5s var(--ease-spring); }
    .stage.agent-acted .char-agent .char-body { animation: hop 0.5s var(--ease-spring); }
    @keyframes hop { 40% { translate: 0 -18px; scale: 1.08; } }

    /* -- the live example, one pass per --cycle, until the visitor takes over -- */
    .demo.auto .sheet-inner { animation: d-loop var(--cycle) infinite; }
    .demo.auto .d1 { animation: d-in-1 var(--cycle) infinite; }
    .demo.auto .d2 { animation: d-in-2 var(--cycle) infinite; }
    .demo.auto .d3 { animation: d-in-3 var(--cycle) infinite; }
    .demo.auto .d4 { animation: d-in-4 var(--cycle) infinite; }
    .demo.auto .typed { animation: d-type var(--cycle) infinite; }
    .demo.auto .dots { display: inline-flex; animation: d-dots var(--cycle) infinite; }
    .demo.auto .reply { animation: d-reply var(--cycle) infinite; }
    .demo.auto .st-draft { animation: d-st-draft var(--cycle) infinite; }
    .demo.auto .st-review { animation: d-st-review var(--cycle) infinite; }
    .demo.auto .st-ok { animation: d-st-ok var(--cycle) infinite; }
    .demo.auto .rv2 { animation: d-rv2 var(--cycle) infinite; }
    .demo.auto .rv3 { animation: d-rv3 var(--cycle) infinite; }
    .demo.auto .choice:first-child .radio { animation: d-radio var(--cycle) infinite; }
    .demo.auto .btn-go { animation: d-press var(--cycle) infinite; }
    .stage:has(.demo.auto) .char-agent .char-body { animation: bob 5s ease-in-out infinite, d-agent var(--cycle) infinite; animation-composition: add; }
    .stage:has(.demo.auto) .char-you .char-body { animation: bob 5s ease-in-out -2.5s infinite, d-you var(--cycle) infinite; animation-composition: add; }

    @keyframes d-loop { 0% { opacity: 0; } 2%, 96% { opacity: 1; } 100% { opacity: 0; } }
    @keyframes d-in-1 { 0%, 4% { opacity: 0; translate: 0 12px; } 8%, 100% { opacity: 1; translate: none; } }
    @keyframes d-in-2 { 0%, 10% { opacity: 0; translate: 0 12px; } 14%, 100% { opacity: 1; translate: none; } }
    @keyframes d-in-3 { 0%, 37% { opacity: 0; translate: 0 12px; } 40%, 100% { opacity: 1; translate: none; } }
    @keyframes d-in-4 { 0%, 54% { opacity: 0; translate: 0 12px; } 57%, 100% { opacity: 1; translate: none; } }
    @keyframes d-type {
      0%, 41% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(32, end); }
      52%, 100% { clip-path: inset(0 0 0 0); }
    }
    @keyframes d-dots { 0%, 54% { opacity: 0; } 56%, 62% { opacity: 1; } 63%, 100% { opacity: 0; } }
    @keyframes d-reply { 0%, 62% { opacity: 0; } 65%, 100% { opacity: 1; } }
    @keyframes d-st-draft { 0%, 18% { opacity: 1; } 19%, 100% { opacity: 0; } }
    @keyframes d-st-review { 0%, 18% { opacity: 0; } 19%, 77% { opacity: 1; } 78%, 100% { opacity: 0; } }
    @keyframes d-st-ok { 0%, 77% { opacity: 0; scale: 0.6; } 78% { opacity: 1; scale: 1.25; } 81%, 100% { opacity: 1; scale: 1; } }
    @keyframes d-rv2 { 0%, 62% { opacity: 1; } 63%, 100% { opacity: 0; } }
    @keyframes d-rv3 { 0%, 62% { opacity: 0; } 63%, 100% { opacity: 1; } }
    @keyframes d-radio {
      0%, 29% { box-shadow: inset 0 0 0 1px var(--text-faint); }
      31%, 100% { box-shadow: inset 0 0 0 0.27em var(--accent); }
    }
    @keyframes d-press { 0%, 75%, 79%, 100% { scale: 1; } 77% { scale: 0.88; } }
    @keyframes d-agent {
      0%, 3%, 9%, 13%, 54%, 64%, 100% { translate: 0 0; rotate: 0deg; }
      6%, 11% { translate: 0 -14px; }
      56%, 60% { rotate: -8deg; } 58%, 62% { rotate: 8deg; }
    }
    @keyframes d-you {
      0%, 28%, 33%, 40%, 52%, 75%, 80%, 100% { translate: 0 0; scale: 1; }
      30%, 77% { translate: 0 -14px; scale: 1.08; }
      46% { translate: 0 -5px; }
    }

    /* -- once the visitor has taken over: new messages pop in, approval bursts -- */
    .demo:not(.auto) .msg.new { animation: msg-in 0.45s var(--ease-spring) both; }
    @keyframes msg-in { from { opacity: 0; translate: 0 10px; scale: 0.97; } }
    .msg.thinking .dots i { animation: dot 0.9s ease-in-out infinite; }
    .msg.thinking .dots i:nth-child(2) { animation-delay: 0.15s; }
    .msg.thinking .dots i:nth-child(3) { animation-delay: 0.3s; }
    .demo.auto .dots i { animation: dot 0.9s ease-in-out infinite; }
    .demo.auto .dots i:nth-child(2) { animation-delay: 0.15s; }
    .demo.auto .dots i:nth-child(3) { animation-delay: 0.3s; }
    @keyframes dot { 50% { translate: 0 -3px; opacity: 0.4; } }
    .demo .st { transition: opacity 0.25s, scale 0.35s var(--ease-spring); }
    .demo.popped .burst i { animation: burst 0.9s var(--ease-out) both; }
    .burst i:nth-child(1) { --bx: -190px; --by: -120px; } .burst i:nth-child(2) { --bx: 200px; --by: -110px; }
    .burst i:nth-child(3) { --bx: -240px; --by: 20px; } .burst i:nth-child(4) { --bx: 250px; --by: 40px; }
    .burst i:nth-child(5) { --bx: -150px; --by: 150px; } .burst i:nth-child(6) { --bx: 160px; --by: 160px; }
    .burst i:nth-child(7) { --bx: -60px; --by: -190px; } .burst i:nth-child(8) { --bx: 70px; --by: -200px; }
    .burst i:nth-child(9) { --bx: -20px; --by: 200px; } .burst i:nth-child(10) { --bx: 280px; --by: -40px; }
    @keyframes burst {
      0% { opacity: 1; translate: 0 0; scale: 0.4; rotate: 0deg; }
      100% { opacity: 0; translate: var(--bx) var(--by); scale: 1.3; rotate: 200deg; }
    }

    /* -- many agents: three write at once, each to its own block, then you answer; 12s a pass -- */
    .multi .row-1 .typed { animation: m-type-1 12s infinite; }
    .multi .row-2 .typed { animation: m-type-2 12s infinite; }
    .multi .row-3 .typed { animation: m-type-3 12s infinite; }
    .multi .row-you { animation: m-you 12s infinite; }
    .multi .row-you .typed { animation: m-type-you 12s infinite; }
    .multi .row-1 .multi-busy { animation: m-busy-1 12s infinite; }
    .multi .row-2 .multi-busy { animation: m-busy-2 12s infinite; }
    .multi .row-3 .multi-busy { animation: m-busy-3 12s infinite; }
    .v-route .char-brain { animation: receive 3.6s ease-in-out infinite; }
    /* the small characters inside pictures stay put; only the big ones on the stage bob */
    .char-tiny, .tile-visual .char-pointer, .says .char-pointer, .multi .char-pointer, .pot-art .char-small { animation: none; }
    .multi .row-1 .char-small { animation: m-nod 0.6s ease-in-out infinite; }
    .multi .row-2 .char-small { animation: m-nod 0.6s ease-in-out -0.2s infinite; }
    .multi .row-3 .char-small { animation: m-nod 0.6s ease-in-out -0.4s infinite; }
    .multi-busy .dots i { animation: dot 0.9s ease-in-out infinite; }
    .multi-busy .dots i:nth-child(2) { animation-delay: 0.15s; }
    .multi-busy .dots i:nth-child(3) { animation-delay: 0.3s; }
    .multi .mr1 { animation: m-rev-1 12s infinite; }
    .multi .mr2 { animation: m-rev-2 12s infinite; }
    .multi .mr3 { animation: m-rev-3 12s infinite; }
    .multi .mr4 { animation: m-rev-4 12s infinite; }
    @keyframes m-nod { 50% { translate: 0 -3px; rotate: -4deg; } }
    /* when you give the word, the sunnies drop over your eyes in four pixel-sized steps */
    .multi .with-sunnies .you-sunnies { animation: m-sunnies 12s steps(1, end) infinite; }
    @keyframes m-sunnies { 0%, 72% { translate: 0 -24px; opacity: 0; } 74% { translate: 0 -16px; opacity: 1; } 76% { translate: 0 -10px; opacity: 1; } 78% { translate: 0 -4px; opacity: 1; } 80%, 100% { translate: 0 0; opacity: 1; } }
    @keyframes m-type-1 { 0%, 6% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(26, end); } 30%, 94% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
    @keyframes m-type-2 { 0%, 10% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(26, end); } 38%, 94% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
    @keyframes m-type-3 { 0%, 14% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(26, end); } 46%, 94% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
    @keyframes m-busy-1 { 0%, 5%, 31%, 100% { opacity: 0; } 7%, 29% { opacity: 1; } }
    @keyframes m-busy-2 { 0%, 9%, 39%, 100% { opacity: 0; } 11%, 37% { opacity: 1; } }
    @keyframes m-busy-3 { 0%, 13%, 47%, 100% { opacity: 0; } 15%, 45% { opacity: 1; } }
    @keyframes m-you { 0%, 56% { opacity: 0; translate: 0 10px; } 60%, 94% { opacity: 1; translate: none; } 100% { opacity: 0; } }
    @keyframes m-type-you { 0%, 60% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(17, end); } 72%, 100% { clip-path: inset(0 0 0 0); } }
    @keyframes m-rev-1 { 0%, 30% { opacity: 1; } 31%, 100% { opacity: 0; } }
    @keyframes m-rev-2 { 0%, 30%, 39%, 100% { opacity: 0; } 31%, 38% { opacity: 1; } }
    @keyframes m-rev-3 { 0%, 38%, 47%, 100% { opacity: 0; } 39%, 46% { opacity: 1; } }
    @keyframes m-rev-4 { 0%, 46% { opacity: 0; } 47%, 100% { opacity: 1; } }

    /* -- signals on the wiring between steps and beside the example page -- */
    .steps li + li::after, .char::after { animation: node 3.6s ease-in-out infinite; }
    .steps li:nth-child(3)::after { animation-delay: -1.8s; }
    .char-you::after { animation-delay: -1.8s; }

    /* -- the page turns into its agent view with a wipe from the switch's corner -- */
    .agent-view .as-agent { animation: wipe 0.6s var(--ease-out) both; }
    @keyframes wipe { from { clip-path: circle(0% at 85% 0%); } to { clip-path: circle(150% at 85% 0%); } }
    .stage-waitlist:not([hidden]) .waitlist, .waitlist-status[data-kind] { animation: msg-in 0.45s var(--ease-spring) both; }

    /* -- asleep: the eyes stay shut (no blinking), the brain breathes slowly, and z's drift up -- */
    .brain-eye { transition: scale 0.5s var(--ease-out), translate 0.18s var(--ease-out); }
    .asleep .brain-eye { animation: none; }
    .asleep .char-agent .char-brain, .asleep .lost-art .char-brain { animation: breathe 4s ease-in-out infinite; }
    @keyframes breathe { 50% { scale: 1.04 0.97; } }
    .asleep .zzz i { animation: zzz 3s ease-in-out infinite; }
    .asleep .zzz i:nth-child(2) { animation-delay: 0.5s; }
    .asleep .zzz i:nth-child(3) { animation-delay: 1s; }
    @keyframes zzz { 0%, 100% { opacity: 0; } 30%, 70% { opacity: 1; } }
    /* lost: the brain glances at the empty outline and back */
    .lost-art .char-brain { animation: glance 5s ease-in-out infinite; }
    @keyframes glance { 0%, 55%, 100% { rotate: 0deg; } 65%, 85% { rotate: 7deg; } }

    /* -- terminal -- */
    .terminal-roll { animation: roll 16s linear infinite; }
    @keyframes roll { to { translate: 0 -50%; } }

    /* -- capability pictures -- */
    .v-blocks i { animation: grow 4.5s var(--ease-out) infinite; }
    .v-blocks p:nth-child(2) i { animation-delay: 0.3s; }
    .v-blocks p:nth-child(3) i { animation-delay: 0.6s; }
    @keyframes grow { 0% { scale: 0 1; } 25%, 85% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; } }
    .chip { animation: travel 3.6s var(--ease-out) infinite; }
    @keyframes travel { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 70% { left: 100%; opacity: 1; } 85%, 100% { left: 100%; opacity: 0; scale: 0.6; } }
    @keyframes receive { 0%, 66%, 90%, 100% { scale: 1; } 76% { scale: 1.5; } }
    /* a decision, one pass every 6 seconds: suggested, then your signature writes itself across
       the line, then it is confirmed with a stamp */
    .p-sug { animation: dec-sug 6s ease-in-out infinite; }
    .p-ok { animation: dec-ok 6s var(--ease-spring) infinite; }
    .dec-ink path { animation: dec-sign 6s ease-in-out infinite; }
    .dec-sign .char-small { animation: dec-you 6s var(--ease-spring) infinite; }
    @keyframes dec-sug { 0%, 56% { opacity: 1; } 60%, 100% { opacity: 0; } }
    @keyframes dec-ok { 0%, 57% { opacity: 0; scale: 1.8; rotate: -12deg; } 62% { opacity: 1; scale: 0.92; rotate: -4deg; } 66%, 94% { opacity: 1; scale: 1; rotate: -4deg; } 100% { opacity: 0; scale: 1; rotate: -4deg; } }
    @keyframes dec-sign { 0%, 22% { stroke-dashoffset: 260; } 54%, 94% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
    @keyframes dec-you { 0%, 20%, 56%, 100% { translate: 0 0; } 24%, 52% { translate: 0 -4px; } }
    /* gas flames flicker: the outer row and the core each stretch and settle, out of step */
    .pot::before { animation: flame 0.42s ease-in-out infinite alternate; }
    .pot::after { animation: flame 0.31s ease-in-out -0.1s infinite alternate; }
    .pot-2::before { animation-duration: 0.47s; }
    .pot-3::before { animation-duration: 0.38s; }
    @keyframes flame { from { scale: 1 0.78; } to { scale: 1 1.12; } }
    .v-search .typed { display: inline-block; animation: type 5s infinite; }
    @keyframes type { 0%, 8% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(11, end); } 34%, 100% { clip-path: inset(0 0 0 0); } }
    .v-search .hit { animation: hit 5s var(--ease-out) infinite; }
    .v-search .hit:last-child { animation-name: hit-2; }
    @keyframes hit { 0%, 38% { opacity: 0; translate: 0 8px; } 46%, 92% { opacity: 1; translate: none; } 100% { opacity: 0; } }
    @keyframes hit-2 { 0%, 46% { opacity: 0; translate: 0 8px; } 54%, 92% { opacity: 1; translate: none; } 100% { opacity: 0; } }
    .v-who p { animation: who 6s ease-in-out infinite; }
    .v-who .w-member { animation-delay: 2s; }
    .v-who .w-out { animation-delay: 4s; }
    @keyframes who { 0%, 30%, 100% { translate: 0 0; } 8%, 22% { translate: 10px 0; } }
    .age-pin { animation: age 7s ease-in-out infinite; }
    @keyframes age { 0%, 8% { left: 6%; } 80%, 100% { left: 92%; } }
    .tpl-pages p { animation: stamp 6s var(--ease-spring) infinite; }
    .tpl-pages p:nth-child(2) { animation-name: stamp-2; }
    .tpl-pages p:nth-child(3) { animation-name: stamp-3; }
    @keyframes stamp { 0%, 8% { opacity: 0; translate: -1.5rem 0; scale: 0.9; } 16%, 92% { opacity: 1; translate: none; scale: 1; } 100% { opacity: 0; } }
    @keyframes stamp-2 { 0%, 24% { opacity: 0; translate: -1.5rem 0; scale: 0.9; } 32%, 92% { opacity: 1; translate: none; scale: 1; } 100% { opacity: 0; } }
    @keyframes stamp-3 { 0%, 40% { opacity: 0; translate: -1.5rem 0; scale: 0.9; } 48%, 92% { opacity: 1; translate: none; scale: 1; } 100% { opacity: 0; } }
    /* local or cloud, one pass every 7 seconds: work runs in from the agents, down to you, you
       approve, your answer runs back up to the page and out to the agents, and they light up */
    .sig-in { animation: sig-in 7s var(--ease-out) infinite; }
    .sig-down { animation: sig-down 7s var(--ease-out) infinite; }
    .sig-up { animation: sig-up 7s var(--ease-out) infinite; }
    .sig-back { animation: sig-back 7s var(--ease-out) infinite; }
    .flow-ok { animation: okay 7s var(--ease-spring) infinite; }
    .flow-from span { animation: ping 7s ease-in-out infinite; }
    @keyframes sig-in { 0% { left: 0; opacity: 0; } 3% { opacity: 1; } 18% { left: 100%; opacity: 1; } 22%, 100% { left: 100%; opacity: 0; } }
    @keyframes sig-down { 0%, 22% { top: 0; opacity: 0; } 25% { top: 0; opacity: 1; } 38% { top: 100%; opacity: 1; } 42%, 100% { top: 100%; opacity: 0; } }
    @keyframes okay { 0%, 42% { opacity: 0; scale: 0.6; } 48%, 96% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
    @keyframes sig-up { 0%, 52% { top: 100%; opacity: 0; } 55% { top: 100%; opacity: 1; } 68% { top: 0; opacity: 1; } 72%, 100% { top: 0; opacity: 0; } }
    @keyframes sig-back { 0%, 72% { left: 100%; opacity: 0; } 75% { left: 100%; opacity: 1; } 90% { left: 0; opacity: 1; } 94%, 100% { left: 0; opacity: 0; } }
    @keyframes ping { 0%, 88%, 100% { background: var(--surface-sunken); } 93% { background: var(--accent-soft); } }
    /* local sync, 4.5 seconds a pass: a page rides the wire down, and the laptop fills one page at a time */
    @keyframes sync-ride { 0% { left: 0; opacity: 0; scale: 0.7; } 20% { opacity: 1; scale: 1; } 80% { left: 100%; opacity: 1; scale: 1; } 100% { left: 100%; opacity: 0; scale: 0.7; } }
    .sync-cloud .page-char { animation: float 1.5s ease-in-out infinite; }
    .sync-screen .page-char { animation: sync-land-1 4.5s var(--ease-spring) infinite, float 1.8s ease-in-out infinite; }
    .sync-screen .page-char:nth-child(2) { animation-name: sync-land-2, float; animation-delay: 0s, 0.25s; }
    .sync-screen .page-char:nth-child(3) { animation-name: sync-land-3, float; animation-delay: 0s, 0.5s; }
    .sync-moving { animation: sync-ride 1.5s var(--ease-out) infinite, float 0.9s ease-in-out infinite; }
    @keyframes sync-land-1 { 0%, 24% { opacity: 0; scale: 0.3; } 30%, 94% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1; } }
    @keyframes sync-land-2 { 0%, 57% { opacity: 0; scale: 0.3; } 63%, 94% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1; } }
    @keyframes sync-land-3 { 0%, 88% { opacity: 0; scale: 0.3; } 92%, 96% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1; } }
    /* charts, 5.5 seconds a pass: the bars rise one after another with a little overshoot, a trend
       line draws across their tops, its end dot pops, everything holds, then it starts again */
    .bars i { animation: bar-1 5.5s var(--ease-spring) infinite; }
    .bars i:nth-child(2) { animation-name: bar-2; } .bars i:nth-child(3) { animation-name: bar-3; }
    .bars i:nth-child(4) { animation-name: bar-4; } .bars i:nth-child(5) { animation-name: bar-5; }
    @keyframes bar-1 { 0%, 2% { scale: 1 0; } 12%, 92% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; } }
    @keyframes bar-2 { 0%, 9% { scale: 1 0; } 19%, 92% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; } }
    @keyframes bar-3 { 0%, 16% { scale: 1 0; } 26%, 92% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; } }
    @keyframes bar-4 { 0%, 23% { scale: 1 0; } 33%, 92% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; } }
    @keyframes bar-5 { 0%, 30% { scale: 1 0; } 40%, 92% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; } }
    .trend polyline { animation: trend 5.5s ease-in-out infinite; }
    @keyframes trend { 0%, 42% { stroke-dashoffset: 100; opacity: 1; } 64%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
    .bars::after { animation: trend-dot 5.5s var(--ease-spring) infinite; }
    @keyframes trend-dot { 0%, 62% { scale: 0; } 68% { scale: 1.6; } 72%, 92% { scale: 1; opacity: 1; } 100% { scale: 1; opacity: 0; } }
    /* numbers at a glance: the timeline's three points light up in order */
    .tl li::after { animation: tl-1 5s ease-in-out infinite; }
    .tl li:nth-child(2)::after { animation-name: tl-2; }
    .tl li:nth-child(3)::after { animation-name: tl-3; }
    @keyframes tl-1 { 0%, 18% { background: var(--border-strong); scale: 1; } 24% { background: var(--ok-mark); scale: 1.7; } 30%, 100% { background: var(--ok-mark); scale: 1; } }
    @keyframes tl-2 { 0%, 38% { background: var(--border-strong); scale: 1; } 44% { background: var(--ok-mark); scale: 1.7; } 50%, 100% { background: var(--ok-mark); scale: 1; } }
    @keyframes tl-3 { 0%, 58% { background: var(--border-strong); scale: 1; } 64% { background: var(--ok-mark); scale: 1.7; } 70%, 100% { background: var(--ok-mark); scale: 1; } }
    /* stat tiles pop in one after another */
    .v-stats .stat { animation: stat 5s var(--ease-spring) infinite; }
    .v-stats .stat:nth-child(2) { animation-delay: 0.2s; }
    .v-stats .stat:nth-child(3) { animation-delay: 0.4s; }
    @keyframes stat { 0% { opacity: 0; scale: 0.8; } 10%, 92% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1; } }
    /* the pointer blinks: its dot eyes flatten into dashes for a moment */
    .you-eye { animation: you-blink 4.6s ease-in-out infinite; }
    @keyframes you-blink { 0%, 90%, 100% { scale: 1 1; rotate: 0deg; } 93%, 96% { scale: 1.9 0.26; rotate: 16deg; } }
    .stage.you-denied .char-you .char-body { animation: shake 0.45s ease-in-out; }
    @keyframes shake { 20%, 60% { translate: -7px 0; } 40%, 80% { translate: 7px 0; } }
    /* local or cloud: when the work reaches you, you approve it: the pointer turns into the tick */
    .flow-you .you-arrow { animation: flow-arrow 7s ease-in-out infinite; }
    .flow-you .you-check { animation: flow-check 7s var(--ease-spring) infinite; }
    @keyframes flow-arrow { 0%, 42%, 66%, 100% { opacity: 1; scale: 1; rotate: 0deg; } 46%, 60% { opacity: 0; scale: 0.4; rotate: -30deg; } }
    @keyframes flow-check { 0%, 42%, 66%, 100% { opacity: 0; scale: 0.3; } 46%, 60% { opacity: 1; scale: 1; } }
    /* in the example's own loop, you turn into a tick at the two moments you act */
    .stage:has(.demo.auto) .char-you .you-arrow { animation: d-you-arrow var(--cycle) infinite; }
    .stage:has(.demo.auto) .char-you .you-check { animation: d-you-check var(--cycle) infinite; }
    @keyframes d-you-arrow { 0%, 29%, 36%, 76%, 84%, 100% { opacity: 1; scale: 1; rotate: 0deg; } 31%, 34%, 78%, 82% { opacity: 0; scale: 0.4; rotate: -30deg; } }
    @keyframes d-you-check { 0%, 29%, 36%, 76%, 84%, 100% { opacity: 0; scale: 0.3; } 31%, 34%, 78%, 82% { opacity: 1; scale: 1; } }
    /* pages float the way the cooking dots bounce: one after another */
    /* each brain swoops in from off to one side, pauses at the page, and swoops out the other way */
    .swoop .char-brain { display: block; translate: none; animation: swoop-a 5.4s var(--ease-out) infinite; }
    .swoop .swoop-2 { animation-name: swoop-b; animation-delay: -1.8s; }
    .swoop .swoop-3 { animation-name: swoop-c; animation-delay: -3.6s; }
    /* integrations: the three plugs swap names one after another, a set at a time, round and round */
    .plugs b { animation: plug-1 9s var(--ease-out) infinite; }
    .plugs b:nth-child(2) { animation-name: plug-2; }
    .plugs b:nth-child(3) { animation-name: plug-3; }
    .plugs i:nth-child(2) b { animation-delay: 0.18s; }
    .plugs i:nth-child(3) b { animation-delay: 0.36s; }
    @keyframes plug-1 { 0%, 28% { opacity: 1; translate: 0 0; } 33%, 95% { opacity: 0; translate: 0 -0.6em; } 96% { opacity: 0; translate: 0 0.6em; } 100% { opacity: 1; translate: 0 0; } }
    @keyframes plug-2 { 0%, 29% { opacity: 0; translate: 0 0.6em; } 34%, 61% { opacity: 1; translate: 0 0; } 66%, 100% { opacity: 0; translate: 0 -0.6em; } }
    @keyframes plug-3 { 0%, 62% { opacity: 0; translate: 0 0.6em; } 67%, 94% { opacity: 1; translate: 0 0; } 99%, 100% { opacity: 0; translate: 0 -0.6em; } }
    @keyframes swoop-a {
      0% { translate: -11rem -3.2rem; rotate: 24deg; scale: 0.6; opacity: 0; }
      22%, 40% { translate: -2.5rem 0; rotate: 0deg; scale: 1; opacity: 1; }
      62%, 100% { translate: -9rem 3rem; rotate: -30deg; scale: 0.6; opacity: 0; }
    }
    @keyframes swoop-b {
      0% { translate: 11rem -3.2rem; rotate: -24deg; scale: 0.6; opacity: 0; }
      22%, 40% { translate: 2.5rem 0; rotate: 0deg; scale: 1; opacity: 1; }
      62%, 100% { translate: 9rem 3rem; rotate: 30deg; scale: 0.6; opacity: 0; }
    }
    @keyframes swoop-c {
      0% { translate: 0 -6rem; scale: 0.5; opacity: 0; }
      22%, 40% { translate: 0 -2.3rem; scale: 0.9; opacity: 1; }
      62%, 100% { translate: 5rem -6rem; rotate: 40deg; scale: 0.5; opacity: 0; }
    }
    .swoop .page-char { animation: receive 1.8s ease-in-out infinite; }
    .floaters .page-char { animation: float 1.8s ease-in-out infinite; }
    .floaters .page-char:nth-child(2) { animation-delay: 0.25s; }
    .floaters .page-char:nth-child(3) { animation-delay: 0.5s; }
    @keyframes float { 50% { translate: 0 -0.7rem; rotate: -6deg; } }

    /* -- what's cooking: signals run down the wires, each on its own beat, and the node at the end
          flashes as one lands -- */
    .signal { opacity: 1; animation: signal 4.2s linear infinite; }
    .wire-set:nth-child(3n) .signal { animation-delay: -1.3s; }
    .wire-set:nth-child(3n + 1) .signal { animation-delay: -2.7s; }
    .wire-set:nth-child(4n) .signal { animation-duration: 5.6s; }
    @keyframes signal { 0% { stroke-dashoffset: 14; } 55%, 100% { stroke-dashoffset: -230; } }
    .wire-set .node { animation: node 4.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
    .wire-set:nth-child(3n) .node { animation-delay: -1.3s; }
    .wire-set:nth-child(3n + 1) .node { animation-delay: -2.7s; }
    .wire-set:nth-child(4n) .node { animation-duration: 5.6s; }
    @keyframes node { 0%, 40%, 62%, 100% { scale: 1; } 50% { scale: 1.5; } }
  }
}
