:root {
  --paper: #f4f1e9;
  --paper-deep: #e9e4d9;
  --ink: #172126;
  --muted: #657076;
  --line: rgba(23, 33, 38, 0.16);
  --dark: #10191d;
  --dark-soft: #182328;
  --teal: #188c87;
  --teal-dark: #0f625f;
  --coral: #e96d4f;
  --blue: #3993d0;
  --violet: #7356b8;
  --yellow: #d5b84a;
  --white: #fffef9;
  --shadow: 0 24px 80px rgba(16, 25, 29, 0.13);
  --shell: min(1200px, calc(100vw - 48px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
sup { line-height: 0; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.shell { width: var(--shell); 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: 8px; left: 8px; z-index: 100; transform: translateY(-150%); background: var(--white); padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 74px;
  z-index: 50;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(244, 241, 233, .9); border-color: var(--line); backdrop-filter: blur(16px); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; letter-spacing: .05em; text-decoration: none; }
.wordmark-mark { display: grid; place-items: center; width: 32px; height: 32px; color: var(--white); background: var(--ink); border-radius: 50%; font-family: var(--serif); font-style: italic; font-size: 20px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 650; }
.nav-links a { text-decoration: none; transition: color .2s ease; }
.nav-links a:hover { color: var(--teal-dark); }
.nav-paper { border: 1px solid var(--ink); padding: 9px 14px; border-radius: 999px; }
.nav-paper:hover { background: var(--ink); color: var(--white) !important; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 10px; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

.hero { min-height: 100vh; padding: 146px 0 46px; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; width: 480px; height: 480px; left: -240px; bottom: -160px; border: 1px solid rgba(23,33,38,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(23,33,38,.018), 0 0 0 140px rgba(23,33,38,.016); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(390px, .72fr); gap: clamp(54px, 7vw, 110px); align-items: center; position: relative; z-index: 1; }
.eyebrow, .section-index { margin: 0; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 750; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--teal-dark); }
.eyebrow > span { width: 28px; height: 1px; background: currentColor; }
.hero h1 { margin: 22px 0 24px; max-width: 780px; font-size: clamp(47px, 5.35vw, 78px); line-height: .99; letter-spacing: -.052em; font-weight: 650; }
.hero h1 em, .section-heading h2 em { color: var(--teal-dark); font-family: var(--serif); font-weight: 400; }
.hero-deck { max-width: 680px; margin: 0; color: #465258; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.52; }
.acceptance-note { display: inline-block; margin: 18px 0 0; padding: 9px 13px; color: #204d4a; background: rgba(84, 190, 181, .12); border: 1px solid rgba(37, 125, 119, .24); border-radius: 8px; font-size: 12px; line-height: 1.45; }
.acceptance-note strong { margin-right: 4px; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.authors { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.authors p { margin: 0; }
.author-list { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; font-weight: 720; }
.author-list sup { font-size: 9px; color: var(--teal-dark); }
.affiliations { margin-top: 7px !important; color: #5d696e; font-size: 12px; }
.author-notes { margin-top: 4px !important; color: #748086; font-size: 11px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg, .copy-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: var(--white); background: var(--ink); box-shadow: 0 12px 25px rgba(23,33,38,.18); }
.button-primary:hover { box-shadow: 0 16px 34px rgba(23,33,38,.25); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.35); }
.button-secondary:hover { background: var(--white); }
.button-coming-soon { color: #667277; border-style: dashed; background: rgba(255,255,255,.22); cursor: default; user-select: none; }
.button-coming-soon:hover { background: rgba(255,255,255,.22); transform: none; }
.button-coming-soon small { color: var(--teal-dark); font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.status-separator { margin: 0 2px; color: #9aa3a6; }

.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border: 1px solid rgba(23,33,38,.13); border-radius: 50%; left: 6%; top: -8%; box-shadow: 0 0 0 24px rgba(23,33,38,.023), 0 0 0 48px rgba(23,33,38,.017); }
.hero-frame { position: relative; background: var(--dark); border: 8px solid var(--white); box-shadow: var(--shadow); overflow: hidden; transform: rotate(1.3deg); }
.hero-frame video { width: 100%; aspect-ratio: 1; object-fit: cover; }
.frame-topline { position: absolute; inset: 0 0 auto 0; display: flex; align-items: center; gap: 7px; padding: 13px 15px; color: rgba(255,255,255,.88); background: linear-gradient(rgba(8,13,15,.72), transparent); font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.frame-topline > span:last-child { margin-left: auto; opacity: .68; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #57d2a6; box-shadow: 0 0 0 4px rgba(87,210,166,.16); }
.role-legend { position: absolute; inset: auto 14px 14px 14px; display: flex; gap: 7px; }
.role { padding: 5px 8px; color: #fff; background: rgba(12,18,20,.75); backdrop-filter: blur(7px); font-size: 9px; font-weight: 750; border-left: 3px solid; }
.role.gripper { border-color: var(--violet); }.role.target { border-color: var(--coral); }.role.goal { border-color: var(--blue); }
.media-note { margin: 15px 0 0; font-size: 11px; color: var(--muted); text-align: center; letter-spacing: .04em; }
.media-note span { color: var(--teal-dark); font-weight: 750; }
.hero-rule { display: flex; align-items: center; gap: 14px; margin-top: 70px; color: #788287; font-size: 9px; letter-spacing: .16em; position: relative; z-index: 1; }
.hero-rule i { flex: 1; height: 1px; background: var(--line); }

.section { padding: 124px 0; }
.section-heading { display: grid; grid-template-columns: minmax(150px, .35fr) minmax(0, 1fr); gap: 50px; align-items: start; margin-bottom: 62px; }
.section-index { color: var(--teal-dark); padding-top: 11px; }
.section-heading h2 { margin: 0 0 19px; font-size: clamp(38px, 4.2vw, 61px); line-height: 1.02; letter-spacing: -.045em; font-weight: 620; }
.section-heading > div > p { max-width: 680px; margin: 0; color: var(--muted); font-size: 17px; }
.section-heading.light { color: var(--white); }
.section-heading.light .section-index { color: #74d1c9; }
.section-heading.light > div > p { color: #a8b4b8; }

.overview { border-top: 1px solid var(--line); }
.overview-figure { background: var(--white); padding: 20px; border: 1px solid rgba(23,33,38,.1); box-shadow: 0 18px 55px rgba(23,33,38,.08); }
.overview-figure img { width: 100%; }
.figure-caption { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 18px 4px 2px; border-top: 1px solid var(--line); }
.figure-caption span { color: var(--teal-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.figure-caption p { margin: 0; color: var(--muted); font-size: 13px; }
.idea-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 72px; }
.idea-card { position: relative; min-height: 330px; padding: 34px; background: var(--paper); }
.idea-number { position: absolute; top: 22px; right: 24px; color: #959c9e; font-size: 10px; letter-spacing: .16em; }
.idea-icon { width: 70px; height: 70px; position: relative; margin: 14px 0 45px; }
.idea-icon i { display: block; position: absolute; }
.idea-icon.bind i { width: 24px; height: 24px; border: 2px solid; border-radius: 50%; }
.idea-icon.bind i:nth-child(1){left:0;top:25px;color:var(--coral)}.idea-icon.bind i:nth-child(2){right:0;top:0;color:var(--blue)}.idea-icon.bind i:nth-child(3){right:0;bottom:0;color:var(--violet)}
.idea-icon.bind::after { content:""; position:absolute; inset:12px 13px 12px 19px; border-left:1px solid var(--line); border-top:1px solid var(--line); transform:skewY(-28deg); }
.idea-icon.predict { border: 1px solid var(--line); border-radius: 50%; }
.idea-icon.predict::after { content:"→"; position:absolute; inset:0; display:grid; place-items:center; font-size:28px; color:var(--teal); }
.idea-icon.predict i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }.idea-icon.predict i:nth-child(1){top:8px;left:12px}.idea-icon.predict i:nth-child(2){right:5px;top:30px;background:var(--blue)}.idea-icon.predict i:nth-child(3){bottom:6px;left:22px;background:var(--violet)}
.idea-icon.repair i { width: 60px; height: 7px; left: 5px; background: var(--teal); }.idea-icon.repair i:nth-child(1){top:8px}.idea-icon.repair i:nth-child(2){top:29px;width:38px}.idea-icon.repair i:nth-child(3){top:50px;width:52px;background:repeating-linear-gradient(90deg,var(--coral) 0 8px,transparent 8px 13px)}
.idea-card h3 { margin: 0 0 12px; font-size: 21px; letter-spacing: -.025em; }
.idea-card p { margin: 0; color: var(--muted); font-size: 14px; }
.idea-card strong { color: var(--ink); }

.demos-section { background: var(--dark); color: var(--white); }
.demo-cluster-heading { display: grid; grid-template-columns: .82fr 1.18fr; gap: 48px; align-items: end; margin: 0 0 24px; padding-top: 4px; }
.demo-cluster-heading h3 { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; }
.demo-cluster-heading > p { margin: 0; max-width: 660px; color: #9eabad; font-size: 13px; }
.demo-group-label { margin: 0 0 10px; color: #74d1c9; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.demo-card { overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: var(--dark-soft); }
.demo-card-large { grid-row: span 2; }
.demo-card-wide { grid-column: 1 / -1; }
.demo-media { position: relative; overflow: hidden; background: #080d0f; }
.square-media { aspect-ratio: 16/10; }
.demo-card-large .square-media { aspect-ratio: 1; }
.wide-media { aspect-ratio: 2 / 1; }
.demo-media video { width: 100%; height: 100%; object-fit: cover; }
.demo-tag { position: absolute; top: 15px; left: 15px; padding: 6px 9px; color: rgba(255,255,255,.92); background: rgba(10,16,18,.74); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(7px); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; pointer-events: none; }
.compare-labels { position: absolute; top: 15px; left: 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; text-align: center; pointer-events: none; }
.compare-labels span { justify-self: center; padding: 5px 9px; background: rgba(10,16,18,.72); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.demo-card-wide .demo-tag { top: auto; bottom: 15px; }
.demo-copy { padding: 28px 30px 31px; }
.demo-kicker { margin: 0 0 10px; color: #74d1c9; font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.demo-copy h3 { margin: 0 0 11px; font-size: 23px; line-height: 1.2; letter-spacing: -.025em; }
.demo-copy > p:not(.demo-kicker), .horizontal-copy > p { margin: 0; color: #a8b4b8; font-size: 13px; }
.phase-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; list-style: none; margin: 30px 0 0; padding: 17px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
.phase-track li { display: flex; flex-direction: column; gap: 4px; color: #9aa7ab; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.phase-track li span { color: #74d1c9; font-family: var(--serif); font-style: italic; font-size: 15px; }
.compact-legend { display: flex; gap: 17px; margin-top: 21px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #a8b4b8; font-size: 10px; }
.compact-legend span { display: flex; align-items: center; gap: 6px; }
.swatch { width: 8px; height: 8px; border-radius: 50%; }.swatch.gripper{background:var(--violet)}.swatch.target{background:var(--coral)}.swatch.goal{background:var(--blue)}
.horizontal-copy { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; align-items: end; }
.horizontal-copy h3 { margin-bottom: 0; }
.benchmark-heading { margin-top: 78px; }
.demo-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.demo-filter button { padding: 9px 14px; color: #aab6b9; background: transparent; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font: inherit; font-size: 10px; font-weight: 750; letter-spacing: .04em; cursor: pointer; }
.demo-filter button:hover, .demo-filter button:focus-visible { color: var(--white); border-color: rgba(116,209,201,.75); outline: none; }
.demo-filter button.active { color: #0c171a; background: #74d1c9; border-color: #74d1c9; }
.role-mask-key { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin: -4px 0 22px; color: #aab6b9; font-size: 10px; }
.role-mask-key strong { color: #dce2e3; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.role-mask-key span { display: inline-flex; align-items: center; gap: 6px; }
.role-mask-key em { margin-left: auto; color: #7f8e92; font-style: normal; }
.benchmark-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.benchmark-card { overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: var(--dark-soft); }
.benchmark-card[hidden] { display: none; }
.benchmark-media { aspect-ratio: 2 / 1; }
.benchmark-copy { min-height: 194px; }
.benchmark-copy h3 { max-width: 470px; }
.benchmark-source { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-top: 22px; padding: 20px 22px; border-left: 3px solid #74d1c9; background: rgba(255,255,255,.045); }
.benchmark-source p { margin: 0; max-width: 800px; color: #9eabad; font-size: 11px; }
.benchmark-source strong { color: #dce2e3; }
.benchmark-source > div { display: flex; flex: 0 0 auto; gap: 15px; }
.benchmark-source a, .provenance-links a { color: #74d1c9; font-size: 10px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.provenance { margin-top: 30px; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.provenance summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 22px 0; color: #c8d1d3; font-size: 12px; font-weight: 750; list-style: none; letter-spacing: .05em; }
.provenance summary::-webkit-details-marker { display: none; }
.provenance summary span { font-size: 21px; font-weight: 300; transition: transform .2s ease; }
.provenance[open] summary span { transform: rotate(45deg); }
.provenance > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 2px 0 27px; color: #9ca9ad; font-size: 12px; }
.provenance p { margin: 0; }.provenance strong { color: #dce2e3; }.provenance a { color: #74d1c9; text-decoration: none; }
.provenance-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

.results { background: var(--white); }
.result-layout { display: grid; grid-template-columns: .72fr 1.28fr; border: 1px solid var(--line); }
.metric-spotlight { min-height: 390px; padding: 34px; background: var(--teal-dark); color: var(--white); display: flex; flex-direction: column; }
.metric-topline { display: flex; justify-content: space-between; color: rgba(255,255,255,.7); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.metric-value { display: flex; align-items: flex-start; margin-top: auto; line-height: .8; }
.metric-value strong { font-family: var(--serif); font-weight: 400; font-size: clamp(90px, 10vw, 138px); letter-spacing: -.06em; }
.metric-value span { padding-top: 8px; font-size: 24px; }
.metric-spotlight > p { margin: 25px 0 21px; color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.35; }
.metric-delta { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.23); color: rgba(255,255,255,.7); font-size: 11px; }
.metric-delta span { color: #fff; font-weight: 800; }
.bars { padding: 48px 42px 36px; display: flex; flex-direction: column; justify-content: center; gap: 23px; }
.bar-row { display: grid; grid-template-columns: 135px 1fr 42px; gap: 16px; align-items: center; }
.bar-label { display: flex; flex-direction: column; }.bar-label span { font-size: 12px; font-weight: 800; }.bar-label small { color: var(--muted); font-size: 10px; }
.bar-track { height: 18px; background: var(--paper-deep); overflow: hidden; }
.bar-track i { display: block; width: var(--value); height: 100%; background: #779390; transform-origin: left; }
.bar-row.baseline .bar-track i { background: #aab1b0; }
.bar-row.highlight .bar-track i { background: var(--coral); }
.bar-row strong { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.bar-axis { margin-left: 151px; display: flex; justify-content: space-between; color: #949c9f; font-size: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.suite-table-wrap { margin-top: 38px; overflow-x: auto; border: 1px solid var(--line); }
.suite-table { width: 100%; border-collapse: collapse; min-width: 730px; font-size: 13px; }
.suite-table caption { padding: 16px 20px; text-align: left; color: var(--muted); background: var(--paper); border-bottom: 1px solid var(--line); font-size: 11px; }
.suite-table th, .suite-table td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: right; }
.suite-table th:first-child { text-align: left; }
.suite-table thead { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.suite-table tbody th { font-weight: 650; }
.suite-table tbody tr:last-child > * { border-bottom: 0; }
.suite-table .best { background: rgba(233,109,79,.08); color: #853624; }
.suite-table .oracle { color: var(--muted); background: rgba(23,33,38,.025); }
.suite-table small { display: block; font-weight: 400; font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.result-notes { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 38px; }
.result-note { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 27px; background: var(--white); }
.result-note strong { color: var(--teal-dark); font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1; }
.result-note span { color: var(--muted); font-size: 11px; }

.method { background: #182428; color: var(--white); }
.method-figure { padding: 18px; background: var(--white); border: 1px solid rgba(255,255,255,.16); }
.method-figure img { width: 100%; }
.method-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 60px; border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
.method-step { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 34px 31px 38px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.method-step > span { color: #74d1c9; font-family: var(--serif); font-style: italic; font-size: 23px; }
.method-step h3 { margin: 0 0 9px; font-size: 18px; }
.method-step p { margin: 0; color: #a8b4b8; font-size: 13px; }

.abstract-section { background: var(--paper-deep); }
.abstract-grid { display: grid; grid-template-columns: minmax(150px,.35fr) minmax(0,1fr); gap: 50px; }
.abstract-copy { max-width: 840px; }
.abstract-copy p { margin: 0 0 25px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 31px); line-height: 1.42; letter-spacing: -.02em; }
.abstract-copy p:last-child { margin-bottom: 0; }
.abstract-copy strong { color: var(--teal-dark); font-weight: 400; }

.citation { background: var(--white); }
.citation-box { position: relative; background: var(--dark); color: #dbe3e4; padding: 34px; border-left: 4px solid var(--teal); }
.citation-box pre { margin: 0; overflow-x: auto; font-size: 13px; line-height: 1.75; }
.copy-button { position: absolute; top: 20px; right: 20px; display: inline-flex; align-items: center; gap: 8px; color: #cdd8d9; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 8px 12px; font-size: 10px; font-weight: 700; cursor: pointer; }
.copy-button:hover { background: rgba(255,255,255,.13); }
.copy-button.copied { color: #83d8b8; border-color: rgba(131,216,184,.5); }

.footer { padding: 60px 0; color: #abb7ba; background: #0c1316; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 50px; align-items: end; }
.footer-mark { color: var(--white); }
.footer-mark .wordmark-mark { color: var(--dark); background: #74d1c9; }
.footer p { margin: 17px 0 0; max-width: 340px; font-size: 11px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; font-size: 11px; }
.footer-links a { text-decoration: none; }.footer-links a:hover { color: #74d1c9; }
.footer-credit { text-align: right; margin: 0 !important; max-width: none !important; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.js .reveal[data-delay="1"] { transition-delay: .1s; }.js .reveal[data-delay="2"] { transition-delay: .2s; }.js .reveal[data-delay="3"] { transition-delay: .3s; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  :root { --shell: min(100% - 34px, 820px); }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav-links { position: absolute; top: 64px; right: 17px; left: 17px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 9px; background: rgba(255,254,249,.98); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 13px; }
  .nav-paper { margin-top: 4px; border-radius: 6px; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 65px; }
  .hero-copy { max-width: 760px; }
  .hero-media { width: min(540px, 88vw); margin-inline: auto; }
  .section-heading, .abstract-grid { grid-template-columns: 1fr; gap: 17px; }
  .section-index { padding-top: 0; }
  .idea-grid { grid-template-columns: 1fr; }
  .idea-card { min-height: 260px; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-cluster-heading { grid-template-columns: 1fr; gap: 13px; }
  .demo-card-large, .demo-card-wide { grid-column: auto; grid-row: auto; }
  .demo-card-large .square-media, .square-media { aspect-ratio: 16/10; }
  .benchmark-grid { grid-template-columns: 1fr; }
  .benchmark-media { aspect-ratio: 2 / 1; }
  .benchmark-source { align-items: flex-start; flex-direction: column; }
  .provenance > div { grid-template-columns: 1fr; gap: 14px; }
  .result-layout { grid-template-columns: 1fr; }
  .metric-spotlight { min-height: 330px; }
  .result-notes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-credit { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 28px); }
  .site-header { height: 64px; }
  .hero { min-height: auto; padding: 100px 0 32px; }
  .hero h1 { font-size: 43px; }
  .hero-deck { font-size: 16px; }
  .author-list { font-size: 13px; }
  .affiliations { line-height: 1.65; }
  .hero-actions .button { flex: 1 1 calc(50% - 6px); }
  .hero-actions .button-coming-soon { flex-basis: 100%; }
  .hero-media { width: 100%; }
  .hero-rule { margin-top: 45px; }
  .section { padding: 84px 0; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2 { font-size: 39px; }
  .section-heading > div > p { font-size: 15px; }
  .overview-figure { padding: 8px; }
  .overview-figure img { min-height: 215px; object-fit: contain; }
  .figure-caption { grid-template-columns: 1fr; gap: 7px; padding: 14px 4px 4px; }
  .idea-grid { margin-top: 45px; }
  .idea-card { padding: 28px; min-height: 280px; }
  .demo-grid { gap: 16px; }
  .benchmark-heading { margin-top: 58px; }
  .demo-filter { flex-wrap: wrap; padding-bottom: 4px; }
  .benchmark-grid { gap: 16px; }
  .benchmark-media { aspect-ratio: 2 / 1; }
  .benchmark-copy { min-height: 0; }
  .benchmark-source > div { flex-wrap: wrap; }
  .role-mask-key em { flex-basis: 100%; margin-left: 0; }
  .demo-card-large .square-media, .square-media { aspect-ratio: 1; }
  .wide-media { aspect-ratio: 1.5; }
  .demo-copy { padding: 24px 22px 26px; }
  .phase-track { grid-template-columns: repeat(5, minmax(45px,1fr)); overflow-x: auto; }
  .horizontal-copy { grid-template-columns: 1fr; gap: 15px; }
  .compare-labels { display: none; }
  .metric-spotlight { min-height: 300px; padding: 26px; }
  .bars { padding: 35px 18px 28px; }
  .bar-row { grid-template-columns: 96px 1fr 35px; gap: 9px; }
  .bar-axis { margin-left: 105px; }
  .method-figure { padding: 7px; }
  .method-figure img { min-height: 230px; object-fit: contain; }
  .method-steps { grid-template-columns: 1fr; margin-top: 40px; }
  .abstract-copy p { font-size: 23px; }
  .citation-box { padding: 75px 18px 24px; }
  .citation-box pre { font-size: 10px; }
  .copy-button { top: 18px; left: 18px; right: auto; }
  .footer { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-credit { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
