/*
  Plumbline.
  One bold first screen: a flag-red field, one question, and the real chain from a service down to the poisoned release,
  with a brass plumb bob hanging at the end. Everything after it is calm white paper with one card, the replay, where the
  detail lives. Red means "exposed" or "changed" and nothing else on the paper; the bob is the only brass.
  Springs for anything you can grab (js/spring.js), feedback on press, and gentler paths for reduced motion/transparency/contrast.
*/

@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-stretch: 100%; font-display: swap; src: url("fonts/bricolage-grotesque-var.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-500.woff2") format("woff2"); }

:root {
  --hero: #d91e45;
  --page: #f6f7f9;
  --surface: #ffffff;
  --ink: #0e1a26;
  --ink-2: #3e4c5a;
  --ink-3: #5a6a78;
  --hair: rgba(14, 26, 38, .1);
  --hair-2: rgba(14, 26, 38, .22);
  --chip: rgba(14, 26, 38, .05);
  --press: rgba(14, 26, 38, .09);
  --flag: #d91e45;
  --flag-ink: #b3123a;
  --flag-wash: rgba(217, 30, 69, .08);
  --hypo: #5a4bb0;
  --live: #1f9d6b;
  --brass: #c7a04a;
  --g-bg: #fafbfc;
  --g-edge: rgba(14, 26, 38, .13);
  --g-node: rgba(14, 26, 38, .5);
  --g-related: #0e1a26;
  --g-path: #d91e45;
  --g-label: #0e1a26;
  --g-halo: #fafbfc;
  --g-glow: 0;
  /* Type, after Apple's approach: the platform face for everything read at text sizes (it ships optical sizing and tracking
     tables), the expressive face only where it is big enough to show its character, mono only for code and identifiers. */
  --text: system-ui, -apple-system, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage Grotesque", "SF Pro Display", "Segoe UI Variable Display", system-ui, sans-serif;
  /* tracking depends on size: big type tightens, small type opens up. A single letter-spacing is wrong somewhere. */
  --track-display: -.045em;
  --track-title: -.03em;
  --track-body: -.011em;
  --track-small: .004em;
  --track-micro: .02em;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --spring: cubic-bezier(.22, 1, .36, 1); /* ease-out-quint: a critically damped spring for the CSS-only moments */
  --blur: saturate(170%) blur(22px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0b131b; --surface: #111c26; --ink: #e9eff3; --ink-2: #b6c4ce; --ink-3: #8c9daa;
    --hair: rgba(255, 255, 255, .09); --hair-2: rgba(255, 255, 255, .22); --chip: rgba(255, 255, 255, .06); --press: rgba(255, 255, 255, .1);
    --flag: #ff4766; --flag-ink: #ff7a90; --flag-wash: rgba(255, 71, 102, .13); --hypo: #b9acff; --live: #4fd3a0;
    --g-bg: #0e1923; --g-edge: rgba(233, 239, 243, .13); --g-node: rgba(233, 239, 243, .5); --g-related: #e9eff3; --g-path: #ff4766; --g-label: #e9eff3; --g-halo: #0e1923; --g-glow: 1;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #0b131b; --surface: #111c26; --ink: #e9eff3; --ink-2: #b6c4ce; --ink-3: #8c9daa;
  --hair: rgba(255, 255, 255, .09); --hair-2: rgba(255, 255, 255, .22); --chip: rgba(255, 255, 255, .06); --press: rgba(255, 255, 255, .1);
  --flag: #ff4766; --flag-ink: #ff7a90; --flag-wash: rgba(255, 71, 102, .13); --hypo: #b9acff; --live: #4fd3a0;
  --g-bg: #0e1923; --g-edge: rgba(233, 239, 243, .13); --g-node: rgba(233, 239, 243, .5); --g-related: #e9eff3; --g-path: #ff4766; --g-label: #e9eff3; --g-halo: #0e1923; --g-glow: 1;
  color-scheme: dark;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 1rem/1.5 var(--text); font-optical-sizing: auto; letter-spacing: var(--track-body); font-feature-settings: "kern", "liga", "calt"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
button, select, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
table { border-collapse: collapse; width: 100%; }
a { color: inherit; }
code, .mono { font-family: var(--mono); font-size: .92em; letter-spacing: 0; }
.muted { color: var(--ink-3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--page); padding: 8px 14px; z-index: 80; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
html.theming, html.theming *, html.theming *::before, html.theming *::after { transition: background-color .4s ease, color .4s ease, border-color .4s ease, fill .4s ease, stroke .4s ease !important; }

/* feedback lives on the press, not the release */
.btn, .btn-hero, .icon-btn, .knot, .row, .ditem, .code-tabs button, .tabs button, .suggest button, .link, .group-head { transition: transform .14s var(--spring), background-color .2s, color .2s, border-color .2s, opacity .2s; }
.btn:active:not(:disabled), .icon-btn:active:not(:disabled), .btn-hero:active { transform: scale(.95); transition-duration: 60ms; }
.tabs button:active, .code-tabs button:active, .suggest button:active { transform: scale(.97); transition-duration: 60ms; }
.row:active, .ditem:active, .knot:active { background: var(--press); }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 max(28px, env(safe-area-inset-left)); color: #fff; border-bottom: 1px solid transparent;
  transition: background-color .35s, color .35s, border-color .35s; }
.nav.solid { color: var(--ink); background: color-mix(in srgb, var(--page) 78%, transparent); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-bottom-color: var(--hair); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.2rem; font-weight: 650; letter-spacing: -.03em; }
.brand.small { font-size: 1rem; }
.brand-bob { fill: #f1dc98; }
.nav.solid .brand-bob, .site-foot .brand-bob { fill: var(--brass); }
.nav-links { display: flex; align-items: center; gap: 4px; font-size: .95rem; }
.nav-links a { text-decoration: none; opacity: .88; padding: 8px 14px; border-radius: 99px; }
.nav-links a:hover { opacity: 1; background: rgba(255, 255, 255, .16); }
.nav.solid .nav-links a:hover { background: var(--chip); }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: inherit; }
.icon-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .16); }
.nav.solid .icon-btn:hover, .deck .icon-btn:hover:not(:disabled) { background: var(--chip); }
.icon-btn:disabled { opacity: .3; cursor: default; }
#theme-btn .i-moon { display: none; }
#theme-btn[data-mode="dark"] .i-sun { display: none; }
#theme-btn[data-mode="dark"] .i-moon { display: block; }

