:root {
  --paper: #F2F0EA;
  --paper-2: #E2E0D8;
  --ink: #0B0B0B;
  --acid: #C6FF00;
  --hot: #FF3EA5;
  --ask: #FFB020;
  --void: #0A0A0A;
  --void-2: #111;
  --line-dark: #333;
  --muted: #8A8A8A;
  --sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --rule: 1.5px solid var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; }
a { color: inherit; }
code, .mono { font-family: var(--mono); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--acid); color: var(--ink); padding: 6px 10px; z-index: 10; }
.skip:focus { left: 8px; }
.defs { position: absolute; }

.light { background: var(--paper); color: var(--ink); }
.dark { background: var(--void); color: #E8E8E8; }
.acid { color: var(--acid); }
.hot { color: var(--hot); font-style: normal; }
.dim { color: var(--muted); }
.small { font-size: 14px; }
.tag { font-family: var(--mono); font-size: 12px; opacity: .6; grid-column: 1 / -1; margin-bottom: 18px; }

.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; }

.display { font-weight: 900; letter-spacing: -0.045em; line-height: 0.92; margin: 0; }
h2.display { font-size: clamp(36px, 6vw, 76px); grid-column: 1 / span 9; }
.lede { font-size: 17px; max-width: 56ch; }
mark { background: var(--acid); color: var(--ink); padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* nav */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 12px var(--gutter); border-bottom: var(--rule); font-size: 13px; position: sticky; top: 0; z-index: 5; }
.nav nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; }
.nav nav a:hover, .foot a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--hot); }
.wordmark { font-weight: 500; text-decoration: none; }
.gh { justify-self: end; background: var(--ink); color: var(--acid); padding: 4px 10px; }

