:root {
  color-scheme: dark;
  --bg: #030303;
  --bg-panel: #0B0B0B;
  --bg-panel-2: #141414;
  --bg-deep: #080808;
  --border: #222222;
  --border-strong: #333333;
  --accent: #EE8A4E;
  --accent-dark: #C0602A;
  --text: #EDEDED;
  --text-muted: #8C8C8C;
  --text-faint: #5E5E5E;
  --success: #5BC28A;
  --warn: #E3B55A;
  --error: #E5655B;
  --on-accent: #FFFFFF;
  --title-hi: #F2F2F2;
  --title-lo: #9A9A9A;
  --badge-from: #B9A8F0;
  --badge-to: #9FDCDF;
  --metal-hi: #1C1C1C;
  --metal-lo: #050505;
  --edge: #3A3A3A;
  --edge-dim: #202020;
  --engrave: #4A4A4A;
  --hole: #000000;
  --groove: #000000;
  --shade: rgba(0, 0, 0, .42);
  --sheen: rgba(255, 255, 255, .07);
  --brush: rgba(255, 255, 255, .024);
  --hole-rim: rgba(255, 255, 255, .05);
  --engrave-lip: rgba(255, 255, 255, .035);
  --shoulder: rgba(255, 255, 255, .08);
  --shoulder-hot: rgba(255, 255, 255, .22);
  --beam-1: rgba(255, 255, 255, .07);
  --beam-2: rgba(255, 255, 255, .022);
  --spot: rgba(255, 255, 255, .045);
  --floor: rgba(255, 255, 255, .028);
  --shadow-core: rgba(0, 0, 0, .96);
  --drop: rgba(0, 0, 0, .88);
  --accent-border: rgba(238, 138, 78, .55);
  --accent-haze: rgba(238, 138, 78, .06);
  --accent-glow: rgba(238, 138, 78, .26);
  --accent-glow-hot: rgba(238, 138, 78, .62);
  --accent-line: rgba(238, 138, 78, .82);
  --glass-hi: rgba(20, 20, 20, .88);
  --glass-lo: rgba(8, 8, 8, .94);
  --hairline-hi: rgba(255, 255, 255, .05);
  --chip-bg: rgba(255, 255, 255, .012);
  --code-str: #B4B4B4;
  --code-punc: #9A9A9A;
  --code-ln: #8C8C8C;
  --clear: transparent;
  --font-display: "Iowan Old Style", "Charter", "Palatino Linotype", Georgia, "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-nav: 14px;
  --text-base: 15px;
  --text-lg: 18px;
  --text-h3: 22px;
  --text-h2: clamp(26px, 3vw, 38px);
  --text-h1: clamp(34px, 3.4vw, 48px);
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-strong: 600;
  --r-small: 4px;
  --r-detail: 6px;
  --r-card: 20px;
  --r-panel: 28px;
  --r-pill: 999px;
  --r-round: 50%;
  --gutter: 48px;
  --content-width: 1200px;
  --reading-width: 800px;
  --header-width: 1280px;
  --header-height: 72px;
  --section-space: 120px;
  --ease: cubic-bezier(.2, .6, .3, 1);
  --speed: .2s;
  --focus-ring: 2px solid var(--accent);
  --panel-shadow: 0 30px 70px -40px var(--drop), inset 0 1px 0 var(--hairline-hi);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 24px; }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
