/* ─────────────────────────────────────────────────────
   SparkBench — design system
   ───────────────────────────────────────────────────── */

:root {
  /* Color */
  --bg:           #0c0c0e;
  --bg-elev:     #131316;
  --bg-elev-2:   #1a1a1f;
  --border:       #23232a;
  --border-soft:  #1c1c22;
  --text:         #f3f1ec;
  --text-mid:    #b6b3aa;
  --text-dim:    #6b6864;
  --text-faint: #44423d;
  --accent:      #f5a14a;      /* warm amber — "spark" */
  --accent-dim: #6b3e15;
  --accent-glow: rgba(245,161,74,0.12);
  --green:       #67c69b;
  --red:          #e07a6a;

  /* Engine colors — distinct, restrained */
  --c-eugr:       #b8a8ff;
  --c-llamacpp:   #f5a14a;
  --c-ds4:         #67d6e0;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;

  /* Geometry */
  --w-prose: 64ch;
  --w-page:  1180px;
  --r-sm:    4px;
  --r-md:   6px;
  --r-lg:    10px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  font-feature-settings: "cv02", "cv03", "cv11", "ss01";
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection { background: var(--accent); color: #0c0c0e; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

button { font-family: inherit; cursor: pointer; }

/* ─── Nav ─── */
header {
  border-bottom: 1px solid var(--border-soft);
  background: rgba(12,12,14,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 50;
}
nav {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0 28px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: flex; align-items: center; gap: 9px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.wordmark:hover { color: var(--text); }
.wordmark svg { display: block; }
.wordmark .dot { color: var(--accent); }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-mid);
  font-size: 13.5px;
  transition: color 0.12s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .ghbtn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--border);
  padding: 5px 11px 5px 9px;
  border-radius: var(--r-md);
  color: var(--text-mid);
  font-size: 13px;
}
.nav-links .ghbtn:hover { border-color: var(--text-dim); color: var(--text); }
.nav-links .ghbtn svg { width: 14px; height: 14px; }

main {
  flex: 1;
  width: 100%;
}

/* ─── Page section wrappers ─── */
.section {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0 28px;
}
.section.tight { max-width: 880px; }

.divider {
  max-width: var(--w-page);
  margin: 0 auto;
  border-top: 1px solid var(--border-soft);
}

/* ─── Hero ─── */
.hero {
  padding: 72px 28px 56px;
  max-width: var(--w-page);
  margin: 0 auto;
}
.hero-shell {
  position: relative;
  margin-bottom: 48px;
}
.hero-copy {
  min-width: 0;
}
.hero-demo {
  display: none;
  margin: 0;
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 38vw);
}
.hero-demo::before {
  content: "";
  position: absolute;
  inset: -14% -8% -14% -4%;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, var(--accent-glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
.hero-demo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: 292px;
  height: auto;
  object-fit: contain;
  object-position: top center;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
}
.hero-demo figcaption {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.35;
}
@media (min-width: 1080px) {
  .hero-shell {
    padding-right: min(484px, 40vw);
    min-height: 310px;
  }
  .hero-demo {
    display: block;
  }
  .run-demo {
    display: none;
  }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 600;
  max-width: 18ch;
  margin-bottom: 22px;
  color: var(--text);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-mid);
  max-width: 56ch;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 0;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.12s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #1a0f00;
}
.btn-primary:hover { background: #ffb262; color: #1a0f00; }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--text-dim); color: var(--text); }

.hero-stats {
  display: flex;
  gap: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border-soft);
}
.hero-stat {
  display: flex; flex-direction: column;
}
.hero-stat .num {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  font-feature-settings: "tnum";
  line-height: 1.1;
}
.hero-stat .num.throughput-display {
  font-family: var(--font-mono);
  font-size: 20px;
  letter-spacing: -0.01em;
}
.hero-stat .num .unit {
  font-size: 13px;
  color: var(--text-dim);
  margin-left: 4px;
  font-weight: 400;
}
.hero-stat .label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}
.hero-stat-editors-pick {
  max-width: 200px;
  padding-left: 56px;
  border-left: 1px solid var(--border-soft);
}
.hero-editors-pick {
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: color 0.12s;
}
.hero-editors-pick:hover { color: var(--accent); }
.hero-editors-pick:hover .hero-editors-pick-name { color: var(--accent); }
.hero-editors-pick-kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 6px;
}
.hero-editors-pick:hover .hero-editors-pick-kicker { opacity: 1; }
.hero-editors-pick-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.25;
}
.hero-editors-pick-meta {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  font-feature-settings: "tnum";
}
.hero-editors-pick:hover .hero-editors-pick-meta { color: var(--text-mid); }

/* ─── Section headers ─── */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px;
  padding: 0;
}
.section-head h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}
.section-head .meta {
  font-size: 13px;
  color: var(--text-dim);
  font-feature-settings: "tnum";
}
.section-block {
  padding: 64px 0;
}
.section-block:first-of-type { padding-top: 0; }

