:root {
  --ink: #172f46;
  --body: #435367;
  --muted: #748292;
  --blue: #286799;
  --teal: #167965;
  --green-bg: #eaf5ee;
  --line: #dce5eb;
  --soft: #f5f8fa;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: white; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #3093bd; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(2rem, 3.5vw, 2.85rem); line-height: 1.18; letter-spacing: -.045em; font-weight: 650; }
h3 { font-weight: 650; line-height: 1.4; }
.page-width { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 94px; }
.eyebrow { color: var(--teal); font-size: .79rem; letter-spacing: .16em; font-weight: 700; margin-bottom: 20px; }
.muted { color: #788a99; }
.accent { color: var(--teal); }
.soft-background { background: var(--soft); }
.section-heading { margin-bottom: 38px; }
.section-heading > p:last-child { color: var(--body); max-width: 600px; margin-top: 20px; }
.section-heading.horizontal { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.section-heading.horizontal > p { max-width: 380px; margin: 0 0 3px; }
.text-link { display: inline-block; font-weight: 650; font-size: .96rem; border-bottom: 1px solid #b1c9d9; padding-bottom: 3px; }
.text-link:hover { text-decoration: none; border-color: var(--blue); }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 20; background: var(--ink); color: white; padding: 10px 20px; }
.skip-link:focus { top: 10px; }
.site-header { height: 75px; background: rgba(255,255,255,.97); border-bottom: 1px solid #e8eef2; position: sticky; top: 0; z-index: 10; }
.nav-wrap { width: min(1240px, calc(100% - 64px)); margin: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; font-size: 1.15rem; font-weight: 750; color: var(--ink); letter-spacing: -.045em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand > span:not(.brand-symbol) { color: var(--teal); }
.brand-symbol { color: var(--teal); font-size: 17px; margin-right: 10px; border: 1.5px solid #b2d8ca; padding: 0 5px; border-top: 0; border-bottom: 0; line-height: 22px; }
#main-nav { display: flex; gap: 30px; align-items: center; }
#main-nav a { font-size: .88rem; color: var(--body); }
#main-nav a:hover { color: var(--teal); }
#main-nav .nav-code { color: var(--ink); border: 1px solid var(--line); padding: 5px 16px; border-radius: 6px; }
.menu-toggle { display: none; }
.hero { padding-top: 72px; text-align: center; }
.hero .eyebrow { color: #688397; margin-bottom: 20px; }
h1 { font-size: clamp(3.2rem, 7.2vw, 5.7rem); line-height: 1.1; font-weight: 760; letter-spacing: -.065em; }
h1 > span:first-child { color: var(--teal); }
.paper-title { max-width: 960px; margin: 22px auto 24px; font-size: clamp(1.25rem, 2.25vw, 1.72rem); font-weight: 450; line-height: 1.5; letter-spacing: -.02em; }
.authors { display: flex; justify-content: center; flex-wrap: wrap; column-gap: 22px; row-gap: 5px; font-size: .94rem; }
.authors a { color: var(--blue); }
.authors > span { color: var(--body); }
.resource-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 29px; }
.resource { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 17px; border: 1px solid #d6e0e6; border-radius: 7px; color: var(--ink); background: white; font-size: .91rem; line-height: 1.8; font-weight: 550; }
.resource:hover { background: var(--soft); text-decoration: none; border-color: #b4c8d6; }
.resource.primary { background: var(--ink); color: white; border-color: var(--ink); }
.resource.primary:hover { background: #244761; }
.resource.pending { color: #8a96a2; background: #f8fafb; cursor: default; }
.resource small { font-size: .71rem; font-weight: 450; color: #8a96a2; }
.code-icon { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 650; letter-spacing: -.08em; }
.hero-evidence { margin: 55px auto 0; max-width: 1010px; text-align: left; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 40px rgba(27,54,73,.055); background: white; overflow: hidden; }
.evidence-heading { padding: 14px 22px; display: flex; justify-content: space-between; align-items: center; gap: 15px; background: #f9fbfc; }
.small-label { font-size: .7rem; font-weight: 650; letter-spacing: .09em; color: #6b8191; }
.evidence-label { font-size: .8rem; color: var(--teal); display: inline-flex; align-items: center; gap: 7px; }
.evidence-label i { width: 7px; height: 7px; display: inline-block; background: var(--teal); border-radius: 50%; }
.hero-frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; background: white; border-bottom: 3px solid #54a988; }
.hero-frames figure, .example-frames figure { position: relative; overflow: hidden; }
.hero-frames img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero-frames figcaption, .example-frames figcaption { position: absolute; bottom: 8px; right: 9px; color: white; background: rgba(10,25,32,.74); border-radius: 4px; padding: 1px 8px; font-family: ui-monospace, Consolas, monospace; font-size: .78rem; }
.hero-annotation { padding: 19px 22px 22px; }
.hero-annotation p { font-size: 1.02rem; font-weight: 550; margin-bottom: 13px; }
.hero-annotation > div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.answer-pill { font-size: .86rem; color: #226b4f; background: var(--green-bg); padding: 4px 11px; border-radius: 5px; font-weight: 550; }
.time-code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--teal); font-size: .82rem; }
.hero-takeaway { margin-top: 22px; color: #667c8c; font-size: .96rem; }
.hero-takeaway strong { color: var(--ink); font-weight: 550; }
.overview { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; padding-top: 110px; }
.overview-copy { color: var(--body); }
.overview-copy p + p { margin-top: 16px; }
.overview-copy .text-link { margin-top: 20px; }
.stats-band { border-block: 1px solid var(--line); background: #fafcfd; }
.stats-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr 1fr 1fr; padding-block: 29px; gap: 24px; }
.stats-grid > div { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.stats-grid > div:last-child { border: 0; }
.stats-grid strong { font-size: 2.35rem; letter-spacing: -.045em; font-weight: 650; line-height: 1.35; }
.stats-grid span { font-size: .83rem; color: var(--body); margin-top: 5px; }
.example-browser { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.example-toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 17px 22px; background: #f8fafb; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 5px; }
.tabs button { border: 1px solid transparent; background: transparent; border-radius: 5px; padding: 6px 16px; color: var(--body); font-size: .91rem; }
.tabs button[aria-selected="true"] { background: white; border-color: var(--line); color: var(--ink); font-weight: 600; box-shadow: 0 2px 3px rgba(0,0,0,.03); }
.tabs button:hover { color: var(--teal); }
.split-label { color: #718291; font-size: .8rem; }
.example-frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 20px 22px 0; }
.example-frames img { width: 100%; aspect-ratio: 16/10; object-fit: contain; background: #edf2f4; border-radius: 3px; }
.example-content { padding: 22px 28px 25px; }
.example-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: .8rem; color: #728596; }
.example-content h3 { font-size: 1.3rem; margin-bottom: 18px; letter-spacing: -.025em; }
.choices { display: grid; grid-template-columns: 1fr 1fr; list-style: none; gap: 9px; padding: 0; margin: 0; }
.choices li { font-size: .89rem; padding: 11px 14px; color: var(--body); background: #f7f9fa; border: 1px solid #edf1f3; border-radius: 5px; }
.choices li.correct { background: #edf7f0; border-color: #bedac9; color: #236449; }
.correct-label { display: block; font-size: .72rem; color: #427c5c; font-weight: 650; margin-top: 2px; }
.example-note { font-size: .8rem; color: var(--muted); margin-top: 17px; }
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 52px; }
.pipeline > .pipeline-card { border-top: 2px solid #b8d2cf; padding-top: 20px; }
.pipeline-tag { color: #69818b; letter-spacing: .12em; font-size: .7rem; font-weight: 650; }
.pipeline h3 { font-size: 1.08rem; margin: 12px 0; letter-spacing: -.025em; }
.pipeline p { font-size: .89rem; color: var(--body); }
.pipeline-model { display: inline-block; margin-top: 18px; font-size: .78rem; color: var(--teal); font-weight: 600; }
.statistics-figure { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 50px; border-top: 1px solid var(--line); padding-top: 50px; margin-top: 55px; }
.statistics-figure h3 { font-size: 1.4rem; letter-spacing: -.025em; margin-bottom: 17px; }
.statistics-figure p { color: var(--body); font-size: .94rem; margin-top: 12px; }
.figure-button { display: block; border: 1px solid var(--line); border-radius: 6px; padding: 12px; background: white; color: var(--muted); width: 100%; }
.figure-button > span { display: block; font-size: .75rem; margin-top: 8px; }
.figure-button img { margin: auto; max-height: 550px; object-fit: contain; }
.figure-button:hover { border-color: #a7c7bb; }
.model-list { border-top: 1px solid var(--line); }
.model-list article { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; padding-block: 26px; gap: 30px; border-bottom: 1px solid var(--line); }
.model-list article > div:first-child { position: relative; padding-left: 103px; }
.model-list h3 { font-size: 1.1rem; }
.model-list p { font-size: .84rem; color: var(--muted); margin-top: 3px; }
.model-size { position: absolute; left: 0; top: 0; width: 84px; height: 51px; border-radius: 5px; background: #eff5f5; color: var(--teal); display: grid; place-items: center; font-size: .84rem; font-weight: 650; }
.model-variants { display: flex; flex-wrap: wrap; gap: 7px; }
.model-variants span { font-size: .77rem; padding: 3px 11px; border: 1px solid var(--line); border-radius: 30px; color: #627586; }
.result-highlights { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 30px; margin: 40px 0 52px; }
.result-highlights > div { border-left: 2px solid #a7d2c1; padding-left: 20px; }
.result-highlights > div > span { font-size: .8rem; color: #6b7f8e; }
.result-highlights strong { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--ink); line-height: 1.4; letter-spacing: -.04em; font-weight: 650; margin-top: 10px; white-space: nowrap; }
.result-highlights strong > span { color: #a0b0bb; font-weight: 400; padding-inline: 3px; }
.result-highlights strong > .unit { font-size: 1.1rem; color: #627888; padding: 0; margin-left: 2px; }
.result-highlights p { color: var(--body); font-size: .8rem; margin-top: 5px; }
.table-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 16px; }
.table-toolbar h3 { font-size: 1.02rem; }
.table-toolbar label { font-size: .8rem; color: var(--body); display: flex; gap: 10px; align-items: center; }
select { font-size: .83rem; border: 1px solid #d3dee6; border-radius: 5px; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2351687a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; padding: 7px 34px 7px 13px; color: var(--ink); }
.table-scroll { overflow-x: auto; border: 1px solid #d6e1e6; border-radius: 7px; background: white; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; white-space: nowrap; }
thead { background: #edf2f5; }
th, td { padding: 14px 22px; text-align: right; border-bottom: 1px solid #e2e9ee; font-variant-numeric: tabular-nums; }
thead th { font-size: .8rem; font-weight: 600; }
tr:last-child > * { border-bottom: 0; }
th:first-child { text-align: left; }
tbody th { font-weight: 450; }
tr.ours { background: #f0f7f5; }
tr.ours th { font-weight: 550; color: #20594e; }
.best { font-weight: 750; color: #167258; }
.table-note { color: #6b7e8d; font-size: .78rem; margin-top: 13px; }
.legend-swatch { display: inline-block; width: 10px; height: 10px; background: #d0e7dc; margin-right: 4px; border-radius: 2px; }
.result-conclusion { margin-top: 33px; color: var(--body); max-width: 830px; }
.qualitative-figure { padding: 25px; }
.qualitative-figure img { max-height: none; width: 100%; }
.figure-caption { font-size: .88rem; color: var(--body); text-align: center; max-width: 800px; margin: 20px auto 0; }
.get-started { background: #18374a; color: white; }
.get-started .eyebrow { color: #91d4bd; }
.get-started .section-heading > p:last-child { color: #bed0da; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 44px; }
.download-grid a { display: flex; flex-direction: column; color: white; padding-top: 20px; border-top: 1px solid #496476; }
.download-grid a:hover { text-decoration: none; border-color: #a7dcc7; }
.download-icon { font-size: 1.8rem; color: #91d4bd; margin-bottom: 10px; }
.download-grid h3 { font-size: 1.13rem; margin-bottom: 13px; }
.download-grid p { font-size: .91rem; color: #bfd1db; }
.download-source { margin-top: auto; padding-top: 23px; color: #b7ead6; font-size: .82rem; font-weight: 550; }
.citation-section { padding-block: 66px 45px; }
.citation-section h2 { font-size: 1.85rem; }
.citation-section .section-heading > p:last-child { font-size: .95rem; }
footer { border-top: 1px solid var(--line); padding-block: 30px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-content p { font-size: .79rem; color: var(--muted); margin-top: 4px; }
.footer-content > div:last-child { display: flex; flex-wrap: wrap; gap: 25px; font-size: .79rem; }
.footer-content > div:last-child a { color: var(--body); }
#figure-dialog { max-width: min(1250px, 94vw); max-height: 93vh; border: 0; border-radius: 9px; padding: 25px; box-shadow: 0 12px 80px #0005; }
#figure-dialog::backdrop { background: rgba(8,25,36,.75); }
#figure-dialog img { max-height: 75vh; width: 100%; object-fit: contain; }
#figure-dialog > p { font-size: .88rem; color: var(--body); margin-top: 15px; }
#close-figure { display: block; margin: 0 0 15px auto; border: 0; background: var(--soft); color: var(--ink); border-radius: 4px; padding: 5px 15px; font-size: .85rem; }
.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; }
@media (min-width: 1500px) { .hero { padding-top: 85px; } }
@media (max-width: 900px) {
  .page-width, .nav-wrap { width: calc(100% - 44px); }
  #main-nav { gap: 22px; }
  .section { padding-block: 70px; }
  .overview { gap: 35px; }
  .section-heading.horizontal { gap: 30px; }
  .section-heading.horizontal > p { max-width: 320px; font-size: .95rem; }
  .pipeline { grid-template-columns: 1fr 1fr; gap: 30px; }
  .statistics-figure { grid-template-columns: 1fr; gap: 28px; }
  .statistics-figure > div { max-width: 650px; }
  .statistics-figure .figure-button img { max-height: 470px; }
  .model-list article { grid-template-columns: 1fr auto; gap: 15px; }
  .model-variants { grid-column: 1; padding-left: 103px; }
  .model-list article > a { grid-column: 2; grid-row: 1 / 3; }
  .result-highlights { gap: 20px; }
  .result-highlights > div { padding-left: 13px; }
  .result-highlights strong { font-size: 1.7rem; }
  .download-grid { gap: 26px; }
}
@media (max-width: 650px) {
  body { font-size: 16px; }
  .page-width, .nav-wrap { width: calc(100% - 36px); }
  .site-header { height: 64px; }
  .menu-toggle { display: flex; align-items: center; gap: 9px; background: transparent; border: 0; color: var(--body); font-size: .87rem; padding: 8px 0 8px 10px; }
  #main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--line); padding: 20px; }
  #main-nav.is-open { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
  #main-nav .nav-code { text-align: center; }
  .hero { padding-top: 45px; }
  .hero .eyebrow { font-size: .65rem; letter-spacing: .13em; margin-bottom: 18px; }
  h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .paper-title { font-size: 1.15rem; margin-block: 20px; line-height: 1.5; }
  .desktop-break { display: none; }
  .authors { font-size: .83rem; column-gap: 16px; row-gap: 5px; }
  .resource-links { gap: 7px; margin-top: 25px; }
  .resource { font-size: .875rem; padding: 6px 12px; gap: 6px; }
  .hero-evidence { margin-top: 35px; }
  .evidence-heading { padding: 11px 13px; }
  .small-label { font-size: .6rem; letter-spacing: .06em; max-width: 150px; }
  .evidence-label { font-size: .65rem; gap: 5px; }
  .evidence-label i { width: 5px; height: 5px; }
  .hero-frames { gap: 3px; }
  .hero-frames figcaption, .example-frames figcaption { font-size: .6rem; right: 4px; bottom: 4px; padding: 0 4px; }
  .hero-annotation { padding: 14px; }
  .hero-annotation p { font-size: .9rem; }
  .hero-annotation > div { gap: 8px; }
  .answer-pill { font-size: .75rem; }
  .time-code { font-size: .71rem; }
  .hero-takeaway { font-size: .84rem; max-width: 290px; margin-inline: auto; }
  .section { padding-block: 57px; }
  .overview { grid-template-columns: 1fr; gap: 20px; padding-top: 65px; }
  .overview .section-heading { margin: 0; }
  .overview-copy { font-size: .95rem; }
  h2 { font-size: 1.95rem; }
  .eyebrow { font-size: .7rem; margin-bottom: 15px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 25px 20px; padding-block: 25px; }
  .stats-grid > div:nth-child(2) { border: 0; }
  .stats-grid strong { font-size: 2rem; }
  .stats-grid span { font-size: .76rem; max-width: 150px; }
  .section-heading.horizontal { display: block; }
  .section-heading.horizontal > p { margin-top: 20px; max-width: none; }
  .example-toolbar { padding: 13px 10px; flex-wrap: wrap; gap: 9px; }
  .tabs { gap: 2px; }
  .tabs button { font-size: .875rem; padding: 5px 13px; }
  .split-label { font-size: .72rem; padding-left: 5px; }
  .example-frames { padding: 10px 10px 0; gap: 4px; }
  .example-content { padding: 17px 15px; }
  .example-content h3 { font-size: 1.1rem; }
  .example-meta { font-size: .72rem; }
  .choices { grid-template-columns: 1fr; gap: 7px; }
  .choices li { font-size: .875rem; padding: 9px 11px; }
  .example-note { font-size: .73rem; }
  .pipeline { grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
  .pipeline > .pipeline-card { padding-top: 15px; }
  .pipeline h3 { margin: 8px 0; }
  .pipeline-model { margin-top: 10px; }
  .statistics-figure { margin-top: 38px; padding-top: 35px; }
  .model-list article > div:first-child { padding-left: 77px; }
  .model-size { width: 66px; font-size: .72rem; }
  .model-list h3 { font-size: .95rem; }
  .model-list p { font-size: .76rem; }
  .model-list article > a { font-size: .75rem; }
  .model-variants { padding-left: 77px; }
  .model-variants span { font-size: .7rem; padding-inline: 8px; }
  .result-highlights { grid-template-columns: 1fr; gap: 25px; margin-bottom: 35px; }
  .result-highlights > div { padding-left: 17px; }
  .result-highlights strong { font-size: 2rem; margin-top: 4px; }
  .table-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .table-toolbar h3 { font-size: .95rem; }
  th, td { padding: 11px 14px; font-size: .875rem; }
  .table-note { font-size: .73rem; }
  .result-conclusion { font-size: .93rem; }
  .qualitative-figure { padding: 8px; }
  .figure-caption { font-size: .81rem; }
  .download-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 30px; }
  .download-source { padding-top: 15px; }
  .footer-content { flex-direction: column; align-items: flex-start; }
  .footer-content > div:last-child { gap: 18px; font-size: .74rem; }
  #figure-dialog { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Project branding and the playable paper teaser. */
.brand-logo { display: block; width: 166px; height: auto; }
.hero-logo { display: block; width: min(560px, 100%); height: auto; margin: 0 auto; }
.paper-teaser { max-width: 1200px; }
.paper-teaser-grid { display: grid; grid-template-columns: .9fr 1.4fr .9fr; gap: 20px; padding: 22px; align-items: center; }
.teaser-panel { margin: 0; min-width: 0; }
.teaser-panel img { width: 100%; height: auto; display: block; }
.teaser-example { min-width: 0; text-align: left; }
.teaser-example h2 { font-size: 1.2rem; letter-spacing: -.025em; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 13px; }
.teaser-question { font-weight: 650; line-height: 1.4; font-size: 1rem; margin-bottom: 9px; }
.teaser-meta { color: var(--muted); font-size: .82rem; margin-bottom: 10px; }
#teaser-video { display: block; width: 100%; aspect-ratio: 16/9; background: #101923; border-radius: 6px; }
.teaser-cues { margin-top: 12px; font-size: .84rem; line-height: 1.6; color: var(--body); }
.teaser-cues strong { color: var(--teal); }
.teaser-choices { list-style: none; padding: 0; margin: 12px 0; color: var(--body); font-size: .84rem; line-height: 1.5; }
.teaser-choices li { padding: 4px 8px; border-radius: 4px; }
.teaser-choices .correct { background: var(--green-bg); color: var(--teal); font-weight: 600; }
.teaser-reference { font-size: .82rem; color: var(--teal); margin-bottom: 0; }
.overview { display: block; padding-top: 48px; padding-bottom: 48px; }
.centered-heading { text-align: center; }
.abstract-copy { max-width: 960px; margin: 0 auto; }
.abstract-copy p { text-align: left; font-size: .95rem; line-height: 1.65; }
.overview > .section-heading { margin-bottom: 22px; }
.under-construction { text-align: center; color: var(--muted); }
@media (max-width: 900px) {
  .paper-teaser-grid { grid-template-columns: 1fr; gap: 28px; padding: 22px; }
  .teaser-panel { max-width: 440px; margin: 0 auto; width: 100%; }
  .teaser-example { max-width: 600px; margin: 0 auto; width: 100%; }
}
@media (max-width: 650px) {
  .brand-logo { width: 145px; }
  .paper-teaser-grid { padding: 16px; }
}

/* Reserved draft sections and the original paper teaser. */
[hidden] { display: none !important; }
.static-teaser .figure-button { display: block; width: 100%; padding: 0; border: 0; background: white; }
.static-teaser img { display: block; width: 100%; height: auto; }
.construction-status { font-weight: 400; letter-spacing: 0; text-transform: none; }
.construction .stats-band { margin: 30px 0 42px; }
.construction .stats-band .page-width { width: 100%; }
.statistics-placeholder { min-height: 220px; }
.leaderboard-placeholder { min-height: 65px; }
.qualitative-placeholder { min-height: 200px; }

.citation-box { position: relative; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); }
.citation-box pre { margin: 0; padding: 24px 60px 24px 24px; overflow-x: auto; font-size: .86rem; line-height: 1.7; }
.copy-citation { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); cursor: pointer; }
.copy-citation:hover { border-color: var(--teal); color: var(--teal); }
.copy-citation-status { min-height: 1.6em; margin-top: 8px; font-size: .86rem; color: var(--teal); }

/* Dataset statistics: one horizontally scrollable row. */
.dataset-statistics { margin-top: 55px; }
.statistics-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.statistics-toolbar h3 { margin: 0; font-size: 1.5rem; }
.statistics-controls { display: flex; gap: 8px; }
.statistics-controls button { border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 6px; padding: 6px 12px; cursor: pointer; font-size: .88rem; }
.statistics-controls button:hover:not(:disabled) { border-color: var(--teal); color: var(--teal); }
.statistics-controls button:disabled { opacity: .4; cursor: default; }
.statistics-legend { display: flex; gap: 24px; flex-wrap: wrap; font-size: .9rem; color: var(--body); }
.statistics-legend span { display: inline-flex; gap: 8px; align-items: center; }
.statistics-legend i { width: 18px; height: 10px; display: inline-block; border-radius: 2px; }
.statistics-train { background: #3779ae; }
.statistics-bench { background: #de8a42; }
.statistics-hint { margin: 9px 0 16px; font-size: .85rem; color: var(--muted); }
.statistics-strip { display: flex; flex-wrap: nowrap; gap: 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: auto; scrollbar-color: #9ab4c4 #e7eef3; padding: 2px 2px 18px; }
.statistics-card { flex: 0 0 min(270px, calc(100vw - 66px)); min-width: 0; margin: 0; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 10px; scroll-snap-align: start; }
.statistics-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 175px; border: 0; padding: 0; box-shadow: none; border-radius: 0; }
.statistics-image img { width: 100%; height: 100%; object-fit: contain; }
.statistics-card figcaption { margin-top: 16px; }
.statistics-card figcaption strong { font-size: 1rem; }
.statistics-card figcaption p { font-size: .88rem; line-height: 1.6; margin: 5px 0 0; color: var(--body); }
@media (max-width: 650px) {
  .statistics-toolbar { align-items: flex-start; gap: 10px; }
  .statistics-toolbar h3 { font-size: 1.2rem; }
  .statistics-controls button { padding: 5px 9px; font-size: .8rem; }
  .statistics-card { padding: 14px; }
  .statistics-image { height: 175px; }
  .statistics-legend { gap: 10px 18px; font-size: .84rem; }
}

.statistics-card figcaption strong { font-size: .88rem; }
.statistics-card figcaption p { font-size: .78rem; line-height: 1.5; white-space: normal; }

.pipeline-card { display: block; color: var(--ink); }
.pipeline-card:hover { text-decoration: none; border-color: var(--teal); }
.pipeline-card:focus-visible { border-color: var(--teal); }

/* Annotated dataset examples with playable evidence videos. */
.dataset-examples .section-heading > p { color: var(--body); margin-top: 12px; }
.example-video-layout { display: grid; grid-template-columns: 1fr 1.15fr; align-items: start; }
.example-media { padding: 26px 0 24px 24px; min-width: 0; }
#example-video { display: block; width: 100%; aspect-ratio: 16/9; border-radius: 6px; background: #101923; }
.example-media .example-note { margin-bottom: 0; }
.example-video-layout .example-meta { justify-content: flex-start; gap: 7px 18px; font-size: .86rem; }
.example-video-layout .example-content > .time-code { margin-bottom: 14px; }
.example-video-layout .choices { grid-template-columns: 1fr; }
.example-video-layout .choices li { font-size: .9rem; }
.example-video-layout .example-content { min-width: 0; }
@media (max-width: 900px) {
  .example-video-layout { grid-template-columns: 1fr; }
  .example-media { padding: 20px 20px 0; }
}
@media (max-width: 650px) {
  .example-media { padding: 15px 15px 0; }
  .example-video-layout .example-meta { font-size: .8rem; }
}

/* Shared video browser: modality, question type, and recorded human revisions. */
.example-primary-tabs, .example-subtabs { flex-wrap: wrap; }
.example-subtoolbar { padding: 14px 20px; border-bottom: 1px solid var(--line); background: white; }
.example-subtabs button { font-size: .86rem; padding: 5px 11px; }
.example-navigation { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding: 12px 22px 0; font-size: .85rem; }
.example-navigation button { border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--ink); padding: 5px 10px; cursor: pointer; }
.example-navigation button:disabled { opacity: .4; cursor: default; }
.example-metadata { margin-top: 16px; color: var(--body); font-size: .88rem; line-height: 1.65; }
.example-metadata p { margin: 0 0 4px; }
.example-metadata .time-code { overflow-wrap: anywhere; }
.example-review { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.example-review h4 { margin: 0 0 12px; font-size: 1rem; }
.review-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.review-comparison > div { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 12px; min-width: 0; }
.review-comparison .review-after { border-color: #bedac9; }
.review-comparison h5 { font-size: .86rem; margin: 0 0 8px; }
.review-comparison p, .review-comparison li { font-size: .85rem; overflow-wrap: anywhere; }
.review-comparison ul { list-style: none; padding: 0; margin: 0; }
.review-comparison li + li { margin-top: 6px; }
.review-after h5 { color: var(--teal); }
@media (max-width: 650px) {
  .example-subtoolbar { padding: 10px; }
  .example-primary-tabs button { font-size: .82rem; padding: 5px 10px; }
  .example-subtabs button { font-size: .79rem; padding: 4px 8px; }
  .example-navigation { padding: 10px 12px 0; gap: 9px; font-size: .78rem; }
  .example-navigation button { padding: 4px 7px; }
  .review-comparison { grid-template-columns: 1fr; }
}

.example-context-bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 24px 0; }
.example-context-labels { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--body); font-size: .86rem; }
.example-context-bar .example-navigation { padding: 0; gap: 9px; flex-shrink: 0; }
.example-context-bar .example-navigation button { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; font-size: 24px; line-height: 1; }
@media (max-width: 650px) {
  .example-context-bar { padding: 12px 15px 0; align-items: flex-start; gap: 10px; }
  .example-context-labels { font-size: .8rem; gap: 5px 12px; }
}

/* Dataset heading and equally weighted construction/statistics/examples subsections. */
#overview, #dataset, #experiments, #results { padding-block: 48px; }
#results { background: #fff; }
#dataset .dataset-heading { margin-bottom: 28px; }
.dataset-construction-heading { margin: 0; }
#dataset .dataset-subheading { margin: 0; font-size: 1.5rem; font-weight: 650; line-height: 1.3; letter-spacing: -.025em; }
.construction-tagline { margin: 8px 0 0; font-size: 1.05rem; line-height: 1.5; color: var(--ink); }
.construction-description { max-width: none; margin: 8px 0 0; font-size: .95rem; color: var(--body); }
#dataset .pipeline { margin-top: 24px; }
#dataset .dataset-examples { margin-top: 55px; }
#dataset .dataset-examples > .section-heading { margin-bottom: 24px; }
@media (max-width: 650px) {
  #overview, #dataset, #experiments, #results { padding-block: 40px; }
  #dataset .dataset-subheading { font-size: 1.2rem; }
}

#overview-title, #dataset-title, #experiments-title, #results-title { font-size: clamp(2rem, 3.5vw, 2.85rem); line-height: 1.18; font-weight: 650; }
#results > .page-width > .section-heading { margin-bottom: 28px; }
@media (max-width: 650px) {
  #overview-title, #dataset-title, #experiments-title, #results-title { font-size: 1.95rem; }
}

/* Resource buttons use service colors and recognizable icons. */
.resource-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.resource-hf-icon { font-size: 1.3rem; line-height: 1; }
.resource.resource-code { background: #24292f; border-color: #24292f; color: white; }
.resource.resource-code:hover { background: #3b4148; border-color: #3b4148; }
.resource.resource-dataset { background: #fff4cc; border-color: #f0cd58; color: #594512; }
.resource.resource-dataset:hover { background: #ffedac; }
.resource.resource-models { background: #e87924; border-color: #e87924; color: white; }
.resource.resource-models:hover { background: #cd651a; border-color: #cd651a; }
.resource.resource-arxiv { color: #b31b1b; border-color: #e3bcbc; background: #fff7f7; }

/* Keep the section navigation prominent without competing with the title. */
#main-nav { gap: 8px; }
#main-nav a { padding: 8px 15px; border-radius: 999px; font-size: .92rem; font-weight: 650; color: var(--ink); background: #f0f6f3; transition: background .15s, color .15s; }
#main-nav a:hover { background: #deeee6; color: #125c4c; text-decoration: none; }
#main-nav a[aria-current="location"] { background: var(--teal); color: white; }
@media (max-width: 650px) {
  #main-nav a { padding: 9px 15px; }
}

.experimental-results { background: white; }
.results-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.results-tabs button { border-color: var(--line); }
.results-tabs button[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: white; }
.results-placeholder { min-height: 160px; display: grid; place-items: center; color: var(--muted); }
#results { border-top: 1px solid var(--line); }

.paper-results-panel { margin-top: 26px; }
.paper-results-scroll { background: white; border: 1px solid var(--line); border-radius: 8px; }
.paper-results-table { width: 100%; font-size: .86rem; font-variant-numeric: tabular-nums; }
.paper-results-table th, .paper-results-table td { white-space: nowrap; padding: 12px 15px; }
.paper-results-table th:first-child { text-align: left; }
.paper-results-table td, .paper-results-table thead th:not(:first-child) { text-align: right; }
.paper-results-table thead small { display: block; font-size: .72rem; color: var(--muted); font-weight: 450; margin-top: 5px; }
.paper-results-table .ours { background: #edf4fa; }
.paper-results-table a { color: inherit; }
.paper-results-table a:hover { color: var(--teal); }
.paper-results-panel .table-note { font-size: .78rem; line-height: 1.65; margin-top: 14px; }
#results-panel-qa .paper-results-table { font-size: .79rem; }
#results-panel-qa .paper-results-table th, #results-panel-qa .paper-results-table td { padding: 11px 13px; }

/* Equal-width score slots keep decimal points aligned within centered columns. */
.paper-results-table td, .paper-results-table thead th:not(:first-child) { text-align: center; }
.decimal-score { display: inline-grid; grid-template-columns: 3ch 3ch; font-variant-numeric: tabular-nums; white-space: nowrap; }
.decimal-integer { text-align: right; }
.decimal-fraction { text-align: left; }
#results-panel-qa .paper-results-table th:first-child { position: sticky; left: 0; z-index: 1; background: white; }
#results-panel-qa .paper-results-table tr.ours th:first-child { background: #edf4fa; }
#results-panel-qa .paper-results-table thead th:first-child { z-index: 2; background: #f5f8fa; }

.leaderboard-controls { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 15px; }
.leaderboard-filters { display: flex; flex-wrap: wrap; gap: 16px; }
.leaderboard-filters label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--body); }
.leaderboard-filters select { min-width: 150px; padding: 8px 30px 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); }
.submit-results { padding: 10px 18px; border-radius: 7px; background: var(--teal); color: white; font-weight: 600; white-space: nowrap; }
.submit-results:hover { background: #125c4c; text-decoration: none; }
.leaderboard-status { font-size: .82rem; color: var(--muted); margin: 0 0 12px; }
.leaderboard-table { width: 100%; font-size: .9rem; font-variant-numeric: tabular-nums; }
.leaderboard-table th, .leaderboard-table td { text-align: center; white-space: nowrap; padding: 12px 16px; }
.leaderboard-table th:nth-child(2) { text-align: left; }
.leaderboard-table th[scope="row"] { font-weight: 550; }
.leaderboard-table th[scope="row"] a { color: var(--ink); }
.leaderboard-table th[scope="row"] a:hover { color: var(--teal); }
.leaderboard-table thead button { border: 0; background: transparent; padding: 0; color: inherit; font-weight: inherit; }
.leaderboard-table th[aria-sort="descending"], .leaderboard-table th[aria-sort="ascending"] { color: var(--teal); }
@media (max-width: 650px) {
  .leaderboard-controls { align-items: stretch; flex-direction: column; }
  .leaderboard-filters { gap: 12px; }
  .leaderboard-filters label { flex: 1; }
  .leaderboard-filters select { min-width: 0; width: 100%; }
  .submit-results { align-self: flex-start; }
}

.leaderboard-chart { margin: 24px 0 30px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 9px; background: #f8fbfa; }
.leaderboard-chart h3 { font-size: 1rem; margin-bottom: 20px; }
#leaderboard-chart-bars { display: grid; gap: 12px; }
.leaderboard-chart-row { display: grid; grid-template-columns: 235px minmax(0, 1fr) 65px; gap: 15px; align-items: center; }
.leaderboard-chart-label { font-size: .82rem; line-height: 1.3; }
.leaderboard-chart-track { height: 19px; background: #e7efeb; border-radius: 3px; overflow: hidden; }
.leaderboard-chart-bar { height: 100%; background: var(--teal); border-radius: 3px; }
.leaderboard-chart-score { text-align: right; font-size: .82rem; font-variant-numeric: tabular-nums; }
@media (max-width: 650px) {
  .leaderboard-chart { padding: 18px 12px; }
  .leaderboard-chart-row { grid-template-columns: minmax(0, 1fr) 58px; gap: 5px 10px; }
  .leaderboard-chart-label { grid-column: 1 / -1; }
  .leaderboard-chart-score { font-size: .78rem; }
}

/* Compact vertical chart above the leaderboard controls. */
.leaderboard-chart { margin: 0 0 24px; padding: 18px 20px; }
.leaderboard-chart h3 { margin-bottom: 10px; }
.leaderboard-chart-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 16px; font-size: .75rem; color: var(--body); }
.leaderboard-chart-legend > span { display: inline-flex; gap: 6px; align-items: center; }
.chart-key { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.chart-key.open-weights, .open-weights .leaderboard-chart-bar { background: #167965; }
.chart-key.proprietary, .proprietary .leaderboard-chart-bar { background: #bd722b; }
#leaderboard-chart-bars { display: flex; gap: 10px; overflow-x: auto; padding: 16px 0 5px; }
.leaderboard-chart-row { display: flex; flex: 1 0 70px; min-width: 70px; flex-direction: column; gap: 9px; align-items: stretch; }
.leaderboard-chart-track { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 155px; background: transparent; border-bottom: 1px solid var(--line); border-radius: 0; overflow: visible; }
.leaderboard-chart-bar { width: 65%; max-width: 46px; border-radius: 3px 3px 0 0; }
.leaderboard-chart-score { position: absolute; bottom: calc(var(--bar-height, 100%) + 4px); width: 100%; text-align: center; font-size: .7rem; }
.leaderboard-chart-label { font-size: .64rem; line-height: 1.3; text-align: center; overflow-wrap: anywhere; max-width: 105px; align-self: center; }
.leaderboard-table { font-size: .8rem; }
.leaderboard-table th, .leaderboard-table td { padding: 7px 12px; line-height: 1.4; }
@media (max-width: 650px) {
  .leaderboard-chart { padding: 15px 12px; }
  .leaderboard-chart-row { flex-basis: 68px; min-width: 68px; }
  .leaderboard-chart-track { height: 125px; }
  .leaderboard-chart-score { font-size: .67rem; }
  .leaderboard-chart-label { font-size: .61rem; }
  .leaderboard-table th, .leaderboard-table td { padding: 6px 9px; }
}

.leaderboard-chart-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 12px; }
.leaderboard-chart-header h3 { margin: 0; }
.leaderboard-chart-header .leaderboard-chart-legend { grid-column: 2; justify-content: center; margin: 0; }
#leaderboard-chart-bars { padding-top: 24px; }
@media (max-width: 650px) {
  .leaderboard-chart-header { grid-template-columns: auto 1fr; gap: 8px; }
  .leaderboard-chart-header h3 { font-size: .85rem; }
  .leaderboard-chart-header .leaderboard-chart-legend { font-size: .65rem; gap: 10px; }
}

/* Compact paper result tables; keep the headline QA average easy to locate. */
.paper-results-table { font-size: .79rem; }
.paper-results-table th, .paper-results-table td { padding: 7px 10px; line-height: 1.4; }
#results-panel-qa .paper-results-table { font-size: .75rem; }
#results-panel-qa .paper-results-table th, #results-panel-qa .paper-results-table td { padding: 7px 10px; }
#results-panel-qa .paper-results-table tr > :nth-child(2) { background: #e5f2eb; border-left: 1px solid #b7d6c6; border-right: 1px solid #b7d6c6; color: #155e4b; }
#results-panel-qa .paper-results-table thead th:nth-child(2) { background: #d3e9dd; }

#results-panel-qa .paper-results-table tbody td:nth-child(2) { font-weight: 400; }
#results-panel-qa .paper-results-table tbody td:nth-child(2) .best { font-weight: 750; }

.benchmark-breakdown-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.benchmark-breakdown-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.benchmark-breakdown-tabs button { font-size: .82rem; padding: 6px 12px; border-color: var(--line); }
.benchmark-breakdown-tabs button[aria-selected="true"] { background: #e5f2eb; border-color: #b7d6c6; color: #155e4b; }
.breakdown-metric-control { display: flex; align-items: center; gap: 8px; font-size: .82rem; }
.breakdown-metric-control select { padding: 6px 10px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--ink); }
#type-breakdown-table thead th:not(:first-child) { white-space: normal; min-width: 100px; }
#type-breakdown-table tr > :nth-child(2), #modality-breakdown-table tr > :nth-child(2) { border-right: 1px solid var(--line); }

#type-breakdown-table tr > :nth-child(2), #modality-breakdown-table tr > :nth-child(2) { background: #e5f2eb; border-left: 1px solid #b7d6c6; border-right: 1px solid #b7d6c6; color: #155e4b; }
#type-breakdown-table thead th:nth-child(2), #modality-breakdown-table thead th:nth-child(2) { background: #d3e9dd; }

.content-rights-notice { margin-top: 18px; font-size: .75rem; line-height: 1.65; color: var(--muted); }
.content-rights-notice a { text-decoration: underline; text-underline-offset: 2px; }

.visitor-map { width: min(340px, calc(100% - 40px)); margin: 0 auto 30px; text-align: center; }
.visitor-map-title { margin-bottom: 10px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.visitor-map-widget { width: 100%; }
.visitor-map-widget img, .visitor-map-widget iframe, .visitor-map-widget canvas { max-width: 100%; }
.visitor-map-statistics { display: inline-block; margin-top: 8px; font-size: .72rem; color: var(--muted); }

.resources-header { display: flex; justify-content: space-between; align-items: center; gap: 35px; margin-bottom: 32px; }
.resources-header > .section-heading { flex: 1; margin: 0; }
.resources-header .visitor-map { flex: 0 0 280px; width: 280px; margin: 0; }
.get-started .visitor-map-title { color: white; }
.get-started .visitor-map-statistics { color: #bed0da; }
@media (max-width: 700px) {
  .resources-header { flex-direction: column; align-items: stretch; gap: 24px; }
  .resources-header .visitor-map { flex: none; width: min(280px, 100%); align-self: center; }
}
