:root {
  color-scheme: dark;
  --ink: #f4f1e8;
  --muted: #a9aaa4;
  --ground: #101311;
  --panel: #171b18;
  --line: #303630;
  --lime: #c8f169;
  --mint: #68d9b3;
  --orange: #ff9b62;
  --blue: #78aef8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ground); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 82% 4%, #263827 0, transparent 28rem), var(--ground); }
a { color: inherit; }

.hero { padding: 1.25rem max(1.5rem, calc((100vw - 1180px) / 2)); border-bottom: 1px solid var(--line); min-height: 34rem; display: grid; align-content: space-between; }
nav { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .9rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 700; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 2.8rem; height: 2.8rem; object-fit: contain; }
.hero-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 17rem); gap: 3rem; align-items: center; }
.hero-copy { max-width: 920px; padding: 5rem 0 3rem; }
.hero-emblem { display: block; width: 100%; filter: drop-shadow(0 1.5rem 2rem rgb(0 0 0 / .32)); }
.eyebrow { margin: 0 0 .8rem; color: var(--lime); font: 700 .72rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.3rem; font-size: clamp(3rem, 7vw, 6.8rem); line-height: .92; letter-spacing: -.065em; max-width: 1050px; }
h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1; letter-spacing: -.045em; }
h3 { font-size: 1.15rem; }
.lede { max-width: 700px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.55; }
.summary { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); }
.summary div { padding: 1.25rem 1rem 1.25rem 0; }
.summary dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .11em; }
.summary dd { margin: .25rem 0 0; font: 600 1.45rem ui-monospace, SFMono-Regular, Menlo, monospace; }

main { max-width: 1180px; margin: auto; padding: 0 1.5rem; }
section { padding: 6rem 0; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2.4rem; }
.quiet-link, .note, .run-meta { color: var(--muted); font-size: .9rem; }
.run-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; margin: -1.2rem 0 2rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.environment-panel { display: grid; grid-template-columns: minmax(13rem, .7fr) minmax(0, 1.3fr); gap: 1.5rem 3rem; margin-bottom: 1rem; padding: 1.6rem; background: linear-gradient(145deg, #1b211c, #141714); border: 1px solid var(--line); border-radius: 1rem; }
.environment-intro h3 { margin-bottom: .55rem; font-size: clamp(1.25rem, 2vw, 1.7rem); }
.environment-host-key { margin: -.15rem 0 .7rem; color: var(--mint); font: .75rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.host-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; margin: 0; }
.host-facts div:first-child, .host-facts div:last-child { grid-column: 1 / -1; }
.host-facts dt, .runtime-card p { margin: 0 0 .25rem; color: var(--muted); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.host-facts dd { margin: 0; font: 500 .86rem/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
.host-facts .fingerprint { overflow-wrap: anywhere; color: var(--mint); font-size: .75rem; }
.runtime-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.runtime-card { padding: .9rem 1rem; background: #101311; border-radius: .65rem; }
.runtime-card strong, .runtime-card small { display: block; }
.runtime-card strong { font-size: .9rem; }
.runtime-card small { margin-top: .25rem; color: var(--muted); font: .73rem ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.benchmark-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1rem; }
.benchmark-card { padding: 1.5rem; background: linear-gradient(145deg, #1a201b, #141714); border: 1px solid var(--line); border-radius: 1rem; }
.benchmark-card .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.4rem; }
.tag { padding: .28rem .48rem; color: var(--muted); background: #0f120f; border: 1px solid var(--line); border-radius: .35rem; font: .7rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.pass { color: var(--lime); font: 700 .82rem ui-monospace, SFMono-Regular, Menlo, monospace; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: .8rem; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 1rem 1.1rem; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
th { color: var(--muted); background: #131613; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--lime); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.filter-controls { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; }
.filter-controls label { display: grid; gap: .45rem; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
select { min-width: 260px; padding: .7rem 2.2rem .7rem .8rem; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: .45rem; }
.zoom-controls { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(12rem, 1fr) auto; gap: .65rem 1rem; align-items: end; padding: .9rem 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: .7rem; }
.zoom-controls label { display: grid; gap: .25rem; color: var(--muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.zoom-controls input { width: 100%; accent-color: var(--lime); }
.zoom-controls button { padding: .55rem .8rem; color: var(--ink); background: #101311; border: 1px solid var(--line); border-radius: .4rem; cursor: pointer; }
.zoom-controls button:hover { border-color: var(--lime); }
.zoom-controls output { grid-column: 1 / -1; color: var(--mint); font: .75rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.history-context { margin: .6rem 0 1rem; color: var(--mint); font: .78rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.chart-shell { padding: 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; }
#history-chart { display: block; width: 100%; min-height: 280px; }
.chart-grid { stroke: #343a34; stroke-width: 1; }
.chart-label { fill: var(--muted); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.chart-grid-minor { opacity: .45; }
.chart-exponent { fill: var(--muted); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; paint-order: stroke; stroke: var(--panel); stroke-width: 4px; }
.chart-exponent.superlinear { fill: var(--orange); font-weight: 700; }
.legend { display: flex; flex-wrap: wrap; gap: .7rem 1.3rem; padding: .5rem 1rem 1rem; color: var(--muted); font-size: .78rem; }
.legend span::before { content: ""; display: inline-block; width: .6rem; height: .6rem; margin-right: .4rem; border-radius: 50%; background: var(--series); }
.legend b { color: var(--ink); font-weight: 650; }

.run-list { display: grid; gap: .7rem; }
.run-row { display: grid; grid-template-columns: 1fr auto auto; gap: 1.5rem; align-items: center; padding: 1.2rem 1.3rem; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: .7rem; }
.run-row:hover { border-color: var(--lime); }
.run-leading { display: grid; gap: .5rem; justify-items: start; }
.host-chip { display: inline-flex; align-items: center; padding: .27rem .5rem; color: var(--muted); background: #101311; border: 1px solid var(--line); border-radius: 999px; font: .7rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.host-chip::before { content: ""; width: .5rem; height: .5rem; margin-right: .4rem; border-radius: 50%; background: var(--host); }
.run-row code { color: var(--muted); overflow-wrap: anywhere; }
.run-row small { color: var(--muted); }
footer { max-width: 1180px; margin: auto; padding: 3rem 1.5rem 5rem; display: flex; justify-content: space-between; gap: 2rem; color: var(--muted); font-size: .9rem; }

@media (max-width: 700px) {
  .hero { min-height: 31rem; }
  .hero-main { grid-template-columns: 1fr; }
  .hero-emblem { display: none; }
  .summary { grid-template-columns: 1fr 1fr; }
  .environment-panel, .host-facts { grid-template-columns: 1fr; }
  .host-facts div:first-child, .host-facts div:last-child { grid-column: auto; }
  .section-heading, .history-heading, footer { align-items: start; flex-direction: column; }
  .filter-controls { width: 100%; }
  .filter-controls label, .filter-controls select { width: 100%; }
  .zoom-controls { grid-template-columns: 1fr; }
  .zoom-controls output { grid-column: auto; }
  .run-row { grid-template-columns: 1fr; gap: .4rem; }
  section { padding: 4rem 0; }
}
