@import url("https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800&family=Instrument+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #eef3dc;
  --paper: #ffffff;
  --ink: #143109;
  --muted: #59614c;
  --blue: #6f7653;
  --blue-dark: #143109;
  --line: #aaa77f;
  --soft: #d0d6b3;
  --gold: #aaa77f;
  --green: #7f8a55;
  --purple: #8d8261;
  --red: #725f4a;
  --field-line: rgba(20, 49, 9, 0.07);
  --field-soft: rgba(170, 174, 127, 0.16);
  --font-body: "Instrument Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Onest", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(20, 49, 9, 0.03) 0 1px, transparent 1px 100%) 50% 0 / 112px 112px,
    linear-gradient(0deg, rgba(20, 49, 9, 0.026) 0 1px, transparent 1px 100%) 50% 0 / 112px 112px,
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% -18%, transparent 0 36%, rgba(20, 49, 9, 0.035) 36.25% 36.55%, transparent 36.8% 47%, rgba(20, 49, 9, 0.026) 47.25% 47.55%, transparent 47.85%),
    radial-gradient(ellipse at 50% 112%, transparent 0 46%, rgba(20, 49, 9, 0.026) 46.2% 46.55%, transparent 46.85%);
  content: "";
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.hero,
.section {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.hero-text,
.abstract,
.authors,
.author-note,
.affiliations {
  min-width: 0;
  overflow-wrap: break-word;
}

.hero-text {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  min-height: 760px;
  padding: 58px 0 36px;
  text-align: center;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  top: 38px;
  left: 50%;
  z-index: -1;
  width: min(1040px, 94vw);
  height: min(500px, 56vw);
  border: 1px solid rgba(20, 49, 9, 0.075);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0 28%, var(--field-line) 28.15% 28.35%, transparent 28.55% 42%, rgba(20, 49, 9, 0.055) 42.15% 42.35%, transparent 42.55% 58%, rgba(20, 49, 9, 0.045) 58.15% 58.35%, transparent 58.55%),
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(20, 49, 9, 0.06) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(0deg, transparent calc(50% - 0.5px), rgba(20, 49, 9, 0.05) 50%, transparent calc(50% + 0.5px));
  content: "";
  opacity: 0.45;
  transform: translateX(-50%);
  mask-image: radial-gradient(ellipse at center, #000 0 70%, transparent 73%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  z-index: -1;
  height: 10px;
  background:
    linear-gradient(90deg, #143109 0 14%, #aaa77f 14% 30%, #d0d6b3 30% 48%, #f1bf98 48% 63%, #717568 63% 80%, #3f4739 80% 100%);
  border-radius: 999px;
  content: "";
  opacity: 0.18;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  color: var(--blue-dark);
  max-width: 100%;
  font-size: 116px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  color: var(--ink);
  font-size: 44px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.16;
}

h3,
p {
  margin: 0;
}

.tagline {
  max-width: 840px;
  margin: 8px auto 0;
  color: #1f3219;
  font-family: var(--font-body);
  font-size: 31px;
  font-weight: 540;
  letter-spacing: 0;
  line-height: 1.22;
}

.abstract {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 22px;
  color: #24331d;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 430;
  line-height: 1.56;
}

.abstract strong {
  color: #143109;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid #aaa77f;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-weight: 700;
}

.button.primary {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: #fff;
}

.button img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.authors {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.affiliations {
  margin-top: 7px;
  color: var(--muted);
  font-size: 15px;
}

.author-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.score-card,
.chart-card,
.table-wrap,
pre {
  border: 1px solid rgba(170, 174, 127, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.score-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  width: min(880px, 100%);
  padding: 22px 0 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.score-card::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 49, 9, 0.7), transparent);
  content: "";
}

.score-top {
  display: block;
  padding-right: 28px;
}

.score-top span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}

.score-top strong {
  color: var(--blue-dark);
  font-family: var(--font-body);
  font-size: 72px;
  font-weight: 750;
  line-height: 0.9;
}

.model-bars {
  display: grid;
  gap: 10px;
  margin-top: 0;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.model-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(86px, 1fr) 42px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.model-row span {
  overflow: hidden;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-row i,
.rank i {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(208, 214, 179, 0.55);
}

.model-row i::before,
.rank i::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: var(--blue-dark);
  content: "";
}

.model-row b {
  color: var(--ink);
  font-size: 13px;
  text-align: right;
}

.score-card p {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding: 14px 0 15px;
  border-top: 1px solid var(--line);
  font-weight: 750;
  text-align: center;
}

.visual-coverage {
  position: relative;
  padding-top: 42px;
}

.visual-coverage .process {
  margin-top: 26px;
}

.visual-coverage .section-heading {
  max-width: 1080px;
}

.visual-coverage h2 {
  font-size: 42px;
  white-space: nowrap;
}

.visual-coverage::before {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: -1;
  width: min(1260px, 108vw);
  height: 78%;
  background:
    linear-gradient(90deg, transparent 0 calc(50% - 0.5px), rgba(20, 49, 9, 0.045) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    repeating-linear-gradient(0deg, transparent 0 132px, rgba(20, 49, 9, 0.026) 132px 133px, transparent 133px 264px);
  content: "";
  opacity: 0.7;
  transform: translateX(-50%);
}

.paper-figure {
  margin: 28px 0 0;
}

.paper-figure img {
  width: 100%;
  height: auto;
  background: transparent;
}

.paper-figure figcaption {
  max-width: 860px;
  margin: 13px auto 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}

.process-lede {
  max-width: 760px;
  margin: 76px auto 0;
  color: var(--muted);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.section {
  position: relative;
  padding: 82px 0;
}

.section::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 49, 9, 0.18), transparent);
  content: "";
}

.hero + .section {
  padding-top: 54px;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.narrow {
  max-width: 880px;
}

.section-heading p {
  margin-top: 18px;
  margin-right: auto;
  margin-left: auto;
  max-width: 860px;
  color: var(--muted);
  font-size: 18px;
  text-align: left;
}

.claim-columns,
.process,
.chart-grid,
.plot-grid {
  display: grid;
  gap: 18px;
}

h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.22;
}

.process p,
.chart-card p,
.small-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.leaderboard {
  width: 100%;
  max-width: none;
  padding: 92px max(22px, calc((100vw - 1120px) / 2));
  background:
    radial-gradient(ellipse at 50% -12%, transparent 0 32%, rgba(208, 214, 179, 0.16) 32.2% 32.45%, transparent 32.7% 44%, rgba(208, 214, 179, 0.1) 44.2% 44.45%, transparent 44.7%),
    linear-gradient(90deg, rgba(208, 214, 179, 0.055) 0 1px, transparent 1px 100%) 50% 0 / 104px 104px,
    var(--blue-dark);
  color: #f7f7f7;
}

.leaderboard h2,
.leaderboard h3 {
  color: #fff;
}

.leaderboard .section-heading p {
  color: #d0d6b3;
}

.table-wrap {
  overflow-x: auto;
  background:
    linear-gradient(90deg, rgba(208, 214, 179, 0.05) 0 1px, transparent 1px 100%) 0 0 / 80px 80px,
    #17370d;
  border-color: #405536;
}

.table-note {
  max-width: 1120px;
  margin: 12px auto 0;
  color: #d0d6b3;
  font-size: 13px;
  font-weight: 650;
}

table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid #405536;
  text-align: right;
  white-space: nowrap;
}