/* ─── Leaderboard ─── */
.lb-notice {
  margin-bottom: 20px;
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-radius: 0 6px 6px 0;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
}
.lb-notice strong { color: var(--text); }
.lb-notice a { color: var(--accent); }

.lb-controls {
  display: flex; gap: 20px; align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.lb-view-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  flex: none;
}
.lb-view {
  background: transparent;
  border: none;
  color: var(--text-mid);
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 12px;
  transition: all 0.12s;
}
.lb-view + .lb-view { border-left: 1px solid var(--border); }
.lb-view:hover { color: var(--text); background: var(--bg-elev); }
.lb-view.active {
  background: var(--text);
  color: var(--bg);
}
.lb-toks-value.is-pending,
.lb-toks-value .lb-pending {
  color: var(--text-faint);
}
.lb-toks-value .lb-pending { font-style: italic; }
.lb-search {
  flex: 0 0 280px;
  position: relative;
}
.lb-search input {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  padding: 8px 12px 8px 32px;
  outline: none;
  transition: border-color 0.12s;
}
.lb-search input::placeholder { color: var(--text-dim); }
.lb-search input:focus { border-color: var(--accent); }
.lb-search::before {
  content: "⌕";
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  color: var(--text-dim); font-size: 14px;
}

.lb-filters { display: flex; gap: 6px; }
.lb-filter {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-mid);
  font-size: 12.5px;
  padding: 6px 12px;
  transition: all 0.12s;
}
.lb-filter:hover { border-color: var(--text-dim); color: var(--text); }
.lb-filter.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.lb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.lb-table thead th {
  text-align: left;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 10px 14px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.lb-table thead th.sortable { cursor: pointer; user-select: none; }
.lb-table thead th.sortable:hover { color: var(--text); }
.lb-table thead th.sort-active { color: var(--accent); }
.lb-table thead th.sort-active::after { content: " ↓"; font-size: 10px; }
.lb-table thead th.sort-active.asc::after { content: " ↑"; }

.lb-table tbody tr {
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.08s;
}
.lb-table tbody tr:hover { background: var(--bg-elev); }
.lb-table tbody td {
  padding: 14px;
  vertical-align: middle;
  font-feature-settings: "tnum";
}

.lb-rank {
  width: 58px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
}

.lb-rank-delta {
  margin-left: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lb-rank-delta.up { color: var(--green); }
.lb-rank-delta.down { color: var(--red); }

.lb-name { min-width: 240px; }
.lb-name a,
.lb-name-link {
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.lb-name a:hover,
.lb-name-link:hover { color: var(--accent); }
.lb-name-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.editors-pick-icon {
  flex: none;
  color: var(--accent);
  opacity: 0.72;
}
.lb-name-link:hover .editors-pick-icon { opacity: 1; }
.lb-name .lab {
  display: block;
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 2px;
  font-family: var(--font-mono);
}

.lb-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--bg-elev-2);
  color: var(--text-mid);
  border: 1px solid var(--border-soft);
}
.tag-uc {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.lb-engine {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.engine-eugr     { color: var(--c-eugr); }
.engine-llamacpp { color: var(--c-llamacpp); }
.engine-ds4      { color: var(--c-ds4); }

.lb-params {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-mid);
  white-space: nowrap;
}
.lb-params-moe {
  font-size: 11.5px;
  letter-spacing: -0.02em;
}

.lb-toks {
  text-align: right;
  width: 220px;
}
.lb-toks-cell {
  display: flex; align-items: center; gap: 12px;
  justify-content: flex-end;
}
.lb-bar {
  flex: 1; max-width: 110px;
  height: 4px;
  background: var(--border-soft);
  border-radius: 2px;
  overflow: hidden;
}
.lb-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}
.lb-toks-value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
  min-width: 88px;
  text-align: right;
  line-height: 1.35;
}
.lb-toks-value .unit.ctx-at,
.stat-cell .val .unit.ctx-at {
  display: block;
  margin-left: 0;
  margin-top: 2px;
}
.lb-toks-value .unit {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 10.5px;
  margin-left: 3px;
}

.lb-link {
  width: 50px;
  text-align: right;
}
.lb-link a {
  color: var(--text-dim);
  font-size: 12px;
  font-family: var(--font-mono);
}
.lb-link a:hover { color: var(--accent); }
.hf-gated {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: help;
}

/* ─── Use case grid ─── */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.uc-card--multimodal {
  grid-column: 1 / -1;
}
.uc-card--multimodal ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 24px;
}
.uc-card--multimodal li { border-top: none; }
.uc-card {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 22px 22px 18px;
  transition: border-color 0.12s;
}
.uc-card:hover { border-color: var(--border); }
.uc-card h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.uc-card ul { list-style: none; }
.uc-card li { padding: 6px 0; border-top: 1px dashed var(--border-soft); }
.uc-card li:first-child { border-top: none; }
.uc-card li a {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
}
.uc-card li a:hover { color: var(--accent); }
.uc-card li .toks {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
  font-feature-settings: "tnum";
}
.uc-card li .uc-recipe {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  margin-top: 2px;
  letter-spacing: 0.03em;
}
.uc-card li .uc-recipe:hover { color: var(--accent); }

