@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --black: #000;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --mute: #6e6e73;
  --mute-2: #86868b;
  --line: #d2d2d7;
  --line-2: #e8e8ed;
  --mist: #f5f5f7;
  --white: #fff;
  --d-ink: #f5f5f7;
  --d-mute: #a1a1a6;
  --d-mute-2: #6e6e73;
  --d-surface: #161617;
  --d-surface-2: #1d1d1f;
  --link: #0066cc;
  --d-link: #2997ff;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1080px;
  --wide: 1320px;
  --gutter: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 48px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(820px + 2 * var(--gutter)); }
.wide { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.dark { background: var(--black); color: var(--d-ink); }
.light { background: var(--white); color: var(--ink); }
.mist { background: var(--mist); color: var(--ink); }
.section { padding: 148px 0 156px; }
.section-short { padding: 112px 0 120px; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

.nav {
  position: sticky; top: 0; z-index: 50;
  height: 48px;
  background: rgba(22, 22, 23, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-inner {
  max-width: calc(var(--wide) + 2 * var(--gutter)); height: 100%; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { color: var(--d-ink); text-decoration: none; font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #d2d2d7; text-decoration: none; font-size: 12.5px; letter-spacing: .01em; transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: #fff; }
.nav-links a.nav-cta {
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px 0 10px; border-radius: 980px;
  background: var(--d-ink); color: var(--black); font-weight: 500; letter-spacing: 0;
}
.nav-links a.nav-cta:hover { background: #fff; color: var(--black); }
.nav-cta .ico { width: 14px; height: 14px; margin-right: 6px; fill: currentColor; }
.nav-links a.is-here { color: #fff; }

.hero {
  position: relative;
  padding: 128px 0 132px;
  background:
    radial-gradient(70% 46% at 50% 0%, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 70%),
    var(--black);
  text-align: center;
  overflow: hidden;
}
.hero-title {
  margin: 0;
  font-size: clamp(56px, 10.5vw, 136px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.045em;
  background: linear-gradient(180deg, #ffffff 30%, #8e8e93 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-bottom: .06em;
}
.hero-sub {
  margin: 22px auto 0; max-width: 900px;
  font-size: clamp(20px, 2.3vw, 28px); line-height: 1.24; font-weight: 600; letter-spacing: -.015em;
  color: var(--d-ink);
}
.authors { margin: 28px auto 0; max-width: 900px; font-size: 17px; line-height: 1.65; color: var(--d-ink); }
.authors span, .affils span, .author-notes span { white-space: nowrap; }
.authors sup, .affils sup, .author-notes sup { font-size: .72em; margin-left: 1px; color: #a1a1a6; }
.affils { margin: 10px auto 0; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px;
  font-size: 14px; color: var(--d-mute); }
.author-notes { margin: 6px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 13px;
  color: var(--d-mute-2); }
.links { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-width: 92px; height: 40px; padding: 0 20px;
  border-radius: 980px; border: 1px solid rgba(255, 255, 255, .28);
  color: var(--d-ink); text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: -.005em;
  transition: background .2s, border-color .2s, color .2s;
}
.pill:hover { border-color: rgba(255, 255, 255, .6); }
.pill-solid { background: var(--d-ink); border-color: var(--d-ink); color: var(--black); }
.pill-solid:hover { background: #fff; }
.pill .ico { width: 17px; height: 17px; margin-right: 9px; fill: currentColor; flex: 0 0 auto; }
.pill .ico-img { width: 20px; height: auto; margin-right: 8px; }
.nav-cta .ico-img { width: 16px; height: auto; }
.text-link { color: var(--d-link); text-decoration: none; font-size: 17px; margin-left: 6px; }
.text-link:hover { text-decoration: underline; }

.demo-video { display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 76px; margin-left: auto; margin-right: auto; border-radius: 22px; background: #000;
  max-width: calc((100vh - 96px) * 16 / 9); max-width: calc((100svh - 96px) * 16 / 9); }
.demo-launch { position: relative; overflow: hidden; }
.demo-launch img { display: block; width: 100%; height: 100%; object-fit: contain; }
.demo-launch span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: rgba(0,0,0,.76); color: white; font-size: 1.4rem; }

.eyebrow { margin: 0 0 14px; font-size: 17px; font-weight: 600; color: var(--mute); letter-spacing: -.005em; }
.center-head { text-align: center; }
.headline {
  margin: 0; font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -.035em;
}
.headline-left { text-align: left; }
.dark .headline {
  background: linear-gradient(180deg, #ffffff 40%, #a1a1a6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.seg { display: flex; flex-wrap: nowrap; gap: 2px; padding: 4px; border-radius: 980px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button {
  flex: 0 0 auto; border: 0; background: transparent; cursor: pointer; white-space: nowrap;
  height: 34px; padding: 0 16px; border-radius: 980px; font-size: 14px; font-weight: 500; letter-spacing: -.005em;
  transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.seg-dark { background: var(--d-surface-2); margin: 48px auto 0; }
.seg-dark button { color: var(--d-mute); }
.seg-dark button:hover { color: #fff; }
.seg-dark button[aria-selected="true"] { background: var(--d-ink); color: var(--black); }
.seg-dark button[aria-pressed="true"] { background: var(--d-ink); color: var(--black); }
.seg-light { background: var(--mist); }
.seg-light button { color: var(--ink-2); }
.seg-light button:hover { color: var(--black); }
.seg-light button[aria-pressed="true"] { background: var(--white); color: var(--black); box-shadow: 0 1px 4px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); }
.seg .seg-sep { flex: 0 0 auto; width: 1px; margin: 8px 6px; background: var(--line); }
.seg button small { margin-left: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; opacity: .55; }

.wide.qual { position: relative; }
.set-note { margin: 12px auto 0; text-align: center; font-size: 14px; color: var(--d-mute-2); }
.rail {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 12px; margin: 24px auto 14px; padding: 6px 4px 4px;
  overflow-x: auto; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail button {
  flex: 0 0 auto; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; width: 116px;
  opacity: .45; transition: opacity .3s var(--ease);
}
.rail button:hover { opacity: .8; }
.rail button[aria-selected="true"] { opacity: 1; }
.rail .thumb {
  display: block; width: 116px; aspect-ratio: 16 / 9; border-radius: 8px; background-color: var(--d-surface); background-repeat: no-repeat;
  position: relative; overflow: hidden;
}
.rail .thumb::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(255, 255, 255, .75);
  transform: scaleX(var(--lp, 0)); transform-origin: left; opacity: 0; transition: opacity .4s var(--ease), transform .3s linear;
}
.rail .thumb.is-fetching::after { opacity: 1; }
.rail button[aria-selected="true"] .thumb { box-shadow: 0 0 0 1.5px var(--black), 0 0 0 3px var(--d-ink); }
.rail .rl { display: block; margin-top: 7px; font-size: 12.5px; font-weight: 600; color: var(--d-ink); letter-spacing: -.005em; }
.rail .rl i { font-style: normal; color: var(--d-mute-2); font-weight: 500; margin-right: 6px; font-variant-numeric: tabular-nums; }

.stage { --ar: 1.7778; --armax: 1.7778; --cols: 4; display: grid; justify-content: center; gap: 12px;
  grid-template-columns: repeat(var(--cols), min(calc((100% - (var(--hcols, var(--cols)) - 1) * 12px) / var(--hcols, var(--cols)) / var(--armax) * var(--ar)), calc(56vh * var(--ar)))); }
.panel { margin: 0; min-width: 0; }
.pname {
  display: block; text-align: center; height: 26px; line-height: 26px; font-size: 13.5px; font-weight: 500; color: var(--d-mute); letter-spacing: -.005em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pname small { margin-left: 4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--d-mute-2); }
.panel.is-ours .pname { font-weight: 600; }
.media { position: relative; aspect-ratio: var(--ar); border-radius: 12px; overflow: hidden; background: var(--d-surface); }
.media canvas.main { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.panel.is-ours .media::after { content: ""; position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 0 2px #2ca02c; pointer-events: none; z-index: 2; }
.inset {
  position: absolute; z-index: 1; padding: 0; border: 0; background: transparent; overflow: visible;
  left: calc(var(--ix, .02) * 100%); top: calc(var(--iy, .03) * 100%); width: calc(var(--iw, .34) * 100%); aspect-ratio: var(--ar);
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
}
.inset::before { content: ""; position: absolute; inset: -12px; }
.inset-clip {
  position: relative; display: block; width: 100%; height: 100%; border-radius: 7px; overflow: hidden; background: var(--d-surface);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .9), 0 0 0 2px rgba(255, 255, 255, .5), 0 6px 18px rgba(0, 0, 0, .35);
  transition: box-shadow .2s var(--ease);
}
.inset:hover .inset-clip { box-shadow: 0 0 0 1px rgba(0, 0, 0, .9), 0 0 0 2px #fff, 0 8px 22px rgba(0, 0, 0, .45); }
.inset::after {
  content: ""; position: absolute; right: -5px; bottom: -5px; width: 12px; height: 12px; border-radius: 50%; opacity: 0; z-index: 2;
  background: #fff; box-shadow: 0 0 0 2px rgba(0, 0, 0, .55); transition: opacity .2s; pointer-events: none;
}
.inset:hover::after { opacity: 1; }
.inset canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.inset-tag {
  position: absolute; left: 4px; bottom: 4px; padding: 1px 5px; border-radius: 4px; font-size: 9.5px; font-weight: 700; letter-spacing: .04em;
  background: rgba(0, 0, 0, .62); color: #fff; pointer-events: none;
}
.stage.is-loading .media::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; z-index: 3;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); border-top-color: rgba(255, 255, 255, .7); animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.player { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.pbtn {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--d-surface-2); cursor: pointer;
  display: grid; place-items: center; color: var(--d-ink); transition: background .2s;
}
.pbtn:hover { background: #2c2c2e; }
.pbtn svg { width: 16px; height: 16px; fill: currentColor; }
.pbtn .i-play { margin-left: 2px; }
.pbtn[data-state="paused"] .i-pause, .pbtn:not([data-state="paused"]) .i-play { display: none; }
.pbtn-text { width: auto; min-width: 44px; padding: 0 12px; border-radius: 980px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.scrub { position: relative; flex: 1; height: 36px; display: flex; align-items: center; }
.scrub input { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; margin: 0; background: transparent; cursor: pointer; --p: 0%; }
.scrub input::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--d-ink) var(--p), #3a3a3c var(--p)); }
.scrub input::-moz-range-track { height: 3px; border-radius: 2px; background: #3a3a3c; }
.scrub input::-moz-range-progress { height: 3px; border-radius: 2px; background: var(--d-ink); }
.scrub input::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; margin-top: -5px; border-radius: 50%; background: #fff; border: 0; }
.scrub input::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 0; }
.time { flex: 0 0 auto; min-width: 86px; text-align: right; font-size: 13px; color: var(--d-mute); font-variant-numeric: tabular-nums; }
.seg-mini { margin: 0; padding: 3px; }
.seg-mini button { height: 30px; padding: 0 12px; font-size: 13px; }
.seg-mini[hidden] { display: none; }

.strip-head { text-align: center; font-size: 12.5px; font-weight: 500; color: var(--d-mute-2); }
.strip-foot { margin: 16px 0 0; }
.player + .strip { margin-top: 18px; }
.strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 10px 26px; }
.sgroup { min-width: 0; max-width: 100%; }
.sgroup-name { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--d-mute-2); }
.sthumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.strip button {
  flex: 0 0 auto; width: 104px; border: 0; padding: 0; background: none; cursor: pointer; text-align: left; color: var(--d-mute);
  transition: color .25s;
}
.strip canvas { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--d-surface); opacity: .6; transition: opacity .25s var(--ease), box-shadow .25s var(--ease); }
.strip button:hover canvas { opacity: .92; }
.strip button span { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip button[aria-pressed="true"] { color: #fff; }
.strip button[aria-pressed="true"] canvas { opacity: 1; box-shadow: 0 0 0 1.5px var(--black), 0 0 0 3px var(--d-ink); }
.qual-nohevc { max-width: 860px; margin: 12px auto 0; text-align: center; font-size: 14px; line-height: 1.5; color: var(--d-mute-2); text-wrap: balance; }
.qual-retry { margin-left: 6px; padding: 0; border: 0; background: none; font: inherit; color: var(--d-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.player .pbtn:disabled, .player input:disabled { opacity: .4; cursor: default; }

.metrics { margin-top: 64px; }
.controls { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.controls .seg { flex: 0 0 auto; }
.controls .sort { margin-left: auto; flex: 0 0 auto; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mute); }
.sort select {
  appearance: none; -webkit-appearance: none; height: 34px; padding: 0 30px 0 14px; border-radius: 980px; border: 1px solid var(--line);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236e6e73' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  font: inherit; font-size: 14px; color: var(--ink); cursor: pointer;
}
.order {
  height: 34px; padding: 0 14px; border-radius: 980px; border: 1px solid var(--line); background: var(--white); cursor: pointer;
  font-size: 14px; color: var(--ink); white-space: nowrap;
}
.order:hover, .sort select:hover { border-color: var(--mute-2); }
.order span { margin-right: 4px; color: var(--mute); }
.order[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.order[aria-pressed="true"] span { color: #fff; }
.ds-note { margin: 18px 0 22px; font-size: 14px; color: var(--mute); min-height: 21px; }
.table-scroll { overflow-x: auto; border-top: 1px solid var(--ink); scrollbar-width: thin; }
.mtable { width: 100%; min-width: 1040px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.mtable th, .mtable td { padding: 0 12px; text-align: right; white-space: nowrap; }
.mtable thead .groups th {
  height: 38px; padding-top: 10px; font-size: 12px; font-weight: 600; color: var(--mute); letter-spacing: .01em; text-align: center;
  border-bottom: 1px solid var(--line-2);
}
.mtable .g-start { border-left: 1px solid var(--line-2); }
.mtable thead .cols th { height: 64px; vertical-align: bottom; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mtable thead .cols th.rank, .mtable thead .cols th.method { text-align: left; font-size: 12px; color: var(--mute); font-weight: 600; }
.colbtn {
  border: 0; background: none; padding: 0; cursor: pointer; display: inline-flex; flex-direction: column; align-items: flex-end; gap: 2px;
  color: var(--ink-2);
}
.colbtn .cl { font-size: 13px; font-weight: 600; letter-spacing: -.005em; }
.colbtn .cl i { font-style: normal; color: var(--mute-2); font-weight: 500; margin-left: 3px; }
.colbtn .cu { font-size: 11px; color: var(--mute-2); font-weight: 500; }
.colbtn:hover .cl { color: var(--black); }
th.is-sorted .colbtn .cl { color: var(--black); }
.mtable td.rank, .mtable th.rank { position: sticky; left: 0; z-index: 2; width: 46px; text-align: left; color: var(--mute-2); background: var(--white); }
.mtable th.method { position: sticky; left: 46px; z-index: 2; min-width: 220px; text-align: left; font-weight: 400; background: var(--white); }
.mtable thead .groups th:first-child { position: sticky; left: 0; z-index: 2; background: var(--white); }
.mtable tbody tr.row td, .mtable tbody tr.row th { height: 58px; border-bottom: 1px solid var(--line-2); }
.mtable tbody tr.row:hover td, .mtable tbody tr.row:hover th { background: #fbfbfd; }
.mtable td.num { color: var(--ink-2); }
.mtable td.is-sorted { background: rgba(0, 0, 0, .022); color: var(--ink); }
.mtable tbody tr.row:hover td.is-sorted { background: rgba(0, 0, 0, .04); }
.mtable td.best { color: var(--black); font-weight: 700; }
.mcell { display: flex; align-items: center; gap: 8px; }
.toggle {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--mist); cursor: pointer; display: grid; place-items: center;
  transition: background .2s, transform .3s var(--ease);
}
.toggle:hover { background: var(--line-2); }
.toggle svg { width: 10px; height: 10px; stroke: var(--ink-2); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.toggle-space { flex: 0 0 auto; width: 20px; }
.mname { display: flex; flex-direction: column; line-height: 1.25; }
.mname b { font-weight: 600; color: var(--ink); font-size: 14.5px; letter-spacing: -.01em; }
.mname b.clickable { cursor: pointer; }
.mname small { font-size: 12px; color: var(--mute-2); margin-top: 2px; }
.mname small a { color: var(--mute-2); text-decoration: none; }
.mname small a:hover { color: var(--link); }
.ours-tag {
  display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 980px; background: var(--black); color: #fff;
  font-size: 10.5px; font-weight: 600; letter-spacing: .02em; vertical-align: 2px;
}
.mtable tr.is-ours td, .mtable tr.is-ours th { background: #f8f8fa; }
.mtable tr.is-ours:hover td, .mtable tr.is-ours:hover th { background: #f3f3f6; }
.mtable tr.is-ours td.rank { color: var(--black); font-weight: 600; }
.mtable tr.version td, .mtable tr.version th { height: 40px; border-bottom: 1px solid var(--line-2); background: #fcfcfd; color: var(--mute); font-size: 13px; }
.mtable tr.version th .vl { padding-left: 28px; display: flex; flex-direction: column; line-height: 1.25; }
.mtable tr.version th .vl b { font-weight: 500; color: var(--ink-2); }
.mtable tr.version.is-default th .vl b::after { content: "shown above"; margin-left: 8px; font-size: 10.5px; color: var(--mute-2); font-weight: 500; }
.mtable tr[hidden] { display: none; }

.bib { position: relative; margin-top: 36px; background: var(--white); border-radius: 18px; padding: 26px 28px; }
.bib pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--mono); font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.bib pre .bl { display: block; padding-left: 8ch; text-indent: -8ch; }
.copy {
  position: absolute; top: 16px; right: 16px; height: 30px; padding: 0 14px; border-radius: 980px; border: 1px solid var(--line);
  background: var(--white); cursor: pointer; font-size: 13px; color: var(--ink);
}
.copy:hover { border-color: var(--mute-2); }
.bib-v1 { margin: 22px 0 0; font-size: 15px; color: var(--mute); }
.bib-v1 a { color: var(--link); text-decoration: none; }
.bib-v1 a:hover { text-decoration: underline; }

.footer { background: var(--mist); border-top: 1px solid var(--line); color: var(--mute); font-size: 12px; }
.footer-inner { max-width: calc(var(--wide) + 2 * var(--gutter)); display: flex; justify-content: space-between; align-items: center; height: 56px; }
.footer a { color: var(--mute); text-decoration: none; }
.footer a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .nav-links { gap: 18px; }
  .nav-links a:not(.nav-v1):not(.nav-cta) { display: none; }
  .section { padding: 104px 0 112px; }
  .br-wide { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero { padding: 88px 0 96px; }
  .demo-video { margin-top: 52px; border-radius: 16px; }
  .rail { justify-content: flex-start; flex-wrap: nowrap; }
  .seg-dark { margin-top: 44px; }
  .controls { flex-direction: column; align-items: stretch; }
  .sort { justify-content: flex-start; }
  .stage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stage .media { aspect-ratio: var(--armax); }
  .stage .media canvas.main { object-fit: contain; }
  .pname { font-size: 12.5px; }
  .inset-clip { border-radius: 5px; }
  .player { gap: 10px; flex-wrap: wrap; }
  .scrub { order: 5; flex-basis: 100%; }
  .time { min-width: 0; }
  .strip { display: block; }
  .strip button { width: calc((100vw - 2 * var(--gutter) - 20px) / 3); }
  .bib { padding: 52px 18px 20px; }
  .mtable th.method { min-width: 132px; max-width: 150px; }
  .mname b { font-size: 13.5px; }
  .mname small { font-size: 11px; white-space: normal; }
  .set-note { min-height: 4.4em; }
  #qp-view[hidden] { display: flex !important; visibility: hidden; }
  #qual-sets { flex-wrap: wrap; justify-content: center; width: auto; border-radius: 20px; }
  .stage[data-n="3"] .panel:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 4px); }
  .sgroup { margin-bottom: 14px; }
  .sthumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .sthumbs::-webkit-scrollbar { display: none; }
  .sthumbs > * { flex: 0 0 31%; }
}

.dark .pname[style*="--mc-d"], .dark .strip button span[style*="--mc-d"] { color: var(--mc-d); }
.light .mtable b[style*="--mc-l"] { color: var(--mc-l); }

@media (min-width: 1100px) {
  .wide.qual { max-width: calc(1800px + 2 * var(--gutter)); }
  .wide.qual .stage { grid-template-columns: repeat(var(--cols), min(calc((100% - (var(--cols) - 1) * 12px) / var(--cols) / var(--armax) * var(--ar)), calc(66vh * var(--ar)))); }
}

@media (pointer: coarse) {
  .brand, .nav-links a:not(.nav-cta), .text-link { display: inline-flex; align-items: center; min-height: 40px; }
  .nav-links a.nav-cta, .toggle { position: relative; }
  .nav-links a.nav-cta::before { content: ""; position: absolute; inset: -7px -4px; }
  .copy::before { content: ""; position: absolute; inset: -6px -4px; }
  .toggle::before { content: ""; position: absolute; inset: -10px; }
  .footer a { position: relative; display: inline-flex; align-items: center; min-height: 40px; }
  .seg button { height: 40px; }
  .seg-mini button { height: 40px; }
  .pbtn { width: 40px; height: 40px; }
  .pbtn-text { min-width: 48px; }
  .scrub, .scrub input { height: 40px; }
  .sort select, .order { height: 40px; }
  .colbtn { min-height: 40px; min-width: 40px; justify-content: flex-end; }
}
