:root {
  --paper: #fff;
  --surface: #ffffff;
  --ink: #111214;
  --muted: #5d6269;
  --soft: #e3e4df;
  --line: #c9cbc4;
  --green: #58b96f;
  --pink: #cc7ea8;
  --blue: #5f8fe8;
  --gold: #d9a63a;
  --shadow: 0 18px 60px rgba(17, 18, 20, 0.08);
  --scroll-progress: 0%;
  --page-gutter: clamp(12px, 1.35vw, 24px);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(88, 185, 111, 0.08), transparent 22rem),
    radial-gradient(circle at 92% 22%, rgba(95, 143, 232, 0.08), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: var(--scroll-progress);
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--pink));
  box-shadow: 0 0 18px rgba(95, 143, 232, 0.42);
  pointer-events: none;
}

.section-shell,
.hero-shell {
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: none;
  margin: 0 auto;
}

.hero-shell {
  padding: 18px 0 0;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 70vh, 760px);
  border-radius: 18px;
  background:
    radial-gradient(circle at var(--hero-x, 82%) var(--hero-y, 18%), rgba(95, 143, 232, 0.2), transparent 24rem),
    radial-gradient(circle at 20% 88%, rgba(88, 185, 111, 0.12), transparent 22rem),
    #030303;
  color: #fff;
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.hero-panel::after {
  position: absolute;
  inset: auto -20% 0 18%;
  height: 42%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08));
  transform: skewY(-8deg);
  transform-origin: bottom right;
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 46px);
  min-height: 104px;
  padding: 32px clamp(26px, 5vw, 62px) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 13px;
  color: #fff;
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  font-weight: 650;
  letter-spacing: 0;
}

.brand-mark {
  flex: 0 0 auto;
  width: auto;
  height: 38px;
  object-fit: contain;
}