/* ─── "Run it" / install section ─── */
.run-demo {
  margin: 0 0 40px;
  text-align: center;
}
.run-demo img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.run-demo figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-dim);
}
.run-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.run-section .copy h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.run-section .copy p {
  color: var(--text-mid);
  margin-bottom: 14px;
  max-width: 48ch;
}
.run-section .copy ul {
  list-style: none;
  margin-top: 20px;
}
.run-section .copy li {
  display: flex; gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-mid);
}
.run-section .copy li::before {
  content: "→";
  color: var(--accent);
  flex: none;
}
.run-section .copy li b {
  color: var(--text); font-weight: 500;
}

.code-block {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
}
.code-block-head {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-dim);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
}
.code-block pre {
  padding: 16px 18px;
  overflow-x: auto;
  color: var(--text);
}
.code-block .cmt { color: var(--text-dim); }
.code-block .kw { color: var(--accent); }

/* ─── Model detail ─── */
.detail-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-dim);
  font-size: 13px;
  margin: 36px 0 28px;
}
.detail-back:hover { color: var(--text); }

.detail-hero {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 36px;
}
.detail-lab {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.detail-hero h1 {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.detail-meta { display: flex; gap: 8px; flex-wrap: wrap; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 40px;
}
.stat-cell {
  background: var(--bg);
  padding: 22px;
}
.stat-cell .lab {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.stat-cell .val {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  font-feature-settings: "tnum";
}
.stat-cell .val .unit {
  font-size: 13px;
  color: var(--text-dim);
  margin-left: 4px;
  font-weight: 400;
}
.stat-cell.accent .val { color: var(--accent); }
.stat-cell .params-val {
  font-size: 20px;
  line-height: 1.25;
  font-feature-settings: "tnum";
}
.stat-cell .mono {
  font-family: var(--font-mono);
  font-size: 13px;
  word-break: break-all;
  line-height: 1.45;
}

.detail-section {
  margin-bottom: 36px;
}
.detail-section h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.detail-section p {
  color: var(--text-mid);
  max-width: 65ch;
}
.detail-section .mono {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-mid);
}

.detail-ladder-intro {
  font-size: 13px;
  color: var(--text-dim);
  margin: -4px 0 12px;
}

.ladder-table {
  width: 100%;
  max-width: 420px;
  border-collapse: collapse;
  font-size: 13px;
  font-feature-settings: "tnum";
}

.ladder-table thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0 12px 8px 0;
  border-bottom: 1px solid var(--border);
}

.ladder-table tbody td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: middle;
}

.ladder-table tbody tr:last-child td { border-bottom: none; }

.ladder-table .unit {
  font-size: 11px;
  color: var(--text-dim);
  margin-left: 2px;
}

.ladder-tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.ladder-golden .ladder-tag:last-child,
.ladder-peak .ladder-tag:first-child {
  color: var(--accent);
}

.detail-links {
  list-style: none;
}
.detail-links li { padding: 6px 0; }
.detail-links a {
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: border-color 0.12s, color 0.12s;
}
.detail-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.detail-link-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
  font-weight: 400;
}

.detail-meta-line {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 12.5px;
  color: var(--text-dim);
  display: flex; justify-content: space-between;
}

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border-soft);
  margin-top: 80px;
}
.footer-inner {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 32px 28px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  font-size: 12.5px;
  color: var(--text-dim);
}
.footer-inner a { color: var(--text-mid); }
.footer-inner a:hover { color: var(--text); }
.footer-links { display: flex; gap: 20px; }

/* ─── Responsive ─── */
@media (max-width: 880px) {
  .hero { padding: 60px 28px 48px; }
  .hero-shell { margin-bottom: 40px; }
  .hero-stats { gap: 36px; flex-wrap: wrap; }
  .hero-stat-editors-pick {
    flex: 1 1 100%;
    max-width: none;
    padding-left: 0;
    padding-top: 24px;
    border-left: none;
    border-top: 1px solid var(--border-soft);
  }
  .lb-view-toggle { flex: 1 1 100%; }
  .run-section { grid-template-columns: 1fr; gap: 32px; }
  .lb-table { font-size: 13px; }
  .lb-params, .lb-tags { display: none; }
  .lb-toks { width: 130px; }
  .lb-bar { display: none; }
  .lb-name { min-width: 0; }
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .uc-card--multimodal ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .nav-links a:not(.ghbtn) { display: none; }
  .lb-controls { gap: 12px; }
  .lb-search { flex: 1; }
  .lb-engine { display: none; }
  .lb-link { display: none; }
  .uc-grid { grid-template-columns: 1fr; }
  .uc-card--multimodal ul { grid-template-columns: 1fr; }
}
