/* shadowlap site: the landing page's styles, shared by the docs pages (which add docs.css).
   Fonts are self-hosted (SIL Open Font License, texts in fonts/): Unbounded, Inter and JetBrains Mono,
   variable woff2 files cut to the latin and latin-ext ranges; for Inter and JetBrains Mono a third cut with
   the arrows, maths, sub- and superscripts, box drawing, shapes and checks the docs print, so a diagram's
   frame lines up; and Inter's italic for the latin range, so emphasis is a true italic.
   Text is drawn at once in a face the reader's computer has, sized below to take the room the font will,
   and the font swaps in when it lands (font-display: swap), so the type is always the site's own and next
   to nothing moves when it arrives. The docs pages preload the fonts their first paint draws with. */
@font-face { font-family: Unbounded; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/unbounded-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/unbounded-latin.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; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/inter-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/inter-latin.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; }
@font-face { font-family: Inter; font-style: italic; font-weight: 400 600; font-display: swap; src: url(fonts/inter-latin-italic.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; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/jetbrains-mono-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/jetbrains-mono-latin.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; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/inter-symbols.woff2) format('woff2'); unicode-range: U+2070-209F, U+2190, U+2192, U+2194-21FF, U+2200-2211, U+2213-2214, U+2216-22FF, U+2300-23FF, U+25A0-25FF, U+2700-27BF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/jetbrains-mono-symbols.woff2) format('woff2'); unicode-range: U+2070-209F, U+2190, U+2192, U+2194-21FF, U+2200-2211, U+2213-2214, U+2216-22FF, U+2300-23FF, U+2500-25FF, U+2700-27BF; }
/* The faces that stand in until a font arrives: each sized to take the room the font will (its average
   letter, weighted as English uses letters) and to set its lines as high, so text keeps its place when the
   font lands. Measured from the files with fontTools: Inter at 400 on Arial (Liberation Sans has Arial's
   metrics), Unbounded at 600 to 700 on Verdana Bold, JetBrains Mono on Menlo, and on Courier New
   (Liberation Mono has its metrics) where Menlo isn't. */
@font-face { font-family: "Inter fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans"); size-adjust: 107.5%; ascent-override: 90.12%; descent-override: 22.44%; line-gap-override: 0%; }
@font-face { font-family: "Unbounded fallback"; font-weight: 500 700; src: local("Verdana Bold"), local("Verdana-Bold"); size-adjust: 110.1%; ascent-override: 90.37%; descent-override: 22.25%; line-gap-override: 0%; }
@font-face { font-family: "JetBrains Mono fallback"; src: local("Menlo Regular"), local("Menlo-Regular"); size-adjust: 99.66%; ascent-override: 102.35%; descent-override: 30.1%; line-gap-override: 0%; }
@font-face { font-family: "JetBrains Mono fallback 2"; src: local("Courier New"), local("CourierNewPSMT"), local("Liberation Mono"), local("LiberationMono"); size-adjust: 99.98%; ascent-override: 102.02%; descent-override: 30%; line-gap-override: 0%; }

/* Widths of text are in em, not ch: ch is measured from whichever font has arrived, so a measure in ch
   changes when a font lands and moves the text with it. Each em width is the ch width it replaces, in
   Inter's figures (0.631em) or, for a heading, Unbounded's (0.92em). */
:root {
  --lime: #c4f233; --shadow: #86ad12; --tar: #15140f;
  --red: #ff6b5e; --yellow: #f2c94c;
  --disp: Unbounded, "Unbounded fallback", "Archivo Black", ui-sans-serif, system-ui, sans-serif;
  --body: Inter, "Inter fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "JetBrains Mono fallback", "JetBrains Mono fallback 2", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gut: clamp(16px, 4vw, 40px);
}
[data-theme="dark"] {
  --bg: #0b0c09; --bg2: #0f100c; --card: #12130e; --panel: #16170f;
  --line: #22231b; --line2: #34352b;
  --ink: #eeede6; --dim: #a8a699; --faint: #82806d;
  --accent: #c4f233; --accent-line: #c4f233; --lap-faint: #4d4c41; --lap-live: #e4e3da;
  --lap-yellow: #f2c94c; --lap-red: #ff6b5e;
  /* terminals and evidence panels */
  --scr-bg: #10110d; --scr-term: #10110d; --scr-sub: #1a1b14; --scr-line: #2a2b22; --scr-text: #e4e3da; --scr-dim: #8e8c7e; --scr-faint: #55544a;
  --scr-hi: #fff; --scr-ok: #c4f233; --scr-okfill: #c4f233; --scr-err: #ff6b5e; --scr-del: #ff8a80; --scr-warn: #f2c94c; --scr-shadow: 0 40px 80px -50px rgba(0,0,0,.7);
  /* the racing pictures share one light, a lime light behind each drawing, and one glow, for a part pointed at. The
     glow is an SVG filter in the page's sprite, since Safari applies no CSS filter function inside an SVG */
  --light: radial-gradient(ellipse 46% 42% at 50% 50%, color-mix(in srgb, var(--lime) 7%, transparent), transparent);
  --glow: url(#glow);
  /* the open source drawing's intensities of its one hue: a part a step back, a hairline, a guide */
  --lime-62: color-mix(in srgb, var(--lime) 62%, transparent); --lime-34: color-mix(in srgb, var(--lime) 34%, transparent); --lime-16: color-mix(in srgb, var(--lime) 16%, transparent);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.65 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
::selection { background: var(--lime); color: var(--tar); }
a { color: inherit; text-decoration: none; }
/* the keyboard's place on the page, in the accent */
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
code, pre { font-family: var(--mono); }
h1, h2, h3 { text-wrap: balance; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.sp { flex: 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav { transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease; }
.nav.over:not(:has(.mnav:not([hidden]))) { background-color: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); flex: none; }
.brand .tile { width: 30px; height: 30px; display: block; }
.brand .word { height: 16px; width: auto; display: block; }
.links { display: flex; gap: 26px; }
.links a { color: var(--dim); font-size: 14px; font-weight: 500; }
.links a:hover { color: var(--ink); }
.links a { position: relative; padding: 6px 0; white-space: nowrap; }
.links a[aria-current] { color: var(--ink); }
.links a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--lime); }
.icon-btn.menu-btn { display: none; }
.mnav { display: grid; max-height: calc(100vh - 65px); max-height: calc(100dvh - 65px); overflow-y: auto; overscroll-behavior: contain; padding: 4px var(--gut) 18px; border-top: 1px solid var(--line); }
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.mnav a[aria-current]:not(.btn) { color: var(--accent); }
.mnav .btn { margin-top: 16px; }
.nav-r { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line2); color: var(--dim); background: transparent; cursor: pointer; }
.icon-btn:hover { color: var(--ink); border-color: var(--dim); }
.icon-btn svg { width: 16px; height: 16px; }
/* with the repository's star count, the GitHub button widens to hold it beside the mark */
.icon-btn.gh.stars { width: auto; display: inline-flex; align-items: center; gap: 7px; padding: 0 11px 0 10px; }
.gh-n { font: 500 12.5px var(--mono); font-variant-numeric: tabular-nums; color: var(--dim); transition: color .15s ease; }
.icon-btn.gh.stars:hover .gh-n { color: var(--ink); }
/* from 1001px to 1140px the links sit closer as the window narrows, so the header holds all of them, with room for a
   classic 15px scrollbar, which takes its width from the page but not from what a media query reads */
@media (max-width: 1140px) { .nav-in, .links { gap: clamp(13px, calc(10vw - 88px), 26px); } }
@media (max-width: 1000px) { .links { display: none; } .icon-btn.menu-btn { display: inline-grid; } }
@media (min-width: 1001px) { .mnav { display: none !important; } }
@media (max-width: 520px) { .nav-r .nav-cta { display: none; } }
@media (max-width: 400px) { .nav-r .gh { display: none; } }
/* without scripts the landing page leaves out what only landing.js works: the menu button (the page is one scroll, its
   footer the links), the films' buttons, so the browser's own controls play them, the copy buttons, the rules they
   copy, and the chat's replay */
@media (scripting: none) { body:not(.docs) :is(#menuBtn, .demo-play, button[data-copy], .rules, #chatReplay) { display: none !important; } }
/* a stop the keyboard scrolls to on the landing page lands clear of the sticky header, as the docs pages' do, while
   the header's links still jump to each section's top; landing.js does the same for a stop the header only covers */
body:not(.docs) :is(main, .foot) :is(a[href], button, summary, [tabindex]) { scroll-margin-top: 80px; }

/* buttons + command */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 12px; font: 600 14px var(--body); border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease; white-space: nowrap; }
.btn-lime { background: var(--lime); color: var(--tar); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 28px -12px rgba(196,242,51,.7); }
.btn-lime:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 16px 36px -12px rgba(196,242,51,.85); }
.btn-ghost { border-color: var(--line2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn .arw { transition: transform .15s ease; }
.cmd { display: inline-flex; align-items: stretch; border: 1px solid var(--line2); border-radius: 12px; background: var(--panel); max-width: 100%; overflow: hidden; }
.cmd code { padding: 12px 16px; font-size: 13.5px; white-space: nowrap; overflow-x: auto; }
.cmd code b { color: var(--accent); font-weight: 400; margin-right: 10px; }
.cmd button { padding: 0 14px; border: 0; border-left: 1px solid var(--line2); background: none; color: var(--faint); font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.cmd button:hover { color: var(--ink); }
/* on a phone the command steps down a size, so it shows whole beside its copy button */
@media (max-width: 400px) { .cmd code { padding: 12px 13px; font-size: 12.5px; } .cmd code b { margin-right: 8px; } .cmd button { padding: 0 12px; } }

/* section scaffolding */
.sec { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.sec-head { max-width: 780px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head.center .lede { max-width: 42.9em; margin-left: auto; margin-right: auto; text-wrap: balance; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 11.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.eyebrow i { width: 8px; height: 8px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 22%, transparent); }
/* an eyebrow that a phone can't hold on one line breaks at its dot, which goes, as the hero's line under the command does */
@media (max-width: 332px) { #fix .eyebrow .sep { display: block; font-size: 0; } }
h2 { font-family: var(--disp); font-weight: 600; font-size: clamp(26px, 3.3vw, 44px); line-height: 1.1; letter-spacing: -.035em; margin: 18px 0 0; }
.lede { color: var(--dim); font-size: 16px; line-height: 1.7; margin: 18px 0 0; max-width: 37.85em; }
.lede b { color: var(--ink); font-weight: 500; }

/* hero */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -260px; right: -200px; width: 1000px; height: 900px; background: radial-gradient(closest-side, color-mix(in srgb, var(--lime) 16%, transparent), transparent 70%); opacity: var(--glow); pointer-events: none; }
/* the film behind the hero: full screen, with the copy set over it like a title card */
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; background: #000; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; }
/* Dark only under the nav and into the page below; the copy brings its own shade, so the frame keeps its contrast. */
.hero-bg::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 62%, transparent), transparent 150px),
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 34%, transparent), transparent 55%),
    linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 45%, transparent) 11%, transparent 24%); }
/* film grain: one tile of noise, moved ten times a second; it also hides banding in the fog */
.hero-bg::before { content: ""; position: absolute; inset: -220px; z-index: 2; opacity: .13; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 220px 220px; animation: grain 1s steps(1) infinite; }
@keyframes grain {
  0% { transform: translate(0, 0); } 10% { transform: translate(-71px, 38px); } 20% { transform: translate(53px, -97px); }
  30% { transform: translate(-128px, -24px); } 40% { transform: translate(17px, 141px); } 50% { transform: translate(96px, 62px); }
  60% { transform: translate(-39px, -152px); } 70% { transform: translate(162px, -11px); } 80% { transform: translate(-104px, 109px); }
  90% { transform: translate(31px, -58px); } }
