:root {
  color-scheme: light;
  --ink: #171b20;
  --body: #404951;
  --muted: #69737b;
  --line: #d9dcd9;
  --hairline: #eceee9;
  --bg: #f5f5f0;
  --surface: #fff;
  --doppler: #a43f3a;
  --doe: #28617b;
  --doe-validate: #526857;
  --cerebras: #b65320;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--body);
  background: radial-gradient(ellipse at 95% 0%, #eee8dc 0%, transparent 45%), var(--bg);
  font: 16px/1.6 'IBM Plex Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--doe); outline-offset: 5px; }
h1, h2, h3 { color: var(--ink); font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.025em; }
h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 600; line-height: 1.04; max-width: 12ch; }
h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; font-weight: 600; }
h3 { margin: 0; font-size: 1.08rem; line-height: 1.35; }
p { margin: 0; }
code, pre, .mono { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }
:not(pre) > code { background: var(--hairline); border-radius: 3px; padding: 0.1em 0.3em; font-size: 0.83em; overflow-wrap: anywhere; }
.page { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding-bottom: 40px; }
.csl-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.csl-nav > div { display: flex; gap: 24px; }
.csl-nav a { font: 11px/1.5 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; }
.csl-nav .csl-brand { font: 600 22px/1.2 'Space Grotesk', sans-serif; letter-spacing: 0.04em; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 64px; align-items: end; padding: 64px 0 40px; }
.eyebrow, .kicker, .model-label, .tag, .btn-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; line-height: 1.5; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; }
.eyebrow { margin-bottom: 18px; color: var(--muted); }
.hero-copy { max-width: 61ch; margin-top: 22px; font-size: 17px; line-height: 1.6; }
.hero-copy + .hero-copy { font-size: 14px; color: var(--muted); margin-top: 14px; }
.model-shelf { display: grid; gap: 0; border-top: 1px solid var(--line); }
.model-card { padding: 18px 0; border-bottom: 1px solid var(--line); }
.model-label { display: block; color: var(--muted); margin-bottom: 6px; }
.model-card strong { display: block; color: var(--ink); font: 600 23px/1.2 'Space Grotesk', sans-serif; letter-spacing: -0.025em; }
.model-card span:last-child { display: block; margin-top: 8px; font-size: 13px; }
.research-status { display: grid; grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr); gap: 24px; background: #eee9dd; border-left: 3px solid var(--cerebras); padding: 18px 22px; font-size: 14px; }
.research-status strong { color: var(--ink); font-weight: 600; }
.page > section { padding: 42px 0; border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 24px; }
.kicker { color: var(--muted); margin-bottom: 9px; }
.section-note { margin-top: 12px; max-width: 80ch; font-size: 14px; color: var(--muted); }
.problem-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.problem-grid > .card { grid-column: span 2; }
.problem-grid > .card:nth-child(-n+2) { grid-column: span 3; }
.card { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.tag { display: inline-block; color: var(--muted); margin-bottom: 12px; }
.tag.blue { color: var(--doe); }
.tag.red { color: var(--doppler); }
.tag.orange { color: var(--cerebras); }
.tag.purple { color: var(--doe-validate); }
.card-copy { margin-top: 10px; font-size: 14px; line-height: 1.6; }
.diagram { padding: 24px 0; }
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.pipe-node { min-width: 0; padding: 16px; border-top: 2px solid var(--line); border-right: 1px solid var(--line); }
.pipe-node:first-child { padding-left: 0; }
.pipe-node:last-child { border-right: 0; }
.pipe-node.red { border-top-color: var(--doppler); }
.pipe-node.blue { border-top-color: var(--doe); }
.pipe-node.orange { border-top-color: var(--cerebras); }
.pipe-node.purple { border-top-color: var(--doe-validate); }
.pipe-title { color: var(--ink); font-size: 15px; font-weight: 600; }
.pipe-body { margin-top: 8px; font-size: 13px; }
.pipe-link { display: inline-block; margin-top: 15px; font-size: 12px; }
.btn-label { color: var(--muted); font-size: 9px; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 13px; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--ink); background: #eeeee8; font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
.source-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; }
.btn { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 7px; font-size: 13px; }
summary { cursor: pointer; }
summary .section-head { display: inline-block; vertical-align: top; margin-left: 8px; }
.comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.code-panel { min-width: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--surface); }
.code-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; }
pre { margin: 0; padding: 18px; overflow-x: auto; font-size: 11px; line-height: 1.7; }
pre code { background: none; padding: 0; font-size: inherit; }
.ask { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.foot { display: block; margin: 28px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
@media (max-width: 850px) {
  .hero { gap: 28px; grid-template-columns: minmax(0, 1fr) 230px; }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pipe-node:first-child { padding-left: 16px; }
  .pipe-node { border-right: 0; }
  .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem-grid > .card, .problem-grid > .card:nth-child(-n+2) { grid-column: auto; }
}
@media (max-width: 600px) {
  .page { width: calc(100% - 32px); }
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .model-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .research-status, .problem-grid, .comparison, .ask { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .research-status { gap: 10px; }
  .card { padding: 18px; }
  .csl-nav > div { gap: 16px; }
  .page > section { padding: 32px 0; }
  h1 { max-width: none; }
}
