@font-face {
  font-family: "Google Sans";
  src: url("fonts/google-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("fonts/noto-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #363636;
  --muted: #585d63;
  --link: #1769a7;
  --line: #dfe2e5;
  --pale: #f5f6f7;
  --heading: "Google Sans", "Inter", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font: 100%/1.6 "Noto Sans", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1rem, calc(.75rem + .55vw), 1.375rem);
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, figure, h1, h2, p, dl, dd { margin: 0; }
body { overflow-wrap: break-word; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { text-decoration: underline; }
button, select { font: inherit; }
button, summary, select { cursor: pointer; }
:focus-visible { outline: 3px solid #4380ba; outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: min(92%, 1440px); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 8px; left: 8px; background: white; padding: 8px 16px; transform: translateY(-145%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.nav, .nav-links, .brand, .actions, .button, .resource-links { display: flex; align-items: center; }
.nav { justify-content: space-between; min-height: 3.5rem; }
.nav a, .byline a, .button, .resource-links a, .inline-link { text-decoration: none; }
.nav a:hover, .byline a:hover, .resource-links a:hover, .inline-link:hover { text-decoration: underline; }
.brand { font: 650 1rem var(--heading); letter-spacing: -.02em; color: var(--ink); }
.nav-links { gap: 1.65rem; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 540; }
.introduction { text-align: center; padding: 2.6rem 0 2rem; }
h1 { font: 650 clamp(3rem, 6.1vw, 4.25rem)/1.08 var(--heading); letter-spacing: -.045em; }
.subtitle { margin: 5px auto 0; font: 500 clamp(1.5rem, 3vw, 2.1rem)/1.24 var(--heading); letter-spacing: -.025em; }
.byline { margin: 13px 0 17px; font-size: 1.06rem; }
.byline span { margin: 0 9px; color: #a3a8ad; }
.actions { justify-content: center; gap: 9px; }
.button { gap: .5rem; justify-content: center; min-height: 2.45rem; padding: .38rem 1.06rem; border: 1px solid var(--ink); border-radius: 2rem; background: var(--ink); color: white; font-size: .94rem; font-weight: 550; }
.button:hover { background: #505050; text-decoration: none; }
.code-icon { font: .85rem var(--mono); }
.arrow-up::after, .arrow-down::after, .arrow-out::after, a[download]::after {
  content: "";
  display: inline-block;
  width: .8em;
  height: .8em;
  margin-inline-start: .25em;
  vertical-align: -.04em;
  background: currentColor;
  clip-path: polygon(50% 3%, 95% 48%, 85% 58%, 57% 30%, 57% 97%, 43% 97%, 43% 30%, 15% 58%, 5% 48%);
}
.arrow-down::after, a[download]::after { transform: rotate(180deg); }
.arrow-out::after { transform: rotate(45deg); }
.button.arrow-down::after { margin: 0; }
.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1.2rem; }
.media-grid > figure { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.media-grid video, .demo-cover { grid-area: 1 / 1; border-radius: 7px; }
.media-grid video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: #181818; }
.media-grid figcaption { grid-area: 2 / 1; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0 10px; margin-top: .35rem; color: var(--muted); line-height: 1.45; font-size: .95rem; }
.media-grid figcaption span { font-size: .82rem; }
.media-grid figcaption a, .media-grid figcaption strong { font-weight: 600; }
.demo-cover { position: relative; display: grid; place-items: center; border: 0; padding: 0; color: white; background: #1113; }
.demo-cover:focus-visible { outline-offset: -4px; }
.play-icon { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50%; background: white; color: var(--ink); }
.play-icon::after { content: ""; width: 0; height: 0; margin-left: 3px; border: solid transparent; border-width: 6px 0 6px 10px; border-left-color: currentColor; }
.demo-cover:hover .play-icon { background: #e5edf4; }
.caption { margin-top: 10px; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.caption strong { color: var(--ink); }
.demo-notes { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.demo-notes .caption { flex: 1 1 34em; }
.demo-actions { display: flex; align-items: center; gap: 12px; font-size: .84rem; }
#replay-training { padding: 5px 12px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: var(--paper); font-size: .84rem; }
#replay-training:hover { background: var(--pale); }
.metric-heading { margin: 1.5rem 0 .75rem; color: var(--muted); font: 600 .95rem/1.4 var(--heading); letter-spacing: 0; }
.metrics { display: grid; grid-template-columns: repeat(3,1fr); padding: 1.1rem 0 1.25rem; border-block: 1px solid var(--line); }
.metrics div { padding-left: 12%; border-left: 1px solid var(--line); }
.metrics div:first-child { border: none; padding-left: 0; }
.metrics dt { color: var(--muted); font-size: .82rem; }
.metrics dd { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 570; line-height: 1.16; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.metrics dd small { font-weight: 430; font-size: .54em; letter-spacing: -.025em; }
.metrics .hardware { color: var(--muted); font: .72rem/1.5 var(--mono); letter-spacing: 0; margin-top: 3px; }
.hardware span { white-space: nowrap; }
.section { padding-block: clamp(2.625rem, 6vw, 4.25rem); }
h2 { margin-bottom: 14px; font: 600 clamp(1.6rem, 3.5vw, 2.1rem)/1.2 var(--heading); letter-spacing: -.03em; }
.text-section { max-width: 44rem; }
.text-section h2, .gallery-band h2, #results h2 { text-align: center; }
.text-section p + p { margin-top: 12px; }
.training-figure { margin-block: 1.25rem 1.5rem; }
.training-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.training-label { display: block; margin-bottom: .35rem; font: 600 .86rem/1.4 var(--heading); }
.training-figure img { display: block; width: 100%; height: auto; border-radius: 4px; }
.training-figure .caption { margin: .55rem 0 0; }
.training-binning .training-panels { max-width: 33rem; margin-inline: auto; }
.training-growth .training-panels { max-width: 36rem; margin-inline: auto; }
.training-growth img { aspect-ratio: 1.38; object-fit: contain; background: #f4f1ec; }
.backward-slides { margin-block: 1rem; }
.backward-slides summary { padding: .4rem 0; font-size: .88rem; color: var(--link); }
.backward-slides figure { margin: .75rem auto 1.25rem; max-width: 36rem; }
.backward-slides figure:first-of-type, .backward-slides figure:last-of-type { max-width: 28rem; }
.backward-slides a { display: block; }
.backward-slides img { border-radius: 4px; }
.tile-scale { display: flex; justify-content: space-between; flex-wrap: wrap; margin-top: 5px; color: var(--muted); font: .68rem/1.5 var(--mono); }
.tile-scale::before { content: ""; width: 100%; height: 5px; background: linear-gradient(to right, #000380, #0001fb, #0480fa, #07fdfc, #81ff81, #fbff09, #fc8300, #f90400, #800100); }
@media (max-width: 540px) {
  .training-panels { grid-template-columns: 1fr; gap: .75rem; }
  .training-binning .training-panels { max-width: 19rem; }
}
.lead { max-width: 43rem; margin: 0 auto 1.4rem; text-align: center; color: var(--muted); }
.gallery-band { background: var(--pale); border-block: 1px solid var(--line); }
.gallery-controls { display: flex; justify-content: center; margin: 0 auto 21px; }
.gallery-controls label { display: flex; align-items: center; gap: 7px; font-size: .85rem; color: var(--muted); }
select { color: var(--ink); background-color: var(--paper); border: 1px solid #b8bec5; border-radius: 5px; padding: 6px 9px; }
.compare { margin: auto; }
.compare-images, .plate-labels, .plate-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.compare-images { position: relative; overflow: hidden; border-radius: 9px; container-type: inline-size; }
.compare img, .getting-started img { display: block; width: 100%; height: auto; }
.compare.is-slider { max-width: 36rem; }
.is-slider .compare-images { grid-template-columns: 1fr; gap: 0; }
.photo-link { display: block; min-width: 0; }
.is-slider .photo-link { grid-area: 1 / 1; }
.is-slider .photo-link:nth-child(1) { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.is-slider .photo-link:nth-child(2) { clip-path: inset(0 calc(100% - var(--split2)) 0 var(--split)); }
.is-slider .photo-link:nth-child(3) { clip-path: inset(0 0 0 var(--split2)); }
.plate-labels { position: absolute; z-index: 3; inset: 0 0 auto; pointer-events: none; }
.plate-labels > span { container-type: inline-size; display: flex; min-width: 0; overflow: hidden; padding-block: 8px; }
.plate-labels > span:nth-child(2) { justify-content: center; }
.plate-labels > span:nth-child(3) { justify-content: flex-end; }
.is-slider .plate-labels { grid-template-columns: var(--split) calc(var(--split2) - var(--split)) 1fr; gap: 0; }
.plate-label { margin-inline: 8px; padding: 4px 8px; border-radius: 5px; background: #17221ded; color: white; pointer-events: auto; text-decoration: none; font: .76rem/1.4 var(--mono); }
.plate-label:focus-visible { outline-offset: -2px; }
@container (max-width: 83px) { .plate-label { margin-inline: 3px; padding-inline: 4px; font-size: .66rem; } }
@container (max-width: 65px) { .plate-label { visibility: hidden; } }
.compare-images input[type=range] { position: absolute; z-index: 2; inset-block: 0; left: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
/* The upper grip belongs to the first range and the lower grip to the second,
   so both remain reachable even when their dividers share the same column. */
#split2 {
  clip-path: polygon(calc(var(--hit-mid) + 24px) 0, 100% 0, 100% 100%,
                     calc(var(--hit-mid) - 24px) 100%, calc(var(--hit-mid) - 24px) 50%, calc(var(--hit-mid) + 24px) 50%);
}
.split-line { display: none; }
.compare-images input:not([hidden]) + .split-line { position: absolute; display: grid; place-items: center; inset-block: 0; left: var(--split); width: 2px; transform: translateX(-50%); background: white; box-shadow: 0 0 3px #000b; pointer-events: none; }
.compare-images #split2:not([hidden]) + .split-line { left: var(--split2); }
.split-line::after {
  content: "";
  position: absolute;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 2px solid white;
  border-radius: 50%;
  background: #202820e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h18M8 7l-5 5 5 5m8-10 5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat;
}
#split + .split-line::after { top: 40%; }
#split2 + .split-line::after { top: 60%; }
.compare-images input:focus-visible + .split-line::after { outline: 3px solid #80cbff; outline-offset: 2px; }
.compare-images:has(input:focus-visible) { outline: 3px solid #4380ba; outline-offset: 2px; }
.gallery-band .caption { text-align: center; }
.plate-controls { margin-top: 12px; }
.plate-controls > * { display: grid; justify-items: center; align-content: start; gap: 4px; color: var(--muted); font-size: .82rem; }
.plate-controls select { max-width: 100%; }
.plate-controls strong { padding-block: 7px; color: var(--ink); }
.table-wrap { overflow-x: auto; margin-top: 20px; }
.motion { border-bottom: 1px solid var(--line); }
.motion h2 { text-align: center; }
.motion-picker { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 16px; font-size: .85rem; color: var(--muted); }
.motion video { display: block; width: 100%; height: auto; background: var(--ink); border-radius: 9px; }
.motion figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--muted); font-size: .83rem; }
.motion figcaption strong { color: var(--ink); }
.motion figcaption button { flex: none; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); padding: 4px 12px; }
.motion figcaption button:hover { background: var(--pale); }
.motion figure + figure { margin-top: 14px; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; font-variant-numeric: tabular-nums; }
th, td { padding: .6rem .85rem; text-align: right; border-bottom: 1px solid var(--line); font-size: .94rem; }
th:first-child { text-align: left; }
thead th { color: var(--muted); font-size: .79rem; font-weight: 600; }
tbody th { font-weight: 560; }
.group th { background: var(--pale); font-weight: 680; }
.group small { color: var(--muted); font: .74rem var(--mono); margin-left: 9px; }
.resource-links { gap: 18px; flex-wrap: wrap; margin-top: 15px; }
.resource-links a, .inline-link { color: var(--link); font-size: .89rem; font-weight: 600; }
.frontier { margin-top: 24px; border-block: 1px solid var(--line); }
.frontier summary { padding: 15px 0; font-weight: 580; }
.frontier img { width: 100%; height: auto; display: block; }
.frontier .caption { margin-bottom: 14px; }
.getting-started { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 5%; border-top: 1px solid var(--line); }
.quickstart-screenshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; align-items: start; }
.quickstart-screenshots img { display: block; width: 100%; height: auto; border-radius: 10px; }
.quickstart-screenshots figcaption { grid-column: 1 / -1; }
.getting-started pre, .citation pre { overflow-x: auto; background: var(--pale); padding: 1rem; border-radius: 8px; font: .9rem/1.55 var(--mono); }
.getting-started > div { min-width: 0; }
.citation { max-width: 50rem; border-top: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
footer .shell { display: flex; justify-content: space-between; gap: 12px; padding-block: 23px; }
@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .nav { min-height: 54px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .79rem; }
  .introduction { padding: 33px 0 25px; }
  .byline { font-size: .98rem; }
  .media-grid { grid-template-columns: 1fr; }
  .metrics { padding-block: 15px; }
  .metrics div { padding-inline: 8px; }
  .metrics dt { font-size: .72rem; line-height: 1.3; min-height: 2.6em; }
  .metrics dd { font-size: clamp(1.27rem, 5.7vw, 2.1rem); margin-top: 3px; }
  .metrics .hardware { font-size: .65rem; }
  .plate-label { font-size: .7rem; }
  .getting-started { grid-template-columns: 1fr; gap: 22px; }
  footer .shell { flex-direction: column; }
}
@media (max-width: 390px) {
  .nav-links { gap: 9px; }
}