th:first-child,
td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #17370d;
  text-align: left;
}

thead th {
  color: #d0d6b3;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

tbody th {
  color: #f8fbff;
  font-weight: 720;
}

tbody td {
  color: #edf1e6;
}

tbody tr.top th,
tbody tr.top td {
  background: rgba(170, 174, 127, 0.28);
  color: #fff;
  font-weight: 800;
}

tbody td.best,
tbody tr.top td.best {
  background: rgba(241, 191, 152, 0.14);
  color: #f7f2ea;
  font-weight: 900;
  box-shadow:
    inset 0 -1px 0 rgba(241, 191, 152, 0.7),
    inset 0 0 0 1px rgba(241, 191, 152, 0.055);
}

.chart-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  margin-top: 34px;
}

.question-shell img {
  width: 100%;
}

.chart-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.chart-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--ink);
  content: "";
}

.rank-chart {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}

.rank {
  display: grid;
  grid-template-columns: 128px minmax(80px, 1fr) 48px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.rank label {
  color: var(--ink);
  font-weight: 700;
}

.rank b {
  color: var(--ink);
  text-align: right;
}

.rank.top label,
.rank.top b {
  color: var(--blue-dark);
}

.rank.top i::before {
  background: var(--blue-dark);
}

.encoder-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.encoder-grid div {
  padding: 15px;
  border-left: 3px solid var(--blue);
  background:
    linear-gradient(90deg, rgba(20, 49, 9, 0.045) 0 1px, transparent 1px 100%) 0 0 / 44px 44px,
    #f3f5ea;
}

.encoder-grid div:nth-child(2) {
  border-color: var(--green);
}

.encoder-grid div:nth-child(3) {
  border-color: var(--purple);
}

.encoder-grid b,
.encoder-grid strong,
.encoder-grid span {
  display: block;
}

.encoder-grid strong {
  margin: 8px 0 2px;
  color: var(--blue-dark);
  font-family: var(--font-body);
  font-size: 38px;
  font-weight: 750;
  line-height: 1;
}

.encoder-grid span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.plot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
  align-items: stretch;
  margin-top: 34px;
  gap: 18px;
}

