:root {
  color-scheme: light;
  --bg: #fff;
  --tint: #f8f7fc;
  --text: #211d30;
  --muted: #676273;
  --brand: #6941ce;
  --brand-dark: #5130a6;
  --line: #e8e4ef;
  --wrap: 1120px;
  --radius: 16px;
  --header-height: 73px;
  --anchor-gap: 20px;
  --section-space: 100px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--anchor-gap));
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
button,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
p + p {
  margin-top: 18px;
}
a,
button {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid #9b7fe4;
  outline-offset: 5px;
  border-radius: 4px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(var(--wrap), calc(100% - 64px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  padding: 12px 20px;
  background: var(--text);
  color: #fff;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.6px;
}
.brand-mark {
  width: 28px;
  height: 28px;
  flex: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 540;
}
.nav-links a {
  padding: 22px 0;
  color: #575161;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--brand);
}
.nav-links a[aria-current] {
  box-shadow: 0 2px var(--brand);
}
.nav-paper {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 7px;
}
.nav-paper span {
  margin-left: 12px;
}
.nav-paper:hover {
  background: var(--tint);
}
.nav-toggle {
  display: none;
}
.hero {
  padding: 64px 0 12px;
  background: #fff;
}
.hero-inner {
  text-align: center;
}
.venue {
  color: var(--muted);
  font-size: 15px;
  font-weight: 560;
  letter-spacing: 0.02em;
}
.wordmark {
  margin-top: 14px;
  color: var(--text);
  font-size: clamp(56px, 6.2vw, 84px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(30px, 3.5vw, 47px);
  font-weight: 640;
  letter-spacing: -1.7px;
  line-height: 1.2;
  margin: 17px auto 0;
}
h1 span {
  font-weight: inherit;
}
.authors {
  font-size: 16px;
  color: var(--muted);
  margin: 23px 0 0;
}
.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 42px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 18px;
  min-height: 46px;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn.primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn:hover {
  background: var(--tint);
}
.btn.primary:hover {
  background: var(--brand-dark);
}
.unavailable {
  color: #655f70;
  background: #faf9fc;
}
.soon {
  font-size: 13px;
  color: #8a8494;
  font-weight: 500;
}
.figure-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.teaser {
  box-shadow: 0 14px 40px #4e32720a;
}
.figure-link {
  display: block;
  position: relative;
  padding: 30px 30px 26px;
  cursor: zoom-in;
  background: #fff;
}
.figure-link img {
  width: 100%;
}
.enlarge {
  display: block;
  position: absolute;
  right: 14px;
  bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #62566e;
  background: #fffe;
  padding: 1px 7px;
  border-radius: 4px;
  opacity: 0.9;
}
.figure-link:hover .enlarge,
.figure-link:focus-visible .enlarge {
  color: var(--brand);
  opacity: 1;
}
figcaption {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 24px;
  background: #fdfcfe;
  border-top: 1px solid var(--line);
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
figcaption strong {
  color: #3b3448;
  font-weight: 620;
}
.figure-number {
  flex-shrink: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}
.section {
  padding: var(--section-space) 0;
  /* Anchor to the content, not the empty padding above its heading. */
  scroll-margin-top: calc(0px - var(--section-space));
}
.tinted {
  background: var(--tint);
  border-block: 1px solid #f0edf5;
}
.section-kicker {
  color: #7b7389;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 16px;
}
h2 {
  font-size: clamp(32px, 3.8vw, 45px);
  font-weight: 620;
  letter-spacing: -1.5px;
  line-height: 1.16;
}
.claim-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}
.lead {
  font-size: 18px;
  color: var(--muted);
}
.lead strong {
  color: var(--text);
  font-weight: 620;
}
.boundary-note {
  font-size: 16px;
  border-left: 2px solid #c8b5ec;
  padding-left: 17px;
}
.highlight-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border-block: 1px solid var(--line);
  padding: 26px 0;
}
.highlight-strip > a {
  padding: 4px 24px;
  border-right: 1px solid var(--line);
}
.highlight-strip > a:first-child {
  padding-left: 0;
}
.highlight-strip > a:last-child {
  border-right: 0;
  padding-right: 0;
}
.highlight-strip > a:hover strong {
  color: var(--brand-dark);
}
.highlight-strip span,
.highlight-strip small {
  display: block;
}
.metric-context {
  font-size: 14px !important;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 12px;
}
.highlight-strip strong {
  display: block;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1.8px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin-bottom: 9px;
}
.highlight-strip span {
  font-size: 15px;
  font-weight: 570;
}
.highlight-strip small {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.source-note {
  font-size: 14px;
  line-height: 1.8;
  color: #665f6e;
  margin-top: 15px;
}
.source-note a {
  color: var(--brand);
  margin-left: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.section-head {
  max-width: 800px;
  margin-bottom: 36px;
}
.section-head > p:last-child {
  font-size: 18px;
  max-width: 700px;
  color: var(--muted);
  margin-top: 20px;
}
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.process article {
  border-top: 1px solid #d9cfee;
  padding-top: 18px;
}
.step {
  font-size: 12px;
  font-weight: 700;
  color: #8a8494;
  display: block;
  margin-bottom: 14px;
}
h3 {
  font-size: 18px;
  font-weight: 640;
  letter-spacing: -0.25px;
}
.process p {
  font-size: 16px;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.7;
}
.benchmark-controls {
  display: none;
  gap: 6px;
  margin-bottom: 22px;
  padding: 5px;
  border: 1px solid var(--line);
  background: #f7f5fa;
  border-radius: 11px;
  width: max-content;
  max-width: 100%;
}
.enhanced .benchmark-controls {
  display: flex;
}
.benchmark-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 21px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  min-height: 42px;
}
.benchmark-tab span {
  font-weight: 450;
  color: #6b6180;
  font-size: 12px;
}
.benchmark-tab[aria-selected="true"] {
  background: #fff;
  color: var(--brand);
  border-color: var(--line);
  box-shadow: 0 2px 5px #44305b08;
}
.results-card,
.diagnostic-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
}
.panel-heading h3 {
  font-size: 18px;
}
.panel-heading p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 3px;
}
.source-tag {
  font-size: 14px;
  color: #6c6180;
  white-space: nowrap;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
th,
td {
  border-bottom: 1px solid #eeebf3;
  padding: 13px 14px;
  white-space: nowrap;
  text-align: right;
}
thead th {
  font-variant-numeric: normal;
  font-size: 14px;
  font-weight: 560;
  background: #f8f6fc;
  color: #6d647c;
  border-block: 1px solid var(--line);
}
thead th:not(:first-child) {
  min-width: 140px;
}
th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  min-width: 176px;
  border-right: 1px solid #eeebf3;
  padding-left: 26px;
  background: #fff;
}
thead th:first-child {
  background: #f8f6fc;
  z-index: 2;
}
tbody th {
  font-variant-numeric: normal;
  font-size: 15px;
  font-weight: 550;
}
td:last-child,
thead th:last-child {
  padding-right: 26px;
}
tbody tr:last-child > * {
  border-bottom: 0;
}
.arrow {
  color: #75688c;
  font-size: 12px;
}
.ours th:first-child,
.ours td {
  background: #f3eefc;
}
.ours th {
  color: var(--brand);
  font-weight: 750;
}
.ours-label {
  font-size: 12px;
  margin-left: 6px;
  color: var(--brand);
  font-weight: 600;
}
.score {
  display: inline-block;
  font-weight: 450;
}
.uncertainty {
  color: #655d72;
  font-size: 14px;
  margin-left: 1px;
  font-weight: 400;
}
.score.best {
  font-weight: 750;
  color: #282132;
}
.score.second {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #9890a5;
}
.ours .score.best {
  color: var(--brand-dark);
}
.table-takeaway {
  background: #fdfcfe;
  border-top: 1px solid var(--line);
  padding: 16px 26px;
  font-size: 15px;
  color: var(--muted);
}
.table-legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 13px 26px;
  color: #675f75;
  font-size: 14px;
}
.table-legend p + p {
  margin: 0;
}
.legend-best {
  font-weight: 750;
  color: #463850;
}
.legend-second {
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 10px;
}
.scenario-control {
  display: none;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--muted);
}
.enhanced .scenario-control {
  display: flex;
}
.scenario-control select {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 28px 8px 10px;
  max-width: 100%;
  font-size: 15px;
  background: #fff;
  color: #44374f;
}
.fallback-title {
  padding: 20px 26px;
  font-size: 15px;
}
.enhanced .fallback-title {
  display: none;
}
.scroll-hint {
  display: none;
  margin-top: 8px;
}
.diagnostic-heading {
  display: flex;
  gap: 10px;
  margin: 36px 0 24px;
  align-items: flex-start;
}
.diagnostic-index {
  flex-shrink: 0;
  color: #8a8494;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.35;
}
.diagnostic-index::after {
  content: ".";
}
.diagnostic-heading h3 {
  font-size: 20px;
  line-height: 1.5;
}
.diagnostic-heading p {
  font-size: 17px;
  color: var(--muted);
  margin-top: 7px;
  max-width: 780px;
}
.landmark-figure .figure-link {
  padding: 32px 60px 30px;
}
.diagnostic-table {
  margin-top: 28px;
}
.second-diagnostic {
  margin-top: 66px;
}
.more-diagnostics {
  border-block: 1px solid #ded7e9;
  margin-top: 28px;
}
.more-diagnostics summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 550;
  list-style: none;
  color: #635273;
}
.more-diagnostics summary::-webkit-details-marker {
  display: none;
}
.more-diagnostics summary > span {
  font-size: 20px;
  line-height: 1;
}
.more-diagnostics[open] summary > span {
  transform: rotate(45deg);
}
.more-diagnostics .figure-frame {
  margin-bottom: 22px;
}
.citation-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.citation-wrap .prose {
  color: var(--muted);
  font-size: 16px;
  margin-top: 22px;
}
.text-link {
  display: inline-block;
  color: var(--brand);
  font-size: 16px;
  margin-top: 22px;
  font-weight: 550;
}
.code-card {
  min-width: 0;
  position: relative;
  background: #211a2f;
  color: #f1ebfa;
  border-radius: 12px;
  border: 1px solid #362942;
  overflow: hidden;
}
.code-toolbar {
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ffffff15;
  font-size: 14px;
  color: #cfc3e1;
}
.citation-status {
  color: #c3b6d3;
}
.copy-btn {
  color: #e6daf6;
  background: #ffffff0c;
  border: 1px solid #ffffff25;
  border-radius: 5px;
  padding: 5px 12px;
  font-size: 14px;
}
.copy-btn:hover {
  background: #ffffff1c;
}
.code-card pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 15px;
  line-height: 1.85;
  overflow-x: auto;
  padding: 22px 24px;
  margin: 0;
  tab-size: 2;
}
.copy-status {
  color: #c7b4e1;
  font-size: 13px;
  padding: 0 24px;
  min-height: 12px;
  margin: 0 0 8px;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: #6c6379;
  background: #fcfbfd;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer .brand {
  color: #51445f;
  font-size: 16px;
}
.footer-year {
  color: #6f6582;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}
.footer p {
  font-size: 14px;
}
.footer a:last-child {
  font-size: 14px;
  white-space: nowrap;
}
.back-to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #d5c9ee;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 4px 20px #27163418;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.back-to-top svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.back-to-top:hover {
  background: var(--tint);
  transform: translateY(-2px);
}
body.modal-open .back-to-top {
  visibility: hidden;
}
.figure-dialog {
  padding: 0;
  border: 1px solid #e0d7eb;
  border-radius: 14px;
  width: min(1440px, 96vw);
  max-width: 96vw;
  max-height: 94dvh;
  color: var(--text);
  box-shadow: 0 24px 90px #16102044;
  overflow: hidden;
}
.figure-dialog::backdrop {
  background: #171021b3;
  backdrop-filter: blur(6px);
}
.viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #faf8fd;
}
.viewer-toolbar h2 {
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.5;
}
.viewer-toolbar > div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.viewer-toolbar button,
.viewer-original {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 13px;
  white-space: nowrap;
}
.viewer-close {
  font-weight: 600;
}
.viewer-scroll {
  overflow: auto;
  max-height: 70dvh;
  padding: 24px;
  background: #fff;
}
.viewer-image {
  margin: auto;
  width: 100%;
  max-height: 65dvh;
  object-fit: contain;
}
.viewer-scroll.zoomed .viewer-image {
  width: 2400px;
  min-width: 2400px;
  max-width: none;
  max-height: none;
}
.viewer-caption {
  padding: 14px 20px;
  font-size: 15px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #faf8fd;
}
@media (min-width: 1700px) {
  :root {
    --wrap: 1200px;
  }
}
@media (max-width: 1100px) {
  .nav-paper {
    display: none;
  }
}
@media (max-width: 1000px) {
  .nav-links {
    gap: 20px;
  }
  .claim-grid {
    gap: 44px;
  }
  .citation-wrap {
    gap: 40px;
  }
  .highlight-strip > a {
    padding-inline: 16px;
  }
  .metric-context {
    font-size: 11px !important;
  }
  .process {
    gap: 20px;
  }
  .highlight-strip strong {
    font-size: 40px;
  }
  .table-legend {
    font-size: 12px;
  }
  .scroll-hint {
    display: block;
  }
}
@media (max-width: 900px) {
  :root {
    --header-height: 63px;
  }
  .nav {
    height: 62px;
    gap: 16px;
  }
  .nav-toggle {
    display: none;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    min-height: 38px;
  }
  .enhanced .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
  }
  .nav-links a {
    padding: 5px 0;
  }
  .enhanced .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 18px;
    right: 18px;
    padding: 9px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 10px 40px #27163418;
    max-height: calc(100dvh - var(--header-height) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .enhanced .nav-links.open {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
  }
  .enhanced .nav-links a {
    padding: 11px 12px;
    font-size: 14px;
  }
  .nav-links a[aria-current] {
    box-shadow: none;
    background: var(--tint);
    border-radius: 5px;
  }
}
@media (max-width: 720px) {
  :root {
    --anchor-gap: 16px;
    --section-space: 62px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .back-to-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    padding: 10px;
  }
  .back-to-top span {
    display: none;
  }
  .hero {
    padding-top: 36px;
  }
  .venue {
    font-size: 13px;
  }
  .wordmark {
    font-size: 60px;
    margin-top: 10px;
  }
  h1 {
    font-size: 31px;
    letter-spacing: -1.1px;
    line-height: 1.22;
    max-width: 520px;
    margin-top: 16px;
  }
  h1 br {
    display: none;
  }
  .tldr {
    font-size: 17px;
    margin-top: 26px;
  }
  .authors {
    font-size: 14px;
    margin-top: 20px;
  }
  .cta-row {
    margin: 22px 0 30px;
    gap: 8px;
  }
  .btn {
    font-size: 14px;
    padding: 9px 12px;
    gap: 7px;
    min-height: 42px;
  }
  .btn svg {
    width: 15px;
    height: 15px;
  }
  .soon {
    font-size: 11px;
  }
  .figure-frame {
    border-radius: 10px;
  }
  .figure-link,
  .landmark-figure .figure-link {
    padding: 19px 12px 22px;
  }
  .enlarge {
    font-size: 11px;
    right: 7px;
    bottom: 4px;
  }
  figcaption {
    padding: 14px;
    gap: 9px;
    font-size: 14px;
    line-height: 1.75;
  }
  .figure-number {
    font-size: 11px;
  }
  .section-kicker {
    font-size: 12px;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 34px;
    letter-spacing: -1.1px;
  }
  .claim-grid,
  .citation-wrap {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .lead {
    font-size: 17px;
  }
  .boundary-note {
    font-size: 14px;
  }
  .highlight-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
    margin-top: 30px;
  }
  .highlight-strip > a {
    padding: 20px 14px !important;
  }
  .highlight-strip > a:nth-child(2) {
    border-right: 0;
  }
  .highlight-strip > a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .highlight-strip strong {
    font-size: 36px;
  }
  .metric-context {
    font-size: 11px !important;
    letter-spacing: 0.045em;
    margin-bottom: 10px;
  }
  .highlight-strip span {
    font-size: 12px;
  }
  .highlight-strip small {
    font-size: 12px;
  }
  .source-note {
    font-size: 12px;
  }
  .section-head {
    margin-bottom: 28px;
  }
  .section-head > p:last-child {
    font-size: 17px;
    margin-top: 16px;
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 20px;
    margin-top: 26px;
  }
  .process h3 {
    font-size: 16px;
  }
  .process p {
    font-size: 15px;
  }
  .step {
    margin-bottom: 10px;
  }
  .benchmark-controls {
    width: 100%;
    gap: 3px;
    padding: 4px;
    margin-bottom: 16px;
  }
  .benchmark-tab {
    flex: 1;
    padding: 7px 9px;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    font-size: 14px;
  }
  .benchmark-tab span {
    font-size: 11px;
  }
  .panel-heading {
    padding: 19px 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  .panel-heading h3 {
    font-size: 16px;
  }
  .panel-heading p {
    font-size: 13px;
  }
  .source-tag {
    font-size: 12px;
  }
  .scenario-control {
    width: 100%;
    justify-content: space-between;
  }
  .scenario-control select {
    flex: 1;
    min-width: 0;
    font-size: 16px;
  }
  .results-card,
  .diagnostic-table {
    border-radius: 10px;
  }
  table {
    font-size: 15px;
  }
  th,
  td {
    padding: 12px 10px;
  }
  th:first-child {
    padding-left: 15px;
    min-width: 119px;
    box-shadow: 3px 0 6px #24152e04;
  }
  tbody th {
    font-size: 13px;
  }
  thead th {
    font-size: 12px;
  }
  thead th:not(:first-child) {
    min-width: 122px;
  }
  .uncertainty {
    font-size: 12px;
  }
  .ours-label {
    font-size: 10px;
    margin-left: 2px;
  }
  .table-takeaway {
    padding: 14px 16px;
    font-size: 14px;
  }
  .table-legend {
    padding: 12px 16px;
    gap: 5px;
    flex-direction: column;
    font-size: 12px;
  }
  .diagnostic-heading {
    gap: 13px;
  }
  .diagnostic-heading h3 {
    font-size: 17px;
  }
  .diagnostic-heading p {
    font-size: 15px;
  }
  .diagnostic-index {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }
  .second-diagnostic {
    margin-top: 42px;
  }
  .more-diagnostics summary {
    font-size: 14px;
  }
  .code-card pre {
    padding: 18px 16px;
    font-size: 12px;
  }
  .code-toolbar {
    padding: 11px 16px;
    font-size: 12px;
  }
  .citation-status {
    font-size: 12px;
  }
  .footer-grid {
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer p {
    order: 3;
    width: 100%;
    font-size: 12px;
  }
  .viewer-toolbar {
    align-items: flex-start;
    padding: 12px;
    gap: 12px;
    flex-direction: column;
  }
  .viewer-toolbar > div {
    width: 100%;
    gap: 6px;
    justify-content: space-between;
  }
  .viewer-toolbar h2 {
    font-size: 14px;
  }
  .viewer-toolbar button,
  .viewer-original {
    font-size: 12px;
    padding: 8px 10px;
  }
  .viewer-scroll {
    padding: 12px;
    max-height: 60dvh;
  }
  .viewer-caption {
    font-size: 12px;
    padding: 12px;
  }
  .viewer-image {
    max-height: 55dvh;
  }
}
/* VIDEO:css */
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #fff;
}
.video-frame figcaption {
  font-size: 15px;
  padding: 14px 20px;
}
.video-section .promo-frame {
  box-shadow: 0 14px 40px #4e32720a;
}
.method-videos,
.xor-video {
  margin-top: 36px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 8px;
}
.video-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 6px;
}
/* header loop: the picture is the poster; the video of the layout on screen plays over it like a GIF */
.hero-media {
  position: relative;
  padding: 30px 30px 34px;
  background: #fff;
}
.hero-stage {
  position: relative;
}
.hero-stage img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}
.hero-tall {
  display: none;
}
@media (max-width: 720px) {
  .hero-media {
    padding: 19px 12px 32px;
  }
}
@media (max-width: 540px) {
  .hero-wide {
    display: none;
  }
  .hero-tall {
    display: block;
  }
}
/* landmark figure: the animation takes the image's place; the static figure opens from the corner link */
.figure-video {
  position: relative;
  padding: 26px 40px 30px;
  background: #fff;
}
.figure-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #fff;
}
.static-figure-link {
  position: absolute;
  right: 14px;
  bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted, #676273);
  text-decoration: none;
}
.static-figure-link:hover,
.static-figure-link:focus-visible {
  color: var(--brand, #6941ce);
}
@media (max-width: 900px) {
  .video-grid,
  .video-grid.three {
    grid-template-columns: 1fr;
  }
  .figure-video {
    padding: 14px 10px 26px;
  }
}
/* overview video: a clean poster with one start button; the browser's controls appear once it plays */
.promo-media {
  position: relative;
}
.promo-start {
  position: absolute;
  left: 50%;
  bottom: 6.5%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 22px 7px 7px;
  border: 1px solid #2a1b4514;
  border-radius: 999px;
  background: #ffffffef;
  color: var(--text, #211d30);
  font-size: 16px;
  font-weight: 650;
  box-shadow:
    0 14px 34px -10px #2a1b4566,
    0 2px 6px #2a1b4514;
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
  transform: translateX(-50%);
  transition:
    transform 0.25s cubic-bezier(0.22, 0.8, 0.24, 1),
    box-shadow 0.25s,
    opacity 0.3s ease,
    visibility 0s;
}
.promo-start-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand, #6941ce);
  color: #fff;
  transition: background-color 0.2s;
}
.promo-start-icon svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
  fill: currentColor;
}
.promo-start-text {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}
.promo-start-text span {
  color: var(--muted, #676273);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.promo-start:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow:
    0 18px 38px -10px #2a1b4580,
    0 3px 8px #2a1b451c;
}
.promo-start:hover .promo-start-icon {
  background: var(--brand-dark, #5130a6);
}
.promo-media.is-started .promo-start {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0s 0.25s;
}
html:not(.enhanced) .promo-start {
  display: none;
}
@media (max-width: 720px) {
  .promo-start {
    top: 50%;
    bottom: auto;
    padding: 6px;
    transform: translate(-50%, -50%);
  }
  .promo-start:hover {
    transform: translate(-50%, -50%);
  }
  .promo-start-icon {
    width: 56px;
    height: 56px;
  }
  .promo-start-text {
    display: none;
  }
}
/* landmark figure: its own small pause / play control, opposite the paper-figure link */
.fig-toggle {
  position: absolute;
  left: 14px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px;
  border: 0;
  background: none;
  color: var(--muted, #676273);
  font-size: 12px;
  font-weight: 600;
}
.fig-toggle:hover,
.fig-toggle:focus-visible {
  color: var(--brand, #6941ce);
}
.fig-toggle svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}
.fig-toggle .i-play,
.figure-video.is-paused .fig-toggle .i-pause,
.hero-media.is-paused .fig-toggle .i-pause {
  display: none;
}
.figure-video.is-paused .fig-toggle .i-play,
.hero-media.is-paused .fig-toggle .i-play {
  display: block;
}
html:not(.enhanced) .fig-toggle {
  display: none;
}
/* rollouts: benchmark tabs and one carousel per benchmark.
   Transform-driven track (eased slide, drag and swipe), centred clip large with neighbours scaled and dimmed,
   custom play / pause / full-screen controls instead of the browser's controls bar. Without JS the panels fall
   back to plain scroll strips with native controls. */
.rollouts {
  margin-top: 56px;
  --car-w: 72%;
  --car-gap: 22px;
  --car-ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --car-dur: 0.62s;
}
.roll-tabs {
  display: none;
  gap: 6px;
  padding: 5px;
  margin: 4px 0 26px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f7f5fa;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.enhanced .roll-tabs {
  display: flex;
}
.roll-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    color 0.2s,
    background-color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.roll-tab span {
  font-size: 12px;
  font-weight: 450;
  color: #6b6180;
}
.roll-tab:hover {
  color: var(--text);
}
.roll-tab[aria-selected="true"] {
  background: #fff;
  color: var(--brand);
  border-color: var(--line);
  box-shadow: 0 2px 5px #44305b08;
}
.roll-panel-title {
  margin: 28px 0 12px;
  font-size: 17px;
}
.enhanced .roll-panel-title {
  display: none;
}
.enhanced .roll-panel:not(.is-current) {
  display: none;
}
.enhanced .roll-panel {
  transition:
    opacity 0.35s ease,
    transform 0.35s var(--car-ease);
}
.enhanced .roll-panel.is-entering {
  opacity: 0;
  transform: translateY(8px);
}

/* stage */
.carousel {
  position: relative;
  border-radius: var(--radius);
}
.car-viewport {
  overflow: hidden;
  /* room for the centred card's shadow */
  padding: 10px 0 36px;
  margin: -10px 0 -36px;
  touch-action: pan-y;
}
.car-track {
  display: flex;
  gap: var(--car-gap);
  transition: transform var(--car-dur) var(--car-ease);
  will-change: transform;
}
.car-track.no-anim,
.is-dragging .car-track {
  transition: none;
}
.is-dragging .car-viewport {
  cursor: grabbing;
}
.car-slide {
  position: relative;
  flex: 0 0 var(--car-w);
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  transition:
    opacity var(--car-dur) var(--car-ease),
    transform var(--car-dur) var(--car-ease),
    box-shadow var(--car-dur) var(--car-ease);
}
.enhanced .car-slide {
  opacity: 0.45;
  transform: scale(0.92);
}
.enhanced .car-slide:not(.is-active) {
  cursor: pointer;
}
.enhanced .car-slide:not(.is-active):hover {
  opacity: 0.68;
}
.enhanced .car-slide.is-active {
  opacity: 1;
  transform: none;
  box-shadow:
    0 24px 54px -24px #2a1b4570,
    0 3px 10px #2a1b4512;
}
.car-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f3f1f7;
}
.car-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-drag: none;
}

/* paused: a light scrim behind the big play button */
.car-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #1a122814;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.car-slide.is-active.is-paused .car-media::after {
  opacity: 1;
}
/* big play button: shown on the centred clip whenever it is paused */
.car-play {
  position: absolute;
  z-index: 1;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffffed;
  color: var(--brand);
  box-shadow:
    0 14px 36px #1d123547,
    0 2px 6px #1d123526;
  opacity: 0;
  transform: scale(0.86);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s var(--car-ease),
    background-color 0.2s;
}
.car-play svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
  fill: currentColor;
}
.car-slide.is-active.is-paused .car-play {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.car-slide.is-active.is-paused .car-play:hover {
  background: #fff;
  transform: scale(1.06);
}

/* caption bar with the clip's controls */
.car-slide figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 10px 12px 10px 18px;
  border-top: 1px solid var(--line);
}
.car-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  min-width: 0;
  font-size: 15px;
  line-height: 1.35;
}
.car-title strong {
  font-weight: 650;
  color: var(--text);
}
.car-title span {
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.car-actions {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0s 0.3s;
}
.car-slide.is-active .car-actions {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.3s ease 0.15s,
    visibility 0s;
}
html:not(.enhanced) .car-actions,
html:not(.enhanced) .car-play {
  display: none;
}
.car-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #4a4459;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.car-icon:hover {
  background: var(--tint);
  color: var(--brand);
  border-color: #dcd1f1;
}
.car-icon svg {
  width: 17px;
  height: 17px;
}
.car-icon .i-fill {
  fill: currentColor;
}
.car-icon .i-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.car-toggle .i-play,
.car-slide.is-paused .car-toggle .i-pause {
  display: none;
}
.car-slide.is-paused .car-toggle .i-play {
  display: block;
}

