/*
 * overblast.app/agents: the CLI for agents, one command per scene.
 *
 * Two modes over the same markup. The base styles are the stacked page: every scene one under the other,
 * in its final, still state. That is what a reader gets without script, with reduced motion, or on a
 * screen too short to hold a scene. page.js adds `html.pin` when it can pin the deck; only then does the
 * stage stick, the shared command line show, and scenes play when the scroll settles. Every animation
 * lives under `.pin .play` inside a no-preference media query and ends on the still frame.
 *
 * The look is deliberately quiet: a warm off-white page framed by 1px hairlines, panels that look like the
 * product (terminals, an inbox, a phone, a browser), the brand violet only for the one thing that matters
 * in each scene, short fades of 8 to 12px. No gradients, glows or looping motion but the caret.
 */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ── Tokens ───────────────────────────────────────────────────────────────────────────────────── */
:root {
  color-scheme: light;
  --bg: #f3f1ed; --panel: #fdfcfa; --panel2: #f7f5f1; --line: #e4e1db; --line2: #d3cfc7;
  --ink: #1f1f1f; --ink2: #45443f; --muted: #67655f;
  --accent: #5443d6; --accent-btn: #5443d6; --accent-btn-h: #4636c4; --accent-soft: rgba(84,67,214,.08); --on-accent: #fff;
  --ok: #1f7a4d; --ok-soft: rgba(31,122,77,.09); --bad: #b42318; --bad-soft: rgba(180,35,24,.08);
  --term: #1d1c1a; --term-bar: #262522; --term-line: #34322e; --term-ink: #e9e7e3; --term-dim: #a19e97; --term-ok: #9fd3b0;
  --grid-fine: rgba(84,67,214,.045); --grid-coarse: rgba(84,67,214,.09); --mark: #a9a3c9;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --e: cubic-bezier(.2,.7,.2,1);
  --frame: min(1200px, 100% - 32px);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111110; --panel: #181816; --panel2: #1e1e1b; --line: #2b2a27; --line2: #3a3935;
  --ink: #ecebe8; --ink2: #c9c7c2; --muted: #9f9d97;
  --accent: #a9a1ff; --accent-soft: rgba(169,161,255,.10);
  --ok: #7cc79a; --ok-soft: rgba(124,199,154,.10); --bad: #f0857a; --bad-soft: rgba(240,133,122,.10);
  --term: #0d0d0c; --term-bar: #161614; --term-line: #2a2926;
  --grid-fine: rgba(169,161,255,.04); --grid-coarse: rgba(169,161,255,.08); --mark: #5d5884;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111110; --panel: #181816; --panel2: #1e1e1b; --line: #2b2a27; --line2: #3a3935;
    --ink: #ecebe8; --ink2: #c9c7c2; --muted: #9f9d97;
    --accent: #a9a1ff; --accent-soft: rgba(169,161,255,.10);
    --ok: #7cc79a; --ok-soft: rgba(124,199,154,.10); --bad: #f0857a; --bad-soft: rgba(240,133,122,.10);
    --term: #0d0d0c; --term-bar: #161614; --term-line: #2a2926;
    --grid-fine: rgba(169,161,255,.04); --grid-coarse: rgba(169,161,255,.08); --mark: #5d5884;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--accent); }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
code, pre, kbd { font-family: var(--mono); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 10px; }
.skip + .skip:focus { top: 56px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* The frame: two hairlines down the page at the content edges. */
main { position: relative; padding-top: 60px;
  background: linear-gradient(var(--line), var(--line)) calc(50% - min(600px, 50% - 16px)) 0 / 1px 100% no-repeat,
              linear-gradient(var(--line), var(--line)) calc(50% + min(600px, 50% - 16px)) 0 / 1px 100% no-repeat; }
.pin main { padding-top: 0; }

/* The blueprint (Bruno, 2026-10-16: "more technical, almost like a blueprint"): a fine 24px grid and a
   coarse 120px one in the brand violet at a few percent, fixed behind everything so nothing moves. The
   coarse lines fall on the page's centre and on the frame's edges (600 = 5 × 120); the panels are solid,
   so no scene is read through it, and the lines are faint enough that text on the page keeps its contrast. */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  /* Only the coarse sheet (Bruno: "too many lines"); the 24px grid is gone. */
  background-image: linear-gradient(var(--grid-coarse) 1px, transparent 1px), linear-gradient(90deg, var(--grid-coarse) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px;
  background-position: 0 59px, calc(50% + 60px) 0;
  -webkit-mask-image: radial-gradient(ellipse 85% 95% at 50% 40%, #000 45%, rgba(0,0,0,.35) 100%); mask-image: radial-gradient(ellipse 85% 95% at 50% 40%, #000 45%, rgba(0,0,0,.35) 100%); }
/* Registration marks: a small cross where each section's rule meets the frame, as on a drawing sheet. */
.scene::before, .all::before, .more::before, .readit::before, .finale::before, .foot::before, .pin .cmdline::before {
  content: ""; position: absolute; left: -6px; right: -6px; top: -6px; height: 11px; pointer-events: none;
  background: linear-gradient(var(--mark), var(--mark)) 0 5px / 11px 1px no-repeat, linear-gradient(var(--mark), var(--mark)) 5px 0 / 1px 11px no-repeat,
    linear-gradient(var(--mark), var(--mark)) 100% 5px / 11px 1px no-repeat, linear-gradient(var(--mark), var(--mark)) calc(100% - 5px) 0 / 1px 11px no-repeat; }
.scene:first-child::before, .pin .scene::before { display: none; }
.all, .more, .readit, .finale, .foot { position: relative; }
/* The stage's sheet number on the command line's rule: "03 / 20 · WATCH" (page.js sets data-sheet). */
.pin .cmdline::after { content: attr(data-sheet); position: absolute; right: 30px; top: 0; transform: translateY(-50%); padding: 0 8px; background: var(--bg);
  font: 500 10.5px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ── Top bar ──────────────────────────────────────────────────────────────────────────────────── */
.top { position: fixed; inset: 0 0 auto; z-index: 30; height: 60px; display: flex; align-items: center; gap: 28px; padding: 0 max(16px, calc((100% - 1200px) / 2 + 20px));
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: -0.015em; font-size: 16px; }
.top-links { display: flex; gap: 22px; }
.top-links a { color: var(--ink2); text-decoration: none; font-size: 14.5px; }
.top-links a:hover { color: var(--ink); }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.theme-btn { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink2); cursor: pointer; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; } :root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; } :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; } }
.top-cta { background: var(--accent-btn); color: var(--on-accent); text-decoration: none; font-weight: 550; font-size: 14px; padding: 8px 14px; border-radius: 8px; white-space: nowrap; }
.top-cta:hover { background: var(--accent-btn-h); }
@media (max-width: 640px) { .hide-sm { display: none; } .top { gap: 16px; } .brand-path { display: none; } }
@media (max-width: 400px) { .top-links { display: none; } .top-cta { padding: 8px 11px; font-size: 13.5px; } }

/* ── The command line, under the scene: `overblast` (bold) sits in its own column and never moves ── */
.cmd, .cmdline { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 2.3fr); column-gap: .42em; align-items: baseline;
  font: 500 clamp(20px, 2.7vw, 34px)/1.1 var(--mono); letter-spacing: -0.025em; color: var(--ink); }