.plot-card {
  min-width: 0;
  padding: 18px 18px 14px;
  border-radius: 4px;
  box-shadow: none;
}

.plot-card:not(.wide) {
  width: 100%;
}

.plot-card.wide {
  min-width: 0;
}

.plot-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
  margin-bottom: 6px;
}

.plot-card-head h3 {
  font-size: 19px;
}

.plot-card-head p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.metric-pill {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(20, 49, 9, 0.18);
  border-radius: 999px;
  background: rgba(208, 214, 179, 0.45);
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plot-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.plot-controls label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plot-controls select {
  min-width: 154px;
  padding: 8px 28px 8px 10px;
  border: 1px solid rgba(20, 49, 9, 0.22);
  border-radius: 4px;
  background: #f8f8f3;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.plotly-panel {
  width: 100%;
  min-height: 460px;
}

.embedding-stack {
  display: grid;
  gap: 0;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid rgba(20, 49, 9, 0.16);
  background: #fff;
}

.embedding-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 22px;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.embedding-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.embedding-legend i {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(20, 49, 9, 0.18);
}

.rank-swatch {
  background: rgba(254, 209, 133, 0.95);
}

.ratio-swatch {
  background: rgba(90, 148, 234, 0.9);
}

.embedding-stack .plotly-panel {
  min-height: 158px;
}

.embedding-stack .plotly-panel:last-child {
  min-height: 172px;
}

.question-explorer {
  --domain-color: #fb737d;
  --domain-color-soft: rgba(251, 115, 125, 0.2);
  overflow: hidden;
  border-top: 1px solid rgba(20, 49, 9, 0.2);
  border-bottom: 1px solid rgba(20, 49, 9, 0.16);
  border-radius: 0;
  background:
    radial-gradient(circle at 18% 0, var(--domain-color-soft), transparent 28%),
    linear-gradient(90deg, rgba(20, 49, 9, 0.04) 0 1px, transparent 1px 100%) 0 0 / 72px 72px,
    rgba(238, 243, 220, 0.42);
  box-shadow: none;
}

.domain-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(20, 49, 9, 0.12);
  background: rgba(255, 255, 255, 0.42);
}

.domain-tabs button {
  padding: 8px 12px;
  border: 1px solid rgba(20, 49, 9, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.domain-tabs button:hover {
  transform: translateY(-1px);
}

.domain-tabs button.active {
  border-color: color-mix(in srgb, var(--tab-color) 70%, #143109);
  background: var(--tab-color);
  color: #11190d;
}

.question-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
}

.question-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 49, 9, 0.16);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.2)),
    rgba(238, 243, 220, 0.45);
}