/* previous / next: white discs on the centred clip's edges, vertically centred on the video */
.car-navs {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--media-h, 0px);
  pointer-events: none;
  z-index: 2;
}
html:not(.enhanced) .car-navs,
html:not(.enhanced) .car-foot {
  display: none;
}
.car-nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #2a1b4514;
  border-radius: 50%;
  background: #ffffffed;
  color: var(--text);
  box-shadow:
    0 12px 30px -8px #2a1b4552,
    0 2px 6px #2a1b4514;
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  transition:
    transform 0.25s var(--car-ease),
    box-shadow 0.25s,
    color 0.2s,
    background-color 0.2s,
    opacity 0.3s ease,
    visibility 0s;
}
.car-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.car-prev {
  left: calc((100% - var(--car-w)) / 2);
}
.car-next {
  left: calc((100% + var(--car-w)) / 2);
}
.car-nav:hover {
  color: var(--brand);
  background: #fff;
  transform: translate(-50%, -50%) scale(1.07);
  box-shadow:
    0 16px 34px -8px #2a1b4566,
    0 3px 8px #2a1b451c;
}
.car-nav:active {
  transform: translate(-50%, -50%) scale(0.95);
}
.car-nav:disabled {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.8);
  transition:
    transform 0.25s var(--car-ease),
    opacity 0.3s ease,
    visibility 0s 0.3s;
}