/* hero */
.hero { padding: 28px var(--gutter) 40px; row-gap: 20px; }
.meta { grid-column: 1 / span 3; margin: 0; font-size: 12px; line-height: 1.7; }
.meta div { display: flex; gap: 8px; }
.meta dt { opacity: .55; min-width: 72px; }
.meta dd { margin: 0; }
.hero h1 { grid-column: 4 / -1; font-size: clamp(44px, 8.4vw, 124px); line-height: .98; }
.hero .lede { grid-column: 4 / span 5; align-self: end; }
.cta { grid-column: 9 / -1; align-self: end; }
.cmd { display: flex; align-items: stretch; background: var(--ink); color: var(--acid); font-size: 13px; }
.cmd code { padding: 12px 12px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cmd code::before { content: '$ '; color: var(--muted); }
.copy { background: var(--acid); color: var(--ink); border: 0; padding: 0 14px; font-family: var(--mono); font-size: 12px; }
.copy[data-done] { background: var(--hot); color: #fff; }
.hint { font-size: 12px; margin-top: 8px; opacity: .7; }

/* marquee */
.marquee { overflow: hidden; background: var(--acid); color: var(--ink); border-block: var(--rule); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; padding: 9px 0; }
.track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.track span { padding-right: 28px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: 64px var(--gutter); }
section[id] { scroll-margin-top: 56px; }
.section .head { row-gap: 20px; margin-bottom: 32px; }
.section .head .lede { grid-column: 1 / span 6; }
.rule { border-top: var(--rule); }

/* shared stage */
.stage { margin: 0; border-radius: 10px; padding: 14px; }
.stage-dark { border: 1px solid var(--line-dark); background: var(--void); }
.stage-light { border: var(--rule); background: var(--paper); }
.stagebar { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; margin-bottom: 12px; }
.stagebar .example { margin-left: auto; opacity: .55; }
.replay { background: transparent; color: inherit; border: 1px solid currentColor; padding: 4px 10px; font-family: var(--mono); font-size: 12px; }
.replay:hover { background: var(--acid); color: var(--ink); border-color: var(--ink); }
.scene { min-height: 330px; position: relative; }

/* animation primitives */
.win { border: 1px solid var(--line-dark); background: var(--paper); color: var(--ink); border-radius: 6px; overflow: hidden; }
.ub { background: var(--paper-2); font-size: 12px; padding: 5px 8px; border-bottom: 1px solid #ccc; color: #555; }
.cur { position: absolute; left: 12px; top: 12px; transition: left .6s ease, top .6s ease, opacity .3s; pointer-events: none; z-index: 3; display: flex; align-items: flex-start; }
.cur.off { opacity: 0; }
.cur .who { position: absolute; left: 12px; top: 14px; font-family: var(--mono); font-size: 11px; padding: 1px 5px; white-space: nowrap; transition: transform .6s ease; }
.cur.flip .who { transform: translateX(calc(-100% - 6px)); }
.cur.agent .who { background: var(--acid); color: var(--void); }
.cur.human .who { background: var(--hot); color: #fff; }
.fl { position: absolute; inset: 0; background: #fff; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 4; }
.log { font-family: var(--mono); font-size: 12px; line-height: 1.7; }
.log div, .in { opacity: 0; transform: translateY(5px); transition: opacity .3s, transform .3s; }
.log div.on, .in.on { opacity: 1; transform: none; }
.mk { stroke-dasharray: 500; stroke-dashoffset: 500; transition: stroke-dashoffset .7s ease; }
.mk.on { stroke-dashoffset: 0; }
.st { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--hot); color: #fff; font-family: var(--mono); font-size: 11px; display: flex; align-items: center; justify-content: center; transform: scale(0); transition: transform .3s; z-index: 2; }
.st.on { transform: scale(1); }
.ov { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }

/* § 01 get started */
#start h2.display { line-height: .98; }
.start { row-gap: 32px; align-items: start; }
.start h3 { margin: 0; }
.start code { font-size: .9em; background: var(--paper-2); padding: 0 .25em; }
.start a { text-decoration-color: var(--hot); text-decoration-thickness: 2px; }
.fit { grid-column: 1 / span 4; border-top: var(--rule); padding-top: 14px; position: sticky; top: 72px; }
.fit h3 { display: inline-block; font-size: 12px; font-weight: 500; background: var(--acid); padding: 1px 6px; margin-bottom: 6px; }
.fit ul { list-style: none; padding: 0; margin: 0 0 14px; }
.fit li { padding: 10px 0 10px 22px; border-bottom: 1px solid rgba(11, 11, 11, .25); position: relative; font-size: 15px; }
.fit li::before { content: '✱'; position: absolute; left: 0; }
.aside-note { opacity: .75; }
.path { grid-column: 6 / -1; list-style: none; padding: 0; margin: 0; border-top: var(--rule); }
.path li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(11, 11, 11, .25); }
.path .n { font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.path h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 6px; }
.path p { color: #333; font-size: 15px; max-width: 60ch; }
.path .cmd { margin-top: 12px; max-width: 440px; }
.path .cmd code { background: none; padding: 12px; }
.path .say { margin-top: 10px; border-left: 3px solid var(--hot); padding: 4px 0 4px 12px; font-size: 13px; line-height: 1.8; color: var(--ink); }
.more { display: inline-block; margin-top: 10px; font-size: 12px; }
.more:hover { background: var(--acid); }
.who { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0; padding: 1px 6px; white-space: nowrap; }
.who.you { background: var(--hot); color: #fff; }
.who.agent { background: var(--acid); color: var(--ink); border: 1px solid var(--ink); }
.why { margin-top: 40px; background: var(--ink); color: #E8E8E8; padding: 22px; row-gap: 10px; }
.why h3 { grid-column: 1 / -1; font-size: 12px; font-weight: 500; color: var(--acid); margin: 0; }
.why code { color: var(--acid); font-size: .9em; }
.why p { grid-column: 1 / span 9; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; }

/* § 02 evidence */
.act1 { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 12px; }
.cart { position: relative; height: 210px; padding: 14px 16px; }
.cart h3 { font-weight: 800; font-size: 17px; letter-spacing: -.02em; margin: 0; }
.cart .row { display: flex; justify-content: space-between; font-size: 13px; margin-top: 8px; }
.cart .coupon { display: flex; gap: 8px; margin-top: 14px; }
.cart .field { flex: 1; border: 1px solid var(--ink); padding: 6px 8px; font-family: var(--mono); font-size: 12px; background: #fff; color: #999; min-height: 30px; }
.cart .btn, .mini .target { background: var(--ink); color: var(--paper); font-size: 12px; padding: 6px 12px; transition: transform .15s; display: inline-block; }
.cart .total { display: flex; justify-content: space-between; align-items: center; border-top: var(--rule); margin-top: 22px; padding-top: 10px; font-size: 13px; }
.cart .total b { font-weight: 900; font-size: 17px; }
.cart .total s { font-weight: 400; font-size: 12px; color: #888; margin-right: 6px; }
.thought { background: var(--void-2); border: 1px solid var(--line-dark); border-radius: 6px; padding: 10px; height: 236px; overflow: hidden; }
.strip { display: flex; gap: 8px; align-items: center; margin-top: 12px; min-height: 30px; font-family: var(--mono); font-size: 12px; }
.thumb { border: 1px solid var(--acid); background: #151515; padding: 5px 8px; transform: scale(.6); opacity: 0; transition: all .4s; }
.thumb.on { opacity: 1; transform: none; }
.act2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mini .who-line { font-family: var(--mono); font-size: 12px; color: var(--acid); margin-bottom: 4px; }
.mini .body { position: relative; height: 124px; padding: 10px; }
.mini .bar { height: 8px; background: #D9D9D9; margin-bottom: 7px; }
.mini .target { margin-top: 8px; }
.mini .log { margin-top: 6px; min-height: 62px; }
.summary { font-family: var(--mono); font-size: 12px; margin-top: 12px; }

/* § 03 sign-off */
.steps { grid-column: 1 / -1; list-style: none; padding: 0; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: var(--rule); font-size: 13px; }
.steps li { padding: 10px 12px 10px 0; border-right: 1px solid var(--ink); padding-left: 12px; transition: background .3s; }
.steps li:first-child { padding-left: 0; }
.steps li:last-child { border-right: 0; }
.steps li b { display: block; font-family: var(--sans); font-weight: 900; font-size: 28px; letter-spacing: -.03em; }
.steps li.on { background: var(--acid); padding-left: 12px; }
.hitl { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; }
.viewer { border: var(--rule); background: #fff; position: relative; overflow: hidden; min-height: 262px; }
.vbar { background: var(--ink); color: var(--acid); font-family: var(--mono); font-size: 12px; padding: 5px 8px; display: flex; justify-content: space-between; gap: 8px; }
.vbody { padding: 12px; position: relative; }
.memory .small { margin-bottom: 6px; }
.mem { border: 1px solid var(--ink); background: #fff; padding: 6px 8px; font-family: var(--mono); font-size: 12px; margin-bottom: 6px; }
.mem div:last-child { color: #666; }
.card { border: var(--rule); padding: 10px; margin-bottom: 8px; transition: opacity .3s; }
.card .k { font-family: var(--mono); font-size: 12px; color: #666; }
.card .q { font-size: 15px; font-weight: 800; margin: 4px 0 10px; letter-spacing: -.01em; }
.inrow { display: flex; gap: 8px; align-items: center; }
.input { flex: 1; border: 1px solid var(--ink); padding: 5px 8px; font-family: var(--mono); font-size: 12px; color: #999; min-height: 28px; }
.check { display: flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 13px; }
.box { width: 13px; height: 13px; border: 1.5px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; transition: background .2s; }
.ui-btn { font-size: 12px; padding: 4px 9px; border: 1px solid var(--ink); background: #fff; transition: transform .15s, background .2s; white-space: nowrap; }
.chip { font-family: var(--mono); font-size: 11px; padding: 2px 7px; border: 1px solid var(--ink); transition: background .3s, color .3s; }
.pass { background: var(--acid); color: var(--ink); }
.fail { background: var(--hot); color: #fff; border-color: var(--hot); }
.rev { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #ddd; font-size: 13px; }
.rev .id { font-family: var(--mono); font-size: 12px; width: 46px; flex: none; white-space: nowrap; }
.rev .name { flex: 1; min-width: 0; }
.caption { font-size: 12px; margin-top: 12px; min-height: 18px; }
.typed { color: var(--ink); }

/* § 04 insights */
.steps-dark { border-top-color: #E8E8E8; }
.steps-dark li { border-right-color: var(--line-dark); }
.steps-dark li.on { color: var(--ink); }
.dviewer { border: 1px solid var(--line-dark); background: var(--void-2); position: relative; overflow: hidden; min-height: 330px; }
.dbar { background: var(--acid); color: var(--void); font-family: var(--mono); font-size: 12px; padding: 5px 8px; display: flex; justify-content: space-between; gap: 8px; }
.dbody { padding: 10px; position: relative; font-size: 13px; }
.dviewer .typed { color: #E8E8E8; }
.dviewer .cur.human .who { background: var(--hot); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.kpi, .icard { border: 1px solid var(--line-dark); padding: 7px 9px; font-size: 12px; }
.kpi b { display: block; font-size: 22px; font-weight: 900; letter-spacing: -.03em; }
.insights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.ih { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.ins { font-family: var(--mono); font-size: 11px; color: var(--hot); margin-top: 5px; }
.flaky { display: flex; justify-content: space-between; gap: 8px; padding: 2px 4px; margin: 0 -4px; transition: background .2s; }
.flaky.picked { background: #222; outline: 1px solid var(--hot); }
.hbar { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; margin-top: 4px; }
.hbar span:first-child { width: 54px; }
.hbar i { display: block; height: 8px; }
.stack { display: flex; height: 10px; margin-top: 4px; }
.stack i { display: block; }
.small-m { font-size: 11px; margin-top: 4px; }
.chatgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shot { position: relative; background: var(--paper); color: var(--ink); border: 1px solid var(--line-dark); height: 260px; }
.shot-name { font-size: 11px; background: var(--paper-2); padding: 4px 6px; }
.shot-body { padding: 10px; }
.shot-body .bar { height: 8px; background: #D9D9D9; margin-bottom: 7px; }
.toast { background: var(--ink); color: var(--paper); font-size: 12px; padding: 7px 9px; width: 82%; margin-top: 26px; position: relative; z-index: 1; }
.pay { margin: -8px 0 0 30%; background: #888; color: #fff; font-size: 12px; padding: 7px 10px; width: 44%; }
.chatcol { display: flex; flex-direction: column; height: 260px; }
.msgs { flex: 1; overflow: hidden; }
.bub { font-size: 13px; padding: 7px 9px; margin-bottom: 7px; max-width: 92%; line-height: 1.45; }
.bub.you { background: #222; margin-left: auto; }
.bub.agent { border: 1px solid var(--acid); }
.chatin { display: flex; gap: 6px; align-items: center; border: 1px solid var(--line-dark); padding: 5px; font-size: 12px; color: #666; }
.chatin span:first-child { flex: 1; min-width: 0; }
.dbtn { font-size: 12px; padding: 4px 9px; border: 1px solid var(--acid); color: var(--acid); display: inline-block; white-space: nowrap; transition: transform .15s; }
.dbtn.run { background: var(--acid); color: var(--void); }
.newplan { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.field-d { flex: 1; min-width: 0; border: 1px solid var(--line-dark); padding: 4px 7px; font-size: 12px; color: #666; min-height: 26px; }
.field-d.tags { flex: 0 1 140px; }
.lrow { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid #222; }
.lrow .id { width: 46px; font-size: 12px; }
.lrow .name { flex: 1; min-width: 0; }
.lrow .res { width: 140px; text-align: right; font-size: 12px; color: var(--muted); }
.lrow .res.live { color: #E8E8E8; }
.cb { width: 13px; height: 13px; border: 1.5px solid var(--acid); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: var(--void); }
.cb.on { background: var(--acid); }
.tg { font-size: 11px; border: 1px solid #555; padding: 0 5px; color: #aaa; }
.runrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; }
.trend { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; }
.trend-chart { width: 100%; height: auto; display: block; }
.feed { font-size: 12px; line-height: 1.7; }

/* § 06 cost */
.spend-viewer { min-height: 370px; }
.rt { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px solid #ddd; font-size: 13px; transition: background .2s; }
.rt .id { font-family: var(--mono); font-size: 12px; width: 46px; }
.rt .name { flex: 1; min-width: 0; }
.tier { font-family: var(--mono); font-size: 10px; padding: 1px 6px; border: 1px solid var(--ink); white-space: nowrap; }
.t-simple { background: var(--acid); }
.t-standard { background: #fff; }
.t-complex { background: var(--ink); color: var(--acid); }
.rt .res { font-family: var(--mono); font-size: 12px; width: 190px; text-align: right; color: #666; }
.rt .res.live { color: var(--ink); }
.orch { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .55fr) minmax(0, 1.25fr); gap: 34px; align-items: center; }
.osvg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.olink { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset .6s ease; }
.olink.on { stroke-dashoffset: 0; }
.ocases, .osubs { position: relative; display: flex; flex-direction: column; gap: 8px; }
.obatch { border-left: 2px solid #ddd; padding-left: 8px; transition: border-color .3s; }
.obatch.on { border-color: var(--ink); }
.obatch .bt { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; color: #666; margin-bottom: 3px; }
.ocase { display: flex; align-items: center; gap: 6px; border: 1px solid #ccc; background: #fff; padding: 4px 6px; margin-bottom: 3px; font-size: 12px; opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .3s, border-color .3s, background .2s; }
.ocase.on { opacity: 1; transform: none; }
.ocase.scan { background: var(--paper-2); border-color: var(--ink); }
.ocase.hard { border-color: var(--ink); box-shadow: 3px 3px 0 var(--acid); }
.ocase .id { font-family: var(--mono); font-size: 11px; }
.ocase .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ocase .sig { font-family: var(--mono); font-size: 10px; color: #666; white-space: nowrap; }
.meter { display: inline-flex; gap: 2px; }
.meter i { width: 6px; height: 11px; background: #e4e4e4; transition: background .2s; }
.meter i.f { background: var(--ink); }
.onode { position: relative; border: 2px solid var(--ink); background: #fff; padding: 12px 8px; text-align: center; font-family: var(--mono); font-size: 12px; }
.onode b { display: block; font-size: 13px; }
.onode .ost { display: block; color: #666; font-size: 11px; margin-top: 4px; min-height: 15px; }
.onode.busy { animation: obusy 1.4s ease-in-out infinite; }
@keyframes obusy { 50% { box-shadow: 0 0 0 5px var(--acid); } }
.osub { background: #fff; border: 1px solid var(--ink); padding: 6px 8px; font-size: 12px; opacity: 0; transform: scale(.85); transform-origin: left center; transition: opacity .35s, transform .4s cubic-bezier(.2, 1.5, .4, 1); }
.osub.on { opacity: 1; transform: none; }
.osub.t2 { border-width: 2px; }
.osub.t3 { border-width: 3px; }
.osub .hd { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-family: var(--mono); font-size: 11px; margin-bottom: 6px; }
.osub .pw { letter-spacing: 1px; margin-left: auto; }
.osub .cs { display: flex; flex-wrap: wrap; gap: 5px; }
.ochip { font-family: var(--mono); font-size: 10px; border: 1px solid #bbb; padding: 1px 5px; transition: background .2s, color .2s, border-color .2s; }
.ochip.run { border-color: var(--ink); background: var(--paper-2); }
.ochip.pass { border-color: var(--ink); background: var(--acid); }
.ochip.fail { border-color: var(--hot); background: var(--hot); color: #fff; }
.obars { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 3px 8px; align-items: center; font-family: var(--mono); font-size: 10px; color: #666; }
.obar { position: relative; height: 5px; background: #eee; overflow: hidden; }
.obar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ink); transition: width linear; }
.obar.tok i { background: var(--hot); }
.onote { font-family: var(--mono); font-size: 10px; color: #888; margin-top: 10px; }
.cmp { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cmp .lab { font-family: var(--mono); font-size: 11px; margin-bottom: 4px; }
.cmp .win { border-color: #bbb; }
.orows { padding: 8px 10px; }
.orow { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; padding: 5px 0; border-bottom: 1px solid #e2e2e2; }
.orow span { display: inline-block; }
.ofilter { font-family: var(--mono); font-size: 11px; border: 1px solid var(--ink); padding: 1px 6px; display: inline-block; margin-bottom: 4px; }
.ofilter.ghost { visibility: hidden; }
.cmp-res { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 10px; font-size: 12px; }
.fcard { position: relative; border: var(--rule); padding: 10px; margin-top: 10px; }
.fcard .k { font-family: var(--mono); font-size: 12px; color: #666; }
.fshot { display: flex; gap: 8px; align-items: center; margin: 8px 0; max-width: 300px; }
.fshot .field { flex: 1; border: 1px solid var(--ink); padding: 5px 8px; font-family: var(--mono); font-size: 12px; color: #999; }
.fshot .btn { background: var(--ink); color: var(--paper); font-size: 12px; padding: 6px 12px; }
.err { font-family: var(--mono); font-size: 11px; color: #C2185B; margin-bottom: 8px; overflow-wrap: anywhere; }

/* § 05 replays */
.replays { row-gap: 20px; align-items: center; padding-block: 44px; border-top: 1px solid var(--line-dark); }
.zero { grid-column: 1 / span 5; }
.big { font-weight: 900; font-size: clamp(96px, 13vw, 170px); line-height: .8; letter-spacing: -.06em; transform: scaleY(1.25); transform-origin: top; margin-bottom: clamp(28px, 4vw, 48px); }
.snips { grid-column: 7 / -1; }
.term { background: var(--void-2); border: 1px solid var(--line-dark); padding: 14px; font-size: 13px; line-height: 1.75; overflow-x: auto; margin: 0 0 12px; }
.light .term { background: var(--ink); color: #E8E8E8; border-color: var(--ink); }
.term p { white-space: nowrap; }

/* § 07 compare */
.tablewrap { overflow-x: auto; border-top: var(--rule); }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid rgba(11, 11, 11, .25); }
.compare thead th { font-family: var(--mono); font-size: 12px; font-weight: 500; border-bottom: var(--rule); }
.compare tbody th { font-family: var(--mono); font-size: 12px; font-weight: 500; width: 12%; }
.compare .us { background: var(--acid); padding-left: 12px; font-weight: 500; }
.note { margin-top: 12px; opacity: .65; }

/* § 08 install */
.tablist { display: flex; flex-wrap: wrap; border: var(--rule); width: fit-content; max-width: 100%; }
.tablist button { background: transparent; border: 0; border-right: 1px solid var(--ink); padding: 8px 12px; font-family: var(--mono); font-size: 12px; color: var(--ink); }
.tablist button:last-child { border-right: 0; }
.tablist button[aria-selected="true"] { background: var(--ink); color: var(--acid); }
.panel { margin-top: 10px; max-width: 760px; }
.panel .term { white-space: pre; }
.reqs { margin-top: 36px; row-gap: 10px; }
.reqs p { grid-column: 1 / span 6; }

/* footer */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px var(--gutter); border-top: 4px solid var(--acid); font-size: 13px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; }

@media (max-width: 900px) {
  .hero h1, .hero .lede, .cta { grid-column: 1 / -1; }
  .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .meta dt { min-width: 0; }
  h2.display, .section .head .lede, .reqs p { grid-column: 1 / -1; }
  .zero, .snips { grid-column: 1 / -1; }
  .fit, .path, .why p { grid-column: 1 / -1; }
  .fit { position: static; }
}

@media (max-width: 900px) {
  .replay, .gh { padding: 8px 12px; }
  .nav nav a, .foot a, .wordmark { display: inline-block; padding-block: 8px; }
  .dviewer { min-height: 410px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { grid-template-columns: 1fr auto; row-gap: 4px; padding-bottom: 0; }
  .nav nav { grid-column: 1 / -1; grid-row: 2; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: calc(var(--gutter) - 10px); }
  .nav nav::-webkit-scrollbar { display: none; }
  .nav nav a { padding: 8px 10px; white-space: nowrap; }
  section[id] { scroll-margin-top: 96px; }
  .section { padding: 48px var(--gutter); }
  .act1, .hitl { grid-template-columns: minmax(0, 1fr); }
  .thought { height: 206px; }
  .act2 { grid-template-columns: minmax(0, 1fr); }
  .scene { min-height: 650px; }
  .steps { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(3) { padding-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--ink); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dviewer { min-height: 600px; }
  .shot, .chatcol { height: 230px; }
  .msgs { display: flex; flex-direction: column; justify-content: flex-end; }
  .mini .bar { display: none; }
  .mini .body { height: 70px; }
  .viewer { min-height: 410px; }
  .memory { min-height: 150px; }
  .caption { min-height: 6em; min-height: 4lh; }
  .newplan { flex-wrap: wrap; }
  .lrow .tg { display: none; }
  .lrow .res { width: auto; }
  .insights, .chatgrid, .trend { grid-template-columns: minmax(0, 1fr); }
  .steps-dark li:nth-child(n+3) { border-top-color: var(--line-dark); }
  .orch { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .osubs { padding-left: 18px; }
  .ocase .sig { display: none; }
  .rt .res { width: auto; }
  .cmp { grid-template-columns: minmax(0, 1fr); }
  .spend-viewer { min-height: 730px; }
  .stagebar .example { display: none; }
  .path li { grid-template-columns: 44px minmax(0, 1fr); }
  .path .n { font-size: 26px; }
  .why { padding: 16px; }
}

@media (max-width: 420px) {
  .rev { flex-wrap: wrap; }
  .rev .name { flex: 1 0 55%; }
}

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