/* RunLedger site. Mobile-first. Geist + Geist Mono are self-hosted (SIL OFL, see fonts/OFL.txt). */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist-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: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist-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: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist-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: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist-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; }

:root {
  color-scheme: dark;
  --bg: #07080a;
  --panel: #0d1013;
  --panel-2: #12161a;
  --fg: #f3f4f1;
  --fg-2: #a4aab0;
  --fg-3: #98a0a7;
  --line: #ffffff17;
  --line-2: #ffffff2e;
  --accent: #4fe0b0;
  --accent-dim: #4fe0b01f;
  --amber: #f5b544;
  --red: #ff7378;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --max: 1240px;
  --outer: clamp(8px, 2vw, 24px);
  --pad: clamp(16px, 3.5vw, 48px);
  --sec: clamp(56px, 8vw, 104px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; background: var(--bg); }
html.motion { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
code, pre, kbd { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #07080a; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: 6px; background: var(--fg); color: var(--bg); font-weight: 500; text-decoration: none; }
.skip:focus { top: 10px; }

/* Layout: two fine vertical rails frame the content column. */
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; width: min(100% - 2 * var(--outer), var(--max)); margin-inline: auto; border-inline: 1px solid var(--line); }
.wrap { position: relative; z-index: 1; width: min(100% - 2 * var(--outer), var(--max)); margin-inline: auto; padding-inline: var(--pad); }
main, footer { position: relative; z-index: 1; }
.sec { position: relative; padding-block: var(--sec); border-top: 1px solid var(--line); }
/* Single-column grids must be able to shrink below their content on narrow screens. */
.split, .demo, .how, .hero__grid, .agent, .cases, .stats, .links, .ftr__grid, .cols3, .steps { grid-template-columns: minmax(0, 1fr); }
.label { margin-bottom: 16px; font: 500 15px/1.3 var(--sans); letter-spacing: -.005em; color: var(--accent); }
.h2 { max-width: 16ch; font-weight: 500; font-size: clamp(2.1rem, 1.1rem + 4.6vw, 4.4rem); line-height: 1; letter-spacing: -.04em; }
.h2 em { font-style: normal; color: var(--fg-3); }
.lede { max-width: 52ch; margin-top: 20px; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--fg-2); }
.mono { font-family: var(--mono); }
.hint { font: 400 12.5px/1.5 var(--mono); color: var(--fg-3); }
.link { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: var(--accent); }

/* Header + mobile nav */
.hdr { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: var(--bg); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 17px/1 var(--sans); letter-spacing: -.02em; text-decoration: none; }
.mark { flex: none; width: 26px; height: 26px; }
.mark rect { fill: var(--accent); }
.mark path { fill: none; stroke: #07080a; stroke-width: 2.5; stroke-linecap: round; }
.mark circle { fill: #07080a; }
.prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }
.nav { display: none; }
.hdr .hdr__cta { display: none; }
.tog { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; cursor: pointer; }
.tog i { grid-area: 1 / 1; width: 20px; height: 1.5px; background: var(--fg); transition: transform .3s var(--ease); }
.tog i:first-child { transform: translateY(-4px); }
.tog i:last-child { transform: translateY(4px); }
.tog[aria-expanded="true"] i:first-child { transform: rotate(45deg); }
.tog[aria-expanded="true"] i:last-child { transform: rotate(-45deg); }
.js .nav { display: flex; flex-direction: column; position: fixed; inset: 61px 0 0; z-index: 40; padding: 12px var(--pad) 32px; overflow-y: auto; background: var(--bg); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.js .hdr.open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav a { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid var(--line); font-size: clamp(1.5rem, 6vw, 2rem); letter-spacing: -.03em; text-decoration: none; }
.nav a span { font: 400 12px/1 var(--mono); color: var(--fg-3); }
.nav .nav__gh { margin-top: 20px; border: 0; justify-content: center; }
html:not(.js) .nav { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0 var(--pad) 12px; }
html:not(.js) .nav a { min-height: 32px; font-size: 14px; border: 0; }
html:not(.js) .tog { display: none; }
body.lock { overflow: hidden; }

/* Buttons + badges */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); color: #07080a; font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease); }
.btn { transform: translate3d(var(--tx, 0), var(--ty, 0), 0); }
.btn:hover { transform: translate3d(var(--tx, 0), calc(var(--ty, 0px) - 2px), 0); }
.btn:active { transform: translate3d(var(--tx, 0), var(--ty, 0), 0) scale(.98); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.cmd { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; max-width: 100%; padding: 0 8px 0 16px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); font-size: 13.5px; cursor: pointer; transition: border-color .2s; }
.cmd:hover { border-color: var(--accent); }
.cmd code { font-size: inherit; white-space: nowrap; }
.cmd code b { color: var(--accent); font-weight: 400; }
.cmd__tx { display: inline-flex; align-items: center; gap: 6px; min-width: 84px; justify-content: center; padding: 8px 10px; border-radius: 5px; background: var(--panel-2); font: 500 13px/1 var(--sans); color: var(--fg-2); }
.cmd__tx svg { width: 13px; height: 13px; }
.cmd .ok { display: none; }
.cmd.done { border-color: var(--accent); }
.cmd.done .cmd__tx { background: var(--accent-dim); color: var(--accent); }
.cmd.done .ok { display: block; }
.cmd.done .cp { display: none; }
.bd { display: inline-block; padding: 2px 7px; border: 1px solid var(--line-2); border-radius: 4px; font: 500 10.5px/1.5 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; }
.bd--high, .bd--deny { color: var(--red); border-color: #ff737866; background: #ff73781a; }
.bd--med, .bd--ask { color: var(--amber); border-color: #f5b54466; background: #f5b5441a; }
.bd--pass, .bd--allow { color: var(--accent); border-color: #4fe0b066; background: var(--accent-dim); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 8vw, 104px) clamp(56px, 9vw, 120px); }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; }
.rec { display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1.3 var(--sans); color: var(--fg-2); }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.motion .rec i { animation: pulse 1.6s ease-in-out infinite; }
.h1 { margin-top: 20px; font-weight: 500; font-size: clamp(2.7rem, 1.1rem + 8.2vw, 6.2rem); line-height: .96; letter-spacing: -.05em; }
.h1 .hl { color: var(--accent); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .12em 0; margin: 0 -.05em -.12em 0; }
.w > span { display: inline-block; }
.motion .w > span { transform: translateY(108%); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 55ms + 80ms); }
.sub { max-width: 34ch; margin-top: 24px; font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); line-height: 1.4; color: var(--fg-2); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.cta .cmd { flex: 1 1 260px; max-width: 420px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 28px; font-size: 14.5px; line-height: 1.4; color: var(--fg-2); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 5px; height: 5px; background: var(--accent); }

/* Receipt tape */
.tape { position: relative; border: 1px solid var(--line-2); border-radius: 10px; background: #0b0e11; overflow: hidden; }
.tape__hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); font: 400 11.5px/1.3 var(--mono); color: var(--fg-3); }
.tape__hd b { color: var(--fg); font-weight: 500; }
.tape__hd .rec { padding: 4px 9px 4px 8px; font-size: 10.5px; }
.tape__run { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows { counter-reset: r; }
.row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 38px; padding-inline: 14px; border-bottom: 1px dashed var(--line); font: 400 12.5px/1 var(--mono); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.row .i { color: var(--fg-3); }
.row .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg); }
.row .t s { text-decoration: none; color: var(--fg-3); }
.row .k { display: none; color: var(--fg-3); text-align: right; }
.row.risk { background: #ff73780f; }
.motion .row:not(.on) .k, .motion .row:not(.on) .bd { visibility: hidden; }
.motion .row.risk:not(.on) { background: none; }
.motion .row:not(.on) .i { color: #ffffff40; }
.motion .row:not(.on) .t::before { content: ""; display: block; width: var(--w, 52%); height: 6px; border-radius: 3px; background: var(--line); }
.row:nth-child(3n+1) { --w: 58%; } .row:nth-child(3n+2) { --w: 44%; } .row:nth-child(3n) { --w: 70%; }
.row.on { animation: print .4s var(--ease); }
.row.typing .t::after { content: ""; display: inline-block; width: 7px; height: 13px; margin-left: 2px; vertical-align: -2px; background: var(--accent); }
.motion .row.typing .t::after { animation: blink .8s steps(1) infinite; }
.tape__ft { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.tape__ft > div { padding: 12px 14px; background: #0b0d10; }
.tape__ft dt { font: 400 12.5px/1 var(--sans); color: var(--fg-3); }
.tape__ft dd { margin-top: 8px; font: 500 15px/1 var(--mono); }
.tape__ft .red { color: var(--red); }
.tape__ft dd, .meter__bar { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.motion .tape__ft:not(.on) dd { opacity: 0; transform: translateY(8px); }
.motion .tape__ft:not(.on) dt { opacity: .45; }
.tape__ft > div:nth-child(2) dd { transition-delay: 70ms; } .tape__ft > div:nth-child(3) dd { transition-delay: 140ms; } .tape__ft > div:nth-child(4) dd { transition-delay: 210ms; } .tape__ft > div:nth-child(5) dd { transition-delay: 300ms; }
.meter { grid-column: 1 / -1; padding: 12px 14px 14px; background: #0b0d10; }
.meter__bar { height: 4px; margin-top: 10px; border-radius: 2px; background: var(--line); overflow: hidden; }
.meter__bar i { display: block; width: 100%; height: 100%; background: var(--red); transform: scaleX(.8); transform-origin: 0 50%; transition: transform 1.2s var(--ease); }
.motion .tape__ft:not(.on) .meter__bar i { transform: scaleX(0); }
.tape__cap { margin-top: 12px; }

/* Ticker */
.ticker { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--line); padding-block: 14px; font: 400 12px/1 var(--mono); letter-spacing: .06em; color: var(--fg-3); white-space: nowrap; }
.ticker__in { display: flex; width: max-content; }
.ticker__in span { padding-inline: 18px; }
.ticker__in span::before { content: "+"; margin-right: 36px; color: var(--accent); }
.motion .ticker__in { animation: tick 50s linear infinite; }

/* Problem */
.big { max-width: 22ch; font-weight: 500; font-size: clamp(2rem, 1rem + 5vw, 4.8rem); line-height: 1.02; letter-spacing: -.04em; }
.motion .big .wd { opacity: .62; transition: opacity .4s var(--ease); }
.motion .big .wd.on { opacity: 1; }
.cols3 { display: grid; gap: 0; margin-top: clamp(48px, 8vw, 96px); border-top: 1px solid var(--line); }
.col3 { padding: 28px 0; border-bottom: 1px solid var(--line); }
.col3 h3 { margin-top: 14px; font-weight: 500; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.2; }
.col3 p { margin-top: 10px; color: var(--fg-2); max-width: 42ch; }

/* How it works */
.how { display: grid; gap: 40px; }
.how__nav { display: none; }
.steps { position: relative; display: grid; gap: 0; padding-left: 28px; }
.steps::before, .steps__fill { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.steps__fill { background: var(--accent); transform: scaleY(0); transform-origin: 50% 0; will-change: transform; }
.step { position: relative; padding-block: 24px 40px; transition: opacity .5s var(--ease); }
.step::before { content: ""; position: absolute; left: -32px; top: 32px; width: 9px; height: 9px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg); transition: background .3s, border-color .3s; }
.step.act::before { background: var(--accent); border-color: var(--accent); }
.motion .step:not(.act) { opacity: .78; }
.step h3 { margin-top: 12px; font-weight: 500; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem); letter-spacing: -.04em; line-height: 1; }
.step p { margin-top: 14px; max-width: 46ch; color: var(--fg-2); }
.vis { margin-top: 22px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font: 400 12.5px/1.8 var(--mono); color: var(--fg-2); overflow: hidden; }
.vis .p { color: var(--accent); }
.vis .d { color: var(--fg-3); }
.vis .ln { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.vis .ln > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.vis .ln .bd { margin-left: auto; }
.vis .ln.tags .bd { margin-left: 0; }
@media (min-width: 960px) {
  .how { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .how__side { position: sticky; top: 110px; align-self: start; }
  .how__nav { display: grid; margin-top: 40px; border-top: 1px solid var(--line); }
  .how__nav li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; color: var(--fg-3); transition: color .3s, transform .4s var(--ease); }
  .how__nav li.act { color: var(--fg); transform: translateX(8px); }
  .how__nav li::before { content: ""; flex: none; align-self: center; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .3s; }
  .how__nav li.act::before { background: var(--accent); }
  .step { min-height: min(52vh, 440px); padding-block: 32px; }
  .step::before { top: 48px; }
}

@keyframes rise { to { transform: none; } }
@keyframes print { from { opacity: .35; transform: translateY(4px); } }
@keyframes pulse { 50% { opacity: .25; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes tick { to { transform: translateX(-50%); } }
@media (min-width: 560px) {
  .row { grid-template-columns: 22px minmax(0, 1fr) 44px auto; }
  .row .k { display: block; }
  .tape__ft { grid-template-columns: repeat(4, 1fr); }
  .cols3 { grid-template-columns: repeat(3, 1fr); }
  .col3 { padding: 28px 28px 28px 0; border-bottom: 0; }
  .col3 + .col3 { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (min-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 56px; }
  .row { font-size: 13px; }
}

/* Bento */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; margin-top: clamp(40px, 7vw, 80px); border: 1px solid var(--line); background: var(--line); }
.cell { position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 24px; background: var(--bg); overflow: hidden; }
.cell > * { position: relative; }
.cell::before { content: ""; position: absolute; left: 0; top: 0; width: 320px; height: 320px; margin: -160px 0 0 -160px; background: radial-gradient(closest-side, #4fe0b01c, transparent); opacity: 0; transform: translate3d(var(--mx, 50%), var(--my, 50%), 0); transition: opacity .3s; pointer-events: none; }
.cell:hover::before { opacity: 1; }
.cell .n { font: 500 14px/1 var(--sans); color: var(--accent); }
.cell h3 { margin-top: 12px; font-weight: 500; font-size: 1.4rem; letter-spacing: -.03em; line-height: 1.15; }
.cell p { margin-top: 10px; max-width: 40ch; font-size: 15px; color: var(--fg-2); }
.cell .viz { margin-top: auto; padding-top: 24px; }
.ticks { display: flex; gap: 3px; height: 34px; }
.ticks i { flex: 1; background: var(--line-2); transform-origin: 50% 100%; }
.ticks i.on { background: var(--amber); }
.ticks i.hot { background: var(--red); }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; }
.bars i { flex: 1; height: var(--h); background: var(--line-2); transform-origin: 50% 100%; }
.bars i.hi { background: var(--accent); }
.grade { display: flex; align-items: baseline; gap: 12px; font: 500 3.2rem/1 var(--mono); letter-spacing: -.05em; }
.grade span { font-size: 14px; letter-spacing: 0; color: var(--fg-3); }
.mask { font: 400 12.5px/1.9 var(--mono); color: var(--fg-2); overflow-wrap: anywhere; }
.mask b { color: var(--accent); font-weight: 400; letter-spacing: .1em; }
.mini { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; font: 400 12.5px/1.4 var(--mono); }
.mini div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.mini div > span:last-child { display: flex; flex: none; align-items: center; gap: 6px; }
.mini div > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.add { color: var(--accent); } .rem { color: var(--red); }
.motion .cell:not(.in) .ticks i, .motion .cell:not(.in) .bars i { transform: scaleY(.05); }
.motion .ticks i, .motion .bars i { transition: transform .7s var(--ease); transition-delay: calc(var(--k, 0) * 30ms + 200ms); }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cell.c4 { grid-column: span 2; } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cell { grid-column: span 2; }
  .cell.c4 { grid-column: span 4; }
  .cell.c3 { grid-column: span 3; }
  .cell.r2 { grid-row: span 2; }
}

/* Agents */
.agents { margin-top: clamp(40px, 7vw, 72px); border-top: 1px solid var(--line); }
.agent { display: grid; gap: 8px 24px; padding: 24px 0; border-bottom: 1px solid var(--line); transition: padding-left .4s var(--ease), background .3s; }
.agent:hover { padding-left: 12px; background: linear-gradient(90deg, #4fe0b00f, transparent 60%); }
.agent h3 { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); letter-spacing: -.04em; line-height: 1.1; }
.agent code { font-size: 12.5px; color: var(--fg-2); overflow-wrap: anywhere; }
.agent p { font-size: 15px; color: var(--fg-3); }
@media (min-width: 900px) { .agent { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); align-items: center; } }

/* Guard demo */
.demo { display: grid; gap: 16px; margin-top: clamp(40px, 7vw, 72px); }
.cases { display: grid; gap: 8px; }
.case { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font: 400 12.5px/1.4 var(--mono); text-align: left; cursor: pointer; transition: border-color .2s, transform .25s var(--ease); }
.case:hover { border-color: var(--line-2); transform: translateX(3px); }
.case[aria-pressed="true"] { border-color: var(--accent); background: var(--panel-2); }
.case code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term { min-height: 320px; padding: 20px; border: 1px solid var(--line-2); border-radius: 10px; background: #090b0d; font: 400 13px/1.7 var(--mono); }
.term__bar { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--fg-3); }
.term .cmdline { color: var(--fg); overflow-wrap: anywhere; }
.term .cmdline::before { content: "\203A  "; color: var(--accent); }
.term .verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; }
.verdict .bd { font-size: 13px; padding: 5px 12px; }
.term .why { margin-top: 14px; color: var(--fg-2); overflow-wrap: anywhere; }
.term .out { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); color: var(--fg-3); font-size: 12.5px; }
.term .res { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.term .res.swap { opacity: 0; transform: translateY(6px); }
@media (min-width: 900px) { .demo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; } .term { min-height: 380px; padding: 28px; } }

/* GitHub Action */
.split { display: grid; gap: 40px; margin-top: clamp(40px, 7vw, 72px); }
.code { position: relative; padding: 18px; border: 1px solid var(--line-2); border-radius: 10px; background: #090b0d; font: 400 12.5px/1.75 var(--mono); color: var(--fg-2); overflow-x: auto; white-space: pre; tab-size: 2; }
.code .k { color: var(--accent); } .code .c { color: var(--fg-3); }
.pr { border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); overflow: hidden; }
.pr__hd { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.pr__hd .av { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.pr__hd .av svg { width: 14px; height: 14px; }
.pr__hd span { color: var(--fg-3); font-size: 12.5px; }
.pr__bd { padding: 16px; display: grid; gap: 14px; }
.pr__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font: 400 12.5px/1.4 var(--mono); }
.pr__row > span:first-child { flex: 1 1 200px; min-width: 0; }
.pr__find { font: 400 12.5px/1.6 var(--mono); color: var(--fg-2); }
.pr__chk { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); font: 400 12.5px/1.4 var(--mono); color: var(--red); }
.pr__chk i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 24px; } }

/* Self-host */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 99px; font: 400 12px/1.2 var(--mono); color: var(--fg-2); }
.seq { counter-reset: s; display: grid; gap: 0; }
.seq li { counter-increment: s; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); font: 400 12.5px/1.6 var(--mono); }
.seq li::before { content: counter(s, decimal-leading-zero); color: var(--accent); }
.seq code { overflow-wrap: anywhere; color: var(--fg); }
.seq .d { display: block; color: var(--fg-3); }

/* Open source */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: clamp(40px, 7vw, 72px); border: 1px solid var(--line); background: var(--line); }
.stat { padding: 24px 20px; background: var(--bg); }
.stat b { display: block; font: 500 clamp(1.3rem, 1rem + 1.6vw, 2.6rem)/1 var(--sans); letter-spacing: -.04em; white-space: nowrap; }
.stat span { display: block; margin-top: 10px; font: 400 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.links { display: grid; margin-top: 32px; border-top: 1px solid var(--line); }
.links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.1rem; letter-spacing: -.01em; transition: padding-left .3s var(--ease), color .2s; }
.links a span { display: none; font: 400 12px/1.3 var(--mono); color: var(--fg-3); text-align: right; }
.links a:hover { padding-left: 10px; color: var(--accent); }
@media (min-width: 560px) { .links a span { display: block; } }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } .links { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* FAQ */
.faq { margin-top: clamp(40px, 7vw, 72px); border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding-block: 14px; font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--accent), var(--accent)) center / 100% 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 1.5px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 24px; max-width: 64ch; color: var(--fg-2); }
.faq .a code { padding: 1px 5px; border-radius: 4px; background: var(--panel-2); font-size: .88em; }

