:root {
  --paper: #f7f8f5;
  --white: #ffffff;
  --tint: #f2f6fa;
  --ink: #15191d;
  --soft: #4e555c;
  --muted: #7b8288;
  --line: #dfe3e3;
  --blue: #1f63a3;
  --blue-dark: #124c80;
  --blue-soft: #dfeefa;
  --orange: #ef6b2e;
  --orange-soft: #fff0e7;
  --green: #1f7739;
  --green-soft: #e8f3e9;
  --max: 1080px;
  --factory-max: 1240px;
  --nav-h: 68px;
  --gutter: 24px;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; letter-spacing: 0; overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.nav-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
figure { margin: 0; }
::selection { color: #fff; background: var(--blue); }
.skip-link { position: fixed; z-index: 1000; top: -80px; left: 16px; padding: 10px 14px; color: #fff; background: var(--ink); }
.skip-link:focus { top: 12px; }
.scroll-progress { position: fixed; z-index: 200; top: 0; left: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--orange), var(--blue)); pointer-events: none; }

.site-header { position: sticky; z-index: 100; top: 0; min-height: var(--nav-h); border-bottom: 1px solid rgba(21, 25, 29, 0.09); background: rgba(247, 248, 245, 0.9); backdrop-filter: blur(18px) saturate(140%); }
.nav-shell { max-width: var(--max); min-height: var(--nav-h); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; }
.wordmark { display: inline-flex; align-items: center; margin-right: auto; font-size: 20px; font-weight: 800; letter-spacing: -0.04em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 9px 12px; border-radius: 9px; color: var(--soft); font-size: 13px; font-weight: 650; transition: color 160ms ease, background 160ms ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--blue); background: rgba(31, 99, 163, 0.07); }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--ink); transition: transform 180ms ease, opacity 180ms ease; }
.nav-toggle span:nth-child(2) { display: none; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100vh - var(--nav-h)); padding: clamp(68px, 8vw, 108px) var(--gutter) 28px; display: flex; flex-direction: column; align-items: center; background: linear-gradient(rgba(255,255,255,.6), rgba(247,248,245,.98)), radial-gradient(circle at 50% 10%, #fff 0, var(--paper) 70%); }
.hero::after { position: absolute; z-index: -2; inset: 0; content: ""; opacity: .26; background-image: linear-gradient(rgba(21,25,29,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(21,25,29,.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 72%); }
.hero-copy { width: 100%; max-width: 1000px; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 25px; padding: 7px 12px; border: 1px solid rgba(31,99,163,.2); border-radius: 999px; color: var(--blue); background: rgba(255,255,255,.64); font: 700 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(239,107,46,.12); }
.hero h1 { margin: 0; color: var(--blue); font-family: var(--serif); font-size: clamp(64px, 8vw, 104px); font-weight: 600; line-height: .9; letter-spacing: -.055em; }
.hero-question { max-width: 900px; margin: 24px auto 0; font-family: var(--serif); font-size: clamp(29px, 4.25vw, 54px); font-weight: 500; line-height: 1.12; letter-spacing: -.035em; }
.hero-summary { max-width: 760px; margin: 25px auto 0; color: var(--soft); font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; }
.hero-actions { margin-top: 29px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.button { min-width: 96px; min-height: 44px; padding: 0 18px; border: 1px solid #ccd1d3; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink); background: rgba(255,255,255,.76); font-family: inherit; font-size: 13px; font-weight: 720; box-shadow: 0 2px 3px rgba(21,25,29,.03); transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.button:hover, .button:focus-visible { border-color: #acb4b9; background: #fff; box-shadow: 0 8px 24px rgba(21,25,29,.08); transform: translateY(-2px); }
.button-primary { border-color: var(--blue); color: #fff; background: var(--blue); box-shadow: 0 7px 20px rgba(31,99,163,.18); }
.button-primary:hover, .button-primary:focus-visible { border-color: var(--blue-dark); background: var(--blue-dark); }
.button-disabled, .button-disabled:disabled { border-color: #d7dbdd; color: #9da4a8; background: #eceeef; box-shadow: none; cursor: not-allowed; opacity: 1; }
.video-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.paper-meta { max-width: 980px; margin: 34px auto 0; text-align: center; }
.authors { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink); font-size: 16px; font-weight: 650; }
.author-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.authors a { position: relative; display: inline-block; }
.authors a::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 1px; content: ""; background: currentColor; opacity: 0; transform: scaleX(.7); transition: opacity 160ms ease, transform 160ms ease; }
.authors a:hover::after, .authors a:focus-visible::after { opacity: .4; transform: scaleX(1); }
sup { position: relative; top: -.2em; margin-left: 2px; color: var(--orange); font: 600 .62em/1 var(--mono); }
.affiliations { margin: 10px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 19px; color: var(--muted); font-size: 13px; }
.affiliation-logos { min-height: 50px; margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 28px; }
.affiliation-logos a { display: flex; align-items: center; }
.affiliation-logos img { width: auto; max-width: 210px; height: 28px; object-fit: contain; }
.affiliation-logos a:first-child img { height: 50px; }
.hero-visual { width: min(100%, var(--max)); margin: 34px auto 0; }
.hero-visual img { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 24px 70px rgba(21,25,29,.09); }

.factory, .benchmark, .findings, .citation { position: relative; overflow: clip; padding: clamp(80px, 9vw, 132px) var(--gutter); border-top: 1px solid var(--line); }
.factory { padding-top: clamp(52px, 5vw, 72px); }
.factory { background: var(--tint); }
.benchmark { background: var(--white); }
.findings { background: var(--paper); }
.chapter-title, .citation { max-width: var(--max); margin-left: auto; margin-right: auto; }
.factory .chapter-title, .benchmark .chapter-title { max-width: var(--factory-max); }
.chapter-title { margin-top: 0; margin-bottom: 56px; display: block; color: var(--ink); font-family: var(--serif); font-size: clamp(34px, 4.4vw, 50px); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; }
.chapter-title span { display: block; margin-bottom: 9px; color: var(--blue); font: 780 clamp(13px, 1.2vw, 15px)/1.4 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.demo-stack { max-width: var(--factory-max); margin: 0 auto; }
.demo-module { padding: 82px 0; border-top: 1px solid #d2dce3; display: flex; flex-direction: column; align-items: stretch; gap: 38px; }
.demo-module:first-child { padding-top: 0; border-top: 0; }
.demo-copy { width: 100%; }
.module-heading { display: flex; align-items: center; gap: 17px; }
.module-heading > span { width: 50px; height: 50px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; color: var(--orange); background: var(--orange-soft); font: 800 14px/1 var(--mono); }
.demo-module:nth-child(2) .module-heading > span { color: var(--blue); background: var(--blue-soft); }
.demo-module:nth-child(3) .module-heading > span { color: var(--green); background: var(--green-soft); }
.module-heading h3 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 3vw, 46px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.demo-copy > p { max-width: 920px; margin: 26px 0 0; color: var(--soft); font-size: 17px; line-height: 1.72; }
.demo-tabs { margin-top: 29px; display: inline-flex; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.7); }
.demo-tabs button { min-width: 94px; height: 42px; padding: 0 15px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font: 650 13px/1 var(--mono); cursor: pointer; }
.demo-tabs button.is-active { color: #fff; background: var(--blue); box-shadow: 0 3px 10px rgba(31,99,163,.18); }
.demo-media { position: relative; width: 100%; min-width: 0; overflow: hidden; aspect-ratio: 2.5 / 1; border: 1px solid var(--line); border-radius: 14px; background: #101419; box-shadow: 0 18px 48px rgba(21,25,29,.09); }
.demo-media.is-pipeline { aspect-ratio: var(--pipeline-ratio); background: #fff; }
.demo-media video { width: 100%; height: 100%; object-fit: cover; }
.pipeline-document { width: 100%; height: 100%; display: block; background: #fff; }
.pipeline-document img { width: 100%; height: 100%; object-fit: contain; }
.pipeline-document[hidden], .demo-media.is-pipeline video, .demo-media.is-pipeline .video-status { display: none; }
.video-status { position: absolute; right: 10px; bottom: 10px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; display: flex; align-items: center; gap: 7px; color: #fff; background: rgba(17,24,32,.78); font: 600 9px/1 var(--mono); }
.factory-tail { max-width: var(--factory-max); margin: 30px auto 0; padding-top: 42px; border-top: 1px solid #d2dce3; }
.factory-tail .module-heading > span { color: var(--green); background: var(--green-soft); }
.factory-tail-figure { margin-top: 34px; border: 1px solid var(--line); border-radius: 14px; display: block; overflow: hidden; background: #fff; box-shadow: 0 18px 48px rgba(21,25,29,.09); }
.factory-tail-figure img { width: 100%; }
.lidar-viewer { margin-top: 34px; border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; color: var(--ink); box-shadow: 0 18px 48px rgba(21,25,29,.09); }
.lidar-viewer-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:16px; }
.lidar-viewer-head h4 { margin:5px 0 0; font-size:22px; letter-spacing:-.02em; }
.lidar-viewer-head p { margin:0; color:var(--soft); font-size:13px; }
.lidar-viewer .eyebrow { color:var(--blue); text-transform:uppercase; letter-spacing:.13em; font-size:10px; font-weight:700; }
.lidar-viewer-tabs, .lidar-viewer-toggle { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.lidar-viewer-tabs button, .lidar-viewer-toggle button { border:1px solid var(--line); background:#fff; color:var(--soft); border-radius:999px; padding:7px 14px; font:inherit; font-size:12px; cursor:pointer; }
.lidar-viewer-tabs button.is-active, .lidar-viewer-toggle button.is-active { color:#fff; background:#2459b8; border-color:#4b7ee0; }
.lidar-compare { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:14px 0 12px; }
.lidar-viewer-stage { position:relative; min-width:0; border:1px solid #e5e9ed; border-radius:11px; overflow:hidden; background:#fff; cursor:grab; touch-action:none; }
.lidar-viewer-stage > strong { position:absolute; z-index:2; top:12px; left:14px; color:var(--ink); font-size:13px; pointer-events:none; }
.lidar-viewer-stage > strong span { margin-left:5px; color:var(--soft); font-weight:500; }
.lidar-viewer-stage:active { cursor:grabbing; }
.lidar-viewer-stage canvas { display:block; width:100%; height:auto; aspect-ratio:900/520; }
.lidar-viewer-loading { position:absolute; inset:0; display:grid; place-items:center; color:var(--soft); font-size:13px; pointer-events:none; }
.lidar-viewer-loading[hidden] { display:none; }
.lidar-image-strip { display:flex; flex-flow:row nowrap; gap:5px; padding:8px; background:#f7f9fb; border-top:1px solid #e5e9ed; }
.lidar-image-strip img { display:block; flex:1 1 0; min-width:0; width:33.333%; aspect-ratio:16/9; object-fit:cover; border-radius:4px; background:#e9edf0; }
@media (max-width: 700px) { .lidar-viewer { padding:14px; } .lidar-viewer-head { display:block; } .lidar-viewer-head p { margin-top:8px; } .lidar-viewer-head h4 { font-size:19px; } .lidar-compare { grid-template-columns:1fr; } }

.benchmark-lead { max-width: var(--factory-max); margin: -22px auto 0; padding-right: clamp(0px, 22vw, 320px); color: var(--soft); font-size: 18px; line-height: 1.72; }
.benchmark-block { max-width: var(--factory-max); margin: 96px auto 0; }
.benchmark-block-heading { max-width: 920px; }
.benchmark-block-heading > span { display: block; margin-bottom: 8px; color: var(--orange); font: 760 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.metrics-block .benchmark-block-heading > span { color: var(--green); }
.benchmark-block-heading h3 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 3.5vw, 43px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; }
.benchmark-block > p { max-width: 920px; margin: 20px 0 0; color: var(--soft); font-size: 16px; line-height: 1.72; }
.taxonomy-figure { margin-top: 34px; border: 1px solid var(--line); border-radius: 8px; display: block; overflow: hidden; background: #fff; box-shadow: 0 16px 42px rgba(21,25,29,.07); }
.taxonomy-figure img { width: 100%; }
.formula-grid { margin-top: 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.formula-grid article { min-width: 0; padding: 28px clamp(18px, 2.2vw, 30px) 30px; }
.formula-grid article + article { border-left: 1px solid var(--line); }
.formula-grid h4 { margin: 0 0 20px; color: var(--ink); font-size: 15px; font-weight: 750; }
.formula { min-height: 94px; display: flex; align-items: center; gap: 12px; color: var(--ink); font-family: var(--serif); font-size: 18px; }
.formula > i { font-size: 22px; }
.cases { padding-left: 13px; border-left: 2px solid var(--blue); display: flex; flex-direction: column; gap: 7px; }
.cases > span { display: block; white-space: nowrap; }
.cases small { margin-top: 2px; display: block; color: var(--muted); font: 9px/1.3 var(--mono); }
.formula-grid article > p { margin: 15px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.formula-note { margin: 10px 0 0 !important; color: var(--muted) !important; font-size: 11px !important; text-align: right; }
.formula-note code { font-family: var(--mono); }
.metric-demo { margin-top: 52px; border: 1px solid #cad3d7; border-radius: 8px; display: grid; grid-template-columns: minmax(0,1.55fr) minmax(290px,.65fr); overflow: hidden; background: #fff; box-shadow: 0 18px 52px rgba(21,25,29,.08); }
.metric-demo-main { min-width: 0; padding: 26px; }
.metric-demo-topline { margin-bottom: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.metric-demo-topline span { color: var(--blue); font: 740 10px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.metric-demo-topline h4 { margin: 3px 0 0; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.metric-presets { padding: 4px; border: 1px solid var(--line); border-radius: 8px; display: flex; background: var(--paper); }
.metric-presets button { min-height: 34px; padding: 0 12px; border: 0; border-radius: 6px; color: var(--soft); background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.metric-presets button:hover, .metric-presets button:focus-visible, .metric-presets button.is-active { color: #fff; background: var(--blue); }
.metric-stage { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid #bfc8cc; border-radius: 6px; cursor: crosshair; touch-action: none; user-select: none; }
.metric-stage svg { width: 100%; height: 100%; display: block; }
.metric-hazard rect { fill: #d85c50; stroke: #9d3028; stroke-width: 3; }
.metric-hazard path { stroke: rgba(255,255,255,.8); stroke-width: 3; }
.metric-hazard text { fill: #8f2822; font: 700 12px var(--mono); letter-spacing: 1px; }
.metric-trajectory-shadow { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 11; stroke-linecap: round; }
.metric-trajectory { fill: none; stroke: var(--blue); stroke-width: 6; stroke-linecap: round; }
.metric-start { fill: var(--ink); stroke: #fff; stroke-width: 4; }
.metric-start-label { fill: var(--ink); font: 700 11px var(--mono); }
.metric-target circle:first-child { fill: #fff; stroke: var(--blue); stroke-width: 4; }
.metric-target circle:last-child { fill: var(--blue); }
.metric-collision circle { fill: rgba(239,107,46,.2); stroke: var(--orange); stroke-width: 3; }
.metric-collision path { stroke: var(--orange); stroke-width: 3; stroke-linecap: round; }
.metric-collision[hidden] { display: none; }
.metric-trajectory.is-clear { stroke: var(--green); }
.metric-readout { min-width: 0; padding: 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; background: #f5f7f7; }
.metric-status { padding-bottom: 24px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 12px; }
.metric-status > span { color: var(--orange); font-size: 13px; font-weight: 780; }
.metric-status > strong { grid-row: 1 / 3; grid-column: 2; font: 500 28px/1 var(--serif); }
.metric-status > small { color: var(--muted); font-size: 10px; }
.score-comparison { display: grid; }
.score-comparison > div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.score-comparison span { display: block; color: var(--soft); font-size: 12px; font-weight: 700; }
.score-comparison strong { margin-top: 8px; display: block; font: 500 42px/1 var(--serif); }
.score-comparison small { margin-top: 8px; display: block; color: var(--muted); font-size: 10px; }
.score-comparison .corner-score strong { color: var(--blue); }
.metric-readout > p { margin: auto 0 0; padding-top: 22px; color: var(--muted); font-size: 11px; line-height: 1.5; }

.findings .chapter-title, .qa-list { max-width: var(--factory-max); }
.results-table-block { max-width: 1080px; margin: 0 auto 88px; }
.results-table-heading { margin-bottom: 22px; display: grid; grid-template-columns: minmax(0,1fr); }
.results-table-heading h3 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.results-table-heading p { max-width: 880px; margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.results-table-heading code { font-family: var(--mono); }
.results-table-scroll { overflow-x: auto; border-top: 1px solid #abb5ba; border-bottom: 1px solid #abb5ba; background: #fff; scrollbar-width: thin; }
.results-table { width: 100%; min-width: 820px; border-collapse: collapse; color: var(--soft); font: 10px/1.25 var(--mono); }
.results-table thead { position: sticky; z-index: 2; top: 0; color: var(--ink); background: #eef2f3; }
.results-table th, .results-table td { padding: 7px 8px; border-bottom: 1px solid #e4e7e8; text-align: center; white-space: nowrap; }
.results-table th:first-child { text-align: left; }
.results-table tbody th { color: var(--ink); font-weight: 700; }
.results-table tbody th a { color: inherit; text-decoration: underline; text-decoration-color: #b8c5cb; text-underline-offset: 2px; }
.results-table tbody th a:hover, .results-table tbody th a:focus-visible { color: var(--blue); text-decoration-color: currentColor; }
.results-table tbody tr:nth-child(even) { background: #fafbfa; }
.results-table tbody tr:hover { background: var(--blue-soft); }
.results-table .rank-1 { color: #0b7a3b; background: #e6f4ea; font-weight: 800; }
.results-table .rank-2 { color: #1e5aa8; background: #e8f0fe; font-weight: 800; }
.results-table .rank-3 { color: #b45f06; background: #fff3e0; font-weight: 800; }
.results-table [class^="rank-"] sup { position: relative; top: -.35em; margin-left: 1px; color: inherit; font-size: .62em; line-height: 0; }
.qa-list { margin: 0 auto; border-top: 1px solid var(--line); }
.qa-item { padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.qa-item > header { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 50px minmax(0, 920px); gap: 17px; align-items: start; }
.qa-item > header > span { width: 50px; height: 50px; padding: 0; border-radius: 12px; display: grid; place-items: center; color: var(--orange); background: var(--orange-soft); font: 800 14px/1 var(--mono); }
.qa-item > header h3 { margin: 0; font-family: var(--serif); font-size: clamp(29px, 3.2vw, 38px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; }
.qa-body { max-width: 1040px; margin: 38px auto 0; }
.result-copy { max-width: 920px; margin: 46px auto 0; }
.qa-body > .result-copy:first-child { margin-top: 0; }
.result-copy p { margin: 0; color: var(--soft); font-size: 16px; line-height: 1.72; }
.result-copy p + p { margin-top: 18px; }
.result-copy strong { color: var(--ink); font-weight: 700; }
.result-copy code { padding: 2px 5px; border-radius: 4px; color: var(--blue-dark); background: var(--blue-soft); font: .88em/1.4 var(--mono); }
.qa-answer { margin: 26px 0 0; padding: 24px 28px; border: 1px solid #cbdbe8; border-left: 5px solid var(--blue); border-radius: 0 14px 14px 0; color: #2b3b48; background: var(--tint); font-family: var(--serif); font-size: 22px; line-height: 1.55; }
.qa-answer strong { margin-right: 12px; color: var(--blue); font: 780 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.qa-figures { margin-top: 38px; display: grid; gap: 28px; }
.qa-figures-scale { max-width: 920px; margin-right: auto; margin-left: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qa-figures-wide { grid-template-columns: 1fr; }
.qa-body figure { margin: 0; min-width: 0; }
.qa-body img { display: block; width: 100%; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.qa-figure-link { display: block; }
.qa-body figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.qa-figures-wide, .qa-figure-full, .qa-body-two > figure { max-width: 780px; margin-right: auto !important; margin-left: auto !important; }
.qa-figure-full { margin-top: 38px !important; }
.qa-body-two { display: block; }
.qa-body-two > figure { margin-top: 38px; }
.qa-body-two .qa-answer { margin-top: 38px; }

.citation { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(48px,7vw,90px); background: var(--paper); }
.section-label { margin: 0 0 9px; color: var(--blue); font: 780 14px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.citation h2 { margin: 0; font-family: var(--serif); font-size: 44px; font-weight: 500; letter-spacing: -.04em; }
.citation > div > p:last-child { color: var(--muted); font-size: 14px; }
.bibtex-wrap { position: relative; min-width: 0; }
pre { margin: 0; padding: 28px; overflow-x: auto; border-radius: 14px; color: #e8edf1; background: #111820; font: 12px/1.8 var(--mono); box-shadow: 0 18px 46px rgba(21,25,29,.1); }
.copy-button { position: absolute; top: 12px; right: 12px; min-width: 94px; height: 34px; border: 1px solid #53616d; border-radius: 8px; color: #fff; background: #22303b; font-size: 11px; cursor: pointer; }
.site-footer { padding: 28px max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; color: var(--soft); background: var(--white); font-size: 12px; }
.site-footer div { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer a { color: var(--blue); font-weight: 700; }
:focus-visible { outline: 3px solid rgba(31,99,163,.45); outline-offset: 3px; }

@media (max-width: 900px) {
  .site-nav { position: fixed; inset: var(--nav-h) 0 auto; padding: 18px 24px 24px; border-bottom: 1px solid var(--line); display: none; flex-direction: column; align-items: flex-start; background: var(--paper); box-shadow: 0 18px 40px rgba(21,25,29,.08); }
  .site-nav.is-open { display: flex; }
  .nav-toggle { display: block; }
  .formula-grid { grid-template-columns: 1fr; }
  .formula-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
  .metric-demo { grid-template-columns: 1fr; }
  .metric-readout { border-top: 1px solid var(--line); border-left: 0; }
  .score-comparison { grid-template-columns: 1fr 1fr; gap: 20px; }
  .metric-readout > p { margin-top: 18px; }
  .qa-body { margin-left: 0; }
}

@media (max-width: 640px) {
  :root { --nav-h: 62px; --gutter: 20px; }
  body { font-size: 15px; }
  .wordmark { font-size: 18px; }
  .hero { min-height: 0; padding-top: 56px; padding-bottom: 58px; }
  .hero h1 { font-size: 56px; }
  .hero-question { margin-top: 19px; font-size: 31px; }
  .hero-summary { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-actions .button { padding: 0 10px; }
  .paper-meta { margin-top: 30px; }
  .authors { gap: 3px; font-size: 14px; }
  .author-row { gap: 3px 12px; }
  .affiliations { font-size: 12px; }
  .affiliation-logos { margin-top: 17px; gap: 20px; }
  .affiliation-logos img { max-width: 145px; height: 21px; }
  .affiliation-logos a:first-child img { height: 38px; }
  .hero-visual { margin-top: 28px; }
  .factory, .benchmark, .findings, .citation { padding-top: 74px; padding-bottom: 78px; }
  .factory { padding-top: 48px; }
  .chapter-title { margin-bottom: 40px; font-size: 37px; }
  .chapter-title span { font-size: 12px; }
  .demo-module { padding: 46px 0; gap: 27px; }
  .module-heading { align-items: flex-start; }
  .module-heading > span { width: 42px; height: 42px; font-size: 12px; }
  .module-heading h3 { font-size: 28px; }
  .demo-copy > p { margin-top: 22px; font-size: 14px; }
  .demo-tabs { width: 100%; }
  .demo-tabs button { flex: 1; min-width: 0; height: 35px; padding: 0 12px; font-size: 11px; }
  .video-status { display: none; }
  .factory-tail { padding-top: 28px; }
  .benchmark-lead { margin-top: -12px; font-size: 15px; }
  .benchmark-block { margin-top: 66px; }
  .benchmark-block-heading h3 { font-size: 29px; }
  .benchmark-block > p { font-size: 14px; }
  .formula { font-size: 18px; }
  .metric-demo-main { padding: 17px; }
  .metric-demo-topline { align-items: stretch; flex-direction: column; gap: 13px; }
  .metric-presets button { flex: 1; padding: 0 7px; }
  .metric-readout { padding: 20px; }
  .score-comparison strong { font-size: 34px; }
  .results-table-block { margin-bottom: 64px; }
  .results-table-heading { grid-template-columns: 1fr; }
  .qa-item { padding: 48px 0 55px; }
  .qa-item > header { grid-template-columns: 42px minmax(0,1fr); gap: 12px; }
  .qa-item > header > span { width: 42px; height: 42px; border-radius: 12px; font-size: 12px; }
  .qa-item > header h3 { font-size: 28px; }
  .qa-body { margin-top: 28px; }
  .result-copy { margin-top: 38px; }
  .result-copy p { font-size: 15px; }
  .qa-figures-scale { grid-template-columns: 1fr; }
  .qa-answer { padding: 19px 18px; font-size: 18px; }
  .citation { grid-template-columns: 1fr; }
  .citation h2 { font-size: 40px; }
  pre { padding: 58px 18px 20px; font-size: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