svg, .dots i, .led { flex-shrink: 0; }
button svg, a svg { pointer-events: none; }
:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
button:focus-visible, a:focus-visible { border-radius: var(--r-detail); }
::selection { background: var(--accent); color: var(--bg); }
h1, h2, h3, h4 { font-weight: var(--weight-regular); text-wrap: balance; overflow-wrap: break-word; }
h1 { font-family: var(--font-display); font-size: var(--text-h1); line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: var(--text-h2); line-height: 1.25; letter-spacing: -.02em; }
h3 { font-size: var(--text-h3); line-height: 1.4; }
p { margin-block: 0 1.2em; }
strong { font-weight: var(--weight-medium); color: var(--text); }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg-deep);
  color: var(--text);
  font-size: var(--text-sm);
  line-height: 1.8;
  tab-size: 2;
}
pre code { overflow-wrap: normal; word-break: normal; white-space: pre; }
hr { border: 0; border-top: 1px solid var(--border); margin-block: 40px; }
.wrap {
  width: 100%;
  max-width: calc(var(--content-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading { max-width: calc(var(--reading-width) + var(--gutter) * 2); }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section-heading { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-heading h2 { margin-top: 0; }
.section-heading p, .muted { color: var(--text-muted); }
.accent { color: var(--accent); }
.keep { white-space: nowrap; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid > *, .wrap > *, .prose > *, .card > *, .panel > * { min-width: 0; }
.card, .panel {
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: var(--panel-shadow);
}
.panel { border-radius: var(--r-panel); padding: 40px; }
.card h3, .panel h3 { margin-top: 0; }
.card p, .panel p { color: var(--text-muted); }
.card-link { display: block; transition: border-color var(--speed), transform var(--speed); }
.card-link:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.prose { min-width: 0; overflow-wrap: break-word; }
.prose h2 { margin-top: 2.8em; scroll-margin-top: 32px; }
.prose h3 { margin-top: 2em; }
.prose p, .prose li { line-height: 1.9; }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: 4px; }
.prose :not(pre) > code { color: var(--text); font-size: .9em; }
.prose ul, .prose ol { padding-inline-start: 1.5em; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid var(--clear);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  letter-spacing: .01em;
  background: var(--clear);
  color: var(--text);
  text-align: center;
  transition: color var(--speed), border-color var(--speed), box-shadow .25s;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary {
  background: linear-gradient(180deg, var(--bg-panel-2), var(--bg-panel));
  color: var(--text);
  border-color: var(--accent-border);
  box-shadow: 0 0 0 4px var(--accent-haze), 0 10px 34px -8px var(--accent-glow), inset 0 1px 0 var(--hairline-hi);
}
.btn--primary svg { color: var(--accent); }
.btn--primary:hover, .btn--primary.is-hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-haze), 0 12px 40px -6px var(--accent-glow-hot), inset 0 1px 0 var(--hairline-hi);
}
.btn--secondary { border-color: var(--border); background: var(--bg-panel); color: var(--text); }
.btn--secondary:hover { border-color: var(--border-strong); }
.btn--ghost { color: var(--text-muted); padding-inline: 18px; }
.btn--ghost:hover { color: var(--text); }
.arr { display: inline-block; transition: transform var(--speed); }
.btn--ghost:hover .arr { transform: translateX(3px); }
.btn:active, .btn.is-active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { color: var(--text-muted); border-color: var(--border); box-shadow: none; cursor: not-allowed; }
.btn.is-focus { outline: var(--focus-ring); outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }
.topbar, #site-header { position: relative; z-index: 50; min-height: var(--header-height); }
.header-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: min(100%, calc(var(--header-width) + var(--gutter) * 2));
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--text);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand img { display: block; width: 28px; height: 28px; flex-shrink: 0; }
.nav { min-width: 0; margin-left: auto; }
.nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}
.nav a { display: block; padding-block: 12px; white-space: nowrap; color: var(--text-muted); font-size: var(--text-nav); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { font-weight: var(--weight-medium); }
.header-tools { position: relative; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  white-space: nowrap;
}
.lang:hover { color: var(--text); border-color: var(--border-strong); }
.caret { font-size: var(--text-xs); }
.lang-short { display: none; }
.language-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 6;
  width: 200px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: var(--panel-shadow);
}
.language-popover a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: var(--r-detail); }
.language-popover a:hover { background: var(--bg-panel-2); color: var(--text); }
.language-popover a[aria-current] { color: var(--accent); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--text);
}
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-drawer { display: none; }
.menu-veil { position: fixed; inset: var(--header-height) 0 0; z-index: 0; border: 0; background: var(--shade); color: var(--text); }
.static-language { position: relative; }
.static-language summary { list-style: none; cursor: pointer; }
.static-language summary::-webkit-details-marker { display: none; }
.static-menu { display: none; }
.site-footer {
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr .8fr; gap: 48px; }
.footer-grid > * { min-width: 0; }
.footer-brand p { max-width: 300px; margin-top: 20px; font-size: var(--text-nav); }
.footer-title { margin: 0 0 20px; color: var(--text); font-size: var(--text-nav); font-weight: var(--weight-medium); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list a { display: inline-block; padding-block: 6px; font-size: var(--text-nav); overflow-wrap: anywhere; }
.footer-list a:hover { color: var(--text); }
.copyright { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: var(--text-xs); }
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(16px); }
.reveal-ready .reveal { transition: opacity .65s var(--ease), transform .65s var(--ease); }
.page { position: relative; min-height: 100vh; }
.light { position: absolute; inset: 0 0 auto; height: 900px; overflow: hidden; pointer-events: none; z-index: 0; }
.beam {
  position: absolute; top: -180px; right: 40px; width: 320px; height: 1050px;
  transform-origin: 50% 0; transform: rotate(26deg);
  background: linear-gradient(180deg, var(--beam-1) 0%, var(--beam-2) 46%, var(--clear) 74%);
  color: var(--text); filter: blur(26px);
}
.spot {
  position: absolute; left: calc(50% + 40px); top: 70px; width: 640px; height: 460px;
  background: radial-gradient(ellipse at 56% 44%, var(--spot), var(--clear) 64%); color: var(--text);
}
.hero { position: relative; z-index: 1; height: 800px; overflow-x: clip; }
.hero-inner { position: relative; height: 100%; display: flex; align-items: center; }
.copy { position: relative; z-index: 2; width: 52%; padding-bottom: 48px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 30px; max-width: 100%; padding: 4px 14px 4px 15px;
  border-radius: var(--r-pill); border: 1px solid var(--clear);
  background: linear-gradient(var(--bg-panel), var(--bg-panel)) padding-box, linear-gradient(90deg, var(--badge-from), var(--badge-to)) border-box;
  color: var(--text); font-size: var(--text-sm); letter-spacing: .01em;
}
.badge .chev { flex-shrink: 0; color: var(--text-muted); font-size: var(--text-nav); line-height: 1; transition: transform var(--speed); }
.badge:hover .chev { transform: translateX(2px); }
.title { margin: 26px 0 0; font-family: var(--font-display); font-weight: var(--weight-regular); font-size: var(--text-h1); line-height: 1.1; letter-spacing: -.02em; color: var(--title-hi); }
.title span { display: block; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .title {
    background: linear-gradient(180deg, var(--title-hi) 0%, var(--title-lo) 100%);
    -webkit-background-clip: text; background-clip: text; color: var(--clear);
  }
}
.lede { margin: 24px 0 0; max-width: 520px; font-size: var(--text-base); line-height: 1.75; color: var(--text-muted); }
.lede .f { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--text); letter-spacing: .01em; }
.platforms { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px;
  max-width: 100%; padding: 6px 14px 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: var(--chip-bg); color: var(--text-muted);
  font-size: var(--text-sm); letter-spacing: .01em;
  transition: color var(--speed), border-color var(--speed);
}
.chip svg { width: 14px; height: 14px; display: block; }
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.device { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.stage { position: absolute; left: calc(50% + 423px); top: 194px; width: 0; height: 0; }
.shadow {
  position: absolute; left: -373px; top: 249px; width: 560px; height: 90px;
  border-radius: var(--r-round); transform: rotate(-30deg);
  background: radial-gradient(closest-side, var(--shadow-core), var(--clear)); color: var(--text); filter: blur(10px);
}
.shadow::before {
  content: ""; position: absolute; inset: -50px -110px; border-radius: var(--r-round);
  background: radial-gradient(closest-side, var(--floor), var(--clear)); color: var(--text); z-index: -1;
}
.rig { position: absolute; left: 0; top: 0; transform-origin: -103px 134px; animation: casing-hover 14s ease-in-out infinite; }
.scene {
  position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d;
  transform-origin: 0 0; transform: rotateX(54.7356deg) rotateZ(45deg);
}
.block { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--d); transform-style: preserve-3d; }
.block--out { --x: 80px; --y: 0px; --w: 150px; --d: 150px; --h: 110px; }
.block--route { --x: 0px; --y: 186px; --w: 230px; --d: 230px; --h: 180px; }
.block--in { --x: 80px; --y: 452px; --w: 150px; --d: 150px; --h: 110px; }
.face { position: absolute; left: 0; top: 0; transform-origin: 0 0; backface-visibility: hidden; color: var(--text); }
.face--top {
  width: var(--w); height: var(--d); transform: translateZ(var(--h));
  background: linear-gradient(225deg, var(--metal-hi) 0%, var(--metal-lo) 92%); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--edge);
}
.face--top::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 88% 12%, var(--sheen), var(--clear) 58%); color: var(--text);
}
.face--left {
  width: var(--w); height: var(--h); transform: translateY(var(--d)) translateZ(var(--h)) rotateX(-90deg);
  background: linear-gradient(var(--shade), var(--shade)), linear-gradient(180deg, var(--metal-hi), var(--metal-lo)); color: var(--text);
  box-shadow: inset 0 1px 0 var(--edge), inset 0 0 0 1px var(--edge-dim);
}
.face--left.brushed {
  background: linear-gradient(var(--shade), var(--shade)), repeating-linear-gradient(180deg, var(--brush) 0 1px, var(--clear) 1px 3px), linear-gradient(180deg, var(--metal-hi), var(--metal-lo)); color: var(--text);
}
.face--right {
  width: var(--d); height: var(--h);
  transform: translateX(var(--w)) translateY(var(--d)) translateZ(var(--h)) rotateZ(-90deg) rotateX(-90deg);
  background: radial-gradient(circle at 96% 0%, var(--sheen), var(--clear) 46%), linear-gradient(200deg, var(--metal-hi), var(--metal-lo) 82%); color: var(--text);
  box-shadow: inset 0 1px 0 var(--edge), inset 0 0 0 1px var(--edge-dim);
}
.face--right.brushed {
  background: radial-gradient(circle at 96% 0%, var(--sheen), var(--clear) 46%), repeating-linear-gradient(180deg, var(--brush) 0 1px, var(--clear) 1px 3px), linear-gradient(200deg, var(--metal-hi), var(--metal-lo) 82%); color: var(--text);
}
.face--right::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, var(--clear), var(--shoulder) 55%, var(--shoulder-hot)); color: var(--text);
}
.engrave {
  position: absolute; left: 18px; bottom: 64px;
  font-family: var(--font-mono); font-size: 10.5px; line-height: 1; letter-spacing: .32em;
  color: var(--engrave); text-shadow: 0 1px 0 var(--engrave-lip); white-space: nowrap;
}
.grille {
  position: absolute; inset: 14px; border-radius: var(--r-small);
  background: radial-gradient(circle, var(--hole) 0 1.1px, var(--hole-rim) 1.4px 1.8px, var(--clear) 2px) 0 0 / 7px 7px, var(--bg-deep); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--edge-dim), inset 0 2px 6px var(--drop);
}
.grille--top { inset: 30px; border-radius: var(--r-detail); }
.grille--low { top: auto; height: 44%; }
.seam { position: absolute; inset: 16px; border-radius: var(--r-small); box-shadow: inset 0 0 0 1px var(--edge-dim), 0 1px 0 var(--hairline-hi); }
.groove {
  position: absolute; left: 0; top: 0; width: 630px; height: 3px; transform-origin: 0 0;
  transform: translateX(231px) translateY(616px) translateZ(52px) rotateZ(-90deg) rotateX(-90deg);
  background: linear-gradient(180deg, var(--groove) 0 1px, var(--accent-line) 1px 2px, var(--edge-dim) 2px 3px); color: var(--text);
}
.pulse { position: absolute; left: 0; top: -2px; width: 7px; height: 7px; border-radius: var(--r-round); background: var(--accent); color: var(--bg); box-shadow: 0 0 8px 1px var(--accent-glow-hot); opacity: 0; animation: casing-travel 6s ease-in-out infinite; }
@keyframes casing-hover {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -6px, 0) rotate(-1.2deg); }
}
@keyframes casing-travel {
  0% { transform: translateX(0); opacity: 0; }
  10%, 88% { opacity: 1; }
  100% { transform: translateX(623px); opacity: 0; }
}
.console {
  position: absolute; right: var(--gutter); bottom: 40px; z-index: 3; width: 340px; margin: 0;
  border-radius: var(--r-card); border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--glass-hi), var(--glass-lo)); color: var(--text);
  box-shadow: 0 44px 80px -30px var(--drop), inset 0 1px 0 var(--hairline-hi);
  overflow: hidden; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.console__bar { display: flex; align-items: center; gap: 12px; min-height: 38px; padding-inline: 14px; border-bottom: 1px solid var(--border); }
