:root {
  --black: #050607;
  --panel: #0b0e10;
  --panel-2: #11161a;
  --line: #2a3238;
  --line-strong: #48545c;
  --white: #f4f6f7;
  --muted: #98a1a8;
  --cyan: #4bd3e7;
  --blue: #4f8cff;
  --amber: #f2b84b;
  --green: #67d391;
  --red: #ff6d65;
  --max: 1500px;
  --radius: 4px;
  --hero-gutter: 40px;
  --hero-title-size: 5.75rem;
  --hero-subtitle-size: 1.5rem;
  --hero-command-height: 3rem;
  --hero-command-font: .8125rem;
  --hero-github-icon: 1.5625rem;
  --hero-github-small: .5625rem;
  --hero-github-strong: .75rem;
  --hero-action-gap: .875rem;
  --hero-partner-seu: 5.125rem;
  --hero-partner-inspur: 9rem;
  --hero-partner-gap: 1.125rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
main { background-color: #050607; transition: background-color .72s cubic-bezier(.4, 0, .2, 1); }
body[data-page-theme="light"] main { background-color: #f4f4f2; }
body[data-page-theme="dark"] main { background-color: #050607; }
main > [data-page-theme] { transition: color .72s cubic-bezier(.4, 0, .2, 1); }
body[data-page-theme="light"] main > .section,
body[data-page-theme="light"] main > .section .eyebrow,
body[data-page-theme="light"] .system-section .replay-note { color: #050607; }
body[data-page-theme="dark"] main > .section,
body[data-page-theme="dark"] main > .section .eyebrow,
body[data-page-theme="dark"] .system-section .replay-note { color: #fff; }
body[data-page-theme="light"] .film-section .section-lead,
body[data-page-theme="light"] .closing-copy > p:last-child { color: #555d62; }
body[data-page-theme="dark"] .film-section .section-lead,
body[data-page-theme="dark"] .closing-copy > p:last-child { color: #c4c9cc; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 40px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.72) 62%, rgba(0,0,0,0) 100%);
}
.brand { justify-self: center; display: flex; align-items: center; font-size: 23px; font-weight: 650; }
.menu-toggle { justify-self: start; min-width: 92px; height: 44px; display: inline-flex; align-items: center; gap: 13px; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.menu-toggle b { font-size: 15px; font-weight: 600; }
.menu-lines { width: 22px; display: grid; gap: 5px; }
.menu-lines i { display: block; height: 1px; background: currentColor; }
.menu-scrim { position: fixed; z-index: 70; inset: 0; background: rgba(0,0,0,.62); opacity: 0; transition: opacity .32s ease; }
.menu-scrim.is-visible { opacity: 1; }
.site-menu { position: fixed; z-index: 80; inset: 0 auto 0 0; width: min(520px, 92vw); display: flex; flex-direction: column; padding: 30px 34px 34px; background: #050505; color: #fff; transform: translateX(-102%); transition: transform .38s cubic-bezier(.2,.8,.2,1); box-shadow: 30px 0 80px rgba(0,0,0,.35); }
.site-menu.is-open { transform: translateX(0); }
.menu-topline { min-height: 54px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.18); color: #969696; font: 10px/1 monospace; }
.menu-close { width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 30px; font-weight: 200; }
.site-menu nav { display: grid; margin-top: 34px; }
.site-menu nav a { min-height: 78px; display: grid; grid-template-columns: 42px 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.14); }
.site-menu nav small { color: #737373; font: 10px/1 monospace; }
.site-menu nav span { font-size: 26px; font-weight: 600; transition: transform .2s ease; }
.site-menu nav a:hover span, .site-menu nav a:focus-visible span { transform: translateX(8px); }
.menu-github { margin-top: auto; min-height: 90px; display: flex; align-items: center; gap: 18px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.menu-github svg { width: 36px; height: 36px; flex: 0 0 auto; }
.menu-github span { display: grid; gap: 6px; }
.menu-github small { color: #8d8d8d; font: 9px/1 monospace; }
.menu-github strong { font-size: 14px; }
body.menu-open { overflow: hidden; }

.hero { position: relative; min-height: 100svh; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url("assets/hero-traffic.webp") center 58% / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.57) 40%, rgba(0,0,0,.15) 72%, rgba(0,0,0,.06) 100%); box-shadow: inset 0 -190px 130px rgba(0,0,0,.68); }
.hero-content { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 18vh 42% 120px var(--hero-gutter); }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font: 700 11px/1.3 monospace; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: var(--hero-title-size); line-height: .94; font-weight: 700; }
.hero-partners { position: absolute; z-index: 2; left: var(--hero-gutter); bottom: 20px; display: flex; align-items: center; gap: var(--hero-partner-gap); }
.partner-logo { width: clamp(7rem, 11vw, calc(var(--hero-partner-inspur) + 1.75rem)); height: calc(var(--hero-partner-seu) + .75rem); display: grid; place-items: center; flex: 0 0 auto; background: transparent; border: 0; transition: opacity .2s, transform .2s; }
.partner-logo:hover, .partner-logo:focus-visible { opacity: .78; transform: translateY(-2px); }
.partner-logo:focus-visible { outline: 1px solid rgba(255,255,255,.72); outline-offset: 5px; }
.partner-logo.inspur img { width: var(--hero-partner-inspur); max-width: 100%; height: auto; }
.partner-logo.seu { width: calc(var(--hero-partner-seu) + .75rem); }
.partner-logo.seu img { width: var(--hero-partner-seu); height: var(--hero-partner-seu); object-fit: cover; border-radius: 50%; }
.hero-subtitle { margin: 26px 0 34px; font-size: var(--hero-subtitle-size); line-height: 1.45; color: #e6eaec; }
.hero-actions { display: flex; align-items: stretch; gap: var(--hero-action-gap); flex-wrap: wrap; }
.primary-command { display: inline-flex; align-items: center; gap: clamp(.75rem, 1.4vw, 1.125rem); min-height: var(--hero-command-height); padding: 0 clamp(.875rem, 1.4vw, 1.125rem); border: 1px solid var(--white); font-weight: 700; font-size: var(--hero-command-font); transition: background .2s, color .2s; }
.primary-command:hover { background: var(--white); color: var(--black); }
.github-hero-link { min-height: var(--hero-command-height); display: inline-flex; align-items: center; gap: clamp(.625rem, 1vw, .75rem); padding: clamp(.4375rem, .6vw, .625rem) clamp(.75rem, 1.1vw, 1rem); background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.36); backdrop-filter: blur(10px); transition: background .2s, border-color .2s; }
.github-hero-link:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.github-hero-link svg { width: var(--hero-github-icon); height: var(--hero-github-icon); }
.github-hero-link span { display: grid; gap: 3px; }
.github-hero-link small { color: #b7b7b7; font-size: var(--hero-github-small); }
.github-hero-link strong { font-size: var(--hero-github-strong); }
.section { max-width: none; margin: 0; padding: 112px 40px; }
.section-inner { max-width: calc(var(--max) - 80px); margin: 0 auto; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-bottom: 24px; }
.section h2 { max-width: 900px; margin: 0; font-size: 46px; line-height: 1.12; }
.section-lead { max-width: 900px; margin: 28px 0 56px; color: #c8ced2; font-size: 18px; line-height: 1.65; }
.evidence-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border: 1px solid var(--line-strong); font: 700 10px/1 monospace; white-space: nowrap; }
.evidence-tag.measured { color: var(--green); border-color: rgba(103,211,145,.5); }
.evidence-tag.simulated { color: var(--cyan); border-color: rgba(75,211,231,.5); }

.film-section {
  background: transparent;
  color: #050607;
}
.film-section .eyebrow { color: #050607; }
.film-section .section-lead { max-width: 1200px; color: #555d62; }
.film-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 420px; overflow: hidden; border-radius: 8px; background: #090b0c; }
.project-film { display: block; width: 100%; height: 100%; background: #090b0c; object-fit: contain; }

.system-section {
  background: transparent;
  color: #fff;
  border-top: 0;
}
.system-section > .section-inner > .section-heading .eyebrow { color: #fff; }
.system-section .segment.active { background: var(--white); color: var(--black); }
.replay-note { max-width: 1120px; margin: 30px 0 22px; color: #fff; font-size: 17px; font-weight: 500; line-height: 1.75; }

.mode-row { min-height: 60px; display: flex; align-items: center; gap: 24px; }
.segmented { display: inline-flex; align-items: center; }
.segment { height: 34px; padding: 0 13px; border: 1px solid var(--line-strong); border-right: 0; border-radius: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; }
.segment:last-child { border-right: 1px solid var(--line-strong); }
.segment:hover { color: var(--white); }
.segment.active { background: var(--white); color: var(--black); }
.modelnet-case-picker { min-width: 330px; display: flex; align-items: center; gap: 10px; margin-left: auto; }
.modelnet-case-picker[hidden] { display: none; }
.modelnet-case-picker > span { color: var(--muted); font: 700 8px/1.2 monospace; white-space: nowrap; }
.modelnet-case-picker strong { color: var(--white); font: 700 10px/1.3 monospace; }
.modelnet-evidence-note { max-width: none; display: flex; align-items: flex-start; gap: 16px; margin: 18px 0 0; color: #b4bcc1; font-size: 11px; line-height: 1.6; }
.modelnet-evidence-note[hidden] { display: none; }
.modelnet-evidence-note strong { flex: 0 0 auto; color: var(--green); font: 700 9px/1.7 monospace; }

.demo-shell { margin-top: 24px; display: grid; grid-template-columns: minmax(360px, .85fr) minmax(440px, 1.15fr); grid-template-areas: "camera telemetry" "timeline timeline" "controls controls"; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel); color: var(--white); min-height: 690px; }
.camera-zone { grid-area: camera; position: relative; min-width: 0; padding: 14px; border-right: 1px solid var(--line-strong); }
.camera-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 1fr); gap: 8px; height: 100%; min-height: 500px; }
.camera-frame { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #111; border: 1px solid var(--line); }
.camera-image { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; transition: filter .5s, transform .8s, opacity .4s; }
.camera-image::before, .camera-image::after { pointer-events: none; }
.view-1 .camera-image { --blurred-image: url("assets/camera-right-front-blur.webp"); background-image: url("assets/vehicle-track.webp"); }
.view-2 .camera-image { --blurred-image: url("assets/camera-left-front-blur.webp"); background-image: url("assets/camera-left-front.webp"); }
.view-3 .camera-image { --blurred-image: url("assets/camera-left-rear-blur.webp"); background-image: url("assets/camera-left-rear.webp"); }
.view-4 .camera-image { --blurred-image: url("assets/camera-right-rear-blur.webp"); background-image: url("assets/camera-right-rear.webp"); }
.camera-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; pointer-events: none; }
.camera-frame figcaption { position: absolute; z-index: 2; bottom: 0; left: 0; right: 0; min-height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 9px; background: rgba(0,0,0,.72); border-top: 1px solid rgba(255,255,255,.22); font: 700 9px/1 monospace; }
.frame-state { color: var(--green); }
.frame-index { position: absolute; z-index: 2; right: 10px; top: 8px; color: rgba(255,255,255,.48); font: 700 24px/1 monospace; }
.demo-shell:is([data-stage="sense"], [data-stage="drift"], [data-stage="schedule"], [data-stage="upload"], [data-stage="distill"]) .camera-frame::after { border-color: rgba(242,184,75,.7); }
.demo-shell[data-scene="boxcars"]:is([data-stage="sense"], [data-stage="drift"], [data-stage="schedule"], [data-stage="upload"], [data-stage="distill"])[data-drift="illumination"] .camera-image { filter: brightness(.52) contrast(1.34) saturate(.7); }
.demo-shell[data-scene="boxcars"]:is([data-stage="sense"], [data-stage="drift"], [data-stage="schedule"], [data-stage="upload"], [data-stage="distill"])[data-drift="motion"] .camera-image { background-image: var(--blurred-image); filter: none; transform: none; }
.demo-shell[data-stage="recovery"] .camera-frame::after, .demo-shell[data-stage="done"] .camera-frame::after { border-color: rgba(103,211,145,.8); }
.demo-shell[data-scene="boxcars"][data-stage="recovery"] .camera-image, .demo-shell[data-scene="boxcars"][data-stage="done"] .camera-image { filter: brightness(1.04) contrast(1.06); }
.demo-shell[data-scene="boxcars"][data-stage="schedule"] .view-2, .demo-shell[data-scene="boxcars"][data-stage="upload"] .view-2, .demo-shell[data-scene="boxcars"][data-stage="distill"] .view-2 { opacity: .48; }
.demo-shell[data-scene="modelnet"] .camera-frame { background: #f2f3f3; }
.demo-shell[data-scene="modelnet"] .camera-image { background-color: #f2f3f3; background-size: contain; filter: none; transform: none; }
.demo-shell[data-scene="modelnet"] .camera-frame figcaption { background: rgba(5,6,7,.86); }
.demo-shell[data-scene="modelnet"]:is([data-stage="sense"], [data-stage="drift"], [data-stage="schedule"], [data-stage="upload"], [data-stage="distill"])[data-drift="illumination"] .camera-image { filter: brightness(.3) contrast(1.18) saturate(.7); }
.demo-shell[data-scene="modelnet"]:is([data-stage="sense"], [data-stage="drift"], [data-stage="schedule"], [data-stage="upload"], [data-stage="distill"])[data-drift="illumination"] .camera-image::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 62% 42%, rgba(18,24,28,.08) 0 20%, rgba(0,0,0,.65) 78%); }
.demo-shell[data-scene="modelnet"]:is([data-stage="sense"], [data-stage="drift"], [data-stage="schedule"], [data-stage="upload"], [data-stage="distill"])[data-drift="motion"] .camera-image { filter: blur(.7px) contrast(.94); transform: scale(1.02) translateX(7px); }
.demo-shell[data-scene="modelnet"]:is([data-stage="sense"], [data-stage="drift"], [data-stage="schedule"], [data-stage="upload"], [data-stage="distill"])[data-drift="motion"] .camera-image::before, .demo-shell[data-scene="modelnet"]:is([data-stage="sense"], [data-stage="drift"], [data-stage="schedule"], [data-stage="upload"], [data-stage="distill"])[data-drift="motion"] .camera-image::after { content: ""; position: absolute; inset: 0; }
.demo-shell[data-scene="modelnet"]:is([data-stage="sense"], [data-stage="drift"], [data-stage="schedule"], [data-stage="upload"], [data-stage="distill"])[data-drift="motion"] .camera-image::before { opacity: .12; filter: blur(2px); background-image: var(--frame-image), var(--frame-image), var(--frame-image); background-position: calc(50% - 18px) center, calc(50% - 34px) center, calc(50% - 50px) center; background-size: contain; background-repeat: no-repeat; }
.demo-shell[data-scene="modelnet"]:is([data-stage="sense"], [data-stage="drift"], [data-stage="schedule"], [data-stage="upload"], [data-stage="distill"])[data-drift="motion"] .camera-image::after { opacity: .27; filter: blur(1.1px); background: var(--frame-image) center/contain no-repeat; transform: translateX(-11px); }
.demo-shell[data-drift="noise"]:is([data-stage="sense"], [data-stage="drift"], [data-stage="schedule"], [data-stage="upload"], [data-stage="distill"]) .camera-image { filter: brightness(.88) saturate(.24); }
.demo-shell[data-drift="noise"]:is([data-stage="sense"], [data-stage="drift"], [data-stage="schedule"], [data-stage="upload"], [data-stage="distill"]) .camera-image::before { content: ""; position: absolute; inset: -14%; opacity: .9; will-change: transform, opacity; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='snow'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.5' intercept='-.75'/%3E%3CfeFuncG type='linear' slope='2.5' intercept='-.75'/%3E%3CfeFuncB type='linear' slope='2.5' intercept='-.75'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23snow)'/%3E%3C/svg%3E") center/120px 120px; animation: tv-snow-shift .1s steps(2, end) infinite, tv-snow-flicker .08s steps(2, end) infinite; }
.demo-shell[data-drift="noise"]:is([data-stage="sense"], [data-stage="drift"], [data-stage="schedule"], [data-stage="upload"], [data-stage="distill"]) .camera-image::after { content: ""; position: absolute; inset: 0; opacity: .72; mix-blend-mode: screen; background: repeating-linear-gradient(0deg, rgba(210,218,255,.15) 0 1px, transparent 1px 4px), rgba(65,76,205,.32); background-position: 0 0; animation: tv-scan-roll .42s linear infinite; }
@keyframes tv-snow-shift { 0% { transform: translate3d(-5%, -7%, 0); } 25% { transform: translate3d(6%, -2%, 0); } 50% { transform: translate3d(-2%, 6%, 0); } 75% { transform: translate3d(5%, 3%, 0); } 100% { transform: translate3d(-4%, -5%, 0); } }
@keyframes tv-snow-flicker { 0%, 100% { opacity: .86; } 50% { opacity: 1; } }
@keyframes tv-scan-roll { from { background-position: 0 0; } to { background-position: 0 10px; } }

.telemetry { grid-area: telemetry; display: flex; flex-direction: column; min-width: 0; }
.stage-header { min-height: 96px; display: flex; align-items: center; gap: 18px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.stage-header > span { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--cyan); color: var(--cyan); font: 700 14px/1 monospace; }
.stage-header p { margin: 0 0 5px; color: var(--muted); font: 9px/1 monospace; }
.stage-header h3 { margin: 0; font-size: 21px; }
.stage-header.is-changing { animation: stage-panel-flash .72s ease-out; }
.stage-header.is-changing > span { animation: stage-code-pop .72s cubic-bezier(.2,.8,.2,1); }
.stage-header.is-changing h3 { animation: stage-title-in .72s cubic-bezier(.2,.8,.2,1); }
@keyframes stage-panel-flash { 0% { background: rgba(75,211,231,.2); box-shadow: inset 4px 0 0 var(--cyan); } 100% { background: transparent; box-shadow: inset 0 0 0 transparent; } }
@keyframes stage-code-pop { 0% { opacity: .2; transform: scale(.72); } 55% { transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
@keyframes stage-title-in { 0% { opacity: 0; transform: translateX(18px); } 100% { opacity: 1; transform: translateX(0); } }
.prediction-block { padding: 22px; border-bottom: 1px solid var(--line); }
.metric-label { color: var(--muted); font: 9px/1 monospace; }
.prediction-block > strong { display: block; margin-top: 14px; font-size: 40px; }
.prediction-block > span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.confidence-row { display: flex; justify-content: space-between; margin-top: 18px; font: 9px/1 monospace; }
.meter { height: 3px; margin-top: 8px; background: var(--line); }
.meter span { display: block; height: 100%; background: var(--green); transition: width .3s, background .3s; }
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.decision-grid > div { min-width: 0; min-height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px; border-right: 1px solid var(--line); text-align: center; }
.decision-grid > div:last-child { border-right: 0; }
.decision-grid span { color: var(--cyan); font: 700 11px/1 monospace; }
.decision-grid strong { margin: 8px 0 4px; font: 700 20px/1 monospace; }
.decision-grid small { color: var(--muted); font-size: 9px; }
.view-selection { width: 100%; min-height: 23px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.view-chip { max-width: 52px; min-height: 21px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; padding: 0 5px; border: 1px solid rgba(75,211,231,.55); color: var(--white); white-space: nowrap; font: normal 700 9px/1 monospace; opacity: 1; transform: scale(1); transition: max-width .42s cubic-bezier(.2,.8,.2,1), padding .42s cubic-bezier(.2,.8,.2,1), opacity .28s ease, transform .42s cubic-bezier(.2,.8,.2,1), border-color .28s ease; }
.view-chip:not(.is-active) { max-width: 0; padding-left: 0; padding-right: 0; border-color: transparent; opacity: 0; transform: scale(.55); }
.telemetry-list { display: grid; grid-template-columns: .9fr 1.05fr 1.05fr 1.5fr; margin: 0; border-bottom: 1px solid var(--line); }
.telemetry-list div { min-width: 0; min-height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 12px 14px; border-right: 1px solid var(--line); text-align: center; }
.telemetry-list div:last-child { border-right: 0; }
.telemetry-list dt { color: var(--white); font: 700 10px/1.15 sans-serif; }
.telemetry-list dt small { display: block; margin-top: 5px; color: var(--muted); font: 8px/1 monospace; }
.telemetry-list dd { max-width: 100%; margin: 0; overflow-wrap: anywhere; font: 700 12px/1.25 monospace; }
.causal-chain { position: relative; min-height: 60px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; overflow: hidden; border-bottom: 1px solid var(--line); background: #090c0e; list-style: none; }
.causal-chain li { position: relative; min-width: 0; display: grid; place-items: center; padding: 11px 13px; color: #667078; text-align: center; font: 700 9px/1.35 monospace; transition: color .35s ease, background .35s ease; }
.causal-chain li:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -6px; color: #48545c; transition: color .35s ease, transform .35s ease; }
.causal-chain li.is-active { color: var(--white); background: rgba(75,211,231,.07); }
.causal-chain li.is-active.has-active-next::after { color: var(--cyan); }
.causal-chain::before { content: ""; position: absolute; z-index: 4; top: 0; bottom: 0; left: -24%; width: 24%; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent 0%, rgba(75,211,231,.12) 22%, rgba(170,244,255,.72) 50%, rgba(75,211,231,.12) 78%, transparent 100%); filter: blur(2px); box-shadow: 0 0 24px rgba(75,211,231,.38); }
.causal-chain.is-sweeping-first::before { animation: causal-sweep-first .68s cubic-bezier(.25,.65,.25,1) both; }
.causal-chain.is-sweeping-rest::before { animation: causal-sweep-rest 1.18s cubic-bezier(.25,.65,.25,1) both; }
.causal-chain li.is-entering { animation: causal-step-in .48s ease-out both; animation-delay: var(--causal-delay, 0ms); }
.causal-chain li.is-entering.has-active-next:not(:last-child)::after { animation: causal-arrow-in .34s ease-out both; animation-delay: calc(var(--causal-delay, 0ms) + 100ms); }
@keyframes causal-sweep-first { 0% { left: -24%; opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { left: 18%; opacity: 0; } }
@keyframes causal-sweep-rest { 0% { left: 18%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes causal-step-in { 0% { opacity: .25; color: #667078; background: transparent; box-shadow: inset 0 0 0 1px transparent; } 58% { opacity: 1; color: var(--cyan); background: rgba(75,211,231,.18); box-shadow: inset 0 0 0 1px rgba(75,211,231,.72); } 100% { color: var(--white); background: rgba(75,211,231,.07); box-shadow: inset 0 0 0 0 transparent; } }
@keyframes causal-arrow-in { 0% { opacity: 0; color: #48545c; transform: translateX(-7px); } 100% { opacity: 1; color: var(--cyan); transform: translateX(0); } }
.event-log { height: 132px; min-height: 132px; max-height: 132px; overflow-y: auto; scrollbar-color: var(--line-strong) #07090a; scrollbar-width: thin; padding: 12px 18px; background: #07090a; }
.event-log p { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin: 0 0 7px; padding-left: 7px; border-left: 2px solid transparent; color: #c7cdd0; font: 10px/1.3 monospace; }
.event-log .log-index { color: var(--cyan); font-weight: 700; }
.event-log p.log-info { border-left-color: rgba(75,211,231,.75); }
.event-log p.log-warning { border-left-color: var(--amber); color: #f0d39a; }
.event-log p.log-warning .log-index { color: var(--amber); }
.event-log p.log-success { border-left-color: var(--green); color: #bce7ca; }
.event-log p.log-success .log-index { color: var(--green); }
.event-log p.log-neutral { border-left-color: var(--line-strong); }
.event-log p.is-new { animation: log-entry-in .62s cubic-bezier(.2,.8,.2,1); }
@keyframes log-entry-in { 0% { opacity: 0; color: var(--cyan); background: rgba(75,211,231,.2); transform: translateX(18px); } 45% { opacity: 1; background: rgba(75,211,231,.1); } 100% { color: #c7cdd0; background: transparent; transform: translateX(0); } }

.timeline-panel { grid-area: timeline; position: relative; min-height: 80px; padding: 24px 20px 8px; border-top: 1px solid var(--line-strong); }
.timeline-labels { position: absolute; left: 20px; right: 20px; top: 4px; height: 20px; }
.timeline-stage { position: absolute; min-width: 34px; height: 18px; padding: 0 3px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font: 8px/1 monospace; transform: translateX(-50%); transition: color .24s ease, background .24s ease, transform .24s ease; }
.timeline-stage:hover, .timeline-stage:focus-visible { color: var(--white); background: rgba(255,255,255,.08); outline: none; }
.timeline-stage.is-active { color: var(--black); background: var(--cyan); font-weight: 700; transform: translateX(-50%) translateY(-2px); }
input[type="range"] { width: 100%; height: 20px; margin: 0; background: transparent; accent-color: var(--cyan); cursor: pointer; }
.timeline-ticks { position: relative; height: 12px; color: var(--muted); font: 8px/1 monospace; }
.timeline-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.demo-controls { grid-area: controls; min-height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); }
.control-buttons { display: flex; gap: 8px; }
.icon-command { min-height: 38px; display: inline-flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--white); cursor: pointer; }
.icon-command:hover { border-color: var(--white); }
.icon-command.primary { background: var(--white); color: var(--black); }
.icon-command span { font-size: 13px; }
.icon-command b { font-size: 11px; }
.time-display { display: flex; align-items: baseline; gap: 7px; font-family: monospace; }
.time-display strong { font-size: 24px; color: var(--cyan); }
.time-display span { color: var(--muted); font-size: 9px; }
.icon-command.export { justify-self: end; }

.adapter-module { margin-top: 100px; padding: 54px; overflow: hidden; border-radius: 8px; background: #08090a; color: #fff; }
.adapter-module .section-lead { max-width: 1180px; margin-bottom: 44px; color: #c8ced2; }
.knowledge-flow { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.18fr) 64px minmax(0, 1fr); align-items: stretch; }
.knowledge-stage { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 18px; background: #0c1012; border-top: 2px solid var(--cyan); border-bottom: 1px solid #313a3f; }
.teacher-stage { background: #0b1316; }
.update-stage { background: #0d1412; border-top-color: var(--green); }
.knowledge-stage-head { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 12px; }
.knowledge-stage-head > span { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #4a565d; color: #aab2b7; font: 700 9px/1 monospace; }
.knowledge-stage-head small { display: block; margin-top: 2px; color: var(--cyan); font: 700 9px/1.2 monospace; }
.update-stage .knowledge-stage-head small { color: var(--green); }
.knowledge-stage-head h3 { margin: 8px 0 0; font-size: 16px; line-height: 1.3; }
.knowledge-stage-head b { color: #dce1e4; font: 700 11px/1.3 monospace; white-space: nowrap; }
.knowledge-stage > p { margin: auto 0 0; padding-top: 16px; color: #aeb6bb; font-size: 11px; line-height: 1.65; }
.drift-sample-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.drift-sample-grid figure, .diagnosis-visual, .recovery-compare figure { position: relative; margin: 0; overflow: hidden; background: #050607; }
.drift-sample-grid figure { aspect-ratio: 16 / 9; }
.drift-sample-grid img, .diagnosis-visual img, .recovery-compare img { display: block; width: 100%; height: 100%; object-fit: cover; }
.drift-sample-grid figcaption, .recovery-compare figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; background: rgba(0,0,0,.74); color: #dce2e5; font: 700 8px/1 monospace; }
.diagnosis-visual { aspect-ratio: 16 / 9; border: 1px solid #285660; }
.diagnosis-key { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; font: 700 8px/1.25 monospace; }
.diagnosis-key span { min-height: 28px; display: grid; place-items: center; padding: 5px; border-right: 1px solid #2c3439; background: #090c0e; text-align: center; }
.diagnosis-key span:last-child { border-right: 0; }
.diagnosis-key .problem { color: var(--red); }
.diagnosis-key .light { color: var(--cyan); }
.diagnosis-key .feature { color: var(--green); }
.recovery-compare { display: grid; grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr); align-items: center; }
.recovery-compare figure { aspect-ratio: 4 / 3; }
.recovery-compare > span { color: var(--green); font-size: 18px; text-align: center; }
.recovery-compare .before { box-shadow: inset 0 0 0 1px rgba(255,109,101,.55); }
.recovery-compare .after { box-shadow: inset 0 0 0 1px rgba(103,211,145,.65); }
.recovery-compare .before figcaption { color: var(--red); }
.recovery-compare .after figcaption { color: var(--green); }
.update-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; background: #090c0a; color: #c4d7cb; font: 700 8px/1.25 monospace; text-align: center; }
.update-facts span { min-height: 28px; display: grid; place-items: center; padding: 5px; border-right: 1px solid #2c3830; }
.update-facts span:last-child { border-right: 0; }
.knowledge-connector { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--cyan); text-align: center; }
.knowledge-connector::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #285b64; }
.knowledge-connector::after { content: ""; position: absolute; top: calc(50% - 3px); left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px rgba(75,211,231,.7); animation: knowledge-flow-pulse 2.4s linear infinite; }
.knowledge-connector span { position: relative; z-index: 1; max-width: 74px; margin-bottom: 18px; padding: 5px 4px; background: #08090a; color: #9ca9ae; font: 700 8px/1.4 monospace; }
.knowledge-connector b { position: relative; z-index: 1; display: grid; place-items: center; width: 22px; height: 22px; background: #08090a; font-size: 18px; }
@keyframes knowledge-flow-pulse { from { transform: translateX(0); } to { transform: translateX(52px); } }
.adapter-statement { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; color: #cbd1d4; font-size: 13px; }
.adapter-statement span { flex: 1; height: 1px; background: var(--line-strong); }

.evidence-section {
  background: transparent;
  color: #050607;
  border-top: 0;
}
.evidence-section .eyebrow { color: #050607; }
.evidence-section .legend { color: #596168; }
.legend { display: flex; gap: 18px; color: var(--muted); font-size: 10px; }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { width: 7px; height: 7px; border-radius: 50%; }
.measured-dot { background: var(--green); }.sim-dot { background: var(--cyan); }
.evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.evidence-item { min-height: 0; display: flex; flex-direction: column; padding: 28px; background: #050607; color: #fff; border: 0; border-radius: 8px; box-shadow: 0 18px 42px rgba(0,0,0,.2); }
.evidence-item header, .evidence-item footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.evidence-item header > span { color: #90989e; font: 9px/1 monospace; }
.evidence-item h3 { margin: 24px 0 20px; font-size: 23px; }
.evidence-item footer { margin-top: 14px; color: #a1a8ad; font-size: 10px; }
.evidence-visual { position: relative; width: 100%; height: 170px; margin: 22px 0 0; overflow: hidden; background: #0a0d0f; }
.evidence-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.evidence-visual figcaption { position: absolute; left: 0; right: 0; bottom: 0; min-height: 34px; display: flex; align-items: center; padding: 8px 11px; background: rgba(0,0,0,.74); color: #c9d0d4; font: 700 8px/1.35 monospace; }
.recovery-gallery { display: grid; gap: 8px; margin-top: 22px; }
.recovery-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 22px minmax(0, 1fr); align-items: center; gap: 8px; }
.recovery-row > strong { color: #aab2b7; font: 700 8px/1.25 monospace; }
.recovery-row > span { color: var(--green); font-size: 19px; text-align: center; }
.recovery-row figure { position: relative; height: 82px; margin: 0; overflow: hidden; background: #101416; }
.recovery-row figure::before { content: ""; position: absolute; z-index: 2; inset: 0; border: 1px solid rgba(255,255,255,.15); pointer-events: none; }
.recovery-row img { display: block; width: 100%; height: 100%; object-fit: cover; }
.recovery-row figcaption { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: 6px 7px; background: rgba(0,0,0,.78); font: 700 7px/1.2 monospace; }
.recovery-row .before figcaption { color: var(--red); }
.recovery-row .after figcaption { color: var(--green); }
.modelnet-drift img { filter: brightness(.34) contrast(1.25) saturate(.3) blur(.5px); }
.modelnet-drift::after { content: ""; position: absolute; z-index: 3; inset: -12%; opacity: .62; mix-blend-mode: screen; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' seed='19'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") center/100px 100px; }
.visual-disclaimer { margin: 9px 0 0; color: #929ba0; font-size: 9px; line-height: 1.5; }
.bar-chart { display: grid; gap: 14px; }
.chart-group { display: grid; grid-template-columns: 82px 1fr 1fr; gap: 10px; align-items: center; }
.chart-group > span { color: #a1a8ad; font-size: 11px; }
.chart-group > div { position: relative; height: 28px; background: #24282b; }
.chart-group i { display: block; height: 100%; background: #667079; }
.chart-group .ours i { background: var(--blue); }
.chart-group b { position: absolute; right: 7px; top: 7px; font: 700 10px/1 monospace; }
.accuracy-card footer span:first-child::before, .accuracy-card footer span:last-child::before { content:""; display:inline-block; width:8px; height:8px; margin-right:7px; background:#667079; }
.accuracy-card footer span:last-child::before { background: var(--blue); }
.metric-summary { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.hero-number { display: block; margin: 0; color: var(--green); font-size: 56px; line-height: 1; }
.metric-summary p { margin: 0 0 5px; color: #a1a8ad; font-size: 10px; text-align: right; }
.threshold { position: relative; height: 7px; margin-top: 20px; background: #303538; }
.threshold span { display: block; height: 100%; background: var(--green); }
.threshold i { position: absolute; top: -6px; width: 1px; height: 19px; background: var(--amber); }
.method-key { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; background: #30363a; }
.method-key span { min-height: 30px; display: grid; place-items: center; background: #0b0f11; color: #c7cdd1; font: 700 9px/1 monospace; }
.split-metric { display: grid; grid-template-columns: repeat(2, 1fr); }
.split-metric > div { padding-right: 20px; border-right: 1px solid #34393c; }
.split-metric > div:last-child { padding-left: 24px; border-right: 0; }
.split-metric strong { display: block; font-size: 48px; color: var(--green); }
.split-metric span { display: block; margin-top: 10px; color: var(--muted); font-size: 10px; }
.latency-stack { display: flex; height: 36px; overflow: hidden; }
.latency-stack span { display: grid; place-items: center; background: var(--blue); font: 700 10px/1 monospace; }
.latency-stack span:nth-child(2) { background: var(--cyan); color: var(--black); }
.latency-stack span:nth-child(3) { background: var(--amber); }
.latency-range { display: block; margin-top: 20px; font-size: 40px; }
.latency-card > p { color: #a1a8ad; font-size: 11px; line-height: 1.6; }

.closing-section { max-width: none; padding: 112px 0 72px; background: #000; color: #fff; border-top: 0; transition: none; }
.closing-copy, .team-band { max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: 40px; padding-right: 40px; }
.closing-section .eyebrow,
body[data-page-theme="light"] main > .closing-section,
body[data-page-theme="dark"] main > .closing-section,
body[data-page-theme="light"] main > .closing-section .eyebrow,
body[data-page-theme="dark"] main > .closing-section .eyebrow { color: #fff; }
.closing-copy h2 { font-size: 58px; }
.closing-copy > p:last-child,
body[data-page-theme="light"] .closing-copy > p:last-child,
body[data-page-theme="dark"] .closing-copy > p:last-child { max-width: 760px; margin: 26px 0 54px; color: #b9b9b9; font-size: 17px; line-height: 1.6; }
.team-band { display: grid; grid-template-columns: 1fr 1.5fr .8fr; gap: 54px; padding-top: 26px; padding-bottom: 26px; }
.team-band > div, .team-band > a { min-height: 100px; padding: 10px 0; }
.team-band small { display: block; color: #a5a5a5; font: 9px/1 monospace; }
.team-band strong { display: block; margin-top: 18px; font-size: 15px; line-height: 1.6; }
.school-identity { display: flex; align-items: center; gap: 16px; transform: translateY(-12px); }
.school-identity:hover { opacity: .78; }
.school-identity:focus-visible { outline: 1px solid #fff; outline-offset: 6px; }
.school-identity img { width: 74px; height: 74px; flex: 0 0 auto; object-fit: cover; border-radius: 50%; background: #fff; }
.school-identity > span { display: grid; align-content: center; }
.school-identity strong { margin-top: 0; }
.school-identity em { margin-top: 5px; color: #9b9b9b; font: normal 8px/1.2 monospace; }
.footer-github { max-width: calc(var(--max) - 80px); min-height: 124px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; margin: 54px auto 0; padding: 22px 28px; border: 1px solid #555; transition: background .2s, color .2s; }
.footer-github:hover { background: #fff; color: #000; }
.footer-github svg { width: 54px; height: 54px; }
.footer-github span { display: grid; gap: 8px; }
.footer-github small { color: #9e9e9e; font-size: 10px; }
.footer-github strong { font-size: 23px; }
.footer-github > b { font-size: 28px; font-weight: 400; }

@media (min-width: 1600px) and (min-height: 800px) {
  :root {
    --hero-title-size: 7rem;
    --hero-subtitle-size: 1.75rem;
    --hero-command-height: 3.5rem;
    --hero-command-font: .9375rem;
    --hero-github-icon: 1.875rem;
    --hero-github-small: .625rem;
    --hero-github-strong: .875rem;
    --hero-partner-seu: 6.25rem;
    --hero-partner-inspur: 10.75rem;
    --hero-partner-gap: 1.5rem;
  }
}

@media (min-width: 3000px) and (min-height: 1300px),
       (min-width: 1600px) and (min-height: 760px) and (min-resolution: 1.5dppx) {
  :root {
    --hero-title-size: 10rem;
    --hero-subtitle-size: 2.25rem;
    --hero-command-height: 4.25rem;
    --hero-command-font: 1.125rem;
    --hero-github-icon: 2.25rem;
    --hero-github-small: .8125rem;
    --hero-github-strong: 1rem;
    --hero-action-gap: 1.25rem;
    --hero-partner-seu: 8rem;
    --hero-partner-inspur: 13rem;
    --hero-partner-gap: 2rem;
  }
  .site-header { height: 116px; padding: 0 72px 18px; }
  .brand { font-size: 2rem; }
  .menu-toggle { min-width: 132px; height: 56px; gap: 18px; }
  .menu-toggle b { font-size: 1.25rem; }
  .menu-lines { width: 32px; gap: 7px; }
  .hero { min-height: 100svh; }
  .hero-content { max-width: none; margin: 0; padding: 15vh 48vw 190px 12vw; }
  .hero-subtitle { margin-top: 34px; margin-bottom: 44px; }
  .hero-partners { left: 12vw; bottom: 40px; }
}

@media (max-width: 1250px) {
  :root {
    --hero-title-size: 5.125rem;
    --hero-subtitle-size: 1.375rem;
    --hero-partner-seu: 4.375rem;
    --hero-partner-inspur: 7.625rem;
    --hero-partner-gap: .875rem;
  }
  .hero-content { padding-right: 32%; }
  .hero-partners { bottom: 150px; }
}

@media (max-width: 1050px) {
  :root {
    --hero-title-size: 4.5rem;
    --hero-subtitle-size: 1.25rem;
    --hero-command-height: 2.875rem;
    --hero-command-font: .75rem;
    --hero-github-icon: 1.375rem;
    --hero-github-strong: .6875rem;
    --hero-partner-seu: 4rem;
    --hero-partner-inspur: 6.875rem;
    --hero-partner-gap: .75rem;
  }
  .site-header { grid-template-columns: 1fr auto 1fr; }
  .hero-content { padding-right: 25%; }.hero-partners { bottom: 146px; }
  .demo-shell { grid-template-columns: 1fr; grid-template-areas: "camera" "telemetry" "timeline" "controls"; }
  .camera-zone { border-right: 0; }.telemetry { border-top: 1px solid var(--line-strong); }.event-log { max-height: 140px; }
  .knowledge-flow { grid-template-columns: 1fr; }
  .knowledge-connector { min-height: 78px; }
  .knowledge-connector::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .knowledge-connector::after { top: 2px; left: calc(50% - 3px); animation-name: knowledge-flow-pulse-vertical; }
  .knowledge-connector span { margin: 0 42px 0 0; }
  .knowledge-connector b { position: absolute; left: calc(50% - 11px); top: calc(50% - 11px); transform: rotate(90deg); }
  @keyframes knowledge-flow-pulse-vertical { from { transform: translateY(0); } to { transform: translateY(68px); } }
  .team-band { grid-template-columns: 1fr; gap: 12px; }.team-band > div { padding-left: 0; }
}

@media (max-width: 720px) {
  :root {
    --hero-gutter: 20px;
    --hero-title-size: 3.4375rem;
    --hero-subtitle-size: 1.125rem;
    --hero-command-height: 2.875rem;
    --hero-command-font: .75rem;
    --hero-github-icon: 1.375rem;
    --hero-github-small: .5rem;
    --hero-github-strong: .6875rem;
    --hero-action-gap: .625rem;
    --hero-partner-seu: 2.875rem;
    --hero-partner-inspur: 5.375rem;
    --hero-partner-gap: .75rem;
  }
  .site-header { height: 68px; padding: 0 16px 10px; }.brand { font-size: 18px; }.menu-toggle { min-width: 48px; }.menu-toggle b { display: none; }
  .site-menu { padding: 22px 20px 26px; }.site-menu nav span { font-size: 23px; }
  .hero { min-height: 100svh; }.hero-media { background-position: 62% center; }.hero-shade { background: linear-gradient(180deg, rgba(0,0,0,.32) 0%, rgba(0,0,0,.54) 50%, rgba(0,0,0,.86) 100%); box-shadow: none; }
  .hero-content { padding: 15vh var(--hero-gutter) 190px; }.hero-partners { bottom: 44px; }.hero-actions { align-items: flex-start; flex-direction: column; }
  .section { padding: 76px 16px; }.section h2 { font-size: 32px; }.section-heading { align-items: flex-start; flex-direction: column; }.section-lead { font-size: 15px; }.film-frame { min-height: 0; }
  .replay-note { font-size: 15px; }.mode-row { align-items: flex-start; flex-direction: column; padding: 14px 0; gap: 10px; }
  .modelnet-case-picker { width: 100%; min-width: 0; align-items: flex-start; flex-direction: column; }.modelnet-evidence-note { flex-direction: column; gap: 5px; }
  .camera-grid { min-height: 450px; grid-template-columns: 1fr; grid-template-rows: repeat(4, 1fr); }.camera-frame { min-height: 150px; }
  .demo-shell { min-height: 0; }.demo-controls { grid-template-columns: 1fr auto; gap: 14px; }.time-display { order: -1; grid-column: 1/-1; justify-self: center; }.icon-command.export { justify-self: end; }
  .decision-grid strong { font-size: 14px; }.prediction-block > strong { font-size: 28px; }
  .telemetry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }.telemetry-list div:nth-child(2) { border-right: 0; }.telemetry-list div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .causal-chain { grid-template-columns: repeat(5, minmax(82px, 1fr)); overflow-x: auto; }
  .adapter-module { margin-top: 74px; padding: 34px 18px; }.adapter-statement { align-items: flex-start; flex-direction: column; }.adapter-statement span { width: 100%; flex: none; }
  .knowledge-stage { padding: 14px; }.knowledge-stage-head { min-height: 72px; }.knowledge-stage-head h3 { font-size: 15px; }.knowledge-stage-head b { font-size: 9px; }.diagnosis-key, .update-facts { font-size: 7px; }
  .evidence-grid { grid-template-columns: 1fr; }.evidence-item { min-height: 0; padding: 20px; }.recovery-row { grid-template-columns: 1fr 18px 1fr; }.recovery-row > strong { grid-column: 1 / -1; }.chart-group { grid-template-columns: 70px 1fr; }.chart-group > div:last-child { grid-column: 2; }.metric-summary { align-items: flex-start; flex-direction: column; }.metric-summary p { text-align: left; }.split-metric strong { font-size: 36px; }
  .closing-section { padding-top: 76px; }.closing-copy, .team-band { padding-left: 16px; padding-right: 16px; }.closing-copy h2 { font-size: 38px; }.school-identity { transform: none; }.footer-github { margin: 42px 16px 0; min-height: 104px; grid-template-columns: auto 1fr; padding: 18px; }.footer-github svg { width: 38px; height: 38px; }.footer-github strong { font-size: 17px; }.footer-github > b { display: none; }
}

@media (max-width: 420px) {
  :root {
    --hero-gutter: 16px;
    --hero-title-size: 2.75rem;
    --hero-subtitle-size: 1rem;
    --hero-partner-seu: 2.5rem;
    --hero-partner-inspur: 4.75rem;
  }
  .hero-content { padding-top: 13vh; }
  .primary-command, .github-hero-link { max-width: 100%; }
}

@media (min-width: 721px) and (max-height: 760px) {
  :root {
    --hero-title-size: 4.5rem;
    --hero-subtitle-size: 1.25rem;
    --hero-command-height: 2.75rem;
    --hero-partner-seu: 3.75rem;
    --hero-partner-inspur: 6.75rem;
  }
  .hero-content { padding-top: 16vh; padding-bottom: 100px; }
  .hero-subtitle { margin-top: 18px; margin-bottom: 24px; }
  .hero-partners { bottom: 14px; }
}

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