/* Brainbacked. One family for everything, code included: Geist Mono (SIL OFL 1.1), self-hosted (owner rule).
   Dark "terminal" theme: amber accent, cyan secondary. One spacing scale and one type scale:
   space 4 8 12 16 24 32 48 64 96 128; type 60 40 28 20 16 14 12. */
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-v1.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font: "Geist Mono", monospace;
  --bg: #0b0d10;
  --raised: #12161b;
  --raised2: #181d24;
  --border: #232a33;
  --border2: #313a46;
  --text: #e7ecf2;
  --muted: #8b96a5;
  --faint: #5d6774;
  --amber: #ffb224;
  --amber-ink: #0b0d10;
  --cyan: #5bd7e6;
  --sev-critical: #ff6b5e;
  --sev-high: #ff8a3d;
  --sev-medium: #f2c14e;
  --sev-low: #7fa7d9;
  --sev-info: #8b96a5;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --t1: 60px; --t2: 40px; --t3: 28px; --t4: 20px; --t5: 16px; --t6: 14px; --t7: 12px;
  --r: 12px;
  --content: 1120px;
  --measure: 70ch;
  --section: var(--s9);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--t5); line-height: 1.6; }
code, pre, kbd, samp { font-family: var(--font); font-size: 0.92em; }
pre { font-size: var(--t7); line-height: 1.6; }

a { color: var(--amber); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--amber-ink); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--s3); top: var(--s3); background: var(--raised); padding: var(--s2) var(--s3); z-index: 50; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: calc(var(--content) + 2 * var(--s5)); margin: 0 auto; padding: 0 var(--s5); }

/* ---------- nav ---------- */
.navbar { position: sticky; top: 0; z-index: 40; background: #0b0d10e6; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); height: 64px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 28px; width: auto; display: block; }
.links { display: flex; align-items: center; gap: var(--s5); font-size: var(--t6); }
.links a { color: var(--muted); text-decoration: none; }
.links a:hover, .links a[aria-current="page"] { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--s5); border-radius: 8px; font-weight: 600; font-size: var(--t6); text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--amber); color: var(--amber-ink) !important; }
.btn-primary:hover { background: #ffc252; }
.btn-ghost { background: transparent; color: var(--text) !important; border-color: var(--border2); }
.btn-ghost:hover { border-color: var(--text); }
.links .btn { min-height: 40px; padding: 0 var(--s4); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4); border: 1px solid var(--border2); border-radius: 8px; font-size: var(--t6); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--text); }
.menu-panel { position: absolute; right: 0; top: calc(100% + var(--s2)); min-width: 220px; background: var(--raised); border: 1px solid var(--border2); border-radius: var(--r); padding: var(--s2); display: grid; }
.menu-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--s3); color: var(--text); text-decoration: none; border-radius: 8px; }
.menu-panel a:hover { background: var(--raised2); }

/* ---------- base content ---------- */
main { padding: var(--s8) 0 var(--s9); }
.home main { padding: 0; }
.prose { max-width: var(--measure); }
h1 { font-size: var(--t2); line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; margin: 0 0 var(--s4); max-width: 28ch; }
h2 { font-size: var(--t3); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; margin: var(--s8) 0 var(--s4); }
h3 { font-size: var(--t4); line-height: 1.4; font-weight: 600; margin: var(--s6) 0 var(--s2); }
p { margin: 0 0 var(--s4); }
.lead { font-size: var(--t4); line-height: 1.5; color: var(--muted); max-width: var(--measure); }
.muted { color: var(--muted); }
.small { font-size: var(--t7); }
ul, ol { padding-left: var(--s5); margin: 0 0 var(--s4); }
li { margin-bottom: var(--s1); }
strong { font-weight: 600; }

.draft { border: 1px solid var(--sev-medium); color: var(--sev-medium); border-radius: 8px; padding: var(--s3) var(--s4); margin: 0 0 var(--s6); font-weight: 600; max-width: var(--measure); }
.meta-line { color: var(--muted); font-size: var(--t6); margin: 0 0 var(--s5); }
.crumb { font-size: var(--t6); color: var(--muted); margin: 0 0 var(--s4); }
.crumb a { color: var(--muted); }

