:root {
  color-scheme: dark;
  --bg: #121212;
  --panel: #1a1a19;
  --panel-soft: #20201e;
  --line: #343431;
  --text: #f0eee5;
  --muted: #a7a49a;
  --faint: #737168;
  --lime: #c7ed6b;
  --blue: #88c9ff;
  --orange: #ffb36b;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); }
.page-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 36px; }
.hero { max-width: 780px; margin-bottom: 44px; }
.eyebrow, .panel-kicker { color: var(--lime); font: 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.signal-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px #c7ed6b18; vertical-align: 1px; }
h1 { margin: 18px 0 16px; font-size: clamp(43px, 7vw, 78px); line-height: .94; letter-spacing: -.065em; font-weight: 650; }
h1 em { color: var(--lime); font-style: normal; }
.lede { max-width: 660px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.hero-tags span, .mode-chip, .result-label { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font: 11px var(--mono); }
.lab-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; }
.panel { border: 1px solid var(--line); background: var(--panel); }
.explainer, .controls { padding: 25px; }
h2 { margin: 7px 0 0; font-size: 22px; letter-spacing: -.03em; }
.path-list { margin-top: 24px; }
.path-row { display: grid; grid-template-columns: 32px 1fr 10px; gap: 13px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.path-number { color: var(--faint); font: 12px var(--mono); }
.path-row strong { display: block; font-size: 14px; }
.path-row p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.path-key { display: inline-block; width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; background: var(--lime); }
.search-key { background: var(--blue); }.fixed-key { background: var(--orange); }.dynamic-key { background: var(--lime); }
.plain-note { display: flex; gap: 11px; margin-top: 19px; padding: 13px; background: var(--panel-soft); color: var(--muted); font-size: 12px; line-height: 1.5; }
.plain-note > span { display: grid; place-items: center; flex: 0 0 18px; height: 18px; border: 1px solid var(--faint); border-radius: 50%; color: var(--text); font: 11px var(--mono); }
.plain-note p { margin: 0; }.plain-note strong { color: var(--text); }
.control-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.mode-chip { color: var(--lime); border-color: #c7ed6b55; }.mode-chip.live { color: var(--blue); border-color: #88c9ff55; }
.controls > p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.toggle-row { display: flex; align-items: center; gap: 10px; margin: 22px 0; color: var(--muted); font-size: 12px; cursor: pointer; }.toggle-row input { position: absolute; opacity: 0; }.toggle-track { width: 31px; height: 18px; padding: 2px; border-radius: 999px; background: var(--line); transition: .2s; }.toggle-track::after { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); content: ""; transition: .2s; }.toggle-row input:checked + .toggle-track { background: #88c9ff66; }.toggle-row input:checked + .toggle-track::after { transform: translateX(13px); background: var(--blue); }
.run-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 30px; padding: 14px 17px; border: 0; border-radius: 3px; background: var(--lime); color: #151711; font-weight: 750; cursor: pointer; }.run-button:hover { background: #d6f68a; }.run-button:disabled { cursor: wait; opacity: .7; }.play-icon { font-size: 10px; }.spinner { width: 12px; height: 12px; border: 2px solid #14200655; border-top-color: #142006; border-radius: 50%; animation: spin .7s linear infinite; }.control-foot { margin-bottom: 0; color: var(--faint) !important; font: 11px var(--mono); }
.terminal-panel { margin-top: 16px; overflow: hidden; background: #101210; border-color: #3f443a; box-shadow: 0 20px 60px #00000022; }.terminal-bar { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border-bottom: 1px solid #2d3229; color: var(--faint); font: 11px var(--mono); }.window-dots { display: flex; gap: 6px; }.window-dots i { display: block; width: 8px; height: 8px; border-radius: 50%; background: #4b5046; }.window-dots i:first-child { background: #e87867; }.window-dots i:nth-child(2) { background: #e8b467; }.window-dots i:nth-child(3) { background: #8ecb76; }.terminal-status { margin-left: auto; color: var(--muted); }.terminal-status.running { color: var(--orange); }.terminal-status.complete { color: var(--lime); }.terminal-status.failed { color: #ff8979; }.terminal { min-height: 260px; max-height: 475px; padding: 19px; overflow: auto; font: 12px/1.65 var(--mono); }.terminal-line { color: #c2c8b8; white-space: pre-wrap; }.terminal-line.command { color: var(--lime); }.terminal-line.muted { color: #697064; }.terminal-line.measurement { color: #aeb9a7; }.terminal-line.success { color: var(--blue); }.prompt { margin-right: 9px; color: var(--faint); }
.results-section { margin-top: 68px; }.results-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 15px; }.results-heading h2 { font-size: 30px; }.result-label { color: var(--muted); }.results-intro { max-width: 650px; color: var(--muted); font-size: 14px; line-height: 1.5; }.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }.summary-card { padding: 17px; border: 1px solid var(--line); background: var(--panel); }.summary-title { display: flex; align-items: center; gap: 8px; }.summary-title strong { font-size: 13px; }.summary-card code { display: block; margin-top: 13px; color: var(--faint); font: 10px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.summary-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 19px; }.summary-metrics div { display: grid; gap: 5px; }.summary-metrics small { color: var(--faint); font: 10px var(--mono); }.summary-metrics b { font: 15px var(--mono); }.summary-card p { margin: 18px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }.metric-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }.metric-guide div { padding-top: 13px; border-top: 1px solid var(--line); }.metric-guide strong { display: block; font-size: 12px; }.metric-guide span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.4; }
footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 72px; color: var(--faint); font: 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .page-shell { width: min(100% - 28px, 640px); padding-top: 38px; }.lab-grid, .summary-grid, .metric-guide { grid-template-columns: 1fr; }.results-heading, footer { align-items: start; flex-direction: column; }.hero { margin-bottom: 32px; } h1 { font-size: 50px; } }
