:root {
  --ink: #253237;
  --muted: #627074;
  --accent: #087d77;
  --accent-dark: #05615c;
  --line: #e7eceb;
  --soft: #f7f9f8;
  --paper: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.8 "Segoe UI", Arial, Helvetica, sans-serif; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { max-width: 100%; height: auto; display: block; }
svg { width: 19px; height: 19px; flex: none; }
p { margin: 0 0 1.2rem; }
h1, h2, h3 { line-height: 1.3; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: 2rem; margin: 0 0 16px; }
h3 { font-size: 1.1rem; margin: 0 0 10px; }
.container { width: min(1080px, calc(100% - 56px)); margin-inline: auto; }
.narrow { max-width: 860px; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 10px; background: #fff; z-index: 100; }
.skip-link:focus { top: 10px; }

/* A quiet header and a single title hierarchy. */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.98); border-bottom: 1px solid #f1f3f2; }
.nav-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--accent-dark); font-size: 19px; font-weight: 650; letter-spacing: -.6px; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 27px; }
.nav-links a { color: var(--muted); font-size: 13px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--accent); }
.hero { padding: 68px 0 30px; text-align: center; }
.hero h1 { margin: 0 auto 30px; max-width: 980px; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; line-height: 1.34; letter-spacing: -.035em; }
.project-name { display: block; font-size: clamp(3rem, 5.4vw, 4.25rem); color: var(--accent); font-weight: 650; letter-spacing: -.055em; margin-bottom: 16px; }
.authors { max-width: 1000px; margin: 0 auto 12px; font-size: 16px; line-height: 2.05; }
.author-notes { margin: 12px auto 0; color: var(--muted); font-size: 12px; }
.author-notes span { white-space: nowrap; }
.author { display: inline-block; white-space: nowrap; margin: 0 6px; }
.author a { color: #3c5b61; }
.author a:hover { color: var(--accent); }
.author sup { margin-left: 2px; font-size: 10px; color: var(--muted); }
.affiliations { max-width: 990px; margin: auto; line-height: 1.95; color: var(--muted); font-size: 13px; }
.affiliation { display: inline-block; margin: 0 7px; }
.affiliation-pair { display: inline-block; white-space: nowrap; }
.affiliation sup { color: var(--muted); font-size: 9px; margin-right: 3px; }
.resources { display: flex; justify-content: center; gap: 11px; flex-wrap: wrap; margin: 28px auto 0; }
.resource { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 42px; border: 1px solid var(--line); padding: 8px 18px; border-radius: 24px; font-weight: 500; font-size: 14px; background: #fff; color: var(--ink); }
.resource.primary { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); }
.resource:hover { text-decoration: none; border-color: var(--accent); }
.resource.primary:hover { background: var(--accent); }
.resource[aria-disabled] { color: var(--muted); border-color: #edf0ef; }
.resource small { font-weight: 400; font-size: 11px; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: 920px; padding: 26px 0 10px; margin: 0 auto; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.9rem; font-weight: 600; line-height: 1.3; letter-spacing: -.035em; color: var(--ink); }
.stat span { font-size: 13px; color: var(--muted); }
.hero-showcase { margin: 28px auto 10px; }
.hero-showcase video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; background: #0b1721; border-radius: 8px; }
.hero-showcase figcaption { margin: 12px auto 0; max-width: 750px; font-size: 12px; line-height: 1.7; color: var(--muted); text-align: center; }

/* White space, rather than colored panels, separates the paper sections. */
.section { padding: 66px 0; }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.section-heading p { color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 0; text-wrap: pretty; }
.abstract { font-size: 16px; line-height: 1.95; }
.abstract strong { font-weight: 600; color: var(--ink); }
.figure { margin: 32px 0 0; }
.figure-button { display: block; width: 100%; padding: 0; border: 0; border-radius: 0; background: #fff; cursor: zoom-in; }
.figure-button img { width: 100%; }
.figure figcaption { font-size: 13px; line-height: 1.75; color: var(--muted); margin: 14px 0 0; }
.figure figcaption strong { color: #445459; font-weight: 600; }
.figure figcaption a { white-space: nowrap; font-weight: 500; margin-left: 3px; }
.figure-grid { display: grid; grid-template-columns: 1.18fr 1fr; gap: 36px; align-items: start; }
.figure-grid .figure { margin-top: 34px; }
.figure-grid .figure-button { min-height: 320px; display: flex; align-items: center; justify-content: center; }
.figure-grid .figure-button img { max-height: 320px; object-fit: contain; }
.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 40px; margin-top: 38px; }
.task-card { min-width: 0; padding: 0; }
.task-top { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; margin-bottom: 8px; }
.task-label { color: var(--muted); font-size: 12px; }
.task-count { font-size: 1.5rem; line-height: 1; font-weight: 500; letter-spacing: -.025em; color: var(--accent-dark); }
.task-card h3 { font-size: 17px; }
.task-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.8; }
.interface-note { display: flex; align-items: center; justify-content: center; gap: 26px; margin: 34px 0 10px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.interface-note strong { font-weight: 600; color: #445459; }
.verification { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; margin: 36px 0 0; }
.verification p { font-size: 14px; color: var(--muted); margin: 0; }
.metric-note { padding: 20px 0 0; margin-top: 30px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.metric-note p { margin: 0; }
.metric-note strong { font-weight: 600; color: var(--ink); }
.findings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding: 6px 0 8px; margin-bottom: 32px; }
.finding strong { font-size: 2.25rem; font-weight: 500; line-height: 1.2; letter-spacing: -.04em; display: block; margin-bottom: 10px; color: var(--accent-dark); }
.finding p { font-size: 13px; color: var(--muted); line-height: 1.75; margin: 0; }
.finding b { color: var(--ink); font-weight: 500; }
.results-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin: 0 0 16px; }
.tablist { display: flex; gap: 20px; max-width: 100%; }
.tablist button { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 9px 0; font-size: 14px; line-height: 1.5; font-weight: 500; color: var(--muted); }
.tablist button[aria-selected=true] { border-bottom-color: var(--accent); color: var(--accent-dark); }
.download { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.table-scroll { overflow-x: auto; border-block: 1px solid var(--line); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: 14px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
th, td { padding: 15px 16px; border-bottom: 1px solid #edf0ef; }
th { background: #fafbfa; color: var(--muted); font-weight: 500; font-size: 12px; }
th:first-child, td:first-child { text-align: left; }
th button { background: none; border: 0; padding: 0; font: inherit; color: inherit; display: inline-flex; gap: 7px; align-items: center; }
th button:hover { color: var(--accent); }
.sort-arrow { opacity: .6; font-size: 10px; }
th[aria-sort] .sort-arrow { opacity: 1; color: var(--accent); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcfb; }
.model-cell { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; }
.model-cell img { width: 20px; height: 20px; object-fit: contain; }
.rank { font-size: 11px; font-weight: 400; color: var(--muted); width: 14px; }
.score-cell { font-weight: 600; color: var(--accent-dark); }
.scorebar { display: none; }
.best { font-weight: 600; color: var(--accent-dark); }
.table-notes { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 14px 0 0; }
.table-notes p { margin: 0 0 5px; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin: 36px 0; }
.insight-grid h3 { font-size: 16px; }
.insight-grid p { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0; }
.small-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.small-tables > div, .figure-grid > .figure { min-width: 0; }
.small-tables h3 { font-size: 16px; margin-bottom: 14px; }
.small-tables th, .small-tables td { padding: 11px 12px; font-size: 12px; }
.small-tables p { font-size: 12px; color: var(--muted); margin-top: 10px; }
.case-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 44px; margin-top: 32px; }
.case-list p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.8; }
.case-list h3 { font-size: 16px; }
.case-name { font-size: 12px; color: var(--muted); display: block; margin-bottom: 8px; }
details { margin-top: 32px; border-top: 1px solid var(--line); padding: 18px 0 0; }
summary { cursor: pointer; font-size: 14px; font-weight: 500; color: var(--accent-dark); }
summary::marker { font-size: 11px; }
details > p { font-size: 14px; color: var(--muted); }
details .figure { margin-top: 24px; }
.citation-box { background: var(--soft); border-radius: 6px; overflow: hidden; }
.citation-header { padding: 16px 22px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.copy-button { display: flex; align-items: center; gap: 7px; background: transparent; border: 0; padding: 5px 0 5px 10px; font-size: 12px; color: var(--accent-dark); }
.copy-button svg { width: 16px; height: 16px; }
.citation-box pre { padding: 18px 22px 24px; margin: 0; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.85 Consolas, "Courier New", monospace; color: #445459; }
.citation-note { font-size: 12px; color: var(--muted); margin-top: 14px; }
.site-footer { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.site-footer strong { color: var(--ink); font-weight: 500; }
.lightbox { border: 0; padding: 0; border-radius: 8px; width: min(1500px, 96vw); max-width: 96vw; max-height: 94vh; background: #fff; box-shadow: 0 20px 100px #0004; }
.lightbox::backdrop { background: rgba(20,35,38,.78); }
.lightbox-header { position: sticky; top: 0; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--line); z-index: 1; }
.lightbox-header p { margin: 0; font-size: 14px; font-weight: 500; }
.lightbox-close { border: 0; background: #fff; line-height: 1; padding: 8px 12px; }
.lightbox-body { overflow: auto; padding: 18px; }
.lightbox-body img { width: 100%; height: auto; }
.lightbox-footer { padding: 0 20px 15px; font-size: 13px; }
.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; }
[hidden] { display: none !important; }

@media (max-width: 850px) {
  .nav-links { gap: 20px; }
  .hero { padding-top: 48px; }
  .desktop-break { display: none; }
  .authors { font-size: 15px; }
  .affiliations { font-size: 12px; }
  .task-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
  .verification, .insight-grid { gap: 24px; }
  .figure-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .figure-grid .figure-button { min-height: 240px; }
  .figure-grid .figure-button img { max-height: 240px; }
  .small-tables { grid-template-columns: 1fr; }
  th, td { padding: 13px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 112px; }
  .container { width: calc(100% - 36px); }
  .nav-inner { min-height: 74px; gap: 4px; flex-direction: column; justify-content: center; padding: 10px 0; }
  .brand { font-size: 17px; }
  .nav-links { gap: 20px; justify-content: center; flex-wrap: wrap; }
  .nav-links a { font-size: 11px; }
  .hero { padding: 38px 0 22px; }
  .hero h1 { font-size: 1.65rem; margin-bottom: 24px; }
  .project-name { font-size: 3.15rem; margin-bottom: 12px; }
  .authors { font-size: 14px; line-height: 2; margin-bottom: 12px; }
  .author { margin: 0 4px; }
  .affiliations { font-size: 11px; line-height: 1.95; }
  .affiliation { margin: 0 5px; }
  .resources { gap: 8px; margin-top: 23px; }
  .resource { min-height: 39px; padding: 8px 12px; font-size: 12px; gap: 6px; }
  .resource svg { width: 16px; height: 16px; }
  .resource small { font-size: 10px; }
  .stats { grid-template-columns: repeat(6, 1fr); padding: 20px 0 4px; gap: 18px 0; }
  .stat { grid-column: span 2; }
  .stat:nth-child(4), .stat:nth-child(5) { grid-column: span 3; }
  .stat strong { font-size: 1.7rem; }
  .stat span { font-size: 11px; }
  .hero-showcase { margin: 24px auto 4px; }
  .hero-showcase video { border-radius: 5px; }
  .hero-showcase figcaption { font-size: 11px; }
  .section { padding: 44px 0; }
  h2 { font-size: 1.65rem; }
  .section-heading { margin-bottom: 25px; }
  .section-heading p, .abstract { font-size: 15px; }
  .figure { margin-top: 24px; }
  .figure figcaption { font-size: 12px; }
  .task-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 28px; }
  .task-top { margin-bottom: 6px; }
  .task-count { font-size: 1.4rem; }
  .interface-note { gap: 8px 16px; font-size: 12px; margin-top: 28px; }
  .figure-grid { grid-template-columns: 1fr; gap: 14px; }
  .figure-grid .figure { margin-top: 24px; }
  .figure-grid .figure-button { min-height: 0; }
  .figure-grid .figure-button img { max-height: none; }
  .verification, .insight-grid, .case-list { grid-template-columns: 1fr; gap: 25px; }
  .verification { margin-top: 28px; }
  .findings { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .finding { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: center; }
  .finding strong { font-size: 1.9rem; margin: 0; }
  .finding p { font-size: 12px; }
  .tablist { gap: 18px; }
  .tablist button { font-size: 12px; }
  .results-toolbar { gap: 10px; }
  .download { font-size: 12px; }
  .metric-note { font-size: 13px; }
  .footer-inner { flex-direction: column; gap: 6px; }
  .citation-header { padding: 13px 16px 0; }
  .citation-box pre { padding: 15px 16px 20px; font-size: 11px; }
  .lightbox-header { padding: 10px 14px; }
  .lightbox-body { padding: 8px; }
  .lightbox { width: 98vw; max-width: 98vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .resources, .results-toolbar, .copy-button, .lightbox, .hero-showcase { display: none; }
  .section { padding: 20px 0; }
  .hero { padding: 10px 0; }
  .figure-button, .task-card { break-inside: avoid; }
  .table-scroll { overflow: visible; }
  body { font-size: 12px; }
  .container { width: 100%; }
}
