:root {
  color-scheme: light;
  --ink: #24282d;
  --muted: #636b75;
  --blue: #245ca6;
  --line: #dce1e6;
  --soft: #f5f7f9;
  --width: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.65; background: #fff; }
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a, summary, select { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { color: inherit; }
button { background: none; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, video { display: block; max-width: 100%; }
button, a, select, summary, [tabindex] { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--blue); }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.25; color: #20252c; }
h2 { font-size: 30px; font-weight: 650; letter-spacing: -.5px; }
h3 { font-size: 20px; font-weight: 600; }
strong { font-weight: 650; }
sup { font-size: .68em; margin-left: 2px; }
.container { width: min(var(--width), calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 64px; scroll-margin-top: 78px; }
#main { scroll-margin-top: 78px; }
.section-heading { text-align: center; margin: 0 auto 34px; max-width: 850px; }
.section-heading p { color: var(--muted); margin-top: 14px; font-size: 16px; line-height: 1.7; }
.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; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 10px 20px; background: white; border: 1px solid var(--blue); }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #e9ecf0; }
.nav-wrap { max-width: 1280px; min-height: 62px; padding: 0 32px; margin: auto; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #30353c; font-size: 16px; font-weight: 650; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; }
#site-nav { display: flex; gap: 26px; margin: auto; }
#site-nav a, .nav-paper { color: #626a74; font-size: 13px; font-weight: 500; }
#site-nav a:hover, #site-nav a.active { color: var(--blue); }
.nav-paper { color: var(--blue); white-space: nowrap; }
.menu-button { display: none; }
.hero { text-align: center; padding: 49px 0 29px; }
.hero h1 { font-size: 48px; font-weight: 700; letter-spacing: -1.4px; }
.paper-title { max-width: 1040px; margin: 12px auto 23px; font-size: 29px; line-height: 1.35; font-weight: 500; letter-spacing: -.5px; }
.authors { display: flex; flex-wrap: wrap; gap: 7px 23px; justify-content: center; color: var(--blue); font-size: 16px; }
.authors > span { white-space: nowrap; }
.affiliations { margin: 20px auto 0; display: flex; align-items: center; justify-content: center; gap: 25px; }
.affiliations > span { display: inline-block; font-size: 15px; }
.contribution { margin-top: 12px; color: #737982; font-size: 12px; }
.contribution span { margin: 0 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 39px; padding: 8px 17px; border: 1px solid #cdd3da; border-radius: 5px; color: #343c47; background: white; font-size: 13px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.button:hover { text-decoration: none; border-color: #8b9aad; background: #f6f8fb; }
.button-dark { color: white; background: #343d49; border-color: #343d49; }
.button-dark:hover { color: white; background: #222c39; border-color: #222c39; }
.button-accent { color: var(--blue); border-color: #b6cbe3; background: #f6f9fd; }
.video-section { max-width: 1040px; scroll-margin-top: 78px; }
.video-player { position: relative; }
#explainer { width: 100%; aspect-ratio: 16/9; border-radius: 5px; background: #101a26; border: 1px solid #d9dfe5; }
.video-start { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px; padding: 14px 21px; border: 1px solid #cbd5e1; border-radius: 40px; background: #fff; color: #24354b; font-size: 15px; font-weight: 600; white-space: nowrap; box-shadow: 0 3px 16px #0003; }
.video-start:hover { background: #edf3fa; }
.video-start span { color: var(--blue); font-size: 19px; }
.video-caption { margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); }
.video-options { display: flex; align-items: center; justify-content: flex-end; gap: 18px; flex-wrap: wrap; }
.video-options label { display: flex; align-items: center; gap: 7px; }
.video-options select { max-width: 180px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 4px; color: #445268; background: #fff; font-size: 12px; }
.video-feedback { margin-top: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--soft); font-size: 13px; color: var(--muted); }
#video-recovery { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 9px; }
@media (max-width: 700px) { .video-caption { flex-wrap: wrap; } .video-options { justify-content: flex-start; gap: 12px; } .video-start { padding: 10px 16px; font-size: 13px; } }
.caption-separator { padding: 0 6px; }
.abstract-section { max-width: 940px; }
.abstract-section h2 { text-align: center; margin-bottom: 25px; }
.abstract-text { font-size: 16px; line-height: 1.85; text-align: justify; }
.research-summary { border-left: 3px solid #b7cce3; padding: 12px 18px; margin-top: 24px; background: #f7f9fc; font-size: 14px; line-height: 1.8; }
#method, #analysis { border-top: 1px solid #e9ecf0; }
.method-pipeline { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 27px; font-size: 12px; color: #5e6772; flex-wrap: wrap; }
.method-pipeline b { color: #8a95a0; font-weight: 400; }
.pipeline-accent { font-weight: 600; color: var(--blue); }
.framework-figure { max-width: 1000px; margin: auto; }
.figure-zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: white; }
.figure-zoom img { width: 100%; height: auto; }
.zoom-tag { position: absolute; right: 0; bottom: 0; padding: 5px 10px; color: #67727d; background: #fff; border: 1px solid var(--line); border-radius: 3px; font-size: 11px; }
figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-size: 13px; }
.method-components { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 39px; }
.method-components article { min-width: 0; border-top: 2px solid #d7dfe8; padding-top: 18px; }
.component-index { color: var(--blue); font-size: 12px; font-weight: 650; }
.method-components h3 { margin-top: 8px; font-size: 21px; }
.method-components h3 br { display: none; }
.component-type { color: var(--muted); font-size: 12px; margin-top: 8px; }
.method-components article > p:not(.component-type) { font-size: 14px; line-height: 1.75; margin: 16px 0; min-height: 123px; }
.formula { display: flex; align-items: center; justify-content: center; min-height: 82px; padding: 12px 8px; background: #f6f7f9; border-radius: 3px; font-size: 20px; overflow-x: auto; }
.source-note { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.credit-details { margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credit-details summary, .prompt-details summary { display: flex; justify-content: space-between; gap: 12px; list-style: none; padding: 15px 0; font-size: 14px; color: #384452; }
summary::-webkit-details-marker { display: none; }
.credit-details[open] summary > span:last-child, .prompt-details[open] summary > span:last-child { transform: rotate(45deg); }
.credit-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 45px; padding: 13px 0 27px; }
.credit-layout h3 { font-size: 18px; margin-bottom: 14px; }
.credit-layout p { font-size: 14px; color: #535d68; margin-bottom: 12px; }
.credit-equations { min-width: 0; padding: 20px 14px; background: #f6f7f9; border-radius: 3px; }
.credit-equations math { font-size: 21px; margin: 6px 0 22px; }
.credit-equations .source-note { text-align: center; }
.results-section > .container { width: min(1400px, calc(100% - 64px)); }
.results-section { border-top: 1px solid #e9ecf0; }
.table-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 17px; }
.table-heading p { font-size: 13px; color: #4d5661; }
.results-table .model-heading { position: sticky; left: 0; z-index: 3; box-shadow: 1px 0 #dce1e7; }
.results-table tbody th[scope="row"] { position: sticky; left: 0; z-index: 2; box-shadow: 1px 0 #dce1e7; }
.table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.results-table { width: 100%; min-width: 1260px; border-collapse: separate; border-spacing: 0; table-layout: fixed; border-top: 2px solid #394550; border-bottom: 2px solid #394550; font-size: 12px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.model-col { width: 214px; }
.date-col { width: 61px; }
.size-col { width: 94px; }
.metric-col { width: 70px; }
.rank-col { width: 68px; }
.results-table th, .results-table td { padding: 9px 6px; text-align: center; }
.results-table th { font-weight: 500; }
.results-table thead th { color: #394552; }
.results-table .benchmark-groups th { font-size: 13px; font-weight: 650; padding-top: 17px; padding-bottom: 12px; background: #fff; }
.results-table .benchmark-groups th[rowspan] { border-bottom: 1px solid #8e99a7; }
.results-table .metric-headings th { font-size: 11px; color: #626e7c; padding-top: 10px; padding-bottom: 12px; border-top: 1px solid #dde2e8; border-bottom: 1px solid #8e99a7; background: #fff; }
.results-table .model-heading, .results-table tbody th { text-align: left; padding-left: 14px; }
.results-table .model-metadata { color: #74808e; font-size: 11px; }
.results-table abbr { text-decoration: none; cursor: help; }
.results-table .delta-row > * { color: #2b6098; background: #f5f8fc; border-top: 1px solid #d4e0ed; border-bottom: 0; font-weight: 600; }
.table-coverage { color: #7b8592; font-size: 11px; white-space: nowrap; }
.table-scroll-hint { display: none; margin-bottom: 10px; color: #7b8592; font-size: 11px; }
@media (max-width: 1324px) { .table-scroll-hint { display: block; } }
.results-table .direction { color: #8591a0; padding-left: 0; }
.results-table .group-start { border-left: 1px solid #e7ebef; }
.results-table tbody td, .results-table tbody th { background: #fff; border-bottom: 1px solid #edf0f3; }
.results-table tbody tr:not(.model-group):hover > * { background: #f7f9fb; }
.results-table .model-group th { background: #f5f6f8; padding: 8px 17px; font-size: 11px; font-weight: 650; letter-spacing: .2px; color: #697583; border-bottom: 1px solid #e4e8ed; }
.results-table tr.base > * { background: #f2f4f7; }
.results-table tr.ours > * { background: #eaf2fb; border-bottom: 0; }
.results-table tr.ours:hover > * { background: #e3edf9; }
.results-table tr.ours > th { color: #214f87; box-shadow: inset 3px 0 #3c73b4; font-weight: 650; }
.table-badge { display: inline-block; margin-left: 6px; padding: 2px 4px; font-size: 9px; line-height: 1.2; border: 1px solid #b9c2cf; border-radius: 3px; color: #596676; font-weight: 500; vertical-align: 1px; }
.ours .table-badge { border-color: #b4cbe6; color: #35659f; }
.results-table strong { font-weight: 750; }
.table-notes { margin-top: 14px; color: #6c7581; font-size: 12px; line-height: 1.7; }
.table-notes p + p { margin-top: 5px; }
.analysis-tabs { scroll-margin-top: 85px; display: flex; justify-content: center; border-bottom: 1px solid var(--line); gap: 32px; }
.analysis-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 14px 5px; font-size: 12px; color: #87919e; }
.analysis-tabs button span { margin-left: 8px; font-size: 14px; color: #606b78; }
.analysis-tabs button[aria-selected="true"] { border-bottom-color: var(--blue); color: var(--blue); }
.analysis-tabs button[aria-selected="true"] span { color: var(--blue); font-weight: 600; }
.analysis-panel { padding: 28px 0 0; }
.analysis-insight { max-width: 860px; margin-bottom: 20px; }
.analysis-insight h3 { font-size: 19px; margin-bottom: 11px; }
.analysis-insight p { font-size: 14px; line-height: 1.8; color: #56616e; }
.analysis-panel > img { width: 100%; height: auto; }
.analysis-panel > .source-note { text-align: center; }
.analysis-chapter { margin-top: 44px; padding-top: 35px; border-top: 1px solid var(--line); scroll-margin-top: 85px; }
.analysis-chapter-heading .source-note { margin: 0 0 9px; font-size: 11px; }
.analysis-chapter-heading h3 { font-size: 22px; line-height: 1.4; }
.analysis-chapter-text { max-width: 1000px; margin-top: 16px; color: #56616e; font-size: 14px; line-height: 1.85; }
.analysis-legend { display: flex; justify-content: center; gap: 25px; margin: 28px 0 16px; color: #647181; font-size: 12px; }
.analysis-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.analysis-legend i { width: 9px; height: 9px; border-radius: 50%; }
.legend-base { background: #6d8eb5; }
.legend-trained { background: #287564; }
.diagnostic-figures { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.diagnostic-figures figure { min-width: 0; }
.diagnostic-figures h4 { margin: 7px 0 0; text-align: center; color: #495769; font-size: 15px; font-weight: 600; }
.analysis-source { text-align: center; }
.analysis-data { margin-top: 21px; border-top: 1px solid #e5e9ee; border-bottom: 1px solid #e5e9ee; }
.analysis-data summary { display: flex; justify-content: space-between; padding: 13px 0; color: #647181; font-size: 12px; list-style: none; }
.analysis-data[open] summary span { transform: rotate(45deg); }
.diagnostic-data-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; padding-bottom: 22px; }
.diagnostic-data-table { border-collapse: collapse; width: 100%; font-size: 12px; font-variant-numeric: tabular-nums; }
.diagnostic-data-table caption { text-align: left; padding: 9px 0; color: #485768; font-weight: 600; }
.diagnostic-data-table th, .diagnostic-data-table td { padding: 8px 9px; border-bottom: 1px solid #e9edf1; text-align: right; }
.diagnostic-data-table th { font-weight: 500; }
.diagnostic-data-table th:first-child { text-align: left; }
.diagnostic-data-table thead th { color: #6c7a8b; font-size: 11px; background: #f8f9fb; }
.refinement-results { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 25px; align-items: center; }
.refinement-table-wrap { min-width: 0; }
.refinement-table-caption { color: #5f6b7a; font-size: 12px; margin-bottom: 14px; }
.refinement-table-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.refinement-table { width: 100%; min-width: 485px; table-layout: fixed; border-collapse: collapse; border-top: 2px solid #647181; border-bottom: 2px solid #647181; font-size: 13px; font-variant-numeric: tabular-nums; }
.refinement-table th, .refinement-table td { padding: 10px 6px; text-align: center; }
.refinement-table th { font-weight: 500; }
.refinement-table th:first-child { width: 57px; }
.refinement-table thead tr:first-child th { font-size: 12px; font-weight: 600; padding-top: 14px; padding-bottom: 12px; }
.refinement-table thead tr:last-child th { border-top: 1px solid #e2e7ee; font-size: 12px; color: #748090; }
.refinement-table thead { border-bottom: 1px solid #bbc5d1; }
.refinement-table tbody tr { border-bottom: 1px solid #e9edf2; }
.refinement-table tbody tr:nth-child(even) { background: #f8fafc; }
.refinement-table .group-start { border-left: 1px solid #e7ebf0; }
.refinement-table abbr { text-decoration: none; cursor: help; }
.refinement-table strong { font-weight: 750; }
.refinement-table-wrap .source-note { font-size: 11px; line-height: 1.7; }
@media (max-width: 1000px) {
  .refinement-results { grid-template-columns: 1fr; gap: 16px; }
  .refinement-chart { max-width: 620px; width: 100%; margin: auto; }
}
@media (max-width: 700px) {
  .analysis-chapter { margin-top: 30px; padding-top: 27px; }
  .analysis-chapter-heading h3 { font-size: 20px; }
  .analysis-chapter-text { font-size: 13px; margin-top: 12px; }
  .analysis-legend { gap: 18px; font-size: 10px; flex-wrap: wrap; }
  .diagnostic-figures, .diagnostic-data-grid { grid-template-columns: 1fr; gap: 15px; }
  .diagnostic-figures h4 { font-size: 14px; }
  .diagnostic-data-table { font-size: 11px; }
  .diagnostic-data-table th, .diagnostic-data-table td { padding-inline: 5px; }
  .refinement-table-caption { font-size: 11px; }
  .refinement-table { min-width: 440px; font-size: 12px; }
  .refinement-table thead tr:first-child th { font-size: 11px; }
  .refinement-table tbody th, .refinement-table thead tr:first-child th:first-child { position: sticky; left: 0; background: #fff; box-shadow: 1px 0 #dce1e7; }
  .refinement-table tbody tr:nth-child(even) th { background: #f8fafc; }
}
.demo-section { border-top: 1px solid #e9ecf0; }
.featured-picker { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; margin-bottom: 30px; }
.example-choice { min-width: 0; padding: 4px; border: 1px solid #dce1e7; border-radius: 4px; text-align: left; background: white; }
.example-choice img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 2px; }
.example-choice > span { display: flex; justify-content: space-between; gap: 5px; padding: 8px 4px 4px; font-size: 11px; font-weight: 500; }
.example-choice b { color: #8a94a0; font-size: 10px; font-weight: 400; }
.example-choice[aria-pressed="true"] { border-color: #477bb9; box-shadow: 0 0 0 1px #477bb9; }
.example-choice[aria-pressed="true"] > span { color: var(--blue); }
.demo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.eyebrow { display: block; color: #7b8591; font-size: 11px; line-height: 1.5; }
.demo-toolbar h3 { margin-top: 4px; font-size: 24px; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-actions .button { font-size: 12px; min-height: 37px; padding: 7px 13px; }
.prompt-details { margin-top: 17px; border-top: 1px solid var(--line); }
.prompt-details summary { font-size: 12px; color: #647181; padding: 12px 0; }
.prompt-details p { margin-bottom: 18px; padding: 17px 20px; background: #f7f8fa; font-size: 13px; line-height: 1.75; color: #5b6572; white-space: pre-wrap; max-height: 240px; overflow: auto; }
.demo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.demo-grid.all-models { grid-template-columns: repeat(3,minmax(0,1fr)); }
.demo-recording { min-width: 0; border: 1px solid #dce2e9; border-radius: 4px; overflow: hidden; }
.recording-label { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 10px 12px; color: #404c5a; background: #f8f9fb; font-size: 12px; line-height: 1.4; }
.recording-label > span { display: inline-flex; align-items: center; gap: 7px; }
.model-indicator { width: 6px; height: 6px; background: #96a1ae; border-radius: 50%; flex: 0 0 6px; }
.ours .model-indicator { background: #3c73b4; }
.demo-recording.ours { border-color: #afc9e5; }
.demo-recording.ours .recording-label { color: #2c5f9f; background: #f0f5fb; font-weight: 600; }
.recording-label button { padding: 0; border: 0; color: var(--blue); font-size: 10px; white-space: nowrap; }
.demo-recording video { width: 100%; aspect-ratio: 8/5; object-fit: contain; background: #101820; }
.demo-footnote { display: flex; justify-content: space-between; gap: 20px; margin-top: 14px; color: #7b8592; font-size: 10px; line-height: 1.6; }
.demo-footnote span:last-child { text-align: right; }
.explore-more { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.explore-more h3 { font-size: 18px; }
.explore-more p { color: #707b87; font-size: 13px; margin-top: 5px; }
.loading-message { padding: 50px 20px; font-size: 14px; color: var(--muted); }
.citation-section { max-width: 940px; border-top: 1px solid #e9ecf0; }
.citation-box { border: 1px solid #e0e4ea; border-radius: 4px; background: #f6f7f9; overflow: hidden; }
.citation-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; border-bottom: 1px solid #e1e5eb; color: #6f7a87; font-size: 12px; }
.icon-text { border: 0; padding: 3px 0; font-size: 12px; color: #596f89; }
.citation-box pre { margin: 0; padding: 23px 26px; overflow-x: auto; color: #45515f; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.site-footer { border-top: 1px solid #e9ecf0; padding-block: 26px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.site-footer .brand { font-size: 13px; }
.site-footer .brand img { width: 21px; height: 21px; }
.site-footer p, .site-footer > a:last-child { color: #7b8591; font-size: 11px; }
.site-footer p span { margin: 0 6px; }
dialog { color: var(--ink); border: 1px solid #d7dee7; border-radius: 7px; background: white; box-shadow: 0 18px 80px #111a2b33; }
dialog::backdrop { background: #13203699; }
.playground-dialog { width: min(1500px,calc(100vw - 48px)); max-height: calc(100dvh - 48px); padding: 27px; }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.dialog-heading h2 { font-size: 26px; margin-top: 4px; }
.close-dialog { display: grid; place-items: center; width: 35px; height: 35px; padding: 0; border: 1px solid #dce1e8; border-radius: 4px; font: 26px/1 Arial,sans-serif; color: #677381; flex-shrink: 0; }
.playground-controls { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; align-items: end; gap: 15px; }
.playground-controls label { min-width: 0; display: grid; gap: 6px; font-size: 11px; color: #707b89; }
.playground-controls select { width: 100%; min-width: 0; padding: 10px; border: 1px solid #cad3df; border-radius: 4px; background: #fff; color: #35485e; font-size: 12px; height: 40px; }
.playground-tip { margin: 15px 0; color: #737f8d; font-size: 11px; }
.playground-frames { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.live-artifact { min-width: 0; }
.live-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; color: #394b61; }
.live-heading > a { font-size: 11px; }
.live-viewport { width: 100%; aspect-ratio: 8/5; background: #121720; overflow: hidden; border-radius: 3px; }
.live-viewport iframe { display: block; width: 1280px; height: 800px; max-width: none; border: 0; transform-origin: top left; }
.image-dialog { width: min(1450px,calc(100vw - 50px)); max-height: calc(100dvh - 40px); padding: 50px 20px 20px; }
.image-dialog .close-dialog { position: absolute; right: 12px; top: 10px; }
.image-dialog > img { width: 100%; height: auto; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 60; max-width: calc(100vw - 30px); background: #29394e; color: white; padding: 12px 24px; border-radius: 4px; font-size: 13px; box-shadow: 0 3px 16px #16202f22; }
@media (min-width: 1400px) { .hero { padding-top: 54px; } }
@media (max-width: 1000px) {
  .nav-wrap { gap: 20px; }
  #site-nav { gap: 19px; margin-left: auto; margin-right: 0; }
  .nav-paper { display: none; }
  .paper-title { font-size: 26px; }
  .authors { gap: 6px 18px; font-size: 14px; }
  .table-heading { align-items: flex-start; }
  .table-heading p { max-width: 55%; }
  .method-components { gap: 22px; }
  .method-components h3 { font-size: 18px; }
  .method-components article > p:not(.component-type) { min-height: 172px; }
  .featured-picker { gap: 8px; }
  .example-choice > span { font-size: 10px; }
  .example-choice b { display: none; }
  .demo-grid.all-models { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .demo-actions .button { padding: 7px 10px; font-size: 11px; }
  .playground-controls { grid-template-columns: 1fr 1fr; }
  .playground-controls .button { width: max-content; }
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 36px); }
  .section { padding-block: 43px; scroll-margin-top: 69px; }
  h2 { font-size: 26px; }
  .section-heading { margin-bottom: 25px; }
  .section-heading p { font-size: 14px; margin-top: 11px; }
  .nav-wrap { min-height: 55px; padding: 0 18px; justify-content: space-between; }
  .brand { font-size: 14px; }
  .brand img { width: 23px; height: 23px; }
  .menu-button { display: flex; align-items: center; gap: 9px; padding: 6px 0 6px 10px; border: 0; font-size: 12px; color: #5d6b7b; }
  #site-nav { display: none; position: absolute; top: 55px; left: 0; right: 0; padding: 15px 20px 19px; background: #fff; border-bottom: 1px solid var(--line); gap: 16px 27px; flex-wrap: wrap; justify-content: center; }
  #site-nav.open { display: flex; }
  .hero { padding: 30px 0 24px; }
  .hero h1 { font-size: 38px; letter-spacing: -1px; }
  .paper-title { font-size: 20px; line-height: 1.45; margin: 11px auto 19px; letter-spacing: -.3px; }
  .desktop-break { display: none; }
  .authors { font-size: 13px; gap: 5px 13px; }
  .affiliations { gap: 10px 18px; flex-wrap: wrap; margin-top: 16px; }
  .affiliations > span { font-size: 12px; gap: 7px; }
  .contribution { font-size: 10px; margin-top: 10px; }
  #explainer { border-radius: 3px; }
  .video-caption { font-size: 10px; gap: 8px; flex-wrap: wrap; }
  .caption-separator { padding: 0 3px; }
  .abstract-section h2 { margin-bottom: 20px; }
  .abstract-text { font-size: 14px; line-height: 1.85; text-align: left; }
  .research-summary { padding: 12px 14px; font-size: 13px; }
  .method-pipeline { gap: 7px 10px; font-size: 10px; margin-bottom: 20px; }
  figcaption { font-size: 11px; line-height: 1.6; }
  .zoom-tag { padding: 3px 6px; font-size: 9px; }
  .method-components { grid-template-columns: 1fr; gap: 26px; margin-top: 30px; }
  .method-components article { padding-top: 13px; }
  .method-components h3 { display: inline; font-size: 20px; margin-left: 9px; }
  .component-type { margin-top: 7px; }
  .method-components article > p:not(.component-type) { min-height: 0; margin: 12px 0 15px; font-size: 14px; }
  .formula { min-height: 75px; }
  .source-note { font-size: 11px; }
  .credit-layout { grid-template-columns: 1fr; gap: 10px; }
  .credit-details summary { font-size: 13px; }
  .credit-equations { padding: 18px 10px; }
  .credit-equations math { font-size: 19px; }
  .table-heading { display: block; margin-bottom: 13px; }
  .table-heading p { max-width: none; font-size: 12px; margin-bottom: 13px; }
  .results-section > .container { width: calc(100% - 36px); }
  .results-table { min-width: 1260px; font-size: 12px; }
  .results-table th, .results-table td { padding: 9px 6px; }
  .results-table .benchmark-groups th { font-size: 12px; }
  .results-table .metric-headings th { font-size: 11px; }
  .results-table .model-heading { position: sticky; left: 0; z-index: 3; box-shadow: 1px 0 #dce1e7; }
  .results-table tbody th[scope="row"] { position: sticky; left: 0; z-index: 2; box-shadow: 1px 0 #dce1e7; }
  .results-table tr.ours > th { box-shadow: inset 3px 0 #3c73b4,1px 0 #dce1e7; }
  .table-badge { font-size: 9px; margin-left: 6px; padding: 1px 4px; }
  .table-notes { font-size: 11px; }
  .analysis-tabs { gap: 0; justify-content: space-between; }
  .analysis-tabs button { padding: 11px 5px; font-size: 0; }
  .analysis-tabs button span { margin-left: 0; font-size: 11px; }
  .analysis-insight h3 { font-size: 18px; }
  .analysis-insight p { font-size: 13px; }
  .analysis-panel { padding-top: 23px; overflow-x: auto; }
  .analysis-panel > img { width: 750px; min-width: 750px; max-width: none; }
  .analysis-panel > .source-note { text-align: left; }
  .featured-picker { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-bottom: 24px; }
  .example-choice > span { font-size: 10px; padding: 6px 2px 3px; }
  .demo-toolbar { align-items: flex-start; flex-direction: column; gap: 15px; }
  .demo-toolbar h3 { font-size: 22px; }
  .demo-actions { gap: 6px; }
  .demo-actions .button { min-height: 34px; font-size: 10px; padding: 7px 9px; }
  .demo-grid, .demo-grid.all-models { grid-template-columns: 1fr; gap: 16px; }
  .recording-label { padding: 10px 11px; font-size: 12px; }
  .recording-label button { font-size: 10px; }
  .prompt-details p { padding: 12px; font-size: 12px; }
  .demo-footnote { flex-direction: column; gap: 4px; font-size: 10px; }
  .demo-footnote span:last-child { text-align: left; }
  .explore-more { display: block; margin-top: 25px; }
  .explore-more h3 { font-size: 18px; }
  .explore-more p { margin-bottom: 15px; font-size: 12px; }
  .explore-more .button { font-size: 12px; }
  .citation-box pre { font-size: 10px; padding: 17px 14px; }
  .citation-top { padding-inline: 14px; }
  .site-footer { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding-block: 23px; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; font-size: 10px; }
  .site-footer > a:last-child { font-size: 10px; }
  .playground-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); padding: 19px 13px; }
  .dialog-heading { gap: 12px; margin-bottom: 19px; }
  .dialog-heading h2 { font-size: 24px; }
  .playground-controls { gap: 12px 9px; }
  .playground-controls select { font-size: 10px; padding: 8px; }
  .playground-controls .button { font-size: 11px; min-height: 40px; }
  .playground-tip { font-size: 10px; }
  .playground-frames { grid-template-columns: 1fr; gap: 19px; }
  .live-heading { font-size: 11px; }
  .live-heading > a { font-size: 10px; }
  .image-dialog { width: calc(100vw - 16px); padding: 49px 8px 12px; }
  .toast { font-size: 11px; padding: 10px 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
