:root {
  --paper: #ede5d5;
  --paper-deep: #dcd0bb;
  --ink: #20251f;
  --forest: #263d31;
  --signal: #b53b13;
  --signal-hot: #ff7a3d;
  --muted: #66675e;
  --rule: #b9ad99;
  --dark-rule: #596057;
  --white: #f3ecdf;
  --bench-paper: #f8f8f6;
  --bench-ink: #17191d;
  --bench-muted: #737780;
  --bench-rule: #d9dce2;
  --bench-purple: #6658d3;
  --bench-orange: #ed6b3d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Aptos, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 4.75rem;
  padding: 0 max(1.25rem, calc((100vw - 76rem) / 2));
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42rem;
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
}

.brand span {
  color: var(--signal);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
}

nav a {
  font-size: 0.78rem;
  text-decoration-color: transparent;
  text-underline-offset: 0.3rem;
}

nav a:hover {
  text-decoration-color: var(--signal);
}

main {
  width: min(100% - 2.5rem, 76rem);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.62fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: center;
  min-height: 41rem;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--signal);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.7rem, 8vw, 7.3rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.9;
  text-wrap: balance;
}

.verification {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2rem;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
}

.purpose {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--signal-hot);
}

.verdict {
  display: flex;
  min-height: 24rem;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--forest);
  box-shadow: 0 1.5rem 3.5rem rgb(32 37 31 / 15%);
  color: var(--white);
}

.verdict span,
.verdict small {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.verdict span {
  color: var(--signal-hot);
  font-weight: 700;
}

.verdict strong {
  color: var(--signal-hot);
  font-size: clamp(7rem, 15vw, 12rem);
  font-weight: 650;
  letter-spacing: -0.1em;
  line-height: 0.72;
}

.verdict small {
  color: #c7c1b2;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.metrics article {
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem;
  border-right: 1px solid var(--rule);
}

.metrics article:last-child {
  border-right: 0;
}

.metrics span {
  max-width: 15rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.metrics strong {
  color: var(--signal);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.8;
}

.metrics article:last-child strong {
  font-size: clamp(2.1rem, 4.2vw, 4rem);
}

.cancerbench {
  width: auto;
  margin: 0;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: var(--bench-paper);
  box-shadow: 0 0 0 100vmax var(--bench-paper);
  clip-path: inset(0 -100vmax);
  color: var(--bench-ink);
}

.bench-intro {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.bench-name {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.2rem;
  font-size: 0.86rem;
  font-weight: 750;
}

.bench-name span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.42rem;
  background: var(--bench-purple);
  color: white;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
}

.bench-intro h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 630;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.bench-intro > p {
  max-width: 43rem;
  margin: 0;
  color: #4f535a;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.58;
}

.bench-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 0.85rem 0;
  border-top: 1px solid var(--bench-rule);
  border-bottom: 1px solid var(--bench-rule);
  color: var(--bench-muted);
  font-size: 0.72rem;
}

.bench-meta span:last-child {
  margin-left: auto;
}

.bench-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.bench-live i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--bench-orange);
}

.bench-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.bench-card {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--bench-rule);
  border-radius: 0.72rem;
  background: white;
  box-shadow: 0 0.5rem 1.8rem rgb(35 38 44 / 5%);
}

.bench-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.3rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--bench-rule);
}

.bench-card-head h3 {
  margin: 0 0 0.35rem;
  font-size: 1.03rem;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.bench-card-head p,
.bench-card-head > span {
  margin: 0;
  color: var(--bench-muted);
  font-size: 0.68rem;
}

.bench-card-head > span {
  flex: 0 0 auto;
  padding: 0.38rem 0.55rem;
  border: 1px solid var(--bench-rule);
  border-radius: 0.35rem;
}

.bar-chart {
  padding-top: 1rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 1.7rem minmax(8.5rem, 0.85fr) minmax(5rem, 1fr) 1.25rem;
  gap: 0.65rem;
  align-items: center;
  min-height: 2.65rem;
  font-size: 0.72rem;
}

.model-mark {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 0.35rem;
  color: white;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 700;
}

.model-mark.closed {
  background: var(--bench-purple);
}

.model-mark.open {
  background: var(--bench-orange);
}

.model-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-track {
  position: relative;
  height: 0.52rem;
  border-radius: 1rem;
  background: #ebecef;
}

.bar-track::before {
  position: absolute;
  inset: -0.28rem auto -0.28rem 0;
  width: 2px;
  background: var(--bench-orange);
  content: "";
}

.bar-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--bench-purple);
}