/* code */
pre { background: var(--raised); border: 1px solid var(--border); border-radius: var(--r); padding: var(--s4); overflow-x: auto; margin: 0 0 var(--s4); tab-size: 2; color: var(--text); }
code { overflow-wrap: anywhere; }
pre code { overflow-wrap: normal; }
p code, li code, td code, dd code { background: var(--raised2); border: 1px solid var(--border); padding: 0 5px; border-radius: 5px; font-size: 0.86em; }
td > code:first-child { overflow-wrap: normal; white-space: nowrap; }
.label { font-size: var(--t7); color: var(--muted); margin: var(--s5) 0 var(--s2); }
.j-key { color: var(--cyan); }
.j-str { color: #c9d4e0; }
.j-num { color: var(--amber); }
.j-lit { color: #c792ea; }

/* tables */
.table-scroll { overflow-x: auto; margin: 0 0 var(--s5); }
table { border-collapse: collapse; width: 100%; font-size: var(--t6); }
th, td { text-align: left; vertical-align: top; padding: var(--s3) var(--s4) var(--s3) 0; border-bottom: 1px solid var(--border); }
th { font-weight: 600; color: var(--muted); font-size: var(--t7); white-space: nowrap; }
td.num, th.num { text-align: right; white-space: nowrap; }
td .sub { display: block; color: var(--muted); font-size: var(--t7); margin-top: 2px; }

/* findings report */
.report { background: var(--raised); border: 1px solid var(--border); border-radius: var(--r); margin: 0 0 var(--s4); overflow: hidden; }
.report-head { padding: var(--s4) var(--s5); border-bottom: 1px solid var(--border); display: grid; gap: var(--s1); }
.report-head .req { font-size: var(--t7); color: var(--muted); overflow-wrap: anywhere; }
.report-head .tgt { font-size: var(--t5); font-weight: 600; }
.report-body { padding: 0 var(--s5) var(--s5); }
.report table { font-size: var(--t7); }
.report td:first-child { white-space: nowrap; width: 1%; }
.report .ids { color: var(--muted); }
.report .ids span { display: block; white-space: nowrap; }
.report tr.extra { display: none; }
.report .show-all:checked ~ .table-scroll tr.extra { display: table-row; }
.show-all-label { display: inline-flex; align-items: center; min-height: 44px; color: var(--amber); font-size: var(--t6); font-weight: 600; cursor: pointer; }
.show-all:checked ~ .show-all-label { display: none; }
.show-all:focus-visible ~ .show-all-label { outline: 2px solid var(--amber); outline-offset: 3px; }
.sev { font-weight: 700; }
.sev-critical { color: var(--sev-critical); }
.sev-high { color: var(--sev-high); }
.sev-medium { color: var(--sev-medium); }
.sev-low { color: var(--sev-low); }
.sev-info, .sev-unknown { color: var(--sev-info); }
.prio { display: inline-block; margin-top: var(--s1); font-size: 11px; color: var(--muted); }
.prio-urgent, .prio-high { color: var(--sev-high); }
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s6); margin-top: var(--s5); font-size: var(--t7); }
.coverage > div { min-width: 0; }
.coverage h3 { font-size: var(--t7); color: var(--muted); margin: 0 0 var(--s2); }
.coverage ul { margin: 0; }
.notice { font-size: var(--t7); color: var(--muted); margin: var(--s4) 0 0; }
.facts { display: grid; grid-template-columns: minmax(160px, max-content) 1fr; gap: var(--s1) var(--s5); margin: var(--s4) 0 0; font-size: var(--t7); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
details.raw { margin: 0 0 var(--s4); }
details.raw > summary { cursor: pointer; font-weight: 600; font-size: var(--t6); min-height: 44px; display: flex; align-items: center; color: var(--muted); }
details.raw > pre { max-height: 560px; }

/* capability lists (inner pages) */
.cap-list { list-style: none; padding: 0; margin: 0 0 var(--s2); border-top: 1px solid var(--border); }
.cap-list li { display: grid; grid-template-columns: minmax(200px, 240px) 1fr auto; gap: var(--s1) var(--s5); padding: var(--s3) 0; border-bottom: 1px solid var(--border); margin: 0; align-items: baseline; }
.cap-list li > * { min-width: 0; }
.cap-list .cid { font-size: var(--t6); }
.cap-list .price { font-size: var(--t7); color: var(--muted); text-align: right; }
.cap-list .desc { display: block; color: var(--muted); font-size: var(--t7); margin-top: 2px; }
.steps { padding-left: var(--s5); max-width: var(--measure); }
.steps li { margin-bottom: var(--s3); }

/* docs */
.docs { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--s7); }
.toc { position: sticky; top: 96px; align-self: start; font-size: var(--t6); }
.toc ul { list-style: none; padding: 0; }
.toc li { margin-bottom: var(--s2); }
.toc a { color: var(--muted); }
.docs-main { max-width: 820px; }
.docs-main h2:first-child { margin-top: 0; }
.client-h { display: flex; align-items: center; gap: var(--s3); }
.client-h svg { width: 20px; height: 20px; flex: none; }