.dots { display: flex; gap: 6px; }
.dots i { display: block; width: 9px; height: 9px; border-radius: var(--r-round); opacity: .62; }
.dots i:nth-child(1) { background: var(--error); color: var(--bg); }
.dots i:nth-child(2) { background: var(--warn); color: var(--bg); }
.dots i:nth-child(3) { background: var(--success); color: var(--bg); }
.console__title { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); letter-spacing: .02em; }
.console__tag { margin-left: auto; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--text-muted); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 2px 8px; }
.code { padding: 14px 18px 16px 0; font-family: var(--font-mono); font-size: var(--text-xs); line-height: 20px; counter-reset: ln; color: var(--code-punc); overflow-x: auto; }
.ln { display: block; position: relative; padding-left: 46px; white-space: pre; }
.ln::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; width: 28px; text-align: right; color: var(--code-ln); }
pre .k, .code .k { color: var(--accent); }
pre .s, .code .s { color: var(--code-str); }
.status { position: relative; z-index: 1; }
.status__bar {
  min-height: 56px; border-radius: var(--r-pill); border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-panel), var(--bg)); color: var(--text-muted);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 16px 30px; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .04em;
  box-shadow: inset 0 1px 0 var(--hairline-hi);
}
.status__bar span { display: inline-flex; align-items: center; gap: 10px; }
.status__bar b { font-weight: var(--weight-regular); color: var(--text-muted); }
.led { display: block; width: 6px; height: 6px; border-radius: var(--r-round); background: var(--success); color: var(--bg); opacity: .7; }
@media (max-width: 1360px) {
  .stage { left: calc(50% + 380px); transform: scale(.86); transform-origin: -103px 134px; }
}
@media (max-width: 1279px) {
  .header-shell { gap: 16px; }
  .header-shell > .nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-drawer {
    position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); z-index: 4;
    max-height: calc(100dvh - var(--header-height) - 16px); overflow-y: auto; overscroll-behavior: contain;
    padding: 16px; border: 1px solid var(--border); border-radius: var(--r-card);
    background: var(--bg-panel); color: var(--text);
  }
  .mobile-drawer:not([hidden]) { display: block; }
  .mobile-drawer ul { list-style: none; padding: 0; margin: 0; }
  .mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 12px 16px; color: var(--text-muted); }
  .mobile-drawer a:hover, .mobile-drawer a[aria-current] { color: var(--text); }
  .drawer-languages { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
  .static-menu { display: block; }
  .static-menu > summary { display: flex; list-style: none; cursor: pointer; }
  .static-menu .mobile-drawer { top: var(--header-height); }
}
@media (max-width: 1140px) {
  .stage { left: calc(50% + 330px); transform: scale(.72); }
  .console { width: 300px; }
}
@media (max-width: 960px) {
  :root { --gutter: 20px; --section-space: 80px; }
  .hero { height: auto; padding-top: 28px; padding-bottom: 32px; }
  .hero-inner { display: block; height: auto; }
  .copy { width: 100%; padding-bottom: 0; }
  .title { font-size: clamp(26px, 7.4vw, 30px); line-height: 1.14; }
  .lede { font-size: var(--text-nav); }
  .actions { margin-top: 28px; }
  .platforms { margin-top: 28px; }
  .device { position: relative; inset: auto; height: 290px; margin-top: 20px; }
  .stage { left: calc(50% + 62px); top: 48px; transform: scale(.6); transform-origin: 0 0; }
  .console { display: none; }
  .status__bar { padding-inline: 22px; }
  .status__bar span:nth-child(n+3) { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}
@media (max-width: 768px) {
  h1 { font-size: clamp(24px, 5vw, 30px); }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .card, .panel { padding: 24px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-space: 64px; }
  .tilt, [data-tilt] { transform: none !important; }
  .header-shell { gap: 8px; }
  .brand { gap: 8px; font-size: var(--text-sm); }
  .brand img { width: 26px; height: 26px; }
  .header-tools { margin-left: auto; gap: 6px; }
  .lang { min-height: 40px; padding-inline: 12px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .platforms { gap: 8px; }
  .chip { padding-inline: 10px; }
  .badge { font-size: var(--text-xs); }
  .status__bar { border-radius: var(--r-card); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .title span { white-space: normal; }
  pre { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
  .pulse { opacity: 1; transform: translateX(320px); }
}
 /*