:root {
  --bg: #07080a;
  --bg-2: #0b0d10;
  --panel: #0f1115;
  --panel-2: #13161b;
  --line: #1c2027;
  --line-2: #272c35;
  --text: #eef0ea;
  --muted: #8d939c;
  --dim: #80868f;
  --accent: #c6ff34;
  --accent-ink: #0a0d02;
  --accent-soft: rgba(198, 255, 52, 0.12);
  --exp: #ff5d4d;
  --exp-soft: rgba(255, 93, 77, 0.14);
  --nw: #a8b0bb;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); font-size: .88em; color: var(--text); background: rgba(255,255,255,.05); border: 1px solid var(--line); padding: .08em .38em; border-radius: 5px; white-space: nowrap; }
b { font-weight: 600; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.c-cheap { color: var(--accent); font-family: var(--mono); font-size: .86em; font-weight: 500; }
.c-exp { color: var(--exp); font-family: var(--mono); font-size: .86em; font-weight: 500; }
.c-nw { color: var(--nw); font-family: var(--mono); font-size: .86em; font-weight: 500; }

/* atmosphere */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: 0;
  pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .6s;
  background: radial-gradient(closest-side, rgba(198,255,52,.075), rgba(198,255,52,0) 70%);
  will-change: transform;
}
.has-pointer .glow { opacity: 1; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px; background: rgba(7,8,10,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 600 18px/1 var(--mono); letter-spacing: -.02em; }
.brand-mark { width: 26px; height: 26px; color: var(--text); }
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-gh { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); }
.nav-gh:hover { color: var(--text); }
.nav-gh svg { width: 17px; height: 17px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font: 600 15px/1 var(--sans); padding: 15px 20px; border-radius: 11px; border: 1px solid transparent;
  transition: background .2s, box-shadow .3s, color .2s, border-color .2s; position: relative; will-change: transform;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(198,255,52,0), 0 10px 30px -12px rgba(198,255,52,.55); }
.btn-accent:hover { box-shadow: 0 0 0 4px rgba(198,255,52,.16), 0 14px 40px -12px rgba(198,255,52,.7); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--muted); }
.btn .play-dot { font-size: 11px; color: var(--accent); margin-right: 2px; }
.btn-sm { padding: 10px 14px; font-size: 13.5px; border-radius: 9px; }
.btn-block { width: 100%; }
.arrow { transition: transform .25s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

.copy {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font: 500 14.5px/1 var(--mono); color: var(--text);
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 11px; padding: 14px 14px 14px 16px; transition: border-color .2s;
}
.copy:hover { border-color: var(--muted); }
.copy code { background: none; border: 0; padding: 0; font-size: inherit; }
.copy .prompt { color: var(--accent); }
.copy-state { font-size: 11.5px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 7px; min-width: 52px; text-align: center; }
.copy.copied .copy-state { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.copy-block { width: 100%; justify-content: space-between; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.stream { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 20% 40%, rgba(7,8,10,.94) 30%, rgba(7,8,10,.55) 70%, rgba(7,8,10,.25)); }
.hero-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 96px 24px 72px;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--mono); letter-spacing: .02em; color: var(--muted);
  border: 1px solid var(--line-2); padding: 8px 12px; border-radius: 99px; background: rgba(7,8,10,.6); margin: 0 0 28px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1 { font: 600 clamp(44px, 7.2vw, 92px)/.96 var(--sans); letter-spacing: -.045em; margin: 0 0 28px; text-wrap: balance; }
h1 em { color: var(--accent); font-size: 1.08em; letter-spacing: -.02em; }
.lede { font-size: clamp(16.5px, 1.4vw, 19px); color: #c3c8cf; max-width: 620px; margin: 0 0 36px; }
.lede b { white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.meter {
  position: relative; background: linear-gradient(180deg, rgba(19,22,27,.92), rgba(11,13,16,.92)); border: 1px solid var(--line-2);
  border-radius: 18px; padding: 22px 22px 20px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.04);
}
.meter::before { content: ""; position: absolute; inset: -1px; border-radius: 18px; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(198,255,52,.55), transparent 35%, transparent 70%, rgba(198,255,52,.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.meter-head { display: flex; justify-content: space-between; align-items: center; font: 500 12px/1 var(--mono); color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.6s infinite; }
.meter-src { border: 1px solid var(--line-2); padding: 4px 7px; border-radius: 5px; }
.meter-figure { display: flex; align-items: flex-start; margin: 26px 0 4px; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.meter-cur { font-size: 30px; color: var(--accent); margin: 10px 4px 0 0; }
.meter-num { font-size: clamp(64px, 7vw, 92px); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--text); text-shadow: 0 0 40px rgba(198,255,52,.18); }
.meter-unit { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.meter-unit b { color: var(--text); }
.meter-rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.meter-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.meter-rows span { color: var(--muted); }
.meter-rows b { font: 500 13.5px/1.3 var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
.meter-gauge { height: 4px; margin: 18px 0 14px; background: var(--line); border-radius: 4px; overflow: hidden; }
.meter-gauge i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), #f2ff9a 60%, var(--exp)); transition: transform 2.2s var(--ease); }
.meter.in .meter-gauge i { transform: scaleX(.78); }
.meter-note { font-size: 12.5px; line-height: 1.5; color: var(--dim); margin: 0; }
.meter-note b { color: var(--muted); font-weight: 500; }

.engines { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 22px 24px 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px;
  font: 500 15px/1 var(--mono); color: #b9bec5; }
.engines-label { font-size: 12px; color: var(--dim); letter-spacing: .02em; margin-right: 6px; }

/* sections */
.section { padding: 128px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-num { display: inline-block; font: 500 12.5px/1 var(--mono); color: var(--accent); letter-spacing: .04em; margin-bottom: 20px; }
h2 { font: 600 clamp(32px, 4.6vw, 56px)/1.02 var(--sans); letter-spacing: -.035em; margin: 0 0 22px; text-wrap: balance; }
h2 em { color: #d9dde2; }
.sec-head p { color: #a9afb7; font-size: 17.5px; margin: 0; max-width: 660px; }
h3 { font: 600 21px/1.2 var(--sans); letter-spacing: -.02em; margin: 0 0 12px; }

/* formula + levers */
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 26px 28px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: linear-gradient(90deg, var(--accent-soft), transparent 60%); font: 500 clamp(16px, 2vw, 22px)/1.2 var(--mono); margin-bottom: 20px; }
.f-out { color: var(--accent); }
.f-op { color: var(--dim); }
.f-frac { display: inline-flex; flex-direction: column; text-align: center; }
.f-frac span:first-child { border-bottom: 1.5px solid var(--muted); padding-bottom: 6px; margin-bottom: 6px; }
.levers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; counter-reset: lv; }
.lever { background: var(--bg); padding: 26px 20px 24px; display: flex; flex-direction: column; gap: 14px; position: relative; counter-increment: lv; transition: background .3s; }
.lever::before { content: "0" counter(lv); font: 500 11.5px/1 var(--mono); color: var(--dim); }
.lever:hover { background: var(--panel); }
.lever code { align-self: flex-start; font-size: 14px; color: var(--accent); background: var(--accent-soft); border-color: rgba(198,255,52,.22); }
.lever span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* verdict */
.verdict-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.verdict-grid .sec-head { margin-bottom: 0; }
.steps { list-style: none; counter-reset: st; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: st; position: relative; padding-left: 40px; color: #b3b9c1; font-size: 15.5px; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; font: 500 12px/1 var(--mono); color: var(--accent); }
.steps b { color: var(--text); margin-right: 4px; }
.steps code { white-space: normal; }
.verdict { --c: var(--accent); background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px; position: relative; overflow: hidden; }
.verdict[data-state="expensive"] { --c: var(--exp); }
.verdict[data-state="none"] { --c: var(--nw); }
.verdict::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 22%, transparent), transparent); transition: background .5s; pointer-events: none; }
.verdict-tabs { display: flex; gap: 6px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 26px; }
.verdict-tabs button { flex: 1; cursor: pointer; border: 0; background: none; color: var(--muted); font: 500 12.5px/1 var(--mono); padding: 10px 6px; border-radius: 7px; transition: background .25s, color .25s; }
.verdict-tabs button[aria-selected="true"] { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.plot { position: relative; padding: 4px 0 8px; }
.plot-axis { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); color: var(--dim); margin-bottom: 16px; padding-left: 92px; }
.row { display: grid; grid-template-columns: 92px 1fr; align-items: center; height: 46px; }
.row-label { font: 500 12.5px/1 var(--mono); color: var(--muted); }
.track { position: relative; height: 100%; border-left: 1px dashed var(--line-2); border-right: 1px dashed var(--line-2);
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(255,255,255,.04) calc(10% - 1px) 10%); }
.ci { position: absolute; top: 50%; height: 12px; margin-top: -6px; border-radius: 3px; transition: left .9s var(--ease), width .9s var(--ease), background .5s; }
.ci i { position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2px solid var(--bg); }
.ci-a { background: rgba(168,176,187,.35); left: 44%; width: 22%; }
.ci-a i { background: var(--nw); }
.ci-b { background: color-mix(in srgb, var(--c) 40%, transparent); box-shadow: 0 0 24px -4px var(--c); }
.ci-b i { background: var(--c); }
.verdict[data-state="cheaper"] .ci-b { left: 8%; width: 20%; }
.verdict[data-state="expensive"] .ci-b { left: 72%; width: 20%; }
.verdict[data-state="none"] .ci-b { left: 36%; width: 30%; }
.overlap { position: absolute; left: calc(92px + (100% - 92px) * .44); width: calc((100% - 92px) * .22); top: 36px; bottom: 0; opacity: 0;
  background: repeating-linear-gradient(135deg, rgba(168,176,187,.18) 0 4px, transparent 4px 9px); border-left: 1px solid rgba(168,176,187,.4); border-right: 1px solid rgba(168,176,187,.4);
  transition: opacity .6s .3s; pointer-events: none; }
.verdict[data-state="none"] .overlap { opacity: 1; }
.verdict-out { display: flex; align-items: baseline; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.verdict-k { font: 500 12px/1 var(--mono); color: var(--dim); }
.verdict-v { font: 700 clamp(28px, 3.6vw, 40px)/1 var(--mono); letter-spacing: -.03em; color: var(--c); transition: color .4s; }
.verdict-note { margin: 14px 0 0; font-size: 12.5px; color: var(--dim); }

/* terminal */
.term { border: 1px solid var(--line-2); border-radius: 16px; background: #050607; overflow: hidden;
  box-shadow: 0 60px 120px -60px rgba(198,255,52,.18), 0 30px 60px -30px rgba(0,0,0,.9); }
.term-bar { display: flex; align-items: center; gap: 16px; padding: 10px 14px; background: var(--panel); border-bottom: 1px solid var(--line); }
.lights { display: flex; gap: 7px; flex: none; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f36; }
.term-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.term-tabs::-webkit-scrollbar { display: none; }
.term-tabs button { flex: none; cursor: pointer; border: 1px solid transparent; background: none; color: var(--muted); font: 500 12.5px/1 var(--mono); padding: 8px 11px; border-radius: 7px; transition: all .2s; }
.term-tabs button:hover { color: var(--text); }
.term-tabs button[aria-selected="true"] { color: var(--accent); background: var(--accent-soft); border-color: rgba(198,255,52,.25); }
.term-replay { flex: none; cursor: pointer; border: 1px solid var(--line-2); background: none; color: var(--muted); font: 500 12px/1 var(--mono); padding: 7px 10px; border-radius: 7px; }
.term-replay:hover { color: var(--text); border-color: var(--muted); }
.term-note { font: 500 12px/1.4 var(--mono); color: #d8c27a; padding: 10px 18px; border-bottom: 1px solid var(--line); background: rgba(216,194,122,.05); }
.term-body { margin: 0; height: 520px; overflow: auto; padding: 18px 20px 26px; font: 400 13px/1.42 var(--mono); color: #c9cfd6; white-space: pre; tab-size: 4;
  scrollbar-color: var(--line-2) transparent; }
.term-body code { background: none; border: 0; padding: 0; font-size: inherit; white-space: pre; color: inherit; }
.tl { display: block; min-height: 1.42em; animation: tl .18s ease-out both; }
@keyframes tl { from { opacity: 0; transform: translateY(3px); } }
.tl-cmd { color: var(--text); }
.tl-cmd .ps { color: var(--accent); }
.tl-comment { color: #6f7680; }
.tl-hit { color: var(--accent); font-weight: 700; }
.tl-miss { color: #ffb86b; font-weight: 700; }
.tl-key { color: var(--accent); }
.tl-sim { color: #d8c27a; }
.cursor { display: inline-block; width: .6em; height: 1.1em; vertical-align: -0.18em; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; }
.calc-side, .calc-out { background: var(--panel); padding: 26px; }
.calc-side { display: flex; flex-direction: column; gap: 18px; }
.calc-title { font: 500 13px/1 var(--mono); color: var(--muted); display: flex; align-items: center; gap: 10px; }
.tag { font-size: 11px; padding: 5px 8px; border-radius: 5px; background: rgba(168,176,187,.14); color: var(--nw); text-transform: uppercase; letter-spacing: .06em; }
.tag-b { background: var(--accent-soft); color: var(--accent); }
.calc label { display: grid; gap: 8px; font-size: 14px; color: var(--text); }
.calc label span { font: 400 12px/1 var(--mono); color: var(--dim); }
.calc input { width: 100%; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; padding: 14px; font: 600 22px/1 var(--mono); font-variant-numeric: tabular-nums; transition: border-color .2s, box-shadow .2s; }
.calc input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.calc-out { background: linear-gradient(180deg, #11140e, var(--panel)); }
.calc-bars { display: grid; gap: 14px; }
.cbar { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; }
.cbar-l { font: 500 12px/1 var(--mono); color: var(--muted); }
.cbar-t { height: 30px; background: var(--bg); border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.cbar-t i { display: block; height: 100%; width: 0; background: rgba(168,176,187,.45); transition: width .6s var(--ease), background .3s; }
#barB { background: var(--accent); }
.calc-out.worse #barB { background: var(--exp); }
.cbar b { font: 700 18px/1 var(--mono); font-variant-numeric: tabular-nums; min-width: 84px; text-align: right; }
.calc-delta { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 24px 0 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calc-delta span { font: 500 12px/1 var(--mono); color: var(--dim); }
.calc-delta b { font: 700 38px/1 var(--mono); letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc-out.worse .calc-delta b { color: var(--exp); }
.calc-math { font: 400 12.5px/1.7 var(--mono); color: var(--muted); margin: 0 0 14px; overflow-wrap: anywhere; }
.calc-math b { color: var(--text); font-weight: 500; }
.calc-foot { font-size: 12.5px; color: var(--dim); margin: 0; line-height: 1.55; }
.calc-foot code { font-size: 11.5px; }

/* receipts */
.receipts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.receipt { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease); }
.receipt:hover { border-color: #3a414b; }
.receipt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(198,255,52,.5), transparent); opacity: 0; transition: opacity .3s; }
.receipt:hover::before { opacity: 1; }
.receipt-hero { grid-column: 1 / -1; padding: 34px; background: radial-gradient(120% 140% at 0% 0%, rgba(198,255,52,.09), transparent 50%), var(--panel); }
.r-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font: 500 11.5px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.r-badge { color: var(--accent); border: 1px solid rgba(198,255,52,.3); padding: 4px 7px; border-radius: 5px; text-transform: none; letter-spacing: 0; }
.r-badge-dim { color: #d8c27a; border-color: rgba(216,194,122,.3); }
.r-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; font: 700 clamp(44px, 7vw, 96px)/1 var(--mono); letter-spacing: -.05em; color: var(--accent); font-variant-numeric: tabular-nums; }
.r-to { font: 400 italic .42em/1 var(--serif); color: var(--muted); letter-spacing: 0; }
.r-mid { font-size: clamp(28px, 2.6vw, 34px); color: var(--text); gap: 4px 10px; }
.r-mid .r-to { font-size: .7em; font-style: normal; font-family: var(--mono); }
.r-small { font-size: clamp(26px, 2.4vw, 30px); }
.r-what { margin: 0; font-size: 15px; color: #c3c8cf; }
.receipt-hero .r-what { font-size: 18px; }
.r-src { margin: auto 0 0; font-size: 12.5px; color: var(--dim); line-height: 1.55; }
.receipt-hero .r-src { max-width: 860px; font-size: 13.5px; }
.receipts-link { margin: 28px 0 0; }
.receipts-link a { font: 500 14px/1 var(--mono); color: var(--accent); border-bottom: 1px solid rgba(198,255,52,.3); padding-bottom: 3px; }

/* other levers */
.lever-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 28px; }
.card h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card > p { color: #a9afb7; font-size: 15.5px; margin: 0 0 20px; }
.card code { white-space: nowrap; }
.nw { white-space: nowrap; }
.pill { font: 500 11px/1 var(--mono); color: var(--muted); border: 1px solid var(--line-2); padding: 5px 8px; border-radius: 99px; letter-spacing: .02em; }
.sim { border: 1px solid rgba(255,93,77,.3); background: var(--exp-soft); border-radius: 12px; padding: 18px; }
.sim-q { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font: 500 14px/1.4 var(--mono); }
.sim-vs { color: var(--dim); font-family: var(--serif); font-style: italic; font-size: 17px; }
.sim-score { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 8px; padding-top: 14px; border-top: 1px dashed rgba(255,93,77,.3); }
.sim-score span { font: 500 12px/1 var(--mono); color: var(--muted); }
.sim-score b { font: 700 34px/1 var(--mono); color: var(--exp); letter-spacing: -.03em; }
.sim p { margin: 0; font-size: 13.5px; color: #c9a8a2; }
.video { margin: 0; }
.video video { width: 100%; aspect-ratio: 1562 / 1078; border-radius: 12px; border: 1px solid var(--line-2); background: #000; }
.video figcaption { font-size: 12.5px; color: var(--dim); margin-top: 10px; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line-2); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.plan-pro { border-color: rgba(198,255,52,.45); background: radial-gradient(100% 60% at 100% 0%, rgba(198,255,52,.12), transparent 60%), var(--panel);
  box-shadow: 0 40px 100px -50px rgba(198,255,52,.35); }
.plan-ribbon { position: absolute; top: 20px; right: 20px; font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); background: var(--accent); padding: 6px 9px; border-radius: 6px; }
.plan-top { display: flex; align-items: baseline; gap: 12px; }
.plan-top h3 { margin: 0; font-size: 24px; }
.plan-sub { font: 500 12.5px/1 var(--mono); color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 10px; }
.p-num { font: 700 72px/1 var(--mono); letter-spacing: -.06em; }
.plan-pro .p-num { color: var(--accent); }
.p-per { font: 500 14px/1 var(--mono); color: var(--muted); }
.plan-honest { margin: -6px 0 0; font-size: 14px; color: #d4d9c6; padding: 12px 14px; border-radius: 10px; background: rgba(198,255,52,.06); border: 1px dashed rgba(198,255,52,.3); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; flex: 1; }
.plan li { position: relative; padding-left: 26px; font-size: 15px; color: #c3c8cf; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan li code { white-space: normal; }
.ea { font: 500 10.5px/1 var(--mono); color: #d8c27a; border: 1px solid rgba(216,194,122,.35); padding: 3px 6px; border-radius: 4px; margin-left: 6px; white-space: nowrap; vertical-align: 1px; }
.plan-fine { margin: 0; font-size: 12.5px; color: var(--dim); }
.cheap { grid-column: 1 / -1; border: 1px solid var(--line-2); border-radius: 20px; padding: 32px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.012) 0 10px, transparent 10px 20px), var(--bg-2); }
.cheap-k { font: 500 12.5px/1 var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.cheap-eq { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 18px; margin: 20px 0 18px; font: 700 clamp(28px, 4vw, 48px)/1 var(--mono); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.cheap-eq > span { display: inline-flex; flex-direction: column; gap: 8px; }
.cheap-eq small { font: 500 11.5px/1 var(--mono); color: var(--dim); letter-spacing: 0; }
.cheap-eq .op { color: var(--dim); font-weight: 400; padding-bottom: 20px; }
.cheap-total { color: var(--accent); display: inline !important; }
.cheap-total small { display: block; margin-top: 8px; }
.cheap p { margin: 0; max-width: 760px; color: #b3b9c1; font-size: 16px; }
.cheap p b { color: var(--text); }
.cheap .cheap-fine { margin-top: 12px; font-size: 12.5px; color: var(--dim); }

/* CTA */
.section-cta { background: radial-gradient(60% 80% at 80% 50%, rgba(198,255,52,.08), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta-grid h2 { font-size: clamp(40px, 6vw, 76px); }
.cta-grid h2 em { color: var(--accent); }
.cta-p { color: #a9afb7; font-size: 17.5px; max-width: 480px; margin: 0 0 28px; }
.cta-links { display: flex; flex-wrap: wrap; gap: 12px; }
.form { background: var(--panel); border: 1px solid var(--line-2); border-radius: 20px; padding: 28px; display: grid; gap: 10px; }
.form label { font: 500 12px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 8px; }
.form input, .form textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; padding: 14px; font: 400 15.5px/1.4 var(--sans); resize: vertical; transition: border-color .2s, box-shadow .2s; }
.form input::placeholder, .form textarea::placeholder { color: var(--dim); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form .btn { margin-top: 12px; }
.form-status { margin: 4px 0 0; min-height: 1.4em; font: 500 13px/1.4 var(--mono); }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--exp); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.foot p { margin: 0; color: var(--dim); font-size: 14px; flex: 1; min-width: 240px; }
.foot nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.foot nav a:hover { color: var(--text); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1080px) {
  .levers { grid-template-columns: repeat(3, 1fr); }
  .receipts { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr 1fr; }
  .calc-out { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 64px 20px 48px; }
  .verdict-grid, .lever-grid, .plans, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .lever-grid, .plans { gap: 18px; }
  .section { padding: 88px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 12px 16px; }
  .nav-gh span { display: none; }
  .hero-inner { padding: 48px 16px 40px; }
  h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .copy { justify-content: space-between; font-size: 13.5px; }
  .engines { padding: 18px 16px 26px; gap: 10px 18px; font-size: 14px; }
  .engines-label { width: 100%; }
  .section { padding: 72px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head p { font-size: 16px; }
  .formula { padding: 20px; font-size: 15px; }
  .levers { grid-template-columns: 1fr 1fr; }
  .lever:last-child { grid-column: 1 / -1; }
  .lever { padding: 20px 16px; }
  .receipts, .calc { grid-template-columns: 1fr; }
  .receipt-hero { padding: 24px; }
  .calc-side, .calc-out { padding: 20px; }
  .term-body { height: 440px; font-size: 11.5px; padding: 14px; }
  .term-bar { gap: 10px; padding: 8px 10px; }
  .lights { display: none; }
  .row { grid-template-columns: 72px 1fr; }
  .plot-axis { padding-left: 72px; }
  .overlap { left: calc(72px + (100% - 72px) * .44); width: calc((100% - 72px) * .22); }
  .plan, .cheap, .card, .form { padding: 22px; }
  .p-num { font-size: 60px; }
  .cheap-eq .op { padding-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .glow { display: none; }
}

/* profiler visual + fixes */
.video { margin-top: 18px; }
.prof { border: 1px solid var(--line-2); background: var(--bg); border-radius: 12px; padding: 18px; display: grid; gap: 16px; }
.prof-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font: 500 12px/1.4 var(--mono); color: var(--muted); }
.prof-head code { white-space: normal; }
.prof-bar { display: flex; height: 58px; border-radius: 8px; overflow: hidden; gap: 2px; }
.prof-bar i { position: relative; width: var(--w); display: flex; align-items: flex-end; padding: 8px 10px; font: 500 11.5px/1.2 var(--mono); font-style: normal;
  transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.prof-bar .pb-gen { background: var(--accent); color: var(--accent-ink); }
.prof-bar .pb-wait { background: repeating-linear-gradient(135deg, #2a2f36 0 6px, #20242a 6px 12px); color: var(--text); transition-delay: .25s; }
.in .prof-bar i, .prof-bar.in i { transform: none; }
.prof-find { border-left: 2px solid var(--exp); padding: 2px 0 2px 14px; }
.pf-tag { font: 700 12px/1 var(--mono); color: var(--exp); }
.prof-find p { margin: 8px 0 0; font: 400 13.5px/1.5 var(--mono); color: #d7dbe0; }
.prof-fine { margin: 0; font-size: 12.5px; color: var(--dim); line-height: 1.5; }

.copy-block code { flex: 1; text-align: left; }
.r-mid { flex-direction: column; align-items: flex-start; gap: 6px; }
.r-mid > span:first-child:not(:last-child) { font-size: .62em; color: var(--muted); }
.r-mid .r-to { display: none; }
.r-mid > span:first-child:not(:last-child)::after { content: " →"; color: var(--dim); }
.r-mid > span:last-child { color: var(--accent); }
.r-small > span:last-child { color: var(--text); }
.plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lever-grid, .verdict-grid, .cta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .plans, .lever-grid, .verdict-grid, .cta-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .eyebrow { font-size: 11px; padding: 7px 11px; }
  .calc-side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .calc-title { grid-column: 1 / -1; }
  .calc input { font-size: 19px; padding: 12px; }
  .cheap-eq { gap: 8px 12px; font-size: 26px; }
  .plan-ribbon { top: 18px; right: 18px; }
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 360px) {
  .levers { grid-template-columns: minmax(0, 1fr); }
  .copy { font-size: 12.5px; gap: 8px; }
  .calc-side { grid-template-columns: minmax(0, 1fr); }
}
.copy code { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.copy .copy-state, .copy .prompt { flex: none; }
@media (max-width: 600px) {
  .copy-block { font-size: 12.5px; gap: 8px; padding: 12px; }
  .copy-block .copy-state { min-width: 0; }
  .cheap-eq .op-eq { display: none; }
  .cheap-eq .cheap-total { flex-basis: 100%; border-top: 1px dashed var(--line-2); padding-top: 14px; }
}

/* measured figures render exact; reveal with focus, never count through invented values */
.js .meter .meter-num, .js .meter .meter-rows b { filter: blur(10px); opacity: .25; transition: filter 1.1s var(--ease) .25s, opacity 1.1s var(--ease) .25s; }
.js .meter.in .meter-num, .js .meter.in .meter-rows b { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .meter .meter-num, .js .meter .meter-rows b { filter: none; opacity: 1; transition: none; } }

.plan-honest .list-price{color:var(--text,#e8eae6);font-family:"JetBrains Mono",ui-monospace,monospace;font-weight:600;white-space:nowrap}


/* launched-on strip: third-party badges rendered as monochrome chips in the
   site's instrument style; full colour on hover. One row at every width. */
.launch-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,0)); }
.launch-in { display: flex; align-items: center; gap: 28px; padding-top: 20px; padding-bottom: 20px; }
.launch-k { flex: none; display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.launch-k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.launch-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px; }
.launch-row::-webkit-scrollbar { display: none; }
.launch-badge { flex: none; display: inline-flex; align-items: center; height: 52px; padding: 0 14px; line-height: 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); transition: border-color .25s, background .25s, transform .25s, box-shadow .25s; }
.launch-badge img { display: block; height: 34px; width: auto; filter: grayscale(1) brightness(1.25) contrast(1.05); opacity: .72; transition: filter .25s, opacity .25s; }
.launch-badge:hover, .launch-badge:focus-visible { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: rgba(198,255,52,.04); box-shadow: 0 0 0 1px rgba(198,255,52,.08), 0 8px 24px -12px rgba(198,255,52,.35); transform: translateY(-1px); }
.launch-badge:hover img, .launch-badge:focus-visible img { filter: none; opacity: 1; }
@media (max-width: 720px) {
  .launch-in { flex-direction: column; gap: 12px; }
  .launch-row { gap: 8px; max-width: 100%; }
  .launch-badge { height: 44px; padding: 0 10px; }
  .launch-badge img { height: clamp(22px, 6.6vw, 34px); }
}
@media (prefers-reduced-motion: reduce) { .launch-badge, .launch-badge img { transition: none; } .launch-badge:hover { transform: none; } }
.price .p-was { font: 500 22px/1 var(--mono); color: var(--dim); text-decoration: line-through; text-decoration-thickness: 2px; margin-right: 10px; align-self: center; }
.dl-badge { display: inline-block; margin-top: 18px; line-height: 0; opacity: .8; transition: opacity .2s, transform .2s; }
.dl-badge:hover { opacity: 1; transform: translateY(-1px); }
.dl-badge img { display: block; height: 20px; width: auto; border-radius: 4px; }

/* launch film */
.film { position: relative; padding: 56px 0 64px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.film-frame { margin: 0; position: relative; border: 1px solid var(--line-2); border-radius: 18px; background: var(--panel); overflow: hidden;
  box-shadow: 0 60px 120px -60px rgba(0,0,0,.95), 0 0 0 1px rgba(198,255,52,.04), inset 0 1px 0 rgba(255,255,255,.04); }
.film-frame::before { content: ""; position: absolute; inset: -1px; border-radius: 18px; padding: 1px; pointer-events: none; z-index: 3;
  background: linear-gradient(140deg, rgba(198,255,52,.5), transparent 32%, transparent 72%, rgba(198,255,52,.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.film-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 12px/1 var(--mono); color: var(--dim); }
.film-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.film-bar span { margin-left: 10px; }
.film-stage { position: relative; background: #000; }
.film-stage video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }
.film-play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(198,255,52,.6);
  background: rgba(7,8,10,.72); color: var(--accent); display: grid; place-items: center; cursor: pointer; z-index: 2;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 0 40px rgba(198,255,52,.2); transition: transform .25s var(--ease), background .25s; }
.film-play[hidden] { display: none; }
.film-play:hover { transform: scale(1.06); background: rgba(7,8,10,.85); }
.film-play svg { width: 34px; height: 34px; margin-left: 4px; }
.film-ctrl { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; z-index: 2; }
.film-btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; min-width: 36px; padding: 0 10px; border-radius: 9px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(7,8,10,.72); color: var(--text); font: 500 12px/1 var(--mono);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .2s, color .2s; }
.film-btn:hover { border-color: rgba(198,255,52,.6); color: var(--accent); }
.film-btn svg { width: 17px; height: 17px; flex: none; }
.film-btn .i-play, .film-btn .i-sound { display: none; }
.film-frame.paused .film-btn .i-pause { display: none; }
.film-frame.paused .film-btn .i-play { display: block; }
.film-frame.sound .film-btn .i-muted { display: none; }
.film-frame.sound .film-btn .i-sound { display: block; }
.film-frame.sound [data-film="sound"] { border-color: rgba(198,255,52,.6); color: var(--accent); }
.film-frame figcaption { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.film-frame figcaption a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(198,255,52,.45); text-underline-offset: 3px; }
.film-frame figcaption code { white-space: nowrap; }

/* cost audit plan */
.plan-audit { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px 44px; align-items: start;
  border-color: var(--line-2); background: radial-gradient(80% 90% at 0% 0%, rgba(198,255,52,.07), transparent 60%), var(--panel); }
.audit-main { display: flex; flex-direction: column; gap: 18px; }
.plan-audit .p-num { color: var(--text); }
.audit-note { margin: -4px 0 0; font-size: 14px; color: #d4d9c6; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.02); border: 1px dashed var(--line-2); }
.plan-audit ul { align-self: center; gap: 16px; }
.plan-audit li { font-size: 15.5px; }
.plan-audit li b { color: var(--text); }
.plan-audit .mail { font-family: var(--mono); color: var(--muted); user-select: all; }
.audit-more { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(198,255,52,.45); text-underline-offset: 3px; }
.audit-more:hover { color: var(--accent); }

@media (max-width: 900px) {
  .plan-audit { grid-template-columns: minmax(0, 1fr); }
  .plan-audit ul { align-self: stretch; }
}
@media (max-width: 600px) {
  .film { padding: 32px 0 40px; }
  .film-frame, .film-frame::before { border-radius: 14px; }
  .film-play { width: 64px; height: 64px; }
  .film-play svg { width: 26px; height: 26px; }
  .film-ctrl { right: 10px; bottom: 10px; }
  .film-btn { height: 32px; min-width: 32px; padding: 0 8px; }
  .film-btn-label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .film-play, .film-btn { transition: none; } .film-play:hover { transform: none; } }