/* forms */
form.inline { display: flex; gap: var(--s2); flex-wrap: wrap; max-width: 560px; margin: var(--s3) 0; }
form.inline label { flex-basis: 100%; font-size: var(--t6); font-weight: 600; }
input[type="email"], input[type="text"] { flex: 1 1 240px; min-height: 44px; font: inherit; font-size: var(--t5); padding: 0 var(--s4); border: 1px solid var(--border2); border-radius: 8px; background: var(--raised); color: var(--text); }
input::placeholder { color: var(--faint); }
button { font: inherit; font-size: var(--t6); font-weight: 600; min-height: 44px; padding: 0 var(--s5); border-radius: 8px; border: 0; background: var(--amber); color: var(--amber-ink); cursor: pointer; }
button:disabled { opacity: 0.55; cursor: default; }
.form-msg { min-height: 1.5em; font-size: var(--t6); }
.form-msg.err { color: var(--sev-critical); }
.keybox[hidden] { display: none; }
.keybox pre { font-size: var(--t6); border-color: var(--amber); }
.nojs { font-size: var(--t7); color: var(--muted); }
.js .nojs { display: none; }

/* footer */
.site-foot { border-top: 1px solid var(--border); padding: var(--s7) 0; font-size: var(--t7); color: var(--muted); }
.site-foot .row { display: flex; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; align-items: center; margin-bottom: var(--s4); }
.site-foot nav { display: flex; gap: var(--s2) var(--s5); flex-wrap: wrap; }
.site-foot nav a { color: var(--text); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.site-foot nav a:hover { color: var(--amber); }
.site-foot p { margin: 0 0 var(--s2); max-width: 90ch; }
.site-foot img { height: 24px; width: auto; display: block; }

/* =================== home =================== */
.section { padding: var(--section) 0; border-top: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: var(--s7); }
.eyebrow { font-size: var(--t7); color: var(--amber); margin: 0 0 var(--s3); }
.section-head h2 { font-size: var(--t2); line-height: 1.15; margin: 0 0 var(--s4); }
.section-head p { color: var(--muted); margin: 0; }

.hero { position: relative; padding: var(--s9) 0 var(--s8); text-align: center; isolation: isolate; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 8px 8px; opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 0%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 0%, transparent 80%);
}
.hero h1 { font-size: var(--t1); line-height: 1.05; letter-spacing: -0.045em; margin: 0 auto var(--s5); max-width: 20ch; }
.subline { font-size: var(--t4); color: var(--muted); margin: 0 auto var(--s6); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s2) var(--s3); min-height: 32px; }
.subline .role { color: var(--text); }
.cursor { display: inline-block; width: 0.55em; height: 1.1em; background: var(--amber); margin-left: 3px; vertical-align: -0.2em; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.logos { display: inline-flex; gap: var(--s2); align-items: center; }
.logo { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--raised); border: 1px solid var(--border); }
.logo svg { width: 18px; height: 18px; display: block; }
.hero-cta { display: flex; justify-content: center; gap: var(--s3); flex-wrap: wrap; }