.cl-ob { font-weight: 800; color: var(--ink); }
/* Stacked, each scene's own line sits under its picture, set off by a dashed rule like a drawing's caption. */
.scene > .cmd { margin: 30px auto 0; padding-top: 18px; max-width: 1080px; border-top: 1px dashed var(--line2); }
:root:not(.pin) .cmdline { display: none; }
.cl-pre { text-align: right; color: var(--muted); font-weight: 400; white-space: nowrap; }
.cl-rest { min-width: 0; }
.cl-rest b { color: var(--accent); font-weight: 600; }
.cl-rest .args { display: block; margin-top: .45em; font-size: .4em; font-weight: 400; letter-spacing: 0; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.pin .cmdline .cl-rest b::after { content: ""; display: inline-block; width: .08em; height: .95em; margin-left: .12em; background: var(--muted); vertical-align: -0.12em; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (max-width: 700px) {
  /* one row for "$ overblast <verb>" (the verb wraps under itself when long), the arguments under it */
  .cmd, .cmdline { grid-template-columns: 5ch auto minmax(0, 1fr); column-gap: .35em; font-size: clamp(17px, 5.2vw, 26px); }
  .cl-rest .args { font-size: .58em; margin-top: .35em; }
}

/* ── Scenes: the stacked page (base) ──────────────────────────────────────────────────────────── */
.scene { position: relative; scroll-margin-top: 60px; width: var(--frame); margin: 0 auto; padding: 64px 24px; border-top: 1px solid var(--line); }
.scene:first-child { border-top: 0; padding-top: 44px; }
.head { text-align: center; margin: 28px auto 0; max-width: 760px; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0; margin-bottom: 10px; }
.cap { font-size: clamp(22px, 2.5vw, 32px); line-height: 1.2; font-weight: 550; letter-spacing: -0.022em; text-wrap: balance; }
.s-init .cap { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.03em; }
.sub { margin: 10px auto 0; max-width: 62ch; font-size: 15.5px; color: var(--muted); text-wrap: pretty; }
.sub code, .fine code { font-size: .9em; color: var(--ink2); }
.art { position: relative; width: 100%; margin: 32px auto 0; display: flex; align-items: center; justify-content: center; gap: 20px; }
.fine { margin: 18px auto 0; max-width: 72ch; text-align: center; font-size: 13px; color: var(--muted); }

/* ── The pinned stage (html.pin, set by page.js) ─────────────────────────────────────────────── */
.pin .deck { position: relative; height: var(--deck-h, auto); }
.pin .deck-pin { position: sticky; top: 0; height: var(--vh, 100svh); display: flex; flex-direction: column; padding-top: 60px; overflow: hidden; }
.pin .cmdline { position: relative; width: var(--frame); margin: 0 auto; padding: clamp(10px, 2.2vh, 22px) 24px clamp(12px, 2.8vh, 28px); border-top: 1px solid var(--line); flex: none; }
.pin .cmdline .cl-rest.swap { animation: swap .18s var(--e); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
.pin .scenes { position: relative; flex: 1; min-height: 0; }
.pin .scene { position: absolute; inset: 0; margin: 0 auto; padding: 0 24px 18px; border: 0; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s var(--e), transform .3s var(--e); }
.pin .scene { transition-duration: .12s; }
.pin .scene.on { opacity: 1; transform: none; pointer-events: auto; transition-duration: .25s, .3s; transition-delay: .12s; }
.pin:not(.ready) .scene { transition: none; }
.pin .deck-pin.moving .scene.on { opacity: 0; transform: translateY(-6px); transition-duration: .16s; }
.pin .scene .cmd { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pin .head { margin-top: clamp(16px, 3.6vh, 40px); }
.pin .eyebrow { margin-bottom: 6px; }
.pin .s-init .cap { font-size: clamp(24px, 3vw, 40px); }
.pin .art { flex: 1; min-height: 0; margin-top: clamp(14px, 2.6vh, 30px); }
.pin .fine { margin-top: 10px; }
.dots { display: none; }
.pin .dots:not([hidden]) { display: flex; flex-direction: column; gap: 6px; position: absolute; right: calc(50% - min(600px, 50% - 16px) + 10px); top: 50%; transform: translateY(-50%); z-index: 5; }
.dots button { width: 3px; height: 14px; padding: 0; border-radius: 2px; border: 0; background: var(--line2); cursor: pointer; }
.dots button[aria-current="true"] { background: var(--accent); }
.bar { display: none; }
.pin .bar { display: block; position: absolute; left: 0; right: 0; top: 60px; height: 1px; }
.pin .bar i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--accent); transition: transform .25s var(--e); }
.hint { display: none; }
.pin .hint { display: block; position: absolute; right: calc(50% - min(600px, 50% - 16px) + 24px); top: 74px; font-size: 12.5px; color: var(--muted); transition: opacity .3s; pointer-events: none; }
.pin .hint.gone { opacity: 0; }
.hint kbd { font-size: 11px; border: 1px solid var(--line2); border-radius: 4px; padding: 0 4px; }
@media (max-width: 900px) { .pin .hint { display: none; } }
@media (max-width: 700px) { .pin .dots { display: none !important; } .scene, .pin .scene { padding-left: 14px; padding-right: 14px; } .pin .cmdline { padding-left: 14px; padding-right: 14px; } .sub { font-size: 14px; } }

/* ── Product-UI pieces ────────────────────────────────────────────────────────────────────────── */
.win { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-width: 0; box-shadow: 0 1px 2px rgba(31,31,31,.04); }
.win-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink2); }
.win-bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); flex: none; }
.win-bar > i + i + i + span { margin-left: 8px; font: 12px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-bar.plain { font-weight: 550; }
.win-bar .muted { margin-left: auto; font: 11.5px var(--mono); color: var(--muted); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-bar em { margin-left: auto; font: 500 11.5px var(--mono); font-style: normal; color: var(--muted); border: 1px solid var(--line); padding: 2px 8px; border-radius: 99px; }
.win-foot { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.term { background: var(--term); border-color: var(--term-line); color: var(--term-ink); }
.term .win-bar { background: var(--term-bar); border-color: var(--term-line); }
.term .win-bar > i { background: #4a4844; }
.term .win-bar > i + i + i + span { color: var(--term-dim); }
.term .win-foot { border-color: var(--term-line); color: var(--term-dim); }
.win-body { margin: 0; padding: 14px 16px; font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; display: flex; flex-direction: column; }
.ln { display: block; }
.ln.d { color: var(--term-dim); }
.ln.ok { color: var(--term-ok); }
.av { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--ink2); background: var(--panel2); border: 1px solid var(--line); flex: none; }
/* Status pairs: the still frame shows the second state; the animation shows the first, then flips. */
.state, .cstate, .sentflag, .flip, .ph-btn.pay { display: inline-grid; }
.state > b, .cstate > b, .sentflag > b, .flip > b, .ph-btn.pay > b { grid-area: 1 / 1; }
.st-a, .c1, .c2, .s1, .f1, .p1 { visibility: hidden; }
.st-b, .f2 { color: var(--ok); font-weight: 600; }
.st-a { color: var(--muted); font-weight: 500; }
.phone { flex: none; text-align: center; }
.ph-screen { width: clamp(170px, 16vw, 210px); height: clamp(300px, 40vh, 380px); padding: 22px 16px 16px; border: 1px solid var(--line2); border-radius: 30px; background: var(--panel);
  box-shadow: 0 0 0 6px var(--panel2), 0 0 0 7px var(--line); display: flex; flex-direction: column; gap: 10px; text-align: left; margin: 7px; }
.ph-top { font-size: 11.5px; color: var(--muted); text-align: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ph-title { font-size: 14px; font-weight: 600; line-height: 1.3; }
.ph-acct { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 8px; border: 1px solid var(--line); border-radius: 10px; }
.ph-text { font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.ph-btn { margin-top: auto; height: 36px; border-radius: 9px; display: grid; place-items: center; font-size: 13.5px; font-weight: 600; color: var(--on-accent); background: var(--accent-btn); }
.ph-btn.ghost { margin-top: 0; background: transparent; color: var(--ink2); border: 1px solid var(--line); }
.ph-cap { margin-top: 10px; font-size: 12px; color: var(--muted); }
.arrow { color: var(--line2); flex: none; }

/* ═ 01 · init ════════════════════════════════════════════════════════════════════════════════════ */
.s-init .art { flex-direction: column; align-items: stretch; gap: 16px; max-width: 780px; width: 100%; }
.handoff { display: flex; flex-direction: column; }
.handoff-head { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 16px 18px; }
.handoff-h { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.handoff-sub { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.handoff-text { margin: 0 18px 18px; padding: 14px 16px; max-height: 300px; overflow: auto; background: var(--term); color: var(--term-ink); border-radius: 8px;
  font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; scrollbar-width: thin; scrollbar-color: var(--term-line) transparent; }
.pin .handoff { flex: 1; min-height: 0; }
.pin .handoff-text { flex: 1; min-height: 80px; max-height: none; }
.copy-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; border: 0; cursor: pointer;
  font: 550 14.5px/1 Inter, sans-serif; color: var(--on-accent); background: var(--accent-btn); transition: background .2s var(--e); }
.copy-btn:hover { background: var(--accent-btn-h); }
.copy-btn .ic-ok { display: none; }
.copy-btn.copied { background: #1f7a4d; }
.copy-btn.copied .ic-ok { display: block; } .copy-btn.copied .ic-copy { display: none; }
.copy-btn.big { height: 46px; padding: 0 20px; font-size: 15.5px; }
@media (max-width: 560px) {
  .handoff-head { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; }
  .handoff-text { margin: 0 14px 14px; }
  .pin .fine { font-size: 11.5px; }
}

/* ═ 02 · connect ═════════════════════════════════════════════════════════════════════════════════ */
.s-connect .art { gap: clamp(16px, 3vw, 40px); }
.s-connect .term { width: min(470px, 100%); }
@media (max-width: 760px) { .s-connect .art { flex-direction: column-reverse; gap: 10px; } .s-connect .ph-screen { height: 190px; width: 280px; border-radius: 18px; padding: 12px; gap: 7px; } .s-connect .ph-text, .s-connect .ph-btn.ghost { display: none; } .s-connect .ph-cap { display: none; } .s-connect .win-body .ln:nth-child(-n+2) { display: none; } }

/* ═ 03 · watch ═══════════════════════════════════════════════════════════════════════════════════ */
.s-watch .art { max-width: 1060px; width: 100%; margin-inline: auto; }
.inbox { width: 240px; flex: none; }
.inbox .win-bar { font-weight: 550; }
.nodes li { display: grid; grid-template-columns: 18px 1fr; column-gap: 10px; padding: 9px 14px; border-top: 1px solid var(--line); box-shadow: inset 2px 0 0 transparent; transition: background .25s var(--e), box-shadow .25s var(--e); }
.nodes li:first-child { border-top: 0; }
.nodes svg { width: 17px; height: 17px; grid-row: 1 / 3; align-self: center; color: var(--muted); }
.nodes b { font: 600 13px var(--mono); } .nodes span { font-size: 12px; color: var(--muted); }
.nodes li.hit { background: var(--accent-soft); box-shadow: inset 2px 0 0 var(--accent); }
.nodes li.hit svg { color: var(--accent); }
.feed { flex: 1; display: flex; flex-direction: column; }
.feed-status { padding: 10px 16px 0; font: 12px/1.5 var(--mono); color: var(--term-dim); }
.feed-body { margin: 0; padding: 10px 16px 14px; font-size: 12px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; height: 250px; max-height: max(130px, 100vh - 560px); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.feed-body { -webkit-mask-image: linear-gradient(transparent, #000 22px); mask-image: linear-gradient(transparent, #000 22px); }
.ev { display: block; padding: 4px 0; border-top: 1px solid var(--term-line); }
.ev.new { animation: evin .35s var(--e) both; }
@keyframes evin { from { opacity: 0; transform: translateY(8px); } }
.exec { font-family: var(--mono); font-size: 12px; flex-wrap: wrap; } .exec b { color: var(--term-ink); font-weight: 500; }
@media (max-width: 760px) {
  .s-watch .art { flex-direction: column; align-items: stretch; gap: 12px; }
  .inbox { width: 100%; }
  .inbox .win-bar { display: none; }
  .nodes { display: grid; grid-template-columns: repeat(3, 1fr); }
  .nodes li { border-top: 1px solid var(--line); padding: 7px 9px; grid-template-columns: 1fr; box-shadow: inset 0 -2px 0 transparent; }
  .nodes li:nth-child(-n+3) { border-top: 0; }
  .nodes li.hit { box-shadow: inset 0 -2px 0 var(--accent); }
  .nodes svg { display: none; } .nodes b { font-size: 12px; } .nodes span { font-size: 11px; }
  .feed-body { height: 170px; font-size: 11px; }
  .feed-status { font-size: 11px; }
}

/* ═ 04 · send ═════════════════════════════════════════════════════════════════════════════════════ */
.chat { width: min(580px, 100%); }
.chat .win-bar { height: auto; min-height: 50px; flex-wrap: wrap; row-gap: 8px; padding: 10px 14px; }
.chat .win-bar small { font: 11.5px var(--mono); color: var(--muted); font-weight: 400; }
.seg { margin-left: auto; display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-weight: 500; }
.seg i { font-style: normal; font-size: 12px; padding: 4px 9px; color: var(--muted); border-left: 1px solid var(--line); }
.seg i:first-child { border-left: 0; }
.seg i.on { color: var(--ink); background: var(--panel2); box-shadow: inset 0 -2px 0 var(--accent); }
.chat-body { position: relative; padding: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.bub { max-width: 78%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.4; }
.bub.in { align-self: flex-start; background: var(--panel2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bub.out { align-self: flex-end; background: var(--accent-btn); color: var(--on-accent); border-bottom-right-radius: 4px; }
.typing { position: absolute; right: 18px; top: 74px; display: flex; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); visibility: hidden; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.sent { align-self: flex-end; font: 11.5px var(--mono); color: var(--muted); }
@media (max-width: 560px) { .seg { margin-left: 0; } .seg i { padding: 4px 6px; font-size: 11px; } }

/* ═ 05 · call ════════════════════════════════════════════════════════════════════════════════════ */
.s-call .art { gap: clamp(16px, 3vw, 40px); }
.callphone .ph-screen { text-align: center; }
.cnum { margin-top: 30px; font: 500 19px var(--mono); letter-spacing: -0.02em; }
.cstate { justify-items: center; font-size: 13px; }
.cstate b { font-weight: 500; color: var(--muted); }
.cstate .c3 { color: var(--ok); font-weight: 600; }
.cgoal { margin-top: auto; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.transcript { width: min(500px, 100%); }
.lines { padding: 8px 16px; }
.lines li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--ink2); }
.lines li:first-child { border-top: 0; }
.lines b { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.events { flex-wrap: wrap; } .events code { font-size: 11.5px; padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink2); }
@media (max-width: 760px) { .s-call .art { flex-direction: column; gap: 12px; } .callphone .ph-screen { height: 140px; width: 260px; border-radius: 18px; padding: 12px; } .cnum { margin-top: 6px; } .callphone .ph-top { padding-bottom: 4px; } .lines li { font-size: 13px; padding: 7px 0; } }

/* ═ 06 · email ═══════════════════════════════════════════════════════════════════════════════════ */
.threads { width: min(400px, 100%); }
.threads li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-top: 1px solid var(--line); }
.threads li:first-child { border-top: 0; }
.threads li.sel { background: var(--accent-soft); box-shadow: inset 2px 0 0 var(--accent); }
.threads b { display: block; font-size: 13.5px; font-weight: 600; } .threads small { font-size: 12px; color: var(--muted); }
.threads em { font: 500 11.5px var(--mono); font-style: normal; padding: 2px 8px; border-radius: 6px; flex: none; }
.threads em.pass { color: var(--ok); background: var(--ok-soft); } .threads em.fail { color: var(--bad); background: var(--bad-soft); }
.compose { width: min(400px, 100%); }
.compose .sentflag { margin-left: auto; font-size: 12.5px; }
.compose .s1 { color: var(--muted); font-weight: 500; } .compose .s2 { color: var(--ok); font-weight: 600; }
.compose dl div, .tcard dl div, .wsstate dl div, .owner dl div { display: flex; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.compose dt, .tcard dt, .wsstate dt, .owner dt { width: 96px; flex: none; color: var(--muted); }
.compose dd, .tcard dd { font-family: var(--mono); font-size: 12.5px; color: var(--ink); overflow-wrap: anywhere; }
.compose .body { padding: 14px 16px 22px; font-size: 14.5px; min-height: 70px; }
@media (max-width: 760px) { .s-email .art { flex-direction: column; gap: 12px; } .threads li:nth-child(2) { display: none; } }

/* ═ 07 · tasks ═══════════════════════════════════════════════════════════════════════════════════ */
.convo { width: min(340px, 100%); } .convo .win-bar { font: 12px var(--mono); color: var(--muted); }
.convo .chat-body { min-height: 0; } .convo .bub { font-size: 13.5px; max-width: 88%; }
.tcard { width: min(360px, 100%); }
.tcard .win-bar { gap: 10px; } .tcard .box { width: 16px; height: 16px; border: 1.5px solid var(--line2); border-radius: 4px; flex: none; }
.tcard .win-bar em { color: var(--accent); border-color: var(--accent); }
.tcard dl div:last-child { border-bottom: 0; }
@media (max-width: 760px) { .s-tasks .art { flex-direction: column; gap: 8px; } .s-tasks .arrow, .s-feedback .arrow { transform: rotate(90deg); } }

/* ═ 08 · deploy ══════════════════════════════════════════════════════════════════════════════════ */
.s-deploy .term { width: min(440px, 100%); }
.browser { width: min(480px, 100%); }
.win-bar .url { margin-left: 8px; flex: 1; min-width: 0; font: 12px var(--mono); color: var(--ink2); background: var(--panel2); border: 1px solid var(--line); padding: 3px 10px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page { position: relative; padding: 18px; display: grid; gap: 10px; }
.pg-nav { height: 10px; width: 40%; border-radius: 3px; background: var(--line); }
.pg-h { height: 54px; border-radius: 6px; background: var(--panel2); border: 1px solid var(--line); }
.pg-l { height: 8px; border-radius: 3px; background: var(--line); } .pg-l.s { width: 60%; }
.pg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .pg-cards i { height: 40px; border-radius: 6px; border: 1px solid var(--line); }
@media (max-width: 760px) { .s-deploy .art { flex-direction: column; gap: 12px; } .pg-h { height: 34px; } .pg-cards i { height: 26px; } }

/* ═ 09 · share ═══════════════════════════════════════════════════════════════════════════════════ */
.review { width: min(720px, 100%); }
.rv { display: grid; grid-template-columns: minmax(0, 1fr) 230px; }
.rv .page { border-right: 1px solid var(--line); }
.cpin { position: absolute; width: 22px; height: 22px; border-radius: 50% 50% 50% 3px; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--bg); background: var(--ink2); }
.q1 { left: 30%; top: 46px; } .q2 { right: 18%; top: 96px; } .q3 { left: 14%; bottom: 20px; }
.comments li { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.comments b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--panel2); border: 1px solid var(--line); }
.comments span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line2); }
.comments em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ok); }
@media (max-width: 640px) { .rv { grid-template-columns: 1fr; } .rv .page { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ═ 10 · feedback ════════════════════════════════════════════════════════════════════════════════ */
.s-feedback .art { gap: clamp(12px, 2.4vw, 28px); }
.fphone .ph-screen { position: relative; overflow: hidden; }
.fp-l { height: 8px; border-radius: 3px; background: var(--line); } .fp-l.s { width: 60%; }
.fp-pay { margin-top: 8px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--ink2); background: var(--panel2); outline: 1.5px dashed var(--accent); outline-offset: 3px; }
.fp-sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; border-top: 1px solid var(--line); background: var(--panel); display: grid; gap: 8px; font-size: 12px; }
.fp-sheet b { font-size: 13px; font-weight: 600; } .fp-sheet span { color: var(--ink2); padding: 7px 9px; border-radius: 7px; border: 1px solid var(--line); }
.fp-sheet i { font-style: normal; text-align: center; font-weight: 600; color: var(--on-accent); background: var(--accent-btn); border-radius: 7px; padding: 7px; }
.ftask { width: min(380px, 100%); }
.ftask .win-bar em { color: var(--accent); border-color: var(--accent); }
.ft-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px 0; }
.ft-chips i { font-style: normal; font-size: 12px; padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink2); }
.ft-sum { margin: 14px 16px 16px; padding: 10px 12px; border-radius: 8px; background: var(--term); color: var(--term-ink); font-size: 12px; line-height: 1.55; white-space: pre-wrap; }
@media (max-width: 760px) { .s-feedback .art { flex-direction: column; gap: 8px; } .fphone .ph-screen { height: 200px; width: 240px; } .fphone .ph-cap { display: none; } .ft-chips i:nth-child(n+4) { display: none; } }

/* ═ 11 · plan ════════════════════════════════════════════════════════════════════════════════════ */
.s-plan .art { gap: clamp(12px, 2vw, 24px); }
.s-plan .term { width: min(320px, 100%); }
.payphone .ph-screen { height: clamp(260px, 34vh, 320px); }
.ph-btn.pay { place-items: center; }
.wsstate, .owner { width: min(320px, 100%); }
.wsstate dl div:last-child, .owner dl div:last-child { border-bottom: 0; }
.wsstate dd, .owner dd { font-size: 13.5px; }
.f1 { color: var(--muted); }
@media (max-width: 760px) { .s-plan .art { flex-direction: column; gap: 10px; } .payphone { display: none; } }

/* ═ 12 · keys ════════════════════════════════════════════════════════════════════════════════════ */
.req { width: min(500px, 100%); }
.req-h { padding: 12px 16px 0; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--term-dim); }
.req .win-body { padding-top: 6px; padding-bottom: 8px; }
.req .win-body.hd { padding-bottom: 14px; }
.minted { width: min(300px, 100%); }
.mk { padding: 18px 16px 4px; } .mk code { font-size: 17px; font-weight: 600; color: var(--accent); }
.mn { padding: 0 16px 18px; font: 12.5px var(--mono); color: var(--muted); }
@media (max-width: 760px) { .s-keys .art { flex-direction: column; gap: 10px; } .req .win-body { font-size: 11px; } }

/* ═ 13 · cloud ═══════════════════════════════════════════════════════════════════════════════════ */
.s-cloud .term { width: min(420px, 100%); }
.network { width: min(440px, 100%); }
.network li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13px; }
.network li:first-child { border-top: 0; }
.network code { font-size: 13px; font-weight: 600; } .hint2 { font-size: 12px; color: var(--muted); }
.network em { font-style: normal; font: 500 11.5px var(--mono); padding: 2px 8px; border-radius: 6px; }
.network em.ok { color: var(--ok); background: var(--ok-soft); } .network em.no { color: var(--bad); background: var(--bad-soft); }
@media (max-width: 760px) { .s-cloud .art { flex-direction: column; gap: 12px; } .network li { grid-template-columns: 1fr auto; } .hint2 { grid-column: 1; grid-row: 2; } }

/* ═ 14 · claim ═══════════════════════════════════════════════════════════════════════════════════ */
.s-claim .term { width: min(420px, 100%); }
.owner { width: min(400px, 100%); }
@media (max-width: 760px) { .s-claim .art { flex-direction: column; gap: 12px; } }

/* ── The list, the finale, the footer ─────────────────────────────────────────────────────────── */
.all, .finale { width: var(--frame); margin: 0 auto; padding: 80px 24px; border-top: 1px solid var(--line); }
.all h2, .finale h2 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 550; letter-spacing: -0.025em; line-height: 1.15; text-align: center; }
.all-sub { margin-top: 10px; color: var(--muted); text-align: center; }
.list { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.list div { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.list dt code { font-size: 13px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.list dd { margin-top: 6px; font-size: 14px; color: var(--muted); }
.finale { text-align: center; }
.finale > p { margin: 12px auto 0; max-width: 52ch; color: var(--muted); font-size: 16px; }
.end-actions { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ghost-btn { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 8px; border: 1px solid var(--line2); color: var(--ink); text-decoration: none; font-weight: 500; background: var(--panel); }
.links { margin: 36px auto 0; max-width: 960px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); text-align: left; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.links a { display: grid; gap: 2px; padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); color: var(--ink); text-decoration: none; font-weight: 550; font-size: 14.5px; }
.links a span { font-weight: 400; font-size: 13.5px; color: var(--muted); }
.links a:hover { background: var(--panel2); }
.foot { width: var(--frame); margin: 0 auto; padding: 26px 24px 40px; display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot a { color: var(--ink2); text-decoration: none; } .foot a:hover { color: var(--ink); }


/* ── Slide 1: the copy control (the site's agent tiles, hero-sized) and the product summary ───────── */
.agent-copy { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(31,31,31,.04); }
.agent-logos { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.agent-tile { width: 34px; height: 34px; border-radius: 9px; display: inline-grid; place-items: center; background: #fff; border: 1px solid var(--line); flex-shrink: 0; }
.agent-tile.fill { overflow: hidden; }
.agent-tile img { display: block; width: 21px; height: 21px; object-fit: contain; }
.agent-tile.fill img { width: 100%; height: 100%; object-fit: cover; }
.ac-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ac-text b { font-size: 15px; font-weight: 600; letter-spacing: -0.012em; }
.ac-text span { font-size: 13px; color: var(--muted); }
.ac-how { font-size: 14px; font-weight: 550; text-decoration: none; }
.agent-copy .copy-btn { height: 38px; padding: 0 16px; }
.app { display: flex; flex-direction: column; }
.win-bar .pill { font-family: Inter, sans-serif; font-size: 11.5px; color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
.app-in { display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 0; flex: 1; }
.side { border-right: 1px solid var(--line); padding: 10px 0; background: var(--panel2); }
.side li { padding: 6px 16px; font-size: 13px; color: var(--ink2); }
.side li:first-child { color: var(--ink); font-weight: 600; box-shadow: inset 2px 0 0 var(--accent); background: var(--panel); }
.side li.more { color: var(--muted); font-style: italic; }
.feedlist { overflow: hidden; min-height: 0; }
.feedlist li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 16px; border-top: 1px solid var(--line); }
.feedlist li:first-child { border-top: 0; }
.fl-main { min-width: 0; display: grid; }
.fl-main b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-main b small { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 6px; }
.fl-main > span { font-size: 12.5px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feedlist time, .nodes time { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tag { font-style: normal; font-size: 11px; font-weight: 550; color: var(--muted); border: 1px solid var(--line); padding: 1px 7px; border-radius: 99px; white-space: nowrap; }
.tag.live { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.tag.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.av.sq { border-radius: 7px; color: var(--muted); }
.av { font-size: 10.5px; }
.human { gap: 10px; font-size: 12.5px; background: var(--accent-soft); }
.human b { color: var(--accent); font-weight: 600; white-space: nowrap; }
/* The summary window is capped (Bruno, 2026-10-16: "reduce the max height"), so on a laptop the first slide
   holds the copy control, the window and the channel strip with room to spare; the list fades out at the cap. */
.s-init .app { max-height: 340px; }
.pin .s-init .app { flex: 0 1 auto; min-height: 0; max-height: min(300px, 38vh); }
.pin .s-init .art { gap: 12px; }
@media (max-width: 760px) {
  .agent-copy { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .agent-tile { width: 32px; height: 32px; border-radius: 8px; } .agent-tile img { width: 20px; height: 20px; }
  .ac-text { flex-basis: 100%; order: 2; } .agent-copy .copy-btn { order: 3; flex: 1 1 100%; white-space: nowrap; }
  .app-in { grid-template-columns: 1fr; } .side { display: none; }
  .win-bar .pill { display: none; }
  .feedlist li { padding: 7px 12px; }
}
/* the readable instructions, folded */
.readit { width: var(--frame); margin: 0 auto; padding: 40px 24px; border-top: 1px solid var(--line); }
.readit summary { cursor: pointer; text-align: center; list-style: none; }
.readit summary::-webkit-details-marker { display: none; }
.readit summary h2 { display: inline; font-size: 17px; font-weight: 550; color: var(--accent); }
.readit .handoff-text { max-width: 820px; margin: 20px auto 0; max-height: none; }

/* ── Realistic chrome ─────────────────────────────────────────────────────────────────────────── */
.sbar { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; margin: -12px -4px 2px; }
.sb-i { display: inline-flex; gap: 2px; align-items: flex-end; } .sb-i i { width: 3px; background: var(--ink2); border-radius: 1px; }
.sb-i i:nth-child(1) { height: 5px; } .sb-i i:nth-child(2) { height: 7px; } .sb-i i:nth-child(3) { height: 9px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.dot.wait { background: var(--line2); } .dot.ok { background: var(--ok); }
.ph-acct small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.ph-field { height: 30px; border: 1px solid var(--line); border-radius: 7px; font-size: 11.5px; color: var(--muted); display: flex; align-items: center; padding: 0 9px; }
.nodes li { grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; }
.nd { min-width: 0; display: grid; } .nd b { font: 600 13px Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nodes .av { grid-row: auto; }
.inbox { width: 300px; }
.chat .who { display: grid; line-height: 1.25; } .chat .who b { font-size: 13.5px; }
.day { align-self: center; font-size: 11.5px; color: var(--muted); }
.bub time { display: block; margin-top: 3px; font-size: 10.5px; opacity: .7; text-align: right; }
.cav { margin: 26px auto 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 600; color: var(--ink2); background: var(--panel2); border: 1px solid var(--line); }
.cnum { margin-top: 12px; }
.ctimer { font-variant-numeric: tabular-nums; }
.lines time { font-weight: 400; margin-left: 6px; font-variant-numeric: tabular-nums; }
.events span { font: 11.5px var(--mono); margin-right: 2px; }
.threads li { justify-content: flex-start; } .threads em { margin-left: auto; }
.th { min-width: 0; display: grid; } .th b { display: flex; gap: 8px; } .th time { font-weight: 400; font-size: 11.5px; color: var(--muted); }
.th span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress { height: 2px; background: transparent; } .progress i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; opacity: 0; }
.pg-nav { width: auto; height: auto; background: none; display: flex; align-items: center; gap: 10px; }
.pg-nav b { font-size: 12.5px; font-weight: 700; margin-right: auto; } .pg-nav i { width: 34px; height: 6px; border-radius: 3px; background: var(--line); }
.pg-h { height: auto; padding: 16px; } .pg-h b { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.comments li { grid-template-columns: 22px minmax(0, 1fr) auto; }
.cm { display: grid; min-width: 0; } .cm i { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ink2); }
.fp-row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.ft-meta { padding: 12px 16px 0; font-size: 12px; color: var(--muted); }

/* ═══ Motion: quiet, short, once. Only on the pinned stage, only when the reader allows it. ═══
   Every scene is on screen within a quarter of a second of the scroll settling; only its one change
   (waiting to connected, publishing to live, the owner) comes later, and never later than two seconds. */
@media (prefers-reduced-motion: no-preference) {
  html.pin { scroll-snap-type: y proximity; }
  .snap { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; pointer-events: none; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } }
  @keyframes fadein { from { opacity: 0; } }
  @keyframes show { from, to { visibility: visible; } }
  @keyframes hide { from, to { visibility: hidden; } }
  @keyframes press { 50% { transform: scale(.96); filter: brightness(.9); } }
  /* A status that reads A, then flips to B at --t: A shows from 0 until --t, B from --t on. */
  .pin .play .st-a, .pin .play .s1, .pin .play .f1, .pin .play .p1 { animation: show var(--t, 1.2s) steps(1); }
  .pin .play .st-b, .pin .play .s2, .pin .play .f2, .pin .play .p2 { animation: hide var(--t, 1.2s) steps(1), fadein .25s var(--e) var(--t, 1.2s) both; }

  /* Every scene: its panels come in together, and terminal lines print in quick turn. */
  .pin .play .art > * { animation: rise .32s var(--e) both; }
  .pin .play .art > :nth-child(2) { animation-delay: .06s; } .pin .play .art > :nth-child(3) { animation-delay: .12s; }
  .pin .play .win-body .ln { animation: fadein .22s var(--e) both; }
  .pin .play .win-body .ln:nth-child(2) { animation-delay: .2s; } .pin .play .win-body .ln:nth-child(3) { animation-delay: .4s; }
  .pin .play .win-body .ln:nth-child(4) { animation-delay: .6s; } .pin .play .win-body .ln:nth-child(5) { animation-delay: 1.5s; } .pin .play .win-body .ln:nth-child(6) { animation-delay: 1.6s; }

  /* 01 init */
  .pin .play.s-init .feedlist li { animation: rise .3s var(--e) both; }
  .pin .play.s-init .feedlist li:nth-child(2) { animation-delay: .04s; } .pin .play.s-init .feedlist li:nth-child(3) { animation-delay: .08s; }
  .pin .play.s-init .feedlist li:nth-child(4) { animation-delay: .12s; } .pin .play.s-init .feedlist li:nth-child(5) { animation-delay: .16s; } .pin .play.s-init .feedlist li:nth-child(6) { animation-delay: .2s; }
  .pin .play.s-init .feedlist li:nth-child(7) { animation-delay: .24s; } .pin .play.s-init .feedlist li:nth-child(8) { animation-delay: .28s; } .pin .play.s-init .feedlist li:nth-child(9) { animation-delay: .32s; }
  .pin .play.s-deploy .progress i { animation: load 1.1s var(--e) .15s both; }
  @keyframes load { from { transform: scaleX(0); } 92% { transform: scaleX(1); opacity: 1; } to { transform: scaleX(1); opacity: 0; } }

  /* 02 connect: waiting, a person allows, connected */
  .pin .play.s-connect { --t: 1.5s; }
  .pin .play.s-connect .ph-btn:not(.ghost) { animation: press .3s var(--e) 1.1s both; }

  /* 04 send */
  .pin .play.s-reply .bub.in { animation: rise .3s var(--e) .1s both; }
  .pin .play.s-reply .typing { animation: show .7s steps(1) .45s; }
  .pin .play.s-reply .bub.out { animation: rise .32s var(--e) 1.15s both; }
  .pin .play.s-reply .sent { animation: fadein .25s var(--e) 1.4s both; }

  /* 05 call: calling, in call while the transcript fills, ended */
  .pin .play.s-call .c1 { animation: show .6s steps(1); }
  .pin .play.s-call .c2 { animation: show 1.4s steps(1) .6s; }
  .pin .play.s-call .c3 { animation: hide 2s steps(1), fadein .25s var(--e) 2s both; }
  .pin .play.s-call .lines li { animation: rise .3s var(--e) both; }
  .pin .play.s-call .lines li:nth-child(1) { animation-delay: .7s; } .pin .play.s-call .lines li:nth-child(2) { animation-delay: 1.1s; } .pin .play.s-call .lines li:nth-child(3) { animation-delay: 1.5s; }
  .pin .play.s-call .events code { animation: fadein .25s var(--e) both; }
  .pin .play.s-call .events code:nth-child(1) { animation-delay: .6s; } .pin .play.s-call .events code:nth-child(2) { animation-delay: 1s; } .pin .play.s-call .events code:nth-child(3) { animation-delay: 2s; }

  /* 06 email: the reply types, then it is sent */
  .pin .play.s-email { --t: 1.3s; }

  /* 07 tasks */
  .pin .play.s-tasks .tcard dl div { animation: rise .28s var(--e) both; }
  .pin .play.s-tasks .tcard dl div:nth-child(1) { animation-delay: .35s; } .pin .play.s-tasks .tcard dl div:nth-child(2) { animation-delay: .5s; } .pin .play.s-tasks .tcard dl div:nth-child(3) { animation-delay: .65s; }

  /* 08 deploy: publishing, then live */
  .pin .play.s-deploy { --t: 1.3s; }
  .pin .play.s-deploy .page > * { animation: fadein .25s var(--e) both; }
  .pin .play.s-deploy .page > :nth-child(1) { animation-delay: .7s; } .pin .play.s-deploy .page > :nth-child(2) { animation-delay: .78s; } .pin .play.s-deploy .page > :nth-child(3) { animation-delay: .86s; }
  .pin .play.s-deploy .page > :nth-child(4) { animation-delay: .94s; } .pin .play.s-deploy .page > :nth-child(5) { animation-delay: 1.02s; }

  /* 09 share: pins land, then each comment is answered and closed */
  .pin .play.s-share .cpin { animation: rise .28s var(--e) both; }
  .pin .play.s-share .q1 { animation-delay: .25s; } .pin .play.s-share .q2 { animation-delay: .4s; } .pin .play.s-share .q3 { animation-delay: .55s; }
  .pin .play.s-share .comments li { animation: rise .28s var(--e) both; }
  .pin .play.s-share .k1 { animation-delay: .3s; } .pin .play.s-share .k2 { animation-delay: .45s; } .pin .play.s-share .k3 { animation-delay: .6s; }
  @keyframes open-comment { from, to { text-decoration-color: transparent; color: var(--ink); } }
  .pin .play.s-share .k1 em { animation: hide 1.1s steps(1), fadein .25s var(--e) 1.1s both; } .pin .play.s-share .k1 span { animation: open-comment 1.1s steps(1); }
  .pin .play.s-share .k2 em { animation: hide 1.4s steps(1), fadein .25s var(--e) 1.4s both; } .pin .play.s-share .k2 span { animation: open-comment 1.4s steps(1); }
  .pin .play.s-share .k3 em { animation: hide 1.7s steps(1), fadein .25s var(--e) 1.7s both; } .pin .play.s-share .k3 span { animation: open-comment 1.7s steps(1); }

  /* 10 feedback: the sheet comes up, the report lands as a task */
  .pin .play.s-feedback .fp-sheet { animation: up .32s var(--e) .25s both; }
  @keyframes up { from { transform: translateY(100%); } }
  .pin .play.s-feedback .art > :nth-child(2) { animation-delay: .55s; } .pin .play.s-feedback .art > :nth-child(3) { animation-delay: .65s; }
  .pin .play.s-feedback .ft-chips i { animation: fadein .22s var(--e) both; }
  .pin .play.s-feedback .ft-chips i:nth-child(1) { animation-delay: .85s; } .pin .play.s-feedback .ft-chips i:nth-child(2) { animation-delay: .92s; } .pin .play.s-feedback .ft-chips i:nth-child(3) { animation-delay: .99s; }
  .pin .play.s-feedback .ft-chips i:nth-child(4) { animation-delay: 1.06s; } .pin .play.s-feedback .ft-chips i:nth-child(5) { animation-delay: 1.13s; }
  .pin .play.s-feedback .ft-sum { animation: fadein .25s var(--e) 1.25s both; }

  /* 11 plan: pay, then the workspace flips on */
  .pin .play.s-plan .ph-btn.pay { --t: .9s; animation: press .3s var(--e) .7s both; }
  .pin .play.s-plan .wsstate { --t: 1.3s; }

  /* 12 keys */
  .pin .play.s-keys .art > :nth-child(2) { animation-delay: .9s; }

  /* 13 cloud */
  .pin .play.s-cloud .network li { animation: rise .28s var(--e) both; }
  .pin .play.s-cloud .network li:nth-child(1) { animation-delay: .45s; } .pin .play.s-cloud .network li:nth-child(2) { animation-delay: .55s; } .pin .play.s-cloud .network li:nth-child(3) { animation-delay: .65s; }

  /* 14 claim: the owner changes */
  .pin .play.s-claim .owner { --t: 1.1s; }
}

/* The site's cookie card (consent.js, unchanged) sits bottom left on a first visit; page.js measures it
   and the stage gives up that much height, so the card covers empty space and never a scene. */
.pin .deck-pin { padding-bottom: var(--cookie-h, 0px); transition: padding-bottom .25s var(--e); }
@media (max-width: 760px) { .nodes li { grid-template-columns: minmax(0, 1fr); } .nodes .av, .nodes time { display: none; } .inbox { width: 100%; } }
.app-in { overflow: hidden; grid-template-rows: minmax(0, 1fr); }
.side { overflow: hidden; }
.s-init .feedlist { -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }
@media (max-width: 760px) {
  .callphone .ph-screen, .fphone .ph-screen { height: auto; min-height: 0; }
  .callphone .cav, .callphone .cgoal, .callphone .sbar, .fphone .sbar { display: none; }
  .fphone .ph-screen { padding-bottom: 150px; }
}
/* Slide 1's "Needs a person" line: always one line, shorter on a phone. */
.human span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.human .hf-short { display: none; }
@media (max-width: 760px) { .human .hf-long { display: none; } .human .hf-short { display: block; } }
@media (max-width: 760px) { .fphone .fp-row, .s-feedback .arrow, .ft-meta { display: none; } .fphone .ph-screen { padding-bottom: 140px; } }

/* ── Slide 1: the channels strip (the home page's "Answers on", relabelled "Works with") ─────────── */
.strip-wrap { text-align: center; }
.strip-lbl { font-size: 13px; font-weight: 500; color: var(--muted); margin: 2px 0 10px; }
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.strip li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.strip svg { stroke-width: 2; width: 17px; height: 17px; }
@media (max-width: 760px) {
  /* one row that scrolls sideways, faded at the edges, so the hero keeps its height */
  .strip { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding: 0 16px; gap: 18px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); }
  .strip::-webkit-scrollbar { display: none; }
  .strip-lbl { margin-bottom: 6px; }
}

/* ═ the public agent as an isolation boundary ═══════════════════════════════════════════════════ */
.s-public .art { display: grid; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr); gap: 0; align-items: stretch; max-width: 1100px; margin-inline: auto; }
.zone { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px; border-radius: 14px; }
.zone.outside { background: repeating-linear-gradient(135deg, transparent 0 9px, color-mix(in srgb, var(--line) 45%, transparent) 9px 10px); border: 1px dashed var(--line2); }
.zone.inside { background: var(--panel2); border: 1px solid var(--line); }
.zone-h { display: flex; align-items: baseline; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--ink2); padding: 0 2px; }
.zone-h em { font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.outside .zone-h em { color: var(--bad); }
.pthread .who, .askcard .who { display: grid; line-height: 1.25; } .pthread .who b, .askcard .who b { font-size: 13px; } .pthread .who small, .askcard .who small { font-size: 11px; color: var(--muted); font-weight: 400; }
.pthread .win-bar, .askcard .win-bar { height: 34px; }
.pthread .chat-body, .askcard .chat-body { min-height: 0; padding: 9px 12px; gap: 6px; }
.pthread .bub, .askcard .bub { font-size: 12.5px; padding: 7px 11px; max-width: 92%; }
.src { align-self: flex-start; font-size: 11px; font-weight: 550; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); padding: 1px 8px; border-radius: 99px; }
.src.done { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
.src.muted { color: var(--muted); border-color: var(--line); }
.boundary { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.b-line { position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1.5px dashed var(--line2); }
.b-lock, .b-lbl, .packet { position: relative; background: var(--bg); }
.b-lock { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); color: var(--ink2); }
.b-lbl { font: 600 10.5px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; text-align: center; padding: 2px 4px; }
.packet { font: 500 11px var(--mono); padding: 4px 8px; border-radius: 7px; border: 1px solid var(--line2); background: var(--panel); color: var(--ink2); white-space: nowrap; }
.packet.p-task { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); color: var(--ok); }
.packet.p-ask { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); color: var(--accent); }
.packet::after { content: " →"; }
.inside .tcard { width: 100%; }
.inside .tcard dl div { padding: 7px 14px; font-size: 12.5px; }
.tmpl { padding: 8px 14px 0; font-size: 11.5px; color: var(--muted); }
.inside .tcard dt { width: 118px; }
@media (max-width: 1000px) {
  .s-public .art { grid-template-columns: 1fr; gap: 6px; }
  .zone { padding: 8px; gap: 6px; }
  .outside .pthread:first-of-type, .askcard, .tmpl { display: none; }
  .boundary { flex-direction: row; flex-wrap: wrap; padding: 4px 0; gap: 6px; }
  .b-line { left: 0; right: 0; top: 50%; bottom: auto; border-left: 0; border-top: 1.5px dashed var(--line2); }
  .packet::after { content: " ↓"; }
  .inside .tcard dl div:nth-child(n+3) { display: none; }
}
/* ═ the main agent in the cloud ══════════════════════════════════════════════════════════════════ */
.s-cloudrun .art { align-items: stretch; }
.sched { width: min(300px, 100%); }
.sched li { display: grid; gap: 2px; padding: 11px 14px; border-top: 1px solid var(--line); }
.sched li:first-child { border-top: 0; }
.sched b { font-size: 13.5px; font-weight: 600; } .sched span { font-size: 12.5px; color: var(--ink2); } .sched small { font-size: 11.5px; color: var(--muted); }
.machine { width: min(280px, 100%); }
.machine .mstate { margin-left: auto; font-size: 12px; }
.mstate .st-a { color: var(--ok); font-weight: 600; } .mstate .st-b { color: var(--muted); font-weight: 500; }
.mlog { padding: 6px 14px; }
.mlog li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink2); }
.mlog li:first-child { border-top: 0; }
.mlog time { font: 12px var(--mono); color: var(--muted); }
.s-cloudrun .term { width: min(470px, 100%); }
@media (max-width: 1000px) { .s-cloudrun .art { flex-direction: column; align-items: center; gap: 10px; } .sched li:nth-child(2) { display: none; } .mlog li:nth-child(n+3) { display: none; } }
.rec a { color: var(--accent); font-weight: 550; }
@media (prefers-reduced-motion: no-preference) {
  .pin .play.s-public .pthread .bub.out { animation: rise .28s var(--e) both; }
  .pin .play.s-public .pthread:nth-of-type(1) .bub.out { animation-delay: .35s; } .pin .play.s-public .order .bub.out { animation-delay: .55s; } .pin .play.s-public .inj .bub.out { animation-delay: .75s; }
  .pin .play.s-public .src { animation: fadein .25s var(--e) both; }
  .pin .play.s-public .pthread:nth-of-type(1) .src { animation-delay: .55s; } .pin .play.s-public .order .src { animation-delay: .8s; } .pin .play.s-public .inj .src { animation-delay: 1s; }
  .pin .play.s-public .packet { animation: cross .45s var(--e) both; }
  .pin .play.s-public .p-task { animation-delay: .7s; } .pin .play.s-public .p-ask { animation-delay: 1s; }
  @keyframes cross { from { opacity: 0; transform: translateX(-22px); } }
  .pin .play.s-public .inside .tcard { animation: rise .3s var(--e) .85s both; }
  .pin .play.s-public .inside .tcard dl div { animation: fadein .22s var(--e) both; }
  .pin .play.s-public .inside .tcard dl div:nth-child(1) { animation-delay: .95s; } .pin .play.s-public .inside .tcard dl div:nth-child(2) { animation-delay: 1.02s; }
  .pin .play.s-public .inside .tcard dl div:nth-child(3) { animation-delay: 1.09s; } .pin .play.s-public .inside .tcard dl div:nth-child(4) { animation-delay: 1.16s; }
  .pin .play.s-public .askcard { animation: rise .3s var(--e) 1.15s both; }
  .pin .play.s-public .askcard .bub.out { animation: rise .25s var(--e) 1.5s both; }
  .pin .play.s-cloudrun .machine { --t: 1.9s; }
  .pin .play.s-cloudrun .mlog li { animation: rise .25s var(--e) both; }
  .pin .play.s-cloudrun .mlog li:nth-child(1) { animation-delay: .7s; } .pin .play.s-cloudrun .mlog li:nth-child(2) { animation-delay: 1s; }
  .pin .play.s-cloudrun .mlog li:nth-child(3) { animation-delay: 1.3s; } .pin .play.s-cloudrun .mlog li:nth-child(4) { animation-delay: 1.6s; }
}
/* the rule about no-account workspaces, by the readable instructions */
.rule { text-align: center; font-size: 13px; color: var(--muted); max-width: 72ch; margin: 0 auto 14px; }
.s-init .strip-wrap { margin-top: 2px; }
@media (min-width: 761px) { .s-init .strip-wrap { width: min(1080px, 100vw - 80px); align-self: center; } }
@media (max-width: 760px) { .s-init .ac-text { display: none; } }
/* The isolation slide fits the stage: tighter threads, the footnote only on the stacked page. */
.pin .s-public .fine, .pin .s-forms .fine { display: none; }
@media (min-width: 1001px) { .s-public .art { grid-template-columns: minmax(0, 1fr) 156px minmax(0, 1fr); } }
.pthread .win-bar { height: 30px; } .pthread .who small { display: none; }
.pthread .chat-body { padding: 7px 10px; gap: 5px; } .pthread .bub { padding: 6px 10px; font-size: 12px; }
.packet { font-size: 10.5px; padding: 3px 7px; }
.pin .s-public .zone { min-height: 0; overflow: hidden; }
.pin .s-public .art { grid-template-rows: minmax(0, 1fr); }

/* ── The public agent's other features: one line on the slide, the full list after the commands ── */
.also-line { margin: 12px auto 0; max-width: 100%; text-align: center; font-size: 13px; color: var(--muted); }
.also-line a { color: var(--accent); font-weight: 550; white-space: nowrap; }
.pin .also-line { margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .pin .also-line { white-space: normal; font-size: 12px; } }
.more { width: var(--frame); margin: 0 auto; padding: 64px 24px; border-top: 1px solid var(--line); scroll-margin-top: 60px; }
.more h2 { text-align: center; font-size: clamp(22px, 2.4vw, 30px); font-weight: 550; letter-spacing: -0.022em; }
.more-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.more-grid > div { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.more-grid h3 { font-size: 14.5px; font-weight: 600; }
.more-grid p { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.pin .s-public .zone { gap: 6px; padding: 10px; } .pin .s-public .pthread .bub { font-size: 11.5px; padding: 5px 9px; } .pin .s-public .pthread .chat-body { gap: 4px; padding: 6px 9px; }
.s-cloudrun .art { align-items: center; }

/* ── The rehearsal's trace under the declined message (`overblast agent test` prints these lines) ── */
.trace { align-self: flex-start; font: 10.5px/1.4 var(--mono); color: var(--muted); }

/* ═ one form, wherever the client is ═════════════════════════════════════════════════════════════ */
.s-forms .art { display: grid; grid-template-columns: 214px minmax(0, 440px) 300px; justify-content: center; align-items: center; column-gap: 34px; }
.fdef .win-bar, .ftcard .win-bar { gap: 10px; }
.fdef .box, .ftcard .box { width: 16px; height: 16px; border: 1.5px solid var(--line2); border-radius: 4px; flex: none; }
.fdef .win-bar b { white-space: nowrap; }
.fdef .win-bar em { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.fd-fields { padding: 10px 12px 12px; display: grid; gap: 7px; }
.fd-fields li { font-size: 12.5px; color: var(--muted); border: 1px dashed var(--line2); border-radius: 7px; padding: 6px 9px; }
.lanes { display: grid; gap: 10px; }
.lanes li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
/* the connectors: dashed from the form, a solid arrow into the task */
.lanes li::before, .lanes li::after { content: ""; position: absolute; top: 50%; width: 34px; }
.lanes li::before { right: 100%; border-top: 1px dashed var(--line2); }
.lanes li::after { left: 100%; height: 9px; transform: translateY(-4.5px); background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 9'%3E%3Cpath d='M1 4.5h31M28 1l4 3.5-4 3.5' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 9'%3E%3Cpath d='M1 4.5h31M28 1l4 3.5-4 3.5' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.ln-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--panel2); border: 1px solid var(--line); color: var(--ink2); }
.ln-main { display: grid; min-width: 0; line-height: 1.35; }
.ln-main b { font-size: 13px; font-weight: 600; }
.ln-main > span { font-size: 12.5px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln-main code { font-size: 11.5px; color: var(--ink); }
.ln-main small { font-size: 11.5px; color: var(--muted); }
.qr { position: relative; display: block; width: 22px; height: 22px; border-radius: 2px; background:
  linear-gradient(var(--ink), var(--ink)) 0 0 / 8px 8px no-repeat, linear-gradient(var(--ink), var(--ink)) 100% 0 / 8px 8px no-repeat,
  linear-gradient(var(--ink), var(--ink)) 0 100% / 8px 8px no-repeat, repeating-conic-gradient(var(--ink) 0 25%, transparent 0 50%) 0 0 / 4px 4px; }
.ftcard { width: 100%; }
.ftcard .win-bar em { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.ftcard dl div { padding: 7px 14px; font-size: 12.5px; }
.ftcard dt { width: 112px; }
.ftcard .from { background: var(--accent-soft); }
.fr b { font-weight: 500; } .fr b + b::before { content: " · "; color: var(--muted); }
@media (max-width: 1000px) {
  .s-forms .art { grid-template-columns: minmax(0, 1fr); row-gap: 10px; max-width: 560px; margin-inline: auto; }
  .fdef { display: none; }
  .lanes { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lanes li { grid-template-columns: 1fr; gap: 4px; padding: 9px 10px; }
  .lanes li::before, .lanes li::after, .ln-ic, .ln-main small { display: none; }
  .ln-main > span { white-space: normal; font-size: 12px; }
  .ftcard dl div:nth-child(3), .ftcard dl div:nth-child(4) { display: none; }
}

/* ═ teaching the public agent ═══════════════════════════════════════════════════════════════════ */
.s-teach .art { gap: 18px; }
.s-teach .term { width: min(560px, 100%); }
.s-teach .win-body { font-size: 11.5px; }
.kbdoc { width: min(320px, 100%); }
.kbdoc .win-bar { font-family: var(--mono); font-size: 12.5px; }
.kb-body { padding: 12px 16px; display: grid; gap: 4px; font-size: 13px; color: var(--ink2); }
.kb-h { font: 600 12px var(--mono); color: var(--muted); margin-top: 6px; } .kb-h:first-child { margin-top: 0; color: var(--ink); }
.kb-on { flex-wrap: wrap; gap: 6px; } .kb-on span { margin-right: 4px; }
.kb-on i { font-style: normal; font-size: 11.5px; color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 35%, var(--line)); padding: 1px 8px; border-radius: 99px; }
@media (max-width: 1000px) { .s-teach .art { flex-direction: column; gap: 10px; } .kbdoc .kb-body p:nth-child(n+3) { display: none; } .s-teach .win-body .ln:nth-child(-n+4) { display: none; } }

/* ═ team members on their own channel ═══════════════════════════════════════════════════════════ */
.s-team .art { gap: 18px; }
.s-team .term { width: min(520px, 100%); }
.s-team .win-body { font-size: 11.5px; }
.roster { width: min(320px, 100%); }
.roster li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.roster li.new { background: var(--accent-soft); box-shadow: inset 2px 0 0 var(--accent); }
.rs { display: grid; min-width: 0; } .rs b { font-size: 13.5px; font-weight: 600; } .rs span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roster em { font: 500 11px var(--mono); font-style: normal; color: var(--muted); border: 1px solid var(--line); padding: 1px 7px; border-radius: 99px; }
.rtask { display: flex; gap: 10px; align-items: center; padding: 12px 14px; }
.rtask .box { width: 16px; height: 16px; border: 1.5px solid var(--line2); border-radius: 4px; flex: none; }
@media (max-width: 1000px) { .s-team .art { flex-direction: column; gap: 10px; } .s-team .win-body .ln:nth-child(n+4) { display: none; } }

/* ═ login ═══════════════════════════════════════════════════════════════════════════════════════ */
.s-login .art { gap: 18px; }
.s-login .term { width: min(520px, 100%); }
.s-login .win-body { font-size: 11.5px; }
.consent { width: min(340px, 100%); }
.cs-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 230px; }
.cs-h { font-size: 15px; line-height: 1.35; } .cs-h b { font-weight: 600; }
.cs-ws { font-size: 12.5px; color: var(--muted); } .cs-ws b { color: var(--ink); font-weight: 600; }
.cs-scopes { display: grid; gap: 7px; font: 500 12.5px var(--mono); }
.cs-scopes li { display: flex; align-items: center; gap: 9px; } .cs-scopes span { font: 12px Inter, sans-serif; color: var(--muted); }
.cs-scopes i { width: 15px; height: 15px; border-radius: 4px; flex: none; background: var(--accent-btn)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
@media (max-width: 1000px) { .s-login .art { flex-direction: column; gap: 10px; } .cs-body { min-height: 0; padding: 12px 14px; gap: 8px; } .s-login .win-body .ln:nth-child(n+5) { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  .pin .play.s-public .trace { animation: fadein .25s var(--e) 1.05s both; }
  /* forms: the four ways in light up in turn, then the one task they all make */
  .pin .play.s-forms .lanes li { animation: rise .3s var(--e) both; }
  .pin .play.s-forms .lanes .l1 { animation-delay: .2s; } .pin .play.s-forms .lanes .l2 { animation-delay: .35s; }
  .pin .play.s-forms .lanes .l3 { animation-delay: .5s; } .pin .play.s-forms .lanes .l4 { animation-delay: .65s; }
  .pin .play.s-forms .lanes li::after { animation: fadein .25s var(--e) .9s both; }
  .pin .play.s-forms .art > .ftcard { animation: rise .3s var(--e) 1s both; }
  .pin .play.s-forms .ftcard dl div { animation: fadein .22s var(--e) both; }
  .pin .play.s-forms .ftcard dl div:nth-child(1) { animation-delay: 1.15s; } .pin .play.s-forms .ftcard dl div:nth-child(2) { animation-delay: 1.22s; }
  .pin .play.s-forms .ftcard dl div:nth-child(3) { animation-delay: 1.29s; } .pin .play.s-forms .ftcard dl div:nth-child(4) { animation-delay: 1.36s; }
  .pin .play.s-forms .ftcard dl div:nth-child(5) { animation-delay: 1.5s; }
  /* teach, team, login: the terminal prints, then the result comes up */
  .pin .play.s-teach .win-body .ln:nth-child(7) { animation-delay: 1.7s; } .pin .play.s-teach .win-body .ln:nth-child(8) { animation-delay: 1.85s; }
  .pin .play.s-teach .kbdoc { animation: rise .3s var(--e) .5s both; }
  .pin .play.s-team .roster { animation: rise .3s var(--e) .7s both; }
  .pin .play.s-team .rtask { animation: fadein .25s var(--e) 1.7s both; }
  .pin .play.s-login .consent { animation: rise .3s var(--e) .3s both; }
  .pin .play.s-login .consent .ph-btn { animation: press .3s var(--e) 1.1s both; }
  .pin .play.s-login .win-body .ln:nth-child(n+4) { animation-delay: 1.5s; }
}

/* ── The command palette: the header's search button and the dialog ─────────────────────────────── */
.pal-btn { height: 34px; display: inline-flex; align-items: center; gap: 8px; padding: 0 8px 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel);
  color: var(--ink2); font: 500 13.5px Inter, sans-serif; cursor: pointer; }
.pal-btn:hover { color: var(--ink); border-color: var(--line2); }
.pal-kbd, .palette kbd { font: 500 11px var(--mono); color: var(--muted); border: 1px solid var(--line2); border-radius: 5px; padding: 1px 5px; background: var(--panel2); }
@media (max-width: 760px) { .pal-btn { width: 34px; padding: 0; justify-content: center; } .pal-btn-t, .pal-kbd { display: none; } }
html.pal-open { overflow: hidden; }
.palette { width: min(640px, 100% - 24px); max-height: min(560px, 100dvh - 96px); margin: max(56px, 10vh) auto auto; padding: 0; border: 1px solid var(--line2); border-radius: 14px;
  background: var(--panel); color: var(--ink); box-shadow: 0 24px 64px -16px rgba(20,18,30,.35), 0 2px 6px rgba(20,18,30,.08); overflow: hidden; }
.palette[open] { display: flex; flex-direction: column; }
.palette::backdrop { background: rgba(20,18,30,.32); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.pal-field { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.pal-field:focus-within { box-shadow: inset 0 -2px 0 var(--accent); }
.pal-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 16px/1.4 Inter, sans-serif; padding: 4px 0; }
.pal-field input::placeholder { color: var(--muted); }
.pal-close { flex: none; height: 26px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--line2); background: var(--panel2); color: var(--muted); font: 500 11.5px var(--mono); cursor: pointer; }
.pal-list { flex: 1; min-height: 0; overflow: auto; padding: 6px; overscroll-behavior: contain; scrollbar-width: thin; }
.pal-o { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.pal-o[aria-selected="true"] { background: var(--accent-soft); }
.pal-k { font: 600 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pal-o[aria-selected="true"] .pal-k { color: var(--accent); }
.pal-m { display: grid; min-width: 0; gap: 1px; }
.pal-m code { font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-t { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-empty { padding: 22px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.pal-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 9px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.pal-foot kbd + kbd { margin-left: 3px; } .pal-foot kbd { margin-right: 4px; }
.pal-note { padding: 0 16px 9px; font-size: 12px; color: var(--ok); }
.pal-note:empty { display: none; }
@media (max-width: 760px) { .palette { margin-top: 12px; max-height: calc(100dvh - 24px); } .pal-foot { display: none; } .pal-o { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
@media (prefers-reduced-motion: no-preference) {
  .list > div.pal-hit { animation: pal-hit 1.6s var(--e); }
  @keyframes pal-hit { from, 30% { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); } }
}

/* ── Slide 1's channel strip on a phone: it wraps onto a few short rows, so no name is ever cut off ── */
@media (max-width: 760px) {
  .strip { flex-wrap: wrap; justify-content: center; overflow: visible; padding: 0; gap: 4px 11px; font-size: 11.5px; -webkit-mask-image: none; mask-image: none; }
  .strip svg { width: 13px; height: 13px; }
  .strip li { gap: 4px; }
  .strip-lbl { margin: 0 0 4px; font-size: 12px; }
}