.bar-row strong {
  color: var(--bench-ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  text-align: right;
}

.line-chart {
  padding-top: 1rem;
}

.line-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.chart-grid line {
  stroke: var(--bench-rule);
  stroke-width: 1;
}

.chart-axis text {
  fill: var(--bench-muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  text-anchor: end;
}

.closed-line,
.open-line {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.closed-line {
  stroke: var(--bench-purple);
  stroke-width: 6;
}

.open-line {
  stroke: var(--bench-orange);
  stroke-dasharray: 8 7;
  stroke-width: 3;
}

.closed-points circle {
  fill: var(--bench-purple);
}

.open-points circle {
  fill: white;
  stroke: var(--bench-orange);
  stroke-width: 2;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  padding-top: 0.7rem;
  color: var(--bench-muted);
  font-size: 0.67rem;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.chart-legend i {
  width: 1.25rem;
  height: 3px;
}

.legend-closed {
  background: var(--bench-purple);
}

.legend-open {
  border-top: 2px dashed var(--bench-orange);
}

.cost-card {
  grid-column: 1 / -1;
}

.scatter-chart {
  padding-top: 1rem;
}

.scatter-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.ideal-quadrant {
  fill: #dcf1e1;
}

.quadrant-label {
  fill: #36744b;
  font-size: 12px;
  font-weight: 700;
}

.scatter-grid line {
  stroke: var(--bench-rule);
  stroke-width: 1;
}

.scatter-axis text {
  fill: var(--bench-muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  text-anchor: end;
}

.scatter-axis .axis-title {
  fill: #545861;
  font-size: 11px;
  font-weight: 700;
}

.scatter-points .point circle {
  stroke: white;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.scatter-points .closed circle {
  fill: var(--bench-purple);
}

.scatter-points .open circle {
  fill: var(--bench-orange);
}

.scatter-points text {
  fill: white;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  text-anchor: middle;
  transform: translateY(3px);
}

.model-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--bench-rule);
  color: var(--bench-muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
}

.bench-dataset {
  margin-top: 1rem;
  border: 1px solid var(--bench-rule);
  border-radius: 0.72rem;
  background: white;
}

.bench-dataset summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 5.2rem;
  padding: 1rem clamp(1.25rem, 3vw, 2rem);
  cursor: pointer;
  list-style: none;
}

.bench-dataset summary::-webkit-details-marker {
  display: none;
}

.bench-dataset summary::after {
  margin-left: 0.5rem;
  color: var(--bench-purple);
  content: "+";
  font-size: 1.4rem;
}

.bench-dataset[open] summary::after {
  content: "−";
}

.bench-dataset summary > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--bench-muted);
  font-size: 0.7rem;
}

.bench-dataset summary strong {
  color: var(--bench-ink);
  font-size: 0.9rem;
}

.summary-count {
  margin-left: auto;
  color: var(--bench-muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
}

.dataset-toolbar {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 2rem;
  padding: 1.2rem clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid var(--bench-rule);
  border-bottom: 1px solid var(--bench-rule);
}

.dataset-toolbar p {
  max-width: 46rem;
  margin: 0;
  color: var(--bench-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.dataset-toolbar a {
  flex: 0 0 auto;
  color: var(--bench-purple);
  font-size: 0.7rem;
  font-weight: 650;
  text-underline-offset: 0.24rem;
}

.dataset-table-wrap {
  max-height: 25rem;
  overflow: auto;
}

.bench-dataset table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
}

.bench-dataset th,
.bench-dataset td {
  padding: 0.7rem clamp(0.75rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--bench-rule);
  text-align: left;
}

.bench-dataset th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f1f2f4;
  color: var(--bench-muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.61rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bench-dataset th:first-child,
.bench-dataset td:first-child {
  width: 5.5rem;
  color: var(--bench-muted);
  font-family: "SFMono-Regular", Consolas, monospace;
}

.bench-dataset th:last-child,
.bench-dataset td:last-child {
  width: 7rem;
  color: var(--bench-orange);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 700;
  text-align: right;
}

.updates {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.section-intro h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(3rem, 6vw, 5.5rem);
  background: var(--ink);
  border: 1px solid var(--ink);
}

.comparison-column {
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.hype {
  background: var(--paper);
}

.progress {
  background: var(--forest);
  color: var(--white);
}

.column-heading {
  min-height: 8rem;
}

.column-heading h3 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.update-list {
  align-self: start;
  border-top: 1px solid var(--ink);
}

.update-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 7rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.88rem;
}

.update-row strong {
  color: var(--signal);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.evidence-list {
  border-top: 1px solid var(--dark-rule);
}

.evidence {
  min-height: 7rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--dark-rule);
}

.evidence p {
  margin: 0 0 0.7rem;
  color: #d9d2c4;
  font-size: 0.86rem;
  line-height: 1.45;
}

.evidence a {
  color: var(--signal-hot);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  text-underline-offset: 0.25rem;
}

.bottom-line {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 0;
}

.bottom-line > p {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.bottom-line span {
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(3rem, 7vw, 5rem)
    max(1.25rem, calc((100vw - 76rem) / 2));
  background: var(--forest);
  color: var(--white);
}

.footer-message .eyebrow {
  color: var(--signal-hot);
}

.footer-message p:last-child {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.footer-message em {
  color: var(--signal-hot);
  font-style: normal;
}

.donate {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 13rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--signal-hot);
  color: var(--signal-hot);
  font-size: 0.8rem;
  text-decoration: none;
}

.donate:hover {
  background: var(--signal-hot);
  color: var(--forest);
}

.donate:focus-visible,
nav a:focus-visible,
.evidence a:focus-visible,
.bench-dataset summary:focus-visible,
.dataset-toolbar a:focus-visible {
  outline: 3px solid var(--signal-hot);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  nav a:not(:last-child) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 4rem 0;
  }

  .verdict {
    min-height: 19rem;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metrics article {
    min-height: 9rem;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .metrics article:last-child {
    border-bottom: 0;
  }

  .bench-intro,
  .bench-charts {
    grid-template-columns: 1fr;
  }

  .bench-intro h2 {
    max-width: none;
  }

  .bench-meta span:last-child {
    margin-left: 0;
  }

  .bar-row {
    grid-template-columns: 1.7rem minmax(7rem, 1fr) minmax(3rem, 0.55fr) 1rem;
  }

  .dataset-toolbar {
    align-items: start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .updates {
    padding: 4.5rem 0;
  }

  .section-intro h2 {
    max-width: none;
  }

  .comparison {
    grid-template-columns: 1fr;
  }

  .column-heading {
    min-height: auto;
    padding-bottom: 2.5rem;
  }

  .bottom-line {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .donate {
    width: 100%;
  }

}
