:root {
  color-scheme: light;
  --ink: #202a35;
  --muted: #606a76;
  --accent: #155b9c;
  --line: #e1e6eb;
  --reading-width: 800px;
  --media-width: 1000px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; font-size: 17px; line-height: 1.7; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: #0a355d; }
a:focus-visible, summary:focus-visible { outline: 3px solid #2877ba; outline-offset: 5px; border-radius: 2px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 8px 16px; background: white; }
.skip-link:focus { top: 12px; }
.navigation { position: sticky; top: 0; z-index: 5; background: rgb(255 255 255 / 97%); border-bottom: 1px solid var(--line); }
.navigation-inner { max-width: 1120px; min-height: 64px; padding: 10px 24px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.wordmark { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.wordmark img { display: block; height: 40px; width: auto; }
.navigation-links { display: flex; gap: 26px; }
.navigation-links a { color: #4b5662; font-size: 13px; text-decoration: none; }
.navigation-links a:hover { color: var(--accent); text-decoration: underline; }
main { padding: 0 24px; }
.hero { max-width: 1080px; margin: 32px auto 0; }
.teaser { display: block; width: 100%; height: auto; border-radius: 3px; }
.paper-heading { text-align: center; padding: 38px 0 42px; }
h1 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.2; letter-spacing: -.025em; font-weight: 700; margin: 0 auto 25px; }
.authors { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px; margin: 0 0 8px; font-size: 18px; }
sup { font-size: 1.1em; font-weight: 700; line-height: 0; vertical-align: baseline; position: relative; top: -.2em; }
.affiliation { margin: 0; font-size: 16px; }
.corresponding { color: var(--muted); font-size: 16px; margin: 6px 0 0; }
.corresponding a { text-decoration: none; }
.paper-links { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 25px; }
.paper-button { display: inline-flex; gap: 10px; align-items: center; padding: 9px 20px; border-radius: 5px; color: #fff; background: var(--accent); text-decoration: none; font-size: 15px; font-weight: 600; }
.paper-button:hover { background: #104879; color: white; }
.paper-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.paper-button span { border-left: 1px solid #ffffff60; padding-left: 12px; font-weight: 400; }
.publication-status { font-size: 12px; color: var(--muted); }
.section { max-width: var(--media-width); margin: auto; padding: 42px 0 46px; border-top: 3px solid var(--line); }
h2 { margin: 0 auto 27px; font-size: clamp(24px, 2.5vw, 30px); font-weight: 700; line-height: 1.3; text-align: center; letter-spacing: -.02em; text-wrap: balance; }
.prose, figcaption, .source-note { max-width: var(--reading-width); margin-left: auto; margin-right: auto; }
.prose p { margin: 0 0 17px; }
.prose p:last-child { margin-bottom: 0; }
.source-note { margin-top: 15px; margin-bottom: 0; font-size: 12px; color: var(--muted); }
.source-note a { color: inherit; }
.video { width: 100%; aspect-ratio: 16 / 9; background: #f2f4f6; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.video iframe { display: block; width: 100%; height: 100%; border: 0; }
.watch-link { display: block; width: fit-content; margin: 9px 0 0 auto; font-size: 12px; text-decoration: none; }
figure { margin: 0; }
.figure-link { display: block; }
.figure-link img { display: block; width: 100%; height: auto; }
.figure-link:hover { opacity: .95; cursor: zoom-in; }
.portrait-figure { max-width: 800px; margin: auto; }
.validation-figure { max-width: 740px; }
figcaption, .caption { margin-top: 23px; margin-bottom: 0; font-size: 16px; line-height: 1.75; color: #46515e; }
.method-details { margin-top: 28px; border: 1px solid var(--line); border-radius: 5px; }
.method-details summary { cursor: pointer; padding: 15px 20px; font-size: 15px; font-weight: 600; color: var(--accent); background: #f7f9fb; }
.method-details summary span { margin-left: 10px; font-size: 13px; font-weight: 400; color: var(--muted); }
.method-details[open] summary { border-bottom: 1px solid var(--line); }
.details-content { padding: 25px; }
h3 { margin: 0 0 26px; text-align: center; font-size: 21px; line-height: 1.4; }
footer { max-width: 1080px; margin: 12px auto 0; padding: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); }
footer a { white-space: nowrap; text-decoration: none; }
@media (max-width: 640px) {
  body { font-size: 16px; }
  main { padding: 0 18px; }
  .navigation-inner { padding: 10px 18px; flex-direction: column; gap: 5px; }
  .navigation-links { gap: 25px; }
  .navigation-links a { font-size: 12px; }
  .hero { margin-top: 20px; }
  .paper-heading { padding: 28px 0 32px; }
  .desktop-break { display: none; }
  .authors { font-size: 16px; gap: 4px 17px; }
  .affiliation, .corresponding { font-size: 15px; }
  .section { padding: 32px 0; }
  h2 { margin-bottom: 23px; }
  .details-content { padding: 20px 12px; }
  .method-details summary { padding: 13px; }
  .method-details summary span { display: block; margin-left: 18px; }
  figcaption, .caption { font-size: 15px; }
  footer { flex-direction: column; gap: 8px; margin-top: 0; padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
