/* Perceptive SONIC: paper-inspired teal, orange, and slate palette. */
@font-face {
  font-family: Inter;
  src: url('assets/fonts/inter-latin.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('assets/fonts/inter-tight-latin.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #203342;
  --muted: #657482;
  --accent: #187c70;
  --action: #bd6c29;
  --frozen: #3974a1;
  --band: #f4f8f7;
  --hair: #dce4e8;
  --display: 'Inter Tight',Inter,'Helvetica Neue',Arial,sans-serif;
  --body: Inter,'Helvetica Neue',Arial,sans-serif;
  --wide: 1200px;
  --gutter: 40px;
  --section: 132px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 400 16px/1.55 var(--body);
  letter-spacing: -.018em;
  -webkit-font-smoothing: antialiased;
}
button, a, input {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
img, video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
figure, p, h1, h2, h3 {
  margin: 0;
}
[hidden] {
  display: none!important;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.container {
  max-width: calc(var(--wide) + var(--gutter)*2);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.section {
  padding-block: var(--section);
}
.band {
  background: var(--band);
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 20px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 9px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.eyebrow {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.015em;
  margin-bottom: 16px;
}
.tiny-label, .stat-overline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .085em;
}
.tiny-label {
  color: var(--muted);
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  text-wrap: balance;
}
h2 {
  font-size: clamp(42px,5.1vw,68px);
  line-height: 1.045;
  letter-spacing: -.035em;
}
h3 {
  letter-spacing: -.025em;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}
.heading-aside {
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  padding-bottom: 4px;
}
.center-heading {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 56px;
}
.style-heading {
  margin-top: 64px;
}
.section-description {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.5;
  margin-top: 26px;
  text-wrap: balance;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .2s,transform .2s;
}
.button:disabled {
  color: var(--muted);
}
.button.primary:disabled {
  color: #fff;
  background: var(--accent);
}
.button:not(:disabled):hover {
  transform: translateY(-1px);
}
.primary {
  background: var(--accent);
  color: #fff;
}
.primary:hover {
  background: #126358;
  color: #fff;
}
.secondary {
  border-color: var(--hair);
  background: transparent;
}
.secondary:not(:disabled):hover {
  background: #e7f0ed;
  color: var(--ink);
}
.text-button {
  padding-inline: 10px;
  color: var(--accent);
}
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 15px;
  white-space: nowrap;
}
.inline-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav-shell {
  position: fixed;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1100px,calc(100% - 32px));
}
.nav {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 30px;
  border: 1px solid #0000000b;
  border-radius: 18px;
  background: #ffffffdf;
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  padding: 0 13px 0 22px;
  box-shadow: 0 5px 25px #00000006;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.035em;
}
.brand strong {
  font-weight: 700;
}
.desktop-nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 12px;
  letter-spacing: -.005em;
}
.desktop-nav a {
  padding: 18px 0;
  color: #657482;
}
.desktop-nav a:hover, .desktop-nav a.current {
  color: var(--accent);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 8px 17px;
  font-size: 12px;
}
.nav-cta .icon {
  width: 15px;
  height: 15px;
}
.nav-cta:hover {
  background: var(--accent);
  color: white;
}
.menu-toggle {
  display: none;
}
.mobile-menu {
  margin-top: 8px;
  padding: 15px;
  background: #fffffffa;
  backdrop-filter: blur(20px);
  border: 1px solid var(--hair);
  border-radius: 18px;
  box-shadow: 0 15px 30px #0000000a;
}
.mobile-menu a {
  display: block;
  padding: 13px 12px;
  border-radius: 8px;
  font-size: 15px;
}
.mobile-menu a:hover {
  background: var(--band);
}
.hero {
  padding-top: 130px;
}
.hero-copy {
  text-align: center;
}
h1 {
  font-size: clamp(62px,7.4vw,100px);
  line-height: 1.015;
  letter-spacing: -.052em;
}
h1>span {
  color: var(--accent);
}
.hero-description {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -.025em;
  color: var(--muted);
  margin-top: 26px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
}
.hero-actions .button {
  white-space: nowrap;
}
.hero-stage {
  margin-top: 48px;
}
.media-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e7eceb;
  border-radius: 20px;
}
.media-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.round-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #ffffff50;
  background: #ffffffdd;
  color: var(--ink);
  backdrop-filter: blur(10px);
  transition: background .2s;
}
.round-button:hover {
  background: #fff;
}
.round-button .icon {
  width: 18px;
  height: 18px;
}
.authors-block {
  text-align: center;
  padding-top: 42px;
  padding-bottom: 62px;
}
.authors {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  flex-wrap: wrap;
}
.authors>span {
  white-space: nowrap;
}
.authors sup, .affiliations sup {
  font-size: 8px;
  margin-left: 2px;
}
.affiliations {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
}
.author-note {
  font-size: 9px;
  color: var(--muted);
  margin-top: 12px;
}
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.highlight-stat {
  padding: 32px 30px 26px;
  border-radius: 22px;
  background: white;
  overflow: hidden;
}
.stat-overline {
  color: var(--muted);
  font-size: 9px;
}
.big-stat {
  font: 600 clamp(54px,5.6vw,76px)/1.1 var(--display);
  letter-spacing: -.055em;
  margin-top: 24px;
}
.big-stat>span {
  font-size: .43em;
  letter-spacing: -.04em;
  margin-left: 2px;
}
.word-stat {
  font-size: clamp(48px,5.1vw,68px);
}
.stat-detail {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin-top: 15px;
}
.mini-comparison {
  height: 47px;
  margin-top: 27px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.mini-comparison i {
  height: 8px;
  background: #bdcbd2;
  border-radius: 4px;
}
.mini-comparison i+i {
  background: var(--accent);
}
.trial-dots {
  display: grid;
  grid-template-columns: repeat(24,1fr);
  gap: 4px;
  margin-top: 29px;
}
.trial-dots i {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
}
.trial-dots i.miss {
  background: #dce4e8;
}
.residual-equation {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 21px;
  font: 500 26px var(--display);
  letter-spacing: -.03em;
}
.residual-equation b {
  color: #b3b3ba;
  font-weight: 400;
}
.residual-equation sub {
  font-size: 10px;
}
.residual-term {
  color: var(--action);
  background: #fff1e5;
  border-radius: 10px;
  padding: 4px 16px;
}
.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}
.segmented-control {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--band);
}
.segmented-control button {
  border: 0;
  background: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  transition: background .2s,color .2s;
}
.segmented-control button.active {
  background: var(--ink);
  color: #fff;
}
.gallery-count {
  color: var(--muted);
  font-size: 11px;
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 24px;
}
.demo-card .media-shell {
  aspect-ratio: 16/9;
}
.demo-card .round-button, .motion-grid .round-button {
  position: absolute;
  bottom: 16px;
  right: 16px;
}
.clip-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #ffffffd9;
  backdrop-filter: blur(12px);
  padding: 6px 9px;
  font-size: 8px;
  letter-spacing: .07em;
  font-weight: 600;
  border-radius: 5px;
}
.expand-video {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffffc9;
  color: var(--ink);
}
.expand-video .icon {
  width: 18px;
  height: 18px;
}
.expand-video:hover {
  background: #fff;
}
.demo-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 2px 0;
}
.demo-caption h3 {
  font-size: 19px;
  line-height: 1.3;
}
.demo-caption>span {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.gallery-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
}
.gallery-bottom>p {
  font-size: 11px;
  color: var(--muted);
}
.gallery-bottom button {
  font-size: 12px;
  gap: 18px;
  min-height: 42px;
}
.gallery-bottom button>span {
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}
.motion-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 64px 0 25px;
}
.motion-heading h3 {
  font-size: 28px;
}
.motion-heading p {
  font-size: 13px;
  color: var(--muted);
}
.motion-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.motion-grid .media-shell {
  aspect-ratio: 1.36;
  border-radius: 16px;
}
.motion-grid video {
  object-fit: cover;
}
.motion-grid figcaption {
  padding: 14px 3px 0;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}