/* diagram */
.scene { position: relative; display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: var(--s6); align-items: center; margin: var(--s8) auto 0; text-align: left; }
.scene > * { position: relative; z-index: 1; min-width: 0; }
.routes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; pointer-events: none; }
.routes path { fill: none; stroke: var(--cyan); stroke-opacity: 0.35; stroke-width: 1; vector-effect: non-scaling-stroke; }
.routes .pulse { stroke: var(--amber); stroke-opacity: 1; stroke-width: 3; stroke-dasharray: 2 98; stroke-linecap: square; animation: flow 3.2s linear infinite; }
.routes .d2 { animation-delay: -1.1s; }
.routes .d3 { animation-delay: -2.2s; }
@keyframes flow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.card { background: var(--raised); border: 1px solid var(--border); border-radius: var(--r); }
.agent-card { display: flex; gap: var(--s3); align-items: center; padding: var(--s4); }
.agent-card .logo { width: 40px; height: 40px; background: var(--raised2); }
.agent-card .logo svg { width: 22px; height: 22px; }
.agent-card b { display: block; font-size: var(--t6); font-weight: 600; }
.agent-card i { display: block; font-style: normal; font-size: var(--t7); color: var(--muted); }
.tasks { list-style: none; padding: var(--s4) 0 0; margin: 0; }
.tasks li { display: grid; grid-template-columns: 16px 1fr 16px; gap: var(--s3); align-items: center; font-size: var(--t7); color: var(--muted); margin-bottom: var(--s3); }
.tasks .bx { width: 12px; height: 12px; border: 1px solid var(--border2); }
.tasks .ok { color: var(--amber); opacity: 0; transition: opacity 0.3s; }
.tasks li.done { color: var(--text); }
.tasks li.done .bx { background: var(--amber); border-color: var(--amber); }
.tasks li.done .ok { opacity: 1; }
.tasks li.active .bx { border-color: var(--cyan); background: transparent; box-shadow: 0 0 0 3px #5bd7e626; }
.core { display: flex; flex-direction: column; align-items: center; gap: var(--s5); }
.core-mark { width: 128px; height: 128px; display: grid; place-items: center; }
.core-mark svg { width: 128px; height: 128px; display: block; }
.core-mark .bit { transition: opacity 0.25s; }
.cli { max-width: 100%; background: var(--raised); border: 1px solid var(--border); border-radius: 8px; padding: var(--s2) var(--s3); font-size: var(--t7); color: var(--muted); text-align: center; }
.cli .ps { color: var(--amber); }
.cli b { color: var(--cyan); font-weight: 500; }
.cli .ok { color: var(--amber); }
.sl { font-size: var(--t7); color: var(--muted); margin: 0 0 var(--s3); }
.toolbelt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.tool { display: flex; align-items: center; gap: var(--s3); min-height: 48px; padding: var(--s2) var(--s3); font-size: var(--t7); transition: border-color 0.25s, color 0.25s; }
.tool .mono { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: var(--raised2); border: 1px solid var(--border2); color: var(--cyan); font-size: 10px; font-weight: 600; }
.tool.lit { border-color: var(--amber); }
.tool.lit .mono { color: var(--amber); border-color: var(--amber); }

/* give it to your agent */
.givebox { max-width: 720px; margin: 0 auto; padding: var(--s6); text-align: center; position: relative; }
.givebox h2 { font-size: var(--t3); margin: 0 0 var(--s3); }
.givebox > p { color: var(--muted); margin: 0 auto var(--s5); max-width: 56ch; }
.gb-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s5); }
.gb-cmd { display: flex; align-items: center; gap: var(--s3); background: var(--bg); border: 1px solid var(--border2); border-radius: 8px; padding: var(--s2) var(--s2) var(--s2) var(--s4); text-align: left; }
.gb-cmd .ps { color: var(--amber); }
.gb-cmd code { flex: 1; font-size: var(--t6); overflow-wrap: anywhere; }
.gb-cmd button { min-width: 80px; }
/* catalog */
.ctabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s5); }
.ctab { background: transparent; color: var(--muted); border: 1px solid var(--border); font-weight: 500; font-size: var(--t7); padding: 0 var(--s4); min-height: 40px; }
.ctab[aria-selected="true"] { color: var(--amber-ink); background: var(--amber); border-color: var(--amber); }
.ctab:hover { color: var(--text); border-color: var(--border2); }
.ctab[aria-selected="true"]:hover { color: var(--amber-ink); }
.pcat { font-size: var(--t5); margin: var(--s6) 0 var(--s3); }
.js .pcat { display: none; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.js .pgrid[hidden] { display: none; }
.pcard { display: flex; flex-direction: column; min-height: 176px; padding: var(--s5); text-decoration: none; color: var(--text); transition: border-color 0.2s; }
.pcard:hover { border-color: var(--border2); }
.pcard .cid { font-size: var(--t7); color: var(--cyan); margin-bottom: var(--s2); }
.pcard .job { font-size: var(--t6); font-weight: 500; line-height: 1.45; }
.pcard .prices { margin-top: auto; padding-top: var(--s4); display: grid; gap: var(--s1); font-size: var(--t7); }
.pcard .prow { display: flex; justify-content: space-between; gap: var(--s3); }
.pcard .prow span:first-child { color: var(--faint); }
.pcard .ours { color: var(--amber); font-weight: 600; text-align: right; }
.pcard s { color: var(--muted); text-align: right; }
.pcard .none { color: var(--faint); }
.cat-foot { display: flex; justify-content: space-between; gap: var(--s5); align-items: flex-start; flex-wrap: wrap; margin-top: var(--s6); }
.fn { font-size: var(--t7); color: var(--muted); max-width: 80ch; margin: 0; }
.fn a { color: var(--muted); }

/* three points */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.point { display: flex; flex-direction: column; }
.point .num { font-size: var(--t7); color: var(--amber); margin-bottom: var(--s3); }
.point h3 { font-size: var(--t4); margin: 0 0 var(--s3); }
.point p { color: var(--muted); font-size: var(--t6); margin: 0 0 var(--s5); }
.point .card { margin-top: auto; padding: var(--s4); font-size: var(--t7); min-height: 232px; display: flex; flex-direction: column; }
.keyrow { display: flex; gap: var(--s2); background: var(--bg); border: 1px solid var(--border2); border-radius: 8px; padding: var(--s2) var(--s3); margin-bottom: var(--s3); }
.keyrow .dots { color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); }
.chips span { border: 1px solid var(--border); border-radius: 4px; padding: 2px 6px; color: var(--muted); }
.fcard dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--s1) var(--s3); margin: 0; }
.fcard dt { color: var(--faint); }
.fcard dd { margin: 0; overflow-wrap: anywhere; }
.fcard .tt { font-weight: 600; margin-bottom: var(--s3); }
.lrow { display: flex; justify-content: space-between; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--border); }
.lrow:last-child { border-bottom: 0; }
.lrow .pr { text-align: right; }
.lrow s { color: var(--faint); display: block; }
.lrow em { font-style: normal; color: var(--amber); font-weight: 600; }