.hero { margin-top: -65px; padding-top: calc(65px + clamp(48px, 7vw, 96px)); min-height: 100svh; display: grid; align-content: end; }
.hero-in { z-index: 3; width: 100%; }
/* the copy's own shade: a soft pool that travels with it at any width */
.hero-copy { position: relative; }
.hero-copy::before { content: ""; position: absolute; z-index: -1; inset: -30% -45% -32% -40%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--bg) 80%, transparent), color-mix(in srgb, var(--bg) 52%, transparent) 55%, transparent); }
.hero-st { align-self: end; justify-self: end; }
.hero .eyebrow { text-shadow: 0 0 12px rgba(0, 0, 0, .85), 0 0 3px rgba(0, 0, 0, .7); }
.hero-st .lv-status { text-shadow: 0 0 14px rgba(0, 0, 0, .9); }
.lv-status.fen i { background: var(--lap-red); box-shadow: none; }
@media (max-width: 1080px) {
  .hero-st { justify-self: start; }
  .hero-bg video { object-position: 64% 50%; }
  .hero-bg::after { background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 60%, transparent) 0, transparent 110px, transparent 30%, color-mix(in srgb, var(--bg) 66%, transparent) 54%, var(--bg) 94%); }
  .hero-copy::before { display: none; }
}
/* On a phone the frame's middle would sit behind the copy: the film takes the top of the screen instead and fades into the page under the headline. */
@media (max-width: 640px) {
  .hero-bg { bottom: 46%; }
  .hero-bg::after { background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 60%, transparent) 0, transparent 100px, transparent 38%, color-mix(in srgb, var(--bg) 78%, transparent) 64%, var(--bg) 90%); }
}
/* the cold open: the film fades up from black, the headline racks into focus,
   then "its last run." brakes in with its shadow trailing it */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg video { animation: lamp 1.5s cubic-bezier(.3, .5, .2, 1) both; }
  .hero .eyebrow { animation: rise .7s .15s cubic-bezier(.2, .7, .2, 1) both; }
  .hero h1 { animation: focus .9s .25s cubic-bezier(.2, .7, .2, 1) both; }
  .hero h1 em { display: inline-block; position: relative; animation: brake .8s .7s cubic-bezier(.12, .9, .25, 1) both; }
  .hero h1 em::after { content: attr(data-ghost); content: attr(data-ghost) / ""; position: absolute; left: 0; top: 0; white-space: nowrap;
    color: var(--lime); filter: blur(4px); pointer-events: none; animation: ghost 1.15s .7s cubic-bezier(.12, .9, .25, 1) both; }
  .hero .lede { animation: rise .8s 1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .cta-row { animation: rise .8s 1.08s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .cmd { animation: rise .8s 1.14s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .meta, .hero-st { animation: rise .8s 1.22s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes lamp { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes focus { from { opacity: 0; filter: blur(14px); transform: scale(1.035); } 60% { filter: blur(0); } }
@keyframes brake { from { opacity: 0; transform: translateX(-1.4em); } 35% { opacity: 1; } }
@keyframes ghost { from { opacity: 0; transform: translateX(-2.8em); } 18% { opacity: .5; } 70% { opacity: .22; } to { opacity: 0; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .hero-bg::before { animation: none; } }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(32px, 4.5vw, 72px); align-items: end; }
.hero-copy { container-type: inline-size; }
/* Three set lines, sized from the column itself so the widest ("AI agent against", about 9.75em) always fits. */
h1 { font-family: var(--disp); font-weight: 700; font-size: clamp(34px, 4.2vw, 58px); font-size: min(62px, 100cqw / 10.2); line-height: 1.04; letter-spacing: -.045em; margin: 22px 0 0; }
h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 17px; max-width: 26.5em; margin-top: 24px; }
.hero .lede b, .hero .lede .l2 { display: block; }
.hero .lede .l2 { text-wrap: balance; }
.nw { white-space: nowrap; }
/* a lede breaks only between its phrases, a phone's included: the longest phrase fits a 320px screen's column */
@media (min-width: 320px) { .lede .u { white-space: nowrap; } }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero .cmd { margin-top: 16px; }
.meta { margin-top: 16px; color: var(--faint); font-size: 12.5px; }
/* where a line of parts set apart by dots can't hold its last part, that part takes a line of its own and the dot
   before it goes, as the final card's link does, so no line ends on a dot */
@media (max-width: 381px) { .hero .meta .sep { display: block; font-size: 0; } }
@media (max-width: 1080px) { .hero-in { grid-template-columns: minmax(0, 1fr); } }

/* the hero's status line: names each beat of the film */
.lv-status { display: flex; align-items: center; gap: 16px; font: 12px var(--mono); color: var(--dim); white-space: nowrap; min-height: 20px; }
.lv-status .st { display: flex; align-items: center; gap: 9px; overflow: hidden; }
.lv-status .st span { overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.lv-status i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 22%, transparent); animation: pulse 1.6s ease-in-out infinite; }
.lv-status.fork i { background: var(--lap-yellow); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lap-yellow) 25%, transparent); }
/* on the narrowest phones the hero's line steps down a size, so its longest beat ("proving the fix · attempt after
   attempt", 297px at 12px) keeps to the column on one line rather than run into the gutter */
@media (max-width: 340px) { .hero-st .lv-status { font-size: 11px; } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes blink { 50% { opacity: .25; } }

/* works with: one slow row of pills, colour-keyed by kind, fading at both edges */
.works { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.works-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 40px; align-items: center; }
.works-head .k { display: block; font: 500 10.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.works-head b { display: block; margin-top: 4px; font-weight: 600; font-size: 15px; color: var(--ink); letter-spacing: -.01em; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
/* one loop moves the list by its own width, about 63px a second: a longer list takes longer in proportion */
.marquee .track { display: flex; width: max-content; animation: marquee 94.9s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 10px; margin: 0; padding: 0 10px 0 0; list-style: none; }
.marquee li { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 500; font-size: 14.5px; color: var(--dim); white-space: nowrap; transition: color .15s ease, border-color .15s ease; }
.marquee li:hover { color: var(--ink); border-color: var(--line2); }
.marquee li .lg { width: 16px; height: 16px; flex: none; }
.marquee li .lg.wide { width: 24px; }
.marquee li.grp { border: 0; background: none; padding: 0 2px 0 10px; font: 500 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.marquee li.grp:hover { color: var(--faint); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 860px) { .works-in { grid-template-columns: minmax(0, 1fr); } .works-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; } .works-head b { margin: 0; } .works-head .key { margin: 0; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee .track { animation: none; width: auto; }
  .marquee ul[aria-hidden] { display: none; }
  /* standing still, the strip is a list: each kind's name over its tools, set as names in a few even lines rather
     than a wall of pills, and the head beside it at the top */
  .works-in { align-items: start; }
  .marquee ul { display: block; padding: 0; text-wrap: balance; }
  .marquee li { height: auto; margin: 0 22px 6px 0; padding: 0; border: 0; border-radius: 0; background: none; gap: 8px; font-size: 14px; line-height: 1.5; vertical-align: top; }
  .marquee li.grp { display: block; margin: 0; padding: 10px 0 4px; }
  .marquee li.grp:first-child { padding-top: 0; }
}
/* wide enough, each kind's name stands to the left of its first line of tools */
@media (prefers-reduced-motion: reduce) and (min-width: 1140px) {
  .marquee ul { padding-left: 128px; }
  .marquee li.grp, .marquee li.grp:first-child { height: 0; padding: 5px 0 0; translate: -128px 0; }
  .marquee li.grp ~ li.grp { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 400px) {
  .marquee li { margin: 0 15px 5px 0; gap: 7px; font-size: 13px; }
  .marquee li .lg { width: 14px; height: 14px; }
  .marquee li .lg.wide { width: 21px; }
}

/* how it works */
.how-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.how-head .lede { margin: 0; max-width: 29em; }
/* set line breaks, where the column is wide enough to hold each line */
@media (min-width: 900px) { .lede .ln { display: block; } }
/* just above one column, the two-column heads' ledes are too narrow for their set lines: they wrap evenly instead */
@media (min-width: 961px) and (max-width: 999px) { #how .lede .ln, #integrations .lede .ln, #security .lede .ln { display: inline; } #how .lede, #integrations .lede, #security .lede { text-wrap: balance; } }
/* CI's three set lines hold at every width, a phone's included: one a column can't hold wraps at its phrases; so do
   the coding agents' two and the box's two, which run on mid-clause on a tablet otherwise */
#ci .lede .ln, #agents .lede .ln { display: block; }
.how-head:has(+ .box6) .lede .ln { display: block; }
/* Fixes: its last sentence starts a line at every width, and on a phone wraps at its comma. "and keeps it only if" holds
   together at every width, and below 375px the question takes the first line alone, so the answer wraps at its
   phrases rather than leave "shadowlap finds it," on a line of its own */
#fix .lede .ln:last-child { display: block; }
#fix .lede .ph { white-space: nowrap; }
@media (max-width: 374px) { #fix .lede .q { display: block; } }
/* How it works, integrations and security: the first sentence ends its line at every width, so the second never starts
   mid-line on a tablet or a phone, where the set lines run on */
#how .lede .ln:first-child, #integrations .lede .ln:first-child, #security .lede .ln:first-child { display: block; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
/* the same icons the dashboard uses for each kind of run */
.box6 p code, .faq p code, .tab p code, .agents li code, .agents-c li code { font-size: 12.5px; color: var(--ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--scr-okfill); } .dot.err { background: var(--scr-err); } .dot.live { background: var(--scr-text); } .dot.warn { background: var(--scr-warn); }
/* what a reproduction costs, live vs replayed */
@media (max-width: 960px) {
  .how-head { grid-template-columns: minmax(0, 1fr); }
}

/* pull quotes: a hairline above, large display type, a small supporting line */
.pq { padding: clamp(64px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.pq-top { border-top: 0; }
.pq-q { margin: 0; max-width: 22em; font: 600 clamp(28px, 3.6vw, 48px)/1.12 var(--disp); letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.pq-q em { font-style: normal; color: var(--accent); }
.pq-s { margin: 22px 0 0; max-width: 35.33em; color: var(--dim); font-size: 17px; line-height: 1.6; }
@media (min-width: 900px) { .pq-q, .pq-s { max-width: none; } .pq-q .l, .pq-s .l { display: block; } }
/* below 375px the opening quote scales with the screen, so it keeps the three lines it has at 375px */
@media (max-width: 374px) { .pq-top .pq-q { font-size: 7.3vw; } }
/* the line under it splits at its comma, where it needs two lines, rather than leave "worked." alone or end on "so" */
.pq-top .pq-s { text-wrap: balance; }
.sdiff { margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--scr-line); font: 12px/1.75 var(--mono); color: var(--scr-dim); white-space: nowrap; }
.sdiff .add { color: var(--scr-ok); }
.how-foot { margin: 40px 0 0; color: var(--faint); font-size: 13.5px; }
/* on a phone its second sentence takes a line of its own, and the first breaks only before would send */
@media (max-width: 600px) { .how-foot .s { display: block; } }
/* how it works: one lap in the open source drawing's lime by strength; the changed call carries its diff */
.hb { position: relative; margin: 56px 0 0; }
.hb-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 14px; font: 12px var(--mono); color: var(--faint); }
.hb-top b { font-weight: 500; color: var(--ink); }
.hb-top > span, .hb-top b { transition: opacity .2s ease; }
.hb-top .out { opacity: 0; }
.hb-st { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); letter-spacing: .02em; }
.hb-st i { width: 5px; height: 5px; border-radius: 1px; background: var(--lime); flex: none; }
.hb-st.live { color: var(--lime-62); }
.hb-st.live i { background: none; box-shadow: inset 0 0 0 1px var(--lime-62); }
/* at rest the live point breathes; out of view its animation is removed, as Chrome restyles a paused one each frame */
.hb.run .hb-st.live i { animation: pulse 2s ease-in-out infinite; }
.hb.run.paused .hb-st i { animation: none; }
/* the open source drawing's car and shadow keep one line weight at any size */
:is(#car, #car-ghost) :is(rect, path, circle) { vector-effect: non-scaling-stroke; }
.hb-frame, .hb-art { position: relative; }
.hb-svg { display: block; width: 100%; height: auto; overflow: hidden; background: var(--light); }
/* the cars drive over the points, which lie on the sheet under them */
.hb-cars { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
:is(.hb-svg, .hb-cars) path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.hb-edge { stroke: var(--lime-16); stroke-width: 1; }
.hb-axis { stroke: var(--lime-16); stroke-width: 1; stroke-dasharray: 22 6 3 6; }
.hb-route { stroke: none; }
.hb-trail { stroke-width: 1.5; transition: stroke-opacity .45s ease, opacity .35s ease; }
.hb-trail.rep { stroke: var(--lime); }
.hb-trail.live { stroke: var(--lime-62); }
.hb-trail.back { stroke-opacity: .34; }
.hb-trail.rec { opacity: 0; }
/* a call: a 5px point at any width, set as a box so every browser paints it 5px square at any pixel ratio */
.hb-mks { position: absolute; inset: 0; }
.hb .mk { position: absolute; left: calc(var(--x) / 1160 * 100%); top: calc(62 / 160 * 100%); width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border: 1px solid var(--lime-16); border-radius: 1px; background: var(--bg); transition: border-color .3s ease, background-color .3s ease; }
.hb-mks.hb-br .mk { top: calc(112 / 160 * 100%); }
.hb .mk.live { border-color: var(--lime-62); }
/* a dropped call is a state, so it keeps 3:1 against the page (WCAG 1.4.11): 40%, not a pole's 34% */
.hb .mk.dim { border-color: color-mix(in srgb, var(--lime) 40%, transparent); }
.hb .mk:is(.rep, .fk) { border-color: var(--lime); background: var(--lime); }
.hb-car.car { color: var(--lime-62); }
.hb-car.shadow { color: var(--lime); }
.hb-shade { opacity: .1; filter: url(#glow-soft); }
.hb-speed { stroke: currentColor; stroke-width: 1.5; opacity: 0; }
.hb-car.go .hb-speed { animation: ve-speed 1.75s ease-out both; }
/* into the bend, the script fades them by where the car is */
.hb-car.go.bend .hb-speed { animation: none; }
/* the diff hangs from the changed call; its hairline is placed as the diff's rule, so the two share a pixel column */
.hb-pole { position: absolute; left: calc(588.5 / 1160 * 100% - .5px); top: calc(112 / 160 * 100%); bottom: 0; width: 1px; background: var(--lime-34); transform-origin: top; }
.hb-diff { margin: 0 0 0 calc(588.5 / 1160 * 100% - .5px); padding: 8px 0 0 12px; border-left: 1px solid var(--lime-34); transition: opacity .45s ease; }
.hb-diff .no, .hb-no { display: none; }
/* as the CLI prints it: in a narrow column the value wraps after a comma, under its own start */
.hb-diff div { white-space: normal; padding-left: 1.2em; text-indent: -1.2em; }

.hb-steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.hb-steps li { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding-top: 18px; border-top: 2px solid var(--line); transition: border-color .35s ease; }
.hb-steps li.on { border-top-color: var(--lime); }
.hb-steps .tk { display: flex; align-items: center; gap: 8px; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.hb-steps .tk .si { width: 14px; height: 14px; flex: none; }
.hb-steps .si.rec { color: var(--lime-62); } .hb-steps .si.rep, .hb-steps .si.fk { color: var(--accent); }
.hb-steps h3 { margin: 10px 0 0; font: 600 19px/1.3 var(--disp); letter-spacing: -.02em; }
.hb-steps p { margin: 8px 0 0; color: var(--dim); font-size: 14px; line-height: 1.6; text-wrap: pretty; }
.hb-steps p code { font-size: 12.5px; color: var(--ink); }
/* the record step sets in three lines where its column holds "A local sidecar sits in front of the model API,", and in
   four at its phrases where it doesn't, with no short line before "and keys are never stored." */
@media (min-width: 961px), (max-width: 479px) { .hb-steps li:first-child p { text-wrap: balance; } }
/* replay's and fork's two sentences each start a line, and wrap only between their phrases */
.hb-steps p .s { display: block; }
.hb-steps .cmd2 { display: block; margin-top: 14px; font: 11.5px/1.65 var(--mono); color: var(--faint); overflow-wrap: anywhere; }
.hb-steps .cmd2 b { color: var(--accent); font-weight: 400; margin-right: 6px; }

/* armed by landing.js without transitions, so the markup's end never flashes; until then (motion.js) it waits */
.hb.still, .hb.still * { transition: none !important; }
.anim:not(.loaded) .hb:not(.armed) :is(.hb-top > span, .hb-br, .hb-diff, .hb-no) { opacity: 0; }
.anim:not(.loaded) .hb:not(.armed) :is(.hb-trail, .hb-pole, .hb-car) { visibility: hidden; }
.anim:not(.loaded) .hb:not(.armed) .mk { border-color: var(--lime-16); background: var(--bg); }
.hb-steps :is(.tk, .si, h3, p, p code, .cmd2 b) { transition: color .35s ease; }
.hb-wrap.playing .hb-steps li:not(.on) :is(.tk, .cmd2 b) { color: var(--lime-62); }
.hb-wrap.playing .hb-steps li:not(.on) .si { color: var(--lime-34); }
.hb-wrap.playing .hb-steps li:not(.on) :is(h3, p code) { color: var(--dim); }
.hb-wrap.playing .hb-steps li:not(.on) p { color: var(--faint); }
.hb.armed .hb-car { transition: opacity .45s ease; }
.hb.armed .hb-car.gone { opacity: 0; }
.hb.armed .hb-br { opacity: 0; transition: opacity .45s ease; }
.hb.armed.forked .hb-br { opacity: 1; }
.hb.armed .hb-trail.rec { opacity: 1; }
.hb.armed .hb-pole { transition: transform .55s cubic-bezier(.4, 0, .2, 1) .15s; }
.hb.armed .hb-pole:not(.on) { transform: scaleY(0); }
.hb-art { transition: opacity .3s ease; }
.hb.reset :is(.hb-art, .hb-diff) { opacity: 0; transition: opacity .3s ease; }
.hb.armed .hb-diff:not(.on) { opacity: 0; }
/* where the script plays: each step is a button (landing.js) for its pass, the drawing for all three; a step's
   paragraph and command are for reading */
.hb-wrap :is(.hb-steps li, .hb-art) { cursor: pointer; }
.hb-wrap .hb-steps li :is(p, .cmd2) { cursor: auto; }
.hb-go { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; }
.hb-go:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 2px; }

@media (max-width: 960px) { .hb-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; } .hb-steps li { display: block; grid-row: auto; } }
/* phones: cropped to the fork's half, so points and lines keep their size; the call numbered, its diff listed */
@media (max-width: 600px) {
  /* the lap and the longest beat share one line, so it never changes height */
  .hb-top { column-gap: 12px; font-size: 11px; } .hb-c { display: none; }
  /* the window is lit, not the cropped sheet, and cut at its sides only, so the number keeps its corners */
  .hb-frame { overflow-x: clip; background: var(--light); }
  .hb-svg { background: none; }
  .hb-art { width: calc(1160 / 860 * 100%); margin-left: calc(-300 / 860 * 100%); }
  .hb-pole { display: none; }
  .hb-car use { --sw: 1; }
  .hb-no { display: grid; place-items: center; position: absolute; left: calc(588.5 / 1160 * 100%); top: calc(112 / 160 * 100%); min-width: 16px; height: 15px; padding: 0 3px; border-radius: 4px; background: var(--lime); color: var(--tar); font: 600 9px/1 var(--mono); transform: translate(-50%, 4px); transition: opacity .3s ease; }
  .hb.armed .hb-no:not(.on) { opacity: 0; }
  .hb-diff { position: relative; margin: 16px 0 0; padding: 12px 0 0 34px; border-left: 0; border-top: 1px solid var(--line); }
  .hb-diff .no { display: block; position: absolute; left: 0; top: 14px; font: 500 11px/1.6 var(--mono); color: var(--faint); }
}
/* too narrow for both: the beat takes a line of its own from the start */
@media (max-width: 352px) { .hb-st { flex-basis: 100%; } }

/* import · wrap: the two ways in, one at a time. The two questions are the tabs, set as How it works sets its steps:
   a rule over each, lime over the one chosen. Under it, the way's tracers or frameworks are a list of names beside
   one panel, the coding agent's session frame: what shadowlap adds is lime. The chosen name is lit and carries the
   open source drawing's lime point. Both ways, and every panel in them, stack in one cell, so a tab never changes
   the section's height */
.wk { margin-top: 48px; }
/* the two questions share their rows, so each eyebrow and each question starts level with the other's, however
   either wraps; an eyebrow on fewer lines than the other keeps them at the top of the row, each level with the other's */
.wk-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 0 56px; }
.wk-way { display: grid; grid-row: span 2; grid-template-rows: subgrid; align-content: start; min-width: 0; margin: 0; padding: 18px 0 0; border: 0; border-top: 2px solid var(--line); background: none; color: var(--dim); font: inherit; text-align: left; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.wk-tk { display: flex; align-items: baseline; align-content: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.wk-tk > span { transition: color .2s ease; }
.wk-tk em { font-style: normal; color: var(--faint); letter-spacing: .12em; }
.wk-q { display: block; margin-top: 10px; font: 600 22px/1.25 var(--disp); letter-spacing: -.02em; text-wrap: balance; }
.wk-way:hover { color: var(--ink); border-top-color: var(--line2); }
.wk-way[aria-selected="true"] { color: var(--ink); border-top-color: var(--lime); cursor: default; }
.wk-way[aria-selected="true"] .wk-tk > span { color: var(--accent); }
.wk-way:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
/* what the keyboard reaches here is revealed clear of the page's header, going back up the page as well as down: 16px
   below its foot, the room landing.js keeps here, rather than the page's 80px */
#integrations .wk :is(button, a, [tabindex]) { scroll-margin-top: 81px; }
.wk-cols { display: grid; margin-top: 34px; }
.wk-col { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; min-width: 0; }
.wk-col[hidden] { display: grid; visibility: hidden; }
/* the names: a hairline between each, the chosen one in ink with its mark lit and the lime point at its end */
.wk-tabs { display: flex; flex-direction: column; align-self: start; }
.wk-tabs button { display: flex; align-items: center; gap: 10px; height: 38px; margin: 0; padding: 0; border: 0; border-top: 1px solid var(--line); background: none; font: 500 13.5px var(--body); color: var(--dim); white-space: nowrap; text-align: left; cursor: pointer; transition: color .2s ease; }
.wk-tabs button:last-child { border-bottom: 1px solid var(--line); }
.wk-tabs .lg { width: 15px; height: 15px; flex: none; color: var(--faint); transition: color .2s ease; }
.wk-tabs button::after { content: ""; flex: none; width: 5px; height: 5px; margin-left: auto; border-radius: 1px; background: var(--lime); opacity: 0; transition: opacity .3s ease; }
.wk-tabs button:hover { color: var(--ink); }
.wk-tabs button[aria-selected="true"] { color: var(--ink); }
.wk-tabs button[aria-selected="true"] .lg { color: var(--accent); }
.wk-tabs button[aria-selected="true"]::after { opacity: 1; }
.wk-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* the session's head marks it with the drawing's square point */
.wk .agent-head span::before { width: 5px; height: 5px; border-radius: 1px; }
/* wide enough, the names stand in a column to the left of the panel, the note under the panel, and the head's rule
   runs level with the rule under the first name */
@media (min-width: 961px) {
  .wk-col { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); column-gap: 56px; }
  .wk-col > .wk-tabs { grid-row: 1 / span 2; }
  .wk-col > .wk-panel, .wk-col > .wk-note { grid-column: 2; }
  .wk .agent-head { height: 39px; padding-bottom: 0; }
}
/* narrower, the names run in balanced rows over the panel (landing.js), the chosen one underlined as the header's
   section is; on the narrowest phones closer together, so a row keeps room to spare whichever font has arrived.
   Narrower than a row of two of the longest, they stand in the column a wide screen sets them in */
@media (min-width: 350px) and (max-width: 960px) {
  .wk-tabs { flex-direction: row; flex-wrap: wrap; gap: 2px 24px; }
  .wk-tabs button, .wk-tabs button:last-child { position: relative; height: 36px; border: 0; }
  .wk-tabs button::after { position: absolute; left: 0; right: 0; bottom: 3px; width: auto; height: 2px; margin: 0; border-radius: 2px; }
}
@media (min-width: 350px) and (max-width: 374px) { .wk-tabs { column-gap: 16px; } }
@media (max-width: 960px) { .wk-panel { margin-top: 22px; } }
.wk-panel { display: flex; flex-direction: column; min-width: 0; }
.wk-views { flex: 1; display: grid; }
.wk-view { grid-area: 1 / 1; display: flex; flex-direction: column; min-width: 0; }
.wk-view[hidden] { display: flex; visibility: hidden; }
.wk-inst { margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: inherit; color: var(--scr-dim); }
.wk-inst b, .wk-term .wk-cmd b, .wk-foot b { margin-right: .6em; font-weight: 400; color: var(--accent); }
.wk-copy { flex: none; border: 1px solid var(--scr-line); background: none; color: var(--scr-dim); font: 11px var(--mono); letter-spacing: .06em; padding: 4px 9px; border-radius: 7px; cursor: pointer; transition: color .15s ease, border-color .15s ease; }
.wk-copy:hover { color: var(--scr-ok); border-color: color-mix(in srgb, var(--scr-okfill) 50%, transparent); }
.wk-pre { margin: 0; padding: 18px 0 22px; font: 12.5px/1.8 var(--mono); font-variant-ligatures: none; color: var(--scr-text); overflow-x: auto; scrollbar-width: thin; }
.wk-pre:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
/* where a line wraps, it wraps so its last line holds more than a word; the longhand, so code that doesn't wrap
   stays as it is */
.wk-pre .wk-l { display: block; min-height: 1.8em; white-space: pre; text-wrap-style: pretty; }
.wk-term .wk-l { white-space: pre-wrap; padding-left: 1.2em; text-indent: -1.2em; color: var(--scr-dim); }
.wk-term .wk-cmd { color: var(--scr-text); margin-bottom: 4px; }
.wk-term .wk-l + .wk-cmd { margin-top: 14px; }
.wk-term .wk-hi { color: var(--scr-text); }
.wk-term .wk-nx { margin-top: 10px; color: var(--faint); }
.wk-code .wk-k, .wk-code .wk-c { color: var(--faint); }
.wk-code .wk-s { color: var(--accent); }
.wk-foot { margin-top: auto; display: flex; align-items: baseline; gap: 14px; padding-top: 13px; border-top: 1px solid var(--line); font: 12px var(--mono); color: var(--faint); }
.wk-foot code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: inherit; color: var(--scr-text); }
.wk-note { margin: 16px 0 0; max-width: 34em; color: var(--faint); font-size: 13.5px; line-height: 1.6; text-wrap: pretty; }
.wk-note code { font-size: 12.5px; color: var(--dim); }
.wk-note a { color: var(--accent); white-space: nowrap; }
/* lines come in as a session's do, when the panel is in view and when a tab is chosen; until then they wait, from
   the page's first frame (motion.js) */
:is(.anim:not(.loaded) .wk, .wk.armed) .wk-view:not(.wk-in) .wk-l { opacity: 0; }
.wk.armed .wk-view.wk-in .wk-l { animation: wk-line .32s ease both; animation-delay: calc(var(--i, 0) * 38ms); }
@keyframes wk-line { from { opacity: 0; } }
/* on a phone a long line of code wraps under its own start rather than run off the screen, the install command
   takes a row of its own under the file's name, and the next command wraps rather than lose its end; the two
   questions step down a size, so each holds its column */
@media (max-width: 600px) {
  .wk-pre { font-size: 11.5px; }
  .wk-code .wk-l { white-space: pre-wrap; overflow-wrap: anywhere; padding-left: 2.4em; text-indent: -2.4em; }
  .wk-ways { column-gap: 24px; }
  .wk-way { padding-top: 14px; }
  .wk-tk em { text-wrap: balance; }
  .wk-q { margin-top: 8px; font-size: 16px; line-height: 1.3; }
  .wk .agent-head { flex-wrap: wrap; row-gap: 8px; }
  .wk .agent-head span { flex-basis: 100%; }
  .wk-inst { margin-left: 0; flex: 1 1 0; }
  .wk-foot code { white-space: normal; overflow-wrap: anywhere; }
}
/* on the narrowest phones the head's type steps down, so the adapters' install command shows whole beside its copy button */
@media (max-width: 340px) { .wk .agent-head { font-size: 11px; } }
/* a long import path keeps to a row of its own, as every other import does, and breaks after its folder only where
   that row can't hold it */
@media (min-width: 341px) { .wk-path { white-space: nowrap; } .wk-path wbr { display: none; } }
/* where the names to import from would leave one alone on its row, they are set in even rows from the first frame,
   as landing.js would set them: two to a row on a phone, four then two where five would fit */
@media (min-width: 350px) and (max-width: 404px) { #wk-way-imp-p .wk-tabs { max-width: 280px; } }
@media (min-width: 615px) and (max-width: 760px) { #wk-way-imp-p .wk-tabs { max-width: 535px; } }
/* without the script the tabs can't switch: both ways show, one after the other, each question as chosen; and so
   they do should the script not have set the tabs up by the time the page has loaded */
@media (scripting: none) {
  .wk-cols { row-gap: 56px; }
  .wk-col, .wk-col[hidden] { grid-area: auto; visibility: visible; }
  .wk-way, .wk-way[aria-selected] { color: var(--ink); border-top-color: var(--lime); cursor: default; }
  .wk-way .wk-tk > span { color: var(--accent); }
}
.loaded .wk:not(.tabs) .wk-cols { row-gap: 56px; }
.loaded .wk:not(.tabs) :is(.wk-col, .wk-col[hidden]) { grid-area: auto; visibility: visible; }
.loaded .wk:not(.tabs) :is(.wk-way, .wk-way[aria-selected]) { color: var(--ink); border-top-color: var(--lime); cursor: default; }
.loaded .wk:not(.tabs) .wk-way .wk-tk > span { color: var(--accent); }

/* fixes, turn 5: a hairpin in the open source drawing's lime by strength; the failed run is its shadow */
.fd { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px 56px; align-items: center; margin-top: 42px; }
.fd-map { margin: 0; }
.fd-top { display: flex; align-items: baseline; gap: 8px 14px; flex-wrap: wrap; margin-bottom: 10px; font: 11.5px var(--mono); }
/* a key in these drawings is set as the page's keys are: 500, 10.5px, .16em, in capitals */
.fd-rc { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
/* race control speaks How it works' code: full while replaying or saying, hollow a step back while live */
.fd-rc i { flex: none; width: 5px; height: 5px; transition: opacity .2s ease; }
.fd-rc i::before { content: ""; display: block; width: 5px; height: 5px; border-radius: 1px; background: var(--lime); }
.fd-top.live .fd-rc i::before { background: none; box-shadow: inset 0 0 0 1px var(--lime-62); }
.fd-msg { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); transition: opacity .2s ease; }
.fd-top.live .fd-msg { color: var(--lime-62); }
.fd-top.out .fd-msg, .fd-top.out .fd-rc i { opacity: 0; }
/* breathes at rest, removed (not paused) out of view, as in How it works */
.fd.run .fd-rc i::before { animation: pulse 2s ease-in-out infinite; }
.fd.run.paused .fd-rc i::before { animation: none; }
.fd-art, .fd-sheet { position: relative; }
.fd-art { transition: opacity .3s ease; }
/* a click on the drawing replays it (landing.js); its words are for reading */
.fd-wrap .fd-sheet { cursor: pointer; }
.fd-svg { display: block; width: 100%; height: auto; overflow: hidden; background: var(--light); }
/* the cars drive over the points, which lie on the sheet under them */
.fd-cars { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
:is(.fd-svg, .fd-cars) :is(path, rect) { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.fd-route { stroke: none; }
/* the road is guides, as How it works' and CI's lanes are; the flag line is a hairline */
.fd-edge { stroke: var(--lime-16); stroke-width: 1; }
.fd-center { stroke: var(--lime-16); stroke-width: 1; stroke-dasharray: 22 6 3 6; }
.fd-gravel { stroke: var(--lime-16); stroke-width: 1; }
.fd-finish { stroke: var(--lime-34); stroke-width: 1; stroke-linecap: butt; }
.fd-line { stroke: var(--lime); stroke-width: 1.5; }
.fd-off { stroke: var(--lime-62); stroke-width: 1.5; stroke-dasharray: 4 5; stroke-linecap: butt; }
.fd-x { transition: opacity .3s ease; }
.fd-x path { stroke: var(--lime-62); stroke-width: 1.5; }
/* labels hang from their marks on hairlines, as the open source drawing's do */
.fd-svg .fd-pole { stroke: var(--lime-34); stroke-width: 1; stroke-linecap: butt; }
.fd-pts { position: absolute; inset: 0; }
/* a foot and a call: 5px boxes, so every browser paints them 5px square at any pixel ratio */
.fd-pts > i { position: absolute; left: calc(var(--x) / 720 * 100%); top: calc(var(--y) / 470 * 100%); width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 1px; }
.fd-foot { background: var(--lime); transition: opacity .3s ease; }
/* a call is a guide until passed or named; its number in page type, legible at any width */
.fd-mk { border: 1px solid var(--lime-16); background: var(--bg); transition: border-color .3s ease, background-color .3s ease; }
.fd-mk:is(.lit, .t5) { border-color: var(--lime); background: var(--lime); }
.fd-no { position: absolute; transform: translate(-50%, -80%); font: 10.5px/1 var(--mono); color: var(--faint); white-space: nowrap; transition: color .3s ease; }
.fd-no.t5 { color: var(--accent); }
.fd-car.car { color: var(--lime-62); }
.fd-car.shadow { color: var(--lime); }
.fd-shade { opacity: .1; filter: url(#glow-soft); }
/* the fixed run has no speed lines: it is in a bend at once, so lines fixed to it would sweep off the road */
.fd-lb { position: absolute; font: 11.5px/1.45 var(--mono); white-space: nowrap; transition: opacity .35s ease; }
.fd-lb.t5 { color: var(--accent); }
.fd-lb:is(.off, .t5) { margin-top: -.725em; }
.fd-lb.off { color: var(--dim); text-align: right; }
.fd-lb.off .k { color: var(--ink); }
.fd-lb.new { transform: translateX(-50%); color: var(--accent); }
.fd-lb.fin { color: var(--ink); }
.fd-legend, .fd-tag { display: none; }
.fd-board { position: absolute; font: 11.5px/1.75 var(--mono); color: var(--dim); transition: opacity .4s ease; }
.fd-board .k { display: block; margin-bottom: 4px; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.fd-board .r { display: flex; align-items: center; gap: 8px; white-space: nowrap; transition: opacity .3s ease; }
.fd-board .r b { font-weight: 500; color: var(--ink); }
.fd-board .p { display: inline-flex; flex: none; gap: 2px; width: 68px; }
/* blame's pairs: a solid point for each the call rescues, an open one for each it loses; the call it names in lime */
.fd-board .p i { flex: none; width: 5px; height: 5px; border-radius: 1px; background: var(--lime); }
.fd-board .p i.no { background: none; box-shadow: inset 0 0 0 1px var(--lime); }
.fd-board .r.y b, .fd-board .r.y .bl { color: var(--accent); }
/* before it names one call, blame checks it against the next with fresh pairs: rescue has to drop there */
.fd-board .r.ck .p { color: var(--faint); }
.fd-board.blame { width: calc(214 / 720 * 100%); }
/* where the map is narrowest, beside the steps, the board takes the room left of the track its check needs */
@media (min-width: 1101px) and (max-width: 1199px) { .fd-board.blame { margin-left: -10px; width: calc(214 / 720 * 100% + 18px); } }
/* repair's line as it was, struck out, and as it is: the words it adds in lime, as a diff's added line is */
.fd-board.repair { width: calc(212 / 720 * 100%); }
.fd-board.repair .was { margin: 0; font: 12.5px/1.5 var(--body); color: var(--faint); text-decoration: line-through; }
.fd-board.repair .now { margin: 3px 0 0; font: 13px/1.5 var(--body); color: var(--ink); text-wrap: pretty; }
.fd-board.repair mark { color: var(--accent); background: none; }
.fd-board.verify { width: calc(200 / 720 * 100%); line-height: 1.6; }
.fd-board.verify .n2 { display: inline-block; flex: none; width: 64px; color: var(--faint); }
/* a good run is kept against its own baseline, the same run under the code before the change */
.fd-board.verify .base { color: var(--faint); }
.fd-board .vd { margin-top: 2px; transition: opacity .35s ease; }
.fd-board .bl { transition: opacity .3s ease; }
.fd-board .vd .ok { color: var(--accent); } .fd-board .vd .y { font-weight: 500; color: var(--ink); }

.fd-steps { list-style: none; margin: 0; padding: 0; }
/* the running step's rule turns lime, as in How it works */
.fd-steps > li { padding: 16px 0 18px; border-top: 2px solid var(--line); transition: border-color .35s ease; }
.fd-steps > li.on { border-top-color: var(--lime); }
.fd-steps .tk { font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.fd-steps h3 { margin: 7px 0 0; font: 600 19px/1.3 var(--disp); letter-spacing: -.02em; }
.fd-steps p { margin: 6px 0 0; color: var(--dim); font-size: 14px; line-height: 1.6; text-wrap: pretty; }
/* repair's and verify's two sentences each start a line, and wrap only between their phrases */
.fd-steps p .s { display: block; }
.fd-steps .cmd2 { display: block; margin-top: 10px; font: 11.5px/1.65 var(--mono); color: var(--faint); overflow-wrap: anywhere; }
.fd-steps .cmd2 b { color: var(--accent); font-weight: 400; margin-right: 6px; }

/* armed by landing.js without transitions, so the markup's end never flashes */
.fd.still, .fd.still * { transition: none !important; }
.fd.armed :is(.fd-lb, .fd-legend li, .fd-tag, .fd-x, .fd-foot, .fd-board, .fd-board .r, .fd-board .bl, .fd-board .vd):not(.on) { opacity: 0; }
.fd.armed .fd-car.wait { opacity: 0; }
.fd.armed .fd-mk.t5:not(.on) { border-color: var(--lime-16); background: var(--bg); }
.fd.armed .fd-no.t5:not(.on) { color: var(--faint); }
.fd.reset .fd-art { opacity: 0; }
/* until armed (motion.js) it waits as its start */
.anim:not(.loaded) .fd:not(.armed) :is(.fd-lb, .fd-legend li, .fd-tag, .fd-x, .fd-foot, .fd-board, .fd-car, .fd-msg) { opacity: 0; }
.anim:not(.loaded) .fd:not(.armed) .fd-rc i { opacity: 0; }
.anim:not(.loaded) .fd:not(.armed) :is(.fd-off, .fd-line, .fd-pole) { visibility: hidden; }
.anim:not(.loaded) .fd:not(.armed) .fd-mk { border-color: var(--lime-16); background: var(--bg); }
.anim:not(.loaded) .fd:not(.armed) .fd-no.t5 { color: var(--faint); }
.fd-steps :is(.tk, h3, p, .cmd2 b) { transition: color .35s ease; }
.fd-wrap.playing .fd-steps > li:not(.on) :is(.tk, .cmd2 b) { color: var(--lime-62); }
.fd-wrap.playing .fd-steps > li:not(.on) h3 { color: var(--dim); }
.fd-wrap.playing .fd-steps > li:not(.on) p { color: var(--faint); }

@media (max-width: 1100px) {
  .fd { grid-template-columns: minmax(0, 1fr); }
  .fd-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
  .fd-steps > li { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: 16px 0 0; }
}
/* phones: the two runs numbered on the map and listed under it, as the open source drawing does */
@media (max-width: 760px) {
  .fd-lb, .fd-pole, .fd-foot { display: none; }
  .fd-tag { display: grid; place-items: center; position: absolute; min-width: 20px; height: 18px; padding: 0 4px; border-radius: 4px; background: var(--lime); color: var(--tar); font: 600 10px/1 var(--mono); transition: opacity .3s ease; }
  .fd-tag.off { transform: translate(calc(-100% - 6px), -50%); }
  .fd-tag.fin { transform: translate(-50%, calc(-100% - 6px)); }
  .fd-legend { display: block; list-style: none; margin: 16px 0 0; padding: 0; font: 11px/1.5 var(--mono); }
  .fd-legend li { position: relative; padding: 12px 0 0 34px; border-top: 1px solid var(--line); transition: opacity .35s ease; }
  .fd-legend li + li { margin-top: 14px; }
  .fd-legend .no { position: absolute; left: 0; top: 12px; font-weight: 500; color: var(--faint); }
  .fd-legend .off { color: var(--dim); }
  .fd-legend .fin { color: var(--ink); }
  .fd-board, .fd-board.blame, .fd-board.repair, .fd-board.verify { position: static; width: auto; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
  .fd-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .fd-steps > li { display: block; grid-row: auto; }
}
/* phones: numbers keep their size off the road; race control's words keep a line of their own */
@media (max-width: 600px) {
  .fd-no { translate: var(--nx, 0) var(--ny, 0); }
  .fd-car use { --sw: 1; }
  .fd-msg { flex-basis: 100%; }
  .fd-tag { min-width: 16px; height: 15px; padding: 0 3px; font-size: 9px; }
}
/* where the row can't hold the call after its turn, the call takes a line of its own, and the dot before it goes */
@media (max-width: 380px) { .fd-legend .sep { display: block; font-size: 0; } }
.term { background: var(--scr-term); border: 1px solid var(--scr-line); border-radius: 18px; overflow: hidden; box-shadow: var(--scr-shadow); color: var(--scr-text); }
.term-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--scr-line); font: 12px var(--mono); color: var(--scr-dim); }
.c-p { color: var(--scr-ok); } .c-ok { color: var(--scr-ok); } .c-err { color: var(--scr-err); } .c-y { color: var(--scr-warn); } .c-d { color: var(--scr-dim); } .c-add { color: var(--scr-ok); } .c-del { color: var(--scr-del); } .c-w { color: var(--scr-hi); font-weight: 500; }

/* coding agents: the session on the left, plays once as it comes into view */
.agents { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.agents .agent-out { order: -1; border-right: 1px solid var(--line); padding-right: clamp(24px, 3vw, 40px); color: var(--scr-text); }
/* the session sits on the page like the fix steps above it: a label line, then the transcript, no terminal frame */
.agent-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--faint); }
.agent-head span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent-head span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--scr-okfill); flex: none; }
.agents .lede { max-width: 27.76em; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--dim); font-size: 14.5px; line-height: 1.55; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 6px; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2315140f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.rules { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 28px; }
.rules span { color: var(--faint); font-size: 13px; }
.rules code { font-size: 12px; color: var(--dim); }
.replay-btn { margin-left: auto; flex: none; white-space: nowrap; border: 1px solid var(--scr-line); background: none; color: var(--scr-dim); font: 11px var(--mono); letter-spacing: .06em; padding: 4px 9px; border-radius: 7px; cursor: pointer; }
.replay-btn:hover { color: var(--scr-ok); border-color: color-mix(in srgb, var(--scr-okfill) 50%, transparent); }
.chat { padding: 18px 0 0; font: 12px/1.7 var(--mono); display: flex; flex-direction: column; gap: 12px; min-height: 380px; }
.chat .u { background: var(--scr-sub); border: 1px solid var(--scr-line); border-radius: 10px; padding: 10px 12px; color: var(--scr-text); font-family: var(--body); font-size: 13.5px; line-height: 1.55; min-height: 44px; }
.chat .u::before { content: "> "; color: var(--scr-dim); font-family: var(--mono); }
/* the message holds a line break between its two sentences: a phone keeps it, a wider screen folds it into a space */
@media (max-width: 600px) { .chat .typed { white-space: pre-line; } }
.chat .u.typing .typed::after { content: ""; display: inline-block; width: 7px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--scr-text); animation: blink 1s steps(2) infinite; }
.chat .call { color: var(--scr-text); overflow-wrap: anywhere; }
.chat .call::before { content: "⏺ "; color: var(--scr-ok); }
.chat .out { color: var(--scr-dim); overflow-wrap: anywhere; }
.chat .out::before { content: "⎿ "; }
/* an answer is the command's own output, its JSON fields as --json prints them: a phone breaks it between them */
.chat .say { font-family: var(--body); font-size: 13.5px; line-height: 1.6; color: var(--scr-text); }
.chat .say::before { content: "⏺ "; color: var(--scr-text); font-family: var(--mono); }
/* the reply's second sentence starts a line of its own; the first runs on from the mark */
.chat .say .s + .s { display: block; }
/* each mark hangs in a gutter of its own, as Claude Code's do, so a line its text wraps to, and the reply's second
   sentence, start under the text rather than under the mark. A gutter is two of the terminal's characters, wider where
   the mark comes from a wider face (⎿ is about an em); an answer's sits 18px in, under its command */
.chat .call, .chat .say { --mk: 1.25em; padding-left: var(--mk); }
.chat .out { --mk: 1.6em; padding-left: calc(18px + var(--mk)); }
.chat .u { --mk: 1.2em; padding-left: calc(12px + var(--mk)); }
.chat :is(.call, .say, .out, .u) { text-indent: calc(-1 * var(--mk)); }
.chat :is(.call, .say, .out, .u)::before { display: inline-block; width: var(--mk); text-indent: 0; }
.chat .say .s { text-indent: 0; }
.chat .cs { transition: opacity .3s ease, transform .3s ease; }
.chat .cs .out { transition: opacity .25s ease; }
/* each step waits for its moment while landing.js plays the session, and from the page's first frame (motion.js) until
   it does; should that script not arm it by the time the page has loaded, the session shows as written */
:is(.anim:not(.loaded) .chat, .chat.armed) .cs:not(.on) { opacity: 0; transform: translateY(6px); }
:is(.anim:not(.loaded) .chat, .chat.armed) .cs.tool:not(.done) .out { opacity: 0; }
.chat.armed .cs.tool.on:not(.done) .call::before { color: var(--scr-warn); animation: blink .5s steps(2) infinite; }
.agents-c .agent-out { max-width: 860px; margin: 48px auto 0; color: var(--scr-text); }
.agents-c .chat { min-height: 0; }
.agents-c .agent-points { flex-direction: row; justify-content: space-between; gap: 16px 32px; max-width: 860px; margin: 52px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.agents-c .agent-points li { flex: 1 1 0; min-width: 0; }
/* a point wraps evenly, and only between its phrases, which hold together */
.agents-c .agent-points li > span { text-wrap: balance; }
.agents-c .rules { justify-content: center; margin-top: 26px; }
.agents-c .rules span { text-align: center; text-wrap: balance; }
/* the heading breaks only after Hand the wheel; below 360px it scales with the screen, so to your coding agent. keeps
   the line it has at 360px */
@media (max-width: 359px) { #agents h2 { font-size: 7.1vw; } }
@media (max-width: 360px) { .agents-c .agent-head { gap: 8px; font-size: 11px; } .agents-c .replay-btn { padding: 4px 7px; } }
@media (max-width: 960px) { .agents-c .agent-points { flex-direction: column; align-items: stretch; max-width: 560px; margin-top: 40px; } .agents-c .agent-points li { max-width: none; } .agents-c .agent-out { margin-top: 36px; } }
@media (max-width: 960px) { .agents { grid-template-columns: minmax(0, 1fr); } .agents .agent-out { order: 0; border-right: 0; padding-right: 0; } .chat { min-height: 0; } }

/* dashboard: the run page laid on the page itself, hairlines only */
.dv { display: flex; gap: 20px; font-size: 13px; color: var(--faint); border-bottom: 1px solid var(--line); padding-bottom: 10px; white-space: nowrap; overflow: hidden; }
.dv .on { position: relative; color: var(--ink); }
.dv .on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -11px; height: 2px; border-radius: 2px; background: var(--lime); }
.og { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 11.5px; color: var(--dim); }
.og::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--lap-live); }
.og.r::before { background: var(--lime); } .og.x::before { background: var(--lap-red); } .og.f::before { background: var(--lap-live); box-shadow: 0 0 0 2px var(--lap-yellow); }
.og.x { color: var(--lap-red); }
.demo { position: relative; margin: 0; }
/* The video's background is the page's, so it sits on the page with no frame. */
.demo-v { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--bg); }
/* Before it plays: the cover is a real frame of the dashboard; one button, centred, on a soft vignette. */
.demo-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; width: 100%; border: 0; padding: 0; color: var(--ink); cursor: pointer;
  background: radial-gradient(ellipse 40% 36% at 50% 56%, color-mix(in srgb, var(--bg) 86%, transparent), color-mix(in srgb, var(--bg) 46%, transparent) 55%, color-mix(in srgb, var(--bg) 8%, transparent) 100%); }
.demo-play .ring { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 10px color-mix(in srgb, var(--lime) 16%, transparent), 0 18px 50px rgba(0, 0, 0, .55); transition: box-shadow .25s; }
.demo-play svg { width: 30px; height: 30px; margin-left: 4px; fill: var(--bg); }
.demo-play .lbl { font: 600 17px/1 var(--disp); letter-spacing: -.02em; text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
.demo-play .lbl i { margin-left: 10px; font: 500 13px var(--mono); font-style: normal; letter-spacing: 0; color: var(--dim); }
.demo-play:hover .ring, .demo-play:focus-visible .ring { box-shadow: 0 0 0 14px color-mix(in srgb, var(--lime) 22%, transparent), 0 18px 50px rgba(0, 0, 0, .55); }
.demo-play:focus-visible { outline: none; }
/* from the keyboard, the page's own lime ring as well, just outside the halo, so focus shows on any frame */
.demo-play:focus-visible .ring { outline: 2px solid var(--lime); outline-offset: 16px; }
.demo.playing .demo-play { display: none; }
@media (max-width: 760px) {
  .demo { margin-top: 36px; }
  .demo-play { gap: 8px; }
  .demo-play .ring { width: 46px; height: 46px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--lime) 16%, transparent), 0 10px 26px rgba(0, 0, 0, .55); }
  .demo-play:focus-visible .ring { outline-offset: 10px; }
  .demo-play svg { width: 17px; height: 17px; margin-left: 2px; }
  .demo-play .lbl { font-size: 12.5px; }
  .demo-play .lbl i { margin-left: 7px; font-size: 11px; }
}
.dash-more, .trust { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
/* Inset by the video's own margin (64 of 1920 px), so the row lines up with the dashboard in it. */
.dash-more { margin: 0; }
.dm-lbl { margin: 64px 0 18px; font: 500 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
/* A small picture of each feature, set on the page: no frames. */
.dm-viz { display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; height: 74px; margin-bottom: 18px; font: 12px/1.6 var(--mono); color: var(--dim); }
.dm-viz code { display: block; font: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-viz em { font-style: normal; color: var(--lap-yellow); }
.dm-viz s { text-decoration: none; color: var(--faint); margin: 0 4px; }
.dm-viz .add { color: var(--lime); }
.dm-viz .q { width: max-content; min-width: 60%; padding-bottom: 3px; margin-bottom: 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.dm-viz .q::before { content: '/'; margin-right: 10px; color: var(--faint); }
.dm-viz mark { background: color-mix(in srgb, var(--lime) 22%, transparent); color: var(--lime); border-radius: 3px; padding: 0 2px; }
.dm-viz .dm-cap { margin-top: 6px; font-size: 11px; color: var(--faint); }
.dm-bars { display: flex; align-items: flex-end; gap: 4px; height: 44px; }
.dm-bars i { flex: 1; height: var(--h); border-radius: 2px; background: var(--lap-faint); background-image: linear-gradient(to top, var(--lime) var(--c), transparent var(--c)); opacity: .9; }
.dm-bars i.miss { background-image: none; background-color: color-mix(in srgb, var(--lap-yellow) 70%, transparent); }
.dash-more li, .trust li { border-top: 1px solid var(--line); padding-top: 18px; }
.dash-more li { display: flex; flex-direction: column; gap: 6px; }
.dash-more b { font: 600 16px/1.3 var(--disp); letter-spacing: -.025em; }
/* a line wraps evenly, and only between its phrases, which hold together */
.dash-more li > span { color: var(--dim); font-size: 14px; text-wrap: balance; }
@media (max-width: 860px) {
  .dash-more { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

/* ci: the pull request races the last good run, in the open source drawing's lime by strength */
.race-head { display: flex; align-items: baseline; gap: 16px; font: 12px var(--mono); color: var(--faint); }
.race-head b { margin-left: 8px; font-weight: 400; color: var(--ink); }
.race-v { margin-left: auto; color: var(--accent); white-space: nowrap; transition: opacity .35s ease; }
.ci-fig { margin: 56px 0 0; }
.ci-art { position: relative; margin-top: 0; transition: opacity .3s ease; }
.ci-frame, .ci-sheet { position: relative; }
.ci-fig.armed .ci-frame { cursor: pointer; }
.ci-svg { display: block; width: 100%; height: auto; overflow: hidden; background: var(--light); }
.ci-svg :is(path, rect) { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.ci-route { stroke: none; }
.cb-wall { stroke: var(--lime-34); stroke-width: 1; }
.cb-tick, .cb-edge, .cb-out { stroke: var(--lime-16); stroke-width: 1; }
.cb-center { stroke: var(--lime-16); stroke-width: 1; stroke-dasharray: 22 6 3 6; }
.cb-exit { stroke: var(--lime-34); stroke-width: 1; stroke-linecap: butt; }
/* a loop waits as a guide, as the other drawings' calls do; lit, it draws down from its top foot (landing.js), whole
   or broken */
.cb-loop .ln { stroke: var(--lime-16); stroke-width: 1; stroke-linecap: butt; }
.cb-loop .lt { stroke: var(--lime); stroke-width: 1.5; stroke-linecap: butt; }
.cb-loop.bad .lt { stroke-dasharray: 4 5; }
.cb-loop:not(.ok, .bad) .lt, .cb-loop:is(.ok, .bad) .ln { visibility: hidden; }
/* its feet: 5px boxes, so every browser paints them 5px square at any pixel ratio; the bottom one lights as the line
   reaches it */
.cb-fts { position: absolute; inset: 0; }
.cb-ft { position: absolute; left: calc(var(--x) / 1160 * 100%); top: calc(var(--y) / 300 * 100%); width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border: 1px solid var(--lime-16); border-radius: 1px; background: var(--bg); transition: border-color .3s ease, background-color .3s ease; }
.cb-ft.lo { transition-delay: .3s; }
.cb-ft:is(.ok, .bad) { border-color: var(--lime); }
.cb-ft.ok { background: var(--lime); }
.cb-light rect { fill: var(--bg); stroke: var(--lime-62); stroke-width: 1.5; }
.cb-light .lamp path { stroke-linecap: round; transition: stroke .3s ease; }
.cb-light .lamp path:first-child { stroke-width: 8; stroke: var(--lime-34); }
.cb-light .lamp path + path { stroke-width: 6; stroke: var(--bg); }
.cb-light .lamp.on path { stroke: var(--lime); }
.ci-car.pr { color: var(--lime-62); }
.ci-car.shadow { color: var(--lime); }
.ci-shade { opacity: .1; filter: url(#glow-soft); }
.ci-speed { stroke: currentColor; stroke-width: 1.5; opacity: 0; }
.ci-car.go .ci-speed { animation: ve-speed 1.75s ease-out both; }
/* the lit lamp breathes at rest, removed out of view as the other points are */
.ci-fig.run .cb-light .lamp.on { animation: pulse 2s ease-in-out infinite; }
.ci-fig.run.paused .cb-light .lamp.on { animation: none; }
/* a result's diff hangs from its point on a hairline, as How it works' does */
.ci-name { position: absolute; transform: translateX(-50%); font: 500 11.5px var(--mono); color: var(--accent); white-space: nowrap; }
.ci-name.exit { color: var(--faint); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.ci-name .no, .ci-no { display: none; }
.ci-res { position: absolute; transform: translateX(-50%); font: 12px/1.5 var(--mono); color: var(--dim); text-align: center; white-space: nowrap; transition: opacity .35s ease; }
.ci-res.bad { color: var(--ink); }
.ci-res > .dot { display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 1px; vertical-align: 1px; }
.ci-res > .dot.ok { background: var(--lime); }
.ci-res > .dot.err { background: none; box-shadow: inset 0 0 0 1px var(--lime); }
.ci-diff { margin-top: 6px; padding-left: 13px; font: 12px/1.75 var(--mono); color: var(--scr-dim); text-align: left; }
.ci-diff .del { color: var(--ink); }
@media (min-width: 1101px) {
  /* the result and the diff hung from its point are centred under their golden as one, so a diff ends before the
     next golden's result */
  .ci-res { padding-left: 13px; text-align: left; }
  .ci-res > .dot { position: absolute; left: 0; top: 7px; margin: 0; }
  .ci-diff { margin: -6px 0 0 -11px; padding: 20px 0 0 12px; border-left: 1px solid var(--lime-34); }
  /* the hairline draws down first, then the words */
  .ci-fig.armed .ci-diff { clip-path: inset(0 -1px 0 -1px); transition: clip-path .55s cubic-bezier(.4, 0, .2, 1) .3s; }
  .ci-fig.armed .ci-res:not(.on) .ci-diff { clip-path: inset(0 -1px 100% -1px); transition-delay: 0s; }
  .ci-fig.armed .ci-diff > div { transition: opacity .45s ease .75s; }
  .ci-fig.armed .ci-res:not(.on) .ci-diff > div { opacity: 0; transition-delay: 0s; }
}
.ci-cmd { display: block; margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); font: 11.5px/1.65 var(--mono); color: var(--faint); overflow-wrap: anywhere; }
.ci-cmd b { color: var(--accent); font-weight: 400; margin-right: 6px; }
/* armed by landing.js without transitions, so the markup's end never flashes */
.ci-fig.still, .ci-fig.still * { transition: none !important; }
.ci-fig.armed :is(.ci-res, .ci-v, .ci-no):not(.on) { opacity: 0; }
.anim:not(.loaded) .ci-fig:not(.armed) :is(.ci-res, .ci-v, .ci-no, .ci-car) { opacity: 0; }
.anim:not(.loaded) .ci-fig:not(.armed) .cb-loop .ln { visibility: visible; }
.anim:not(.loaded) .ci-fig:not(.armed) .cb-loop .lt { visibility: hidden; }
.anim:not(.loaded) .ci-fig:not(.armed) .cb-ft { border-color: var(--lime-16); background: var(--bg); }
.anim:not(.loaded) .ci-fig:not(.armed) .cb-light .lamp path:first-child { stroke: var(--lime-34); }
.anim:not(.loaded) .ci-fig:not(.armed) .cb-light .lamp path + path { stroke: var(--bg); }
.ci-fig.armed .ci-car.wait { opacity: 0; }
.ci-fig.reset .ci-art { opacity: 0; }
/* up to 1100px, as the open source drawing does: loops numbered, labels listed under the drawing */
@media (max-width: 1100px) {
  .ci-art { display: flex; flex-direction: column; }
  .ci-frame { overflow: hidden; background: var(--light); }
  .ci-svg { background: none; }
  /* cropped to a fixed room under the loops' feet, so the numbers hung under them keep their room at any width */
  .ci-sheet { margin: calc(-20 / 1160 * 100%) 0 calc(-108 / 1160 * 100% + 34px); }
  .ci-name, .ci-res { position: static; transform: none; text-align: left; white-space: normal; }
  .ci-name { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
  .ci-name .no { display: inline-block; width: 34px; font: 500 11px var(--mono); color: var(--faint); }
  .ci-name.exit { display: none; }
  .ci-res { margin-top: 2px; padding-left: 34px; }
  .ci-no { display: grid; place-items: center; position: absolute; top: calc(192 / 300 * 100%); min-width: 20px; height: 18px; padding: 0 4px; border-radius: 4px; background: var(--lime); color: var(--tar); font: 600 10px/1 var(--mono); transform: translate(-50%, 7px); transition: opacity .3s ease; }
}
/* phones: cropped to the loops, so points and lines keep their size */
@media (max-width: 600px) {
  .ci-sheet { width: calc(1160 / 910 * 100%); margin: calc(-20 / 910 * 100%) 0 calc(-108 / 910 * 100% + 30px) calc(-250 / 910 * 100%); }
  .ci-car use { --sw: 1; }
  .cb-light .lamp path:first-child { stroke-width: 6; }
  .cb-light .lamp path + path { stroke-width: 4; }
  .ci-no { min-width: 16px; height: 15px; font-size: 9px; }
}
@media (max-width: 560px) { .race-head .pr b { display: block; margin: 4px 0 0; } }
.trust.ci-feats { margin-top: 56px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* set lines that wrap at an in-between width wrap evenly, never to one word */
#ci .lede .ln { text-wrap: balance; }
/* #tui sets one sentence a line at every width, as the two-sentence ledes do: a sentence never starts mid-line on a phone */
#tui .lede .ln { display: block; text-wrap: balance; }
@media (max-width: 640px) { .how-head .lede { text-wrap: balance; } }
.ci-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--faint); }
.ci-head .bad { margin-left: auto; color: var(--scr-err); }
.yml { margin: 16px 0 0; font: 12.5px/1.8 var(--mono); color: var(--scr-text); white-space: pre; overflow-x: auto; }
.yml .y { color: var(--scr-dim); }
.ci-sum { margin-top: 14px; font: 12.5px/1.75 var(--mono); color: var(--scr-dim); }
.ci-sum .row { display: flex; gap: 10px; align-items: center; padding: 6px 0; white-space: nowrap; }
.ci-sum .row > span { color: var(--scr-text); }
.ci-sum .row b { margin-left: auto; padding-left: 12px; font-weight: 400; color: var(--scr-dim); }
.ci-sum .row b.err { color: var(--scr-err); }
.ci-sum .diff { margin: 4px 0 0 18px; padding-left: 12px; border-left: 2px solid var(--scr-line); }
.ci-sum .add { color: var(--scr-ok); }
.fl { white-space: nowrap; }
#faq details p { text-wrap: pretty; }
/* CI's cards are four to a row only from 1180px, where each heading holds one line ("No planted text obeyed." is the
   widest); narrower, they take two */
@media (max-width: 1179px) { .trust.ci-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .trust.ci-feats { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .ci-sum .row { flex-wrap: wrap; white-space: normal; row-gap: 0; } .ci-sum .row b { margin-left: 18px; padding-left: 0; width: 100%; } }

/* security: six facts, each checked against SECURITY.md */
.trust { margin: 52px 0 0; }
.trust code { font: 11.5px var(--mono); color: var(--accent); }
/* the what-if card's flags: where a column can't hold all four, the last two take a line, and the dot before them goes */
@media (max-width: 332px), (min-width: 961px) and (max-width: 1054px) { .box6 code .sep { display: block; font-size: 0; } }
.trust h3 { font: 600 17px/1.3 var(--disp); letter-spacing: -.025em; margin: 10px 0 0; }
.trust p { color: var(--dim); font-size: 14px; margin: 6px 0 0; text-wrap: balance; }
/* a card of two sentences starts the second on a line of its own */
.trust p .s { display: block; }
.trust-foot { margin: 40px 0 0; color: var(--faint); font-size: 13.5px; }
/* the link follows its sentence after a space widened to the 10px it had, so it can take a line of its own and start
   that line flush with the sentence */
.trust-foot .gap { word-spacing: 6px; }
.trust-foot a { color: var(--accent); text-decoration: none; white-space: nowrap; }
.trust-foot a:hover { text-decoration: underline; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .trust { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* also in the box: nine items on the security list's hairline grid, a label, a heading and two lines each, as the
   CI section lists its features. Three to a row, or one; never two, which would leave a row short. */
@media (max-width: 960px) { .trust.box6 { grid-template-columns: minmax(0, 1fr); } }
/* one to a row on a tablet: the label and heading on the left, the sentence beside them */
@media (min-width: 781px) and (max-width: 960px) {
  .trust.box6 > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "c p" "h p"; align-content: start; column-gap: 40px; }
  .trust.box6 > li > code { grid-area: c; }
  .trust.box6 > li > h3 { grid-area: h; }
  .trust.box6 > li > p { grid-area: p; margin: 0; }
}
.flow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.flow span { font: 11.5px var(--mono); color: var(--ink); border: 1px solid var(--line); background: var(--bg); padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.flow span.end { border-color: color-mix(in srgb, var(--accent-line) 55%, transparent); color: var(--accent); }
.flow i { width: 18px; height: 1px; background: var(--line2); position: relative; flex: none; }
.flow i::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left: 5px solid var(--line2); border-right: 0; }
.flow em { font: normal 11.5px var(--mono); color: var(--faint); }
.mini-sec { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 2px; }
.mini-sec i { height: 22px; border-radius: 2px; background: var(--lap-live); }
.mini-sec i.r { background: var(--lime); } .mini-sec i.f { background: var(--lap-yellow); } .mini-sec i.x { background: var(--lap-red); }
.mini-cap { display: flex; justify-content: space-between; margin-top: 6px; font: 11px var(--mono); color: var(--faint); }

/* the pull quote before it: a sentence to a line at every width, so the trace and the fork read as a pair, each as
   wide as the column lets it be. Where the fork's sentence can't hold one line it breaks before "what would have
   happened", which wraps within itself only where it can't hold a line either */
.pq-fork .pq-q { max-width: none; }
.pq-fork .pq-q .l { display: block; }
.pq-fork .pq-q .wh { display: inline-block; }
/* compare: each cell is a verdict, with a short note under it when the verdict needs one */
/* where it fits: the table sits on the page, hairlines only, with the shadowlap column tinted */
.cmp-wrap { margin-top: 58px; }
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.cmp .c-feat { width: 28%; }
.cmp th, .cmp td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.45; }
.cmp thead th { vertical-align: bottom; font-weight: 600; color: var(--ink); padding-top: 22px; padding-bottom: 16px; }
.cmp thead small { display: block; margin-top: 3px; font: 400 11.5px var(--mono); color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp .hd { display: flex; align-items: center; gap: 10px; }
.cmp .hd svg { width: 28px; height: 28px; flex: none; }
.cmp .hd span { min-width: 0; }
.cmp tbody th { font-weight: 500; color: var(--ink); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp .us { background: color-mix(in srgb, var(--lime) 7%, transparent); }
.cmp thead .us { box-shadow: inset 0 2px 0 var(--accent-line); }
.v { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.v::before { content: ""; flex: none; box-sizing: border-box; width: 18px; height: 18px; border-radius: 6px; }
.v.yes::before { background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2315140f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.v.no { color: var(--faint); font-weight: 400; }
.v.no::before { border: 1.5px solid var(--line2); background: linear-gradient(var(--faint), var(--faint)) center / 7px 1.5px no-repeat; }
.v.part { color: var(--dim); }
.v.part::before { border: 1.5px solid var(--accent-line); background: linear-gradient(90deg, var(--accent-line) 50%, transparent 50%); }
/* The why behind a verdict: the box lines up with the cell (right-aligned in the last column) and only the
   arrow points at the icon, so it never floats off-centre. Stacked on a phone, it is shown under the verdict. */
.cmp tbody td > div { position: relative; display: flex; align-items: center; flex-wrap: wrap; }
.info { position: relative; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 7px; padding: 0; border: 1px solid var(--line2); border-radius: 50%; background: transparent; color: var(--faint); font: 600 10px/1 var(--body); cursor: help; }
.info:hover, .info:focus-visible { color: var(--ink); border-color: var(--dim); outline: none; }
.info::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 4px); z-index: 6; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--ink); transform: translateX(-50%); opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.cmp .tip { position: absolute; left: -10px; bottom: calc(100% + 8px); z-index: 5; width: max-content; max-width: 250px; padding: 9px 12px; border-radius: 9px; background: var(--ink); color: var(--bg); font: 500 12.5px/1.45 var(--body); text-align: left; text-wrap: pretty; box-shadow: 0 12px 30px -12px rgba(0,0,0,.55); opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.cmp tbody td:last-child .tip { left: auto; right: -10px; }
/* a note of two sentences starts the second on a line of its own, in the tooltip and on a phone */
.cmp .tip .s { display: block; }
.info:hover::before, .info:focus-visible::before { opacity: 1; }
.info:hover + .tip, .info:focus-visible + .tip { opacity: 1; }
.cmp .q-row td { font-size: 14px; font-style: italic; color: var(--ink); }
.cmp .q-row td.us { font-weight: 500; }
/* every answer is two set lines, so the row reads as one band at any width the table shows */
.cmp .q-row td > div { display: block; }
/* row labels are one line each at every width the table shows */
.cmp tbody th { white-space: nowrap; }
.cmp .q-row .ql { display: block; white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 961px) { .cmp th, .cmp td { padding-left: 14px; padding-right: 14px; } }
.cmp .q-row > * { padding-top: 20px; padding-bottom: 20px; border-bottom-color: var(--line2); }
.fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; margin-top: 40px; }
.fit > div { border-top: 1px solid var(--line); padding-top: 16px; }
.fit > div.us { border-top-color: var(--accent-line); }
.fit .k { font: 500 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.fit .us .k { color: var(--accent); }
.fit p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
@media (max-width: 760px) { .fit { grid-template-columns: minmax(0, 1fr); } }
/* Too narrow for four columns: each capability becomes a block, with the tools as labelled lines. Below 961px
   a tool's label no longer fits its column. */
@media (max-width: 960px) {
  .cmp, .cmp tbody, .cmp tr { display: block; width: 100%; }
  .cmp colgroup, .cmp thead { display: none; }
  .cmp tbody tr { padding: 18px 0 8px; border-bottom: 1px solid var(--line); }
  .cmp tbody tr:last-child { border-bottom: 0; }
  .cmp tbody th { display: block; padding: 0 0 12px; border: 0; font-size: 15px; white-space: normal; }
  .cmp tbody td { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding: 10px 0; border: 0; border-top: 1px solid var(--line); background: none; }
  /* a label keeps to one line: the longest, "Tracing and evals", is a pixel wider than its column and runs into the gap */
  .cmp tbody td::before { content: attr(data-label); font: 11.5px var(--mono); color: var(--faint); padding-top: 2px; white-space: nowrap; }
  .cmp tbody td.us::before { color: var(--accent); }
  .info { display: none; }
  .cmp .tip { position: static; flex-basis: 100%; width: auto; max-width: none; margin-top: 6px; padding: 0 0 0 26px; background: none; box-shadow: none; color: var(--faint); font: 400 12.5px/1.45 var(--body); opacity: 1; transform: none; }
  .cmp tbody td.us { background: color-mix(in srgb, var(--lime) 9%, transparent); border-top: 0; border-radius: 8px; margin: 0 -10px; padding: 10px; }
  .cmp tbody td.us + td { border-top: 0; }
}
/* on a phone narrower than 412px a note runs under its tool's label at full width, rather than in a column narrower
   than the tooltip's 226px, too narrow for its phrases (204px at 390) */
@media (max-width: 411px) {
  .cmp tbody td { row-gap: 6px; }
  .cmp tbody td > div { display: contents; }
  .cmp .tip { grid-column: 1 / -1; margin-top: 0; padding-left: 0; }
}

/* open source, under the hood: the car drawn in plan, and taken apart; every part is a package in the repository.
   It brakes in with its shadow behind it, as the hero's last words do, then comes apart; the shadow stays where
   the car stood, and the engine idles. Without motion, or before the script runs, it is drawn taken apart. */
.ve-side .lede { margin: 0; }
/* a sentence to a line; where a column can't hold one, it wraps evenly rather than leave a word behind */
.ve-side .lede span { display: block; text-wrap: balance; }
.ve-side .cta-row { margin-top: 24px; }
.ve { margin: 28px 0 0; }
.ve-body { position: relative; }
.ve-frame { position: relative; }
.ve-art { position: relative; }
.ve-svg { display: block; width: 100%; height: auto; overflow: hidden; cursor: pointer; background: var(--light); }
.ve-svg :is(rect, circle, ellipse, path) { vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }

/* the sheet: its centre line, as a drawing has */
.ve-axis { fill: none; stroke: color-mix(in srgb, var(--lime) 16%, transparent); stroke-width: 1; stroke-dasharray: 22 6 3 6; }

/* line weights: the parts in lime, the chassis a step back, detail finer still */
.ve .pt, .ve-ch { fill: var(--bg); stroke: var(--lime); stroke-width: 1.5; transition: opacity .25s ease, stroke .25s ease; }
.ve-ch { stroke: color-mix(in srgb, var(--lime) 62%, transparent); }
.ve-ch.fine-set { fill: none; }
.ve .fine { fill: none; stroke-width: 1; opacity: .5; }
.ve-pit { fill: var(--bg2); }
.ve-tile { stroke: none; }
.ve-halo { fill: none; stroke: var(--lime); stroke-width: 1.8; }
.ve .vis { fill: none; stroke-width: 2.2; }
.ve .cy { fill: var(--lime); fill-opacity: 0; }
.ve .rl { fill: var(--lime); stroke: none; }
.ve .dsp { fill: var(--panel); }
.ve .px { fill: var(--lime); stroke: none; }
.ve-shadow { fill: var(--lime); opacity: .1; filter: url(#glow-soft); }
/* while it brakes in, a band of light stretches out behind the shadow, and shrinks into it as it stops */
.ve-smear { visibility: hidden; transform-box: fill-box; transform-origin: right center; filter: url(#ve-smear-blur); }
#veSmear stop { stop-color: var(--lime); }
.ve-speed { fill: none; stroke: var(--lime); stroke-width: 1.5; opacity: 0; }

/* taken apart: each part out along its own line */
.ve .pt { transform: translate(var(--dx), var(--dy)); }
.ve .sw-top { opacity: 0; }

/* the callouts: a hairline from the part to its label, the label set beside the line */
.ve-pole path { fill: none; stroke: color-mix(in srgb, var(--lime) 34%, transparent); stroke-width: 1; vector-effect: none; }
.ve-pole rect { fill: var(--lime); stroke: none; }
.ve-lbs { position: absolute; inset: 0; pointer-events: none; }
.ve-lb { position: absolute; left: var(--x); width: 196px; padding-left: 12px; pointer-events: auto; text-decoration: none; transition: opacity .25s ease; }
/* a top label hangs from its heading, level with the top of its hairline, so a longer note grows down beside it */
.ve-lb.top { top: calc(26 / 590 * 100% - 4px); }
.ve-lb.bot { top: calc(502 / 590 * 100%); }
.ve-lb .no { display: none; }
.ve-lb b { display: block; font: 500 12.5px/1.4 var(--mono); color: var(--accent); }
.ve-lb .t { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--dim); text-wrap: pretty; }
.ve-lb:hover .t, .ve-lb:focus-visible .t { color: var(--ink); }
.ve-nos { display: none; }

/* pointing at a label lights its part, and pointing at a part lights its label */
.ve.dim .pt:not(.hot), .ve.dim .ve-ch, .ve.dim .ve-pole:not(.hot) { opacity: .26; }
.ve.dim .ve-lb:not(.hot) { opacity: .38; }
.ve .pt.hot { filter: var(--glow); }

/* the rest of the repository, set as the drawing's callouts are: a path, and what it is */
.ve-k { font: 500 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.ve-also { margin-top: 32px; }
.ve-also ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.ve-also li { border-top: 1px solid var(--line); }
.ve-also a { display: block; padding: 14px 0; text-decoration: none; }
.ve-also b { display: block; font: 500 12.5px/1.4 var(--mono); color: var(--accent); }
.ve-also span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--dim); text-wrap: balance; transition: color .15s ease; }
.ve-also a:hover span { color: var(--ink); }


/* armed by e.js. Waiting: off the sheet to the left, in one piece, nothing labelled yet. Before that, from the
   page's first frame (motion.js), it waits so too */
.ve.armed:not(.drive) .ve-car, .ve.armed:not(.drive) .ve-shadow { visibility: hidden; }
.anim:not(.loaded) .ve:not(.armed) :is(.ve-car, .ve-shadow) { visibility: hidden; }
.anim:not(.loaded) .ve:not(.armed) :is(.ve-lb, .ve-pole rect, .ve-no, .sw-face) { opacity: 0; }
.anim:not(.loaded) .ve:not(.armed) .ve-pole path { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.anim:not(.loaded) .ve:not(.armed) .pt { transform: none; }
.anim:not(.loaded) .ve:not(.armed) .sw-top { opacity: 1; }

.ve.armed.drive .ve-car { animation: ve-drive 1.75s cubic-bezier(.12, .9, .25, 1) both; }
.ve.armed.drive .ve-shadow { animation: ve-shadow 2.15s cubic-bezier(.12, .9, .25, 1) both; }
.ve.armed.drive .ve-smear { visibility: visible; animation: ve-smear 2.15s cubic-bezier(.12, .9, .25, 1) both; }
.ve.armed.drive .ve-speed { animation: ve-speed 1.75s ease-out both; }
@keyframes ve-drive { from { transform: translateX(-1150px); } }
@keyframes ve-shadow { from { transform: translateX(-1500px); opacity: 0; } 14% { opacity: .1; } }
@keyframes ve-smear { from { transform: translateX(-1500px) scaleX(1); opacity: 0; } 10% { opacity: .5; } 55% { opacity: .3; } to { transform: none; opacity: 0; } }
@keyframes ve-speed { 0%, 55% { opacity: .85; } 100% { opacity: 0; } }
/* coming apart, and going back together */
.ve.armed .pt { transition: transform 1.15s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 70ms), opacity .25s ease; }
.ve.armed:not(.open) .pt { transform: none; transition-delay: calc((6 - var(--i)) * 50ms), 0s; }
.ve.armed .sw-top, .ve.armed .sw-face { transition: opacity .35s ease .55s; }
.ve.armed:not(.open) .sw-top { opacity: 1; }
.ve.armed:not(.open) .sw-face { opacity: 0; transition-delay: 0s; }
.ve.armed .ve-pole path { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .55s cubic-bezier(.4, 0, .2, 1) calc(1s + var(--i, 0) * 60ms), opacity .25s ease; }
.ve.armed.open .ve-pole path { stroke-dashoffset: 0; }
.ve.armed .ve-pole rect { opacity: 0; transition: opacity .3s ease 1s; }
.ve.armed.open .ve-pole rect { opacity: 1; }
.ve.armed .ve-lb { opacity: 0; transition: opacity .45s ease calc(1.2s + var(--i) * 70ms); }
.ve.armed.open .ve-lb { opacity: 1; }
.ve.armed.open.dim .ve-lb:not(.hot) { opacity: .38; transition-delay: 0s; }
.ve.armed.open .ve-lb.hot { transition-delay: 0s; }
/* once the car idles, its labels are in: going back to full strength, as the pointer leaves one, they take no delay */
.ve.armed.open.run .ve-lb { transition-delay: 0s; }
.ve.armed:not(.open) .ve-lb, .ve.armed:not(.open) .ve-pole path, .ve.armed:not(.open) .ve-pole rect { transition-delay: 0s; transition-duration: .2s; }
/* a label not shown yet takes no click meant for the drawing under it; one the keyboard reaches shows at once, and
   the script takes the car apart */
@media (min-width: 1101px) { .ve.armed:not(.open) .ve-lb { pointer-events: none; } }
.ve.armed .ve-lb:focus-visible { opacity: 1; transition-delay: 0s; }
/* idling: the cylinders fire in order, the turbo spins, the rain light blinks, the wheel's display counts */
.ve.run .cy { animation: ve-fire 1.08s linear infinite; animation-delay: calc(var(--o) * .18s); }
.ve.run .tb { transform-box: fill-box; transform-origin: center; animation: ve-spin .6s linear infinite; }
.ve.run .rl { animation: ve-rain 1.4s steps(1) infinite; }
.ve.run .px { animation: ve-pip 2.2s steps(1) infinite; animation-delay: calc(var(--i) * .3s); }
.ve.run.paused :is(.cy, .tb, .rl, .px) { animation-play-state: paused; }
@keyframes ve-fire { 0% { fill-opacity: .9; } 22%, 100% { fill-opacity: 0; } }
@keyframes ve-spin { to { transform: rotate(360deg); } }
@keyframes ve-rain { 0% { opacity: 1; } 50% { opacity: .15; } }
@keyframes ve-pip { 0% { opacity: .2; } 30% { opacity: 1; } 90% { opacity: .2; } }

/* narrower than the callouts: numbers on the drawing, the parts listed under it, the drawing cropped to the car */
@media (max-width: 1100px) {
  .ve-frame { overflow: hidden; }
  .ve-art { width: 127.47%; margin: -5.71% 0 -7.14% -13.19%; }
  .ve-poles { display: none; }
  .ve-nos { display: block; position: absolute; inset: 0; pointer-events: none; }
  .ve-no { position: absolute; left: var(--x); top: var(--y); display: grid; place-items: center; min-width: 20px; height: 18px; padding: 0 4px; border-radius: 4px; background: var(--lime); color: var(--tar); font: 600 10px/1 var(--mono); transition: opacity .3s ease; }
  .ve-no.top { transform: translate(-50%, calc(-100% - 6px)); }
  .ve-no.bot { transform: translate(-50%, 6px); }
  .ve.armed:not(.open) .ve-no { opacity: 0; }
  .ve-lbs { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 28px; pointer-events: auto; }
  .ve-lb, .ve-lb.top, .ve-lb.bot { position: relative; left: auto; top: auto; bottom: auto; width: auto; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); }
  .ve-lb .no { display: block; position: absolute; left: 0; top: 14px; font: 500 11px var(--mono); color: var(--faint); }
  .ve-lbs .ve-lb { opacity: 1 !important; }
}
@media (max-width: 760px) { .ve-also ul { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  /* a number is bigger against a phone's drawing: more room above and below */
  .ve-art { margin-top: -3.3%; margin-bottom: -4.4%; }
  .ve-lbs { grid-template-columns: minmax(0, 1fr); }
  .ve-no { min-width: 16px; height: 15px; font-size: 9px; }
}

/* faq: two groups, one answer open at a time, the heading pinned while you read */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq .side { position: sticky; top: 96px; }
.faq .side p { color: var(--dim); margin: 18px 0 0; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.jump a { font: 12px var(--mono); color: var(--dim); border: 1px solid var(--line); background: var(--card); padding: 6px 11px; border-radius: 8px; }
.jump a:hover { color: var(--accent); border-color: var(--accent-line); }
.ask { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ask span { color: var(--faint); }
.ask a { color: var(--accent); }
.faq-group { scroll-margin-top: 96px; }
.faq-group + .faq-group { margin-top: 44px; }
.faq-k { margin: 0 0 4px; font: 500 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.faq details { border-bottom: 1px solid var(--line); }
.faq .faq-k + details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-weight: 500; font-size: 16px; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
/* a question that wraps breaks evenly, never to one word */
.faq summary { text-wrap: balance; }
/* a question of two sentences stays on one line where it fits, and otherwise breaks between them, each wrapping at
   its phrases where it can't hold a line */
.faq summary .s { display: inline-block; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 13px; font: 300 26px/1 var(--body); color: var(--faint); transition: transform .2s ease, color .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq summary:hover { color: var(--accent); }
.faq details p { margin: 0 0 20px; color: var(--dim); max-width: 39.12em; }
.faq details p a { color: var(--accent); }
.faq details p a:hover { text-decoration: underline; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq .side { position: static; } .ask { margin-top: 24px; } }

/* final: a compact band; on lime, the small mark makes the card read like the logo tile */
.final { padding: 0 0 clamp(64px, 9vw, 120px); }
.final-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 56px; align-items: center; background: var(--lime); color: var(--tar); border-radius: 24px; padding: clamp(32px, 4vw, 48px) clamp(28px, 4.5vw, 56px); }
.final-card .mark { display: block; width: 40px; height: 40px; margin-bottom: 18px; }
.final-card h2 { font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.08; letter-spacing: -.04em; max-width: 19.43em; margin: 0; text-wrap: balance; }
/* below 360px the heading scales with the screen, so "becomes the lap" keeps the line it has at 360px */
@media (max-width: 359px) { .final-card h2 { font-size: 7.2vw; } }
.final-card p { color: #3a3b28; font-size: 16px; margin: 12px 0 0; }
.final-act { display: flex; flex-direction: column; gap: 14px; }
.final-card .cta-row { margin: 0; align-items: stretch; flex-wrap: nowrap; }
.btn-ink { background: var(--tar); color: var(--lime); }
.btn-ink:hover { background: #000; }
.final-card .cmd { background: rgba(255,255,255,.45); border-color: rgba(21,20,15,.18); }
.final-card .cmd code { padding: 12px 16px; display: flex; align-items: center; }
.final-card .cmd code b { color: var(--tar); }
.final-card .cmd button { color: #4b4c36; border-left-color: rgba(21,20,15,.18); }
.final-card .cmd button:hover { color: var(--tar); }
.final-card .small { font-size: 13px; color: #4b4c36; }
.final-card .small a { white-space: nowrap; color: var(--tar); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(21,20,15,.35); text-underline-offset: 3px; }
.final-card .small a:hover { text-decoration-color: var(--tar); }
/* where the line can't hold the link, the link takes a line of its own and the dot before it goes, so no line ends on one */
@media (max-width: 419px) { .final-card .small .sep { display: block; font-size: 0; } }
@media (max-width: 960px) { .final-card { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .final-card .cta-row { flex-wrap: wrap; } }
/* narrower still, the card can't hold the command beside its copy button: the button goes under it */
@media (max-width: 380px) {
  .final-card .cmd { flex-direction: column; width: 100%; }
  .final-card .cmd code { padding: 12px 13px; }
  .final-card .cmd button { padding: 9px 0; border-left: 0; border-top: 1px solid rgba(21,20,15,.18); }
}

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 36px; }
.foot-in { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot .about { color: var(--dim); font-size: 14px; margin: 18px 0 0; max-width: 21.45em; }
/* two sentences, two set lines */
.foot .about .l { display: block; text-wrap: balance; }
.foot .foot-t { margin: 0 0 14px; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
/* each link a target a thumb can find, without moving the list */
.foot li a { display: inline-block; padding: 6px 0; margin: -6px 0; color: var(--dim); font-size: 14px; }
.foot li a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; }
.foot-bottom code { font-size: 12px; }
@media (max-width: 860px) { .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-in > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lv-status i { animation: none; }
  .btn, .b, .btn .arw { transition: none; }
}
