:root {
  --ink: #172b26;
  --muted: #5c6b65;
  --green: #185b48;
  --green-dark: #104433;
  --line: #dce4de;
  --wash: #f4f7f3;
  color-scheme: light;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-size: 17px; line-height: 1.7; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--green-dark); }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, pre:focus-visible { outline: 3px solid #b07d25; outline-offset: 5px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
.container { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 10; padding: 10px 20px; background: #fff; }
.skip-link:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--line); }
.navigation { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.wordmark { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 18px; font-weight: 750; letter-spacing: .04em; text-decoration: none; }
.wordmark svg { color: var(--green); }
.wordmark-year { border-left: 1px solid var(--line); margin-left: 10px; padding-left: 18px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .08em; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { display: inline-block; padding-block: 4px; color: var(--muted); font-size: 14px; text-decoration: none; }
.nav-links a:hover { color: var(--green); text-decoration: underline; }
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 64px; padding-block: 72px 80px; }
.eyebrow { color: var(--green); font-size: 11px; font-weight: 700; line-height: 1.6; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { margin-top: 26px; font-size: clamp(38px, 4.2vw, 58px); font-weight: 700; line-height: 1.1; letter-spacing: -.045em; }
.project-name { display: block; margin-bottom: 14px; color: var(--green); font-size: 20px; letter-spacing: .08em; }
.hero-description { max-width: 480px; margin-top: 26px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.authors { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 30px 0 0; padding: 0; font-size: 15px; font-weight: 600; }
.authors a { text-decoration: none; }
.authors a:hover { text-decoration: underline; }
.affiliation { margin-top: 5px; color: var(--muted); font-size: 14px; }
.resource-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 17px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background .15s, border-color .15s; }
.button:hover { border-color: var(--green); background: var(--wash); color: var(--green-dark); }
.button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { border-color: var(--green); background: var(--green); color: #fff; }
.button-primary:hover { border-color: var(--green-dark); background: var(--green-dark); color: #fff; }
.citation-link { margin-left: 5px; font-size: 13px; text-decoration: none; }
.hero-figure { min-width: 0; padding: 22px 24px 18px; border: 1px solid #dfe7df; border-radius: 16px; background: #f0f5ef; }
.demo-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 16px; }
.demo-heading .eyebrow { font-size: 10px; }
.demo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.demo-stage { width: min(100%, 274px); margin-inline: auto; aspect-ratio: 3 / 4.96; overflow: hidden; border-radius: 6px; background: #fff; }
.demo-stage img, .demo-stage canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-figure figcaption { margin-top: 18px; color: var(--muted); text-align: center; font-size: 16px; line-height: 1.5; }
.hero-figure figcaption strong { color: var(--ink); font-weight: 600; }
.demo-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; border-top: 1px solid #dae3d8; padding-top: 13px; color: var(--muted); font-size: 10px; }
.demo-footer > span { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.target-ball { background: #c64c55; }
.cue-ball { margin-left: 6px; border: 1px solid #84908a; background: #fff; }
.demo-footer button { min-height: 32px; border: 0; padding: 5px 0; background: transparent; color: var(--green); font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.section { padding-block: 78px; }
.section-heading { max-width: 690px; }
h2 { margin-top: 10px; font-size: clamp(28px, 3vw, 36px); font-weight: 650; line-height: 1.25; letter-spacing: -.035em; }
.section-heading > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.abstract-section { padding-block: 64px; border-block: 1px solid var(--line); background: var(--wash); }
.abstract-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 60px; }
.abstract-grid h2 { font-size: 32px; }
.text-link { display: inline-block; margin-top: 18px; font-size: 13px; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.prose { color: #394b43; font-size: 16px; line-height: 1.9; }
.prose p + p { margin-top: 18px; }
.research-figure { min-width: 0; }
.research-figure a { display: block; }
.research-figure img { width: 100%; }
.research-figure figcaption { margin-top: 22px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.figure-label { margin-right: 5px; color: var(--green); font-weight: 700; }
.landscape-figure { margin-top: 38px; }
.landscape-figure img { border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.method-section { border-top: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: 64px; margin-top: 44px; }
.method-grid .research-figure { padding-top: 15px; }
.contributions { list-style: none; margin: 0; padding: 0; }
.contributions li { display: flex; gap: 18px; padding-block: 22px; border-top: 1px solid var(--line); }
.contribution-number { padding-top: 2px; color: var(--green); font-size: 12px; font-variant-numeric: tabular-nums; }
h3 { font-size: 18px; font-weight: 650; line-height: 1.4; letter-spacing: -.02em; }
.contributions p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.video-section { padding-block: 70px 48px; border-block: 1px solid var(--line); background: var(--wash); }
.video-frame { margin-top: 32px; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #10291f; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-link { margin-top: 15px; text-align: right; font-size: 13px; }
.video-link a { text-decoration: none; }
.citation-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.copy-button { flex-shrink: 0; }
.citation-code { overflow-x: auto; margin: 28px 0 0; border: 1px solid var(--line); border-radius: 8px; padding: 28px; background: #f8faf7; color: #344c3d; font-size: 12px; line-height: 1.9; tab-size: 2; }
.citation-code code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.copy-status { min-height: 24px; margin-top: 8px; color: var(--green); font-size: 13px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 30px 38px; color: var(--muted); font-size: 11px; }
.site-footer > div { display: flex; align-items: center; gap: 12px; }
.site-footer a { text-decoration: none; }
.site-footer .footer-title { color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .08em; }
@media (max-width: 1050px) {
  .hero { gap: 36px; }
  .hero h1 { font-size: 46px; }
  .hero-figure { padding-inline: 18px; }
  .method-grid { gap: 36px; }
  .abstract-grid { gap: 36px; grid-template-columns: 1fr 2.8fr; }
  .citation-link { flex-basis: 100%; margin-top: 5px; }
}
@media (max-width: 760px) {
  .container { width: min(600px, calc(100% - 40px)); }
  .navigation { min-height: 74px; flex-wrap: wrap; gap: 12px; padding-block: 16px; }
  .wordmark-year { font-size: 10px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 48px; }
  .hero h1 { font-size: clamp(36px, 8.4vw, 54px); }
  .hero-copy { text-align: center; }
  .hero-description { margin-inline: auto; font-size: 17px; }
  .hero .eyebrow { font-size: 9px; }
  .authors, .resource-links { justify-content: center; }
  .authors { gap: 8px 18px; margin-top: 24px; font-size: 14px; }
  .resource-links { gap: 8px; margin-top: 24px; }
  .resource-links .button { padding-inline: 13px; font-size: 13px; }
  .citation-link { flex-basis: auto; margin-top: 0; }
  .hero-figure { width: min(380px, 100%); justify-self: center; padding: 20px 24px; }
  .demo-stage { width: min(100%, 250px); }
  .abstract-grid, .method-grid { grid-template-columns: 1fr; gap: 28px; }
  .abstract-section, .section { padding-block: 46px; }
  .prose { font-size: 15px; }
  .section-heading > p:not(.eyebrow) { font-size: 15px; }
  .landscape-figure { margin-top: 26px; }
  .landscape-figure img { padding: 5px; }
  .research-figure figcaption { font-size: 12px; }
  .method-grid { margin-top: 26px; }
  .method-grid .research-figure { padding-top: 0; }
  .contributions li { padding-block: 18px; }
  .video-section { padding-block: 46px 32px; }
  .citation-heading { align-items: start; flex-direction: column; gap: 20px; }
  .citation-code { padding: 20px; font-size: 11px; }
  .site-footer { flex-direction: column; align-items: start; gap: 12px; padding-block: 26px; }
}
@media (max-width: 400px) {
  .container { width: calc(100% - 32px); }
  .navigation { justify-content: center; }
  .nav-links { width: 100%; justify-content: center; }
  .hero h1 { font-size: clamp(30px, 9.2vw, 36px); }
  .citation-link { flex-basis: 100%; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