.keyband { text-align: center; }
.keyband .section-head { margin-left: auto; margin-right: auto; }
.keyband form.inline { margin: 0 auto var(--s2); justify-content: center; }
.keyband .keybox { max-width: 640px; margin: 0 auto; text-align: left; }

@media (max-width: 1000px) {
  .scene { grid-template-columns: 1fr 1fr; gap: var(--s5); max-width: 640px; }
  .scene .core { grid-column: 1 / -1; grid-row: 1; }
  .routes { display: none; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .points { grid-template-columns: 1fr; max-width: 640px; }
  .point .card { min-height: 0; }
}
@media (max-width: 820px) {
  :root { --t1: 40px; --t2: 28px; --t3: 24px; --t4: 18px; --section: var(--s8); }
  body { font-size: 15px; }
  main { padding-top: var(--s7); }
  .links { display: none; }
  .menu { display: block; }
  .docs { grid-template-columns: 1fr; gap: var(--s2); }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
  .cap-list li { grid-template-columns: 1fr; gap: 2px; }
  .cap-list .price { text-align: left; }
  .coverage { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: var(--s2); }
  .report-head, .report-body { padding-left: var(--s4); padding-right: var(--s4); }
  .report table.findings thead { position: absolute; left: -9999px; }
  .report table.findings, .report table.findings tbody, .report table.findings tr, .report table.findings td { display: block; width: 100%; }
  .report table.findings tr { padding: var(--s3) 0; border-bottom: 1px solid var(--border); }
  .report table.findings td { border: 0; padding: 2px 0; }
  .report table.findings td.where { display: none; }
  .report table.findings tr.extra { display: none; }
  .report .show-all:checked ~ .table-scroll table.findings tr.extra { display: block; }
  .hero { padding: var(--s8) 0 var(--s7); }
  .section-head { margin-bottom: var(--s6); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 var(--s4); }
  .scene { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .pcard { min-height: 0; }
  .givebox { padding: var(--s5) var(--s4); }
  .gb-cmd { flex-wrap: wrap; }
  .gb-cmd button { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (max-width: 600px) {
  table.stack thead { position: absolute; left: -9999px; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: var(--s3) 0; border-bottom: 1px solid var(--border); }
  table.stack td { border: 0; padding: 2px 0; text-align: left; display: flex; justify-content: space-between; gap: var(--s3); }
  table.stack td:first-child { display: block; margin-bottom: var(--s2); }
  table.stack td[data-label]::before { content: attr(data-label); color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) {
  .routes .pulse { display: none; }
  .cursor { animation: none; }
  .tool, .tasks .ok, .core-mark .bit { transition: none; }
}

/* add credit */
.credit-form { display: grid; gap: 12px; max-width: 480px; margin: 32px 0; }
.credit-form input { min-height: 44px; }
.credit-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.credit-amounts button { min-height: 48px; }
.credit-note { color: var(--muted, #8B96A5); font-size: 14px; margin: 0; }