/* dots: the current one stretches into a pill */
.car-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.car-dots {
  display: flex;
  align-items: center;
}
.car-dot {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 26px;
  padding: 0 4px;
  border: 0;
  background: none;
}
.car-dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d8d1e5;
  transition:
    width 0.42s var(--car-ease),
    background-color 0.3s;
}
.car-dot:hover::before {
  background: #b7a9d6;
}
.car-dot[aria-current="true"]::before {
  width: 26px;
  background: var(--brand);
}
.car-count {
  min-width: 3em;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* without JS: plain horizontal strips with the browser's controls */
html:not(.enhanced) .car-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  margin-bottom: 0;
}
html:not(.enhanced) .car-slide {
  scroll-snap-align: center;
}

@media (max-width: 720px) {
  .rollouts {
    --car-w: 80%;
    --car-gap: 10px;
  }
  .roll-tabs {
    width: 100%;
  }
  .roll-tab {
    flex: 1;
    justify-content: center;
    padding: 8px 6px;
  }
  .roll-tab span {
    display: none;
  }
  .car-nav {
    display: none;
  }
  .car-slide figcaption {
    min-height: 54px;
    padding: 9px 10px 9px 14px;
  }
  .car-title {
    font-size: 14px;
  }
  .car-title span {
    font-size: 13px;
  }
  .car-icon {
    width: 36px;
    height: 36px;
  }
  .car-play {
    width: 60px;
    height: 60px;
  }
  .car-play svg {
    width: 24px;
    height: 24px;
  }
}