/* ---------- hero: one question, one picture ---------- */
.hero { position: relative; overflow: hidden; background: var(--hero); color: #fff; min-height: 100svh; display: flex; align-items: center; padding: 112px 0 72px; }
.hero-inner { width: 100%; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.3vw, 6.2rem); line-height: .96; font-weight: 650; letter-spacing: -.042em; max-width: 12ch; text-wrap: balance; }
.hero-sub { margin-top: 32px; max-width: 40ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; letter-spacing: -.015em; color: rgba(255, 255, 255, .92); text-wrap: pretty; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 40px; }
.btn-hero { display: inline-block; background: #0e1a26; color: #fff; text-decoration: none; padding: 16px 30px; border-radius: 99px; font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.btn-hero:hover { background: #1b2c3d; }
.hero-link { font-size: 1.05rem; text-underline-offset: 5px; }

.chain { position: relative; justify-self: start; width: 100%; max-width: 420px; }
.chain-list { list-style: none; }
.chain-list li { position: relative; display: flex; align-items: center; gap: 18px; padding: 15px 0 15px 4px; }
.chain-list li::before { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: #fff; }
.chain-list li:first-child::before { top: -70vh; }
.chain-list li.last::before { bottom: auto; height: 15px; }
.node { position: relative; z-index: 1; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid #fff; background: var(--hero); }
.chain .label { font-size: 1.05rem; color: rgba(255, 255, 255, .95); }
.chain .label.mono { font-size: 1rem; }
.swing { flex: none; display: block; width: 30px; height: 42px; margin: 0 0 0 -3px; transform-origin: 50% 0; animation: swing 3.6s cubic-bezier(.3, .6, .4, 1) .4s both; }
.swing svg { display: block; filter: drop-shadow(0 6px 6px rgba(70, 0, 20, .35)); }
.chain .label.poison { background: #0e1a26; color: #fff; padding: 7px 16px; border-radius: 99px; font-size: 1.15rem; font-weight: 500; }
.chain figcaption { margin-top: 28px; padding-left: 4px; font-size: .95rem; color: rgba(255, 255, 255, .88); }
@keyframes swing { 0% { transform: rotate(16deg); } 16% { transform: rotate(-11deg); } 32% { transform: rotate(7deg); } 48% { transform: rotate(-4deg); } 64% { transform: rotate(2.2deg); } 80% { transform: rotate(-1deg); } 100% { transform: rotate(0); } }

/* ---------- sections ---------- */
.band { padding: 128px 0; }
.band h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.02; font-weight: 650; letter-spacing: -.048em; max-width: 17ch; text-wrap: balance; }
.band-lede { margin-top: 18px; max-width: 58ch; font-size: 1.15rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.band-lede strong { color: var(--ink); font-weight: 650; }

/* ---------- the replay: one card ---------- */
.deck { margin-top: 44px; display: grid; grid-template-columns: 270px 330px minmax(0, 1fr); height: 800px; background: var(--surface); border-radius: 28px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--hair), 0 40px 80px -48px rgba(14, 26, 38, .35); }
.col-time, .col-list, .col-detail { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.col-list, .col-detail { border-left: 1px solid var(--hair); }
.clockbar { padding: 24px 24px 12px; }
.now { display: flex; align-items: baseline; gap: 8px; }
.clock { font-size: 2.5rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.utc { font-size: .9rem; color: var(--ink-3); }
.now-label { margin-top: 6px; font-size: 1rem; color: var(--ink-2); min-height: 1.5em; }
.now-label .hypo { color: var(--hypo); font-weight: 600; margin-left: 4px; }
.transport { display: flex; align-items: center; gap: 4px; margin: 14px 0 0 -8px; }
.icon-btn.play { background: var(--ink); color: var(--page); width: 42px; height: 42px; }
.deck .icon-btn.play:hover:not(:disabled) { background: var(--ink); opacity: .86; }
.play .i-pause { display: none; }
.play[data-playing="true"] .i-play { display: none; }
.play[data-playing="true"] .i-pause { display: block; }
.rail-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 14px 0 12px; border-top: 1px solid var(--hair); }

/* the plumb line */
.rail { position: relative; flex: 1; min-height: 0; user-select: none; -webkit-user-select: none; touch-action: none; }
.string { position: absolute; left: 71px; top: 0; width: 2px; margin-left: -1px; border-radius: 2px; background: repeating-linear-gradient(to bottom, var(--hair-2) 0 3px, transparent 3px 7px); }
.string::before { content: ""; position: absolute; left: -8px; top: -2px; width: 18px; height: 3px; border-radius: 2px; background: var(--ink-2); }
.heat { position: absolute; left: 0; top: 0; width: 2px; background: var(--ink-2); border-radius: 2px; }
.rail.hot .heat { background: var(--flag); }
.knots { list-style: none; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 10px 8px 14px 8px; }
.caption { padding-left: 90px; font-size: .8125rem; color: var(--ink-3); line-height: 1; margin: 2px 0 -2px; }
.knot { display: grid; grid-template-columns: 44px 18px minmax(0, 1fr); align-items: center; gap: 10px; width: 100%; height: 34px; padding: 0; text-align: left; border-radius: 10px; position: relative; z-index: 1; }
.knot:hover { background: var(--chip); }
.knot .when { font-size: .8125rem; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; }
.knot .what { font-size: .94rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.knot.current .when { color: var(--ink); font-weight: 600; }
.knot.current .what { color: var(--ink); font-weight: 650; }
.glyph { position: relative; justify-self: center; display: block; width: 10px; height: 10px; transition: transform .3s var(--spring), background-color .2s; }
.knot.current .glyph { transform: scale(1.3); }
.knot-row.start .glyph { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.knot-row.release .glyph { border: 1.8px solid var(--flag); border-radius: 2px; background: var(--surface); }
.knot-row.release .knot.passed .glyph { background: var(--flag); }
.knot-row.decision .glyph { width: 11px; height: 11px; border: 1.8px solid var(--ink-2); border-radius: 50%; background: var(--surface); }
.knot-row.decision .knot.passed .glyph { background: var(--ink-2); }
.knot-row.later .glyph { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 12px solid var(--hair-2); background: none; border-radius: 0; }
.knot-row.later .knot.passed .glyph { border-bottom-color: var(--hypo); }
.bob { position: absolute; z-index: 3; left: 49px; top: 0; width: 44px; height: 30px; display: grid; place-items: end center; cursor: grab; color: var(--ink-2); will-change: transform; touch-action: none; }
.bob::before { content: ""; position: absolute; inset: -10px -4px -6px; }
.bob svg { display: block; overflow: visible; filter: drop-shadow(0 3px 4px rgba(10, 20, 30, .28)); transition: transform .3s var(--spring); transform-origin: 50% 0; }
.rail.dragging, .rail.dragging .bob { cursor: grabbing; }
.rail.dragging .bob svg { transform: scale(1.1); }
.rail-hint { padding: 8px 24px 0; font-size: .875rem; color: var(--ink-3); transition: opacity .3s, transform .3s var(--spring); }
.rail-hint.gone { opacity: 0; transform: translateY(4px); pointer-events: none; }

/* services */
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 24px 20px 8px 24px; }
.list-head h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.025em; }
.select-wrap select { appearance: none; -webkit-appearance: none; max-width: 150px; border: 0; border-radius: 99px; padding: 6px 26px 6px 12px; font: 500 .8125rem var(--mono); color: var(--ink);
  background: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%) calc(100% - 15px) 52% / 5px 5px no-repeat, linear-gradient(135deg, var(--ink-3) 50%, transparent 50%) calc(100% - 10px) 52% / 5px 5px no-repeat, var(--chip); cursor: pointer; }
.counts { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0 24px 14px; font-size: .9rem; color: var(--ink-2); }
.counts span { display: inline-flex; align-items: center; gap: 7px; }
.counts b { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.counts .exposed b { color: var(--flag-ink); }
.fleet { flex: 1; min-height: 0; overflow-y: auto; padding: 0 12px 14px; scrollbar-width: thin; scrollbar-color: var(--hair-2) transparent; }
.group-head { display: flex; align-items: center; gap: 7px; width: 100%; padding: 14px 12px 6px; font-size: .875rem; font-weight: 600; color: var(--ink-3); text-align: left; }
.group-head .n { font-weight: 500; font-variant-numeric: tabular-nums; }
button.group-head:hover { color: var(--ink); }
.chev { transition: transform .25s var(--spring); }
.group-head[aria-expanded="true"] .chev { transform: rotate(90deg); }
.rows { list-style: none; }
.row { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 10px; align-items: start; width: 100%; padding: 10px 12px; text-align: left; border-radius: 12px; }
.row:hover { background: var(--chip); }
.row[aria-current="true"] { background: var(--press); }
.row .name { font: 500 .875rem/1.3 var(--mono); overflow-wrap: anywhere; display: block; letter-spacing: 0; }
.row .sub { font-size: .875rem; color: var(--ink-3); display: block; line-height: 1.4; margin-top: 2px; }
.row .mark { margin-top: 4px; }
.row.flash { animation: flashrow 1.6s ease-out 1; }
.tag { display: inline-block; margin-left: 6px; padding: 0 8px; border: 1px solid var(--hair-2); border-radius: 99px; font-size: .75rem; line-height: 1.6; color: var(--ink-3); vertical-align: 1px; }
.tag.change { border-color: var(--flag); color: var(--flag-ink); }
.empty { padding: 20px 12px; color: var(--ink-3); }
.mark { display: inline-block; flex: none; width: 11px; height: 11px; vertical-align: -1px; }
.mark.EXPOSED { background: var(--flag); border-radius: 3px; }
.mark.UNKNOWN { border: 1px solid var(--ink-2); border-radius: 3px; background: repeating-linear-gradient(45deg, var(--ink-2) 0 1px, transparent 1px 3.5px); }
.mark.CLEARED { border: 1.6px solid var(--ink-3); border-radius: 50%; }

/* detail */
.col-detail:focus { outline: none; }
#notice:empty { display: none; }
.notice { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin: 14px 14px 0; padding: 14px 16px; border-radius: 16px; background: var(--flag-wash); font-size: .95rem; line-height: 1.4; animation: panel-in .45s var(--spring) both; }
.notice strong { font-weight: 650; }
.notice .why { display: block; color: var(--ink-2); font-size: .875rem; margin-top: 3px; }
.notice .hypo-tag { color: var(--hypo); font-weight: 600; }
.btn { display: inline-block; border: 0; background: var(--ink); color: var(--page); padding: 9px 18px; border-radius: 99px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.btn:hover:not(:disabled) { opacity: .85; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.tabs { position: relative; display: flex; gap: 4px; padding: 10px 20px 0; flex: none; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--hair); }
.tabs::-webkit-scrollbar { display: none; }
.tab-ink { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; border-radius: 2px 2px 0 0; background: var(--ink); will-change: transform, width; pointer-events: none; }
.tabs button { padding: 12px 12px 14px; font-weight: 500; font-size: .95rem; color: var(--ink-3); white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 650; }
.pill { display: inline-block; min-width: 20px; padding: 0 7px; border-radius: 99px; background: var(--chip); color: var(--ink-2); font-size: .8rem; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.pill.change { background: var(--flag); color: #fff; }
.scroller { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--hair-2) transparent; }
.panel { padding: 28px 28px 40px; }
.panel:not([hidden]) { animation: panel-in .4s var(--spring) both; }

/* graph */
.map { position: relative; height: 430px; border-radius: 20px; background: var(--g-bg); box-shadow: 0 0 0 1px var(--hair); overflow: hidden; }
.map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-veil { position: absolute; left: 24px; right: 24px; top: 50%; transform: translateY(-50%); padding: 22px 24px; border: 1.5px dashed var(--hair-2); border-radius: 18px; color: var(--ink-2);
  background: repeating-linear-gradient(45deg, transparent 0 8px, var(--hair) 8px 9px); }
.map-veil[hidden] { display: none; }
.map-veil strong { display: block; color: var(--ink); font-size: 1.1rem; font-weight: 650; margin-bottom: 4px; }
.map-caption { margin-top: 14px; display: grid; gap: 2px; font-size: .9rem; color: var(--ink-2); }
.map-caption b { font-family: var(--mono); font-weight: 500; font-size: .875rem; color: var(--ink); }
.map-caption .tip { color: var(--ink-3); }
.gv-tip { position: absolute; z-index: 3; max-width: 260px; padding: 7px 11px; border-radius: 10px; background: var(--ink); color: var(--page); font: 400 .8125rem/1.35 var(--mono); pointer-events: none; }

.deck-foot { margin-top: 24px; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-3); max-width: 80ch; }
.status { display: flex; flex-wrap: wrap; gap: 4px 18px; }
#badge-mode::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--hair-2); }
#badge-mode.live::before { background: var(--live); }

/* evidence */
.verdict { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 12px; border-radius: 99px; font-size: .9rem; font-weight: 650; background: var(--chip); }
.verdict.EXPOSED { background: var(--flag-wash); color: var(--flag-ink); }
.ev-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.ev-head h3 { font-size: 2.1rem; font-weight: 650; letter-spacing: -.05em; line-height: 1.05; overflow-wrap: anywhere; }
.ev-meta { margin-top: 6px; font-size: .95rem; color: var(--ink-3); }
.statement { margin-top: 20px; font-size: 1.2rem; line-height: 1.4; letter-spacing: -.018em; max-width: 46ch; text-wrap: pretty; }
.panel .section { margin-top: 34px; }
.panel .section > h4 { margin-bottom: 12px; font-size: .9rem; font-weight: 600; color: var(--ink-3); }
.fix { margin-top: 22px; padding: 14px 18px; border-radius: 16px; background: var(--chip); font-size: 1rem; max-width: 52ch; }

.plumb-svg { display: block; width: 100%; max-width: 440px; height: auto; overflow: visible; }
.plumb-svg text { fill: var(--ink); font-family: var(--text); }
.plumb-svg .sub { fill: var(--ink-3); font-size: 12.5px; }
.plumb-svg .nm { font: 500 13.5px var(--mono); }
.plumb-svg .svc { font: 650 15px var(--text); letter-spacing: -.01em; }
.plumb-svg .line { stroke: var(--ink-2); stroke-width: 2; fill: none; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw .7s cubic-bezier(.4, .1, .2, 1) forwards; }
.plumb-svg .bar { stroke: var(--ink-2); stroke-width: 3; stroke-linecap: round; }
.plumb-svg .joint { fill: var(--surface); stroke: var(--ink-2); stroke-width: 2; opacity: 0; animation: appear .3s ease-out forwards; animation-delay: var(--d); }
.plumb-svg .row { opacity: 0; animation: appear .35s ease-out forwards; animation-delay: var(--d); }
.plumb-svg .bad .nm { fill: var(--flag-ink); }
.plumb-svg .poison { fill: var(--flag); }
.plumb-svg .halo { fill: none; stroke: var(--flag); stroke-width: 1; opacity: .5; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out 1.2s 2; }
.plumb-svg .bobg { animation: drop .6s cubic-bezier(.25, .9, .3, 1.25) both; animation-delay: var(--d); }
.vers { display: flex; flex-wrap: wrap; gap: 8px; }
.vers span { font: 500 .875rem var(--mono); border-radius: 10px; padding: 4px 10px; background: var(--chip); letter-spacing: 0; }
.assumptions { list-style: none; counter-reset: n; display: grid; gap: 4px; }
.assumptions li { counter-increment: n; display: grid; grid-template-columns: 26px minmax(0, 1fr); padding: 8px 0; }
.assumptions li::before { content: counter(n) "."; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.assumptions .why { display: block; font-size: .875rem; color: var(--ink-3); }
.assumptions li.broken { padding: 12px 14px 12px 10px; margin: 2px -10px; border-radius: 14px; background: var(--flag-wash); }
.assumptions li.broken .txt { text-decoration: line-through; text-decoration-color: var(--flag); text-decoration-thickness: 1.5px; }
.assumptions li.broken .why { color: var(--flag-ink); }
.refusal { border: 1.5px dashed var(--hair-2); border-radius: 18px; padding: 20px 22px; background: repeating-linear-gradient(45deg, transparent 0 8px, var(--hair) 8px 9px); }
.refusal strong { display: block; margin-bottom: 6px; font-weight: 650; font-size: 1.1rem; }
.hint { font-size: .875rem; color: var(--ink-3); margin-top: 8px; line-height: 1.45; }
details.proof { border-top: 1px solid var(--hair); margin-top: 34px; padding-top: 16px; }
details.proof summary { cursor: pointer; font-size: .95rem; font-weight: 600; color: var(--ink-2); }
details.proof[open] summary { margin-bottom: 14px; }
.stamp { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; font-size: .95rem; }
.stamp dt { color: var(--ink-3); }
.stamp dd { font-family: var(--mono); font-size: .85rem; overflow-wrap: anywhere; }
.link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-size: .95rem; }
.link:hover:not(:disabled) { color: var(--flag-ink); }
.link:disabled { opacity: .45; cursor: not-allowed; text-decoration-style: dotted; }
.result { font-size: .95rem; margin-left: 10px; }
.result.bad { color: var(--flag-ink); }
pre.cypher { margin: 14px 0 0; background: var(--chip); border-radius: 14px; padding: 16px 18px; overflow: auto; font: 400 .85rem/1.65 var(--mono); max-height: 320px; letter-spacing: 0; }
pre.cypher .c { color: var(--ink-3); } pre.cypher .k { color: var(--flag-ink); font-weight: 500; }
.approve { display: flex; gap: 10px; max-width: 440px; }
.approve input { flex: 1; min-width: 0; border: 0; border-radius: 99px; background: var(--chip); padding: 10px 16px; }
.approve button { background: var(--ink); color: var(--page); padding: 10px 20px; border-radius: 99px; font-weight: 600; font-size: .9rem; }
.approve button:active { transform: scale(.95); }

/* decisions */
.dlist { list-style: none; display: grid; gap: 6px; }
.ditem { position: relative; display: grid; gap: 3px; padding: 16px 18px; border-radius: 16px; cursor: pointer; }
.ditem:hover { background: var(--chip); }
.ditem[aria-current="true"] { background: var(--press); }
.ditem.reopened { box-shadow: inset 3px 0 0 var(--flag); }
.ditem .who { font: 500 .9rem/1.3 var(--mono); overflow-wrap: anywhere; letter-spacing: 0; }
.ditem .by { font-size: .875rem; color: var(--ink-3); }
.ditem .shift { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: .95rem; }
.ditem .to { color: var(--flag-ink); font-weight: 650; }
.ditem .why { font-size: .9rem; color: var(--flag-ink); margin-top: 4px; }
.ditem .badge { position: absolute; right: 18px; top: 16px; font-size: .8125rem; font-weight: 650; color: var(--flag-ink); }
.dnote { margin-top: 18px; font-size: .9rem; color: var(--ink-3); }

/* agent */
.suggest { list-style: none; display: grid; gap: 6px; margin-bottom: 22px; }
.suggest button { text-align: left; width: 100%; padding: 12px 16px; border-radius: 14px; color: var(--ink-2); background: var(--chip); font-size: .95rem; line-height: 1.4; }
.suggest button:hover { color: var(--ink); background: var(--press); }
.ask { display: flex; gap: 10px; }
.ask input { flex: 1; min-width: 0; border: 0; border-radius: 99px; background: var(--chip); padding: 11px 18px; }
.ask input:disabled { color: var(--ink-3); }
.agent-out { margin-top: 26px; }
.trace { font: 400 .85rem/1.8 var(--mono); color: var(--ink-2); border-left: 2px solid var(--hair-2); padding-left: 14px; margin-bottom: 16px; overflow-x: auto; letter-spacing: 0; }
.trace .call::before { content: "› "; color: var(--flag-ink); }
.trace b { font-weight: 500; color: var(--ink); }
.trace .ms { color: var(--ink-3); }
.answer { font-size: 1.1rem; line-height: 1.5; max-width: 52ch; overflow-wrap: anywhere; }
.answer-by { display: block; margin-top: 10px; font-size: .875rem; color: var(--ink-3); }
.thinking { color: var(--ink-3); }

/* ---------- how it works ---------- */
.habits { margin-top: 56px; }
.habit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; padding: 56px 0; border-top: 1px solid var(--hair); }
.habit h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; font-weight: 650; letter-spacing: -.04em; }
.habit p { margin-top: 14px; max-width: 42ch; font-size: 1.15rem; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.ill { display: block; width: 100%; max-width: 440px; justify-self: end; height: auto; min-height: 200px; padding: 30px 32px; border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 1px var(--hair); overflow: visible; }
.ill-line { stroke: var(--ink-2); stroke-width: 2; fill: none; }
.ill-line.thin { stroke: var(--ink-3); stroke-width: 1.5; }
.ill-bar { stroke: var(--ink-2); stroke-width: 3; stroke-linecap: round; }
.ill-joint { fill: var(--surface); stroke: var(--ink-2); stroke-width: 2; }
.ill-bob { fill: var(--flag); }
.ill-t { font: 13px var(--text); fill: var(--ink-2); }
.ill-t.mono { font-family: var(--mono); fill: var(--ink); }
.ill-t.bad { fill: var(--flag-ink); }
.ill-dec circle { fill: var(--surface); stroke: var(--ink-2); stroke-width: 2; }
.ill-dec circle.hot { fill: var(--flag); stroke: var(--flag); }
.ill-notes { display: grid; align-content: center; gap: 14px; font-size: 1rem; color: var(--ink-2); }
.ill-notes .broken { width: fit-content; max-width: 100%; padding: 8px 12px; margin-left: -12px; border-radius: 12px; background: var(--flag-wash); }
.ill-notes .strike { color: var(--ink); text-decoration: line-through; text-decoration-color: var(--flag); text-decoration-thickness: 1.5px; font-size: .9rem; }
.ill-notes .dim { color: var(--flag-ink); font-size: .9rem; }

/* ---------- under the hood ---------- */
.hood { background: var(--surface); box-shadow: 0 -1px 0 var(--hair); }
.hood-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.hood-lede { margin-top: 18px; color: var(--ink-2); max-width: 42ch; font-size: 1.15rem; line-height: 1.5; }
.jobs { margin-top: 40px; display: grid; gap: 26px; }
.jobs dt { font-size: 1.1rem; font-weight: 650; letter-spacing: -.02em; margin-bottom: 4px; }
.jobs dd { color: var(--ink-2); max-width: 46ch; }
.facts { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hair); color: var(--ink-2); max-width: 46ch; }
.facts b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.code-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.code-tabs button { padding: 9px 16px; color: var(--ink-3); font-weight: 500; font-size: .95rem; border-radius: 99px; white-space: nowrap; }
.code-tabs button:hover { color: var(--ink); }
.code-tabs button[aria-selected="true"] { color: var(--page); background: var(--ink); }
.hood pre.cypher { margin: 14px 0 0; background: #0e1a26; color: #c7d6df; border-radius: 22px; padding: 26px 28px; max-height: 440px; min-height: 280px; font-size: .875rem; }
.hood pre.cypher .c { color: #7f98a8; }
.hood pre.cypher .k { color: #ff7a90; }
.hood .hint { margin-top: 14px; max-width: 56ch; font-size: .95rem; }
.bench { margin-top: 104px; padding-top: 64px; border-top: 1px solid var(--hair); }
.bench h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.06; font-weight: 650; letter-spacing: -.045em; }
.bench-lede { margin-top: 14px; color: var(--ink-2); max-width: 66ch; font-size: 1.05rem; }
.table-scroll { overflow-x: auto; margin-top: 28px; border-radius: 22px; box-shadow: 0 0 0 1px var(--hair); background: var(--page); }
.bench-table { min-width: 660px; }
.bench-table th, .bench-table td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.bench-table tr:last-child > * { border-bottom: 0; }
.bench-table thead th { font-size: .9rem; font-weight: 600; color: var(--ink-3); }
.bench-table tbody th { font-weight: 600; max-width: 28ch; }
.bench-table tbody th span, .bench-table td span { display: block; font-size: .875rem; font-weight: 400; color: var(--ink-3); margin-top: 3px; }
.bench-table td b { font-size: 1.9rem; font-weight: 650; letter-spacing: -.045em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bench-table td.miss b { color: var(--flag-ink); }
.bench-note { margin-top: 22px; color: var(--ink-2); max-width: 74ch; font-size: 1rem; }
.site-foot { background: var(--page); color: var(--ink-3); border-top: 1px solid var(--hair); padding: 36px 0 52px; font-size: .9rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: baseline; }
.site-foot .brand { color: var(--ink); }
.site-foot p { max-width: 74ch; }

.toast { position: fixed; left: 24px; bottom: 24px; max-width: 440px; background: var(--ink); color: var(--page); padding: 14px 20px; border-radius: 16px; z-index: 90; font-size: .95rem; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); }
.toast.in { animation: toast-in .45s var(--spring) both; }
.toast.out { animation: toast-out .3s var(--spring) both; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes ring { from { transform: scale(1); opacity: .6; } to { transform: scale(1.9); opacity: 0; } }
@keyframes flashrow { from { background: var(--flag-wash); } to { background: transparent; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toast-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(18px) scale(.96); } }

/* ---------- narrower: the card stacks, the plumb line becomes a row of chips ---------- */
@media (max-width: 1179px) {
  .deck { grid-template-columns: minmax(0, 1fr); height: auto; }
  .col-list, .col-detail { border-left: 0; border-top: 1px solid var(--hair); }
  .fleet { max-height: 440px; }
  .scroller { overflow: visible; }
  .rail-wrap { padding: 8px 0; }
  .rail { touch-action: pan-x pan-y; }
  .string, .bob, .rail-hint, .caption { display: none; }
  .knots { flex-direction: row; justify-content: flex-start; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 20px 10px; scrollbar-width: none; }
  .knots::-webkit-scrollbar { display: none; }
  .knot-row { flex: none; scroll-snap-align: center; }
  .knot { display: flex; width: auto; height: 46px; padding: 0 16px 0 14px; gap: 10px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--hair); }
  .knot.current { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--chip); }
  .knot .when { text-align: left; }
  .knot .what { overflow: visible; }
}
@media (max-width: 959px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero { padding-top: 104px; align-items: flex-start; }
  .chain { max-width: 360px; }
  .band { padding: 80px 0; }
  .habit { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 0; }
  .ill { justify-self: start; }
  .hood-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 0 14px 0 20px; }
  .nav-links a { display: none; }
  .hero h1 { font-size: 2.7rem; }
  .panel { padding: 22px 18px 30px; }
  .ev-head h3 { font-size: 1.7rem; }
  .map { height: 360px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .plumb-svg .line { stroke-dashoffset: 0; }
  .plumb-svg .row, .plumb-svg .joint { opacity: 1; }
  .panel:not([hidden]), .notice { animation: appear .2s ease both !important; }
  .toast.in { animation: appear .2s ease both !important; }
  .toast.out { animation: none !important; opacity: 0; }
  .btn:active:not(:disabled), .icon-btn:active:not(:disabled), .btn-hero:active, .tabs button:active, .code-tabs button:active, .suggest button:active, .approve button:active { transform: none; }
  .knot.current .glyph, .rail.dragging .bob svg { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav.solid { background: var(--page); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --hair: rgba(14, 26, 38, .5); --ink-3: var(--ink-2); }
  :root[data-theme="dark"] { --hair: rgba(255, 255, 255, .5); }
  .deck { box-shadow: 0 0 0 2px var(--ink); }
  .hero-sub, .chain figcaption { color: #fff; }
}


/* ---------- type roles ---------- */
h1, h2, h3, .brand, .clock, .bench td b { font-family: var(--display); font-optical-sizing: auto; }
.list-head h3 { font-size: 1.1rem; letter-spacing: var(--track-title); }
h1 { letter-spacing: var(--track-display); line-height: .96; }
h2, .band h2 { letter-spacing: -.04em; line-height: 1.04; }
h3 { letter-spacing: var(--track-title); line-height: 1.12; }
.clock, .bench td b, .spark-head b { font-variant-numeric: tabular-nums lining-nums; }
/* leading tightens as size grows: display ~1, titles ~1.1, body 1.5, captions 1.4 */
.hero-sub, .band-lede, .hood-lede { line-height: 1.45; letter-spacing: -.016em; }
.statement { letter-spacing: -.02em; line-height: 1.35; }
/* small text opens up for legibility */
.when, .utc, .caption, .tag, .pill, .row .sub, .rail-hint, .deck-foot, .map-caption, .hint, .ev-meta, .answer-by, .ditem .by, .legend, .bar-val span, .bar-group figcaption span, .spark-head, .assumptions .why, .stamp dt { letter-spacing: var(--track-small); }
.caption, .tag, .pill, .spark-head, .when { letter-spacing: var(--track-micro); }
.tabs button, .btn, .verdict, .group-head { letter-spacing: var(--track-small); }
.nav-links { letter-spacing: -.005em; }

/* ---------- data visualization ---------- */
/* verdict proportions: one bar, segments split by a 2px gap, data-ends rounded 4px; texture and shape carry identity so colour is never alone */
.stack { display: flex; gap: 2px; height: 12px; margin: 2px 0 12px; }
.seg { display: block; min-width: 6px; height: 100%; }
.seg:first-child { border-radius: 5px 2px 2px 5px; }
.seg:last-child { border-radius: 2px 5px 5px 2px; }
.seg:only-child { border-radius: 5px; }
.seg.EXPOSED { background: var(--flag); }
.seg.UNKNOWN { background: repeating-linear-gradient(45deg, var(--ink-2) 0 1.5px, var(--chip) 1.5px 5px); box-shadow: inset 0 0 0 1px var(--ink-3); }
.seg.CLEARED { background: var(--hair-2); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .875rem; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend b { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.counts { display: block; padding: 0 24px 14px; }

/* exposure over time */
.spark { margin-top: 14px; }
.spark[hidden] { display: none; }
.spark-head { display: flex; align-items: baseline; justify-content: space-between; font-size: .8125rem; color: var(--ink-3); }
.spark-head b { font-size: 1.05rem; color: var(--ink); font-weight: 650; }
.spark svg { display: block; overflow: visible; margin-top: 2px; }
.spark .base { stroke: var(--hair-2); stroke-width: 1; }
.spark .line { fill: none; stroke: var(--flag); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark .area { fill: var(--flag-wash); stroke: none; }
.spark .now { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 3; }
.spark .dot { fill: var(--flag); stroke: var(--surface); stroke-width: 2; }

/* benchmark bars: one 0-100% scale for every row, direct labels, no gridlines to decode */
.bars { margin-top: 28px; display: grid; gap: 36px; max-width: 760px; }
.bar-group { margin: 0; display: grid; gap: 10px; }
.bar-group figcaption { font-weight: 650; font-size: 1.05rem; letter-spacing: var(--track-title); }
.bar-group figcaption span { display: block; font-weight: 400; font-size: .875rem; color: var(--ink-3); margin-top: 1px; }
.bar-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 118px; align-items: center; gap: 14px; }
.bar-name { font-size: .9rem; color: var(--ink-2); }
.bar-track { position: relative; height: 14px; background: var(--chip); border-radius: 3px 7px 7px 3px; }
.bar-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px 7px 7px 3px; background: var(--ink); }
.bar-row.sql .bar-fill { background: color-mix(in srgb, var(--ink) 55%, var(--page)); }
.bar-row.retrieval .bar-fill { background: color-mix(in srgb, var(--ink) 30%, var(--page)); }
.bar-val { display: flex; flex-direction: column; line-height: 1.2; }
.bar-val b { font-family: var(--display); font-size: 1.15rem; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bar-val span { font-size: .8rem; color: var(--ink-3); }
.bench-details { margin-top: 32px; max-width: 760px; }
@media (max-width: 640px) { .bar-row { grid-template-columns: minmax(0, 1fr) 100px; } .bar-name { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: no-preference) { .bar-fill { animation: grow .8s var(--spring) both; transform-origin: left; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: none; } }

/* Replay, calmer: one sentence of narration, quieter rows, and the machinery behind a disclosure */
.story { max-width: 62ch; margin: 0 0 22px; font-size: 1.15rem; line-height: 1.45; letter-spacing: -.012em; color: var(--ink-2); text-wrap: pretty; }
.story b { color: var(--ink); font-weight: 600; }
.story b.hot { color: var(--flag-ink); }
.row .sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .sub .public { font-style: normal; margin-left: 8px; padding: 0 7px; border-radius: 99px; background: var(--chip); font-size: .75rem; color: var(--ink-3); }
.panel .fix { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: baseline; margin-top: 8px; border-left: 3px solid var(--flag); border-radius: 4px 14px 14px 4px; }
.panel .fix p { margin: 0; }
.fix-k { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--flag-ink); }
details.proof > summary { list-style: none; display: flex; align-items: center; gap: 8px; }
details.proof > summary::before { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); transition: transform .2s; }
details.proof[open] > summary::before { transform: rotate(45deg); }
details.proof h5 { margin: 22px 0 10px; font-size: .85rem; font-weight: 600; color: var(--ink-3); }
.panel .section { margin-top: 26px; }
.panel .statement { margin-top: 14px; }

.tryit { margin-top: 56px; padding: 28px 30px; border-radius: 22px; background: var(--chip); max-width: 640px; }
.tryit h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; margin-bottom: 12px; }
.tryit ol { padding-left: 22px; display: grid; gap: 6px; color: var(--ink-2); }
.tryit ol b { color: var(--ink); font-weight: 600; }
.tryit p { margin-top: 18px; color: var(--ink-2); }
.tryit [hidden] { display: none; }
.tryit .btn-hero { background: var(--ink); color: var(--page); }
.tryit .btn-hero:hover { background: var(--ink); opacity: .86; }

/* Edges of the page: no rubber-banding into a mismatched background, a tighter footer, and the depth ruler steps aside at the end */
html { overscroll-behavior-y: none; }
.site-foot { padding: 28px 0 32px; }
.depth { transition: opacity .35s; }
.depth.off { opacity: 0; }
.band-lede + .story { margin-top: 20px; }

/* Work queue under the decisions */
#work-queue { margin-top: 30px; }
.wq-head { font-size: .9rem; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.wlist { list-style: none; display: grid; gap: 6px; margin-top: 12px; }
.witem { display: grid; gap: 3px; padding: 14px 18px; border-radius: 16px; background: var(--chip); }
.witem .who { font: 500 .9rem/1.3 var(--mono); overflow-wrap: anywhere; letter-spacing: 0; }
.witem .by { font-size: .875rem; color: var(--ink-3); }
.wtag { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.witem.open .wtag { color: var(--flag-ink); }
.witem.done .wtag { color: var(--ink-3); }

/* What-if form */
#whatif { margin-top: 30px; }
.whatif { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.whatif select, .whatif input { padding: 9px 12px; border-radius: 12px; border: 1px solid var(--hair-2); background: var(--surface); color: var(--ink); font: inherit; min-width: 0; }
.whatif input { width: 7.5em; font-family: var(--mono); }
.wi-msg { min-height: 1.4em; margin-top: 8px; font-size: .9rem; color: var(--flag-ink); }
#wi-clear { margin-top: 10px; }
.wtag .hypo-tag { color: var(--hypo, var(--ink-3)); font-weight: 600; text-transform: none; letter-spacing: 0; margin-left: 4px; }
