@font-face {
  font-family: "Space Grotesk";
  src: url("../glm-5-3-flash-sparkdash/assets/space-grotesk-400-700.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../glm-5-3-flash-sparkdash/assets/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../glm-5-3-flash-sparkdash/assets/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #080808;
  --panel: #111215;
  --line: #34363b;
  --text: #f5f2ed;
  --muted: #b3b4bb;
  --red: #ff5561;
  --cyan: #64dafa;
  --brand: #ed1c24;
  --focus: #39d0ff;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cyan); }
:is(a,button,summary,[tabindex]):focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - clamp(40px, 9vw, 136px))); margin-inline: auto; }
.skip { position: absolute; z-index: 4; top: -80px; padding: 8px 16px; background: var(--text); color: var(--bg); }
.skip:focus { top: 2px; }
.mast { border-bottom: 1px solid var(--line); background: #0b0c0d; }
.mast-inner, .mast nav, .brand, .eyebrow, .quant-label, .source-links, .foot { display: flex; align-items: center; }
.mast-inner { min-height: 66px; justify-content: space-between; gap: 22px; }
.brand { gap: 14px; white-space: nowrap; }
.brand b { font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -.075em; }
.brand span { padding-left: 14px; border-left: 1px solid #4b4c53; font-size: 15px; line-height: 1.35; }
.mast nav { gap: 26px; color: #cbccd0; font-size: 14px; }
.data-link, .download { display: inline-flex; align-items: center; gap: 10px; padding: 7px 13px; border: 1px solid #53545a; border-radius: 5px; color: var(--text); font-weight: 500; }
.data-link:hover, .download:hover { border-color: var(--cyan); }
.hero {
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 88% 19%, #43171c4f, transparent 44%), radial-gradient(ellipse at 8% 100%, #1221262b, transparent 55%), #0d0d0f;
}
.hero-grid { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: clamp(30px, 6vw, 96px); padding-block: clamp(35px, 5vw, 72px); }
.eyebrow, .headline-figure figcaption, .quant-label, .runline {
  font: 500 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .11em;
}
.eyebrow { gap: 10px; color: #c8c8ce; }
.eyebrow i { width: 19px; height: 3px; background: var(--brand); }
.hero h1 { margin: 20px 0; font-size: clamp(64px, 7.8vw, 117px); line-height: .9; letter-spacing: -.065em; word-spacing: .035em; font-weight: 600; }
.hero h1 span { color: #bdc0c9; }
.hero-copy p { max-width: 515px; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.52; color: #cacbd0; }
.hero-copy p strong { font-weight: 600; color: var(--text); }
.jump { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; font-weight: 600; font-size: 14px; }
.jump span { color: var(--red); font-size: 18px; }
.headline-figure {
  position: relative; padding: clamp(22px, 2.5vw, 38px); overflow: hidden;
  border: 1px solid #4a3539; border-top: 3px solid var(--brand); border-radius: 7px;
  background: linear-gradient(110deg, #1212178f, #27161992), repeating-linear-gradient(90deg, transparent 0 27px, #ffffff0c 27px 28px), repeating-linear-gradient(0deg, transparent 0 27px, #ffffff09 27px 28px), #131013;
}
.headline-figure figcaption { color: #d2c5c8; }
.headline-figure figcaption span { color: #a8666c; margin-inline: 6px; }
.big-ratio { font: 500 clamp(78px, 7.8vw, 113px)/1.08 var(--sans); letter-spacing: -.085em; margin: 8px 0 16px; }
.big-ratio span { color: var(--red); font-weight: 400; }
.meter + .meter { margin-top: 15px; }
.meter > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 7px; }
.meter span, .work-rates dt { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; }
.meter strong, .weight-num, .work-rates dd { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.meter strong { font-size: 19px; font-weight: 500; }
small, .weight-num span { font: 400 12px var(--mono); color: #bbbac1; }
.track { height: 6px; background: #3c3238; border-radius: 1px; overflow: hidden; }
.track i { display: block; height: 100%; background: var(--red); }
.llama .track i { background: var(--cyan); }
.swatch { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 2px; }
.swatch.rcs { background: var(--red); }
.swatch.cpp { background: var(--cyan); border-radius: 50%; }
.runline { display: flex; align-items: center; flex-wrap: wrap; column-gap: 0; row-gap: 6px; padding-block: 15px; border-top: 1px solid #3a383e; color: #c8c7cd; font-size: 10px; letter-spacing: .07em; }
.runline span + span::before { content: "/"; margin: 0 15px; color: #77737c; }
.runline time { margin-left: auto; color: var(--muted); }
.body-content { margin-top: 15px; }
.major { padding: clamp(36px, 4.5vw, 66px) 0; border-bottom: 1px solid var(--line); }
h2 { margin: 10px 0 11px; font-size: clamp(32px, 4vw, 56px); letter-spacing: -.064em; line-height: 1.05; font-weight: 600; }
h3 { font-size: clamp(21px, 2vw, 28px); font-weight: 600; letter-spacing: -.047em; line-height: 1.15; }
.intro, .request-time p, .method-copy p { color: var(--muted); }
.intro { max-width: 820px; font-size: clamp(16px, 1.4vw, 19px); }
#context-chart { margin-top: 27px; }
.disclosure { border-block: 1px solid var(--line); margin-top: 18px; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 0; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--cyan); margin-right: 3px; }
details[open] > summary::after { content: "−"; }
summary:hover { color: var(--cyan); }
.table-scroll { overflow-x: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; font: 400 13px/1.5 var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
caption { color: var(--muted); text-align: left; font: 400 12px/1.5 var(--mono); padding: 4px 0 10px; }
table :is(th,td) { padding: 9px 12px; white-space: nowrap; border-bottom: 1px solid #2d2f34; }
thead th { color: #c4c5cb; font-size: 11px; }
tbody th { font-weight: 500; }
thead tr:first-child th:first-child, tbody th { text-align: left; }
#matched thead tr:nth-child(2) th, #matched thead th[colspan] { text-align: right; }
.disclosure table { margin-bottom: 16px; }
.request-time {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(285px, 1fr); align-items: center; gap: 28px;
  margin-top: 24px; padding: clamp(18px, 2.3vw, 30px); border: 1px solid var(--line); border-radius: 7px; background: var(--panel);
}
.request-time p { margin-top: 8px; max-width: 650px; }
.request-time dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.request-time dt { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.request-time dd { font: 500 clamp(27px, 2.8vw, 40px)/1.3 var(--mono); letter-spacing: -.06em; white-space: nowrap; }
.request-time dd span { font-size: 16px; color: var(--muted); }
.work-grid, .quant-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 23px; }
.work-card, .quant { min-width: 0; padding: clamp(20px, 2.3vw, 32px); border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.work-head, .work-rates div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.work-head span { font: 500 16px var(--mono); color: var(--red); }
.work-card > p, .quant p { margin-top: 8px; color: var(--muted); }
.work-rates { margin-top: 24px; }
.work-rates div { padding-top: 8px; margin-top: 8px; border-top: 1px solid #34353b; }
.work-rates dd { font-size: clamp(20px, 2.1vw, 29px); line-height: 1.25; }
.work-card .sample-count { margin-top: 16px; color: #abacb4; font-size: 13px; }
.model-stats { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 26px; padding: 22px 0; border-block: 1px solid var(--line); }
.model-stats div { display: flex; flex-direction: column; padding: 0 20px; border-left: 1px solid var(--line); }
.model-stats div:first-child { border-left: 0; padding-left: 0; }
.model-stats dd { order: -1; font-size: clamp(33px, 3.5vw, 52px); line-height: 1.1; font-weight: 500; letter-spacing: -.06em; }
.model-stats dd span { color: #aaaab5; }
.model-stats dt { font-size: 14px; line-height: 1.4; color: var(--muted); margin-top: 6px; }
.quant-label { gap: 9px; color: #c7c7cb; letter-spacing: .045em; }
.quant h3 { margin: 14px 0 5px; font-size: 31px; }
.weight-num { font-size: 19px; font-weight: 500; }
.quant p { max-width: 500px; }
.source-links { flex-wrap: wrap; column-gap: 22px; row-gap: 6px; margin-top: 20px; }
.source-links a, .foot > a:last-child { font-size: 14px; color: var(--cyan); }
.source-links a:hover, .foot > a:last-child:hover { text-decoration: underline; }
.method { display: grid; grid-template-columns: .9fr 1.4fr; gap: 40px; }
.method h2 { max-width: 380px; }
.method-copy p + p { margin-top: 13px; }
.method-copy strong { color: var(--text); font-weight: 600; }
.download { margin-top: 14px; font-size: 14px; }
.foot { padding-block: 25px; justify-content: space-between; gap: 12px; }
.foot .brand b { font-size: 25px; }
.foot .brand span { font-size: 13px; }
@media (max-width: 800px) {
  .hero-grid { gap: 26px; }
  .request-time { grid-template-columns: 1fr; gap: 18px; }
  .method { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .mast-inner { min-height: 57px; gap: 12px; }
  .mast nav { gap: 0; }
  .mast nav > a:not(.data-link) { display: none; }
  .brand { gap: 10px; }
  .brand b { font-size: 29px; }
  .brand span { font-size: 13px; padding-left: 10px; }
  .data-link { font-size: 12px; padding: 6px 9px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding-block: 29px 24px; }
  .hero h1 { margin-block: 16px; font-size: clamp(63px, 14vw, 86px); }
  .hero-copy p { max-width: 500px; }
  .jump { margin-top: 14px; }
  .headline-figure { padding: 17px 19px 20px; }
  .big-ratio { font-size: 72px; margin: 3px 0 10px; }
  .runline { gap: 5px 14px; font-size: 9px; }
  .runline span + span::before { content: none; }
  .runline time { margin-left: 0; }
  .work-grid, .quant-grid { grid-template-columns: 1fr; }
  .model-stats { grid-template-columns: repeat(2,1fr); gap: 20px 0; }
  .model-stats div:nth-child(odd) { border-left: 0; padding-left: 0; }
  table :is(th,td) { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