.question-media {
  display: grid;
  place-items: center;
  min-height: 340px;
  padding: 14px;
  background:
    radial-gradient(circle at 24% 18%, var(--domain-color-soft), transparent 42%),
    linear-gradient(90deg, rgba(20, 49, 9, 0.035) 0 1px, transparent 1px 100%) 0 0 / 42px 42px,
    rgba(238, 243, 220, 0.72);
}

.question-media img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: none;
}

.question-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 26px 28px;
  border-left: 1px solid rgba(20, 49, 9, 0.12);
}

.domain-chip {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--domain-color);
  color: #11190d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.question-copy h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 720;
  line-height: 1.18;
}

.option-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.option-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) minmax(82px, auto);
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px 10px 10px;
  border: 0;
  border-left: 2px solid rgba(20, 49, 9, 0.18);
  background: rgba(255, 255, 255, 0.34);
}

.option-list li span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(20, 49, 9, 0.14);
  border-radius: 3px;
  background: rgba(238, 243, 220, 0.72);
  color: var(--ink);
  font-weight: 900;
}

.option-list li.correct {
  border-left-color: color-mix(in srgb, var(--domain-color) 72%, #143109);
  background: color-mix(in srgb, var(--domain-color) 14%, rgba(255, 255, 255, 0.5));
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--domain-color) 26%, transparent);
}

.option-list li.correct p {
  color: var(--ink);
  font-weight: 850;
}

.option-list li.correct > p:first-line {
  text-decoration: underline;
  text-decoration-color: var(--domain-color);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.answer-note {
  display: grid;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(20, 49, 9, 0.14);
  border-left: 3px solid var(--domain-color);
  background: rgba(255, 255, 255, 0.38);
}

.answer-note-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.answer-note-toggle span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.answer-note-toggle i {
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.answer-note.open .answer-note-toggle i {
  transform: rotate(-135deg) translateY(-1px);
}

.answer-note p {
  max-width: 64ch;
  padding: 0 14px 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.42;
}

.option-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 28px;
}

.model-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  overflow: hidden;
  border: 1px solid rgba(20, 49, 9, 0.14);
  border-radius: 4px;
  background: rgba(238, 243, 220, 0.72);
}

.model-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.model-kimi .model-logo {
  width: 18px;
  height: 18px;
  object-fit: cover;
  object-position: left center;
  transform: scale(0.82);
  transform-origin: left center;
}

.model-gemini .model-logo,
.model-gpt .model-logo {
  width: 20px;
  height: 20px;
}

.model-inspector {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.model-inspector h3 {
  margin-bottom: 14px;
}

.model-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 11px 12px;
  border: 1px solid rgba(20, 49, 9, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.choice .model-logo {
  flex: 0 0 auto;
}

.choice span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.choice strong {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
}

.choice.correct strong {
  background: #4f7d3f;
}

.choice.wrong strong {
  background: #8f5445;
}

.reasoning-panel {
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 49, 9, 0.2);
  border-radius: 0;
  background: rgba(238, 243, 220, 0.86);
}

.reasoning-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(20, 49, 9, 0.16);
  background: rgba(208, 214, 179, 0.45);
}

.reasoning-head span {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.trace-model-logo {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.reasoning-head span span {
  display: grid;
  gap: 1px;
}

.reasoning-head b {
  font-size: 13px;
  line-height: 1.1;
}

.reasoning-head em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.15;
}

.reasoning-head strong {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.reasoning-head strong.correct {
  background: #4f7d3f;
  color: #fff;
}

.reasoning-head strong.wrong {
  background: #8f5445;
  color: #fff;
}

#reasoning-text {
  max-height: 332px;
  margin: 14px;
  padding: 16px 18px 18px;
  overflow: auto;
  border: 0;
  border-left: 3px solid #7c5cff;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.62;
  white-space: pre-wrap;
}

#reasoning-text strong {
  font-weight: 850;
}