/* reduced motion: shorter, flatter transitions instead of none (the page's global rule would remove them all) */
@media (prefers-reduced-motion: reduce) {
  .rollouts .car-track {
    transition: transform 0.28s ease-out !important;
  }
  .rollouts .car-track.no-anim,
  .rollouts .is-dragging .car-track {
    transition: none !important;
  }
  .enhanced .rollouts .car-slide {
    transform: none;
    transition: opacity 0.28s ease-out !important;
  }
  .rollouts .roll-panel {
    transition: opacity 0.2s ease-out !important;
  }
  .rollouts .roll-panel.is-entering {
    transform: none;
  }
  .rollouts .car-dot::before {
    transition: width 0.2s ease-out !important;
  }
  .rollouts .car-play,
  .rollouts .car-nav,
  .rollouts .car-actions {
    transition: opacity 0.2s ease-out !important;
  }
}
/* /VIDEO:css */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .site-header,
  .back-to-top,
  .cta-row,
  .benchmark-controls,
  .copy-btn,
  .enlarge,
  .figure-dialog {
    display: none !important;
  }
  .section {
    padding: 25px 0;
  }
  .wrap {
    width: 100%;
  }
  .benchmark-panel[hidden],
  .scenario-panel[hidden] {
    display: block !important;
  }
  .scenario-control {
    display: none !important;
  }
  .table-scroll {
    overflow: visible;
  }
  .fallback-title {
    display: block !important;
  }
  .figure-frame {
    break-inside: avoid;
  }
  .more-diagnostics:not([open]) {
    display: none;
  }
}
.authors > p:first-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  color: #3f374c;
  font-size: 18px;
  font-weight: 520;
}
.authors a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #cfc6dd;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition:
    color 0.2s,
    text-decoration-color 0.2s;
}
.authors a:hover {
  color: var(--brand-dark);
  text-decoration-color: currentColor;
}
.tldr {
  max-width: 780px;
  margin: 34px auto 0;
  text-align: left;
  font-size: 18px;
  line-height: 1.7;
  color: #3f374c;
}
.tldr strong {
  margin-right: 10px;
  color: var(--text);
  font-weight: 700;
}
.overview-figure {
  margin-top: 56px;
}
.authors .affiliation {
  font-size: 14px;
  color: #6f6481;
  margin-top: 8px;
  letter-spacing: 0.07em;
}
.corresponding-marker {
  color: var(--muted);
  margin-left: 2px;
  font-size: 0.7em;
}
.authors .corresponding-note {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.citation-wrap .prose {
  max-width: 380px;
}
@media (max-width: 720px) {
  .authors > p:first-child {
    gap: 5px 15px;
    font-size: 15px;
    max-width: 360px;
    margin: auto;
  }
  .authors .affiliation {
    font-size: 12px;
  }
}

@media (max-width: 720px) {
  .authors > p:first-child {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 5px 20px;
  }
  .cta-row .unavailable {
    grid-column: 1 / -1;
    flex-basis: 100%;
    border: 0;
    background: none;
    min-height: 24px;
    padding: 2px;
  }
  .cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 380px;
    margin-inline: auto;
    row-gap: 10px;
  }
}

@media (max-width: 360px) {
  .cta-row .btn {
    padding-inline: 8px;
    font-size: 13px;
    gap: 6px;
  }
}
