:root {
  --font-heading: "Aptos Display", "Aptos", "Segoe UI", Arial, sans-serif;
  --font-body: "Aptos", "Segoe UI", Arial, sans-serif;
  --white: #FFFFFF;
  --ink: #020B3F;
  --slate: #374151;
  --blue: #2A2AEA;
  --purple: #843AFF;
  --border: #D2D7E1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 35px; }
body { margin: 0; background: var(--white); color: var(--slate); font: 17px/1.7 var(--font-body); }
a { color: var(--blue); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button, a, input, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.skip-link { position: absolute; left: 20px; top: -100px; background: var(--white); padding: 10px; z-index: 10; }
.skip-link:focus { top: 10px; }
.container { width: min(1320px, calc(100% - 80px)); margin-inline: auto; }
.is-max-desktop { max-width: 1040px; }
.site-nav { border-bottom: 1px solid var(--border); }
.nav-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { color: var(--ink); font: 700 24px var(--font-heading); text-decoration: none; letter-spacing: -.8px; }
.wordmark span { color: var(--blue); }
.nav-links { display: flex; flex-wrap: wrap; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--slate); text-decoration: none; }
.nav-links a:hover { color: var(--blue); }
.hero-body { padding: 72px 0 44px; }
.has-text-centered { text-align: center; }
.eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--slate); margin: 0 0 18px; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-heading); line-height: 1.2; }
.publication-title { font-size: clamp(36px, 4vw, 57px); font-weight: 600; letter-spacing: -1.8px; margin: 0 auto 28px; max-width: 1000px; }
.publication-title .project-name { color: var(--blue); }
.publication-authors { max-width: 960px; margin: 0 auto; font-size: 16px; line-height: 2; }
.author-block { display: inline-block; margin: 0 4px; color: var(--ink); }
.author-block a { text-decoration: underline; }
sup { font-size: 10px; color: var(--blue); margin-left: 2px; }
.affiliation { color: var(--ink); margin: 20px 0 0; font-size: 16px; }
.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; }
.contribution-note { margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 25px; font-size: 12px; }
.publication-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.button { border: 1px solid var(--border); background: var(--white); color: var(--ink); padding: 7px 18px; text-decoration: none; font-size: 14px; }
.button:hover { border-color: var(--blue); color: var(--blue); }
figure { margin: 0; }
.research-image { display: block; width: 100%; height: auto; }
.image-link { display: block; }
figcaption { margin-top: 16px; font-size: 13px; line-height: 1.6; }
figcaption strong { color: var(--ink); }
.teaser { padding-bottom: 52px; }
.teaser .research-image { max-width: 1130px; margin: auto; }
.teaser figcaption { max-width: 1130px; margin-inline: auto; }
.abstract { max-width: 1130px; margin: 35px auto 0; font-size: 21px; line-height: 1.6; color: var(--ink); text-align: center; }
.abstract .eyebrow { margin-bottom: 10px; font-size: 10px; }
.section { border-top: 1px solid var(--border); padding: 58px 0 64px; }
.section-heading { margin-bottom: 30px; }
.section-heading h2 { font-size: 34px; font-weight: 600; letter-spacing: -.7px; margin: 0; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading p { margin: 14px 0 0; }
.prose { margin: 28px 0 0; }
.prose p { margin: 0 0 18px; }
strong { color: var(--ink); font-weight: 650; }
.results-group + .results-group { margin-top: 58px; padding-top: 42px; }
.group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.group-heading h3 { font-size: 24px; font-weight: 600; margin: 0; }
.group-heading span { color: var(--slate); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.group-intro { font-size: 15px; margin: 10px 0 20px; }
.chart-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin: 20px 0; font-size: 12px; }
.family-key, .method-key { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.key-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.family-swatch { width: 9px; height: 9px; display: inline-block; background: var(--family-color); border: 1px solid var(--ink); }
.method-key { margin-bottom: 20px; font-size: 12px; }
.method-key svg { width: 16px; height: 16px; }
.label-control { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.label-control input { accent-color: var(--blue); }
.plot-options { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.gui-controls { display: flex; gap: 12px; padding: 0; margin: 0; border: 0; }
.gui-controls legend { float: left; margin-right: 12px; }
.gui-controls label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.gui-controls input { accent-color: var(--blue); }
.chart-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.chart-panel { min-width: 0; }
.chart-panel h4 { font-size: 16px; font-weight: 600; margin: 0 0 3px; }
.chart-subtitle { font-size: 12px; margin: 0; min-height: 22px; }
.scatter { width: 100%; height: auto; display: block; overflow: visible; background: var(--white); font-family: var(--font-body); }
.scatter .grid-line { stroke: var(--border); stroke-width: .65; }
.scatter .axis { stroke: var(--slate); stroke-width: 1; }
.scatter .tick { fill: var(--slate); font-size: 11px; }
.scatter .axis-label { fill: var(--ink); font-size: 12px; }
.scatter .point-label { fill: var(--ink); font-size: 10px; paint-order: stroke; stroke: var(--white); stroke-width: 3px; stroke-linejoin: round; }
.scatter .leader { stroke: var(--border); stroke-width: .8; }
.scatter .point:focus { outline: none; }
.scatter .point:hover .marker, .scatter .point:focus .marker { stroke-width: 3; }
.scatter .point:hover .point-label, .scatter .point:focus .point-label { font-weight: 700; }
.scatter .point[data-family="FireAnt"] .point-label { fill: var(--blue); font-weight: 700; }
.scatter .point-label, .scatter .leader { pointer-events: none; }
.hide-labels .point-label, .hide-labels .leader { display: none; }
#training-charts:not(.show-gui) .point[data-method="GUI"] { display: none; }
#training-charts .gui-label { display: none; }
#training-charts.show-gui .gui-label { display: initial; }
#training-charts.show-gui .api-label { display: none; }
#training-charts.hide-labels .point-label, #training-charts.hide-labels .leader { display: none; }
.figure-note { font-size: 12px; line-height: 1.6; margin: 22px 0; }
.findings { margin: 24px 0; padding-left: 22px; }
.findings li { padding-left: 5px; margin-bottom: 12px; font-size: 16px; }
.data-details { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 25px; font-size: 13px; }
.data-details summary { cursor: pointer; padding: 13px 0; color: var(--ink); }
.table-scroll { overflow-x: auto; margin-bottom: 20px; }
table { width: 100%; border-collapse: collapse; text-align: right; font-size: 12px; line-height: 1.6; font-variant-numeric: tabular-nums; }
caption { text-align: left; margin: 10px 0; font-size: 13px; color: var(--ink); }
th, td { padding: 9px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { color: var(--ink); font-weight: 600; }
th:first-child, td:first-child { text-align: left; }
.metric { font-weight: 600; }
.table-note { font-size: 12px; margin: 4px 0 16px; }
.footer { padding: 28px 0 36px; border-top: 1px solid var(--border); background: var(--white); font-size: 12px; }
.footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { margin: 0; max-width: 770px; }
.plot-tooltip { position: fixed; z-index: 20; background: var(--white); border: 1px solid var(--border); padding: 10px 13px; max-width: min(320px, calc(100vw - 24px)); font-size: 12px; line-height: 1.6; pointer-events: none; color: var(--ink); white-space: pre-line; }
.plot-tooltip[hidden] { display: none; }
@media (max-width: 1050px) { .container { width: calc(100% - 48px); } .chart-grid { gap: 14px; } }
@media (max-width: 850px) {
  .chart-grid { grid-template-columns: 1fr; gap: 35px; max-width: 590px; margin-inline: auto; }
  .hero-body { padding-top: 48px; }
  .publication-title { letter-spacing: -1px; }
  .abstract { font-size: 19px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .nav-inner { min-height: 66px; }
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 12px; }
  .publication-title { font-size: 34px; }
  .publication-authors { font-size: 14px; }
  .contribution-note { gap: 5px 15px; font-size: 11px; }
  .section { padding: 40px 0; }
  .section-heading h2 { font-size: 29px; }
  .teaser { padding-bottom: 35px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-nav, .chart-controls, .data-details, .skip-link, .plot-tooltip { display: none; }
  .container { width: 100%; }
  .section { padding-block: 25px; }
  .chart-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
  .chart-panel { break-inside: avoid; }
}

.acronym-letter { font-weight: 750; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: .06em; text-underline-offset: .12em; text-decoration-skip-ink: none; }
.title-phrase { white-space: nowrap; }
.deployment-demo { max-width: 320px; margin-inline: auto; }
.deployment-findings { margin-top: 30px; }
@media (max-width: 700px) {
  .publication-title { font-size: clamp(29px, 6.5vw, 40px); }
}
