:root {
  --ink: #152438;
  --muted: #586779;
  --blue: #2876b7;
  --blue-dark: #185989;
  --line: #dce3eb;
  --dark: #1f2937;
  --max: 900px;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, ul { margin: 0; }
p { line-height: 1.8; }
a:hover { color: var(--blue); }
button:focus-visible, a:focus-visible { outline: 3px solid #b66619; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: calc(100% - 120px); max-width: var(--max); margin-inline: auto; }
.section { padding-top: 64px; }
main { padding-bottom: 72px; }
h2 { font-size: 30px; line-height: 1.25; font-weight: 600; letter-spacing: -.6px; text-align: left; margin-bottom: 28px; }
h3 { font-size: 22px; line-height: 1.4; font-weight: 600; text-align: left; margin-bottom: 18px; }
sup { font-size: .65em; vertical-align: super; margin-left: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 100; padding: 12px; background: white; border: 2px solid var(--blue); }
.skip-link:focus { top: 10px; }
.hero { padding-top: 55px; text-align: center; }
.project-name { display: block; font-size: 64px; line-height: 1.1; letter-spacing: -3px; color: var(--blue); font-weight: 700; }
.paper-title { display: block; font-size: 31px; font-weight: 550; letter-spacing: -.6px; line-height: 1.3; margin: 18px 0 0; }
.authors { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding: 0; font-size: 20px; font-weight: 500; line-height: 1.5; margin-top: 30px; }
.authors li { white-space: nowrap; }
.authors a { color: var(--blue); text-underline-offset: 4px; }
.authors a:hover { color: var(--blue-dark); text-decoration: underline; }
.affiliations { margin-top: 12px; font-size: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 26px; color: var(--muted); }
.affiliations span { white-space: nowrap; }
.hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 6px; border-radius: 9999px; padding: 8px 14px; font-size: .875rem; font-weight: 400; line-height: 1.5; border: 0; background: var(--dark); color: #fff; transition: opacity .15s; }
.button:hover { color: #fff; }
.button:not(:disabled):hover { opacity: .9; }
.resource-icon { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }
.arxiv-icon { filter: brightness(0) invert(1); }
.button:disabled { color: #fff; background: var(--dark); cursor: default; }
.teaser { width: 100%; max-width: 720px; margin: 42px auto 0; text-align: left; }
.teaser img { width: 100%; }
.abstract-copy { font-size: 15px; }
.abstract-copy p + p, .method-copy p + p { margin-top: 16px; }
.pipeline img { width: 100%; }
.method-copy { font-size: 15px; margin-top: 25px; }
.results-subsection + .results-subsection { margin-top: 52px; }
.results-subsection figcaption { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--muted); text-align: left; }
.result-controls { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.segmented { margin: 0; padding: 4px; display: flex; gap: 3px; border: 1px solid var(--line); background: #f5f7fa; border-radius: 7px; min-width: 0; }
.segmented legend { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }
.segmented label { position: relative; cursor: pointer; display: block; }
.segmented input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segmented span { display: block; padding: 11px 17px; font-size: 12px; font-weight: 600; border-radius: 4px; white-space: nowrap; transition: background .15s; }
.segmented input:checked + span { background: var(--ink); color: white; }
.task-control input:checked + span { background: white; color: var(--blue-dark); box-shadow: 0 1px 5px #15243822; }
.segmented input:focus-visible + span { outline: 3px solid #b66619; outline-offset: 3px; }
.result-panel { margin-bottom: 30px; }
.result-panel + .result-panel { margin-top: 40px; }
.enhanced .result-panel { margin-top: 0; }
.result-figure img { width: 100%; }
.real-results img { width: 100%; }
.citation-code { overflow: hidden; border-radius: 6px; background: var(--dark); box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a; }
.citation-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 8px 16px; }
.citation-label { margin: 0; color: #9ca3af; font-size: .75rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.citation-code pre { margin: 0; padding: 0 16px 16px; overflow-x: auto; tab-size: 2; font: .875rem/1.5 "SFMono-Regular", Consolas, monospace; color: #fff; }
.copy-button { min-width: 60px; min-height: 36px; padding: 6px 0 6px 12px; border: 0; border-radius: 3px; background: transparent; color: #9ca3af; font-size: .875rem; font-weight: 600; transition: color .15s; }
.copy-button:hover { color: #e5e7eb; }
.copy-button:disabled { cursor: wait; }
.copy-status:not(.sr-only) { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 64px); }
  .paper-title { font-size: 28px; }
  .segmented span { padding-inline: 13px; }
}
@media (max-width: 600px) {
  :root { scroll-padding-top: 24px; }
  .wrap { width: calc(100% - 40px); }
  .hero { padding-top: 38px; }
  .project-name { font-size: 52px; letter-spacing: -2px; }
  .paper-title { font-size: 24px; letter-spacing: -.5px; margin-top: 16px; }
  .authors { font-size: 17px; gap: 12px 22px; }
  .affiliations { gap: 7px 17px; font-size: 14px; }
  .hero-actions { margin-top: 24px; }
  .teaser { margin-top: 32px; }
  .section { padding-top: 45px; }
  main { padding-bottom: 45px; }
  h2 { font-size: 27px; margin-bottom: 23px; }
  h3 { font-size: 20px; }
  .abstract-copy, .method-copy { font-size: 14px; }
  .results-subsection figcaption { font-size: 13px; }
  .result-controls { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dataset-control { width: 100%; }
  .dataset-control label { flex: 1; text-align: center; }
  .segmented span { padding: 10px 14px; font-size: 11px; }
  .task-control { align-self: flex-end; }
  .citation-code pre { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