.process {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  padding: 24px 0 6px;
  border-top: 1px solid rgba(20, 49, 9, 0.18);
  border-bottom: 1px solid rgba(20, 49, 9, 0.1);
  background: transparent;
}

.process::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 34%;
  height: 2px;
  background: linear-gradient(90deg, #143109, #aaa77f, transparent);
  content: "";
}

.process article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  min-height: 150px;
  padding: 24px 30px 20px;
  background: transparent;
}

.process article + article {
  border-left: 1px solid rgba(20, 49, 9, 0.12);
}

.process article::before {
  position: absolute;
  top: 0;
  left: 22px;
  width: 54px;
  height: 3px;
  background: var(--blue-dark);
  content: "";
}

.process article:nth-child(2)::before {
  background: #aaa77f;
}

.process article:nth-child(3)::before {
  background: #6f7653;
}

.process strong {
  display: block;
  margin-bottom: 16px;
  color: rgba(20, 49, 9, 0.56);
  font-family: var(--font-body);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1;
}

.process h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.18;
}

.process p {
  max-width: 34ch;
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.48;
}

.question-shell {
  max-width: 1142px;
  margin-right: auto;
  margin-left: auto;
}

.taxonomy-shell img {
  background: transparent;
}

.taxonomy-shell {
  position: relative;
}

.taxonomy-shell::before,
.taxonomy-shell::after {
  position: absolute;
  left: 50%;
  z-index: -1;
  width: min(1040px, 94vw);
  height: 120px;
  border: 1px solid rgba(20, 49, 9, 0.12);
  border-right: 0;
  border-left: 0;
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.taxonomy-shell::before {
  top: 8%;
}

.taxonomy-shell::after {
  bottom: -4%;
}

pre {
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 22px;
  background: var(--blue-dark);
  color: #f7f2ea;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .chart-grid,
  .plot-grid,
  .question-stage,
  .question-card,
  .process {
    grid-template-columns: 1fr;
  }

  .plot-card-head {
    flex-direction: column;
  }

  .plot-controls {
    justify-content: flex-start;
  }

  .question-media {
    min-height: 260px;
  }

  .hero {
    min-height: auto;
    gap: 36px;
  }

  h1 {
    font-size: 86px;
  }

  h2 {
    font-size: 38px;
  }

  .tagline {
    font-size: 27px;
  }

  .visual-coverage h2 {
    white-space: normal;
  }

  .score-card {
    grid-template-columns: 1fr;
    max-width: 560px;
    text-align: center;
  }

  .score-top {
    padding-right: 0;
  }

  .model-bars {
    margin-top: 18px;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .hero,
  .section {
    width: min(354px, calc(100vw - 36px));
    max-width: 354px;
    margin-left: 18px;
    margin-right: 18px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 32px;
  }

  .tagline {
    font-size: 21px;
  }

  .abstract {
    font-size: 18px;
  }

  .links {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .score-card {
    width: 100%;
    padding: 18px;
  }

  .hero::before {
    top: 46px;
    height: 310px;
  }

  .hero::after {
    bottom: 0;
  }

  .score-top {
    grid-template-columns: 1fr;
  }

  .score-top strong {
    font-size: 56px;
  }

  .model-row {
    grid-template-columns: minmax(0, 1fr) 76px 38px;
  }

  .rank {
    grid-template-columns: 110px minmax(70px, 1fr) 42px;
  }

  .plot-card {
    padding: 18px 14px 12px;
  }

  .plotly-panel {
    min-height: 360px;
  }

  .domain-tabs {
    padding: 12px;
  }

  .domain-tabs button {
    flex: 1 1 150px;
  }

  .question-stage {
    padding: 12px;
  }

  .question-copy,
  .model-inspector {
    padding: 16px;
  }

  .model-choice-grid {
    grid-template-columns: 1fr;
  }

  .plot-controls label,
  .plot-controls select {
    width: 100%;
  }
}
