@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600;650;700;750;800&display=swap");
:root {
  --bg: #fff;
  --ink: #192033;
  --muted: #5e6679;
  --accent: #5345cc;
  --accent-dark: #4032a8;
  --line: #e1e4ed;
  --soft: #f5f6fa;
  --lavender: #eeecfa;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
button {
  color: inherit;
}
::selection {
  background: #ded9ff;
}
.wrap {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 28px;
}
.wordmark {
  font: 800 24px var(--heading);
  letter-spacing: -1px;
  white-space: nowrap;
}
.wordmark > span:first-child {
  color: var(--accent);
}
.logo-grid {
  margin-left: 10px;
  font-size: 25px;
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}
.home-link {
  font-size: 14px;
  color: var(--muted);
}
.home-link span {
  margin-left: 10px;
}
.hero {
  text-align: center;
  padding-top: 55px;
  padding-bottom: 62px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.5;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 7px;
}
.eyebrow-divider {
  color: #aaa5c0;
  padding: 0 10px;
}
.hero-name {
  display: block;
  font: 800 clamp(60px, 7vw, 88px) / 1.1 var(--heading);
  letter-spacing: -6px;
  margin: 19px 0 16px;
}
.hero-name span {
  color: var(--accent);
}
.paper-title {
  display: block;
  font: 650 clamp(25px, 3vw, 37px) / 1.28 var(--heading);
  letter-spacing: -1.1px;
}
.hero-summary {
  margin: 22px 0 23px;
  font-size: 19px;
  color: var(--muted);
}
.authors {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px 19px;
  font-size: 15px;
  font-weight: 500;
}
.authors a {
  color: var(--accent);
}
sup {
  font-size: 10px;
  margin-left: 2px;
}
.affiliations {
  display: flex;
  gap: 8px 26px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.equal {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--line);
  padding: 11px 20px;
  border-radius: 7px;
  background: #fff;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--soft);
  transform: translateY(-1px);
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.button.primary:hover {
  background: var(--accent-dark);
}
.text-button {
  border-color: transparent;
  background: transparent;
}
.hero-figure {
  margin-top: 49px;
  text-align: left;
}
.figure-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 15px;
  font-size: 16px;
}
.figure-sub {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 16px;
}
.precision-tag {
  display: inline-block;
  border: 1px solid #dedaf4;
  background: #f7f6fd;
  color: var(--accent-dark);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 600;
  white-space: nowrap;
}
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.sample {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
}
.sample-label {
  display: flex;
  justify-content: space-between;
  padding: 10px 13px;
  font-size: 14px;
  font-weight: 650;
  align-items: center;
}
.sample-label small {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.sample.ours {
  border-color: var(--accent);
}
.ours .sample-label {
  background: var(--accent);
  color: white;
}
.ours .sample-label small {
  color: #efecff;
}
figcaption {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  padding-top: 14px;
}
figcaption a {
  color: var(--accent);
  white-space: nowrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  gap: 30px;
}
.stats > div + div {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.stats strong {
  display: block;
  font: 650 43px/1.15 var(--heading);
  letter-spacing: -2px;
}
.stats strong span {
  font-size: 27px;
  color: var(--accent);
  margin-left: 3px;
}
.stats p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.metric-note {
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  margin-top: 23px;
  max-width: 920px;
}
.section {
  padding-top: 88px;
  padding-bottom: 88px;
}
.intro-section {
  background: var(--soft);
  border-block: 1px solid var(--line);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 70px;
}
h2 {
  font: 650 clamp(29px, 3.4vw, 43px) / 1.18 var(--heading);
  letter-spacing: -1.8px;
  margin-top: 13px;
}
h3 {
  font: 650 25px/1.3 var(--heading);
  letter-spacing: -0.7px;
}
p + p {
  margin-top: 17px;
}
.intro-copy p {
  color: var(--muted);
  font-size: 17px;
}
.intro-copy strong {
  color: var(--ink);
  font-weight: 600;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: flex-end;
  margin-bottom: 42px;
}
.section-heading > p {
  color: var(--muted);
  font-size: 15px;
}
.inspection-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 85px;
  align-items: center;
  scroll-margin-top: 100px;
}
.compare-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  isolation: isolate;
}
.compare-overlay {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.compare-overlay img {
  width: 100%;
}
.image-badge {
  position: absolute;
  top: 14px;
  background: rgba(255, 255, 255, 0.94);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
}
.image-badge.left {
  left: 14px;
  color: var(--accent);
}
.image-badge.right {
  right: 14px;
}
.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  background: white;
  transform: translateX(-1px);
  pointer-events: none;
}
.compare-line span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--accent);
  box-shadow: 0 2px 15px #0003;
}
.range-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 13px 0 5px;
  font-weight: 600;
}
.range-label span {
  font-weight: 400;
  color: var(--muted);
}
input[type="range"] {
  accent-color: var(--accent);
  width: 100%;
  height: 25px;
  cursor: ew-resize;
}
.inspection-copy h3 {
  font-size: 34px;
  line-height: 1.2;
  margin: 20px 0;
}
.inspection-copy p {
  color: var(--muted);
  font-size: 16px;
}
.segmented {
  display: flex;
  gap: 5px;
  background: var(--soft);
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-top: 25px;
  width: fit-content;
}
.segmented button {
  border: 0;
  border-radius: 4px;
  background: transparent;
  padding: 8px 17px;
  font-size: 14px;
}
.segmented button[aria-pressed="true"] {
  background: var(--accent);
  color: white;
}
.small-note {
  font-size: 13px !important;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 18px;
}
.inline-link {
  display: inline-block;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-top: 21px;
}
.video-section {
  margin-top: 75px;
}
.subsection-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 27px;
}
.subsection-heading h3 {
  margin-top: 10px;
}
.select-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
select {
  padding: 10px 32px 10px 12px;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  max-width: 100%;
}
.paper-figure {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}
.paper-figure a {
  display: block;
  cursor: zoom-in;
}
.paper-figure img {
  margin: auto;
  width: 100%;
}
.method-section {
  background: var(--soft);
  border-block: 1px solid var(--line);
}
.findings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 52px;
}
.finding-number {
  font: 500 13px var(--font);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfcaeb;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  margin-bottom: 17px;
}
.findings h3 {
  font-size: 20px;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}