.motion-grid figcaption span {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.motion-grid .round-button {
  width: 34px;
  height: 34px;
  right: 12px;
  bottom: 12px;
}
.motion-grid .round-button .icon {
  width: 15px;
  height: 15px;
}
summary {
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::marker {
  content: '';
}
.result-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin: 56px 0;
}
.result-summary>div+div {
  border-left: 1px solid var(--hair);
  padding-left: 50px;
}
.result-summary .tiny-label {
  font-size: 10px;
}
.result-summary p {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 15px;
  font: 500 62px/1.2 var(--display);
  letter-spacing: -.05em;
}
.result-summary p>span {
  color: #a0a0a9;
}
.result-summary .icon {
  width: 35px;
  height: 35px;
  color: #a0a0a9;
  stroke-width: 1;
}
.result-summary strong {
  color: var(--accent);
  font-weight: 600;
}
.result-summary small {
  font-size: 30px;
}
.chart-panel {
  padding: 36px 40px;
  border-radius: 22px;
  background: white;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
}
.chart-head h3 {
  font-size: 23px;
}
.chart-head p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.chart-legend {
  display: flex;
  gap: 18px;
  font-size: 10px;
  color: var(--muted);
}
.chart-legend>span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.chart-legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}
.baseline-key {
  background: #b7c8cf;
}
.student-key {
  background: var(--accent);
}
.terrain-chart {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 46px;
}
.chart-row {
  display: grid;
  grid-template-columns: 117px 1fr;
  gap: 10px;
  align-items: center;
}
.chart-row-label {
  font-size: 11px;
  font-weight: 500;
}
.bar-pair {
  display: grid;
  gap: 6px;
  padding-right: 38px;
  background: repeating-linear-gradient(90deg,transparent,transparent calc(25% - 1px),#f0f0f3 calc(25% - 1px),#f0f0f3 25%);
}
.chart-bar {
  position: relative;
  height: 10px;
  background: #b7c8cf;
  border-radius: 0 3px 3px 0;
  min-width: 2px;
}
.chart-bar.student {
  background: var(--accent);
}
.chart-bar span {
  position: absolute;
  left: calc(100% + 6px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
  color: #86868e;
  font-variant-numeric: tabular-nums;
}
.chart-bar.student span {
  color: var(--accent);
  font-weight: 500;
}
.chart-row.ood-row {
  background: #edf5f1;
  border-radius: 10px;
  padding: 15px;
  margin: -10px -15px;
}
.chart-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 30px;
  max-width: 90ch;
}
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 36px;
}
.quality-grid article {
  padding: 30px 34px;
}
.quality-grid .tiny-label {
  font-size: 9px;
}
.quality-value {
  font: 600 52px/1.3 var(--display);
  letter-spacing: -.045em;
  margin-top: 14px;
}
.quality-value span {
  font: 400 20px var(--display);
  letter-spacing: -.025em;
}
.quality-grid h3 {
  font-size: 21px;
  margin-top: 12px;
}
.quality-grid article>p:last-child {
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px;
  max-width: 38ch;
}
.result-details {
  border-top: 1px solid var(--hair);
  margin-top: 20px;
}
.result-details summary, .abstract-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 20px 0;
}
.result-details summary>span, .abstract-details summary>span {
  font-size: 23px;
  color: var(--muted);
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  white-space: nowrap;
  text-align: right;
}
caption {
  text-align: left;
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 15px;
}
td, th {
  padding: 15px 18px;
  border-bottom: 1px solid var(--hair);
  font-weight: 400;
}
thead th {
  font-size: 10px;
  color: var(--muted);
}
th:first-child {
  text-align: left;
}
.our-policy th, .our-policy td {
  font-weight: 500;
  color: var(--accent);
}
.paper-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: start;
}
.paper-section h2 {
  font-size: 50px;
}
.paper-full-title {
  font: 500 24px/1.4 var(--display);
  letter-spacing: -.025em;
  margin-top: 20px;
}
.paper-description {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 24px;
  max-width: 49ch;
}
.paper-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.paper-actions .button {
  font-size: 12px;
  padding-inline: 17px;
  min-height: 43px;
}
.release-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 48ch;
}
.abstract-details {
  border-top: 1px solid var(--hair);
  margin-top: 27px;
}
.abstract-details p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  padding-bottom: 15px;
}
.citation-panel {
  border-radius: 18px;
  background: var(--band);
  padding: 24px 26px;
  margin-top: 8px;
  min-width: 0;
}
.citation-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
}
.copy-button {
  display: flex;
  align-items: center;
  gap: 5px;
  background: white;
  border: 1px solid var(--hair);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 10px;
}
.copy-button .icon {
  width: 12px;
  height: 12px;
}
.copy-button:hover {
  border-color: var(--accent);
}
pre {
  font: 11px/1.9 'SFMono-Regular',Consolas,'Liberation Mono',monospace;
  letter-spacing: -.025em;
  overflow: auto;
  padding: 25px 0 20px;
  margin: 0;
  color: #555560;
}
.citation-panel>p {
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--hair);
  padding-top: 16px;
}
footer {
  border-top: 1px solid #e9e9ee;
  padding: 28px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-inner .brand {
  font-size: 14px;
}
.footer-year {
  font: 400 10px var(--body);
  color: var(--muted);
  margin-left: 12px;
}
.footer-inner p {
  font-size: 9px;
  color: var(--muted);
}
.back-top {
  font-size: 10px;
}
.footer-credit {
  font-size: 9px;
  color: #8d8d95;
  margin-top: 16px;
}
.footer-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
dialog {
  padding: 0;
  width: min(1100px,calc(100% - 32px));
  max-height: 90svh;
  border: 1px solid #ffffff22;
  border-radius: 18px;
  background: #203342;
  color: #fff;
  box-shadow: 0 40px 100px #0005;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(10px);
}
dialog video {
  width: 100%;
  max-height: 75svh;
  background: black;
}
.dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  font-size: 12px;
}
.dialog-toolbar button {
  padding: 6px 12px;
  background: #ffffff15;
  color: white;
  border: 0;
  border-radius: 6px;
  font-size: 11px;
}
.dialog-toolbar button span {
  font-size: 18px;
  margin-left: 10px;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.resource-page {
  padding: 140px 0 100px;
}
.resource-page .container {
  max-width: 1000px;
}
.resource-page h1 {
  font-size: 64px;
}
.resource-intro {
  font-size: 20px;
  color: var(--muted);
  margin-top: 26px;
  max-width: 50ch;
}
.release-status {
  display: inline-block;
  border: 1px solid #c6ded5;
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--accent);
  background: #edf5f1;
  font-size: 11px;
  margin-bottom: 22px;
}
.resource-block {
  margin-top: 52px;
  border-top: 1px solid var(--hair);
  padding-top: 28px;
}
.resource-block h2 {
  font-size: 30px;
}
.resource-block p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 70ch;
}
.resource-block ul {
  font-size: 14px;
  color: var(--muted);
  padding-left: 20px;
  line-height: 1.9;
}
.resource-block pre {
  background: var(--band);
  border-radius: 12px;
  margin-top: 20px;
  padding: 24px;
}
.resource-block a {
  color: var(--accent);
}
.resource-block .button {
  color: white;
  margin-top: 20px;
}
.resource-block code {
  font-size: .9em;
}
.resource-back {
  display: inline-flex;
  margin-top: 50px;
  color: var(--accent);
  font-size: 14px;
}
@media(min-width:1500px) {
  :root {
    --wide: 1260px;
    --section: 150px;
  }
  .hero {
    padding-top: 145px;
  }
}
@media(max-width:1050px) {
  :root {
    --gutter: 32px;
    --section: 100px;
  }
  .nav {
    gap: 20px;
  }
  .desktop-nav {
    gap: 20px;
  }
  .brand {
    font-size: 16px;
  }
  .highlight-stat {
    padding: 28px 24px;
  }
  .big-stat {
    font-size: 61px;
  }
  .word-stat {
    font-size: 54px;
  }
  .stat-detail {
    font-size: 12px;
  }
  .demo-caption {
    display: block;
  }
  .demo-caption>span {
    display: block;
    margin-top: 4px;
  }
  .paper-layout {
    gap: 40px;
  }
  .chart-panel {
    padding: 30px;
  }
  .terrain-chart {
    gap: 25px 30px;
  }
  .chart-row {
    grid-template-columns: 100px 1fr;
  }
  .result-summary p {
    font-size: 54px;
  }
  .paper-section h2 {
    font-size: 42px;
  }
}
@media(max-width:760px) {
  :root {
    --gutter: 22px;
    --section: 80px;
  }
  .nav-shell {
    top: 10px;
    width: calc(100% - 24px);
  }
  .nav {
    height: 54px;
    padding-left: 16px;
    gap: 16px;
    border-radius: 16px;
  }
  .brand {
    font-size: 16px;
  }
  .desktop-nav {
    display: none;
  }
  .nav-cta {
    margin-left: auto;
    padding: 7px 12px;
    font-size: 11px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 0;
    padding: 10px 5px;
    width: 26px;
    height: 40px;
  }
  .menu-toggle span {
    width: 17px;
    height: 1.5px;
    background: var(--ink);
    transition: transform .2s;
  }
  .menu-toggle[aria-expanded=true] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }
  .menu-toggle[aria-expanded=true] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }
  .hero {
    padding-top: 110px;
  }
  h1 {
    font-size: clamp(52px,9vw,72px);
    letter-spacing: -.055em;
  }
  .hero-description {
    font-size: 17px;
    margin-top: 23px;
  }
  .hero-actions {
    gap: 12px;
    margin-top: 22px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 11px 15px;
    min-height: 44px;
  }
  .hero-actions .text-button {
    padding-inline: 0;
  }
  .hero-actions .icon {
    width: 17px;
    height: 17px;
  }
  .hero-stage {
    margin-top: 34px;
  }
  .authors-block {
    padding-top: 30px;
    padding-bottom: 40px;
  }
  .authors {
    gap: 10px 18px;
    font-size: 12px;
  }
  .affiliations {
    gap: 4px 14px;
    font-size: 9px;
    line-height: 1.8;
    margin-top: 12px;
  }
  .author-note {
    font-size: 8px;
    line-height: 1.7;
    max-width: 43ch;
    margin: 12px auto 0;
  }
  .eyebrow {
    font-size: 14px;
    margin-bottom: 13px;
  }
  h2 {
    font-size: clamp(39px,7vw,52px);
    letter-spacing: -.04em;
  }
  .section-heading {
    margin-bottom: 32px;
    gap: 20px;
    display: block;
  }
  .heading-aside {
    font-size: 15px;
    margin-top: 22px;
  }
  .highlight-grid {
    gap: 12px;
  }
  .highlight-stat {
    padding: 23px 18px;
  }
  .stat-overline {
    font-size: 8px;
    letter-spacing: .05em;
  }
  .big-stat {
    font-size: 44px;
    margin-top: 20px;
  }
  .word-stat {
    font-size: 38px;
  }
  .stat-detail {
    font-size: 10px;
  }
  .trial-dots {
    gap: 2px;
    grid-template-columns: repeat(20,1fr);
  }
  .residual-equation {
    font-size: 20px;
    gap: 8px;
    margin-top: 26px;
  }
  .residual-term {
    padding: 4px 10px;
  }
  .mini-comparison {
    margin-top: 22px;
  }
  .segmented-control {
    padding: 4px;
  }
  .segmented-control button {
    padding: 9px 14px;
    font-size: 11px;
  }
  .gallery-count {
    font-size: 9px;
  }
  .demo-grid {
    gap: 26px 16px;
  }
  .demo-caption h3 {
    font-size: 17px;
  }
  .demo-caption>span {
    font-size: 9px;
  }
  .demo-card .media-shell {
    border-radius: 14px;
  }
  .clip-tag {
    font-size: 7px;
    left: 12px;
    top: 12px;
    padding: 5px 7px;
  }
  .demo-card .round-button {
    width: 34px;
    height: 34px;
    right: 12px;
    bottom: 12px;
  }
  .expand-video {
    width: 28px;
    height: 28px;
    top: 10px;
    right: 10px;
  }
  .expand-video .icon {
    width: 16px;
    height: 16px;
  }
  .gallery-bottom>p {
    font-size: 9px;
    max-width: 19ch;
  }
  .gallery-bottom button {
    font-size: 11px;
    padding: 10px 15px;
  }
  .center-heading {
    margin-bottom: 34px;
  }
  .section-description {
    font-size: 17px;
    margin-top: 22px;
  }
  .motion-heading {
    display: block;
    margin-top: 44px;
  }
  .motion-heading h3 {
    font-size: 25px;
  }
  .motion-heading p {
    font-size: 12px;
    margin-top: 9px;
  }
  .motion-grid {
    gap: 12px;
  }
  .motion-grid .media-shell {
    border-radius: 12px;
    aspect-ratio: .95;
  }
  .motion-grid figcaption {
    font-size: 11px;
    line-height: 1.4;
  }
  .motion-grid figcaption span {
    display: none;
  }
  .result-summary {
    gap: 25px;
    margin: 30px 0;
  }
  .result-summary>div+div {
    padding-left: 25px;
  }
  .result-summary .tiny-label {
    font-size: 8px;
  }
  .result-summary p {
    font-size: 43px;
    gap: 13px;
  }
  .result-summary small {
    font-size: 20px;
  }
  .result-summary .icon {
    width: 25px;
    height: 25px;
  }
  .results-section .inline-link {
    font-size: 13px;
    margin-top: 20px;
  }
  .chart-panel {
    padding: 26px 24px;
  }
  .chart-head {
    display: block;
  }
  .chart-head h3 {
    font-size: 22px;
  }
  .chart-legend {
    margin-top: 18px;
    font-size: 10px;
  }
  .terrain-chart {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .chart-row {
    grid-template-columns: 120px 1fr;
  }
  .chart-row-label {
    font-size: 11px;
  }
  .chart-row.ood-row {
    margin-top: 0;
  }
  .chart-note {
    font-size: 9px;
  }
  .quality-grid {
    gap: 18px;
    margin-top: 24px;
  }
  .quality-grid article {
    padding: 22px 12px;
  }
  .quality-value {
    font-size: 42px;
  }
  .quality-value span {
    font-size: 16px;
  }
  .quality-grid h3 {
    font-size: 19px;
  }
  .quality-grid article>p:last-child {
    font-size: 12px;
  }
  .quality-grid .tiny-label {
    font-size: 8px;
  }
  .paper-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .paper-section h2 {
    font-size: 44px;
  }
  .paper-full-title {
    font-size: 22px;
  }
  .paper-description {
    font-size: 14px;
  }
  .citation-panel {
    max-width: 600px;
    padding: 23px;
  }
  pre {
    font-size: 11px;
  }
  .footer-inner {
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-inner p {
    order: 3;
    width: 100%;
    font-size: 8px;
  }
  .footer-credit {
    font-size: 8px;
  }
  .footer-inner .brand {
    font-size: 13px;
  }
  .back-top {
    margin-left: auto;
  }
  .resource-page {
    padding-top: 115px;
  }
  .resource-page h1 {
    font-size: 49px;
  }
  .resource-intro {
    font-size: 17px;
  }
  .resource-block h2 {
    font-size: 27px;
  }
}
@media(max-width:480px) {
  :root {
    --gutter: 20px;
    --section: 66px;
  }
  .hero {
    padding-top: 105px;
  }
  h1 {
    font-size: 51px;
    letter-spacing: -.055em;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-description br {
    display: none;
  }
  .hero-description {
    max-width: 33ch;
    margin-inline: auto;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .button {
    font-size: 11px;
    padding-inline: 13px;
  }
  .hero-actions .text-button {
    padding-inline: 0;
  }
  .hero-stage {
    margin-top: 28px;
  }
  .authors {
    gap: 6px 13px;
    font-size: 10px;
  }
  .authors sup {
    font-size: 7px;
  }
  .affiliations {
    font-size: 8px;
    display: block;
  }
  .affiliations span {
    display: block;
  }
  .author-note {
    font-size: 7px;
  }
  .highlight-grid {
    grid-template-columns: 1fr;
  }
  .highlight-stat {
    position: relative;
    padding: 24px;
    min-height: 165px;
  }
  .big-stat {
    font-size: 64px;
    margin-top: 12px;
  }
  .word-stat {
    font-size: 56px;
  }
  .stat-detail {
    font-size: 11px;
    max-width: 25ch;
    margin-top: 7px;
  }
  .highlight-stat .mini-comparison, .highlight-stat .trial-dots, .highlight-stat .residual-equation {
    position: absolute;
    right: 22px;
    bottom: 32px;
    width: 96px;
    margin: 0;
  }
  .highlight-stat .trial-dots {
    gap: 3px;
    grid-template-columns: repeat(12,1fr);
  }
  .highlight-stat .residual-equation {
    width: 107px;
    gap: 9px;
    font-size: 24px;
    bottom: 38px;
  }
  .residual-equation sub {
    font-size: 8px;
  }
  .gallery-toolbar {
    display: block;
    margin-bottom: 24px;
  }
  .gallery-count {
    display: block;
    margin-top: 12px;
    padding-left: 4px;
  }
  .segmented-control {
    width: 100%;
    justify-content: space-between;
  }
  .segmented-control button {
    padding: 9px 13px;
    font-size: 10px;
  }
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .demo-caption {
    display: flex;
  }
  .demo-caption h3 {
    font-size: 18px;
  }
  .demo-caption>span {
    font-size: 8px;
  }
  .demo-card .media-shell {
    border-radius: 16px;
  }
  .clip-tag {
    font-size: 8px;
  }
  .demo-card .round-button {
    width: 37px;
    height: 37px;
  }
  .motion-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .motion-grid .media-shell {
    aspect-ratio: 1.7;
  }
  .motion-grid figcaption {
    font-size: 13px;
  }
  .motion-grid figcaption span {
    display: block;
  }
  .motion-grid .round-button {
    width: 36px;
    height: 36px;
  }
  .result-summary {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 35px 0;
  }
  .result-summary>div+div {
    padding-left: 0;
    padding-top: 22px;
    border-left: 0;
    border-top: 1px solid var(--hair);
  }
  .result-summary p {
    font-size: 54px;
    margin-top: 9px;
    gap: 20px;
  }
  .result-summary .tiny-label {
    font-size: 9px;
  }
  .chart-panel {
    padding: 24px 20px;
  }
  .chart-head h3 {
    font-size: 20px;
  }
  .chart-row {
    grid-template-columns: 93px 1fr;
    gap: 7px;
  }
  .chart-row-label {
    font-size: 10px;
  }
  .chart-bar span {
    font-size: 8px;
  }
  .chart-row.ood-row {
    padding: 12px 10px;
    margin-inline: -10px;
  }
  .bar-pair {
    padding-right: 32px;
  }
  .quality-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .quality-grid article {
    padding: 22px 0;
  }
  .quality-value {
    font-size: 48px;
  }
  .quality-grid h3 {
    font-size: 23px;
  }
  .quality-grid article>p:last-child {
    font-size: 13px;
  }
  .paper-section h2 {
    font-size: 39px;
  }
  .paper-full-title {
    font-size: 20px;
  }
  .paper-description {
    font-size: 14px;
  }
  .citation-panel {
    padding: 22px 18px;
  }
  pre {
    font-size: 9.5px;
  }
  .gallery-bottom button {
    font-size: 10px;
    gap: 12px;
  }
  .gallery-bottom>p {
    font-size: 8px;
  }
  .resource-page h1 {
    font-size: 43px;
  }
}
.motion-grid video {
  object-fit: contain;
  background: #e7eceb;
}
@media(max-width:480px) {
  h1 {
    font-size: clamp(35px,10.5vw,46px);
    letter-spacing: -.05em;
  }
  .hero-description {
    font-size: 16px;
  }
  .motion-grid .media-shell {
    aspect-ratio: 1.2;
  }
}
/* The expanded architecture is followed by a left/right explanation. */
.method-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 64px;
  margin-top: 44px;
  text-align: left;
}
.method-intro h2 {
  font-size: clamp(38px, 4.4vw, 58px);
}
.method-intro h2 span {
  color: var(--accent);
}
.method-intro .section-description {
  justify-self: end;
  max-width: 37ch;
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
  text-align: left;
}
.highlights {
  padding-block: 80px;
}
@media(max-width:760px) {
  .method-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin-top: 30px;
  }
  .method-intro .section-description {
    justify-self: start;
    max-width: 40ch;
    font-size: 17px;
  }
  .highlights {
    padding-block: 50px;
  }
}
/* The method figure leads the page; simulation clips share a compact grid. */
.nav-cta, .segmented-control button.active {
  background: var(--accent);
}
.nav-cta:hover {
  background: #126358;
}
.hero-description {
  font-size: 23px;
  line-height: 1.5;
}
.hero .authors-block {
  padding-top: 27px;
  padding-bottom: 0;
}
.hero .hero-actions {
  margin-top: 26px;
}
.hero-stage {
  margin-top: 52px;
  padding-bottom: 70px;
}
.overview-heading {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-bottom: 22px;
}
.overview-heading h2 {
  font-size: 25px;
  letter-spacing: -.025em;
}
.method-legend {
  display: flex;
  gap: 20px;
  font-size: 10px;
  font-weight: 500;
}
.method-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.method-legend span::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
}
.frozen-key {
  color: var(--frozen);
}
.trainable-key {
  color: var(--accent);
}
.action-key {
  color: var(--action);
}
.method-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.method-figure a {
  display: block;
  padding: 14px;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: #fff;
}
.method-figure figcaption {
  max-width: 88ch;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}