/* Final CTA + footer */
.final { position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 100%, #4fe0b020, transparent); pointer-events: none; }
.final .h2 { max-width: 14ch; font-size: clamp(2.6rem, 1.1rem + 7vw, 6rem); }
.ftr { border-top: 1px solid var(--line); padding-top: 48px; overflow: hidden; }
.ftr__grid { display: grid; gap: 32px; }
.ftr h4 { margin-bottom: 12px; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.ftr li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--fg-2); text-decoration: none; font-size: 15px; }
.ftr li a:hover { color: var(--accent); }
.ftr__meta { margin-top: 40px; font: 400 12px/1.6 var(--mono); color: var(--fg-3); }
.ftr__big { margin-top: 24px; font: 600 clamp(3rem, 14.5vw, 14rem)/.8 var(--sans); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--line-2); white-space: nowrap; user-select: none; text-align: center; padding-bottom: .06em; }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* Reveals */
.motion .rv { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.motion .rv.in { opacity: 1; transform: none; }

/* Secondary pages (privacy, terms, 404) */
.doc { padding-block: clamp(48px, 8vw, 96px); max-width: 820px; }
.doc .h1 { font-size: clamp(2.2rem, 1.2rem + 4vw, 3.8rem); margin-top: 0; }
.doc h2 { margin: 44px 0 12px; font-weight: 500; font-size: 1.4rem; letter-spacing: -.02em; line-height: 1.25; }
.doc h3 { margin: 28px 0 8px; font-weight: 500; font-size: 1.05rem; }
.doc p, .doc ul { margin: 0 0 14px; color: var(--fg-2); }
.doc ul { padding-left: 1.2em; list-style: disc; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--accent); }
.doc strong { color: var(--fg); font-weight: 500; }
.doc a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: var(--accent); }
.doc a.btn { color: #07080a; text-decoration: none; }
.doc code { padding: 1px 5px; border-radius: 4px; background: var(--panel-2); font-size: .9em; }
.doc .lede { margin: 16px 0 28px; }
.doc .meta { font: 400 12.5px/1.5 var(--mono); color: var(--fg-3); }
.doc .note { margin-top: 32px; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: 10px; font-size: 15px; color: var(--fg-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.d { color: var(--fg-3); }
@media (min-width: 960px) {
  .tog { display: none; }
  .js .nav, html:not(.js) .nav { position: static; inset: auto; display: flex; flex-direction: row; align-items: center; gap: 4px; padding: 0; overflow: visible; background: none; visibility: visible; opacity: 1; transform: none; }
  .nav a { min-height: 40px; padding: 0 12px; border: 0; border-radius: 6px; font-size: 14.5px; letter-spacing: 0; color: var(--fg-2); transition: color .2s; }
  .nav a:hover { color: var(--fg); }
  .nav a span, .nav .nav__gh { display: none; }
  .hdr .hdr__cta { display: inline-flex; }
}

/* Agent status tags read as plain words, not code badges */
.agent .bd { font: 500 13px/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