.findings p {
  font-size: 15px;
  color: var(--muted);
}
.grouping-demo {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr;
  gap: 65px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 40px;
}
.grouping-demo h3 {
  margin: 12px 0 15px;
}
.grouping-demo p:not(.eyebrow) {
  font-size: 15px;
  color: var(--muted);
}
#group-description {
  min-height: 100px;
}
.group-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.group-options button {
  text-align: left;
  padding: 10px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}
.group-options button[aria-pressed="true"] {
  color: var(--accent-dark);
  background: var(--lavender);
  border-color: #b6ade9;
  font-weight: 600;
}
.group-options button span {
  font-size: 11px;
  padding: 1px 6px;
  background: white;
  border-radius: 3px;
}
.matrix-area {
  align-self: center;
}
.axis-title {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.matrix-row {
  display: flex;
  align-items: stretch;
  gap: 13px;
}
.axis-side {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.cache-matrix {
  position: relative;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-template-rows: repeat(12, 1fr);
  aspect-ratio: 1.2;
  width: 100%;
  border: 2px solid var(--ink);
  gap: 1px;
  padding: 1px;
  background: #fff;
}
.matrix-cell {
  min-width: 0;
  min-height: 0;
}
.matrix-boundary {
  position: absolute;
  pointer-events: none;
  border: 1px solid #222d51;
  z-index: 2;
}
.block-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.matrix-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 19px;
}
.color-scale {
  height: 8px;
  width: 95px;
  background: linear-gradient(90deg, #eceafa, #5445b7, #1b1c4b);
  border-radius: 8px;
}
.structure-figure {
  margin-top: 25px;
}
.pipeline {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 65px;
  margin-top: 60px;
}
.pipeline h3 {
  margin: 12px 0 15px;
}
.pipeline p:not(.eyebrow) {
  font-size: 15px;
  color: var(--muted);
}
.pipeline figure {
  padding: 22px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.pipeline figcaption {
  font-size: 12px;
}
.pipeline a:has(img) {
  cursor: zoom-in;
}
.benchmark-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.benchmark-controls p {
  font-size: 13px;
  color: var(--muted);
}
.benchmark-panel {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.memory-chart {
  background: var(--soft);
  padding: 35px;
}
.chart-title {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 26px;
}
.chart-title > span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  gap: 10px;
  margin-bottom: 8px;
}
.bar-label strong {
  font-weight: 600;
}
.bar-track {
  height: 22px;
  background: #e9eaf2;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}
.bar {
  height: 100%;
  border-radius: 4px;
}
.baseline {
  background: #a5acbf;
}
.quantized {
  background: var(--accent);
  transition: width 0.4s ease;
}
.saving {
  font-size: 14px;
  color: var(--muted);
}
.saving strong {
  font: 650 36px var(--heading);
  letter-spacing: -1px;
  color: var(--accent);
  display: block;
}
.table-wrap {
  padding: 35px;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
}
caption {
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 21px;
}
th,
td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}
thead th {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
tbody th {
  font-weight: 500;
}
.highlight {
  background: var(--lavender);
  color: var(--accent-dark);
}
.highlight th,
.highlight td {
  font-weight: 600;
}
.benchmark-footnote {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}
.benchmark-footnote a {
  color: var(--accent);
}
.code-section {
  background: #f2f0f9;
  border-block: 1px solid #e4e0f0;
}
.code-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.code-grid > div > p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
  margin-top: 22px;
}
.code-grid .button {
  margin-top: 25px;
}
.code-card {
  background: white;
  border: 1px solid #dcd7ec;
  border-radius: 9px;
  overflow: hidden;
}
.code-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 13px 21px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.copy-button {
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 10px;
  background: white;
}
.copy-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.85;
  color: #34324c;
  tab-size: 2;
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.notebook-links {
  padding: 0 23px;
}
.notebook-links a {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.code-card > .small-note {
  padding: 0 23px 24px;
  margin-top: 10px;
}
.citation-section {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 60px;
  align-items: center;
}
.citation-section p:not(.eyebrow) {
  font-size: 15px;
  color: var(--muted);
  margin-top: 20px;
}
.citation-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
}
.footer {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-block: 30px;
}
.footer p {
  font-size: 12px;
  color: var(--muted);
}
.footer > a:last-child {
  font-size: 13px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--accent);
  color: white;
  padding: 10px 20px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.mobile-break {
  display: none;
}
dialog {
  width: min(1400px, 96vw);
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
}
dialog::backdrop {
  background: rgba(15, 19, 36, 0.75);
  backdrop-filter: blur(4px);
}
.dialog-bar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 15px 20px;
  z-index: 1;
}
.dialog-bar p {
  font-size: 14px;
}
.dialog-bar button {
  border: 1px solid var(--line);
  padding: 7px 12px;
  background: var(--soft);
  border-radius: 5px;
  font-size: 13px;
  white-space: nowrap;
}
#dialog-image {
  width: 100%;
  padding: 20px;
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (min-width: 1600px) {
  .wrap {
    width: min(1280px, calc(100% - 120px));
  }
  .hero {
    padding-top: 68px;
  }
  .hero-name {
    font-size: 95px;
  }
  .paper-title {
    font-size: 41px;
  }
}
@media (max-width: 950px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    padding-top: 40px;
  }
  .nav-links {
    gap: 20px;
  }
  .home-link {
    display: none;
  }
  .hero-name {
    font-size: 72px;
  }
  .paper-title {
    font-size: 31px;
  }
  .stats {
    gap: 18px;
  }
  .stats > div + div {
    padding-left: 18px;
  }
  .stats strong {
    font-size: 36px;
  }
  .stats p {
    font-size: 12px;
  }
  .figure-sub {
    display: block;
    margin: 3px 0 0;
  }
  .intro-grid {
    gap: 35px;
  }
  .inspection-grid {
    gap: 40px;
  }
  .grouping-demo {
    gap: 28px;
    padding: 25px;
  }
  .benchmark-panel {
    grid-template-columns: 1fr;
  }
  .memory-chart {
    padding: 28px;
  }
  .table-wrap {
    padding: 28px;
  }
  .code-grid {
    gap: 35px;
  }
  .citation-section {
    gap: 30px;
  }
  .footer {
    flex-wrap: wrap;
  }
  .footer p {
    order: 3;
    width: 100%;
  }
  .pipeline {
    gap: 30px;
  }
  .findings {
    gap: 25px;
  }
}
@media (max-width: 650px) {
  body {
    font-size: 16px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .nav {
    height: 62px;
    gap: 18px;
  }
  .wordmark {
    font-size: 21px;
  }
  .logo-grid {
    display: none;
  }
  .nav-links {
    gap: 17px;
    font-size: 12px;
  }
  .nav-links a:last-child {
    display: none;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.25px;
  }
  .eyebrow-divider {
    padding: 0 4px;
  }
  .hero-name {
    font-size: 65px;
    letter-spacing: -4px;
    margin: 18px 0;
  }
  .paper-title {
    font-size: 25px;
    letter-spacing: -0.75px;
  }
  .desktop-break {
    display: none;
  }
  .hero-summary {
    font-size: 16px;
    margin: 20px 0;
  }
  .authors {
    gap: 5px 14px;
    font-size: 13px;
  }
  .affiliations {
    font-size: 12px;
    gap: 3px;
  }
  .affiliations span {
    display: block;
    width: 100%;
  }
  .equal {
    font-size: 11px;
    margin-top: 9px;
  }
  .actions {
    gap: 8px;
    margin-top: 21px;
  }
  .button {
    font-size: 12px;
    padding: 10px 14px;
    gap: 14px;
  }
  .actions .text-button {
    padding-inline: 8px;
  }
  .hero-figure {
    margin-top: 31px;
  }
  .figure-heading {
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
  }
  .figure-heading .precision-tag {
    font-size: 10px;
    padding: 4px 6px;
  }
  .figure-sub {
    font-size: 11px;
  }
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }
  .sample-label {
    padding: 7px 10px;
    font-size: 12px;
  }
  .sample-label small {
    font-size: 10px;
  }
  figcaption {
    font-size: 12px;
    padding-top: 12px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 23px;
    margin-top: 30px;
    padding-top: 23px;
  }
  .stats > div + div {
    padding-left: 20px;
  }
  .stats > div:nth-child(3) {
    border: 0;
    padding-left: 0;
  }
  .stats strong {
    font-size: 35px;
  }
  .stats p {
    font-size: 12px;
  }
  .metric-note {
    font-size: 11px;
    margin-top: 20px;
  }
  .section {
    padding-block: 52px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .intro-copy p {
    font-size: 15px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading > p {
    margin-top: 18px;
    font-size: 14px;
  }
  .section-heading > p br {
    display: none;
  }
  .inspection-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .inspection-copy h3 {
    font-size: 29px;
  }
  .inspection-copy h3 br {
    display: none;
  }
  .inspection-copy p {
    font-size: 15px;
  }
  .range-label {
    font-size: 11px;
  }
  .segmented {
    margin-top: 18px;
  }
  .inspection-copy .small-note {
    margin-top: 16px;
  }
  .video-section {
    margin-top: 45px;
  }
  .subsection-heading {
    display: block;
    margin-bottom: 18px;
  }
  .subsection-heading h3 {
    font-size: 24px;
  }
  .select-label {
    margin-top: 18px;
  }
  .paper-figure {
    padding: 12px;
    overflow: hidden;
  }
  .findings {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
  }
  .findings article {
    position: relative;
    padding-left: 46px;
  }
  .finding-number {
    position: absolute;
    left: 0;
    top: 0;
  }
  .findings h3 {
    font-size: 19px;
  }
  .findings p {
    font-size: 14px;
  }
  .grouping-demo {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 23px;
  }
  .grouping-demo h3 {
    font-size: 25px;
  }
  #group-description {
    min-height: 0;
  }
  .matrix-area {
    padding-bottom: 8px;
  }
  .matrix-row {
    gap: 8px;
  }
  .axis-side,
  .axis-title {
    font-size: 11px;
  }
  .block-labels {
    font-size: 10px;
  }
  .matrix-legend {
    font-size: 10px;
    gap: 8px;
  }
  .color-scale {
    width: 65px;
  }
  .pipeline {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 37px;
  }
  .pipeline figure {
    padding: 15px;
  }
  .benchmark-controls {
    display: block;
  }
  .benchmark-controls p {
    font-size: 12px;
    margin-top: 12px;
  }
  .memory-chart,
  .table-wrap {
    padding: 22px;
  }
  .table-wrap table {
    font-size: 12px;
  }
  th,
  td {
    padding: 11px 6px;
  }
  .table-wrap caption {
    font-size: 15px;
  }
  thead th {
    font-size: 11px;
  }
  .code-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .code-grid h2 br {
    display: none;
  }
  .code-grid > div > p:not(.eyebrow) {
    font-size: 15px;
  }
  .code-top {
    padding: 12px 16px;
  }
  .code-card pre {
    font-size: 11px;
    padding: 20px 16px;
  }
  .citation-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .citation-section h2 {
    font-size: 29px;
  }
  .citation-section p:not(.eyebrow) {
    margin-top: 14px;
  }
  .citation-card pre {
    font-size: 11px;
    padding: 18px;
  }
  .footer {
    gap: 16px;
    padding-block: 23px;
  }
  .footer p {
    font-size: 11px;
  }
  .footer > a:last-child {
    font-size: 12px;
  }
  .dialog-bar {
    padding: 12px;
  }
  .dialog-bar p {
    font-size: 12px;
  }
  #dialog-image {
    padding: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Attribution: observation, mechanism, and evidence are read together. */
.attribution-section {
  padding: 66px 0 55px;
}
.attribution-heading {
  max-width: 780px;
  margin-bottom: 38px;
}
.attribution-heading h2 {
  font-size: 36px;
}
.attribution-heading > p:last-child {
  color: var(--muted);
  font-size: 16px;
  margin-top: 18px;
}
.attribution-row {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 54px;
  align-items: center;
}
.attribution-copy p:not(.evidence-label) {
  font-size: 15px;
  color: var(--muted);
}
.attribution-copy strong {
  color: var(--ink);
  font-weight: 600;
}
.evidence-label {
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: var(--accent);
  margin-bottom: 13px;
}
.attribution-copy h3 {
  margin-bottom: 19px;
  font-size: 26px;
}
.attribution-figure {
  background: white;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.attribution-figure a {
  display: block;
  cursor: zoom-in;
}
.attribution-figure img {
  width: 100%;
}
.persistence-figure img {
  max-width: 350px;
  margin-inline: auto;
}
.attribution-figure figcaption {
  font-size: 12px;
}
.attribution-channel {
  border-block: 1px solid var(--line);
  margin-block: 38px;
  padding-block: 36px;
}
.channel-intro-copy {
  font-size: 15px;
  color: var(--muted);
}
.projection-chain {
  display: grid;
  grid-template-columns: 1fr 25px 1fr 25px 1fr;
  gap: 15px;
  margin: 22px 0 30px;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.chain-symbol {
  display: block;
  font: 650 25px var(--heading);
  color: var(--accent);
}
.chain-symbol sub {
  font-size: 14px;
}
.projection-chain h4 {
  margin: 12px 0 7px;
  font: 600 16px var(--heading);
}
.projection-chain p {
  font-size: 14px;
  color: var(--muted);
}
.chain-arrow {
  font-size: 22px;
  color: #a39cc9;
  align-self: center;
}
.rope-equations {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 23px;
  background: #ebe8f7;
  color: #413779;
  border-left: 2px solid var(--accent);
  padding: 15px 18px;
  margin: 22px 0;
  font-family: ui-serif, Georgia, serif;
  font-size: 18px;
}
.rope-equations small {
  display: block;
  flex-basis: 100%;
  font-family: var(--font);
  font-size: 12px;
  color: var(--muted);
}
.attribution-conclusion {
  display: flex;
  gap: 22px;
  margin-top: 38px;
  padding: 26px 30px;
  background: var(--lavender);
  border-radius: 8px;
}
.conclusion-mark {
  font-size: 30px;
  color: var(--accent);
}
.attribution-conclusion h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.attribution-conclusion p {
  font-size: 15px;
  color: var(--muted);
  max-width: 900px;
}
@media (max-width: 950px) {
  .attribution-row {
    gap: 28px;
  }
  .attribution-figure {
    padding: 18px;
  }
  .projection-chain {
    gap: 10px;
    padding: 22px;
  }
}
@media (max-width: 650px) {
  .nav-links {
    gap: 12px;
  }
  .nav-links a:nth-child(2) {
    display: none;
  }
  .attribution-section {
    padding: 40px 0;
  }
  .attribution-heading h2 {
    font-size: 29px;
  }
  .attribution-heading > p:last-child {
    font-size: 15px;
  }
  .attribution-heading {
    margin-bottom: 26px;
  }
  .attribution-row {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .attribution-copy h3 {
    font-size: 24px;
  }
  .attribution-copy h3 br {
    display: none;
  }
  .attribution-copy p:not(.evidence-label) {
    font-size: 14px;
  }
  .attribution-figure {
    padding: 15px;
  }
  .attribution-channel {
    margin-block: 28px;
    padding-block: 28px;
  }
  .channel-intro {
    gap: 0;
  }
  .projection-chain {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px;
  }
  .chain-arrow {
    transform: rotate(90deg);
    justify-self: center;
    line-height: 1;
  }
  .chain-symbol {
    font-size: 23px;
  }
  .projection-chain h4 {
    margin-top: 7px;
  }
  .attribution-conclusion {
    padding: 22px;
    gap: 13px;
  }
  .attribution-conclusion h3 {
    font-size: 20px;
  }
  .attribution-conclusion p {
    font-size: 14px;
  }
  .evidence-label {
    font-size: 11px;
  }
}

.live-gallery {
  margin-top: 60px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}
.gallery-selectors {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
.gallery-task {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.gallery-prompt {
  font-size: 15px;
  color: var(--muted);
  margin: 12px 0 22px;
  max-width: 1000px;
}
.gallery-media {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.gallery-cell {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: var(--soft);
}
.gallery-cell figcaption {
  padding: 10px 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.gallery-cell img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.gallery-cell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #182034;
}
.gallery-ours {
  border-color: var(--accent);
}
.gallery-ours figcaption {
  background: var(--accent);
  color: white;
}
.gallery-playback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
}
.gallery-playback[hidden] {
  display: none;
}
.video-seek-label {
  flex: 1;
  min-width: 220px;
  font-size: 12px;
  color: var(--muted);
}
.video-seek-label output {
  float: right;
}
.speed-label {
  margin-top: 0;
  flex-direction: row;
  align-items: center;
}
.missing-media {
  padding: 35px 16px;
  font-size: 13px;
  color: var(--muted);
}
.paper-examples {
  margin-top: 35px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.paper-examples > summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.paper-examples .video-section {
  margin-top: 28px;
}
@media (max-width: 650px) {
  .gallery-selectors {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .gallery-selectors .select-label:first-child {
    grid-column: 1 / -1;
  }
  .gallery-selectors .select-label {
    margin-top: 0;
  }
  .gallery-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .gallery-cell figcaption {
    font-size: 10px;
    padding: 8px;
  }
  .gallery-prompt {
    font-size: 14px;
  }
  .gallery-playback {
    gap: 10px;
  }
  .video-seek-label {
    flex-basis: 100%;
  }
  .live-gallery {
    margin-top: 38px;
    padding-top: 28px;
  }
}

.gallery-media[data-columns="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 950px) {
  .gallery-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Identity: a quantized Q, with clear typographic hierarchy. */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand-symbol {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
}
.hero-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 76px;
  font-weight: 700;
  letter-spacing: -4px;
  line-height: 1.15;
  margin: 25px 0 23px;
}
.hero-symbol {
  width: 68px;
  height: 68px;
}
.paper-title {
  font-weight: 550;
  font-size: clamp(26px, 3vw, 37px);
  line-height: 1.32;
  letter-spacing: -1.15px;
}
.hero-summary {
  font-size: 18px;
  letter-spacing: -0.25px;
}
h2 {
  font-weight: 600;
  letter-spacing: -1.4px;
}
h3 {
  font-weight: 600;
  letter-spacing: -0.6px;
}
.stats strong {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1.6px;
}
.authors {
  gap: 5px 19px;
  font-size: 14px;
}
@media (max-width: 650px) {
  .wordmark {
    font-size: 19px;
    gap: 7px;
    letter-spacing: -0.7px;
  }
  .brand-symbol {
    width: 23px;
    height: 23px;
  }
  .hero-name {
    font-size: 56px;
    letter-spacing: -2.8px;
    gap: 14px;
    margin: 24px 0 21px;
  }
  .hero-symbol {
    width: 49px;
    height: 49px;
  }
  .paper-title {
    font-size: 25px;
    letter-spacing: -0.85px;
    line-height: 1.3;
  }
  .hero-summary {
    font-size: 15px;
  }
  .authors {
    font-size: 12px;
    gap: 6px 13px;
  }
  .nav-links {
    font-size: 11px;
    gap: 11px;
  }
}

/* Two generation paradigms, one block-wise cache formulation. */
.hero-summary strong {
  color: var(--ink);
  font-weight: 550;
}
.paradigm-map {
  margin: 40px auto 0;
  text-align: left;
  max-width: 960px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.paradigm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.paradigm-card {
  padding: 24px 28px;
  background: #fbfbfd;
}
.paradigm-card + .paradigm-card {
  border-left: 1px solid var(--line);
}
.paradigm-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.paradigm-label h2 {
  font-size: 23px;
  margin: 0;
  letter-spacing: -0.7px;
}
.paradigm-label > span {
  font-size: 12px;
  color: var(--muted);
}
.block-sequence {
  display: flex;
  height: 81px;
  gap: 18px;
  align-items: flex-end;
  margin: 14px 0 15px;
}
.sequence-arrow {
  align-self: center;
  color: #aaa5c8;
  font-size: 17px;
}
.scale-block {
  display: block;
  border: 1px solid #897de0;
  background: repeating-linear-gradient(0deg, transparent, transparent 9px, #fff9 9px, #fff9 10px),
    repeating-linear-gradient(90deg, #ddd7f7, #ddd7f7 9px, #fff9 9px, #fff9 10px);
  border-radius: 3px;
}
.scale-one {
  width: 25px;
  height: 25px;
}
.scale-two {
  width: 45px;
  height: 45px;
}
.scale-three {
  width: 65px;
  height: 65px;
}
.frame-sequence {
  align-items: center;
}
.frame-block {
  width: 65px;
  height: 47px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 8px;
  border: 1px solid #897de0;
  background: #efecfc;
  border-radius: 4px;
}
.frame-block i {
  display: block;
  width: 11px;
  height: 15px;
  background: #c2b9ee;
  border-radius: 2px;
}
.frame-block i:nth-child(2) {
  height: 27px;
  background: #7364cc;
}
.frame-block:nth-of-type(3) i:first-child {
  height: 20px;
}
.frame-block:nth-of-type(5) i:last-child {
  height: 23px;
}
.paradigm-card p {
  font-size: 14px;
  font-weight: 500;
}
.paradigm-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.paradigm-bridge {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 13px;
  align-items: center;
  justify-content: center;
  background: var(--lavender);
  padding: 16px 20px;
  font-size: 13px;
  margin: 0;
}
.paradigm-bridge > span:first-child {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  flex-basis: 100%;
  text-align: center;
}
.paradigm-bridge strong {
  color: var(--accent-dark);
  font-weight: 550;
}
.bridge-arrow {
  color: var(--accent);
}
@media (max-width: 650px) {
  .hero-summary {
    line-height: 1.65;
  }
  .paradigm-map {
    margin-top: 29px;
  }
  .paradigm-card {
    padding: 18px 14px;
  }
  .paradigm-label {
    display: block;
  }
  .paradigm-label h2 {
    font-size: 20px;
  }
  .paradigm-label > span {
    font-size: 11px;
  }
  .block-sequence {
    height: 61px;
    gap: 7px;
  }
  .sequence-arrow {
    font-size: 12px;
  }
  .scale-one {
    width: 15px;
    height: 15px;
  }
  .scale-two {
    width: 27px;
    height: 27px;
  }
  .scale-three {
    width: 39px;
    height: 39px;
  }
  .frame-block {
    width: 32px;
    height: 27px;
    padding: 4px;
    gap: 2px;
  }
  .frame-block i {
    width: 6px;
    height: 8px;
  }
  .frame-block i:nth-child(2) {
    height: 16px;
  }
  .frame-block:nth-of-type(3) i:first-child {
    height: 12px;
  }
  .frame-block:nth-of-type(5) i:last-child {
    height: 14px;
  }
  .paradigm-card p {
    font-size: 12px;
  }
  .paradigm-card small {
    font-size: 10px;
  }
  .paradigm-bridge {
    gap: 4px;
    font-size: 12px;
    padding: 14px 10px;
  }
  .paradigm-bridge strong {
    flex-basis: 100%;
    text-align: center;
  }
  .bridge-arrow {
    transform: rotate(90deg);
  }
}