.highlight-stat:nth-child(2) .big-stat {
  color: var(--accent);
}
.highlight-stat .word-stat {
  color: var(--frozen);
}
.highlight-stat:first-child .big-stat {
  color: var(--accent);
}
.terrain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 17.6px;
  width: 80%;
  max-width: 720px;
  margin-inline: auto;
}
.style-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 80%;
  margin-inline: auto;
}
.terrain-grid .media-shell, .style-grid .media-shell {
  aspect-ratio: 1;
}
.motion-grid figure {
  min-width: 0;
}
@media(max-width:1050px) {
  .style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media(max-width:760px) {
  .hero-description {
    font-size: 19px;
  }
  .hero-stage {
    margin-top: 38px;
    padding-bottom: 50px;
  }
  .overview-heading {
    gap: 16px;
  }
  .overview-heading h2 {
    font-size: 22px;
  }
  .method-legend {
    gap: 13px;
    font-size: 8px;
  }
  .method-figure a {
    padding: 8px;
    border-radius: 12px;
  }
  .method-figure figcaption {
    font-size: 11px;
  }
  .terrain-grid {
    gap: 20.8px 12.8px;
  }
}
@media(max-width:640px) {
  .overview-heading {
    display: block;
  }
  .method-legend {
    margin-top: 15px;
    font-size: 9px;
  }
  .terrain-grid, .style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .style-grid {
    gap: 20.8px 12.8px;
  }
  .motion-grid figcaption {
    font-size: 11px;
  }
  .motion-grid figcaption span {
    display: none;
  }
  .motion-grid .round-button {
    width: 30px;
    height: 30px;
    right: 9px;
    bottom: 9px;
  }
}
@media(max-width:480px) {
  .hero-description {
    font-size: 17px;
    max-width: 32ch;
  }
  .hero .authors-block {
    padding-top: 22px;
  }
  .hero-stage {
    margin-top: 34px;
  }
}
@media(max-width:360px) {
  .terrain-grid, .style-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .motion-grid figcaption {
    font-size: 13px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none!important;
    transition: none!important;
  }
}

/* One-time page transitions; the original figure layout never moves. */
.motion-reveal {
  transition: opacity .75s cubic-bezier(.22, 1, .36, 1), transform .75s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-reveal:not(.is-revealed) { opacity: 0; transform: translateY(16px); }
.button, .demo-card .media-shell, .terrain-grid .media-shell, .motion-grid .media-shell {
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s;
}
@media (hover:hover) {
  .hero-actions .button:not(:disabled):hover { transform: translateY(-2px); }
  .demo-card:hover .media-shell, .terrain-grid figure:hover .media-shell, .motion-grid figure:hover .media-shell {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px -20px #20334277;
  }
}
@media(prefers-reduced-motion:reduce) {
  .motion-reveal:not(.is-revealed) { opacity: 1; transform: none; }
}

.method-image-wrap { display: block; position: relative; isolation: isolate; contain: paint; }
.method-fade-mask { display: none; pointer-events: none; position: absolute; inset: 0; grid-template-columns: 19.3% 62.3% 18.4%; }
.method-fade-ready .method-fade-mask { display: grid; }
.method-fade-mask i { display: block; background: #fff; opacity: 1; will-change: opacity; }
@media(prefers-reduced-motion:reduce) {
  .method-fade-mask { display: none!important; }
}

@supports (animation-timeline: view()) {
  .method-scroll-native .method-image-wrap {
    view-timeline-name: --method-reveal;
    view-timeline-axis: block;
  }
  .method-scroll-native .method-fade-mask i {
    animation: method-uncover linear both;
    animation-timeline: --method-reveal;
    animation-range: entry 4% entry 48%;
  }
  .method-scroll-native .method-fade-mask i:nth-child(2) {
    animation-range: entry 27% entry 74%;
  }
  .method-scroll-native .method-fade-mask i:nth-child(3) {
    animation-range: entry 52% entry 98%;
  }
}
@keyframes method-uncover { from { opacity: 1; } to { opacity: 0; } }
