:root {
  --paper: #f5f3ee;
  --card: #fffdf8;
  --ink: #17160f;
  --muted: #5f5b50;
  --line: #ddd7ca;
  --mark: #f2c230;
  --mark-soft: #f8e6a6;
  --ok: #2d7a47;
  --fail: #b5402c;
  --code-bg: #1c1b16;
  --code-ink: #ebe6d8;
  --code-dim: #8f897a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12110d;
    --card: #1b1a15;
    --ink: #eee9dc;
    --muted: #a39e90;
    --line: #2f2d25;
    --mark-soft: #4a3d12;
    --ok: #6cc28b;
    --fail: #ec8a74;
    --code-bg: #0b0a08;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
code, pre, kbd { font-family: var(--mono); font-size: 0.88em; }
:not(pre) > code { background: var(--mark-soft); padding: 0.05em 0.35em; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; border-top: 1px solid var(--line); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 44px); max-width: 22ch; }
h3 { font-size: 22px; }
.kicker { font: 600 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.lede { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 18px 0 0; }
.hl { background: linear-gradient(transparent 58%, var(--mark) 58%, var(--mark) 92%, transparent 92%); }
@media (prefers-color-scheme: dark) { .hl { background: linear-gradient(transparent 58%, #8a6c0f 58%, #8a6c0f 92%, transparent 92%); } }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 16px/1 var(--mono); text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav ul a { text-decoration: none; color: var(--muted); }
.nav ul a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav ul li:not(:last-child) { display: none; } }

/* hero */
.hero > *, .demo > *, .install pre { min-width: 0; }
.hero { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 56px; align-items: center; padding: 56px 0 96px; }
.badge { display: inline-flex; gap: 8px; align-items: center; font: 13px/1 var(--mono); border: 1px solid var(--line); background: var(--card); padding: 8px 12px; border-radius: 999px; color: var(--muted); }
.badge b { width: 8px; height: 8px; border-radius: 50%; background: var(--mark); }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); margin: 22px 0 0; }
.hero .lede { font-size: 20px; }
.scope { font-size: 15px; color: var(--muted); margin: 14px 0 0; max-width: 56ch; }
.install { margin: 30px 0 0; display: flex; align-items: stretch; max-width: 520px; background: var(--code-bg); color: var(--code-ink); border-radius: 10px; overflow: hidden; }
.install pre { margin: 0; padding: 15px 18px; overflow-x: auto; flex: 1; font-size: 15px; }
.install pre::before { content: "$ "; color: var(--code-dim); }
.copy { display: none; border: 0; border-left: 1px solid #34322a; background: transparent; color: var(--code-ink); font: 600 13px var(--mono); padding: 0 16px; cursor: pointer; }
.js .copy { display: block; }
.copy:hover { background: #2a2922; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid var(--ink); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn:hover { transform: translateY(-1px); }

/* terminal report card */
.term { background: var(--code-bg); color: var(--code-ink); border-radius: 14px; padding: 0 0 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); font: 13px/1.75 var(--mono); overflow: hidden; }
.term .bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid #2c2a23; margin-bottom: 12px; }
.term .bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a382f; }
.term .bar span { margin-left: 10px; color: var(--code-dim); font-size: 12px; line-height: 11px; }
.term pre { margin: 0; padding: 0 18px; white-space: pre-wrap; word-break: break-word; font-size: 13px; }
.term .dim { color: var(--code-dim); }
.term .ok { color: #7fd09a; }
.term .bad { color: #f2937d; }
.term .out { color: var(--mark); }
.caption { font-size: 14px; color: var(--muted); margin: 14px 4px 0; }

/* pains */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 44px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.split .head { padding: 16px 24px; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.split .head + .head { border-left: 1px solid var(--line); }
.split .cell { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.split .cell.own { border-left: 1px solid var(--line); }
.split .cell:nth-last-child(-n+2) { border-bottom: 0; }
.split .pain { font-family: var(--serif); font-size: 20px; line-height: 1.35; }
.split .own p { margin: 0; }
.split .own small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }

/* compare */
.tablewrap { overflow-x: auto; margin-top: 44px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { font: 600 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
tbody th { font-weight: 600; width: 19%; }
td.us, th.us { background: var(--mark-soft); }
td.us { font-weight: 600; }
.note { font-size: 14px; color: var(--muted); margin: 14px 0 0; max-width: 72ch; }

/* entries */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; }
.card .num { font: 600 12px/1 var(--mono); color: var(--muted); letter-spacing: .1em; }
.card h3 { margin: 14px 0 6px; }
.card .says { font-family: var(--serif); font-style: italic; color: var(--muted); margin: 0 0 12px; }
.card p { margin: 0 0 18px; }
.card a.more { margin-top: auto; font-weight: 600; font-size: 15px; }

/* chain */
.chain { margin-top: 44px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 14px 0 0; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font: 600 12px/1 var(--mono); color: var(--muted); margin-bottom: 12px; }
.step .rule { height: 3px; background: var(--ink); margin-bottom: 16px; position: relative; }
.step .rule::after { content: ""; position: absolute; right: -3px; top: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--mark); border: 2px solid var(--ink); }
.step:last-child .rule::after { background: var(--ok); }
.step h3 { font-size: 18px; }
.step .tool { font: 13px/1.5 var(--mono); margin: 8px 0 6px; }
.step .lands { font-size: 13px; color: var(--muted); font-family: var(--mono); line-height: 1.5; word-break: break-word; }

/* word demo */
.demo { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; margin-top: 64px; align-items: center; }
.codebox { background: var(--code-bg); color: var(--code-ink); border-radius: 14px; padding: 20px 22px; font: 13.5px/1.7 var(--mono); overflow-x: auto; }
.codebox pre { margin: 0; }
.codebox .c { color: var(--code-dim); }
.codebox .s { color: #e8c76a; }
.codebox .k { color: #9fc4ff; }
.stage { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone { position: relative; width: 236px; aspect-ratio: 9 / 16; border-radius: 26px; border: 8px solid var(--ink); overflow: hidden; background:
  radial-gradient(120% 70% at 30% 20%, #c9b48a 0%, #6d5a3e 45%, #2b241a 100%); }
.phone .shelf { position: absolute; left: 12%; right: 12%; height: 6px; background: rgba(0,0,0,.35); border-radius: 3px; }
.phone .shelf.a { top: 34%; } .phone .shelf.b { top: 52%; }
.phone .stamp { position: absolute; top: 25%; left: 50%; transform: translate(-50%, 0) rotate(-12deg); border: 4px solid #e2462c; color: #e2462c; font: 800 26px/1 var(--sans); padding: 8px 12px; letter-spacing: .06em; background: rgba(255,255,255,.88); border-radius: 6px; white-space: nowrap; }
.phone .cap { position: absolute; left: 10px; right: 10px; bottom: 16%; text-align: center; font: 700 17px/1.3 var(--sans); color: rgba(255,255,255,.95); text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.phone .cap span.on { color: var(--mark); }
.js .phone .stamp { opacity: 0; }
.js .phone .stamp.hit { animation: thump .28s ease-out forwards; }
@keyframes thump { from { opacity: 0; transform: translate(-50%, 0) rotate(-12deg) scale(1.9); } to { opacity: 1; transform: translate(-50%, 0) rotate(-12deg) scale(1); } }
.track { width: 100%; max-width: 420px; }
.track .lane { position: relative; height: 68px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.track .w { position: absolute; top: 8px; font: 12px/1 var(--mono); color: var(--muted); transform: translateX(-2px); white-space: nowrap; transition: left .5s ease; }
.track .w.key { color: var(--ink); font-weight: 700; }
.track .ev { position: absolute; bottom: 6px; transform: translateX(-50%); font: 600 11px/1 var(--mono); background: #e2462c; color: #fff; padding: 4px 6px; border-radius: 4px; transition: left .5s ease; white-space: nowrap; }
.track .ev::before { content: ""; position: absolute; left: 50%; top: -14px; height: 14px; border-left: 2px dashed #e2462c; }
.track .ruler { display: flex; justify-content: space-between; font: 11px/1 var(--mono); color: var(--muted); margin-top: 6px; }
.versions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.versions button { display: none; font: 600 13px var(--mono); padding: 8px 12px; border-radius: 8px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.versions button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.js .versions button { display: inline-block; }
.punch { font-family: var(--serif); font-style: italic; font-size: 24px; margin: 0; text-align: center; }

/* formats */
.formats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 44px; }
.fmt { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; transition: border-color .15s; }
.fmt:hover { border-color: var(--ink); }
.fmt h3 { font-size: 19px; }
.fmt p { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); }

/* honest */
.reqs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 40px; }
.req { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.req .dot { width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; border: 2px solid var(--ink); }
.req.must .dot { background: var(--ink); }
.req b { display: block; }
.req span { font-size: 14.5px; color: var(--muted); }
.pledge { margin-top: 40px; padding: 26px 28px; border-radius: 14px; background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; }
.pledge small { display: block; font: 15px/1.6 var(--sans); opacity: .75; margin-top: 10px; }

/* closing + footer */
.closing { text-align: center; }
.closing h2 { margin: 0 auto; }
.closing .install { margin: 30px auto 0; text-align: left; }
.closing .ctas { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer ul { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; margin: 0; padding: 0; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer span a { white-space: nowrap; }

@media (max-width: 900px) {
  .hero, .demo { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .chain { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .reqs { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 38px; }
  .term pre { font-size: 12px; }
  .install pre { font-size: 11.5px; padding: 14px 12px; white-space: pre-wrap; overflow-x: visible; }
  .copy { padding: 0 12px; }
  .install pre::before { content: none; }
  section { padding: 64px 0; }
  .split { grid-template-columns: 1fr; }
  .split .head + .head { display: none; }
  .split .cell.own { border-left: 0; background: var(--mark-soft); }
  .split .cell:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .chain { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .phone .stamp.hit { animation: none; opacity: 1; }
  .track .w, .track .ev { transition: none; }
}

/* hero animation (SVG) */
.hero-art { margin: 0; }
.hb { display: block; width: 100%; height: auto; overflow: visible; }
.hb text { font-family: var(--mono); }
.hb .hb-card { fill: var(--card); stroke: var(--line); }
.hb .hb-label { font-size: 10px; letter-spacing: .12em; fill: var(--muted); font-weight: 600; }
.hb .hb-brief { font: italic 17px var(--serif); fill: var(--ink); }
.hb .hb-pill { fill: var(--mark); }
.hb .hb-pilltext { font-size: 10.5px; font-weight: 700; fill: #17160f; }
.hb .hb-conn { stroke: var(--muted); stroke-width: 1.2; }
.hb .hb-panel { fill: var(--code-bg); }
.hb .hb-dim { font-size: 9.5px; fill: var(--code-dim); letter-spacing: .04em; }
.hb .hb-tick { font-size: 8px; fill: var(--code-dim); }
.hb .hb-sep { stroke: #2e2c25; stroke-width: 1; }
.hb .hb-lane { font-size: 8.5px; fill: var(--code-dim); letter-spacing: .08em; }
.hb .hb-chip rect { fill: #33312a; transition: fill .15s; }
.hb .hb-chip text { font-size: 8.5px; fill: var(--code-ink); }
.hb .hb-chip.lit rect { fill: var(--mark); }
.hb .hb-chip.lit text { fill: #17160f; font-weight: 700; }
.hb .hb-chip.key rect { stroke: #e2462c; stroke-width: 1.5; }
.hb .hb-cliplab { font-size: 8px; fill: rgba(255,255,255,.8); }
.hb .hb-cue { fill: #3a382f; }
.hb .hb-cuetext { font-size: 6.6px; fill: #d9d3c2; }
.hb .hb-wave { fill: #7fd09a; opacity: .8; }
.hb .hb-evline { stroke: #e2462c; stroke-width: 1.3; stroke-dasharray: 3 3; }
.hb .hb-ev { fill: #e2462c; }
.hb .hb-evtext { font-size: 8.5px; fill: #fff; font-weight: 700; }
.hb .hb-head { stroke: var(--mark); stroke-width: 1.6; }
.hb .hb-headcap { fill: var(--mark); }
.hb .hb-phone { fill: var(--ink); }
.hb .hb-stamp { fill: rgba(255,255,255,.92); stroke: #e2462c; stroke-width: 3; }
.hb .hb-stamptext { font-family: var(--sans); font-weight: 800; fill: #e2462c; letter-spacing: .04em; }
.hb .hb-cap { font: 700 12.5px var(--sans); fill: rgba(255,255,255,.95); paint-order: stroke; stroke: rgba(0,0,0,.45); stroke-width: 3px; }
.hb .hb-cap .lit { fill: var(--mark); }
.hb .hb-ok { fill: var(--ok); }
.hb .hb-oktext { font: 700 11px var(--sans); fill: #fff; }
.hb .hb-check circle { fill: transparent; stroke: var(--line); stroke-width: 1.5; transition: fill .2s, stroke .2s; }
.hb .hb-check .hb-tickmark { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.hb .hb-check.done circle { fill: var(--ok); stroke: var(--ok); }
.hb .hb-check.done .hb-tickmark { opacity: 1; }
.hb .hb-checktext { font-size: 10.5px; fill: var(--ink); }
.hb .hb-doc { fill: none; stroke: var(--muted); stroke-width: 1.3; }
.hb .hb-foot { font-size: 10px; fill: var(--muted); letter-spacing: .04em; }
.hb [data-pop], .hb [data-drop], .hb [data-grow], .hb [data-hit] { transform-box: fill-box; transform-origin: center; }

/* delivery-check demo */
.demo.gate { grid-template-columns: 0.9fr 1.1fr; margin-top: 88px; }
.demo.gate .term pre { white-space: pre-wrap; }
.term .ln { display: block; }
.js .term.typing .ln { opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.js .term.typing .ln.on { opacity: 1; transform: none; }
.term .ln.dim { color: var(--code-dim); }
.term .ln.out { color: var(--mark); }

/* scroll reveal and marker sweep (only with JS, only without reduced motion) */
.js.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.js.motion .reveal.in { opacity: 1; transform: none; }
.js.motion .hl { background-size: 0% 100%; background-repeat: no-repeat; transition: background-size .8s cubic-bezier(.2,.7,.2,1) .25s; }
.js.motion h1.in .hl, .js.motion .reveal.in .hl, .js.motion .in > .hl { background-size: 100% 100%; }
.js.motion .step .rule { clip-path: inset(-8px 100% -8px -8px); transition: clip-path .6s ease calc(var(--i, 0) * 160ms + .2s); }
.js.motion .step.in .rule { clip-path: inset(-8px -8px -8px -8px); }
@media (max-width: 900px) { .demo.gate { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 380px) { .install pre { font-size: 10.5px; } }

/* centered hero over a full-width scene */
.hero.center { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; text-align: center; }
.hero.center > .wrap, .hero.center > .scene-wrap { grid-area: 1 / 1; }
.hero.center > .wrap { position: relative; z-index: 1; align-self: start; padding-top: 24px; }
.hero.center .wrap > * { margin-left: auto; margin-right: auto; }
.hero.center h1 { max-width: 22ch; font-size: clamp(38px, 4.2vw, 56px); margin-top: 16px; }
.hero.center .lede { max-width: 60ch; font-size: 19px; margin-top: 14px; }
.hero.center .scope { max-width: 100ch; margin-top: 8px; }
.hero.center .install { margin-top: 20px; text-align: left; }
.hero.center .ctas { justify-content: center; margin-top: 14px; }
.scene-wrap { position: relative; overflow: hidden; pointer-events: none; }
.scene { display: block; width: min(100%, 1600px, max(1100px, calc((100vh - 64px) * 1600 / 1060))); height: auto; margin: 0 auto; }
@media (max-height: 820px) and (min-width: 761px) {
  .hero.center { display: block; }
  .scene { width: 100%; max-width: none; margin-top: -22%; }
}
@media (max-width: 760px) {
  .hero.center { display: block; }
  .scene { width: 190%; max-width: none; margin: -46vw 0 0 -45%; }
}

/* one-take section (the timeline animation, moved from the hero) */
.take { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .take { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* hero scene drawing: theme tokens + parts */
.scene {
  --sc-dark: #23211c; --sc-dark2: #36332b; --sc-metal: #8b8579; --sc-film: #1b1915; --sc-perf: #ece7da;
  --sc-dais: #2a2823; --sc-daistop: #3b382f; --sc-canvas: #2a2823; --sc-paper: #fffdf8; --sc-paperline: #ddd7ca;
  --sc-cone: #f2c230; --sc-back: #f1e2b4; --sc-floor: #17160f; --sc-mote: #fff4cc;
  --sc-metal0: #7d776a; --sc-metal1: #403c34; --sc-wound: #2c241b;
}
@media (prefers-color-scheme: dark) {
  .scene {
    --sc-dark: #34312a; --sc-dark2: #47443a; --sc-metal: #77715f; --sc-film: #0c0b09; --sc-perf: #9d9786;
    --sc-dais: #22201b; --sc-daistop: #34312a; --sc-canvas: #3a372f; --sc-paper: #232118; --sc-paperline: #3d3a30;
    --sc-back: #3a2f10; --sc-floor: #000; --sc-mote: #fff1b8; --sc-metal0: #8a8473; --sc-metal1: #4a463c; --sc-wound: #1a150f;
  }
}
.scene text { font-family: var(--mono); }
.scene .sc-stop-cone0 { stop-color: var(--sc-cone); stop-opacity: .34; }
.scene .sc-stop-cone1 { stop-color: var(--sc-cone); stop-opacity: 0; }
.scene .sc-stop-back0 { stop-color: var(--sc-back); stop-opacity: .75; }
.scene .sc-stop-back1 { stop-color: var(--sc-back); stop-opacity: 0; }
.scene .sc-stop-metal0 { stop-color: var(--sc-metal0); }
.scene .sc-stop-metal1 { stop-color: var(--sc-metal1); }
.scene .sc-mote { fill: var(--sc-mote); opacity: .75; }
.scene .sc-rodline { stroke: var(--sc-metal); stroke-width: 2.5; }
.scene .sc-yoke { fill: none; stroke: var(--sc-metal); stroke-width: 4; }
.scene .sc-lampbody { fill: var(--sc-dark); }
.scene .sc-fin { fill: var(--sc-dark2); }
.scene .sc-lens { fill: #f7d35a; }
.scene .sc-barn { fill: var(--sc-dark2); }
.scene .sc-floorshadow { fill: var(--sc-floor); opacity: .1; }
.scene .sc-dais { fill: var(--sc-dais); }
.scene .sc-daistop { fill: var(--sc-daistop); }
.scene .sc-leg { stroke: #7a5233; stroke-width: 9; stroke-linecap: round; fill: none; }
.scene .sc-canvas { fill: var(--sc-canvas); }
.scene .sc-canvashi { fill: #fff; opacity: .07; }
.scene .sc-chairtext { font-size: 18px; font-weight: 800; letter-spacing: .2em; fill: #f2c230; }
.scene .sc-slate { fill: #2f2d27; }
.scene .sc-chalk { stroke: rgba(255,255,255,.28); stroke-width: 1.2; fill: none; }
.scene .sc-claptext { font-size: 9.5px; font-weight: 700; fill: #efeadc; letter-spacing: .04em; }
.scene .sc-stickedge { stroke: #23211c; stroke-width: 1.5; }
.scene .sc-hinge { fill: #b9b2a2; }
.scene .sc-darkfill { fill: var(--sc-dark); }
.scene .sc-dark2fill { fill: var(--sc-dark2); }
.scene .sc-metalfill { fill: var(--sc-metal); }
.scene .sc-bubble { fill: var(--card); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.scene .sc-bubblefill { fill: var(--card); }
.scene .sc-bubbletext { font: 800 19px var(--sans); fill: var(--ink); }
.scene .sc-post { fill: var(--sc-dark); }
.scene .sc-postled { fill: #7fd09a; opacity: .55; }
.scene .sc-stand { stroke: var(--sc-metal); stroke-width: 6; stroke-linecap: round; fill: none; }
.scene .sc-wound { fill: var(--sc-wound); }
.scene .sc-woundline { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 1.5; }
.scene .sc-flange { fill: url(#scMetal); }
.scene .sc-rim { fill: none; stroke: var(--sc-dark); stroke-width: 3; }
.scene .sc-reelmark { stroke: #f2c230; stroke-width: 4; stroke-linecap: round; }
.scene .sc-hub { fill: #f2c230; stroke: var(--sc-dark); stroke-width: 2; }
.scene .sc-hubdot { fill: var(--sc-dark); }
.scene .sc-filmbase { fill: var(--sc-film); }
.scene .sc-perf { fill: var(--sc-perf); opacity: .9; }
.scene .sc-filmline { fill: #fff; opacity: .05; }
.scene .sc-striphi { fill: #fff; opacity: .1; }
.scene .sc-frame { fill: #1c1b17; }
.scene .sc-bezel { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 1.5; }
.scene .sc-notch { fill: #1c1b17; }
.scene .sc-fmtlabel { font-size: 11px; font-weight: 700; fill: #f2c230; letter-spacing: .02em; }
.scene .sc-badge circle { fill: #8f897a; stroke: #1c1b17; stroke-width: 2.5; }
.scene .sc-badge path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.scene .sc-card.done .sc-badge circle { fill: #2d7a47; }
.scene .sc-card.done .sc-badge path { opacity: 1; }
.scene .sc-housinghi { fill: #fff; opacity: .08; }
.scene .sc-gatetext { font-size: 16px; font-weight: 700; fill: #f2c230; }
.scene .sc-hanger { fill: none; stroke: var(--sc-metal); stroke-width: 2; }
.scene .sc-paper { fill: var(--sc-paper); stroke: var(--line); stroke-width: 1.5; }
.scene .sc-paperline { fill: var(--sc-paperline); }
.scene .sc-plantext { font-size: 10.5px; font-weight: 700; fill: var(--ink); }
.scene .sc-tick { stroke: #fff; stroke-width: 1.6; fill: none; stroke-linecap: round; }
.scene .sc-tripod { stroke: var(--sc-metal); stroke-width: 4; stroke-linecap: round; fill: none; }
.scene .sc-tripod.sc-thin { stroke-width: 2.5; }
.scene .sc-handle { fill: none; stroke: var(--sc-dark2); stroke-width: 5; stroke-linejoin: round; }
.scene .sc-frustum { fill: #f2c230; opacity: .1; }
.scene .sc-pilltext { font: 700 14px var(--sans); fill: #fff; }
.scene .sc-docicon { fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-linejoin: round; }
.scene .sc-report { font-size: 11px; fill: var(--muted); }
.scene #scPill { transform-box: fill-box; transform-origin: center; }

/* requirements: what you bring / what the agent handles / what runs on Bibei */
.reqgroup { margin-top: 44px; }
.reqgroup h3 { font-size: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.reqgroup .reqs { margin-top: 0; }
.reqgroup .req span a { color: var(--ink); }
.reqnote { margin: 14px 0 0; color: var(--muted); max-width: 70ch; font-size: 15.5px; }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.svc-col { border-radius: 14px; padding: 20px 22px; border: 1px solid var(--line); background: var(--card); min-width: 0; }
.svc-col.paid { border-color: var(--mark); background: var(--mark-soft); }
.svc-head { margin: 0 0 10px; font: 600 12px/1.3 var(--mono); letter-spacing: .08em; color: var(--muted); }
.svc-col.paid .svc-head { color: var(--ink); }
.svc ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; font-size: 15px; }
.svc li::marker { color: var(--muted); }
@media (max-width: 760px) { .svc { grid-template-columns: minmax(0, 1fr); } }

/* "let the agent install it" */
.askhint { margin: 12px 0 0; font-size: 14.5px; }
.askhint a { color: var(--muted); text-decoration-color: var(--line); }
.askhint a:hover { color: var(--ink); }
.ways { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; margin-top: 18px; align-items: start; }
.way { display: grid; gap: 12px; min-width: 0; }
.way > p { margin: 0; font-size: 15px; color: var(--muted); }
.way > p b { color: var(--ink); }
.way .install { margin: 0; max-width: none; }
.ask { display: flex; align-items: stretch; background: var(--mark-soft); border: 1px solid var(--mark); border-radius: 10px; overflow: hidden; }
.ask p { margin: 0; padding: 14px 16px; flex: 1; min-width: 0; font-size: 15px; line-height: 1.6; }
.ask .copy { color: var(--ink); border-left: 1px solid var(--mark); }
.ask .copy:hover { background: var(--mark); }
.reqs.one { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .ways { grid-template-columns: minmax(0, 1fr); } }
.ctas .textlink { align-self: center; margin-left: 6px; font-size: 14.5px; color: var(--muted); text-decoration-color: var(--line); }
.ctas .textlink:hover { color: var(--ink); }
#requirements h2 { max-width: none; }
.way .waynote { margin: 0; font-size: 13.5px; color: var(--muted); }
.way > p code { font-size: 13px; }
