/* Extract_Insurance:// website (decision log 092, 093). Dark, single theme; pixel art is the brand. */
:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-2: #0b0e14;
  --panel: #0e121a;
  --panel-2: #121722;
  --line: #1c2331;
  --line-2: #273044;
  --ink: #e6ebf3;
  --ink-2: #aab3c3;
  --dim: #6b7588;
  --accent: #38e8a6;
  --accent-ink: #04130d;
  --accent-bg: rgba(56, 232, 166, 0.1);
  --warn: #ffb547;
  --warn-bg: rgba(255, 181, 71, 0.08);
  --j-key: #8fb5ff;
  --j-str: #a8e6a1;
  --j-num: #ffb86b;
  --j-lit: #d29bff;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --pixel: "Silkscreen", var(--mono);
  --head: 64px;
  --gutter: 24px;
}
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.in { max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

/* the dot field (104, 108): resting dots only in a few soft patches (.mesh: each sets where, --mx --my, and how wide,
   --mw --mh). site.js lights the dots near the cursor anywhere, on a canvas behind the page, and shifts each patch's
   grid (--gx --gy) onto the page's, so the light lands on the same dots. */
.field { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
main, .foot { position: relative; z-index: 1; }
.mesh { position: relative; }
.mesh::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(rgba(56, 232, 166, .3) 1px, transparent 1.6px) var(--gx, 0px) var(--gy, 0px) / 18px 18px; -webkit-mask-image: radial-gradient(ellipse var(--mw) var(--mh) at var(--mx) var(--my), #000, transparent 70%); mask-image: radial-gradient(ellipse var(--mw) var(--mh) at var(--mx) var(--my), #000, transparent 70%); }
.mesh > * { position: relative; }
.hero { --mw: 60%; --mh: 70%; --mx: 78%; --my: 45%; }
/* the third section's patch, behind its terminal on the left (116) */
#pricing { --mw: 40%; --mh: 80%; --mx: 12%; --my: 58%; }
#trust { --mw: 40%; --mh: 55%; --mx: 88%; --my: 16%; }
.cta { --mw: 55%; --mh: 80%; --mx: 50%; --my: 50%; }

/* buttons: pixel corners, the same notch the terminals use */
.btn { --pc: var(--line-2); display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 14px; font-weight: 600; line-height: 1.2; padding: 12px 18px; margin: 3px; background: var(--panel); color: var(--ink); text-decoration: none; white-space: nowrap; box-shadow: 0 -3px 0 0 var(--pc), 0 3px 0 0 var(--pc), -3px 0 0 0 var(--pc), 3px 0 0 0 var(--pc); transition: transform .12s steps(2, jump-none), background-color .12s; }
.btn:hover { transform: translateY(-2px); --pc: var(--dim); }
.btn:active { transform: translateY(1px); }
.btn.primary { --pc: var(--accent); background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { --pc: #5ff0bb; background: #5ff0bb; }
.btn.sm { font-size: 13px; padding: 7px 12px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px 14px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(7, 9, 13, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topin { height: var(--head); display: flex; align-items: center; gap: 28px; }
/* /try (decision log 283): the app's steps in a frame that fills the screen under the menu and scrolls inside; the
   page itself stays put, or scrolling inside the steps would slide the frame under the menu. */
.trypage { height: 100vh; height: 100dvh; overflow: hidden; }
.trypage .foot { display: none; }
.tryframe { display: block; width: 100%; height: calc(100vh - var(--head) - 1px); height: calc(100dvh - var(--head) - 1px); border: 0; background: var(--bg); }
.home { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.home img { height: 22px; width: auto; display: block; }
/* beta (decision log 235): a pixel pill beside the logo, the buttons' notch in the accent. Its padding centres the
   capitals, measured in a browser at 2x and 3x (decision log 237): Silkscreen sits low in its line, and letter-spacing
   adds space after the last letter. */
.beta { --pc: var(--accent); flex: none; margin: 2px; padding: 3px calc(6px - .08em) 3px 6px; font-family: var(--pixel); font-size: 10px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-bg); box-shadow: 0 -2px 0 0 var(--pc), 0 2px 0 0 var(--pc), -2px 0 0 0 var(--pc), 2px 0 0 0 var(--pc); }
.menu { display: flex; align-items: center; gap: 28px; font-family: var(--mono); font-size: 13.5px; }
.menu a { color: var(--ink-2); text-decoration: none; padding: 4px 0; }
.menu a:hover { color: var(--ink); }
.topin .btn + .btn { margin-left: -12px; }
.menu .phone { display: none; }
.menubtn { display: none; width: 40px; height: 40px; margin-right: -8px; padding: 0; background: none; border: 0; color: var(--ink); cursor: pointer; }
.menubtn svg { width: 20px; height: 16px; display: block; margin: auto; shape-rendering: crispEdges; }

/* hero */
.hero { position: relative; padding-block: 88px 96px; overflow: hidden; }
.herogrid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 64px; align-items: center; }
.herotext { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: 60px; line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; }
.hero h1 span { color: var(--accent); }
.hero h1 em { font-style: normal; display: block; }
.hero .sub { color: var(--ink-2); font-size: 18px; line-height: 1.6; max-width: 54ch; }
.priceline { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.priceline b { color: var(--ink); font-weight: 600; }
/* the pixel font, like the heart beside it (113) */
.eyebrow.love { font-family: var(--pixel); font-size: 13px; letter-spacing: .04em; text-transform: none; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.heroterm .pipe { padding: 6px 16px 16px; }
.k { color: var(--j-key); } .s { color: var(--j-str); } .n { color: var(--j-num); } .l { color: var(--j-lit); } .c { color: var(--dim); }
.st-ok { color: var(--accent); } .st-warn { color: var(--warn); } .st-dim { color: var(--dim); }

/* sections */
.sec { padding-block: 112px; }
.sec.alt { background: rgba(20, 26, 38, .3); border-block: 1px solid var(--line); }
.eyebrow { font-family: var(--pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow:not(.love)::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; }
.sec h2 { font-size: 42px; line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
.sec h2 .ac { color: var(--accent); }
.sec .sub { color: var(--ink-2); font-size: 17px; max-width: 52ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 72px; align-items: center; }
.split.flip { grid-template-columns: minmax(0, 500px) minmax(0, 1fr); }
.split.flip .wl { order: 2; }
.wl { display: flex; flex-direction: column; gap: 20px; }

/* trust */
.trusthead { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 56px; }
.stat { --pc: var(--line-2); background: var(--panel); padding: 24px; margin: 3px; box-shadow: 0 -3px 0 0 var(--pc), 0 3px 0 0 var(--pc), -3px 0 0 0 var(--pc), 3px 0 0 0 var(--pc); display: flex; flex-direction: column; gap: 6px; }
.stat .v { font-family: var(--pixel); font-size: 40px; font-weight: 700; line-height: 1; color: var(--accent); }
.stat .t { color: var(--ink-2); font-size: 15px; }
/* a line under each stat (115) */
.stat .sn { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line-2); color: var(--dim); font-size: 14px; }
.trustgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.ti { border-top: 1px solid var(--line-2); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.ti h3 { font-size: 16px; font-weight: 600; }
.ti p { color: var(--ink-2); font-size: 15px; }
.tic { width: 32px; height: 32px; margin-bottom: 4px; }
.ti code { font-family: var(--mono); font-size: .9em; color: var(--ink); }

/* closing */
.closing { padding-block: 0 112px; }
.cta { --pc: var(--line-2); position: relative; overflow: hidden; margin: 3px; padding: 64px 32px; background: rgba(23, 29, 42, .45); box-shadow: 0 -3px 0 0 var(--pc), 0 3px 0 0 var(--pc), -3px 0 0 0 var(--pc), 3px 0 0 0 var(--pc); display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.cta h2 { font-size: 40px; line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
.cta .ctas { justify-content: center; }

/* footer (decision log 147): brand, link columns, the company line. Legal and company columns join when their pages exist. */
.foot { border-top: 1px solid var(--line); padding-block: 48px 32px; }
.footin { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; }
.fbrand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.foot img { height: 18px; width: auto; display: block; }
.fbrand p { font-size: 14px; color: var(--dim); }
.fcols { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.fcol { display: flex; flex-direction: column; gap: 10px; min-width: 120px; font-family: var(--mono); font-size: 13px; }
.fcol h2 { font-family: var(--pixel); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.fcol a { color: var(--dim); text-decoration: none; width: fit-content; }
.fcol a:hover { color: var(--ink); }
.fbase { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--dim); }
.flegal { display: flex; gap: 20px; }
.flegal a { color: var(--dim); text-decoration: none; }
.flegal a:hover, .flegal a[aria-current] { color: var(--ink); }
@media (max-width: 560px) { .fcols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; width: 100%; } .fcol { min-width: 0; } }

@media (max-width: 1000px) {
  .hero { --mw: 75%; --mh: 38%; --mx: 80%; --my: 74%; }
  .herogrid, .split, .split.flip { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .split.flip .wl { order: 0; }
  .hero { padding-block: 64px 72px; }
  .trustgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --head: 56px; }
  .menubtn { display: block; }
  .topin { gap: 12px; }
  .home img { height: 18px; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 15px; }
  .top.open .menu { display: flex; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu a:last-child { border-bottom: 0; }
  .menu .phone { display: block; }
  .nophone { display: none; }
  .hero { padding-block: 44px 56px; }
  .hero h1 { font-size: 40px; }
  .hero .sub { font-size: 17px; }
  .sec { padding-block: 72px; }
  .sec h2, .cta h2 { font-size: 30px; }
  .stats, .trustgrid { grid-template-columns: minmax(0, 1fr); }
  .stats { margin-bottom: 40px; }
  .stat .v { font-size: 32px; }
  .closing { padding-block: 0 72px; }
  .cta { padding: 44px 20px; }
}
@media (max-width: 380px) { .top .btn.sm { padding: 6px 9px; } .hero h1 { font-size: 36px; } }
/* the logo and the beta pill make room for "Sign up" and the menu on narrow phones (decision log 235) */
@media (max-width: 400px) { .home { gap: 8px; } .home img { height: 15px; } .top .beta { font-size: 9px; padding: 2px 4.4px 3px 5.4px; } }
@media (max-width: 340px) { .topin { gap: 8px; } .home img { height: 13px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* components: the hero's run, the terminals, the benchmark and the receipt */
.heart { width: 18px; height: 16px; flex: none; }

code { font-family: var(--mono); font-size: 0.86em; background: var(--panel-2); padding: 1px 5px; border-radius: 4px; color: var(--ink); }

.pipe { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; font-family: var(--mono); font-size: 12.5px; }
.clock { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.stage { display: grid; grid-template-columns: 12px 116px 1fr; grid-template-areas: "dot nm dt" ". bar bar"; column-gap: 8px; row-gap: 4px; padding: 6px 0; align-items: center; }
.stage .dot { grid-area: dot; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--line-2); background: transparent; }
.stage .nm { grid-area: nm; color: var(--dim); }
.stage .dt { grid-area: dt; color: var(--dim); font-size: 11.5px; overflow-wrap: anywhere; }
.stage .bar { grid-area: bar; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.stage .bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.stage .ticks { grid-area: bar; display: flex; gap: 4px; }
.stage .ticks i { flex: 1; height: 6px; border-radius: 1px; background: var(--line); }
.stage .ticks i.on { background: var(--accent); }
.stage.running .dot { border-color: var(--accent); background: var(--accent-bg); animation: blink 0.8s steps(2, jump-none) infinite; }
.stage.running .nm, .stage.done .nm { color: var(--ink); }
.stage.running .dt { color: var(--ink-2); }
.stage.done .dot { border-color: var(--accent); background: var(--accent); }
.stage.done .dt { color: var(--ink-2); }
@keyframes blink { 0% { opacity: 1; } 100% { opacity: 0.25; } }
.summary { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); transition: opacity .3s; }
.summary b { font-weight: 600; color: var(--ink); }
.summary b.ok { color: var(--accent); } .summary b.warn { color: var(--warn); }

/* 1 hero: the three setup steps in one animated panel */
.run3 { padding: 6px 14px 14px; }
.ph { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; padding: 12px 0 8px; margin-top: 6px; border-top: 1px solid var(--line); }
.s1 > .ph { border-top: 0; margin-top: 0; padding-top: 8px; }
.ph .pn { width: 18px; height: 18px; border-radius: 4px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 11px; font-weight: 600; letter-spacing: 0; flex: none; }
.ph .jobst { margin-left: auto; text-transform: none; letter-spacing: 0; }
.ph .clock { text-transform: none; letter-spacing: 0; }
.ph > span { white-space: nowrap; }
.ph > .tabs { white-space: normal; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px 3px 4px; }
.chip.sel { border-color: var(--accent); color: var(--ink); background: var(--accent-bg); }
.ft { font-size: 9.5px; font-weight: 600; padding: 1px 4px; border-radius: 3px; }
.ft.pdf { color: #ff8a8a; background: rgba(255, 107, 107, .12); }
.ft.xls { color: #5fd38d; background: rgba(95, 211, 141, .12); }
.ft.jpg { color: #8fb5ff; background: rgba(143, 181, 255, .12); }
.run3 .stage { grid-template-columns: 12px 116px minmax(0, 1fr) 72px; grid-template-areas: "dot nm dt bar"; padding: 4px 0; }
.run3 .stage .ticks { gap: 2px; }
.out { display: flex; flex-direction: column; gap: 8px; transition: opacity .3s; }
.ph { flex-wrap: wrap; row-gap: 6px; }
.tabs { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px; text-transform: none; letter-spacing: 0; white-space: normal; }
.tab { font: inherit; font-size: 11px; line-height: 1.5; color: var(--ink-2); background: transparent; border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 7px; cursor: pointer; }
.tab:hover { color: var(--ink); border-color: var(--dim); }
.tab.on { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); font-weight: 600; }
.view { height: 150px; overflow: hidden; font-size: 12px; }
.view * { box-sizing: border-box; }
.view .ln { line-height: 21px; padding: 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--dim); }
.view .ln.f { padding-left: calc(4px + 2ch); color: var(--ink-2); }
.view .xg { display: grid; grid-template-columns: 22px minmax(0, 0.85fr) minmax(0, 1.15fr); border: 1px solid var(--line-2); border-width: 1px 0 0 1px; font-size: 11.5px; }
.view .xg > span { border: 1px solid var(--line); border-width: 0 1px 1px 0; padding: 0 6px; height: 21px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.view .xg .hd, .view .xg .rn { background: var(--panel-2); color: var(--dim); text-align: center; padding: 0 2px; }
.view .xg .lb { color: var(--ink-2); }
.view .xg .vl { color: var(--ink); }
.view .xg .vl.num { text-align: right; color: var(--j-num); }
.view .flag { background: var(--warn-bg); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, .55); }
.view .fg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; }
.view .bx { border: 1px solid var(--line-2); border-radius: 3px; padding: 2px 7px; height: 34px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.view .bx small { font-size: 9px; color: var(--dim); text-transform: uppercase; letter-spacing: .05em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.view .bx b { font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.45; min-height: 1.45em; }
.view .bx.flag { border-color: var(--warn); box-shadow: none; }
.view .bx.flag b { color: var(--warn); }
.view .ag { display: flex; flex-direction: column; gap: 6px; }
.view .tg { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 8px; align-items: center; border: 1px solid var(--line-2); border-radius: 6px; padding: 6px 8px; }
.view .tg .tn { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.view .tg .ct { color: var(--dim); font-size: 11.5px; }
.view .tg.done { border-color: rgba(56, 232, 166, .45); }
.view .tg.done .ct { color: var(--accent); }
.view .wh { color: var(--dim); font-size: 11.5px; padding: 2px 2px 0; }
.ft { text-align: center; }
.ft.json { color: var(--accent); background: var(--accent-bg); }
.view .new { animation: land .6s steps(3, jump-none) 1; }
@keyframes land { 0% { background: rgba(56, 232, 166, .22); } 100% { background: transparent; } }
.cap { font-size: 11.5px; line-height: 1.6; color: var(--ink-2); min-height: 3.2em; overflow-wrap: anywhere; }
.cap .src { color: var(--accent); }
.cap .arr { color: var(--dim); }
@media (max-width: 560px) { .tabs { margin-left: 0; width: 100%; gap: 3px; } .tab { padding: 1px 5px; } .cap { min-height: 4.8em; } .view .xg { grid-template-columns: 20px minmax(0, 1fr) minmax(0, 1fr); } }
.run3 .summary { border-top: 0; margin-top: 4px; padding-top: 6px; }
/* the run, one step at a time (decision log 106): step 1 sends the files one by one; a finished step folds to its
   header and a one-line result, and the next opens; a step not reached shows only its header, its number grey. The
   result line appears once extraction is done, not before (105). The height is fixed so the hero doesn't jump. */
.fold { min-height: 410px; }
.fold .inner { display: flex; flex-direction: column; gap: 2px; min-height: 0; overflow: hidden; }
.fold .body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s steps(6, jump-none), opacity .3s steps(3, jump-none); }
.fold .step.done > .body, .fold .step.pending > .body { grid-template-rows: 0fr; opacity: 0; }
.ph .sum { display: none; margin-left: auto; text-transform: none; letter-spacing: 0; color: var(--ink-2); white-space: normal; }
.ph .sum b { font-weight: 600; color: var(--ink); } .ph .sum b.ok { color: var(--accent); } .ph .sum b.warn { color: var(--warn); }
.fold .step.done .sum, .fold .s3.pending .sum { display: inline; }
.fold .step.done .jobst, .fold .s3.pending .tabs { display: none; }
.fold .step.pending > .ph { opacity: .5; }
.fold .step.pending .pn { background: var(--line-2); color: var(--dim); }
.fold:not(.xdone) .summary { display: none; }
.ph .sum > span { white-space: nowrap; }
.chip { background-image: linear-gradient(90deg, var(--accent-bg) var(--p, 0%), transparent var(--p, 0%)); }
.chip.sel { background-image: none; }
.chip.wait { opacity: 0; }
.sendln { margin-top: 8px; font-size: 11.5px; color: var(--ink-2); }
@media (max-width: 560px) { .ph .jid { display: none; } .fold { min-height: 520px; } .fold .s2.done .sum { flex-basis: 100%; margin-left: 26px; } .fold .s2.done .clock { display: none; } }
@media (max-width: 560px) { .run3 .stage { grid-template-columns: 12px 116px minmax(0, 1fr); grid-template-areas: "dot nm dt" ". bar bar"; padding: 5px 0; } }

@media (prefers-reduced-motion: reduce) { .stage.running .dot { animation: none; } }

/* 4 why: the receipt, as a pixel terminal */
.px { --pc: var(--line-2); box-shadow: 0 -3px 0 0 var(--pc), 0 3px 0 0 var(--pc), -3px 0 0 0 var(--pc), 3px 0 0 0 var(--pc); margin: 3px; }
.term { background: var(--panel); font-family: var(--mono); font-size: 12.5px; }
.tbar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--panel-2); border-bottom: 3px solid var(--line-2); color: var(--dim); font-size: 11.5px; }
.tdots { display: flex; gap: 5px; }
.tdots i { width: 7px; height: 7px; background: var(--line-2); display: block; }
/* the lit square is the terminal's place on the page: run 1, benchmark 2, receipt 3 (099) */
.tdots i.on { background: var(--accent); }
.tbody { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; }
.tmeta { color: var(--ink-2); margin-bottom: 4px; overflow-wrap: anywhere; }
.rsec { color: var(--dim); margin-top: 10px; margin-bottom: 2px; }
.rl { display: flex; align-items: baseline; gap: 8px; color: var(--ink); }
.rl .ck { width: 14px; height: 10px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 5' shape-rendering='crispEdges' fill='%2338e8a6'%3E%3Cpath d='M6 0h1v1H6zM5 1h1v1H5zM0 2h1v1H0zM4 2h1v1H4zM1 3h1v1H1zM3 3h1v1H3zM2 4h1v1H2z'/%3E%3C/svg%3E") center / contain no-repeat; image-rendering: pixelated; align-self: center; }
.rl .tx { flex: 0 1 auto; min-width: 0; }
.rl i { flex: 1 1 10px; border-bottom: 2px dotted var(--line-2); transform: translateY(-3px); min-width: 10px; }
.rl em, .hot em { font-style: normal; color: var(--accent); flex: none; }
.hot { --pc: var(--accent); background: var(--accent); color: var(--accent-ink); margin: 14px 3px 4px; padding: 10px 12px; display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: start; }
.hot .spark { width: 15px; height: 15px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5' shape-rendering='crispEdges' fill='%2304130d'%3E%3Cpath d='M2 0h1v1H2zM1 1h3v1H1zM0 2h5v1H0zM1 3h3v1H1zM2 4h1v1H2z'/%3E%3C/svg%3E") center / contain no-repeat; image-rendering: pixelated; }
.hot .hx { display: flex; flex-direction: column; gap: 2px; }
.hot .hx b { font-weight: 600; font-size: 13.5px; }
.hot .hx span { font-size: 12px; opacity: .85; }
.hot em { color: var(--accent-ink); font-weight: 600; }
.rtotal { display: flex; justify-content: space-between; align-items: baseline; border-top: 3px solid var(--line-2); margin-top: 14px; padding-top: 12px; color: var(--ink-2); }
.rtotal b { font-family: "Silkscreen", var(--mono); font-weight: 700; font-size: 34px; color: var(--accent); letter-spacing: 0.02em; line-height: 1; }
.rfine { font-size: 11.5px; color: var(--dim); text-align: right; line-height: 1.6; }
.rthanks { margin-top: 12px; color: var(--dim); font-size: 11.5px; }
.cur { display: inline-block; width: 8px; height: 13px; background: var(--accent); margin-left: 6px; vertical-align: -2px; animation: blink 1s steps(2, jump-none) infinite; }
.term.printing .rl, .term.printing .rsec, .term.printing .hot, .term.printing .rtotal, .term.printing .rfine, .term.printing .rthanks { visibility: hidden; }
.term .shown { visibility: visible !important; }
.term .hot.shown { animation: flash .9s steps(1, jump-end) 1; }
.term .rtotal.shown b { animation: stamp .35s steps(3, jump-none); }
@keyframes flash { 0%, 34%, 68% { background: var(--accent); } 17%, 51%, 85% { background: var(--panel-2); color: var(--accent); } }
@keyframes stamp { 0% { transform: scale(1.6); } 100% { transform: scale(1); } }
@media (max-width: 560px) { .term { font-size: 11.5px; } .tbody { padding: 12px; } }
@media (prefers-reduced-motion: reduce) { .cur { animation: none; } }

/* 2 token cost: the statement and its evidence, mirrored for a zig-zag */
.bm { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); }
.bmh { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bmh > span { font-family: "Silkscreen", var(--mono); font-size: 13px; color: var(--ink); letter-spacing: 0.04em; }
.bmh b .u { font-weight: 400; }
.bmh b { font-family: "Silkscreen", var(--mono); font-weight: 700; font-size: 22px; line-height: 1; color: var(--accent); flex: none; font-variant-numeric: tabular-nums; }
.bmr { display: grid; grid-template-columns: 190px minmax(0, 1fr) 58px; gap: 10px; align-items: center; color: var(--ink-2); font-size: 12px; }
.bmr em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.bmr.us { color: var(--ink); }
.bmr.them .cbar i { background: repeating-linear-gradient(90deg, var(--dim) 0 6px, transparent 6px 8px); }
.cbar { height: 10px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 8px); }
.cbar i { display: block; height: 100%; width: var(--w); background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 8px); }
.term .bm .cbar i { transition: width 1.1s steps(14, jump-end); }
.term.growing .bm .cbar i { width: 0; }
.term .bm.go .cbar i { width: var(--w); }
.term.waiting .hot, .term.waiting .rthanks { visibility: hidden; }
@media (max-width: 560px) { .bmh b { font-size: 18px; } .bmr { grid-template-columns: minmax(0, 1fr) 52px; row-gap: 3px; } .bmr > span { grid-column: 1 / -1; } }

/* band: every document type we read, as files with pixel icons, on a loop (092) */
.band { padding: 16px 0; background: rgba(20, 26, 38, .3); border-block: 1px solid var(--line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.belt { display: flex; width: max-content; animation: belt 180s linear infinite; }
.band:hover .belt, .band:focus-within .belt { animation-play-state: paused; }
.beltrow { display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; }
.doc { --pc: var(--line-2); display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 9px; background: var(--panel); box-shadow: 0 -2px 0 0 var(--pc), 0 2px 0 0 var(--pc), -2px 0 0 0 var(--pc), 2px 0 0 0 var(--pc); margin: 2px; white-space: nowrap; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.doci { width: 32px; height: 32px; flex: none; shape-rendering: crispEdges; }
.docn em { font-style: normal; }
.x-pdf { color: #ff8a8a; } .x-xls, .x-xlsx { color: #5fd38d; } .x-jpg, .x-png { color: #8fb5ff; } .x-docx { color: #b8a6ff; }
@keyframes belt { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .belt { animation: none; }
  .band { overflow-x: auto; }
  .beltrow[aria-hidden] { display: none; }
}
@media (max-width: 560px) { .doc { font-size: 12px; gap: 8px; padding: 6px 12px 6px 8px; } }