.header-rule {
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: clamp(12px, 1.8vw, 24px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.site-nav a,
.site-nav span {
  position: relative;
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a.is-active::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-pill {
  min-height: 32px;
  padding: 6px 13px !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 52px));
  margin: clamp(92px, 15vh, 188px) 0 0 clamp(26px, 7vw, 82px);
  padding-bottom: clamp(40px, 7vw, 82px);
}

.kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1120px;
  margin-bottom: 18px;
  font-size: clamp(4.8rem, 13vw, 9.5rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title {
  max-width: 840px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.55rem);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-panel .kicker {
  color: rgba(255, 255, 255, 0.72);
}

.hero-panel .button {
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-panel .button.primary {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.button.is-disabled,
.nav-pill.is-disabled {
  cursor: default;
  pointer-events: none;
}

.hero-panel .button.muted {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.caption {
  max-width: 820px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.content-section {
  padding: clamp(70px, 9vw, 112px) 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

.content-section.alt {
  background: #f6f7f5;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 850px;
}

.section-heading h2,
.agent-table-wrap h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.2vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading p:not(.kicker) {
  color: var(--muted);
  font-size: 1.08rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(24px, 6vw, 76px);
  align-items: start;
}

.body-copy {
  max-width: 780px;
  color: #303238;
  font-size: 1.1rem;
}

.body-copy p {
  margin-bottom: 18px;
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 36px;
}

.stat-strip span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8f8f5;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
}

.stat-strip strong {
  color: var(--ink);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.taxonomy-showcase {
  display: grid;
  gap: 10px;
}

.taxonomy-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 128px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(17, 18, 20, 0.05);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.taxonomy-card:hover {
  border-color: rgba(17, 18, 20, 0.34);
  box-shadow: 0 18px 46px rgba(17, 18, 20, 0.1);
  transform: translateY(-3px);
}

.taxonomy-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.taxonomy-card strong {
  display: block;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.16;
}

.taxonomy-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.taxonomy-icon {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 98px;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 20, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 18, 20, 0.06) 1px, transparent 1px),
    #f7f8f4;
  background-size: 24px 24px;
}

.element-icon {
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 14px;
}

.element-icon span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(17, 18, 20, 0.18);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.element-icon span:nth-child(2) {
  animation: float-dot 3.4s ease-in-out infinite;
  transform: translateY(-14px);
}

.element-icon span:nth-child(3) {
  transform: translateY(12px);
}

.structure-icon::before {
  position: absolute;
  left: 23%;
  right: 23%;
  top: 50%;
  height: 2px;
  background: var(--blue);
  content: "";
}

.structure-icon span {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(17, 18, 20, 0.12);
}

.structure-icon span:nth-child(1) {
  left: 20%;
  top: 42%;
}

.structure-icon span:nth-child(2) {
  left: 38%;
  top: 58%;
}

.structure-icon span:nth-child(3) {
  animation: pulse-node 2.8s ease-in-out infinite;
  left: 58%;
  top: 34%;
}

.structure-icon span:nth-child(4) {
  left: 76%;
  top: 50%;
}

.stressor-icon span {
  position: absolute;
  display: block;
}

.stressor-icon span:nth-child(1) {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink);
  transform: translate(-18px, -8px);
}

.stressor-icon span:nth-child(2) {
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: var(--green);
  transform: translate(18px, 12px);
}

.stressor-icon span:nth-child(3) {
  animation: occlude-sweep 3.8s ease-in-out infinite;
  width: 36px;
  height: 68px;
  border-radius: 999px;
  background: rgba(17, 18, 20, 0.9);
  transform: translate(4px, 0) rotate(18deg);
}

@keyframes float-dot {
  0%,
  100% {
    transform: translateY(-14px);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes pulse-node {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(17, 18, 20, 0.12);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(95, 143, 232, 0.16);
  }
}

@keyframes occlude-sweep {
  0%,
  100% {
    transform: translate(-4px, 0) rotate(18deg);
  }
  50% {
    transform: translate(12px, 0) rotate(18deg);
  }
}

@keyframes scan-line {
  0%,
  100% {
    transform: translateX(-10px);
  }
  50% {
    transform: translateX(12px);
  }
}

.data-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 56px;
}

.chart-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.chart-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 18, 20, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.chart-card:hover {
  border-color: rgba(17, 18, 20, 0.28);
  box-shadow: 0 22px 64px rgba(17, 18, 20, 0.12);
  transform: translateY(-2px);
}

.chart-card:hover::before {
  opacity: 1;
}

.chart-card.large {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  grid-column: 1 / -1;
  align-items: end;
  background: #111214;
  color: #fff;
}

.chart-card.large .kicker,
.chart-card.large small {
  color: rgba(255, 255, 255, 0.62);
}

.chart-card h3 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.chart-card.wide {
  grid-column: 1 / -1;
}

.source-chart,
.chart-stack {
  display: block;
}

.source-donut-wrap {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
}

.donut-figure {
  position: relative;
  width: min(100%, 210px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px rgba(17, 18, 20, 0.12),
    0 18px 34px rgba(17, 18, 20, 0.1);
  animation: chart-pop 680ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition: transform 180ms ease;
}

.chart-card:hover .donut-figure {
  transform: scale(1.025) rotate(3deg);
}

.source-donut {
  width: min(100%, 260px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 22px 50px rgba(0, 0, 0, 0.32);
}

.donut-figure::after {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  content: "";
  opacity: 0.55;
  animation: slow-spin 12s linear infinite;
}

.donut-hole {
  position: absolute;
  inset: 25%;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  text-align: center;
}

.source-donut .donut-hole {
  border-color: rgba(255, 255, 255, 0.2);
  background: #111214;
  color: #fff;
}

.donut-hole strong {
  font-size: clamp(1.35rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.donut-hole span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-donut .donut-hole span {
  color: rgba(255, 255, 255, 0.62);
}

.distribution-chart .donut-hole strong {
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  line-height: 1;
}

.distribution-chart .donut-hole span {
  max-width: 82%;
  line-height: 1.05;
}

.source-legend,
.donut-legend {
  display: grid;
  gap: 9px;
}

.source-chip,
.legend-item {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  animation: chart-rise 520ms ease both;
  animation-delay: var(--delay);
}

.source-chip {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.legend-swatch {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--color);
  box-shadow: 0 0 0 1px rgba(17, 18, 20, 0.12);
}

.source-chip .legend-swatch {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.source-chip strong,
.legend-item strong {
  display: block;
  font-size: 0.94rem;
  line-height: 1.12;
  text-transform: capitalize;
}

.source-chip small,
.legend-item small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.source-chip strong {
  color: #fff;
}

.source-chip small {
  color: rgba(255, 255, 255, 0.62);
}

.distribution-chart {
  display: grid;
  gap: 16px;
  min-height: 0;
}

.distribution-chart .donut-figure {
  width: min(58%, 176px);
}

.distribution-chart .donut-legend {
  align-content: start;
}

.chart-note {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(17, 18, 20, 0.09);
  border-radius: 8px;
  background: #f7f8f4;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
}

.chart-note strong {
  color: var(--ink);
  text-transform: capitalize;
}

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

.perception-card {
  position: relative;
  display: grid;
  min-height: 170px;
  align-content: space-between;
  gap: 18px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  animation: chart-rise 520ms ease both;
  animation-delay: var(--delay);
}

.perception-card::before {
  position: absolute;
  right: -18px;
  top: -18px;
  width: 92px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color), transparent 78%);
  content: "";
}

.perception-icon {
  position: relative;
  width: 100%;
  min-height: 76px;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 20, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 18, 20, 0.05) 1px, transparent 1px),
    #f7f8f4;
  background-size: 22px 22px;
}

.perception-icon span {
  position: absolute;
  display: block;
}

.perception-icon span:nth-child(1) {
  left: 20%;
  top: 24%;
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--color);
  box-shadow: 0 0 0 1px rgba(17, 18, 20, 0.12);
  animation: pulse-node 3s ease-in-out infinite;
}

.perception-icon span:nth-child(2) {
  right: 18%;
  top: 35%;
  width: 46px;
  height: 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color), transparent 28%);
  animation: scan-line 3.6s ease-in-out infinite;
}

.perception-icon span:nth-child(3) {
  left: 42%;
  bottom: 18%;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(17, 18, 20, 0.82);
  transform: rotate(12deg);
}

.perception-card strong {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  line-height: 1.12;
  text-transform: capitalize;
}

.perception-card small {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.3;
}

@keyframes chart-pop {
  from {
    opacity: 0;
    transform: scale(0.92) rotate(-18deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes chart-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

.reveal-ready .reveal-item {
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease,
    box-shadow 180ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready .reveal-item:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

.examples-section {
  background: #fff;
  color: var(--ink);
}

.examples-section .section-heading p:not(.kicker) {
  color: var(--muted);
}

.examples-section code {
  color: var(--ink);
}

.example-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.perception-example-gallery {
  grid-template-columns: 1fr;
  gap: 0;
}

.perception-example-card {
  display: grid;
  grid-template-columns: minmax(152px, 0.92fr) minmax(0, 1fr);
  min-height: 224px;
  align-items: center;
  border-color: rgba(72, 106, 216, 0.18);
}

.perception-side-by-side {
  margin-top: 18px;
}

.perception-paired-rows {
  display: grid;
  gap: 0;
}

.perception-pair-row {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.perception-side-by-side .chart-stack,
.perception-side-by-side .perception-example-gallery {
  margin-top: 0;
}

.perception-side-by-side .perception-example-gallery {
  border-top: 0;
  grid-template-columns: 1fr;
}

.perception-side-by-side .perception-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.perception-side-by-side .perception-card {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  min-height: 224px;
  align-content: center;
  align-items: center;
  padding: 20px 0;
}

.perception-pair-row .perception-example-card {
  align-self: stretch;
}

.reveal-ready .perception-pair-row .reveal-item {
  opacity: 1;
  transform: none;
}

.perception-side-by-side .perception-card strong {
  font-size: clamp(1.32rem, 2vw, 1.72rem);
}

.perception-side-by-side .perception-card small {
  font-size: clamp(0.9rem, 1vw, 1.02rem);
}

.perception-side-by-side .perception-visual {
  width: 112px;
  height: 88px;
  margin-left: 0;
  transform: none;
}

.perception-example-card video {
  height: 152px;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.perception-side-by-side .perception-example-card video {
  align-self: center;
  width: 100%;
  height: 156px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}

.perception-example-card .example-body {
  gap: 5px;
  min-width: 0;
  padding: 9px 10px;
}

.perception-example-card .example-body h3 {
  margin: 0 !important;
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  font-size: clamp(0.95rem, 1vw, 1.05rem) !important;
  font-weight: 820 !important;
  line-height: 1.18 !important;
  letter-spacing: 0;
  word-break: normal;
  hyphens: none;
}

.perception-example-card .example-topline {
  justify-content: flex-start;
  gap: 6px;
  font-size: 0.58rem;
}

.perception-example-card .example-taxonomy span {
  min-height: 18px;
  padding: 0 6px;
  font-size: 0.6rem;
}

.perception-example-card .mini-qa p {
  min-height: 0;
  font-size: 0.74rem;
  -webkit-line-clamp: 2;
}

.mcq-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}

.mcq-options span {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr);
  overflow: visible;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 720;
  line-height: 1.16;
  text-overflow: clip;
  white-space: normal;
}

.mcq-options b {
  margin-right: 0;
  color: var(--ink);
  font-weight: 900;
}

.perception-example-card .answer-line {
  padding-top: 2px;
  font-size: 0.66rem;
}

.example-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(17, 18, 20, 0.06);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.example-card:hover {
  border-color: rgba(17, 18, 20, 0.28);
  box-shadow: 0 18px 48px rgba(17, 18, 20, 0.11);
  transform: translateY(-3px);
}

.example-card video {
  width: 100%;
  height: 136px;
  background: #000;
  object-fit: contain;
  object-position: center;
  transition: transform 260ms ease;
}

.example-card:hover video {
  transform: none;
}

.example-body {
  display: grid;
  gap: 9px;
  padding: 13px;
}

.example-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.example-body h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.1;
}

.example-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.example-taxonomy span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(17, 18, 20, 0.12);
  border-radius: 999px;
  color: #303238;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: capitalize;
}

.mini-qa p {
  margin: 0 0 8px;
  color: #303238;
  font-size: 0.82rem;
  line-height: 1.36;
}

.mini-qa p {
  display: -webkit-box;
  min-height: 4.08em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.mini-qa code {
  font-size: 0.86em;
}

.answer-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 7px;
  border-top: 1px solid var(--soft);
}

.answer-line span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.answer-line strong {
  color: var(--ink);
  font-size: 0.9rem;
  text-align: right;
}

.more-qa {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.top-leaderboard {
  display: grid;
  grid-template-columns: minmax(260px, 0.56fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
  padding: clamp(28px, 5vw, 52px) 0 clamp(34px, 5vw, 64px);
}

.leaderboard-head {
  display: block;
  margin: 0;
  padding-top: 8px;
}

.leaderboard-head h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.leaderboard-head p:not(.kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.leaderboard-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}

.scoreboard {
  display: grid;
  gap: 9px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.score-row {
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.score-row {
  display: grid;
  grid-template-columns: 34px minmax(170px, 260px) minmax(100px, 1fr) 54px;
  gap: 14px;
  align-items: center;
  min-height: 42px;
}

.score-row:hover {
  background: #f8f8f5;
  transform: translateX(3px);
}

.rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.score-row.human .rank {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.score-row.best .rank {
  border-color: var(--green);
  background: rgba(88, 185, 111, 0.16);
  color: #1c7d35;
}

.score-name {
  overflow: hidden;
  color: #303238;
  font-size: 0.95rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar {
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 20, 0.18);
  border-radius: 999px;
  background: #f2f3ef;
}

.bar span {
  display: block;
  width: calc(var(--score) * 1%);
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.score-row.human .bar span {
  background: var(--ink);
}

.score-row.best .bar span {
  background: var(--green);
}

.score-row.baseline .bar span {
  background: var(--gold);
}

.score-row strong {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.finding-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  padding: 22px;
  border: 1px solid #111214;
  border-radius: 8px;
  background: #111214;
  color: #fff;
}

.panel-number {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
}

.finding-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.panel-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin: 18px 0;
  background: rgba(255, 255, 255, 0.22);
}

.analysis-section {
  background: #f8f8f5;
}

.diagnosis-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.diagnosis-copy h2 {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.audit-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 8px;
  background: #111214;
  color: #fff;
}

.audit-card::after {
  position: absolute;
  inset: auto -20% -35% 18%;
  height: 88px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  content: "";
  transform: rotate(-9deg);
}

.audit-value {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(3.4rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
}

.audit-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
}

.analysis-flow {
  display: grid;
  gap: 12px;
}

.analysis-step {
  display: grid;
  grid-template-columns: 40px 118px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 160px;
  padding: 16px 20px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 18, 20, 0.055);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.analysis-step:hover {
  border-color: rgba(17, 18, 20, 0.3);
  box-shadow: 0 18px 48px rgba(17, 18, 20, 0.1);
  transform: translateY(-3px);
}

.analysis-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.association-step .analysis-number {
  background: var(--pink);
}

.update-step .analysis-number {
  background: var(--green);
}

.analysis-glyph {
  position: relative;
  min-height: 104px;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 20, 0.12);
  border-radius: 8px;
  background: #f5f6f1;
}

.event-glyph span {
  position: absolute;
  left: 20px;
  right: 20px;
  height: 10px;
  border-radius: 999px;
  background: rgba(17, 18, 20, 0.14);
}

.event-glyph span:nth-child(1) {
  top: 24px;
}

.event-glyph span:nth-child(2) {
  top: 46px;
  background: var(--gold);
}

.event-glyph span:nth-child(3) {
  top: 68px;
}

.association-glyph::before {
  position: absolute;
  left: 27px;
  right: 27px;
  top: 50%;
  height: 2px;
  background: rgba(17, 18, 20, 0.16);
  content: "";
}

.association-glyph span {
  position: absolute;
  top: 50%;
  width: 38px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 1px rgba(17, 18, 20, 0.12);
}

.association-glyph span:nth-child(1) {
  left: 22px;
  transform: translateY(-50%);
}

.association-glyph span:nth-child(2) {
  right: 22px;
  transform: translateY(-50%);
}

.update-glyph span {
  position: absolute;
  left: 22px;
  right: 22px;
  height: 14px;
  border-radius: 999px;
  background: rgba(17, 18, 20, 0.12);
}

.update-glyph span:nth-child(1) {
  top: 23px;
}

.update-glyph span:nth-child(2) {
  top: 45px;
  background: var(--green);
  transform: scaleX(0.72);
  transform-origin: left;
}

.update-glyph span:nth-child(3) {
  top: 67px;
  background: var(--blue);
  transform: scaleX(0.42);
  transform-origin: left;
}

.analysis-step h3 {
  margin-bottom: 8px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.08;
}

.analysis-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.result-breakdown {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.result-breakdown article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.breakdown-value {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 0.9;
}

.result-breakdown p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.agent-table-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 68px);
  align-items: start;
  margin-top: 60px;
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.agent-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-variant-numeric: tabular-nums;
}

.agent-table th,
.agent-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--soft);
  text-align: left;
}

.agent-table th {
  background: #111214;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agent-table th:last-child,
.agent-table td:last-child {
  width: 96px;
  text-align: right;
}

.agent-table tr:last-child td {
  border-bottom: 0;
}

.table-strong td {
  background: rgba(88, 185, 111, 0.13);
  font-weight: 850;
}

.citation-section pre {
  overflow-x: auto;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111214;
  color: #f6f6f1;
  font-size: 0.94rem;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

/* Seamless editorial pass */
:root {
  --line: rgba(17, 18, 20, 0.16);
  --soft: rgba(17, 18, 20, 0.08);
  --section-pad: clamp(24px, 4.8vw, 86px);
}

body {
  font-size: clamp(18px, 1.12vw, 21px);
}

.site-nav {
  font-size: clamp(1.06rem, 1.12vw, 1.18rem);
}

.button {
  min-height: 46px;
  padding: 0 21px;
  font-size: 1.05rem;
}

.hero-content {
  width: min(1080px, calc(100% - 52px));
}

.hero-title {
  max-width: 980px;
  font-size: clamp(1.7rem, 3.3vw, 3.15rem);
}

.hero-copy {
  max-width: 940px;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
}

.kicker {
  font-size: 0.86rem;
}

.section-heading {
  max-width: 1040px;
}

.section-heading h2,
.agent-table-wrap h2,
.diagnosis-copy h2 {
  font-size: clamp(2.8rem, 5.4vw, 6rem);
}

.section-heading p:not(.kicker),
.leaderboard-head p:not(.kicker),
.body-copy,
.diagnosis-copy,
.analysis-step p {
  font-size: clamp(1.18rem, 1.4vw, 1.42rem);
}

.body-copy {
  line-height: 1.55;
}

.top-leaderboard,
.content-section,
.site-footer {
  border-top-color: rgba(17, 18, 20, 0.16);
}

.scoreboard,
.result-breakdown article,
.taxonomy-card,
.chart-card,
.legend-item,
.perception-card,
.analysis-step,
.example-card,
.agent-table {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
}

.scoreboard {
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  background: transparent;
}

.score-row {
  min-height: 58px;
  padding: 8px 0;
  border-bottom: 1px solid var(--soft);
}

.score-name {
  font-size: clamp(1rem, 1.16vw, 1.18rem);
}

.rank,
.analysis-number {
  font-size: 0.9rem;
}

.agent-table th {
  font-size: 0.9rem;
}

.score-row:hover {
  background: transparent;
}

.finding-panel {
  justify-content: start;
  min-height: 0;
  padding: 8px 0 8px 28px;
  border: 0;
  border-left: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.finding-panel p {
  color: #303238;
  font-size: clamp(1.08rem, 1.25vw, 1.28rem);
}

.panel-number {
  font-size: clamp(3.6rem, 7vw, 7rem);
}

.panel-rule {
  background: var(--line);
}

.result-breakdown article {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.taxonomy-showcase {
  gap: 0;
  border-top: 1px solid var(--line);
}

.taxonomy-card {
  min-height: 0;
  padding: 26px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.taxonomy-card:hover,
.chart-card:hover,
.analysis-step:hover,
.example-card:hover {
  box-shadow: none;
}

.taxonomy-icon,
.perception-icon {
  border: 0;
  border-radius: 0;
  background-color: #f5f6f1;
}

.taxonomy-label {
  font-size: 0.78rem;
}

.taxonomy-card strong {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.taxonomy-card p {
  font-size: 1rem;
}

.data-visuals {
  gap: 0 28px;
  border-top: 1px solid var(--line);
}

.chart-card {
  padding: 34px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.chart-card::before {
  display: none;
}

.chart-card.large {
  margin: 0 calc(var(--page-gutter) * -1);
  padding: clamp(34px, 5vw, 74px) var(--page-gutter);
  border-bottom: 0;
  border-radius: 0;
}

.chart-card h3 {
  font-size: clamp(2rem, 3.7vw, 4.1rem);
}

.source-chip,
.legend-item {
  min-height: 64px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--soft);
  border-radius: 0;
  background: transparent;
}

.source-chip {
  border-color: rgba(255, 255, 255, 0.18);
}

.source-chip strong,
.legend-item strong {
  font-size: clamp(1.05rem, 1.15vw, 1.2rem);
}

.source-chip small,
.legend-item small,
.chart-note,
.perception-card small {
  font-size: clamp(0.9rem, 1vw, 1.02rem);
}

.chart-note {
  padding: 14px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.perception-grid {
  gap: 0 28px;
}

.perception-card {
  min-height: 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  background: transparent;
}

.perception-card strong {
  font-size: clamp(1.25rem, 1.5vw, 1.55rem);
}

.examples-section {
  background: #fff;
}

.example-gallery {
  gap: 24px 14px;
}

.example-card {
  border-top: 1px solid var(--line);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
}

.example-body {
  padding: 16px 0 0;
}

.example-body h3 {
  font-size: clamp(1.15rem, 1.25vw, 1.35rem);
}

.mini-qa p {
  font-size: 1.08rem;
}

.analysis-section {
  background: #f7f8f4;
}

.analysis-flow {
  gap: 0;
  border-top: 1px solid var(--line);
}

.analysis-step {
  min-height: 0;
  padding: 28px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.analysis-step h3 {
  font-size: clamp(1.5rem, 2.1vw, 2.2rem);
}

.analysis-glyph {
  border: 0;
  border-radius: 0;
}

.audit-card {
  border-radius: 0;
}

.agent-table-wrap {
  border-top-color: rgba(17, 18, 20, 0.18);
}

/* Alignment and rule refinement */
.top-leaderboard,
.content-section .section-shell,
.site-footer {
  padding-right: var(--section-pad);
  padding-left: var(--section-pad);
}

.content-section {
  border-top: 0;
  background: transparent;
  backdrop-filter: none;
}

.content-section + .content-section,
#benchmark,
#analysis,
.citation-section {
  border-top: 1px solid rgba(17, 18, 20, 0.1);
}

.section-heading {
  margin-bottom: clamp(34px, 5vw, 72px);
}

.top-leaderboard {
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.88fr);
  column-gap: clamp(54px, 7vw, 132px);
}

.leaderboard-head {
  padding-top: 0;
}

.leaderboard-board {
  gap: clamp(28px, 4vw, 58px);
}

.scoreboard {
  border-top: 0;
}

.score-row {
  grid-template-columns: 42px minmax(240px, 0.72fr) minmax(180px, 1fr) 72px;
  min-height: 64px;
  padding: 10px 0;
  border-bottom-color: rgba(17, 18, 20, 0.075);
}

.rank {
  border: 0;
  background: transparent;
  color: rgba(17, 18, 20, 0.44);
}

.score-row.human .rank {
  background: transparent;
  color: var(--ink);
}

.score-row.best .rank {
  background: transparent;
  color: #1c7d35;
}

.bar {
  height: 8px;
  border: 0;
  background: rgba(17, 18, 20, 0.08);
}

.finding-panel {
  padding-left: clamp(22px, 3vw, 44px);
  border-left-color: rgba(17, 18, 20, 0.18);
}

.panel-rule {
  margin: 24px 0;
  background: rgba(17, 18, 20, 0.12);
}

.result-breakdown {
  gap: clamp(26px, 4vw, 64px);
}

.result-breakdown article {
  border-top-color: rgba(17, 18, 20, 0.12);
}

.split-layout {
  grid-template-columns: minmax(420px, 0.82fr) minmax(560px, 1.18fr);
}

.stat-strip {
  margin-bottom: clamp(42px, 6vw, 82px);
}

.stat-strip span {
  min-height: 38px;
  padding: 0 14px;
  border-color: rgba(17, 18, 20, 0.11);
  background: rgba(17, 18, 20, 0.025);
}

.taxonomy-showcase,
.data-visuals,
.analysis-flow {
  border-top-color: rgba(17, 18, 20, 0.12);
}

.taxonomy-card {
  grid-template-columns: minmax(130px, 0.34fr) minmax(0, 1fr);
  padding: 32px 0;
  border-bottom-color: rgba(17, 18, 20, 0.075);
}

.taxonomy-icon,
.perception-icon,
.analysis-glyph {
  min-height: 104px;
  background:
    radial-gradient(circle at 32% 36%, rgba(17, 18, 20, 0.045), transparent 34%),
    linear-gradient(180deg, rgba(17, 18, 20, 0.035), rgba(17, 18, 20, 0.015));
}

.data-visuals {
  gap: 0 clamp(42px, 5vw, 84px);
}

.chart-card {
  padding: clamp(38px, 5vw, 72px) 0;
  border-bottom-color: rgba(17, 18, 20, 0.08);
}

.chart-card.large {
  margin-top: 0;
  margin-bottom: 0;
  padding-right: calc(var(--page-gutter) + var(--section-pad));
  padding-left: calc(var(--page-gutter) + var(--section-pad));
}

.source-donut-wrap {
  grid-template-columns: minmax(250px, 0.44fr) minmax(0, 1fr);
  column-gap: clamp(42px, 6vw, 110px);
}

.donut-figure {
  box-shadow: none;
}

.source-donut {
  box-shadow: none;
}

.donut-figure::after {
  border-color: rgba(255, 255, 255, 0.18);
}

.donut-hole {
  border: 0;
  box-shadow: 0 0 0 1px rgba(17, 18, 20, 0.08);
}

.source-donut .donut-hole {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.source-chip,
.legend-item {
  border-bottom-color: rgba(17, 18, 20, 0.075);
}

.source-chip {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.perception-grid {
  gap: 0 clamp(36px, 4vw, 72px);
}

.perception-card {
  padding: 30px 0;
  border-top-color: rgba(17, 18, 20, 0.08);
}

.examples-section .section-heading {
  margin-bottom: clamp(32px, 4vw, 58px);
}

.example-gallery {
  gap: clamp(34px, 4vw, 58px) 22px;
}

.example-card {
  border-top-color: rgba(17, 18, 20, 0.1);
}

.analysis-step {
  grid-template-columns: 52px minmax(140px, 0.28fr) minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 72px);
  padding: 34px 0;
  border-bottom-color: rgba(17, 18, 20, 0.08);
}

.analysis-number {
  background: transparent;
  color: rgba(17, 18, 20, 0.5);
}

.association-step .analysis-number,
.update-step .analysis-number {
  background: transparent;
}

.audit-card {
  background:
    linear-gradient(135deg, #111214, #171918);
}

.agent-table-wrap {
  column-gap: clamp(42px, 5vw, 92px);
}

/* Premium grid and alignment finish */
:root {
  --line: rgba(17, 18, 20, 0.115);
  --soft: rgba(17, 18, 20, 0.058);
  --rule-strong: rgba(17, 18, 20, 0.18);
  --section-pad: clamp(28px, 5.1vw, 92px);
}

body {
  background:
    linear-gradient(180deg, #fbfbf8 0%, #fff 38%, #f8f9f6 100%);
}

.scroll-progress {
  height: 2px;
  box-shadow: none;
}

.hero-panel {
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-panel::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(132deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.06));
}

.hero-panel::after {
  opacity: 0.55;
}

.site-header {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  min-height: 94px;
}

.header-rule {
  max-width: 560px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.24) 16%,
    rgba(255, 255, 255, 0.24) 84%,
    rgba(255, 255, 255, 0)
  );
}

.site-nav {
  justify-self: end;
}

.site-nav a.is-active::after {
  height: 1px;
  bottom: -1px;
  opacity: 0.75;
}

.nav-pill {
  border-color: rgba(255, 255, 255, 0.36);
}

.content-section + .content-section,
#benchmark,
#analysis,
.citation-section {
  border-top-color: var(--soft);
}

.top-leaderboard {
  grid-template-columns: minmax(330px, 0.38fr) minmax(0, 0.92fr);
  column-gap: clamp(68px, 8vw, 150px);
}

.leaderboard-head {
  max-width: 430px;
}

.leaderboard-head h2 {
  font-size: clamp(2.55rem, 3.1vw, 3.25rem);
}

.leaderboard-head .kicker,
.section-heading .kicker,
.diagnosis-copy .kicker {
  margin-bottom: 16px;
}

.score-row {
  grid-template-columns: 46px minmax(255px, 0.7fr) minmax(240px, 1fr) 76px;
  gap: clamp(18px, 2.4vw, 36px);
  min-height: 68px;
  border-bottom-color: var(--soft);
}

.rank {
  justify-content: flex-start;
  width: auto;
  height: auto;
  color: rgba(17, 18, 20, 0.42);
  font-size: 0.86rem;
}

.score-row.human .rank,
.score-row.best .rank {
  color: var(--ink);
}

.score-name {
  color: var(--ink);
}

.bar {
  height: 6px;
  background: rgba(17, 18, 20, 0.055);
}

.bar span {
  box-shadow: none;
}

.score-row strong {
  font-size: 1.05rem;
}

.finding-panel {
  padding-left: clamp(28px, 3.8vw, 56px);
  border-left-width: 1px;
  border-left-color: var(--rule-strong);
}

.panel-rule {
  width: 72%;
  background: var(--soft);
}

.result-breakdown {
  gap: clamp(40px, 6vw, 92px);
}

.result-breakdown article {
  border-bottom: 0;
  border-top-color: var(--soft);
}

.section-heading {
  display: grid;
  max-width: 1180px;
  grid-template-columns: minmax(0, 1fr);
}

.stat-strip {
  gap: 10px;
  margin-top: -18px;
}

.stat-strip span {
  border-color: var(--soft);
  background: rgba(255, 255, 255, 0.54);
}

.split-layout {
  grid-template-columns: minmax(400px, 0.74fr) minmax(620px, 1.26fr);
  gap: clamp(64px, 8vw, 136px);
}

.taxonomy-showcase {
  border-top: 0;
}

.taxonomy-card {
  grid-template-columns: clamp(138px, 12vw, 176px) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 0 clamp(34px, 4.4vw, 72px);
  align-items: center;
  min-height: 184px;
  padding: clamp(34px, 4vw, 54px) 0;
  border-bottom-color: var(--soft);
}

.taxonomy-icon {
  grid-row: 1 / 4;
  grid-column: 1;
  align-self: stretch;
  min-height: 116px;
}

.taxonomy-label,
.taxonomy-card strong,
.taxonomy-card p {
  grid-column: 2;
}

.taxonomy-label {
  align-self: end;
  margin: 0 0 10px;
}

.taxonomy-card strong {
  align-self: center;
  max-width: 430px;
}

.taxonomy-card p {
  align-self: start;
  margin-top: 12px;
}

.taxonomy-icon,
.perception-icon,
.analysis-glyph {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(17, 18, 20, 0.022)),
    radial-gradient(circle at 26% 24%, rgba(95, 143, 232, 0.12), transparent 36%),
    #f5f6f2;
}

.data-visuals {
  margin-top: clamp(64px, 8vw, 116px);
  column-gap: clamp(58px, 7vw, 118px);
  border-top-color: var(--soft);
}

.chart-card {
  padding: clamp(42px, 5vw, 78px) 0;
  border-bottom-color: var(--soft);
}

.chart-card.large {
  margin-right: calc((var(--page-gutter) + var(--section-pad)) * -1);
  margin-left: calc((var(--page-gutter) + var(--section-pad)) * -1);
  padding-right: calc(var(--page-gutter) + var(--section-pad));
  padding-left: calc(var(--page-gutter) + var(--section-pad));
}

.source-donut-wrap {
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
}

.source-chip,
.legend-item,
.perception-card {
  border-bottom-color: var(--soft);
}

.legend-swatch {
  width: 13px;
  height: 13px;
  border-width: 0;
}

.donut-hole {
  box-shadow: 0 0 0 1px var(--soft);
}

.perception-grid {
  column-gap: clamp(46px, 5.2vw, 92px);
}

.perception-card {
  border-top-color: var(--soft);
}

.perception-icon {
  background: transparent;
}

.perception-card::before {
  opacity: 0.42;
}

.example-gallery {
  gap: clamp(42px, 5vw, 68px) clamp(22px, 2vw, 34px);
}

.example-card {
  border-top-color: var(--soft);
}

.answer-line {
  border-top-color: var(--soft);
}

.diagnosis-layout {
  grid-template-columns: minmax(340px, 0.68fr) minmax(0, 1fr);
  gap: clamp(72px, 8vw, 140px);
}

.audit-card {
  border-radius: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.analysis-flow {
  border-top-color: var(--soft);
}

.analysis-step {
  grid-template-columns: 58px minmax(150px, 0.24fr) minmax(0, 1fr);
  column-gap: clamp(34px, 4.8vw, 82px);
  min-height: 178px;
  border-bottom-color: var(--soft);
}

.analysis-number {
  align-self: start;
  justify-self: start;
  padding-top: 6px;
}

.agent-table-wrap {
  border-top-color: var(--soft);
}

.agent-table {
  border: 0;
  background: transparent;
}

.agent-table th {
  border-bottom: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink);
}

.agent-table th,
.agent-table td {
  padding-right: 0;
  padding-left: 0;
  border-bottom-color: var(--soft);
}

.table-strong td {
  background: rgba(88, 185, 111, 0.08);
}

.citation-section pre {
  border: 0;
  border-radius: 0;
}

/* Paper table color system, cooled to blue */
:root {
  --table-section-bg: #f1eee6;
  --state-element-table: #dce3e8;
  --state-element-mid: #bcc9d2;
  --state-element-deep: #71879a;
  --state-element-ink: #324657;
  --state-structure-table: #e5e8e6;
  --state-structure-mid: #c8d0cf;
  --state-structure-deep: #7f939b;
  --state-structure-ink: #344a50;
  --table-gray-500: #626d76;
  --table-gray-300: #dad8d0;
  --rank-blue-200: #d5dee6;
  --rank-blue-100: #edf1f4;
  --green: var(--rank-blue-200);
  --blue: var(--state-element-deep);
  --pink: var(--state-structure-deep);
  --gold: #b7c8dd;
}

body {
  background:
    linear-gradient(90deg, rgba(16, 19, 21, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 19, 21, 0.014) 1px, transparent 1px),
    linear-gradient(180deg, #fbfaf6 0%, #fffdf8 42%, #f6f3eb 100%);
  background-size: 76px 76px, 76px 76px, auto;
}

.scroll-progress {
  background: linear-gradient(
    90deg,
    var(--state-element-table),
    var(--state-structure-table),
    var(--table-gray-500)
  );
}

#benchmark {
  background:
    linear-gradient(180deg, #fff 0%, #fff 64%, var(--table-section-bg) 100%);
}

.stat-strip span {
  border-color: rgba(17, 18, 20, 0.07);
  background: var(--table-section-bg);
}

.taxonomy-card {
  position: relative;
}

.taxonomy-label {
  width: max-content;
  padding: 4px 9px 3px;
  background: var(--table-section-bg);
  color: rgba(17, 18, 20, 0.72);
}

.state-element-card .taxonomy-label {
  background: var(--state-element-table);
}

.state-structure-card .taxonomy-label {
  background: var(--state-structure-table);
}

.stressor-card .taxonomy-label {
  background: var(--table-gray-300);
}

.state-element-card .taxonomy-icon {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(220, 227, 232, 0.52)),
    var(--state-element-table);
}

.state-structure-card .taxonomy-icon {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(229, 232, 230, 0.62)),
    var(--state-structure-table);
}

.stressor-card .taxonomy-icon {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(241, 238, 230, 0.66)),
    var(--table-section-bg);
}

.element-icon span {
  border-color: rgba(45, 91, 151, 0.22);
  color: var(--state-element-ink);
}

.structure-icon::before {
  background: var(--state-structure-deep);
}

.structure-icon span {
  background: var(--state-structure-mid);
}

.stressor-icon span:nth-child(1) {
  background: var(--state-structure-mid);
}

.stressor-icon span:nth-child(2) {
  background: var(--state-element-mid);
}

.score-row.best .rank {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 2px;
  background: var(--rank-blue-200);
  color: var(--ink);
}

.score-row.best strong {
  justify-self: end;
  padding: 2px 7px;
  background: var(--table-gray-500);
  color: #fff;
}

.score-row.open-best strong {
  justify-self: end;
  padding: 2px 7px;
  background: var(--table-gray-300);
  color: var(--ink);
}

.score-row.best .bar span {
  background: var(--table-gray-500);
}

.score-row.open-best .bar span {
  background: var(--table-gray-300);
}

.score-row.human .bar span {
  background: #111214;
}

.chart-card.large {
  background: var(--table-section-bg);
  color: var(--ink);
}

.chart-card.large .kicker,
.chart-card.large small {
  color: var(--muted);
}

.source-donut .donut-hole {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(17, 18, 20, 0.07);
}

.source-donut .donut-hole span {
  color: var(--muted);
}

.source-chip {
  border-bottom-color: rgba(17, 18, 20, 0.075);
}

.source-chip strong {
  color: var(--ink);
}

.source-chip small {
  color: var(--muted);
}

.source-chip .legend-swatch {
  box-shadow: 0 0 0 1px rgba(17, 18, 20, 0.08);
}

.legend-swatch {
  background: var(--color);
  box-shadow: 0 0 0 1px rgba(17, 18, 20, 0.06);
}

.donut-figure::after {
  border-color: rgba(17, 18, 20, 0.08);
}

.perception-card::before {
  background: color-mix(in srgb, var(--color), transparent 68%);
}

.perception-icon span:nth-child(1) {
  background: var(--color);
}

.perception-icon span:nth-child(2) {
  background: color-mix(in srgb, var(--color), transparent 18%);
}

.table-strong td {
  background: var(--rank-blue-100);
}

/* Blueprint paper pass */
:root {
  --paper: #f8f6f0;
  --surface: #fbfaf6;
  --ink: #101315;
  --muted: #56616a;
  --line: rgba(22, 28, 32, 0.13);
  --soft: rgba(22, 28, 32, 0.065);
  --rule-strong: rgba(22, 28, 32, 0.22);
  --table-section-bg: #f1eee6;
  --state-element-table: #dce3e8;
  --state-element-mid: #bcc9d2;
  --state-element-deep: #71879a;
  --state-element-ink: #324657;
  --state-structure-table: #e5e8e6;
  --state-structure-mid: #c8d0cf;
  --state-structure-deep: #7f939b;
  --state-structure-ink: #344a50;
  --table-gray-500: #626d76;
  --table-gray-300: #dad8d0;
  --rank-blue-200: #d5dee6;
  --rank-blue-100: #edf1f4;
  --blueprint-rule: rgba(72, 92, 110, 0.2);
  --green: var(--rank-blue-200);
  --blue: var(--state-element-deep);
  --pink: var(--state-structure-deep);
  --gold: #c5bda9;
}

body {
  background:
    linear-gradient(90deg, rgba(16, 19, 21, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 19, 21, 0.014) 1px, transparent 1px),
    linear-gradient(180deg, #fbfaf6 0%, #fffdf8 42%, #f6f3eb 100%);
  background-size: 76px 76px, 76px 76px, auto;
}

.hero-panel {
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.92) 0%, rgba(10, 11, 12, 0.9) 38%, rgba(20, 22, 24, 0.56) 68%, rgba(12, 13, 14, 0.58) 100%),
    linear-gradient(115deg, #171816 0%, #3a372f 48%, #8a816f 100%);
}

.hero-panel::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.18));
}

.hero-panel::after {
  z-index: 0;
  inset: 13% 4% 7% auto;
  width: min(50%, 720px);
  height: auto;
  border-radius: 3px;
  background:
    linear-gradient(24deg, transparent 0 31%, rgba(20, 25, 28, 0.18) 31.1% 31.45%, transparent 31.6% 100%),
    linear-gradient(112deg, transparent 0 48%, rgba(20, 25, 28, 0.13) 48.1% 48.35%, transparent 48.5% 100%),
    linear-gradient(0deg, transparent 0 64%, rgba(20, 25, 28, 0.14) 64.1% 64.35%, transparent 64.5% 100%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(20, 25, 28, 0.1) 18px 19px),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(72, 92, 110, 0.13) 44px 45px),
    linear-gradient(180deg, rgba(255, 254, 248, 0.92), rgba(235, 231, 219, 0.8));
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(20, 25, 28, 0.16);
  opacity: 0.74;
  transform: rotate(4deg);
}

.scroll-progress {
  background: linear-gradient(90deg, #9aa9b6, #6f8291, #242b31);
}

#benchmark,
.examples-section,
.analysis-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(248, 246, 240, 0.98));
}

.stat-strip span {
  background: #f4f1e9;
}

.taxonomy-label {
  border: 1px solid rgba(22, 28, 32, 0.07);
  background: #f3f0e8;
}

.state-element-card .taxonomy-label,
.state-structure-card .taxonomy-label,
.stressor-card .taxonomy-label {
  background: #edf1f3;
}

.state-element-card .taxonomy-icon,
.state-structure-card .taxonomy-icon,
.stressor-card .taxonomy-icon,
.perception-icon,
.analysis-glyph {
  background:
    linear-gradient(90deg, var(--blueprint-rule) 1px, transparent 1px),
    linear-gradient(180deg, rgba(72, 92, 110, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 254, 248, 0.86), rgba(235, 231, 219, 0.58));
  background-size: 34px 34px, 34px 34px, auto;
}

.element-icon span,
.structure-icon span {
  background: #fbfaf6;
}

.structure-icon::before {
  background: var(--state-structure-deep);
}

.stressor-icon span:nth-child(1) {
  background: #c8d0cf;
}

.stressor-icon span:nth-child(2) {
  background: #bcc9d2;
}

.score-row.best .rank,
.score-row.best strong,
.score-row.open-best strong {
  border-radius: 1px;
}

.score-row.best .rank {
  background: var(--rank-blue-200);
}

.score-row.best strong {
  background: var(--table-gray-500);
}

.score-row.best .bar span {
  background: var(--table-gray-500);
}

.score-row.open-best .bar span {
  background: var(--state-element-mid);
}

.chart-card.large {
  background:
    linear-gradient(90deg, rgba(72, 92, 110, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(72, 92, 110, 0.06) 1px, transparent 1px),
    var(--table-section-bg);
  background-size: 44px 44px, 44px 44px, auto;
}

.source-donut .donut-hole,
.donut-hole {
  background: #fbfaf6;
}

.source-chip,
.legend-item,
.perception-card {
  border-bottom-color: rgba(22, 28, 32, 0.08);
}

.perception-card::before {
  background: color-mix(in srgb, var(--color), transparent 76%);
}

.example-taxonomy span,
.stat-strip span {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.audit-card {
  background:
    linear-gradient(135deg, #151719, #24282b);
}

/* State-tracking teaser and interactive leaderboard */
body {
  background: #fff;
}

#benchmark,
.examples-section,
.analysis-section,
.top-leaderboard,
.citation-section {
  background: #fff;
}

.hero-panel {
  min-height: clamp(560px, 76vh, 820px);
  background:
    radial-gradient(circle at 79% 47%, rgba(154, 169, 182, 0.19), transparent 24rem),
    radial-gradient(circle at 84% 82%, rgba(255, 255, 255, 0.07), transparent 18rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(6, 6, 6, 0.94) 46%, rgba(21, 22, 22, 0.82) 100%),
    #050505;
}

.hero-panel::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.72;
}

.site-header,
.hero-content {
  z-index: 2;
}

.hero-panel::after {
  display: none;
}

.state-teaser {
  position: absolute;
  right: clamp(28px, 5vw, 78px);
  top: clamp(150px, 21vh, 220px);
  z-index: 1;
  width: min(42vw, 590px);
  min-width: 390px;
  min-height: 372px;
  color: rgba(255, 255, 255, 0.86);
  opacity: 0.86;
  pointer-events: none;
}

.state-teaser::before {
  position: absolute;
  left: 2px;
  top: -28px;
  color: rgba(255, 255, 255, 0.48);
  content: "state trace";
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.teaser-strip {
  position: absolute;
  inset: 0 0 auto auto;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  transform: rotate(1.6deg);
}

.frame-card {
  position: relative;
  min-height: 148px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    rgba(255, 255, 255, 0.045);
  background-size: 30px 30px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.frame-card b {
  position: absolute;
  left: 12px;
  top: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tracked-object,
.occluder {
  position: absolute;
  display: block;
}

.tracked-object {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(246, 243, 235, 0.86);
  box-shadow: 0 0 0 7px rgba(213, 222, 230, 0.12);
  animation: tracker-pulse 3.4s ease-in-out infinite;
}

.object-a {
  left: 24%;
  top: 54%;
}

.object-b {
  right: 22%;
  top: 34%;
  animation-delay: 0.72s;
}

.shift-a {
  left: 44%;
  top: 38%;
}

.shift-b {
  right: 35%;
  top: 62%;
}

.shift-c {
  left: 64%;
  top: 46%;
}

.occluder {
  left: 38%;
  top: 26%;
  width: 42px;
  height: 92px;
  border-radius: 999px;
  background: rgba(14, 16, 18, 0.82);
  transform: rotate(17deg);
}

.state-memory {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: min(82%, 440px);
  grid-template-columns: 0.7fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 7, 8, 0.46);
  backdrop-filter: blur(10px);
  transform: rotate(1.6deg);
}

.state-memory span,
.state-memory strong {
  min-height: 42px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
}

.state-memory span {
  grid-row: span 3;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.state-memory strong {
  font-weight: 760;
  animation: memory-flash 4.2s ease-in-out infinite;
}

.state-memory strong:nth-child(3) {
  animation-delay: 0.8s;
}

.state-memory strong:nth-child(4) {
  animation-delay: 1.6s;
}

.trace-line {
  position: absolute;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
  transform-origin: left center;
}

.trace-line::after {
  display: block;
  width: 38%;
  height: 100%;
  background: rgba(255, 255, 255, 0.78);
  content: "";
  animation: trace-sweep 3.8s ease-in-out infinite;
}

.trace-one {
  left: 11%;
  top: 48%;
  width: 62%;
  transform: rotate(-10deg);
}

.trace-two {
  left: 22%;
  top: 34%;
  width: 54%;
  transform: rotate(21deg);
}

/* ─────────────────────────────────────────────
   Hero teaser — diverse VSTAT video marquee
   ───────────────────────────────────────────── */
.hero-panel:has(.hero-teaser) .hero-content.paper-header {
  padding-top: clamp(4px, 0.8vw, 14px);
  padding-bottom: clamp(18px, 2.4vw, 28px);
}

.hero-teaser {
  --sc-accent: var(--state-element-deep, #5f6f86);
  --sc-accent-soft: color-mix(in srgb, var(--sc-accent) 14%, #fff);
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin: clamp(8px, 1.2vw, 16px) 0 clamp(4px, 0.8vw, 12px);
  padding: 0;
}

.hero-teaser-label {
  display: grid;
  gap: 6px;
  max-width: 760px;
  margin: 0;
  color: var(--ink);
}

.hero-teaser-kicker {
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-teaser-sublabel {
  font-size: clamp(0.96rem, 1.05vw, 1.08rem);
  font-weight: 480;
  line-height: 1.55;
  color: #2c2f34;
}

.hero-teaser-sublabel em {
  font-style: normal;
  font-weight: 720;
  color: var(--ink);
}

.hero-teaser-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #2c2f34;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-teaser-source[data-source="YouTube"] { color: #b4504c; }
.hero-teaser-source[data-source="Synthetic"] { color: #2f7c7d; }
.hero-teaser-source[data-source="Recorded"] { color: #9a6c14; }

/* ─── Diverse video mosaic ─── */
.hero-showcase {
  display: grid;
  gap: clamp(12px, 1.4vw, 16px);
}

.hero-video-strip {
  --row-h: clamp(96px, 11vw, 168px);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}

.hero-video-card {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: #0f1218;
  color: #fff;
  cursor: zoom-in;
  overflow: hidden;
  height: var(--row-h);
  flex: 0 0 auto;
}

.hero-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-video-card:hover {
  z-index: 3;
}

.hero-video-card:hover video,
.hero-video-card:focus-visible video {
  transform: scale(1.07);
}

.hero-video-card:focus-visible {
  outline: 2px solid var(--state-element-deep);
  outline-offset: 2px;
}

.hero-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(17, 18, 20, 0.06);
}

.hero-feature-media {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  border-right: 1px solid var(--soft);
  background: #0f1218;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.hero-feature-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-feature-live {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15, 18, 24, 0.5);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-feature-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #56d18a;
  box-shadow: 0 0 0 0 rgba(86, 209, 138, 0.6);
  animation: heroLivePulse 1.8s ease-out infinite;
}

@keyframes heroLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(86, 209, 138, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(86, 209, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(86, 209, 138, 0); }
}

.hero-feature-overlay {
  position: absolute;
  inset: auto auto 10px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-feature-domain {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(15, 18, 24, 0.56);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
}

.hero-feature-panel {
  display: grid;
  align-content: center;
  gap: clamp(12px, 1.4vw, 16px);
  padding: clamp(18px, 2vw, 28px);
}

.hero-feature-track {
  display: grid;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 480;
  color: var(--muted);
}

.hero-feature-track-tag {
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-feature-question {
  margin: 0;
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  font-weight: 780;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* readout — the live state being tracked */
.readout {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--soft);
  border-radius: 8px;
  background: color-mix(in srgb, var(--sc-accent) 4%, #fff);
  min-height: 86px;
  align-content: center;
}

.readout-value {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.readout-value strong {
  font-size: 2.3rem;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.readout-value span {
  font-size: 0.82rem;
  font-weight: 620;
  color: var(--muted);
}

.readout-pips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.readout-pip {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.readout-pip.is-on {
  background: var(--sc-accent);
  box-shadow: inset 0 0 0 1.5px var(--sc-accent);
  transform: scale(1.08);
}

.readout-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.readout-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.28s ease,
    border-color 0.28s ease, color 0.28s ease;
}

.readout-chip.is-on {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--sc-accent);
  background: var(--sc-accent-soft);
  color: var(--ink);
}

.readout-chip.is-on[data-tone="red"] {
  border-color: #c4716d;
  background: rgba(196, 113, 109, 0.16);
  color: #8f3f3c;
}

.readout-chip.is-on[data-tone="white"] {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.readout-slots {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.readout-slot {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 4px;
  font-size: 0.82rem;
  font-weight: 720;
  color: var(--muted);
  transition: background 0.3s ease, color 0.3s ease;
}

.readout-slot + .readout-slot {
  border-left: 1px solid var(--line);
}

.readout-slot b { display: none; }

.readout-slot.is-active {
  background: var(--sc-accent);
  color: #fff;
}

.readout-now {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}

.readout-now span {
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.58rem;
}

.readout-now strong {
  font-size: 0.9rem;
  font-weight: 760;
  color: var(--ink);
}

.hero-feature-answer {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid transparent;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.hero-feature-panel.show-answer .hero-feature-answer {
  opacity: 1;
  transform: translateY(0);
  border-top-color: var(--soft);
}

.hero-feature-answer span {
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-feature-answer strong {
  font-size: 1.04rem;
  font-weight: 820;
  color: var(--ink);
}

/* selector strip */
.hero-feature-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.hero-feature-thumb {
  flex: 0 0 auto;
  display: grid;
  gap: 7px;
  width: clamp(124px, 13vw, 150px);
  padding: 0;
  border: none;
  background: none;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

.hero-feature-thumb:hover,
.hero-feature-thumb:focus-visible {
  opacity: 1;
  outline: none;
}

.hero-feature-thumb.is-active {
  opacity: 1;
  color: var(--ink);
}

.hero-feature-thumb-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  overflow: hidden;
  background: #0f1218;
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-feature-thumb:hover .hero-feature-thumb-media {
  border-color: rgba(17, 18, 20, 0.32);
}

.hero-feature-thumb.is-active .hero-feature-thumb-media {
  border-color: var(--sc-accent);
  box-shadow: 0 0 0 1px var(--sc-accent), 0 8px 20px rgba(17, 18, 20, 0.12);
}

.hero-feature-thumb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-feature-thumb-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 680;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-feature-thumb-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--muted);
}

.hero-feature-thumb-dot[data-source="YouTube"] { background: #c4524e; }
.hero-feature-thumb-dot[data-source="Synthetic"] { background: #3c9a9c; }
.hero-feature-thumb-dot[data-source="Recorded"] { background: #cb9a36; }

@media (max-width: 880px) {
  /* Align the teaser wall with the page content (no full-bleed) and keep it a thin strip. */
  .hero-teaser {
    margin-inline: 0;
    padding-inline: 0;
  }

  .hero-video-strip {
    --row-h: clamp(110px, 18vw, 128px);
    gap: 6px;
    max-width: 100%;
  }

  .hero-feature {
    grid-template-columns: 1fr;
  }

  .hero-feature-media {
    border-right: none;
    border-bottom: 1px solid var(--soft);
  }

  .hero-feature-panel {
    align-content: start;
  }

  .hero-teaser-sublabel {
    font-size: 0.92rem;
  }
}

@media (max-width: 600px) {
  .hero-teaser {
    padding-bottom: 4px;
  }

  .hero-video-strip {
    --row-h: 96px;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-feature-live::before { animation: none; }
}

.leaderboard-module {
  display: grid;
  gap: 18px;
  padding-top: 2px;
}

.leaderboard-controls,
.leaderboard-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.leaderboard-controls {
  border-bottom: 1px solid var(--soft);
  padding-bottom: 12px;
}

.leaderboard-filters {
  margin-top: -8px;
}

.leaderboard-toggle,
.leaderboard-filter {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(22, 28, 32, 0.16);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 780;
  cursor: pointer;
}

.leaderboard-filter {
  min-height: 30px;
  padding: 0 10px;
  border-color: rgba(22, 28, 32, 0.12);
  font-size: 0.78rem;
}

.leaderboard-toggle:hover,
.leaderboard-filter:hover {
  border-color: rgba(22, 28, 32, 0.34);
  color: var(--ink);
}

.leaderboard-toggle.is-active,
.leaderboard-filter.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.leaderboard-filter:disabled {
  cursor: default;
  opacity: 0.46;
}

.leaderboard-module[data-view="task"] .leaderboard-filters {
  display: none;
}

.leaderboard-subcontrols {
  display: flex;
  justify-content: flex-end;
}

.leaderboard-subcontrols label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leaderboard-subcontrols select {
  min-height: 36px;
  min-width: 180px;
  border: 1px solid rgba(22, 28, 32, 0.16);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 720;
}

.leaderboard-bars {
  display: grid;
  gap: 10px;
  padding: 22px 0 8px;
}

.leader-bar-row {
  display: grid;
  grid-template-columns: minmax(200px, 0.58fr) minmax(170px, 1fr) 54px;
  gap: 14px;
  align-items: center;
  min-height: 28px;
}

.leader-bar-row span {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 730;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leader-bar-row i {
  display: block;
  height: 20px;
  border-left: 1px solid rgba(22, 28, 32, 0.32);
  background: linear-gradient(90deg, rgba(22, 28, 32, 0.054), rgba(22, 28, 32, 0.025));
}

.leader-bar-row i b {
  display: block;
  width: calc(var(--score) * 1%);
  height: 100%;
  background: #d8dde0;
  transition: width 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.leader-bar-row.human-row i b {
  background: var(--ink);
}

.leader-bar-row.metric-best-row i b,
.leader-bar-row.best-row.metric-best-row i b {
  background: var(--table-gray-500);
}

.leader-bar-row.open-best-row i b {
  background: var(--state-element-deep);
}

.leader-bar-row.baseline-row i b {
  background: #c9c3b3;
}

.leader-bar-row strong {
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.leaderboard-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.leader-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.leader-table th,
.leader-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--soft);
  text-align: right;
}

.leader-table th:first-child,
.leader-table td:first-child,
.leader-table th:nth-child(2),
.leader-table td:nth-child(2) {
  text-align: left;
}

.leader-table th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leader-table td {
  font-size: 0.9rem;
  font-weight: 650;
}

.leader-table .metric-best {
  background: #e7ecef;
  color: var(--ink);
  font-weight: 850;
}

.human-row td:first-child,
.best-row td:first-child,
.open-best-row td:first-child {
  font-weight: 850;
}

.baseline-row {
  color: var(--muted);
}

/* Leaderboard score-view tabs */
.lb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.lb-tab {
  appearance: none;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 780;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.lb-tab:hover {
  color: var(--ink);
  border-color: var(--rule-strong);
}

.lb-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Full paper-style leaderboard table — full width, animated column reveal */
.leader-table-full {
  width: 100%;
  min-width: 0;
  table-layout: auto;
}

.leader-table-full .col-method {
  width: auto;
  min-width: 190px;
  white-space: normal;
}

/* Avg column flexes to fill the row with a score bar (collapsed view) */
.leader-table-full .col-avg {
  width: 100%;
}

.leader-table-full td.col-avg {
  padding-left: 18px;
}

.leader-table-full .avg-cell-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.leader-table-full .avg-track {
  flex: 1 1 auto;
  min-width: 36px;
  max-width: 360px;
  height: 11px;
  border-radius: 999px;
  background: rgba(17, 18, 20, 0.08);
  overflow: hidden;
  transition: flex-grow 460ms cubic-bezier(0.16, 1, 0.3, 1), opacity 280ms ease;
}

.leader-table-full .avg-fill {
  display: block;
  height: 100%;
  width: calc(var(--score, 0) * 1%);
  border-radius: 999px;
  background: #486ad8;
  animation: side-score-fill 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.leader-table-full .avg-cell-inner strong {
  flex: 0 0 auto;
  min-width: 3ch;
  text-align: right;
  font-weight: 850;
  color: var(--ink);
}

.human-row .avg-fill {
  background: var(--ink);
}

.baseline-row .avg-fill {
  background: #c9c3b3;
}

/* When a detail group is open, retract the Avg bar so columns take the space */
.leader-table-full:not([data-view="overall"]) .col-avg {
  width: auto;
}

.leader-table-full:not([data-view="overall"]) td.col-avg {
  padding-left: 9px;
}

.leader-table-full:not([data-view="overall"]) .avg-track {
  flex: 0 0 0;
  width: 0;
  min-width: 0;
  opacity: 0;
}

/* Collapsible score-group columns */
.leader-table-full .grp {
  padding-left: 0;
  padding-right: 0;
  border-left-width: 0;
  transition: padding 460ms cubic-bezier(0.16, 1, 0.3, 1);
}

.leader-table-full .grp .cell-inner {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: middle;
  transition:
    max-width 480ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 300ms ease;
}

/* Reveal the active group's columns, staggered left-to-right */
.leader-table-full[data-view="element"] .grp-element,
.leader-table-full[data-view="structure"] .grp-structure,
.leader-table-full[data-view="source"] .grp-source {
  padding-left: 9px;
  padding-right: 9px;
}

.leader-table-full[data-view="element"] .grp-element.grp-first,
.leader-table-full[data-view="structure"] .grp-structure.grp-first,
.leader-table-full[data-view="source"] .grp-source.grp-first {
  border-left: 1px solid var(--line);
}

.leader-table-full[data-view="element"] .grp-element .cell-inner,
.leader-table-full[data-view="structure"] .grp-structure .cell-inner,
.leader-table-full[data-view="source"] .grp-source .cell-inner {
  max-width: 96px;
  opacity: 1;
  transition-delay: calc(var(--gi, 0) * 55ms);
}

/* Collapsed Instruct rows + expander */
.leader-table-full:not(.show-all-instruct) .lb-extra {
  display: none;
}

.leader-table-full .lb-expand-row td {
  padding: 14px 12px 4px;
  border-bottom: 0;
}

.lb-expand-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 760;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.lb-expand-btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 200ms ease;
}

.show-all-instruct .lb-expand-btn::after {
  transform: rotate(-135deg) translateY(1px);
}

.lb-expand-btn:hover,
.lb-expand-btn:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.leader-table-full .group-span.grp .cell-inner {
  max-width: 0;
}

.leader-table-full[data-view="element"] .group-span.grp-element .cell-inner,
.leader-table-full[data-view="structure"] .group-span.grp-structure .cell-inner,
.leader-table-full[data-view="source"] .group-span.grp-source .cell-inner {
  max-width: 240px;
}

.leader-table-full th,
.leader-table-full td {
  padding: 16px 12px;
}

.leader-table-full td {
  font-size: 1.1rem;
}

.leader-table-full .col-method {
  font-size: 1.16rem;
  font-weight: 700;
}

.leader-table-full thead th {
  font-size: 0.95rem;
}

.leader-table-full .group-span {
  font-size: 0.98rem;
}

.leader-table-full .avg-cell-inner strong,
.leader-table-full td.num {
  font-size: 1.14rem;
}

.leader-table-full thead th {
  vertical-align: bottom;
}

.leader-table-full .col-method {
  text-align: left;
}

.leader-table-full td.num,
.leader-table-full th.num {
  text-align: right;
}

.leader-table-full .group-span {
  text-align: center;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}

.leader-table-full .col-divide {
  border-left: 1px solid var(--line);
}

.leader-table-full .col-avg {
  font-weight: 850;
  color: var(--ink);
}

.leader-table-full .leader-section-row td {
  padding: 20px 12px 9px;
  border-bottom: 1.5px solid rgba(17, 18, 20, 0.32);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  font-style: italic;
  letter-spacing: 0.01em;
  text-align: left;
  text-transform: none;
}

.leader-table-full tbody tr:not(.leader-section-row):hover td {
  background: rgba(17, 18, 20, 0.035);
}

.leader-table-full tbody tr:not(.leader-section-row):hover td.metric-best {
  background: #dde4e8;
}

.leaderboard-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.leaderboard-submit {
  margin: 14px 0 0;
  padding: 12px 16px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.leaderboard-submit a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.leaderboard-submit a:hover,
.leaderboard-submit a:focus-visible {
  color: var(--state-element-deep);
}

/* Compact leaderboard pass */
.top-leaderboard {
  grid-template-columns: minmax(280px, 0.34fr) minmax(620px, 1fr);
  column-gap: clamp(42px, 6vw, 104px);
  padding-bottom: clamp(42px, 5vw, 72px);
}

.leaderboard-head h2 {
  font-size: clamp(2.25rem, 4.1vw, 4.4rem);
}

.leaderboard-head p:not(.kicker) {
  max-width: 360px;
  font-size: clamp(1.04rem, 1.1vw, 1.18rem);
  line-height: 1.38;
}

.leaderboard-lede {
  margin-top: clamp(14px, 1.8vw, 22px);
}

.leaderboard-lede strong {
  color: var(--ink);
  font-weight: 850;
}

.leaderboard-module {
  gap: 14px;
}

.leaderboard-reference {
  display: grid;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.reference-eyebrow {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.reference-grid article {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 0;
  border-bottom: 1px solid var(--soft);
}

.reference-grid span {
  color: var(--muted);
  font-size: clamp(0.9rem, 0.98vw, 1.02rem);
  font-weight: 720;
  line-height: 1.12;
}

.reference-grid strong {
  color: var(--ink);
  font-size: clamp(1.25rem, 1.5vw, 1.65rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.reference-grid .human-row strong {
  font-size: clamp(1.45rem, 1.8vw, 1.95rem);
}

.leaderboard-controls {
  gap: 10px;
  padding-bottom: 0;
  border-bottom: 0;
}

.leaderboard-filters {
  margin-top: 0;
}

.leaderboard-toggle {
  min-height: 42px;
  padding: 0 16px;
  font-size: 1rem;
}

.leaderboard-filter {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.leaderboard-subcontrols {
  justify-content: flex-start;
  padding-top: 2px;
}

.leaderboard-subcontrols label {
  gap: 12px;
  font-size: 0.82rem;
}

.leaderboard-subcontrols select {
  min-height: 40px;
  min-width: 210px;
  padding: 0 10px;
  font-size: 1rem;
}

.leaderboard-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.leader-rank-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(118px, 0.22fr);
  gap: clamp(16px, 2vw, 30px);
  align-items: center;
  min-height: 66px;
  border-bottom: 1px solid var(--soft);
}

.rank-index {
  color: rgba(16, 19, 21, 0.5);
  font-size: 1.05rem;
  font-weight: 840;
  font-variant-numeric: tabular-nums;
}

.rank-model {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.rank-model strong {
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(1.04rem, 1.16vw, 1.22rem);
  font-weight: 820;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-model small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1;
}

.rank-score {
  display: grid;
  gap: 7px;
  justify-items: end;
}

.rank-score i {
  display: block;
  width: 100%;
  height: 7px;
  overflow: hidden;
  background: rgba(22, 28, 32, 0.07);
}

.rank-score i b {
  display: block;
  width: calc(var(--score) * 1%);
  height: 100%;
  background: #d7dde1;
  transition: width 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.leader-rank-row.metric-best-row .rank-score i b {
  background: var(--table-gray-500);
}

.leader-rank-row.open-best-row .rank-score i b {
  background: var(--state-element-deep);
}

.rank-score strong {
  color: var(--ink);
  font-size: clamp(1.18rem, 1.4vw, 1.55rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.leaderboard-table-wrap:empty {
  display: none;
}

.leaderboard-note {
  font-size: 0.94rem;
  line-height: 1.36;
}

.task-score-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
  gap: clamp(24px, 4vw, 58px);
  padding: 26px 0;
  border-top: 1px solid var(--soft);
  border-bottom: 1px solid var(--soft);
}

.task-score-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 2.6vw, 2.7rem);
}

.task-score-panel p {
  margin: 0;
  color: #303238;
  font-size: 1.02rem;
}

.task-state-card {
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(72, 92, 110, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(72, 92, 110, 0.08) 1px, transparent 1px),
    #f6f7f7;
  background-size: 28px 28px;
}

.task-state-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.task-state-card strong,
.task-state-card small {
  display: block;
}

.task-state-card small {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
}

@keyframes tracker-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(213, 222, 230, 0.12);
  }
  45% {
    transform: scale(1.08);
    box-shadow: 0 0 0 12px rgba(213, 222, 230, 0.06);
  }
}

@keyframes memory-flash {
  0%,
  68%,
  100% {
    background: transparent;
  }
  78% {
    background: rgba(255, 255, 255, 0.09);
  }
}

@keyframes trace-sweep {
  0% {
    transform: translateX(-120%);
  }
  58%,
  100% {
    transform: translateX(280%);
  }
}

/* Concise dynamic perceptual-category diagrams */
.chart-card.wide {
  padding-bottom: clamp(24px, 3vw, 44px);
  background: #fff;
}

#benchmark.content-section {
  padding-bottom: clamp(44px, 5vw, 76px);
}

.examples-section.content-section {
  padding-top: clamp(48px, 6vw, 82px);
}

.chart-card.wide .chart-stack {
  margin-top: 18px;
}

.perception-grid {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 0 clamp(34px, 5vw, 84px);
  border-top: 1px solid var(--soft);
}

.perception-card {
  --accent: var(--color);
  --accent-faint: color-mix(in srgb, var(--accent) 20%, white);
  --accent-soft: color-mix(in srgb, var(--accent) 44%, white);
  --accent-strong: color-mix(in srgb, var(--accent) 62%, var(--ink));
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 136px;
  padding: 22px 0;
  border-top: 0;
  border-bottom: 1px solid var(--soft);
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.perception-card::before {
  display: none;
}

.perception-action-ambiguity {
  --accent: var(--state-structure-mid);
  --accent-faint: var(--state-structure-table);
  --accent-soft: color-mix(in srgb, var(--state-structure-mid) 54%, white);
  --accent-strong: var(--state-structure-deep);
}

.perception-multi-entity-attribution {
  --accent: var(--state-element-mid);
  --accent-faint: var(--rank-blue-200);
  --accent-soft: color-mix(in srgb, var(--state-element-mid) 54%, white);
  --accent-strong: var(--state-element-deep);
}

.perception-occlusion {
  --accent: #c7bff1;
  --accent-faint: #f1effc;
  --accent-soft: #ded9f8;
  --accent-strong: #756bc4;
}

.perception-camera-motion {
  --accent: #a9d1df;
  --accent-faint: #eef8fb;
  --accent-soft: #cfe8f0;
  --accent-strong: #4f91aa;
}

.perception-homogeneity {
  --accent: var(--state-element-mid);
  --accent-faint: var(--rank-blue-200);
  --accent-soft: color-mix(in srgb, var(--state-element-mid) 62%, white);
  --accent-strong: var(--state-element-deep);
}

.perception-symbolic-decoding {
  --accent: #e0bd67;
  --accent-faint: #fbf3dc;
  --accent-soft: #f0d99a;
  --accent-strong: #b98220;
}

.perception-visual {
  position: relative;
  display: block;
  width: 112px;
  height: 84px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.perception-visual::before,
.perception-visual::after,
.perception-visual i,
.perception-visual i::before,
.perception-visual i::after {
  position: absolute;
  display: block;
  content: "";
}

.perception-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.perception-card strong {
  font-size: clamp(1.12rem, 1.25vw, 1.34rem);
  line-height: 1.08;
  text-transform: capitalize;
}

.perception-card small {
  max-width: 44ch;
  color: var(--muted);
  font-size: clamp(0.92rem, 0.96vw, 1rem);
  font-weight: 620;
  line-height: 1.34;
}

.perception-action-ambiguity .perception-visual::before {
  left: 14px;
  top: 62px;
  width: 86px;
  height: 1px;
  background: color-mix(in srgb, var(--accent-strong) 42%, white);
  box-shadow: none;
}

.perception-action-ambiguity .perception-visual::after {
  left: 68px;
  top: 35px;
  width: 16px;
  height: 27px;
  border-right: 2px solid var(--accent-strong);
  border-left: 2px solid var(--accent-strong);
  border-radius: 1px;
  background:
    linear-gradient(
      180deg,
      transparent 7px,
      color-mix(in srgb, var(--accent-strong) 66%, white) 7px 9px,
      transparent 9px 17px,
      color-mix(in srgb, var(--accent-strong) 66%, white) 17px 19px,
      transparent 19px
    );
}

.perception-action-ambiguity .perception-visual i:nth-child(1) {
  left: 18px;
  top: 51px;
  z-index: 2;
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
  animation: action-ball-jump 3.6s ease-in-out infinite;
}

.perception-action-ambiguity .perception-visual i:nth-child(1)::before {
  display: none;
}

.perception-action-ambiguity .perception-visual i:nth-child(1)::after {
  display: none;
}

.perception-action-ambiguity .perception-visual i:nth-child(2) {
  left: 21px;
  top: 47px;
  width: 48px;
  height: 16px;
  border-top: 1px dashed color-mix(in srgb, var(--accent-strong) 32%, white);
  border-radius: 50% 50% 0 0;
  background: transparent;
}

.perception-action-ambiguity .perception-visual i:nth-child(3) {
  left: 20px;
  top: 36px;
  width: 62px;
  height: 26px;
  border-top: 1px dashed color-mix(in srgb, var(--accent-strong) 48%, white);
  border-radius: 50% 50% 0 0;
  background: transparent;
  animation: action-arc-pulse 3.6s ease-in-out infinite;
}

.perception-action-ambiguity .perception-visual i:nth-child(3)::after {
  display: none;
}

.perception-action-ambiguity .perception-visual i:nth-child(4) {
  left: 18px;
  top: 24px;
  width: 77px;
  height: 38px;
  border-top: 1.5px solid var(--accent-strong);
  border-radius: 50% 50% 0 0;
  background: transparent;
  opacity: 0.7;
}

.perception-action-ambiguity .perception-visual i:nth-child(5) {
  left: 64px;
  top: 29px;
  width: 25px;
  height: 39px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  animation: action-boundary-breathe 3.6s ease-in-out infinite;
}

.perception-action-ambiguity .perception-visual i:nth-child(6) {
  display: none;
}

.perception-multi-entity-attribution .perception-visual i:nth-child(-n + 3) {
  left: 9px;
  width: 16px;
  height: 16px;
  border: 1px solid color-mix(in srgb, var(--accent-strong) 70%, var(--ink));
  border-radius: 50%;
  background: #fff;
}

.perception-multi-entity-attribution .perception-visual i:nth-child(-n + 3)::after {
  left: 17px;
  top: 7px;
  width: 39px;
  height: 1px;
  background: rgba(16, 19, 21, 0.34);
  transform-origin: left center;
}

.perception-multi-entity-attribution .perception-visual i:nth-child(1) {
  top: 13px;
}

.perception-multi-entity-attribution .perception-visual i:nth-child(1)::after {
  transform: rotate(8deg);
}

.perception-multi-entity-attribution .perception-visual i:nth-child(2) {
  top: 34px;
  background: rgba(72, 106, 216, 0.12);
}

.perception-multi-entity-attribution .perception-visual i:nth-child(2)::after {
  width: 49px;
  background: rgba(72, 106, 216, 0.72);
  transform: rotate(30deg);
}

.perception-multi-entity-attribution .perception-visual i:nth-child(3) {
  top: 55px;
  background: rgba(214, 107, 77, 0.12);
}

.perception-multi-entity-attribution .perception-visual i:nth-child(3)::after {
  width: 45px;
  background: rgba(214, 107, 77, 0.72);
  transform: rotate(-28deg);
}

.perception-multi-entity-attribution .perception-visual i:nth-child(n + 4) {
  left: 66px;
  width: 30px;
  height: 17px;
  border: 1px solid color-mix(in srgb, var(--accent-strong) 70%, var(--ink));
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.88);
}

.perception-multi-entity-attribution .perception-visual i:nth-child(n + 4)::before {
  left: 5px;
  top: 7px;
  width: 18px;
  height: 1px;
  background: rgba(16, 19, 21, 0.42);
}

.perception-multi-entity-attribution .perception-visual i:nth-child(4) {
  top: 11px;
}

.perception-multi-entity-attribution .perception-visual i:nth-child(5) {
  top: 34px;
  border-color: rgba(214, 107, 77, 0.72);
}

.perception-multi-entity-attribution .perception-visual i:nth-child(6) {
  top: 57px;
  border-color: rgba(72, 106, 216, 0.72);
}

.perception-multi-entity-attribution .perception-visual::after {
  left: 31px;
  top: 17px;
  width: 30px;
  height: 50px;
  border-right: 2px solid rgba(72, 106, 216, 0.58);
  border-radius: 50%;
  transform: rotate(0deg);
  animation: attribution-draw 3.8s ease-in-out infinite;
}

.perception-occlusion .perception-visual::before {
  left: 16px;
  right: 14px;
  top: 45px;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent-strong) 0 8px,
    transparent 8px 13px
  );
}

.perception-occlusion .perception-visual i:nth-child(1) {
  left: 14px;
  top: 34px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--accent-strong);
  border-radius: 50%;
  background: var(--accent-faint);
  animation: occlusion-track 3.9s ease-in-out infinite;
}

.perception-occlusion .perception-visual i:nth-child(2) {
  left: 48px;
  top: 16px;
  width: 26px;
  height: 54px;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  box-shadow: 8px 0 22px color-mix(in srgb, var(--accent) 22%, transparent);
}

.perception-camera-motion .perception-visual i:nth-child(1) {
  left: 21px;
  top: 18px;
  width: 66px;
  height: 46px;
  border: 2px solid var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  animation: camera-frame 4.2s ease-in-out infinite;
}

.perception-camera-motion .perception-visual i:nth-child(n + 2) {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-strong);
}

.perception-camera-motion .perception-visual i:nth-child(2) {
  left: 25px;
  top: 52px;
}

.perception-camera-motion .perception-visual i:nth-child(3) {
  left: 61px;
  top: 24px;
  background: var(--accent-soft);
}

.perception-camera-motion .perception-visual i:nth-child(4) {
  left: 91px;
  top: 48px;
  background: color-mix(in srgb, var(--accent-strong) 70%, white);
}

.perception-homogeneity .perception-visual i:nth-child(-n + 5) {
  width: 18px;
  height: 18px;
  border: 1px solid color-mix(in srgb, var(--accent-strong) 62%, var(--ink));
  border-radius: 50%;
  background: var(--accent-faint);
}

.perception-homogeneity .perception-visual i:nth-child(1) {
  left: 18px;
  top: 18px;
}

.perception-homogeneity .perception-visual i:nth-child(2) {
  left: 47px;
  top: 18px;
  background: var(--accent-soft);
}

.perception-homogeneity .perception-visual i:nth-child(3) {
  left: 76px;
  top: 18px;
}

.perception-homogeneity .perception-visual i:nth-child(4) {
  left: 33px;
  top: 50px;
}

.perception-homogeneity .perception-visual i:nth-child(5) {
  left: 65px;
  top: 50px;
}

.perception-homogeneity .perception-visual i:nth-child(6) {
  left: 23px;
  top: 27px;
  width: 58px;
  height: 35px;
  border-top: 2px solid var(--accent-strong);
  border-right: 2px solid var(--accent-strong);
  border-radius: 0 28px 0 0;
  animation: homo-trace 4s ease-in-out infinite;
}

.perception-symbolic-decoding .perception-visual::before {
  left: 10px;
  top: 20px;
  width: 34px;
  height: 44px;
  border: 1px solid var(--accent-strong);
  background: var(--accent-faint);
}

.perception-symbolic-decoding .perception-visual i:nth-child(1),
.perception-symbolic-decoding .perception-visual i:nth-child(2) {
  left: 18px;
  height: 2px;
  background: var(--accent-strong);
}

.perception-symbolic-decoding .perception-visual i:nth-child(1) {
  top: 34px;
  width: 18px;
}

.perception-symbolic-decoding .perception-visual i:nth-child(2) {
  top: 48px;
  width: 9px;
}

.perception-symbolic-decoding .perception-visual i:nth-child(3),
.perception-symbolic-decoding .perception-visual i:nth-child(4) {
  top: 25px;
  width: 18px;
  height: 22px;
  color: var(--accent-strong);
  font-size: 1.15rem;
  font-weight: 850;
  line-height: 1;
  animation: symbol-pop 3.6s ease-in-out infinite;
}

.perception-symbolic-decoding .perception-visual i:nth-child(3) {
  left: 63px;
}

.perception-symbolic-decoding .perception-visual i:nth-child(3)::before {
  position: static;
  content: "A";
}

.perception-symbolic-decoding .perception-visual i:nth-child(4) {
  left: 84px;
  animation-delay: 0.38s;
}

.perception-symbolic-decoding .perception-visual i:nth-child(4)::before {
  position: static;
  content: "7";
}

.perception-symbolic-decoding .perception-visual i:nth-child(5) {
  left: 52px;
  top: 15px;
  width: 1px;
  height: 54px;
  background: var(--accent-strong);
  animation: symbol-scan 3.6s ease-in-out infinite;
}

@keyframes action-ball-jump {
  0%,
  100% {
    transform: translate(0, 0);
  }
  24% {
    transform: translate(24px, -13px);
  }
  52% {
    transform: translate(51px, -34px);
  }
  78% {
    transform: translate(75px, -6px);
  }
}

@keyframes action-boundary-breathe {
  0%,
  100% {
    opacity: 0.22;
    transform: scaleX(0.74);
  }
  50% {
    opacity: 0.74;
    transform: scaleX(1);
  }
}

@keyframes action-arc-pulse {
  0%,
  100% {
    opacity: 0.42;
  }
  50% {
    opacity: 0.86;
  }
}

@keyframes ambiguity-window {
  0%,
  100% {
    transform: translateX(-10px);
  }
  48% {
    transform: translateX(18px);
  }
}

@keyframes attribution-draw {
  0%,
  100% {
    clip-path: inset(0 82% 0 0);
    opacity: 0.34;
  }
  52% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

@keyframes occlusion-track {
  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }
  45% {
    transform: translateX(38px);
    opacity: 0.18;
  }
  72% {
    transform: translateX(70px);
    opacity: 1;
  }
}

@keyframes camera-frame {
  0%,
  100% {
    transform: translateX(-7px) translateY(5px);
  }
  50% {
    transform: translateX(12px) translateY(-6px);
  }
}

@keyframes homo-trace {
  0%,
  100% {
    clip-path: inset(0 100% 0 0);
    opacity: 0.15;
  }
  54% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

@keyframes symbol-scan {
  0%,
  100% {
    transform: translateX(-8px);
    opacity: 0.24;
  }
  50% {
    transform: translateX(48px);
    opacity: 0.86;
  }
}

@keyframes symbol-pop {
  0%,
  40%,
  100% {
    opacity: 0.34;
    transform: translateY(5px);
  }
  56%,
  78% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Current polish: larger perception diagrams, richer leaderboard left rail, dynamic diagnosis */
.leaderboard-side-stats {
  display: grid;
  gap: 14px;
  margin-top: clamp(24px, 3.4vw, 44px);
  border-top: 1px solid var(--line);
}

.leaderboard-side-stats article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  min-height: 78px;
  align-content: center;
  border-bottom: 1px solid var(--soft);
}

.leaderboard-side-stats span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leaderboard-side-stats strong {
  grid-row: span 2;
  align-self: center;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-variant-numeric: tabular-nums;
  line-height: 0.92;
}

.leaderboard-side-stats small {
  color: var(--muted);
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  font-weight: 700;
}

.leaderboard-side-stats i {
  grid-column: 1 / -1;
  display: block;
  height: 6px;
  overflow: hidden;
  background: rgba(22, 28, 32, 0.07);
}

.leaderboard-side-stats b {
  display: block;
  width: calc(var(--score) * 1%);
  height: 100%;
  background: var(--table-gray-500);
  animation: side-score-fill 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.perception-grid {
  grid-template-columns: repeat(2, minmax(360px, 1fr));
  gap: 0 clamp(52px, 6vw, 112px);
}

.perception-card {
  grid-template-columns: clamp(210px, 20vw, 300px) minmax(0, 1fr);
  min-height: clamp(230px, 22vw, 292px);
  padding: clamp(34px, 4vw, 56px) 0;
}

.perception-visual {
  width: 150px;
  height: 112px;
  margin-left: clamp(10px, 2vw, 28px);
  overflow: visible;
  transform: scale(1.56);
  transform-origin: left center;
}

.perception-copy {
  gap: 12px;
}

.perception-card strong {
  font-size: clamp(1.5rem, 1.9vw, 2.1rem);
}

.perception-card small {
  max-width: 38ch;
  font-size: clamp(1rem, 1.08vw, 1.16rem);
  line-height: 1.38;
}

.perception-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  padding-top: 6px;
}

.perception-meta b {
  color: var(--ink);
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.perception-meta em {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.perception-results {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 78px);
  margin-top: clamp(36px, 5vw, 72px);
  padding-top: clamp(28px, 4vw, 52px);
  border-top: 1px solid var(--line);
}

.perception-results h3 {
  max-width: 420px;
  margin: 0;
  font-size: clamp(1.65rem, 2.7vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.perception-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 34px);
}

.perception-result-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 178px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.perception-result-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.perception-result-grid strong {
  color: var(--ink);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  font-variant-numeric: tabular-nums;
  line-height: 0.9;
}

.perception-result-grid p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  font-weight: 680;
  line-height: 1.34;
}

.diagnosis-copy {
  display: grid;
  gap: 22px;
}

.diagnosis-copy h2,
.diagnosis-copy .audit-card {
  margin-bottom: 0;
}

.diagnosis-visual {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--soft);
  background: #fff;
}

.diagnosis-frames {
  position: absolute;
  left: 0;
  top: 28px;
  display: grid;
  width: min(100%, 420px);
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.diagnosis-frames i {
  position: relative;
  display: block;
  height: 72px;
  border: 1px solid rgba(16, 19, 21, 0.18);
  background:
    linear-gradient(90deg, rgba(16, 19, 21, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 19, 21, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
}

.diagnosis-frames i::before,
.diagnosis-frames i::after {
  position: absolute;
  display: block;
  border-radius: 50%;
  content: "";
}

.diagnosis-frames i::before {
  left: 20%;
  top: 44%;
  width: 18px;
  height: 18px;
  border: 1px solid var(--ink);
  background: #fff;
  animation: diagnosis-dot-a 4s ease-in-out infinite;
}

.diagnosis-frames i::after {
  right: 18%;
  top: 26%;
  width: 16px;
  height: 16px;
  background: var(--ink);
  animation: diagnosis-dot-b 4s ease-in-out infinite;
}

.diagnosis-scan {
  position: absolute;
  left: 0;
  top: 119px;
  width: min(100%, 420px);
  height: 1px;
  overflow: hidden;
  background: rgba(16, 19, 21, 0.22);
}

.diagnosis-scan::after {
  display: block;
  width: 30%;
  height: 100%;
  background: var(--ink);
  content: "";
  animation: diagnosis-scan 3.6s ease-in-out infinite;
}

.diagnosis-ledger {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.diagnosis-ledger b {
  min-height: 42px;
  padding: 12px 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: diagnosis-ledger 4.2s ease-in-out infinite;
}

.diagnosis-ledger b:nth-child(2) {
  animation-delay: 0.55s;
}

.diagnosis-ledger b:nth-child(3) {
  animation-delay: 1.1s;
}

.event-glyph span:nth-child(2) {
  animation: event-pulse 2.8s ease-in-out infinite;
}

.association-glyph span:nth-child(1) {
  animation: association-drift-left 3.6s ease-in-out infinite;
}

.association-glyph span:nth-child(2) {
  animation: association-drift-right 3.6s ease-in-out infinite;
}

.update-glyph span {
  transform-origin: left center;
  animation: update-fill 3.4s ease-in-out infinite;
}

.update-glyph span:nth-child(2) {
  animation-delay: 0.24s;
}

.update-glyph span:nth-child(3) {
  animation-delay: 0.48s;
}

@keyframes side-score-fill {
  from {
    transform: scaleX(0);
    transform-origin: left center;
  }
  to {
    transform: scaleX(1);
    transform-origin: left center;
  }
}

@keyframes diagnosis-dot-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  48% {
    transform: translate(30px, -10px);
  }
}

@keyframes diagnosis-dot-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  48% {
    transform: translate(-18px, 21px);
  }
}

@keyframes diagnosis-scan {
  0% {
    transform: translateX(-110%);
  }
  62%,
  100% {
    transform: translateX(360%);
  }
}

@keyframes diagnosis-ledger {
  0%,
  68%,
  100% {
    color: var(--muted);
  }
  78% {
    color: var(--ink);
  }
}

@keyframes event-pulse {
  0%,
  100% {
    transform: scaleX(1);
    background: var(--gold);
  }
  46% {
    transform: scaleX(1.18);
    background: var(--table-gray-500);
  }
}

@keyframes association-drift-left {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translate(14px, -50%);
  }
}

@keyframes association-drift-right {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translate(-14px, -50%);
  }
}

@keyframes update-fill {
  0%,
  100% {
    transform: scaleX(0.54);
  }
  52% {
    transform: scaleX(1);
  }
}

/* Clean studio background pass */
:root {
  --paper: #f4f7fa;
  --surface: #fff;
  --ink: #101316;
  --muted: #59636d;
  --line: rgba(13, 18, 24, 0.14);
  --soft: rgba(13, 18, 24, 0.07);
  --rule-strong: rgba(13, 18, 24, 0.22);
  --table-section-bg: #eef3f7;
  --state-element-table: #dce6ee;
  --state-element-mid: #aebdca;
  --state-element-deep: #667b8d;
  --state-element-ink: #263846;
  --state-structure-table: #e3e9ee;
  --state-structure-mid: #b9c5ce;
  --state-structure-deep: #6f808d;
  --state-structure-ink: #2d3d48;
  --table-gray-500: #596875;
  --table-gray-300: #d7dee4;
  --rank-blue-200: #d8e2ea;
  --rank-blue-100: #edf3f7;
  --blueprint-rule: rgba(72, 92, 110, 0.16);
  --green: #9fb0bd;
  --blue: #596875;
  --pink: #7a8995;
  --gold: #b5c0c8;
}

html {
  background: #edf2f6;
}

body {
  background:
    linear-gradient(180deg, #f9fbfd 0%, #edf2f6 46%, #f7fafc 100%);
  background-size: auto;
}

.hero-shell {
  width: 100%;
  padding: 0;
}

.hero-panel {
  min-height: clamp(620px, 82vh, 900px);
  border-radius: 0;
  background:
    radial-gradient(circle at 78% 34%, rgba(122, 137, 149, 0.26), transparent 24rem),
    radial-gradient(circle at 92% 80%, rgba(255, 255, 255, 0.08), transparent 20rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(4, 5, 6, 0.97) 48%, rgba(21, 24, 27, 0.9) 100%),
    #050607;
}

.hero-panel::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.45;
}

.content-section,
.content-section.alt,
.top-leaderboard,
#benchmark,
.examples-section,
.analysis-section,
.citation-section {
  background: transparent;
}

.content-section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.52);
}

.stat-strip span,
.taxonomy-label,
.task-state-card {
  background: #eaf0f5;
}

.state-element-card .taxonomy-icon,
.state-structure-card .taxonomy-icon,
.stressor-card .taxonomy-icon,
.perception-icon,
.analysis-glyph,
.task-state-card,
.chart-card.large {
  background: #f5f8fa;
  background-size: auto;
}

.chart-card.wide,
.source-donut .donut-hole,
.donut-hole,
.diagnosis-visual {
  background: #fff;
}

.element-icon span,
.structure-icon span,
.tracked-object {
  background: #f7fafc;
}

.audit-card {
  background:
    linear-gradient(135deg, #11161a, #20272d);
}

@media (max-width: 1120px) {
  .perception-grid {
    grid-template-columns: 1fr;
  }

  .perception-card {
    grid-template-columns: clamp(210px, 30vw, 300px) minmax(0, 1fr);
  }

  .perception-results,
  .perception-result-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .site-header {
    gap: 18px;
    min-height: auto;
    padding: 24px 22px 0;
  }

  .site-nav {
    gap: 14px;
    font-size: 1.05rem;
  }

  .site-nav a {
    flex: 0 0 auto;
    padding: 8px 0;
  }

  .data-visuals,
  .example-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .perception-example-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .split-layout,
  .diagnosis-layout,
  .leaderboard-head,
  .leaderboard-board,
  .agent-table-wrap,
  .chart-card.large {
    grid-template-columns: 1fr;
  }

  .analysis-step {
    grid-template-columns: 40px 108px minmax(0, 1fr);
  }

  .taxonomy-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .taxonomy-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-content {
    margin-top: clamp(40px, 7vh, 74px);
  }

  .state-teaser {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% - 44px);
    min-width: 0;
    min-height: 310px;
    margin: 42px 22px 0 auto;
  }

  .leader-bar-row {
    grid-template-columns: minmax(150px, 0.5fr) minmax(140px, 1fr) 52px;
  }

  .leader-rank-row {
    grid-template-columns: 42px minmax(0, 1fr) minmax(110px, 0.24fr);
  }

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

  .finding-panel {
    min-height: 0;
  }

  .source-donut-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 761px) and (max-width: 880px) {
  .top-leaderboard {
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
    column-gap: clamp(24px, 4vw, 42px);
  }

  .leaderboard-head h2 {
    font-size: clamp(2rem, 4.4vw, 3.05rem);
  }

  .leaderboard-head p:not(.kicker) {
    max-width: 280px;
    font-size: 1rem;
  }

  .leaderboard-side-stats {
    gap: 8px;
    margin-top: 22px;
  }

  .leaderboard-side-stats article {
    min-height: 66px;
    gap: 4px 10px;
  }

  .leaderboard-side-stats strong {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
  }

  .leaderboard-side-stats small {
    font-size: 0.92rem;
  }
}

@media (max-width: 600px) {
  .section-shell {
    width: calc(100% - 28px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .header-rule {
    display: none;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  .state-teaser {
    display: none;
  }

  h1 {
    font-size: clamp(4.1rem, 20vw, 6rem);
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.3rem);
  }

  .hero-copy,
  .body-copy,
  .section-heading p:not(.kicker),
  .leaderboard-head p:not(.kicker),
  .analysis-step p {
    font-size: 1.08rem;
  }

  .data-visuals,
  .example-gallery,
  .perception-grid,
  .perception-side-by-side,
  .perception-pair-row,
  .source-donut-wrap,
  .result-breakdown,
  .top-leaderboard {
    grid-template-columns: 1fr;
  }

  .taxonomy-card {
    grid-template-columns: 1fr;
  }

  .perception-card {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 28px 0;
  }

  .perception-example-card {
    display: block;
  }

  .perception-example-card video {
    height: 136px;
  }

  .perception-visual {
    width: 148px;
    height: 110px;
    margin-left: 0;
    transform: scale(1.22);
    transform-origin: left center;
  }

  .perception-results {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .perception-result-grid {
    grid-template-columns: 1fr;
  }

  .leaderboard-side-stats article {
    grid-template-columns: 1fr auto;
  }

  .diagnosis-visual {
    min-height: 190px;
  }

  .taxonomy-icon {
    min-height: 86px;
  }

  .analysis-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .analysis-glyph {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 88px;
  }

  .score-row {
    grid-template-columns: 30px 1fr 52px;
    gap: 8px 12px;
  }

  .score-name {
    white-space: normal;
  }

  .bar {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .leaderboard-subcontrols {
    justify-content: flex-start;
  }

  .leaderboard-subcontrols label,
  .leaderboard-subcontrols select {
    width: 100%;
  }

  .leaderboard-subcontrols label {
    align-items: flex-start;
    flex-direction: column;
  }

  .leader-bar-row {
    grid-template-columns: 1fr 48px;
    gap: 7px 10px;
  }

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

  .leader-rank-row {
    grid-template-columns: 34px minmax(0, 1fr) 76px;
    gap: 12px;
    min-height: 72px;
  }

  .rank-model strong {
    white-space: normal;
  }

  .rank-score i {
    display: none;
  }

  .leader-bar-row span {
    text-align: left;
  }

  .leader-bar-row i {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .agent-table th,
  .agent-table td {
    padding: 13px 12px;
    font-size: 0.92rem;
  }

  .example-body {
    min-height: auto;
  }

  .audit-card {
    padding: 18px;
  }
}

/* Minimal system pass */
:root {
  --paper: #fff;
  --surface: #fff;
  --ink: #111;
  --muted: #5f656b;
  --line: rgba(17, 17, 17, 0.18);
  --soft: rgba(17, 17, 17, 0.08);
  --rule-strong: rgba(17, 17, 17, 0.28);
  --page-gutter: clamp(18px, 3vw, 46px);
  --shadow: none;
}

html,
body {
  background: #fff;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  color: var(--ink);
}

.scroll-progress {
  height: 1px;
  background: #111;
  box-shadow: none;
}

.section-shell,
.hero-shell {
  width: min(1320px, calc(100% - (var(--page-gutter) * 2)));
  max-width: 1320px;
}

.hero-shell {
  padding: 0;
}

.hero-panel {
  min-height: 0;
  overflow: visible;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.hero-panel::before,
.hero-panel::after,
.state-teaser,
.header-rule,
.chart-card::before,
.perception-card::before {
  display: none;
}

.site-header {
  min-height: 78px;
  padding: 0;
  border-bottom: 1px solid var(--soft);
}

.brand,
.site-nav,
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.hero-panel .kicker,
.hero-copy,
.hero-title {
  color: var(--ink);
}

.brand {
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 760;
}

.nav-pill,
.hero-panel .button,
.hero-panel .button.primary,
.hero-panel .button.muted,
.button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.hero-content {
  width: min(900px, 100%);
  margin: 0;
  padding: clamp(58px, 8vw, 108px) 0 clamp(64px, 9vw, 116px);
}

.hero-panel .kicker {
  display: none;
}

h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.84;
}

.hero-title {
  max-width: 740px;
  font-size: clamp(1.7rem, 2.8vw, 3.1rem);
  line-height: 1.02;
}

.hero-copy {
  max-width: 760px;
  font-size: clamp(1.04rem, 1.3vw, 1.28rem);
  line-height: 1.5;
}

.hero-actions {
  margin-top: 28px;
}

.top-leaderboard,
.content-section {
  padding-block: clamp(74px, 9vw, 132px);
  border-top: 0;
  background: transparent;
}

.content-section + .content-section,
.top-leaderboard + .content-section {
  border-top: 1px solid var(--line);
}

.content-section:nth-of-type(even),
.content-section.alt,
#benchmark,
.examples-section,
.analysis-section,
.citation-section {
  background: transparent;
}

.section-heading h2,
.agent-table-wrap h2,
.diagnosis-copy h2,
.leaderboard-head h2 {
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  letter-spacing: 0;
}

.stat-strip span,
.taxonomy-label,
.example-taxonomy span {
  border: 1px solid var(--soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.taxonomy-showcase,
.result-breakdown,
.data-visuals,
.example-gallery,
.perception-grid,
.leaderboard-list,
.leaderboard-reference,
.agent-table-wrap {
  border-top: 1px solid var(--line);
}

.taxonomy-card,
.chart-card,
.chart-card.large,
.chart-card.wide,
.perception-card,
.example-card,
.analysis-step,
.leaderboard-module,
.finding-panel,
.agent-table {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.chart-card,
.chart-card.large,
.chart-card.wide {
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-inline: 0;
  padding-left: 0;
}

.taxonomy-icon,
.perception-icon,
.analysis-glyph,
.task-state-card,
.diagnosis-visual {
  background: transparent;
  box-shadow: none;
}

.taxonomy-icon {
  display: none;
}

.taxonomy-card {
  grid-template-columns: 1fr;
}

.compact-taxonomy {
  display: block;
}

.compact-taxonomy .taxonomy-showcase {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 64px);
  margin-top: 26px;
}

.compact-taxonomy .taxonomy-card {
  min-height: 0;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--soft);
}

.compact-taxonomy .taxonomy-card strong {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.25;
}

.leaderboard-note:empty,
.more-qa,
.chart-note {
  display: none;
}

.mini-qa p {
  min-height: 0;
  margin-bottom: 6px;
  font-size: 0.96rem;
  -webkit-line-clamp: 2;
}

.analysis-step {
  min-height: 0;
  padding: 22px 0;
}

.analysis-step h3 {
  margin: 0;
}

.perception-results h3 {
  max-width: 280px;
}

.perception-visual {
  opacity: 0.86;
  transform: scale(1.22);
}

.perception-card {
  min-height: 190px;
  padding: 30px 0;
}

.perception-results {
  margin-top: 28px;
}

.example-card video {
  aspect-ratio: 16 / 9;
  background: #000;
}

.audit-card {
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.audit-card p {
  color: var(--muted);
}

.diagnosis-visual {
  min-height: 168px;
}

.leaderboard-side-stats,
.leaderboard-side-stats article,
.reference-grid article,
.leader-rank-row,
.score-row,
.legend-item,
.perception-result-grid article,
.agent-table th,
.agent-table td {
  border-color: var(--soft);
}

.leaderboard-toggle,
.leaderboard-filter,
.leaderboard-subcontrols select {
  border-radius: 0;
  background: transparent;
}

.leaderboard-toggle.is-active,
.leaderboard-filter.is-active {
  background: var(--ink);
  color: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
}

/* Soft minimal palette pass */
:root {
  --paper: #f7f9fb;
  --surface: #fbfcfd;
  --ink: #202a35;
  --muted: #687482;
  --line: rgba(60, 75, 92, 0.2);
  --soft: rgba(60, 75, 92, 0.1);
  --rule-strong: rgba(60, 75, 92, 0.28);
  --state-element-table: #dfe8ef;
  --state-element-mid: #b7c7d3;
  --state-element-deep: #667b8d;
  --state-structure-table: #e7edf2;
  --state-structure-mid: #c2ced8;
  --state-structure-deep: #728391;
  --table-gray-500: #5f7181;
  --table-gray-300: #dbe3ea;
  --rank-blue-200: #dfe8ef;
  --rank-blue-100: #eef3f7;
  --green: #aab8c3;
  --blue: #5f7181;
  --pink: #7d8d9a;
  --gold: #c1cbd3;
}

html,
body {
  background: var(--paper);
}

body,
h1,
h2,
h3,
strong,
.brand,
.rank-score strong,
.leaderboard-side-stats strong {
  color: var(--ink);
}

.hero-panel,
.site-header,
.top-leaderboard + .content-section,
.content-section + .content-section,
.site-footer {
  border-color: var(--line);
}

.button,
.nav-pill,
.leaderboard-toggle,
.leaderboard-filter,
.leaderboard-subcontrols select,
.stat-strip span,
.taxonomy-label,
.example-taxonomy span {
  border-color: var(--soft);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
}

.button:hover,
.nav-pill:hover,
.leaderboard-toggle:hover,
.leaderboard-filter:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.hero-panel .button,
.hero-panel .button.primary,
.hero-panel .button.muted,
.nav-pill {
  border-color: var(--soft);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
}

.leaderboard-toggle.is-active,
.leaderboard-filter.is-active {
  border-color: #536575;
  background: #536575;
  color: #f8fafc;
}

.leaderboard-side-stats b,
.leader-rank-row.metric-best-row .rank-score i b,
.leader-rank-row.open-best-row .rank-score i b,
.score-row.best .bar span,
.score-row.open-best .bar span {
  background: #667b8d;
}

.rank-score i,
.leaderboard-side-stats i,
.bar {
  background: rgba(95, 113, 129, 0.12);
}

.audit-card,
.diagnosis-visual,
.task-state-card,
.agent-table,
.citation-section pre {
  background: rgba(255, 255, 255, 0.42);
}

.agent-table th,
.citation-section pre {
  background: #2d3945;
  color: #f8fafc;
}

.example-card video {
  background: #151c24;
}

/* Minimal dynamic state banner */
.state-banner {
  width: min(940px, 100%);
  margin: 34px 0 34px;
  color: var(--muted);
}

.state-banner-track {
  position: relative;
  height: 126px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffdfa;
}

.state-banner-track::before {
  position: absolute;
  right: 0;
  bottom: 36px;
  left: 0;
  height: 1px;
  background: rgba(95, 113, 129, 0.22);
  content: "";
}

.state-start-light {
  position: absolute;
  left: 37px;
  bottom: 20px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(42, 135, 88, 0.38);
  border-radius: 50%;
  background: rgba(57, 181, 109, 0.24);
  box-shadow:
    0 0 0 6px rgba(57, 181, 109, 0.09),
    0 0 28px rgba(57, 181, 109, 0.3);
  animation: state-start-light 12s ease-in-out infinite;
}

.state-dot {
  position: absolute;
  left: 42px;
  bottom: 25px;
  z-index: 4;
  width: 24px;
  height: 24px;
  border: 1px solid #607383;
  border-radius: 50%;
  background: #f8fafc;
  box-shadow: 0 0 0 12px rgba(95, 113, 129, 0.08);
  animation: state-dot-trace 12s linear infinite;
  will-change: left, transform;
}

.state-occluder {
  position: absolute;
  left: calc(56% + 20px);
  bottom: 14px;
  z-index: 2;
  width: 3px;
  height: 92px;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    rgba(72, 106, 216, 0) 0%,
    rgba(72, 106, 216, 0.6) 22%,
    rgba(72, 106, 216, 0.85) 50%,
    rgba(72, 106, 216, 0.6) 78%,
    rgba(72, 106, 216, 0) 100%
  );
  box-shadow:
    0 0 10px rgba(72, 106, 216, 0.32),
    0 0 22px rgba(72, 106, 216, 0.18);
  animation: state-block-hit 12s ease-in-out infinite;
}

.state-occluder::after {
  position: absolute;
  inset: -10px -16px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(72, 106, 216, 0.38), transparent 68%);
  content: "";
  opacity: 0;
  pointer-events: none;
  animation: state-block-glow 12s ease-in-out infinite;
}

.state-origin {
  position: absolute;
  left: 28px;
  bottom: 11px;
  z-index: 1;
  width: 52px;
  height: 52px;
  border: 1.4px dashed rgba(45, 68, 130, 0.32);
  border-radius: 50%;
  pointer-events: none;
}

.state-origin b {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(45, 68, 130, 0.42);
}

.state-origin em {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(45, 68, 130, 0.62);
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.state-readout {
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
}

.state-readout-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4cc28d;
  box-shadow: 0 0 0 4px rgba(76, 194, 141, 0.18);
  animation: state-pulse-blink 2.2s ease-in-out infinite;
}

.state-readout-label {
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 880;
  letter-spacing: 0.2em;
}

.state-readout-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.state-readout i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  transform: scale(0);
  transition: none;
}

.state-readout i:nth-child(1) {
  animation: state-count-1 12s linear infinite;
}

.state-readout i:nth-child(2) {
  animation: state-count-2 12s linear infinite;
}

.state-readout i:nth-child(3) {
  animation: state-count-3 12s linear infinite;
}

.state-readout i:nth-child(4) {
  animation: state-count-4 12s linear infinite;
}

.state-readout i:nth-child(5) {
  animation: state-count-5 12s linear infinite;
}

@keyframes state-pulse-blink {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(76, 194, 141, 0.45);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(76, 194, 141, 0);
    transform: scale(1.1);
  }
}

@keyframes state-dot-trace {
  /* Rest at origin, then a smooth ease-in-out launch.
     Each swing uses a single ease-in-out per apex-to-apex segment, so the
     ball's velocity peaks naturally where it crosses the gate. Apex
     positions and segment durations vary every swing so the oscillation
     looks organic rather than metronomic. */
  0%,
  3% {
    left: 42px;
    bottom: 25px;
    opacity: 1;
    transform: scale(1);
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
  }
  /* Swing 1 — right apex 1 (Pass 1 inside, ~15%) */
  19% {
    left: calc(56% + 95px);
    bottom: 25px;
    transform: scale(1);
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
  }
  /* Swing 2 — wider left apex (Pass 2 ~23%) */
  28% {
    left: calc(56% - 92px);
    bottom: 25px;
    transform: scale(1);
    animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
  }
  /* Swing 3 — smaller right apex, quick (Pass 3 ~33%) */
  36% {
    left: calc(56% + 78px);
    bottom: 25px;
    transform: scale(1);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  /* Swing 4 — smaller left apex, slower (Pass 4 ~41%) */
  47% {
    left: calc(56% - 64px);
    bottom: 25px;
    transform: scale(1);
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
  }
  /* Swing 5 — final half-swing decelerates to a stop on the gate (Pass 5) */
  56% {
    left: calc(56% + 8px);
    bottom: 25px;
    transform: scale(1);
    animation-timing-function: linear;
  }
  /* Brief lock-in pause */
  62% {
    left: calc(56% + 8px);
    bottom: 25px;
    transform: scale(1);
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
  }
  /* Glide back to the origin and rest */
  86%,
  100% {
    left: 42px;
    bottom: 25px;
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes state-block-hit {
  0%,
  13%,
  17%,
  21%,
  25%,
  31%,
  35%,
  39%,
  43%,
  54%,
  63%,
  100% {
    transform: scaleY(1);
    background: linear-gradient(
      180deg,
      rgba(72, 106, 216, 0) 0%,
      rgba(72, 106, 216, 0.55) 22%,
      rgba(72, 106, 216, 0.8) 50%,
      rgba(72, 106, 216, 0.55) 78%,
      rgba(72, 106, 216, 0) 100%
    );
    box-shadow:
      0 0 10px rgba(72, 106, 216, 0.28),
      0 0 20px rgba(72, 106, 216, 0.16);
  }
  15%,
  23%,
  33%,
  41%,
  56%,
  62% {
    transform: scaleY(1.08);
    background: linear-gradient(
      180deg,
      rgba(72, 106, 216, 0) 0%,
      rgba(140, 172, 255, 1) 18%,
      rgba(220, 232, 255, 1) 50%,
      rgba(140, 172, 255, 1) 82%,
      rgba(72, 106, 216, 0) 100%
    );
    box-shadow:
      0 0 0 5px rgba(72, 106, 216, 0.14),
      0 0 30px rgba(72, 106, 216, 0.6),
      0 0 68px rgba(72, 106, 216, 0.42);
  }
}

@keyframes state-block-glow {
  0%,
  13%,
  17%,
  21%,
  25%,
  31%,
  35%,
  39%,
  43%,
  54%,
  63%,
  100% {
    opacity: 0;
  }
  15%,
  23%,
  33%,
  41%,
  56%,
  62% {
    opacity: 1;
  }
}

@keyframes state-readout-pulse {
  0%,
  100% {
    opacity: 0.72;
  }
  10%,
  45%,
  84% {
    opacity: 1;
  }
}

/* Each gate crossing pops a new dot into existence. Dots are invisible
   (scale 0, transparent) before their pass moment so the audience doesn't
   know in advance how many there will be. After all 5 have appeared, they
   collapse together as the ball glides home. */
@keyframes state-count-1 {
  0%,
  14% {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: scale(0);
  }
  15% {
    background: #486ad8;
    border-color: #486ad8;
    box-shadow: 0 0 0 4px rgba(72, 106, 216, 0.22);
    transform: scale(1.35);
  }
  18%,
  82% {
    background: #486ad8;
    border-color: #486ad8;
    box-shadow: 0 0 0 1px rgba(72, 106, 216, 0.14);
    transform: scale(1);
  }
  86%,
  100% {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: scale(0);
  }
}

@keyframes state-count-2 {
  0%,
  22% {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: scale(0);
  }
  23% {
    background: #486ad8;
    border-color: #486ad8;
    box-shadow: 0 0 0 4px rgba(72, 106, 216, 0.22);
    transform: scale(1.35);
  }
  26%,
  82% {
    background: #486ad8;
    border-color: #486ad8;
    box-shadow: 0 0 0 1px rgba(72, 106, 216, 0.14);
    transform: scale(1);
  }
  86%,
  100% {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: scale(0);
  }
}

@keyframes state-count-3 {
  0%,
  32% {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: scale(0);
  }
  33% {
    background: #486ad8;
    border-color: #486ad8;
    box-shadow: 0 0 0 4px rgba(72, 106, 216, 0.22);
    transform: scale(1.35);
  }
  36%,
  82% {
    background: #486ad8;
    border-color: #486ad8;
    box-shadow: 0 0 0 1px rgba(72, 106, 216, 0.14);
    transform: scale(1);
  }
  86%,
  100% {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: scale(0);
  }
}

@keyframes state-count-4 {
  0%,
  40% {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: scale(0);
  }
  41% {
    background: #486ad8;
    border-color: #486ad8;
    box-shadow: 0 0 0 4px rgba(72, 106, 216, 0.22);
    transform: scale(1.35);
  }
  44%,
  82% {
    background: #486ad8;
    border-color: #486ad8;
    box-shadow: 0 0 0 1px rgba(72, 106, 216, 0.14);
    transform: scale(1);
  }
  86%,
  100% {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: scale(0);
  }
}

@keyframes state-count-5 {
  0%,
  55% {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: scale(0);
  }
  56% {
    background: #486ad8;
    border-color: #486ad8;
    box-shadow: 0 0 0 4px rgba(72, 106, 216, 0.22);
    transform: scale(1.35);
  }
  59%,
  82% {
    background: #486ad8;
    border-color: #486ad8;
    box-shadow: 0 0 0 1px rgba(72, 106, 216, 0.14);
    transform: scale(1);
  }
  86%,
  100% {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: scale(0);
  }
}

@keyframes state-start-light {
  0%,
  27%,
  76%,
  96%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  36%,
  58%,
  89% {
    opacity: 0.5;
    transform: scale(0.88);
  }
}

/* Subtle color accent pass */
:root {
  --paper: #fff;
  --surface: #fffdfa;
  --ink: #1f2a44;
  --muted: #65708a;
  --line: rgba(45, 68, 130, 0.18);
  --soft: rgba(45, 68, 130, 0.09);
  --rule-strong: rgba(45, 68, 130, 0.28);
  --state-element-table: #dfe8ff;
  --state-element-mid: #a9bdfa;
  --state-element-deep: #486ad8;
  --state-structure-table: #ffe6df;
  --state-structure-mid: #f2a58f;
  --state-structure-deep: #d66b4d;
  --table-gray-500: #486ad8;
  --table-gray-300: #ece9f8;
  --rank-blue-200: #dfe8ff;
  --rank-blue-100: #f0f4ff;
  --green: #72a7c4;
  --blue: #486ad8;
  --pink: #d66b4d;
  --gold: #d7a23f;
}

html,
body {
  background: var(--paper);
}

.hero-panel,
.site-header,
.content-section + .content-section,
.top-leaderboard + .content-section,
.site-footer,
.taxonomy-showcase,
.data-visuals,
.example-gallery,
.perception-grid,
.leaderboard-reference,
.leaderboard-list,
.agent-table-wrap {
  border-color: var(--line);
}

.button,
.nav-pill,
.leaderboard-toggle,
.leaderboard-filter,
.leaderboard-subcontrols select,
.stat-strip span,
.taxonomy-label,
.example-taxonomy span {
  border-color: var(--soft);
  background: rgba(255, 255, 255, 0.62);
}

.button:hover,
.nav-pill:hover,
.leaderboard-toggle:hover,
.leaderboard-filter:hover {
  border-color: rgba(45, 68, 130, 0.28);
  background: rgba(255, 255, 255, 0.9);
}

.leaderboard-toggle.is-active,
.leaderboard-filter.is-active {
  border-color: #486ad8;
  background: #486ad8;
  color: #fbfbff;
}

.leaderboard-side-stats b,
.leader-rank-row.metric-best-row .rank-score i b,
.leader-rank-row.open-best-row .rank-score i b,
.score-row.best .bar span,
.score-row.open-best .bar span {
  background: #486ad8;
}

.rank-score i,
.leaderboard-side-stats i,
.bar {
  background: rgba(72, 106, 216, 0.13);
}

.state-banner-track {
  background: #fffdfa;
}

.state-banner-track::before {
  background: rgba(72, 106, 216, 0.22);
}

.state-dot {
  border-color: #486ad8;
  background: #fffdfa;
  box-shadow: 0 0 0 12px rgba(72, 106, 216, 0.13);
}

.state-occluder {
  border: 0;
}

.agent-table th,
.citation-section pre {
  background: #263252;
}

/* Leaderboard subcategory pass */
.leaderboard-reference {
  gap: 12px;
  padding-bottom: 18px;
}

.reference-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 620px;
}

.reference-grid article {
  min-height: 58px;
}

.reference-grid span {
  font-size: clamp(1rem, 1.08vw, 1.16rem);
}

.reference-grid strong,
.reference-grid .human-row strong {
  font-size: clamp(1.7rem, 2vw, 2.35rem);
}

.leaderboard-controls {
  flex-wrap: nowrap;
  gap: 8px;
  padding-top: 4px;
}

.leaderboard-toggle {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.95rem;
}

.leaderboard-filters {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.leaderboard-list {
  border-top: 0;
}

.leaderboard-list.has-subscores .leader-rank-row {
  grid-template-columns: 38px minmax(210px, 0.62fr) minmax(88px, 0.16fr) minmax(340px, 0.72fr);
  gap: clamp(14px, 1.7vw, 24px);
  min-height: 88px;
}

.rank-score small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.rank-subscores {
  display: grid;
  grid-template-columns: repeat(var(--subscore-count), minmax(70px, 1fr));
  gap: 9px;
  align-items: stretch;
}

.rank-subscore {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 52px;
  padding-left: 10px;
  border-left: 1px solid var(--soft);
}

.rank-subscore > span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.rank-subscore strong {
  color: var(--ink);
  font-size: clamp(0.98rem, 1vw, 1.14rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.rank-subscore i {
  display: block;
  width: 100%;
  height: 4px;
  overflow: hidden;
  background: rgba(72, 106, 216, 0.1);
}

.rank-subscore i b {
  display: block;
  width: calc(var(--subscore) * 1%);
  height: 100%;
  background: rgba(72, 106, 216, 0.45);
  transition: width 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rank-subscore.is-best strong {
  color: var(--state-element-deep);
}

.rank-subscore.is-best i b {
  background: var(--state-element-deep);
}

.task-grid-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 8px 0 0;
}

.task-grid-panel .task-state-card {
  min-height: 112px;
}

@media (max-width: 880px) {
  .reference-grid {
    max-width: none;
  }

  .leaderboard-list.has-subscores .leader-rank-row {
    grid-template-columns: 32px minmax(0, 1fr) 74px;
    min-height: 126px;
  }

  .leaderboard-list.has-subscores .rank-subscores {
    grid-column: 2 / -1;
    grid-template-columns: repeat(var(--subscore-count), minmax(62px, 1fr));
  }

  .task-grid-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .reference-grid {
    grid-template-columns: 1fr;
  }

  .leaderboard-controls {
    flex-wrap: wrap;
  }

  .leaderboard-list.has-subscores .rank-subscores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready .reveal-item:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}

/* Paper header and resource links */
.paper-header {
  position: relative;
  z-index: 0;
  width: min(1040px, 100%);
  margin: 0;
  padding: clamp(48px, 6.2vw, 76px) 0 clamp(46px, 7vw, 82px);
  overflow: hidden;
  text-align: left;
}

.paper-header > :not(.state-banner) {
  position: relative;
  z-index: 1;
}

.paper-header .kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
}

h1.paper-title {
  max-width: 820px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(2.65rem, 5vw, 3.85rem);
  font-weight: 760;
  line-height: 0.96;
  letter-spacing: 0.04em;
  text-wrap: balance;
}

.paper-subtitle {
  max-width: 780px;
  margin: 0 0 clamp(24px, 3.2vw, 34px);
  color: var(--ink);
  font-size: clamp(1.1rem, 1.65vw, 1.52rem);
  font-weight: 720;
  line-height: 1.2;
  text-wrap: balance;
}

.paper-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  margin-bottom: 12px;
}

.paper-title-lead {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.paper-title-row .hero-actions {
  margin: 0 0 0 auto;
}

.paper-title-logo {
  flex: 0 0 auto;
  width: auto;
  height: clamp(56px, 6vw, 72px);
  object-fit: contain;
  align-self: center;
  transform: translateY(-8px);
}

.paper-title-row .paper-title {
  margin: 0;
}

.author-block {
  max-width: 920px;
  margin: 0;
}

.author-list,
.affiliation-list,
.author-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0;
}

.author-list {
  gap: 3px clamp(13px, 1.9vw, 24px);
  color: var(--state-element-deep);
  font-size: clamp(0.96rem, 1.06vw, 1.12rem);
  font-weight: 460;
  line-height: 1.48;
}

.author-list a {
  color: inherit;
  text-decoration: none;
}

.author-list a:hover,
.author-list a:focus-visible {
  color: var(--ink);
}

.author-list span,
.affiliation-list span,
.author-note span {
  white-space: nowrap;
}

.author-list sup,
.affiliation-list sup {
  margin-left: 1px;
  font-size: 0.58em;
  line-height: 0;
  vertical-align: super;
}

.affiliation-list {
  gap: 0 clamp(18px, 2.5vw, 34px);
  margin-top: 10px;
  color: var(--muted);
  font-size: clamp(0.86rem, 0.95vw, 1rem);
  font-weight: 650;
}

.author-note {
  gap: 0 clamp(16px, 2vw, 28px);
  margin-top: 4px;
  color: color-mix(in srgb, var(--muted) 82%, white);
  font-size: clamp(0.78rem, 0.82vw, 0.88rem);
  font-weight: 650;
}

.paper-header .hero-actions {
  justify-content: flex-start;
  gap: 8px;
  margin: clamp(18px, 2.5vw, 28px) 0 0;
}

.paper-header .hero-actions {
  gap: 12px;
}

.paper-header .button {
  min-width: auto;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: 1.05rem;
  font-weight: 780;
  box-shadow: 0 1px 2px rgba(17, 18, 20, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.paper-header .button:hover,
.paper-header .button:focus-visible {
  border-color: var(--ink);
  box-shadow: 0 10px 26px rgba(17, 18, 20, 0.12);
  transform: translateY(-2px);
}

.button.has-logo {
  gap: 12px;
}

.btn-logo {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.button.is-static {
  cursor: default;
}

.button.btn-arxiv {
  gap: 11px;
  font-family: "Charter", "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  font-weight: 700;
}

.button.btn-arxiv:hover {
  transform: translateY(-2px);
}

.btn-arxiv .ai-arxiv {
  flex: 0 0 auto;
  font-size: 1.35em;
  line-height: 1;
  color: #b31b1b;
}

.button.has-logo:hover .btn-logo,
.button.has-logo:focus-visible .btn-logo {
  transform: scale(1.12) rotate(-4deg);
}

.paper-header .state-banner {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 1;
  width: min(900px, 100%);
  margin: clamp(28px, 3.8vw, 42px) 0 0;
  opacity: 1;
  pointer-events: auto;
  text-align: left;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px clamp(18px, 3vw, 30px);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

@media (max-width: 880px) {
  h1.paper-title {
    font-size: clamp(2.55rem, 8vw, 3.75rem);
  }

  .paper-subtitle {
    font-size: clamp(1.04rem, 2.5vw, 1.28rem);
  }

  .author-list {
    font-size: clamp(0.92rem, 2.4vw, 1.04rem);
  }
}

@media (max-width: 600px) {
  .paper-header {
    padding-top: 42px;
    text-align: left;
  }

  h1.paper-title,
  .author-list,
  .affiliation-list,
  .author-note {
    justify-content: flex-start;
    text-align: left;
  }

  h1.paper-title {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .paper-subtitle {
    margin-bottom: 22px;
    font-size: clamp(1rem, 5vw, 1.22rem);
    text-align: left;
  }

  .author-list span,
  .affiliation-list span,
  .author-note span {
    white-space: normal;
  }

  .paper-header .hero-actions {
    justify-content: flex-start;
  }

  .paper-header .button {
    flex: 1 1 calc(50% - 10px);
    min-width: 136px;
    padding-inline: 12px;
    font-size: 0.9rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-block: 24px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

.top-leaderboard {
  padding-bottom: clamp(18px, 2.4vw, 32px);
}

/* ─────────────────────────────────────────────
   Diagnosis section (§3.3 / §3.4 / §3.5)
   ───────────────────────────────────────────── */
#analysis.diagnosis-section {
  padding-block: clamp(54px, 7vw, 96px);
  border-top: 1px solid var(--soft);
  background:
    linear-gradient(180deg, rgba(45, 68, 130, 0.02) 0%, transparent 100%);
}

.diagnosis-heading {
  max-width: 880px;
  margin-bottom: clamp(34px, 4vw, 60px);
}

.diagnosis-heading h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.6rem) !important;
  line-height: 0.96;
  text-wrap: balance;
}

.diagnosis-heading h2 .emph {
  display: inline-block;
  font-family: "Cormorant Garamond", "Lora", "EB Garamond", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  color: #486ad8;
  letter-spacing: -0.015em;
  padding: 0 0.06em;
  margin-right: 0.04em;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 64%,
    rgba(72, 106, 216, 0.16) 64%,
    rgba(72, 106, 216, 0.16) 90%,
    transparent 90%
  );
}

.diagnosis-lede {
  max-width: 880px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.32vw, 1.32rem);
  line-height: 1.55;
}

.diagnosis-lede em {
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.diagnosis-lede a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.diagnosis-step {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  margin-top: clamp(46px, 5vw, 80px);
  padding: clamp(34px, 4vw, 54px) 0 0;
  border: 0 !important;
  border-top: 1px solid var(--soft) !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  min-height: 0;
}

.diagnosis-step:hover {
  transform: none !important;
  border-color: var(--soft) !important;
  box-shadow: none !important;
}

.diagnosis-head {
  display: block;
}

.diagnosis-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 880;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  align-self: start;
}

.diagnosis-tag::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--ink);
}

.diagnosis-tag b {
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: none;
}

.diagnosis-tag b::before {
  content: "§";
  margin-right: 3px;
  color: rgba(45, 68, 130, 0.55);
  font-weight: 600;
}

.diagnosis-tag > span {
  color: var(--ink);
  font-weight: 820;
}

.diagnosis-head-copy {
  display: grid;
  gap: 10px;
  max-width: 880px;
}

.diagnosis-step h3 {
  margin: 0 !important;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem) !important;
  font-weight: 820;
  line-height: 1.04 !important;
  letter-spacing: 0;
  text-wrap: balance;
  color: var(--ink) !important;
}

.diagnosis-subcopy {
  margin: 0 !important;
  max-width: 820px;
  color: var(--muted) !important;
  font-size: clamp(1.05rem, 1.18vw, 1.2rem) !important;
  line-height: 1.55 !important;
}

.diagnosis-body {
  display: grid;
  gap: clamp(18px, 1.8vw, 26px);
  min-width: 0;
}

.diagnosis-body p {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(1.05rem, 1.18vw, 1.2rem) !important;
  line-height: 1.65 !important;
}

.diagnosis-body p strong,
.diagnosis-body p em {
  color: var(--ink);
  font-style: normal;
  font-weight: 820;
}

.diagnosis-claim {
  margin: 8px 0 -10px;
  padding-left: 14px;
  border-left: 3px solid var(--ink);
  color: var(--ink);
  font-size: clamp(1.02rem, 1.15vw, 1.18rem);
  font-weight: 880;
  letter-spacing: 0;
  line-height: 1.35;
}

.diagnosis-figure {
  margin: 12px 0 4px;
  padding: 0;
  border: 0;
  background: transparent;
}

.diagnosis-figure .figure-media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--soft);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(45, 68, 130, 0.06);
}

.diagnosis-figure img,
.diagnosis-figure video {
  display: block;
  width: 100%;
  height: auto;
}

.diagnosis-figure.wide .figure-media {
  background: #fbfaf6;
}

.diagnosis-figure.wide img {
  width: 100%;
  max-height: none;
}

.diagnosis-figure > figcaption {
  margin-top: 14px;
  max-width: 880px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.diagnosis-figure figcaption b {
  color: var(--ink);
  font-weight: 880;
  margin-right: 4px;
}

.diagnosis-figure.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(18px, 2.4vw, 36px);
  align-items: start;
}

.diagnosis-figure.split .figure-pane {
  display: grid;
  gap: 12px;
  align-content: start;
}

.diagnosis-figure.split .figure-pane figcaption {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.video-media {
  background: #0f1218 !important;
}

.video-media video {
  display: block;
  width: 100%;
  height: auto;
  background: #0f1218;
}

.video-question {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: block;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(15, 18, 24, 0.7);
  backdrop-filter: blur(8px);
  color: #f6f7fa;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

.video-question em {
  display: inline-block;
  margin-right: 6px;
  color: #9bb6ff;
  font-style: normal;
  font-weight: 880;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

/* §3.3 — parallel inputs (Video vs Text) */
.parallel-figure {
  margin: 12px 0 4px;
  padding: clamp(20px, 2.4vw, 34px);
  border: 1px solid var(--soft);
  border-radius: 14px;
  background: linear-gradient(180deg, #fdfcf8 0%, #fbfaf6 100%);
}

.parallel-prompt {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: clamp(20px, 2vw, 28px);
  padding: 14px 18px;
  border: 1px solid rgba(72, 106, 216, 0.18);
  border-radius: 999px;
  background: #fff;
}

.parallel-prompt-tag {
  padding: 5px 11px;
  border-radius: 999px;
  background: #486ad8;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 880;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.parallel-prompt p {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(0.98rem, 1.1vw, 1.1rem) !important;
  font-weight: 760;
  line-height: 1.4 !important;
}

.parallel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(14px, 1.8vw, 26px);
  align-items: stretch;
}

.input-pane {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--soft);
  border-radius: 12px;
  background: #fff;
}

.input-pane-head {
  display: grid;
  gap: 4px;
}

.input-pane-tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(45, 68, 130, 0.08);
  color: var(--ink);
  font-size: 0.6rem;
  font-weight: 880;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.input-pane-head h5 {
  margin: 0;
  font-size: clamp(1.1rem, 1.4vw, 1.32rem);
  font-weight: 820;
  letter-spacing: 0;
  color: var(--ink);
}

.input-pane-head p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 0.84rem !important;
  line-height: 1.45 !important;
}

.video-input .figure-media {
  border-radius: 10px;
  overflow: hidden;
  align-self: stretch;
}

.video-input video {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0f1218;
}

.text-transcript {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border: 1px dashed rgba(45, 68, 130, 0.2);
  border-radius: 10px;
  background: #fbfcff;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink);
}

.text-transcript p {
  margin: 0 !important;
  font-size: 0.86rem !important;
  font-family: inherit !important;
  line-height: 1.6 !important;
  color: var(--ink) !important;
}

.text-transcript .c-red    { color: #d44b4b; font-weight: 800; }
.text-transcript .c-green  { color: #2f9c5a; font-weight: 800; }
.text-transcript .c-blue   { color: #486ad8; font-weight: 800; }
.text-transcript .c-pink   { color: #c2528f; font-weight: 800; }
.text-transcript .t-action {
  padding: 0 6px;
  border-radius: 4px;
  background: rgba(45, 68, 130, 0.08);
  color: var(--ink);
  font-weight: 760;
}

.parallel-or {
  display: grid;
  place-items: center;
  align-self: stretch;
  position: relative;
  min-width: 38px;
}

.parallel-or::before,
.parallel-or::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  background: rgba(45, 68, 130, 0.18);
  transform: translateX(-50%);
}

.parallel-or::before {
  top: 0;
  bottom: calc(50% + 22px);
}

.parallel-or::after {
  top: calc(50% + 22px);
  bottom: 0;
}

.parallel-or span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(45, 68, 130, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 880;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.chart-figure {
  margin-top: 14px;
}

.chart-figure .figure-media {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 16px;
}

.chart-figure > figcaption {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* §3.4 — failure case cards (real videos + traces) */
.failure-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 12px 0 4px;
}

.failure-cases > figcaption {
  grid-column: 1 / -1;
  margin-top: 4px;
  text-align: center;
}

.failure-case {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--soft);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(45, 68, 130, 0.06);
}

.failure-case .figure-media {
  border-radius: 10px;
  overflow: hidden;
}

.failure-case video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0f1218;
}

.failure-case[data-square="true"] video {
  aspect-ratio: 1 / 1;
}

.failure-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.failure-tax {
  font-size: 0.78rem;
  letter-spacing: 0;
  color: var(--muted);
}

.failure-tax b {
  color: var(--ink);
  font-weight: 880;
}

.failure-tax em {
  margin: 0 4px;
  color: rgba(45, 68, 130, 0.4);
  font-style: normal;
}

.failure-answer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ans {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.ans-bad {
  background: rgba(214, 70, 70, 0.1);
  color: #c14040;
}

.ans-good {
  background: rgba(47, 156, 90, 0.12);
  color: #267a4a;
}

.failure-question {
  margin: 0 !important;
  padding: 12px 14px;
  border-left: 3px solid var(--ink);
  background: rgba(45, 68, 130, 0.04);
  color: var(--ink) !important;
  font-size: 0.94rem !important;
  line-height: 1.45 !important;
}

.failure-question em {
  display: inline-block;
  margin-right: 6px;
  color: var(--ink);
  font-style: normal;
  font-weight: 880;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.failure-trace {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--soft);
  border-radius: 10px;
  background: #fbfcff;
}

.trace-label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(45, 68, 130, 0.08);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 880;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.failure-trace p {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
}

.trace-state {
  display: inline;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(122, 74, 184, 0.12);
  color: #6d3fa8;
  font-weight: 880;
}

.trace-fail {
  text-decoration: underline wavy rgba(47, 156, 90, 0.7);
  text-decoration-thickness: 1.6px;
  text-underline-offset: 4px;
  color: #1f7245;
  font-weight: 660;
}

.failure-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid var(--soft);
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.check.pass {
  border-color: rgba(47, 156, 90, 0.34);
  background: rgba(47, 156, 90, 0.08);
  color: #267a4a;
}

.check.fail {
  border-color: rgba(214, 70, 70, 0.32);
  background: rgba(214, 70, 70, 0.08);
  color: #c14040;
}

.legend-state {
  color: #6d3fa8;
  font-weight: 880;
}

.legend-fail {
  color: #1f7245;
  font-weight: 880;
  text-decoration: underline wavy rgba(47, 156, 90, 0.7);
  text-decoration-thickness: 1.4px;
  text-underline-offset: 3px;
}

.pull-quote {
  margin: 6px 0 0;
  padding: 16px 22px;
  border-left: 3px solid #486ad8;
  border-radius: 0 8px 8px 0;
  background: rgba(72, 106, 216, 0.06);
  color: var(--ink);
  font-size: clamp(1.04rem, 1.2vw, 1.18rem);
  font-style: italic;
  font-weight: 760;
  line-height: 1.4;
}

.failure-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.failure-modes article {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 16px;
  border: 1px solid var(--soft);
  border-radius: 10px;
  background: #fff;
  min-height: 0;
}

.failure-modes .failure-id {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 880;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.failure-modes p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
}

.failure-modes em {
  color: var(--ink);
  font-style: normal;
  font-weight: 760;
}

.diagnosis-caption {
  padding: 14px 0 0;
  border-top: 1px solid var(--soft);
}

.diagnosis-table {
  margin: 0 !important;
  border: 1px solid var(--soft);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.diagnosis-table th {
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 880;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.diagnosis-table th,
.diagnosis-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--soft);
}

.diagnosis-table td small {
  display: inline-block;
  margin-left: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
}

.diagnosis-table tr.muted-row td {
  color: var(--muted);
  font-style: italic;
}

.diagnosis-table tr.table-strong td {
  background: rgba(72, 106, 216, 0.08);
  color: var(--ink);
  font-weight: 880;
}

@media (max-width: 880px) {
  .diagnosis-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .diagnosis-tag {
    position: static;
  }

  .diagnosis-figure.split,
  .failure-modes,
  .failure-cases {
    grid-template-columns: 1fr;
  }

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

  .parallel-or {
    min-height: 38px;
  }

  .parallel-or::before,
  .parallel-or::after {
    width: auto;
    height: 1px;
    background: rgba(45, 68, 130, 0.18);
    transform: translateY(-50%);
  }

  .parallel-or::before {
    top: 50%;
    bottom: auto;
    left: 0;
    right: calc(50% + 22px);
  }

  .parallel-or::after {
    top: 50%;
    bottom: auto;
    left: calc(50% + 22px);
    right: 0;
  }

  .video-input video {
    aspect-ratio: 16 / 9;
  }
}

/* ─────────────────────────────────────────────
   §2 — What is VSTAT (description + examples + source)
   ───────────────────────────────────────────── */
.vstat-section {
  padding-block: clamp(60px, 7vw, 110px) !important;
}

.vstat-heading {
  max-width: 880px;
  margin-bottom: clamp(28px, 3vw, 44px);
}

.vstat-copy {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  max-width: 820px;
}

.vstat-copy p {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(1rem, 1.1vw, 1.1rem) !important;
  line-height: 1.65 !important;
}

.vstat-copy strong {
  color: var(--ink);
  font-weight: 820;
}

.vstat-copy em {
  font-style: normal;
  font-weight: 760;
  color: var(--ink);
  border-bottom: 1px solid rgba(72, 106, 216, 0.32);
}

.vstat-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: clamp(28px, 3.5vw, 50px) 0;
  padding: 18px 0;
  border-top: 1px solid var(--soft);
  border-bottom: 1px solid var(--soft);
}

.stat-pill {
  display: grid;
  gap: 4px;
  padding: 6px 4px;
}

.stat-pill strong {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 880;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat-pill span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 880;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.vstat-examples {
  margin: clamp(28px, 4vw, 60px) 0;
}

.vstat-examples-head {
  margin-bottom: clamp(18px, 2vw, 28px);
}

.vstat-examples-head h3 {
  margin: 6px 0 0;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  font-weight: 820;
  letter-spacing: -0.005em;
  line-height: 1.05;
}

.task-count {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-width: 2.6em;
  padding: 0 0.35em;
  margin: 0 0.05em;
  border-radius: 6px;
  background: rgba(72, 106, 216, 0.1);
  color: #486ad8;
  font-variant-numeric: tabular-nums;
  font-weight: 880;
}

.vstat-examples-subcopy {
  margin: 14px 0 0 !important;
  max-width: 760px;
  color: var(--muted) !important;
  font-size: clamp(1.05rem, 1.15vw, 1.18rem) !important;
  line-height: 1.6 !important;
}

.vstat-examples-subcopy strong {
  color: var(--ink);
  font-weight: 820;
}

@media (max-width: 880px) {
  .vstat-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─────────────────────────────────────────────
   §3.4 — error chart figure (large)
   ───────────────────────────────────────────── */
.error-figure {
  margin: 8px 0 clamp(28px, 3vw, 44px);
}

.error-figure .figure-media {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(18px, 2vw, 28px);
  background: #fbfaf6;
}

.error-figure > figcaption {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.failure-modes-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.failure-modes-large article {
  padding: 22px 20px;
  gap: 10px;
  min-height: 0;
  border: 1px solid var(--soft);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(45, 68, 130, 0.05);
}

.failure-modes-large article {
  padding: 26px 24px;
}

.failure-modes-large h4 {
  margin: 0;
  font-size: clamp(1.18rem, 1.4vw, 1.4rem);
  font-weight: 820;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.25;
}

.failure-modes-large .failure-id {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
}

.failure-modes-large p {
  font-size: clamp(1rem, 1.1vw, 1.12rem) !important;
  line-height: 1.6 !important;
  color: var(--ink) !important;
}

@media (max-width: 880px) {
  .failure-modes-large {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────
   §3.5 — agentic + thinking (editorial, no boxes)
   ───────────────────────────────────────────── */
.finding-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 70px);
  margin: clamp(28px, 4vw, 56px) 0 clamp(20px, 2.5vw, 32px);
  padding-top: clamp(20px, 2.5vw, 30px);
  border-top: 1px solid var(--soft);
}

.finding {
  display: grid;
  gap: 14px;
  align-content: start;
  position: relative;
}

.finding + .finding {
  position: relative;
}

.finding + .finding::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: calc(clamp(28px, 4vw, 70px) / -2);
  width: 1px;
  background: var(--soft);
}

.finding .diagnosis-tag {
  position: static;
  margin-bottom: 4px;
}

.finding h3 {
  margin: 0 !important;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem) !important;
  font-weight: 820;
  letter-spacing: -0.005em;
  line-height: 1.08 !important;
  color: var(--ink) !important;
  text-wrap: balance;
}

.finding > p {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(1.05rem, 1.16vw, 1.18rem) !important;
  line-height: 1.6 !important;
  max-width: 560px;
}

.finding > p em {
  color: var(--ink);
  font-style: normal;
  font-weight: 760;
  border-bottom: 1.5px solid currentColor;
}

.finding > p strong {
  color: var(--ink);
  font-weight: 820;
}

/* Bare editorial tables — no card chrome, just thin rules */
.bare-table {
  width: 100%;
  margin-top: 6px;
  border-collapse: collapse;
  font-size: clamp(1rem, 1.08vw, 1.08rem);
  font-variant-numeric: tabular-nums;
}

.bare-table thead th {
  padding: 10px 10px 12px 0;
  border-bottom: 1.5px solid var(--ink);
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 880;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: left;
}

.bare-table tbody td {
  padding: 13px 10px 13px 0;
  border-bottom: 1px solid var(--soft);
  color: var(--ink);
  vertical-align: top;
}

.bare-table tbody tr:last-child td {
  border-bottom: 0;
}

.bare-table td.num,
.bare-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bare-table small {
  display: inline-block;
  margin-left: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.bare-table tr.muted-row td {
  color: var(--muted);
  font-style: italic;
}

.bare-table tr.row-best td {
  color: var(--ink);
  font-weight: 880;
}

.bare-table tr.row-best td.num {
  color: #486ad8;
}

.thinking-table tbody td:nth-child(3) {
  color: var(--muted);
}

.delta-bad {
  color: #c14040 !important;
  font-weight: 880 !important;
}

.agentic-footnote {
  max-width: 980px;
  margin: clamp(20px, 2.5vw, 32px) 0 0 !important;
  padding-top: clamp(18px, 2vw, 26px);
  border-top: 1px solid var(--soft);
  color: rgba(45, 68, 130, 0.82) !important;
  font-size: clamp(1.05rem, 1.16vw, 1.18rem) !important;
  line-height: 1.6 !important;
}

.agentic-footnote strong {
  color: var(--ink);
}

@media (max-width: 980px) {
  .finding-grid {
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 40px);
  }

  .finding + .finding::before {
    top: calc(clamp(28px, 4vw, 40px) / -2);
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 1px;
  }
}

/* Perception body — let renderer-driven content fill width */
.perception-body {
  padding: 0;
}

.perception-body .perception-paired-rows {
  margin-top: 4px;
}

/* ─────────────────────────────────────────────
   Main gallery — clean teaser cards (question only)
   ───────────────────────────────────────────── */
.example-gallery .example-card .mcq-options,
.example-gallery .example-card .answer-line,
.example-gallery .example-card .more-qa {
  display: none !important;
}

.example-gallery .example-card {
  gap: 0;
}

.example-gallery .example-card .example-body {
  padding: 18px 4px 4px;
  gap: 12px;
}

.example-gallery .example-card .example-topline {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}

.example-gallery .example-card h3 {
  font-size: clamp(1.3rem, 1.55vw, 1.7rem) !important;
  font-weight: 820 !important;
  letter-spacing: -0.005em;
  line-height: 1.1 !important;
  color: var(--ink);
}

.example-gallery .example-card .example-taxonomy span {
  min-height: 24px;
  padding: 2px 9px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.example-gallery .example-card .mini-qa {
  margin-top: 2px;
}

.example-gallery .example-card .mini-qa p {
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  font-size: clamp(0.96rem, 1vw, 1.06rem) !important;
  line-height: 1.5 !important;
  color: var(--ink) !important;
  word-break: normal;
  overflow-wrap: break-word;
}

.perception-example-card .mini-qa p {
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  font-size: clamp(0.86rem, 0.9vw, 0.94rem) !important;
  line-height: 1.45 !important;
  color: var(--ink) !important;
  word-break: normal;
  overflow-wrap: break-word;
}

/* ─────────────────────────────────────────────
   Example card — autoplay video + zoom hint + click-to-open
   ───────────────────────────────────────────── */
.example-card {
  cursor: zoom-in;
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 220ms ease,
    border-color 180ms ease;
}

.example-card .example-media {
  position: relative;
  overflow: hidden;
  background: #0f1218;
}

.example-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0f1218;
  pointer-events: none;
}

/* Recorded clips were shot on a bright white tabletop, so the thumbnails
   read as flat/washed out. Add a little contrast + saturation so they have
   the same depth as the synthetic/YouTube clips. */
.example-card[data-source="Recorded"] video {
  filter: saturate(1.12) brightness(0.88);
}

.example-card .example-zoom {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 18, 24, 0.5);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: zoom-in;
  opacity: 0;
  transform: translateY(-2px);
  transition:
    opacity 200ms ease,
    transform 200ms ease,
    background 200ms ease;
}

.example-card:hover .example-zoom,
.example-card:focus-within .example-zoom {
  opacity: 1;
  transform: translateY(0);
}

.example-card .example-zoom:hover {
  background: rgba(15, 18, 24, 0.78);
}

.example-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(45, 68, 130, 0.12);
  border-color: rgba(72, 106, 216, 0.3);
}

/* Perception cards — same teaser strategy as main gallery (click to enlarge) */
.perception-example-card {
  cursor: zoom-in;
}

.perception-example-card .mcq-options,
.perception-example-card .answer-line,
.perception-example-card .more-qa {
  display: none !important;
}

.perception-example-card .example-zoom {
  width: 24px;
  height: 24px;
  top: 6px;
  right: 6px;
}

/* ─────────────────────────────────────────────
   Gallery collapse — show first 3 rows, expand button
   ───────────────────────────────────────────── */
.example-gallery.is-collapsed > .example-card:nth-child(n + 13) {
  display: none;
}

@media (max-width: 880px) {
  .example-gallery.is-collapsed > .example-card:nth-child(n + 7) {
    display: none;
  }
}

@media (max-width: 600px) {
  .example-gallery.is-collapsed > .example-card:nth-child(n + 4) {
    display: none;
  }
}

.vstat-examples-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(20px, 2.4vw, 32px);
}

.example-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.example-toggle:hover,
.example-toggle:focus-visible {
  background: var(--ink);
  color: #fff;
}

.example-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 220ms ease;
}

.example-toggle[aria-expanded="true"]::after {
  transform: rotate(-135deg) translateY(2px);
}


/* ─────────────────────────────────────────────
   Lightbox modal
   ───────────────────────────────────────────── */
.example-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 40px);
  background: rgba(15, 18, 24, 0.74);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.example-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.example-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.example-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.06);
}

.example-lightbox-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 32px);
  width: min(1100px, 100%);
  max-height: calc(100vh - 80px);
  overflow: hidden;
  padding: clamp(20px, 2.5vw, 34px);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.45);
  transform: translateY(8px) scale(0.98);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.example-lightbox.is-open .example-lightbox-card {
  transform: translateY(0) scale(1);
}

.example-lightbox-media {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  background: #0f1218;
}

.example-lightbox-video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 160px);
  background: #0f1218;
}

.example-lightbox-body {
  display: grid;
  align-content: start;
  gap: 18px;
  overflow-y: auto;
  padding-right: 4px;
}

.lightbox-meta {
  display: grid;
  gap: 10px;
}

.lightbox-source {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(72, 106, 216, 0.1);
  color: #486ad8;
  font-size: 0.66rem;
  font-weight: 880;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.example-lightbox-body h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.05;
  color: var(--ink);
}

.lightbox-tax {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lightbox-tax span {
  padding: 3px 9px;
  border: 1px solid var(--soft);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  color: var(--muted);
}

.lightbox-qa {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--soft);
  border-radius: 12px;
  background: #fbfcff;
}

.lightbox-q-label {
  display: inline-flex;
  width: max-content;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(45, 68, 130, 0.08);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 880;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lightbox-q {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

.lightbox-options {
  display: grid;
  gap: 6px;
}

.lightbox-option {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 9px 12px;
  border: 1px solid var(--soft);
  border-radius: 8px;
  background: #fff;
  font-size: 0.94rem;
  line-height: 1.4;
  color: var(--ink);
}

.lightbox-option b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(45, 68, 130, 0.08);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 880;
}

.lightbox-option.is-answer {
  border-color: rgba(47, 156, 90, 0.46);
  background: rgba(47, 156, 90, 0.08);
}

.lightbox-option.is-answer b {
  background: #2f9c5a;
  color: #fff;
}

.lightbox-answer {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(47, 156, 90, 0.1);
  color: #1e6a3c;
  font-size: 1rem;
}

.lightbox-answer span {
  font-size: 0.66rem;
  font-weight: 880;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #267a4a;
}

.lightbox-answer strong {
  font-size: 1.1rem;
  font-weight: 880;
  color: #1e6a3c;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 760px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 16px;
    row-gap: 6px;
    min-height: 0;
    padding: 12px 0;
  }

  .site-nav {
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 0.82rem;
  }
}

@media (max-width: 880px) {
  .example-lightbox {
    padding: 14px;
  }

  .example-lightbox-card {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 28px);
  }

  .example-lightbox-video {
    max-height: 50vh;
  }

  .example-lightbox-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }
}

/* ───────────────────────────────────────────────
   Final pass — unified type scale + tighter rhythm
   ─────────────────────────────────────────────── */
:root {
  --section-pad: clamp(46px, 5.4vw, 84px);
}

.top-leaderboard,
.content-section,
.vstat-section,
#analysis.diagnosis-section {
  padding-block: var(--section-pad) !important;
}

.top-leaderboard {
  padding-bottom: clamp(18px, 2.4vw, 32px) !important;
}

/* One consistent, square section title across every section */
.section-heading h2,
.agent-table-wrap h2,
.diagnosis-copy h2,
.diagnosis-heading h2,
.leaderboard-head h2 {
  font-size: clamp(2rem, 3.2vw, 3.05rem) !important;
  font-weight: 820 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.015em !important;
  text-wrap: balance;
}

/* One consistent subsection title */
.section-heading h3,
.diagnosis-step h3,
.vstat-examples-head h3,
.analysis-step h3,
.diagnosis-copy h3,
.finding h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.01em !important;
}

h4 {
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.005em;
}

/* Drop the serif-italic emphasis so every title shares one form */
.diagnosis-heading h2 .emph {
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
}

/* Unified eyebrow / kicker label */
.kicker {
  font-size: 0.7rem !important;
  font-weight: 820 !important;
  letter-spacing: 0.18em !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

/* Unified prose line-height */
.vstat-copy p,
.diagnosis-lede,
.diagnosis-subcopy,
.leaderboard-lede,
.vstat-examples-subcopy,
.section-heading p:not(.kicker),
.finding p {
  line-height: 1.58 !important;
}

/* ───────────────────────────────────────────────
   Hero teaser — clean reveal + hover spotlight
   ─────────────────────────────────────────────── */
.hero-video-card {
  opacity: 0;
  transform: translateY(22px) scale(0.965);
  box-shadow: 0 1px 2px rgba(17, 18, 20, 0.05);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-video-card.is-in {
  opacity: 1;
  transform: none;
}

/* Crisp, undimmed media — let the clips read clearly (Apple-clean). */
.hero-video-card video {
  filter: saturate(1.02);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Spotlight on hover: dim the rest, lift + sharpen the focused clip. */
.hero-video-strip:hover .hero-video-card.is-in {
  opacity: 0.55;
}

.hero-video-strip:hover .hero-video-card.is-in:hover,
.hero-video-card.is-in:focus-visible {
  opacity: 1;
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 20px 44px rgba(17, 18, 20, 0.24);
}

.hero-video-card:hover video,
.hero-video-card:focus-visible video {
  transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ───────────────────────────────────────────────
   Global type scale-up — larger, more legible site-wide
   ─────────────────────────────────────────────── */
html {
  font-size: 118.75%; /* 16px → 19px base; scales the whole site up */
}

.kicker {
  font-size: 0.74rem !important;
}

.vstat-copy p,
.diagnosis-lede,
.diagnosis-subcopy,
.leaderboard-lede,
.vstat-examples-subcopy,
.section-heading p:not(.kicker),
.finding p {
  font-size: clamp(1.06rem, 1.1vw, 1.22rem) !important;
}

/* Leaderboard: left dashboard + right Avg table. Opening a detail view hides
   the dashboard so the table expands to the full (hero) width. */
.top-leaderboard {
  padding-inline: 0;
}

.leaderboard-head,
.leaderboard-board {
  width: 100%;
  max-width: none;
  margin: 0;
}

.leaderboard-head {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.leaderboard-head .leaderboard-lede {
  max-width: 460px;
}

.top-leaderboard.is-expanded .leaderboard-head {
  display: none;
}

@media (min-width: 881px) {
  .top-leaderboard {
    display: grid;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    column-gap: clamp(40px, 5vw, 92px);
    align-items: start;
  }

  .top-leaderboard.is-expanded {
    grid-template-columns: 1fr;
  }

  .leaderboard-head {
    margin-bottom: 0;
  }
}

/* Align all content sections + footer to the hero/leaderboard width */
.content-section .section-shell,
.site-footer {
  padding-left: 0;
  padding-right: 0;
}

/* Title row spans the full hero width; action buttons sit flush-right,
   aligned with the teaser wall above and grounded to the title baseline. */
.hero-content.paper-header {
  width: 100%;
  max-width: none;
}

.paper-title-row {
  align-items: flex-end;
  gap: clamp(18px, 3vw, 48px);
  margin-bottom: clamp(10px, 1.4vw, 18px);
}

.paper-header .paper-title-row .hero-actions {
  margin: 0 0 6px auto;
  flex: 0 0 auto;
}

.paper-subtitle,
.author-block {
  max-width: 880px;
}

/* ── Mobile-only fixes (desktop unchanged) ───────────────────────────── */
@media (max-width: 600px) {
  /* Compact, tidy action buttons (no full-width stretch) */
  .paper-header .button {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 44px;
    padding: 0 15px;
    border-radius: 11px;
    font-size: 0.92rem;
  }

  .paper-title-row .hero-actions {
    width: 100%;
    margin: 12px 0 0;
    gap: 8px;
  }

  .paper-header .btn-logo {
    width: 18px;
    height: 18px;
  }

  .btn-arxiv .ai-arxiv {
    font-size: 1.2em;
  }

  /* Leaderboard: fit to the screen so the default view has no left/right slide */
  .leaderboard-table-wrap {
    overflow-x: hidden;
  }

  .top-leaderboard.is-expanded .leaderboard-table-wrap {
    overflow-x: auto;
  }

  .leader-table-full th,
  .leader-table-full td {
    padding: 11px 7px;
  }

  .leader-table-full td {
    font-size: 0.95rem;
  }

  .leader-table-full .col-method {
    font-size: 0.98rem;
    min-width: 92px;
  }

  .leader-table-full .avg-cell-inner strong,
  .leader-table-full td.num {
    font-size: 0.98rem;
  }

  .leader-table-full thead th {
    font-size: 0.78rem;
  }

  .leader-table-full .avg-cell-inner {
    gap: 10px;
  }

  .leader-table-full .avg-track {
    max-width: 130px;
    height: 9px;
  }

  .leader-table-full .leader-section-row td {
    font-size: 0.9rem;
    padding: 16px 7px 8px;
  }
}
