:root {
  --ink: #192220;
  --muted: #50605b;
  --dim: #596762;
  --bg: #f7f5ef;
  --paper: #fffdf8;
  --line: #d5d9d3;
  --line-strong: #aeb9b3;
  --teal: #087d70;
  --teal-deep: #04564f;
  --teal-soft: #dceee8;
  --violet: #6b5bff;
  --violet-soft: #e9e6ff;
  --pipeline-detail-size: .68rem;
  --orange: #8f3d16;
  --orange-soft: #f2e3d6;
  --results-bg: #eef1ec;
  --table-alt: #faf8f3;
  --shell: min(1220px, calc(100vw - 48px));
  --hero-shell: min(1680px, calc(100vw - 32px));
  --reading: min(800px, calc(100vw - 48px));
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--bg); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.shell, .breakout { width: var(--shell); margin-inline: auto; }
.hero.shell { width: var(--hero-shell); }
.reading-column { width: var(--reading); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 9px 15px; color: white; background: var(--teal-deep); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 50; top: 18px; left: 50%; width: min(1120px, calc(100% - 32px)); border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: rgba(247,245,239,.84); box-shadow: 0 12px 40px rgba(25,34,32,.08); backdrop-filter: blur(18px); transform: translateX(-50%); }
.site-nav { width: 100%; min-height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 22px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; letter-spacing: -.025em; text-decoration: none; }
.wordmark-mark { width: 15px; height: 15px; border: 2px solid var(--teal); box-shadow: inset 5px 0 var(--teal); transform: rotate(45deg); }
.lab-lockup { width: max-content; max-width: 100%; display: inline-flex; align-items: center; gap: 12px; margin-bottom: 38px; padding: 12px 18px 12px 14px; border: 1px solid rgba(8,125,112,.2); border-radius: 20px; color: var(--muted); background: rgba(255,255,255,.9); box-shadow: 0 18px 45px rgba(25,34,32,.11), inset 0 0 0 1px rgba(255,255,255,.9); font-size: .7rem; font-weight: 760; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.deng-lab-logo { width: auto; height: 42px; mix-blend-mode: multiply; object-fit: contain; }
.lab-lockup:hover, .lab-lockup:focus-visible { color: var(--teal-deep); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a, .nav-pending { padding: 9px 13px; border-radius: 10px; color: var(--muted); font-size: .73rem; font-weight: 760; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--teal-deep); }
.nav-pending { color: var(--orange); }
.nav-links .nav-code { padding-inline: 17px; color: white; background: var(--ink); }
.nav-links .nav-code:hover, .nav-links .nav-code:focus-visible { color: white; background: var(--teal-deep); }
.menu-toggle { display: none; }
.menu-toggle[hidden]{display:none!important}

.hero { min-height: 100vh; display: grid; grid-template-columns: minmax(0,1fr) minmax(700px,1.18fr); grid-template-rows: auto auto; align-content: center; align-items: start; column-gap: clamp(34px,4vw,64px); row-gap: 0; padding-block: 140px 70px; }
.hero-copy { display: contents; }
.lab-lockup { grid-column: 1; grid-row: 1; }
.hero-main { grid-column: 1; grid-row: 2; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--teal-deep); font-size: .7rem; font-weight: 790; letter-spacing: .17em; text-transform: uppercase; }
.live-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.hero h1 { max-width: 820px; margin: 22px 0 24px; font-family: inherit; font-size: clamp(46px,4.15vw,72px); font-weight: 780; line-height: 1.02; letter-spacing: -.055em; }
.title-accent-streaming { color: var(--teal); }
.title-accent-realtime { color: var(--violet); white-space: nowrap; }
.hero-lede { max-width: 675px; margin: 0 0 32px; color: var(--muted); font-size: clamp(18px,1.55vw,22px); line-height: 1.68; }
.hero-lede strong { color: var(--ink); font-weight: 760; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border: 1px solid var(--line-strong); background: var(--paper); font-size: .78rem; font-weight: 760; letter-spacing: .035em; text-decoration: none; }
.button-primary { color: white; border-color: var(--teal); background: var(--teal); }
.button:hover { border-color: var(--teal); color: var(--teal-deep); }
.button-primary:hover { color: white; background: var(--teal-deep); }
.button-pending { color: var(--orange); border-style: dashed; }
.hero-figure { grid-column: 2; grid-row: 2; position: relative; min-width: 0; min-height: 0; align-self: stretch; margin: 0; }
.hero-figure figcaption { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pipeline-visual { position: absolute; inset: 0; min-height: 0; overflow: hidden; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; color: #f4f8f7; background: radial-gradient(circle at 90% 5%,rgba(107,91,255,.3),transparent 34%),radial-gradient(circle at 8% 94%,rgba(8,125,112,.32),transparent 40%),#101b29; box-shadow: 0 30px 75px rgba(23,35,45,.22); }
.pipeline-visual::before { content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to bottom,black,transparent 82%); }
.pipeline-heading { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.pipeline-heading > div:first-child span { display: block; color: #dce6eb; font-family: inherit; font-size: .875rem; font-weight: 760; line-height: 1.3; letter-spacing: -.01em; }
.pipeline-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.pipeline-legend span { display: inline-flex; align-items: center; gap: 6px; color: #a9b7c2; font-size: .65rem; font-weight: 680; }
.pipeline-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--violet); box-shadow: 0 0 13px rgba(107,91,255,.62); }
.pipeline-legend .legend-execution::before { background: #1fd4b4; box-shadow: 0 0 13px rgba(31,212,180,.55); }
.pipeline-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
.runtime-comparison, .attention-diagram { min-width: 0; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(2,9,17,.5); }
.visual-section-heading { display: flex; align-items: center; min-height: 28px; margin-bottom: 10px; }
.visual-section-heading strong { font-size: .84rem; letter-spacing: -.01em; }
.runtime-row { padding: 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.035); }
.runtime-row + .runtime-row { margin-top: 8px; }
.runtime-stream { border-color: rgba(31,212,180,.32); background: linear-gradient(105deg,rgba(8,125,112,.15),rgba(107,91,255,.08)); }
.runtime-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.runtime-label strong { font-size: .76rem; }
.runtime-label span { color: #92a3b1; font-size: .56rem; }
.runtime-stream .runtime-label strong { color: #64ead2; }
.runtime-timeline { position: relative; height: 76px; overflow: hidden; border: 1px solid rgba(255,255,255,.045); border-radius: 12px; background: linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),#020911; background-size: 30px 30px; }
.timeline-axis { position: absolute; right: 2%; bottom: 8px; left: 2%; height: 1px; background: linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,.34),rgba(255,255,255,.08)); }
.timeline-curtain { position: absolute; z-index: 7; inset: 0 0 0 0; background: #020911; animation: timeline-reveal 7s linear infinite; }
.timeline-cursor { position: absolute; z-index: 8; top: 6px; bottom: 8px; left: 0; width: 1px; background: #d9ff63; box-shadow: 0 0 12px rgba(217,255,99,.92); animation: timeline-reveal 7s linear infinite; }
.timeline-cursor::before { content: ""; position: absolute; top: -1px; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: #d9ff63; }
.generation-window, .execution-rail { position: absolute; overflow: hidden; border-radius: 8px; }
.generation-window { top: 8px; height: 25px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(183,175,255,.55); background: linear-gradient(125deg,#4538a8,#6b5bff); box-shadow: 0 9px 20px rgba(74,56,207,.24); }
.generation-window::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg,transparent 30%,rgba(255,255,255,.28) 50%,transparent 70%); transform: translateX(-120%); animation: generation-shimmer 2.4s ease-in-out infinite; }
.generation-window i { z-index: 1; width: 5px; height: 5px; border-radius: 50%; background: #e4e0ff; box-shadow: 0 0 8px rgba(228,224,255,.85); }
.runtime-sync .generation-one { left: 2%; width: 25%; }
.runtime-sync .generation-two { left: 47%; width: 27%; }
.runtime-stream .generation-one { left: 2%; width: 20%; }
.runtime-stream .generation-two { left: 34%; width: 12%; }
.runtime-stream .generation-three { left: 59%; width: 12%; }
.runtime-stream .generation-four { left: 85%; width: 13%; }
.execution-rail { top: 44px; height: 20px; display: flex; align-items: center; justify-content: space-around; border: 1px solid rgba(111,244,218,.32); background: linear-gradient(135deg,#055c54,#087d70); box-shadow: 0 7px 18px rgba(8,125,112,.17); }
.execution-rail i { width: 4px; height: 4px; border-radius: 50%; background: #88f4df; opacity: .42; animation: motion-flow 1.4s ease-in-out infinite; }
.execution-rail i:nth-child(2) { animation-delay: .25s; }
.execution-rail i:nth-child(3) { animation-delay: .5s; }
.execution-rail i:nth-child(4) { animation-delay: .75s; }
.execution-rail i:nth-child(5) { animation-delay: 1s; }
.runtime-sync .execution-one { left: 27%; width: 20%; }
.runtime-sync .execution-two { left: 74%; width: 24%; }
.runtime-stream .execution-stream-one { left: 22%; width: 24%; }
.runtime-stream .execution-stream-two { left: 47%; width: 24%; }
.runtime-stream .execution-stream-three { left: 72%; width: 26%; }
.attention-topline { display: flex; justify-content: flex-end; margin: -32px 0 9px; }
.matrix-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 0; color: #9cadba; font-size: .5rem; font-weight: 700; }
.matrix-legend span { display: inline-flex; align-items: center; gap: 5px; }
.matrix-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 3px; }
.matrix-legend .allowed-key::before { background: #4c8bc4; box-shadow: inset 0 0 0 1px #8dc5f0; }
.matrix-legend .conditioned-key::before { border: 1px solid #ffd66e; background: linear-gradient(135deg,#bd8700,#6b5bff); box-shadow: 0 0 9px rgba(107,91,255,.4); }
.matrix-legend .masked-key::before { border: 1px solid rgba(178,192,203,.4); background: transparent; box-shadow: none; }
.attention-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.attention-panel { min-width: 0; padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: rgba(255,255,255,.025); }
.attention-conditioned { border-color: rgba(107,91,255,.36); background: linear-gradient(145deg,rgba(107,91,255,.11),rgba(8,125,112,.06)); }
.attention-panel-heading { min-height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.attention-panel-heading strong { font-size: .82rem; line-height: 1.2; }
.attention-path-badge { flex: 0 0 auto; padding: 6px 10px; border: 1px solid rgba(255,214,110,.58); border-radius: 999px; color: #fff3c9; background: linear-gradient(120deg,rgba(189,135,0,.72),rgba(107,91,255,.82)); font: 800 .74rem/1 ui-monospace,monospace; box-shadow: 0 0 12px rgba(107,91,255,.24); }
.mask-column-labels { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 2px; margin: 7px 2px 5px 34px; }
.mask-matrix-body { display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 3px; }
.mask-row-labels { display: grid; grid-template-rows: repeat(10,minmax(17px,1fr)); gap: 2px; padding-block: 4px; }
.mask-column-labels span, .mask-row-labels span { display: grid; min-width: 0; place-items: center; color: #c2ced7; font: 700 .72rem/1 ui-monospace,monospace; white-space: nowrap; }
.mask-column-labels span:nth-child(5) { margin-right: 2px; }
.mask-grid-10 { position: relative; display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); grid-template-rows: repeat(10,minmax(17px,1fr)); gap: 2px; padding: 4px; border-radius: 9px; background: rgba(2,9,17,.68); }
.mask-grid-10::before, .mask-grid-10::after { content: ""; position: absolute; z-index: 2; pointer-events: none; background: rgba(207,219,228,.2); }
.mask-grid-10::before { top: 3px; bottom: 3px; left: 50%; width: 1px; }
.mask-grid-10::after { right: 3px; left: 3px; top: 50%; height: 1px; }
.mask-grid-10 .matrix-cell { min-width: 0; min-height: 17px; border-radius: 3px; }
.matrix-cell { border-radius: 5px; }
.visual-token { border: 1px solid #78b6e7; background: #3d7fb9; box-shadow: inset 0 0 8px rgba(184,223,255,.22); }
.action-token { border: 1px solid #ffd46a; background: #bd8700; box-shadow: inset 0 0 8px rgba(255,231,163,.2); }
.masked-cell { border: 1px solid rgba(178,192,203,.25); background: rgba(178,192,203,.04); }
.cross-chunk-target { border-color: rgba(255,214,110,.38); border-style: dashed; }
.cross-chunk-condition { position: relative; border: 1px solid #ffd66e; background: linear-gradient(135deg,#bd8700 0%,#8d6915 34%,#6b5bff 100%); box-shadow: 0 0 16px rgba(107,91,255,.4), inset 0 0 10px rgba(255,234,170,.18); animation: directed-pulse 2.2s ease-in-out infinite; }
@keyframes timeline-reveal { from { left: 0; } to { left: 100%; } }
@keyframes generation-shimmer { 0%,45% { transform: translateX(-120%); } 80%,100% { transform: translateX(120%); } }
@keyframes motion-flow { 0%,100% { opacity: .26; transform: translateX(-3px); } 50% { opacity: 1; transform: translateX(3px); } }
@keyframes directed-pulse { 0%,100% { filter: brightness(.92); } 50% { filter: brightness(1.22); } }
.headline-results { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin-top: 14px; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.headline-results p { min-height: 78px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; margin: 0; padding: 7px 14px; border-left: 1px solid var(--line-strong); }
.headline-results p:first-child { border-left: 0; padding-left: 0; }
.headline-results strong { color: var(--teal-deep); font-family: inherit; font-size: 1.24rem; font-weight: 800; line-height: 1; letter-spacing: -.025em; white-space: nowrap; }
.headline-results span { color: var(--muted); font-size: .61rem; font-weight: 780; line-height: 1.2; letter-spacing: .055em; text-transform: uppercase; }
.headline-results small { color: var(--dim); font-size: .57rem; line-height: 1.2; white-space: nowrap; }
.headline-results small b { margin-right: 3px; padding: 2px 4px; border-radius: 4px; color: var(--violet); background: var(--violet-soft); font-weight: 840; }

.rollout-showcase { padding-block: clamp(52px,5vw,72px); border-top: 1px solid var(--line); background: var(--results-bg); }
.rollout-showcase-heading { max-width: 820px; margin-bottom: 16px; }
.rollout-showcase-heading h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(1.2rem,1.7vw,1.45rem); font-weight: 600; line-height: 1.2; letter-spacing: -.018em; }
.rollout-demo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.rollout-demo-card { min-width: 0; overflow: hidden; border: 1px solid rgba(40,34,24,.13); border-radius: 16px; background: var(--paper); box-shadow: 0 12px 28px rgba(45,28,7,.06); }
.rollout-demo-card-stream { border-color: rgba(8,125,112,.58); box-shadow: 0 14px 32px rgba(8,125,112,.15); }
.rollout-demo-caption { min-height: 64px; display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 9px 12px 10px; border-top: 1px solid var(--line); }
.rollout-demo-card-stream .rollout-demo-caption { background: linear-gradient(110deg,rgba(220,238,232,.72),var(--paper) 70%); }
.rollout-demo-caption h3 { margin: 0; color: var(--ink); font-family: inherit; font-size: .82rem; font-weight: 680; line-height: 1.3; }
.rollout-demo-caption h3 small { margin-left: 4px; color: var(--teal-deep); font-family: inherit; font-size: .63em; font-weight: 760; letter-spacing: .04em; text-transform: uppercase; }
.rollout-demo-card-stream .rollout-demo-caption h3 { color: var(--teal-deep); font-weight: 780; }
.rollout-demo-result { min-width: 0; display: grid; justify-items: end; gap: 3px; }
.rollout-demo-metrics { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 8px; margin: 0; color: var(--dim); font-size: .64rem; line-height: 1.35; white-space: nowrap; }
.rollout-demo-metrics strong { color: var(--ink); font-weight: 780; }
.rollout-demo-card-stream .rollout-demo-metrics strong { color: var(--teal-deep); }
.rollout-demo-speedup { width: max-content; margin: 0; padding: 4px 8px; border-radius: 999px; color: white; background: var(--teal-deep); font-size: .61rem; font-weight: 680; line-height: 1.2; letter-spacing: .015em; }
.rollout-demo-speedup strong { color: inherit; font-size: 1.08em; font-weight: 840; }
.rollout-demo-speedup span { opacity: .55; }
.rollout-demo-card noscript a { display: block; padding: 0 16px 14px; color: var(--teal-deep); font-size: .72rem; }
.real-robot-player { position: relative; overflow: hidden; background: #101412; }
.real-robot-video { width: 100%; height: auto; aspect-ratio: 8/9; display: block; object-fit: cover; }
.real-robot-load { position: absolute; z-index: 2; inset: 0; width: 100%; border: 0; color: transparent; background: transparent; cursor: pointer; }
.real-robot-load:focus-visible { outline: 2px solid white; outline-offset: -5px; }
.real-robot-load[hidden] { display: none; }
.real-robot-view-labels { position: absolute; z-index: 1; inset: 7px; pointer-events: none; }
.real-robot-view-labels span { position: absolute; top: 0; left: 0; width: max-content; padding: 3px 6px; border-radius: 999px; color: white; background: rgba(17,24,22,.68); font-size: .48rem; font-weight: 720; letter-spacing: .035em; }
.real-robot-view-labels span:last-child { top: calc(50% + 2px); }

.longform { position: relative; border-top: 1px solid var(--line); background: var(--paper); }
.article-toc { position: absolute; top: 72px; bottom: 100px; left: max(2px,calc(50% - 700px)); width: 138px; visibility: hidden; }
.article-toc.is-ready { visibility: visible; }
.article-toc nav { position: sticky; top: 108px; transition: opacity .14s ease; }
.article-toc.is-obscured nav { visibility: hidden; opacity: 0; pointer-events: none; }
.article-toc p { margin: 0 0 11px; color: var(--ink); font-size: .68rem; font-weight: 760; letter-spacing: .09em; text-transform: uppercase; }
.article-toc ol { margin: 0; padding: 0 0 0 12px; border-left: 1px solid var(--line-strong); list-style: none; }
.article-toc li + li { margin-top: 3px; }
.article-toc a { display: block; padding: 3px 0; color: var(--dim); font-size: .68rem; line-height: 1.4; text-decoration: none; }
.article-toc a:hover, .article-toc a:focus-visible { color: var(--teal-deep); }
.article-header { padding-block: clamp(72px,8vw,105px); }
.article-header h2 { margin: 0; font-family: var(--serif); font-size: clamp(1.15rem,1.8vw,1.45rem); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.article-header > p, .article-section p { font-size: 1.08rem; line-height: 1.84; }
.article-header .abstract-lead { margin-top: 22px; color: var(--ink); }
.article-header > p:last-of-type { margin-top: 20px; color: var(--muted); }

.article-section { padding-block: clamp(105px,12vw,165px); border-top: 1px solid var(--line); }
.article-section p { color: var(--muted); }
.article-section .lead { margin-top: 0; color: var(--ink); font-family: inherit; font-size: 1.08rem; line-height: 1.84; }
.article-section p + p { margin-top: 25px; }
.editorial-act { padding-block: 36px; }
.editorial-act:first-of-type { padding-top: 10px; }
.editorial-act + .editorial-act { padding-top: 74px; }
.editorial-act:last-of-type { padding-bottom: clamp(105px,12vw,165px); }
.editorial-act p { color: var(--muted); font-size: 1.09rem; line-height: 1.9; }
.editorial-act p + p { margin-top: 27px; }
.editorial-act .act-opening { max-width: 720px; margin: 0 0 27px; color: var(--ink); font-family: inherit; font-size: 1.09rem; font-weight: 650; line-height: 1.9; letter-spacing: 0; }
.editorial-act a { color: var(--teal-deep); text-decoration-color: #89bdb2; text-underline-offset: 4px; }
.editorial-act em, .editorial-act cite { color: var(--ink); font-family: var(--serif); }
.method-equation { color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; font-weight: 620; letter-spacing: -.02em; }
.method-equation sub, .method-equation sup { font-size: .72em; line-height: 0; }

.method-figure { width: min(1420px,calc(100vw - 48px)); margin: 64px auto 0; }
.method-figure-viewport { overflow-x: auto; border-block: 1px solid rgba(40,34,24,.18); border-inline: 0; border-radius: 0; outline: none; background: #fff; box-shadow: none; scrollbar-color: #a5cfc7 transparent; scrollbar-width: thin; }
.method-figure-viewport:focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; }
.method-figure-artwork { width: 100%; height: auto; display: block; }
.method-figure figcaption { max-width: 900px; margin: 17px auto 0; color: var(--dim); font-size: .79rem; line-height: 1.65; text-align: center; }

.experiments { background: var(--results-bg); }
.benchmark { width: min(940px, calc(100vw - 48px)); margin: 74px auto 0; padding: 0; border: 0; background: transparent; }
.benchmark + .benchmark { margin-top: 62px; }
.benchmark-intro { max-width: 820px; margin: 0 auto 24px; }
.benchmark-intro h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.15rem,1.8vw,1.4rem); font-weight: 600; letter-spacing: -.015em; }
.benchmark-intro p:last-child { margin: 10px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.68; }
.table-scroll { overflow-x: auto; border: 1px solid rgba(40,34,24,.12); border-radius: 18px; outline: none; background: var(--paper); box-shadow: 0 12px 28px rgba(45,28,7,.07); }
.table-scroll:focus-visible { box-shadow: 0 0 0 2px var(--teal); }
table { width: 100%; min-width: 620px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
#benchmark-libero table { min-width: 720px; }
#benchmark-robocasa table { min-width: 420px; }
#benchmark-robotwin table { min-width: 540px; }
#benchmark-real-robot table { min-width: 620px; }
caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
thead th { color: var(--dim); background: var(--orange-soft); font-size: .64rem; letter-spacing: .045em; text-transform: uppercase; }
thead th small { display: block; }
thead th:first-child, tbody th { text-align: left; }
tbody th { font-weight: 620; }
tbody td { color: var(--muted); font-family: inherit; font-size: .84rem; font-weight: 520; line-height: 1.4; }
tbody td strong { color: var(--ink); font-weight: 800; }
tbody td u { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
tbody tr:nth-child(even) { background: var(--table-alt); }
tbody tr:last-child > * { border-bottom: 0; }
.efficiency-intro { margin-top: 100px; }
.efficiency-intro p { color: var(--muted); font-size: 1.08rem; line-height: 1.84; }
.efficiency-intro strong { color: var(--ink); }
.latency-figure { margin-top: 42px; }
.latency-figure + .latency-figure { margin-top: 34px; }
.latency-viewport { overflow-x: auto; border: 1px solid rgba(40,34,24,.13); border-radius: 18px; background: var(--paper); box-shadow: 0 14px 30px rgba(45,28,7,.07); }
.latency-image-link { display: block; width: 100%; transition: opacity .2s ease; }
.latency-image-link:hover { opacity: .96; }
.latency-plot { width: 100%; height: auto; display: block; }
.latency-figure figcaption { margin-top: 16px; color: var(--dim); font-size: .72rem; line-height: 1.55; }

.reference-rail { display: block; width: var(--reading); padding-block: 48px; border-block: 1px solid var(--line-strong); }
.reference-rail-header h2 { margin: 0; color: var(--ink); font-family: inherit; font-size: 1.12rem; font-weight: 680; line-height: 1.3; letter-spacing: -.015em; }
.reference-grid { display: grid; grid-template-columns: 1fr; gap: 13px; margin: 20px 0 0; padding: 0; list-style: none; }
.reference-grid li { min-width: 0; display: grid; grid-template-columns: 27px minmax(0,1fr); gap: 8px; align-items: baseline; }
.reference-number { padding-top: 0; color: var(--teal-deep); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .68rem; font-weight: 760; line-height: 1.5; }
.reference-title { color: var(--ink); font-family: inherit; font-size: .84rem; font-weight: 620; line-height: 1.5; text-decoration-color: #89bdb2; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.reference-title:hover, .reference-title:focus-visible { color: var(--teal-deep); text-decoration-color: currentColor; }
.reference-meta { margin: 1px 0 0; color: var(--dim); font-size: .66rem; line-height: 1.45; }
.reference-meta a { color: var(--teal-deep); font-weight: 700; text-underline-offset: 3px; }
.reference-cite, .reference-cite-group a { color: var(--teal); font-weight: 720; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.reference-cite-group { white-space: nowrap; }
.project-endmatter { margin-top: clamp(52px,6vw,76px); margin-bottom: clamp(80px,9vw,120px); }
.project-endmatter h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.15rem,4vw,3rem); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.citation-card { position: relative; margin-top: 24px; }
.citation-card pre { margin: 0; overflow-x: auto; padding: 62px 26px 28px; border: 1px solid #303632; border-radius: 20px; color: #f7f5ef; background: #171a18; box-shadow: 0 18px 38px rgba(25,34,32,.16); }
.citation-card code { display: block; color: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; line-height: 1.7; }
.citation-copy { position: absolute; z-index: 1; top: 14px; right: 14px; min-width: 74px; padding: 7px 12px; border: 1px solid rgba(247,245,239,.28); border-radius: 9px; color: #f7f5ef; background: rgba(247,245,239,.08); cursor: pointer; font-size: .7rem; font-weight: 740; letter-spacing: .05em; }
.citation-copy:hover, .citation-copy:focus-visible { border-color: rgba(247,245,239,.62); background: rgba(247,245,239,.15); }
.resource-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.site-footer { padding-block: 28px; border-top: 1px solid var(--line); background: var(--paper); }
.site-footer .shell { display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; }
.site-footer p { margin: 0; color: var(--dim); font-size: .7rem; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }

@media (max-width: 1199px) {
  .article-toc { display: none; }
}

@media (max-width: 1040px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 140px 70px; }
  .hero-copy { display: block; }
  .lab-lockup, .hero-main, .hero-figure { grid-column: auto; grid-row: auto; }
  .hero-copy { max-width: 800px; }
  .hero-figure { width: 100%; max-width: 850px; display: block; align-self: auto; }
  .pipeline-visual { position: relative; inset: auto; }
  .method-figure { width: min(100% - 32px,1420px); }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 30px,1220px); --hero-shell: min(100% - 30px,1680px); --reading: min(100% - 30px,800px); }
  .site-header { top: 10px; }
  .site-nav { padding-inline: 14px; }
  .wordmark { gap: 8px; font-size: .91rem; }
  .wordmark-mark { width: 13px; height: 13px; }
  .nav-links .nav-models, .nav-pending { display: none; }
  .nav-links .nav-code { padding: 9px 14px; }
  .deng-lab-logo { height: 42px; }
  .lab-lockup { gap: 10px; margin-bottom: 34px; font-size: .64rem; }
  .hero { gap: 45px; padding-block: 112px 60px; }
  .hero h1 { font-size: clamp(40px,12vw,56px); letter-spacing: -.05em; }
  .pipeline-visual { min-height: 0; padding: 18px; border-radius: 22px; }
  .pipeline-heading { display: block; margin-bottom: 16px; }
  .pipeline-legend { justify-content: flex-start; margin-top: 11px; }
  .pipeline-layout { grid-template-columns: 1fr; }
  .runtime-comparison, .attention-diagram { padding: 12px; }
  .runtime-label strong { font-size: .72rem; }
  .runtime-label span { font-size: .54rem; }
  .attention-topline { justify-content: flex-start; margin: 0 0 9px; }
  .matrix-legend { justify-content: flex-start; margin-top: 8px; }
  .attention-comparison { grid-template-columns: 1fr; }
  .mask-row-labels, .mask-grid-10 { grid-template-rows: repeat(10,minmax(16px,1fr)); }
  .mask-grid-10 .matrix-cell { min-height: 16px; }
  .mask-column-labels span, .mask-row-labels span { font-size: .46rem; }
  .hero-figure figcaption { margin-top: 11px; text-align: left; }
  .headline-results { margin-top: 12px; }
  .headline-results p { min-height: 64px; max-height: 68px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 6px; }
  .headline-results p:first-child { padding-left: 0; }
  .headline-results strong { font-size: 1.08rem; }
  .headline-results span { font-size: .52rem; line-height: 1.25; }
  .headline-results small { margin-top: 0; font-size: .48rem; line-height: 1.2; white-space: normal; }
  .headline-results small b { margin-right: 1px; padding: 1px 3px; }
  .article-header, .article-section { padding-block: 90px; }
  .editorial-act { padding-block: 30px; }
  .editorial-act + .editorial-act { padding-top: 58px; }
  .editorial-act:last-of-type { padding-bottom: 90px; }
  .article-header h2 { font-size: 1.2rem; }
  .article-header > p, .article-section p, .editorial-act p { font-size: 1rem; line-height: 1.82; }
  .method-figure { width: 100%; margin-top: 48px; }
  .method-figure-viewport { border-radius: 0; }
  .method-figure-artwork { width: auto; min-width: 1100px; height: auto; }
  .method-figure figcaption { padding-inline: 15px; text-align: left; }
  .benchmark { width: 100%; }
  .rollout-showcase { padding-block: 48px; }
  .rollout-showcase-heading { margin-bottom: 18px; }
  .rollout-demo-grid { grid-template-columns: 1fr; gap: 12px; }
  .rollout-demo-caption { padding: 8px 11px 9px; }
  .efficiency-intro { margin-top: 80px; }
  .latency-viewport { border-radius: 12px; }
  .latency-image-link { min-width: 900px; }
  .reference-rail { padding-block: 40px; }
  .reference-grid { gap: 12px; }
  .reference-grid li { grid-template-columns: 27px minmax(0,1fr); gap: 8px; }
  .reference-title { font-size: .83rem; }
  .reference-meta { font-size: .66rem; }
  .site-footer .shell { grid-template-columns: 1fr; gap: 7px; }
}

@media (max-width: 360px) {
  .pipeline-visual { padding: 14px; }
  .runtime-comparison, .attention-diagram { padding: 9px; }
  .attention-panel-heading strong { font-size: .64rem; }
  .attention-path-badge { padding-inline: 6px; font-size: .58rem; }
  .mask-matrix-body { grid-template-columns: 20px minmax(0,1fr); gap: 2px; }
  .mask-column-labels { margin-left: 22px; }
  .mask-column-labels span, .mask-row-labels span { font-size: .42rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms!important; animation-duration: .01ms!important; }
  .generation-window::after, .execution-rail i, .cross-chunk-condition { animation: none; }
  .timeline-curtain, .timeline-cursor { display: none; }
}
