:root{--ink:#161616;--muted:#686868;--line:#e4e4e2;--soft:#fff;--max:852px;--header-height:64px;--font:Inter,"Helvetica Neue",Arial,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-height) + 16px)}body{margin:0;background:#fff;color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button{color:inherit}img,video{display:block;max-width:100%}figure,p,h1,h2,h3{margin:0}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid #666;outline-offset:5px}button{touch-action:manipulation}[hidden]{display:none!important}.container{width:min(var(--max),calc(100% - 64px));margin-inline:auto}.skip-link{position:fixed;top:-100px;left:16px;background:#111;color:white;padding:10px 20px;z-index:100}.skip-link:focus{top:12px}
.site-header {
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  backdrop-filter: blur(16px);
  z-index: 20;
}
.header-inner {
  height: 100%;
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-width: 44px;
  min-height: 44px;
  border-radius: 6px;
}
.brand img { width: 44px; height: auto; }
.site-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.site-header nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transition: opacity .2s;
}
.site-header nav a:hover { color: var(--ink); background: var(--soft); }
.site-header nav a[aria-current="location"] { color: var(--ink); }
.site-header nav a[aria-current="location"]::after { opacity: 1; }
.site-header a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.header-video {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 0 10px 24px;
  border-left: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}
.header-video:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero {
  text-align: center;
  padding-top: 56px;
}
.hero h1 {
  max-width: 100%;
  margin: 0 auto 32px;
  font-size: 60px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.5px;
  text-wrap: balance;
}
.hero h1 > span {
  display: block;
  margin-top: 12px;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.5px;
}
.authors {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: center;
  gap: 10px 24px;
  margin-inline: auto;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
}
.authors > span { white-space: nowrap; }
sup { font-size: .7em; vertical-align: super; line-height: 0; margin-left: 3px; }
.affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 20px auto 0;
  font-size: 14px;
  line-height: 1.65;
  color: #555;
}
.affiliations > span { white-space: nowrap; }
.author-notes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.author-notes > span { white-space: nowrap; }
.resource-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.resource-buttons .button {
  min-height: 48px;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.resource-buttons .button svg { width: 18px; height: 18px; flex-shrink: 0; }
.resource-buttons .button-unavailable { color: #555; }
.resource-buttons .button-unavailable span { font-size: 13px; color: var(--muted); }
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #d5d5d5;padding:10px 17px;background:#fff;font-size:12px;line-height:1.4;border-radius:5px;font-weight:550;transition:background .2s,transform .2s}.button:hover{background:#f2f2f2}.button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.button-dark{background:#1a1a1a;border-color:#1a1a1a;color:white}.button-dark:hover{background:#333}.button-unavailable{color:#4e4e4e;border-color:#ddd}.button-unavailable span{font-size:9px;color:#888;font-weight:400}.button-unavailable:hover{background:white}
.overview .section-heading h2::after, #method .section-heading h2::after { margin-top: 8px; }
.overview-intro {
  margin-top: 24px;
  position: relative;
  padding: 3px 0 3px 20px;
  font-size: 15px;
  line-height: 1.6;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  color: #444;
}
.overview-intro strong { font-weight: 600; color: var(--ink); }
.overview-intro::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; border-radius: 999px; background: var(--ink); }
.text-button { border: 0; background: none; padding: 5px 0; font-size: 11px; line-height: 1.5; }
.overview .paper-figure, #method .method-figure { width: min(700px, 100%); margin: 20px auto 0; }
.teaser-figure img, .method-figure img { width: 100%; height: auto; transform-origin: center; transition: transform .25s ease; }
@media(hover:hover) and (pointer:fine) {
  .teaser-figure:hover img, .method-figure:hover img { transform: scale(1.04); }
}
.section{padding-block:28px}.section-heading{max-width:850px}.section-heading h2,.improvement h2{font-size:28px;font-weight:600;letter-spacing:-.4px;line-height:1.3}
.section-heading h2::after,.improvement h2::after{content:"";display:block;width:44px;height:3px;margin-top:12px;border-radius:999px;background:currentColor}
.walkthrough .section-heading h2::after{margin-inline:auto}.section-copy{max-width:800px;font-size:16px;line-height:1.85;color:#595959;margin-top:23px}.paper-figure{margin-top:40px}.figure-button{border:0;padding:0;background:#fff;position:relative;display:block;width:100%;border-radius:5px;overflow:hidden}.figure-button img{width:100%;height:auto}.figure-enlarge{position:absolute;right:13px;bottom:12px;background:#fffef0;backdrop-filter:blur(4px);background:rgba(255,255,255,.95);box-shadow:0 0 0 1px #ddd;border-radius:4px;padding:5px 11px;font-size:10px;opacity:.75}.figure-button:hover .figure-enlarge{opacity:1}.paper-figure figcaption{font-size:12px;color:var(--muted);margin-top:16px;text-align:center}.results-details summary{list-style:none;display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:550;padding:18px 0;cursor:pointer}.results-details summary::-webkit-details-marker{display:none}details[open]>summary>span{transform:rotate(45deg)}.section-tinted{background:var(--soft)}
.method-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.6; }
.method-points li { min-width: 0; }
.method-points h3 { margin: 0 0 10px; font-size: 15px; line-height: 1.4; font-weight: 600; text-align: left; letter-spacing: -.15px; }
.method-points h3::after { content: ""; display: block; width: 32px; height: 2px; margin-top: 6px; border-radius: 999px; background: var(--ink); }
.method-points p { text-align: justify; text-align-last: left; hyphens: auto; color: #444; }


.task-tabs{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #ddd;margin-top:39px}.task-tabs button{border:0;border-bottom:2px solid transparent;background:none;display:flex;align-items:center;gap:10px;justify-content:center;font-size:10px;color:#939393;padding:19px 8px 17px;white-space:nowrap}.task-tabs button>span{font-size:13px;color:#777}.task-tabs button[aria-selected=true]{border-color:#111;color:#111}.task-tabs button[aria-selected=true]>span{color:#111;font-weight:600}.task-intro{font-size:13px;color:var(--muted);margin:24px 0 20px}.demo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.segmented-control{padding:3px;background:#f0f0ee;border-radius:5px;display:flex;gap:3px}.segmented-control>button{background:none;border:0;padding:7px 13px;font-size:11px;border-radius:3px;color:#777}.segmented-control>button[aria-pressed=true]{background:white;color:#111;box-shadow:0 1px 3px #0000000d}.select-label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:10px}select{border:1px solid #ddd;background:#fff;border-radius:4px;color:#222;font-size:11px;padding:7px 27px 7px 10px;min-height:33px}.main-player{background:#171717;border-radius:6px;overflow:hidden}.main-player video{width:100%;aspect-ratio:16/9;max-height:590px;object-fit:contain}.player-caption{display:flex;justify-content:space-between;gap:20px;padding:15px 0}.player-caption span,.player-caption a{font-size:11px;color:var(--muted)}.player-caption a{white-space:nowrap;text-decoration:underline;text-underline-offset:4px}.comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.comparison-grid video{width:100%;aspect-ratio:16/9;background:#151515;border-radius:5px}.video-label{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;margin-bottom:10px}.video-label strong{font-weight:600}.video-label span{color:var(--muted);font-size:10px}.comparison-controls{display:flex;align-items:center;gap:10px;margin-top:18px;flex-wrap:wrap}.comparison-controls .button{font-size:11px;padding:8px 14px}.comparison-controls>p{font-size:10px;color:var(--muted);margin-left:auto}.media-message{font-size:11px;margin-top:9px;min-height:6px;color:var(--muted)}
.improvement{background:#fff;color:var(--ink)}.improvement-heading{display:grid;grid-template-columns:1.3fr 1fr;align-items:end;gap:80px}.improvement-heading>p{font-size:14px;line-height:1.85;color:var(--muted);max-width:380px}.improvement-stats{display:grid;grid-template-columns:1fr 1fr;gap:60px;margin-top:39px;margin-bottom:35px;padding-top:25px;border-top:1px solid var(--line)}.improvement-stats>div>span{font-size:11px;color:var(--muted)}.improvement-stats strong{display:block;font-size:46px;letter-spacing:-1.8px;font-weight:450;line-height:1.5}.improvement-stats strong>span{font-size:25px}.improvement-stats strong>i{font-style:normal;font-size:31px;padding:0 12px;color:var(--muted)}.improvement-stats p{font-size:10px;color:var(--muted)}.improvement .video-label span{color:var(--muted)}.improvement .video-label{margin-bottom:12px}.improvement .comparison-controls>p{color:var(--muted)}.button-light{background:#fff;color:#151515;border-color:#d5d5d5}.button-dark-outline{border-color:#d5d5d5;background:#fff;color:var(--ink)}.button-dark-outline:hover{background:#f2f2f2}.improvement-note{font-size:10px;color:var(--muted);margin-top:18px;max-width:830px;line-height:1.8}.improvement .media-message{color:var(--muted)}
.chart-topline{margin-top:37px;display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:12px}.chart-legend{display:flex;gap:20px;font-size:10px;color:var(--muted)}.chart-legend span{display:flex;align-items:center;gap:6px}.swatch{width:9px;height:9px;display:inline-block;background:#d4d4d1;border-radius:1px}.swatch.ila{background:#222}.chart-topline h3{font-size:18px;font-weight:600;line-height:1.4}.results-chart{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:26px}.chart-group{padding:20px 12px 16px;background:var(--soft);border:1px solid #eeeeeb;border-radius:5px}.chart-group-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.chart-group-title h3{font-size:14px;font-weight:600}.chart-group-title span{font-size:11px;background:white;border:1px solid #e5e5e2;border-radius:3px;padding:2px 6px}.bars{height:164px;border-bottom:1px solid #d7d7d3;display:grid;grid-template-columns:repeat(var(--bar-count,3),minmax(0,1fr));align-items:end;gap:6px}.bar{width:40px;justify-self:center;position:relative;height:calc(var(--value)*1%);background:#cececa;border-radius:2px 2px 0 0}.bar.ours{background:#242623}.bar>span{position:absolute;top:-25px;left:50%;transform:translateX(-50%);font-size:13px;font-weight:550;white-space:nowrap}.bar-labels{display:grid;grid-template-columns:repeat(var(--bar-count,3),minmax(0,1fr));gap:6px;font-size:10px;color:#555;margin-top:10px;line-height:1.4}.bar-labels span{min-width:0;text-align:center;overflow-wrap:anywhere}.chart-group>p{font-size:9px;text-align:center;color:#888;margin-top:13px}.chart-note{font-size:11px;line-height:1.8;color:var(--muted);margin-top:18px;max-width:900px}.results-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:28px}.results-table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}caption{text-align:left;font-size:11px;color:var(--muted);margin-bottom:14px}th,td{text-align:right;padding:11px 15px;border-bottom:1px solid #eee}th{font-size:10px;color:#777;font-weight:500;background:var(--soft)}td:first-child,td:nth-child(2),th:first-child,th:nth-child(2){text-align:left}tr.is-ila{font-weight:600;background:#fff}tr.is-rl{background:#fff;font-weight:600}.table-note{font-size:11px;color:var(--muted);padding-top:17px;line-height:1.8;max-width:910px}.download-results{margin:12px 0 17px;text-decoration:underline;text-underline-offset:4px}.ablation-callout{display:grid;grid-template-columns:1fr 2fr;gap:50px;border-left:2px solid #222;margin-top:50px;padding:6px 0 6px 24px}.ablation-callout h3{font-size:20px;font-weight:500;letter-spacing:-.4px}.ablation-callout p{font-size:13px;color:var(--muted);line-height:1.8}.ablation-callout strong{color:#333;font-weight:550}.source-note{display:block;font-size:10px;color:#999;margin-top:11px}
.walkthrough{max-width:1000px}.walkthrough .section-heading{text-align:center;margin:0 auto}.walkthrough-player{margin-top:36px;border-radius:7px;overflow:hidden;background:#151515}.walkthrough-player video{width:100%;aspect-ratio:16/9}.walkthrough-caption{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:13px}.site-footer{display:flex;align-items:center;justify-content:space-between;padding-block:43px}.site-footer img{width:57px;height:auto}.site-footer>a{font-size:11px;color:var(--muted)}
dialog{max-width:min(1500px,94vw);max-height:92vh;width:94vw;padding:50px 28px 23px;border:1px solid #ddd;border-radius:7px;overflow:auto;background:white;color:var(--ink)}dialog::backdrop{background:#111a;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:14px;top:10px;width:32px;height:32px;border:0;border-radius:50%;background:#f1f1f1;font-size:25px;line-height:1}.dialog-close:hover{background:#ddd}dialog figure img{width:100%;height:auto}dialog figcaption{font-size:12px;color:var(--muted);margin-top:14px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#222;color:#fff;border-radius:5px;padding:12px 20px;font-size:13px;z-index:50;max-width:90vw}.noscript-notice{padding:20px;background:#eee;text-align:center}

@media(max-width:1024px){.header-inner{gap:24px}.site-header nav{font-size:16px;gap:4px}.header-video{font-size:16px}.improvement-heading{gap:40px}.results-chart{gap:18px}.chart-group{padding-inline:16px}.bars{gap:20px}.bar-labels{gap:20px}.chart-legend{gap:12px}}
@media(max-width:760px){:root{--header-height:60px}.container,.header-inner{width:calc(100% - 36px)}.header-inner{grid-template-columns:auto minmax(0,1fr);gap:12px}.brand img{width:44px}.header-video{display:none}.site-header nav{justify-self:end;font-size:14px;gap:2px}.site-header nav a{padding:10px 8px}.site-header nav a::after{inset-inline:8px}.button{font-size:11px;padding:9px 12px;gap:6px}.button-unavailable span{font-size:8px}.section{padding-block:24px}.section-heading h2,.improvement h2{font-size:24px;letter-spacing:-.3px}.walkthrough .section-heading h2::after{margin-inline:0}.section-copy{font-size:14px;margin-top:20px}.paper-figure{margin-top:27px}.paper-figure figcaption{font-size:10px}.figure-enlarge{font-size:8px;right:8px;bottom:7px;padding:3px 7px}.results-details summary{font-size:12px}.method-points{grid-template-columns:1fr;gap:16px}.task-tabs{margin-top:25px;grid-template-columns:repeat(2,1fr);border-bottom:0;gap:5px}.task-tabs button{justify-content:flex-start;border:1px solid #e4e4e4;border-radius:4px;padding:12px;gap:8px;font-size:9px}.task-tabs button>span{font-size:11px}.task-tabs button[aria-selected=true]{background:#f7f7f5}.task-intro{font-size:12px;margin:20px 0 18px}.demo-toolbar{align-items:flex-start;gap:12px;flex-wrap:wrap}.segmented-control>button{font-size:10px;padding:7px 10px}.select-label{font-size:10px}.select-label select{font-size:10px;padding-top:5px;padding-bottom:5px;min-height:31px}.player-caption{padding:11px 0;gap:12px}.player-caption span,.player-caption a{font-size:10px}.player-caption a{white-space:normal;text-align:right}.comparison-grid{grid-template-columns:1fr;gap:24px}.comparison-controls{gap:8px}.comparison-controls>p{flex-basis:100%;margin:2px 0 0;font-size:10px}.improvement-heading{grid-template-columns:1fr;gap:22px}.improvement-heading>p{font-size:13px;max-width:100%}.improvement-stats{gap:25px;margin-top:28px;margin-bottom:28px;padding-top:21px}.improvement-stats>div>span{font-size:10px;line-height:1.6;display:block;min-height:32px}.improvement-stats strong{font-size:30px;letter-spacing:-1px;margin-top:4px}.improvement-stats strong>span{font-size:17px}.improvement-stats strong>i{font-size:21px;padding:0 4px}.improvement-stats p{font-size:9px}.chart-topline{flex-direction:column;align-items:flex-start;gap:13px;margin-top:26px;font-size:11px}.chart-legend{font-size:9px;gap:20px}.results-chart{grid-template-columns:1fr;gap:20px;margin-top:20px}.chart-group{padding:12px 8px}.chart-group-title{flex-direction:column;gap:6px;margin-bottom:27px}.chart-group-title h3{font-size:12px}.chart-group-title span{font-size:9px}.bars{gap:6px;height:164px}.bar{width:40px}.bar>span{font-size:10px;top:-21px}.bar-labels{gap:6px;font-size:11px}.chart-group>p{font-size:8px;line-height:1.6;min-height:25px}.chart-note{font-size:10px}.ablation-callout{grid-template-columns:1fr;gap:13px;margin-top:33px;padding-left:19px}.ablation-callout h3{font-size:18px}.ablation-callout p{font-size:12px}.walkthrough .section-heading{text-align:left}.walkthrough-player{margin-top:27px}.walkthrough-caption{font-size:10px}.site-footer{padding-block:28px}.site-footer img{width:40px}.site-footer>a{font-size:10px}dialog{padding:50px 10px 15px;width:96vw;max-width:96vw}dialog figcaption{font-size:10px}}

@media(max-width:380px){.site-header nav{font-size:13px;gap:0}.site-header nav a{padding-inline:6px}.site-header nav a::after{inset-inline:6px}}
@media(max-width:760px) {
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 40px; letter-spacing: -1.2px; margin-bottom: 28px; }
  .hero h1 > span { font-size: .65em; letter-spacing: -.5px; margin-top: 10px; }
  .authors { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 400px; font-size: clamp(12px, 3.4vw, 14px); gap: 8px 12px; }
  .affiliations { font-size: 14px; gap: 6px 16px; margin-top: 20px; }
  .affiliations > span { white-space: normal; }
  .author-notes { font-size: 12px; gap: 6px 16px; margin-top: 16px; }
  .resource-buttons { gap: 10px; margin-top: 24px; }
  .resource-buttons .button { font-size: 14px; padding: 10px 16px; }
  .resource-buttons .button-unavailable span { font-size: 12px; }
}
@media(max-width:440px) {
  .hero h1 { font-size: 34px; }
}
@media(max-width:760px){.overview.section,#method.section{padding-block:24px}.overview-intro{padding-left:16px}}
.dialog-tools{position:absolute;top:10px;right:13px;display:flex;align-items:center;gap:20px}.dialog-tools .dialog-close{position:static}.figure-viewport{max-height:72vh;overflow:auto;overscroll-behavior:contain}.figure-viewport img{max-width:none;width:100%}.figure-viewport.is-zoomed img{width:200%;min-width:1100px}dialog figure{margin:0}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}


.metric-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px;margin:24px 0 0;font-size:14px;font-weight:600;line-height:1.5}.metric-heading .metric-direction{white-space:nowrap;font-size:11px;font-weight:400;color:var(--muted)}.metric-heading + .results-chart{margin-top:14px}.metric-heading sub{font-size:.75em}

.comparison-methods{margin-top:20px;font-size:14px;line-height:1.6;text-align:justify;text-align-last:left;hyphens:auto;color:#444}.comparison-methods strong{font-weight:600;color:var(--ink)}

.improvement-results{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}.improvement-results .chart-group-title h3{font-size:13px}.improvement-results .bar-labels{font-size:11px}.improvement-results .chart-group-title sub{font-size:.75em}@media(max-width:760px){.improvement-results{grid-template-columns:1fr}}

.improvement-topline{margin-top:0;margin-bottom:24px}
.improvement-results .chart-group-title h4{font-size:13px;line-height:1.5;font-weight:600;margin:0}
.task-bars{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.task-bar-group{min-width:0}
.task-bar-pair{display:flex;align-items:flex-end;justify-content:center;gap:7px;height:180px;border-bottom:1px solid #d7d7d3}
.task-bar-pair .bar{width:26px;max-width:calc(50% - 4px);flex-shrink:0}
.task-bar-pair .bar>span{font-size:10px;top:-22px}
.task-bar-label{margin-top:10px;text-align:center;font-size:11px;line-height:1.4;color:#555}
@media(max-width:380px){.task-bars{gap:8px}.task-bar-pair{gap:5px}.task-bar-label{font-size:10px}.task-bar-pair .bar>span{font-size:9px}}

/* Compact spacing shared by the two result blocks. */
#results{padding-bottom:16px}
#policy-improvement{padding-top:16px}
#results .chart-topline{margin-top:24px}
#results .metric-heading{margin-top:18px}
#results .metric-heading + .results-chart{margin-top:10px}
#results .chart-group,#policy-improvement .chart-group{padding:16px 12px 12px}
#results .chart-group-title,#policy-improvement .chart-group-title{margin-bottom:22px}
#results .comparison-methods,#policy-improvement .comparison-methods{margin-top:16px}
#policy-improvement .improvement-topline{margin-bottom:16px}

.demo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px}
.demo-card{min-width:0}
.demo-card figcaption{font-size:14px;font-weight:600;margin-bottom:8px}
.demo-media{aspect-ratio:16/9;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#fff}
.demo-media video{width:100%;height:100%;object-fit:contain;background:#fff}
.demo-placeholder{height:100%;display:flex;align-items:center;justify-content:center;font-size:13px;color:var(--muted)}
@media(max-width:600px){.demo-grid{grid-template-columns:1fr;gap:20px}}

#demos .walkthrough-player{margin-top:24px;scroll-margin-top:calc(var(--header-height) + 16px)}

.interaction-showcase{max-width:800px}
.interaction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.interaction-grid figure{position:relative;min-width:0;border-radius:8px;overflow:hidden;transform-origin:center;transition:transform .25s ease}
.interaction-grid video{width:100%;aspect-ratio:16/9;object-fit:contain;background:#fff}


.interaction-speed{position:absolute;top:10px;right:10px;padding:2px 7px;border-radius:4px;background:rgba(255,255,255,.92);color:#222;font-size:12px;font-weight:500;pointer-events:none}
@media(hover:hover) and (pointer:fine){.interaction-grid figure:hover{transform:scale(1.04);z-index:1}}
