:root {
  --bg: #FCFCFC;
  --bg-panel: #F4F4F4;
  --bg-panel-2: #EDEDED;
  --surface: #FFFFFF;
  --border: #E4E4E4;
  --border-strong: #D8D8D9;
  --accent: #3F7F86;
  --accent-dark: #2A5C62;
  --text: #141415;
  --text-muted: #6B6B6E;
  --text-faint: #9C9C9F;
  --ink: #141415;
  --ink-hover: #2A2A2C;
  --on-ink: #FCFCFC;
  --success: #2F8F5B;
  --warn: #B7791F;
  --error: #C2413A;
  --spec-mist: #F1F4F3;
  --spec-sea-pale: #A9CFCC;
  --spec-lilac: #C1B6DD;
  --spec-lilac-deep: #8D86B5;
  --spec-peach: #EFC3AA;
  --spec-gold: #DFCFA3;
  --spec-gold-deep: #B49F6C;
  --hl: rgba(255, 255, 255, 0.92);
  --hl-soft: rgba(255, 255, 255, 0.36);
  --rim: rgba(255, 255, 255, 0.34);
  --shade: rgba(14, 28, 32, 0.34);
  --shade-soft: rgba(14, 28, 32, 0.14);
  --ground: rgba(20, 20, 21, 0.17);
  --line-dash: rgba(20, 20, 21, 0.42);
  --halo: rgba(63, 127, 134, 0.16);
  --veil: rgba(20, 20, 21, 0.22);
  --clear: transparent;
  --shadow-xs: 0 1px 2px rgba(20, 20, 21, 0.05);
  --shadow-pill: 0 1px 2px rgba(20, 20, 21, 0.06), 0 4px 10px -4px rgba(20, 20, 21, 0.08);
  --shadow-stage: 0 1px 2px rgba(20, 20, 21, 0.04), 0 32px 64px -40px rgba(20, 20, 21, 0.2);
  --shadow-strip: 0 1px 2px rgba(20, 20, 21, 0.05), 0 12px 24px -18px rgba(20, 20, 21, 0.18);
  --shadow-ink: 0 1px 2px rgba(20, 20, 21, 0.18), 0 12px 24px -14px rgba(20, 20, 21, 0.5);
  --r-stage: 32px;
  --r-floor: 28px;
  --r-card: 24px;
  --r-code: 20px;
  --r-strip: 14px;
  --r-pill: 999px;
  --r-circle: 50%;
  --r-flat: 0;
  --font-display: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Hiragino Sans GB", "Microsoft YaHei", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Hiragino Sans GB", "Microsoft YaHei", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --weight-normal: 400;
  --weight-medium: 500;
  --fs-h1: clamp(34px, 3.4vw, 48px);
  --fs-h2: clamp(24px, 2.6vw, 36px);
  --fs-h3: 22px;
  --fs-body: 15px;
  --fs-lede: 16px;
  --fs-subtitle: 20px;
  --fs-small: 14px;
  --fs-caption: 13px;
  --fs-micro: 12px;
  --fs-brand: 17px;
  --fs-button: 16px;
  --fs-peek: 28px;
  --leading-body: 1.6;
  --leading-copy: 1.8;
  --leading-heading: 1.1;
  --tracking-display: -0.02em;
  --tracking-title: -0.015em;
  --tracking-brand: -0.01em;
  --tracking-button: -0.005em;
  --gutter: 64px;
  --page-max: 1312px;
  --reading-max: 800px;
  --header-content: 1280px;
  --header-height: 76px;
  --section-space: 80px;
  --speed: 0.2s;
  --reveal-speed: 0.6s;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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(--fs-body);
  font-weight: var(--weight-normal);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: var(--halo); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
button svg, .icon { flex-shrink: 0; }
[hidden] { display: none !important; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-normal);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-h1); line-height: var(--leading-heading); letter-spacing: var(--tracking-display); }
h2 { font-size: var(--fs-h2); line-height: 1.25; letter-spacing: var(--tracking-title); }
h3 { font-size: var(--fs-h3); line-height: 1.35; }
p { margin-top: 0; }
strong { font-weight: var(--weight-medium); }
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-code);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-caption);
  line-height: 1.85;
  tab-size: 2;
}
pre code { overflow-wrap: normal; word-break: normal; white-space: pre; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--spec-sea-pale); color: var(--text); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: var(--gutter);
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--r-pill);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.wrap, .shell {
  width: 100%;
  max-width: calc(var(--page-max) + var(--gutter) * 2);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.reading { max-width: calc(var(--reading-max) + var(--gutter) * 2); }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section + .section { border-top: 1px solid var(--border); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section__head > *, .grid > *, .hero__grid > *, .footer-grid > * { min-width: 0; }
.section__title { margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--text-muted); }
.keep { white-space: nowrap; }
.muted { color: var(--text-muted); }
.text-link { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stack > * + * { margin-top: 20px; }
.prose { min-width: 0; line-height: var(--leading-copy); overflow-wrap: break-word; }
.prose h2 { margin-top: 2.5em; }
.prose h3 { margin-top: 2em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.25em; }
.prose a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose :not(pre) > code { font-size: 0.9em; }
.card, .panel {
  min-width: 0;
  padding: 28px;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
}
.panel { padding: 40px; border-radius: var(--r-stage); }
.card__title { margin: 0 0 12px; font-size: var(--fs-h3); }
.card__body { margin: 0; color: var(--text-muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  max-width: 100%;
  padding: 12px 26px;
  border: 1px solid var(--clear);
  border-radius: var(--r-pill);
  font-size: var(--fs-button);
  font-weight: var(--weight-medium);
  line-height: 1.4;
  letter-spacing: var(--tracking-button);
  text-align: center;
  transition: background-color var(--speed) ease, border-color var(--speed) ease, transform var(--speed) ease;
}
.btn__icon { width: 17px; height: 17px; flex-shrink: 0; }
.btn--ink { background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-ink); }
.btn--ink:hover, .btn--ink.is-hover { background: var(--ink-hover); color: var(--on-ink); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-xs); }
.btn--ghost:hover, .btn--ghost.is-hover { border-color: var(--border-strong); background: var(--bg-panel); color: var(--text); }
.btn:active, .btn.is-active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--bg-panel-2); color: var(--text-muted); box-shadow: none; cursor: not-allowed; }
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-small);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}
/* 页头独立宽版心，不复用阅读列。 */
#site-header, .masthead { position: relative; z-index: 50; }
.masthead__bar {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: min(100%, calc(var(--header-content) + var(--gutter) * 2));
  height: var(--header-height);
  padding-inline: var(--gutter);
  margin-inline: auto;
  gap: 40px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { width: 30px; height: 30px; display: block; flex-shrink: 0; }
.brand__name { font-family: var(--font-display); font-size: var(--fs-brand); font-weight: var(--weight-medium); letter-spacing: var(--tracking-brand); color: var(--text); }
.primary-nav { min-width: 0; }
.primary-nav__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 2px; }
.primary-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 15px;
  border: 1px solid var(--clear);
  border-radius: var(--r-pill);
  font-size: var(--fs-body);
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--speed) ease, background-color var(--speed) ease;
}
.primary-nav__link:hover { color: var(--text); }
.primary-nav__link[aria-current="page"] { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-pill); }
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.language { position: relative; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-small);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}
.lang-switch__globe { width: 15px; height: 15px; flex-shrink: 0; color: var(--text-muted); }
.lang-switch__caret { font-size: var(--fs-micro); color: var(--text-muted); }
.lang-switch__short { display: none; }
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 190px;
  padding: 8px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--r-code);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-stage);
}
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: var(--r-strip); }
.language-menu a:hover, .language-menu a[aria-current="true"] { background: var(--bg-panel); color: var(--text); }
.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-circle);
  background: var(--surface);
  color: var(--text);
}
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-drawer { display: none; }
.nav-veil { position: fixed; inset: var(--header-height) 0 0; z-index: 40; border: 0; background: var(--veil); color: var(--text); }
/* 拍板首屏：左文案、右配置字段球阵。 */
.hero { overflow-x: clip; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  gap: 48px;
  align-items: center;
  padding-top: 36px;
  padding-bottom: 48px;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  min-height: 32px;
  max-width: 100%;
  padding: 5px 14px 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text-muted);
  font-size: var(--fs-caption);
  box-shadow: var(--shadow-xs);
}
.status-badge__dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--r-circle); background: radial-gradient(circle at 35% 35%, var(--spec-sea-pale) 0, var(--accent) 70%); box-shadow: 0 0 0 4px var(--halo); }
.hero__title { margin: 0; font-weight: var(--weight-normal); font-size: var(--fs-h1); line-height: var(--leading-heading); letter-spacing: var(--tracking-display); }
.hero__line { display: block; }
.hero__subtitle { margin: 14px 0 0; font-size: var(--fs-subtitle); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__lede { margin: 28px 0 0; max-width: 31em; font-size: var(--fs-lede); line-height: 1.75; color: var(--text-muted); }
.hero__lede strong { color: var(--text); font-weight: var(--weight-medium); }
.meta-row { display: flex; align-items: center; gap: 16px; width: 100%; min-width: 0; }
.meta-row__label { flex: 0 0 32px; font-size: var(--fs-caption); color: var(--text-muted); }
.meta-row--protocols { margin-top: 24px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.chip { display: inline-flex; align-items: center; min-height: 30px; max-width: 100%; padding: 4px 13px; border: 1px solid var(--border); border-radius: var(--r-pill); font-size: var(--fs-caption); color: var(--text); background: var(--bg); overflow-wrap: anywhere; }
.meta-row--platforms { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.platform-list { display: flex; flex-wrap: wrap; gap: 6px 22px; min-width: 0; }
.platform-link { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; font-size: var(--fs-small); color: var(--text); transition: color var(--speed) ease; }
.platform-link__badge { display: inline-grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); }
.platform-link__badge svg { width: 14px; height: 14px; }
.platform-link:hover { color: var(--accent-dark); }
.stage { position: relative; margin: 0; height: 640px; display: flex; flex-direction: column; min-width: 0; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-stage); box-shadow: var(--shadow-stage); overflow: hidden; }
.stage__seg { display: flex; gap: 4px; padding: 8px; }
.seg-item { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; border: 1px solid var(--clear); border-radius: var(--r-pill); font-size: var(--fs-body); color: var(--text-muted); }
.seg-item code { font-size: var(--fs-micro); color: var(--text-muted); }
.seg-item[aria-current="true"] { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-pill); }
.seg-dot { width: 9px; height: 9px; border-radius: var(--r-circle); flex-shrink: 0; }
.seg-dot--in { background: radial-gradient(circle at 35% 30%, var(--spec-mist) 0, var(--spec-sea-pale) 45%, var(--accent) 100%); }
.seg-dot--route { background: radial-gradient(circle at 35% 30%, var(--spec-peach) 0, var(--accent) 60%, var(--accent-dark) 100%); }
.seg-dot--out { background: radial-gradient(circle at 35% 30%, var(--spec-peach) 0, var(--spec-lilac) 55%, var(--spec-lilac-deep) 100%); }
.stage__floor {
  --cy: 220px;
  --label-y: calc(var(--cy) + 134px);
  --flow-x: 170px;
  position: relative;
  flex: 1 1 auto;
  border-top: 1px solid var(--border);
  border-radius: var(--r-floor) var(--r-floor) var(--r-flat) var(--r-flat);
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-panel) 38%, var(--bg-panel-2) 100%);
  color: var(--text);
}
.orb { position: absolute; left: calc(50% + var(--x)); top: var(--cy); width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); }
.orb::after { content: ""; position: absolute; left: 14%; right: 14%; top: calc(100% + var(--d) * 0.1); height: calc(var(--d) * 0.14); border-radius: var(--r-circle); background: radial-gradient(closest-side, var(--ground) 0, var(--clear) 100%); }
.orb__ball { position: relative; display: block; width: 100%; height: 100%; border-radius: var(--r-circle); overflow: hidden; background: var(--fill); box-shadow: inset 0 0 0 1px var(--rim), inset -8px -12px 28px var(--shade-soft); animation: orb-breathe var(--breathe) ease-in-out var(--delay) infinite; }
.orb__ball::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-circle); background: radial-gradient(circle at 31% 25%, var(--hl) 0, var(--hl-soft) 15%, var(--clear) 38%); animation: orb-sheen var(--sheen) ease-in-out var(--delay) infinite; }
.orb__ball::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-circle); background: radial-gradient(circle at 74% 80%, var(--shade) 0, var(--clear) 56%), radial-gradient(circle at 50% 50%, var(--clear) 64%, var(--shade-soft) 100%); }
.orb--routing {
  --d: 196px; --x: 0px; --breathe: 10s; --sheen: 18s; --delay: 0s;
  --fill: radial-gradient(circle at 74% 28%, var(--spec-peach) 0, var(--clear) 44%), radial-gradient(circle at 24% 74%, var(--spec-lilac) 0, var(--clear) 48%), radial-gradient(circle at 42% 38%, var(--spec-sea-pale) 0, var(--accent) 52%, var(--accent-dark) 100%);
  z-index: 4;
}
.orb--inbounds {
  --d: 108px; --x: -170px; --breathe: 9s; --sheen: 16s; --delay: -3s;
  --fill: radial-gradient(circle at 70% 72%, var(--spec-gold) 0, var(--clear) 50%), radial-gradient(circle at 38% 34%, var(--spec-mist) 0, var(--spec-sea-pale) 42%, var(--accent) 100%);
  z-index: 3;
}
.orb--outbounds {
  --d: 108px; --x: 170px; --breathe: 11s; --sheen: 20s; --delay: -6s;
  --fill: radial-gradient(circle at 28% 72%, var(--accent) 0, var(--clear) 52%), radial-gradient(circle at 60% 34%, var(--spec-peach) 0, var(--spec-lilac) 55%, var(--spec-lilac-deep) 100%);
  z-index: 3;
}
.orb--dns { --d: 84px; --x: -276px; --breathe: 8s; --sheen: 15s; --delay: -2s; --fill: radial-gradient(circle at 40% 36%, var(--spec-mist) 0, var(--spec-gold) 55%, var(--spec-gold-deep) 100%); opacity: 0.9; z-index: 2; }
.orb--log { --d: 60px; --x: -352px; --breathe: 9.5s; --sheen: 17s; --delay: -7s; --fill: radial-gradient(circle at 42% 36%, var(--spec-mist) 0, var(--spec-sea-pale) 58%, var(--spec-lilac) 100%); opacity: 0.82; z-index: 1; }
.orb--policy { --d: 100px; --x: 310px; --breathe: 12s; --sheen: 19s; --delay: -5s; --fill: radial-gradient(circle at 64% 30%, var(--spec-mist) 0, var(--spec-peach) 48%, var(--spec-lilac) 100%); opacity: 0.88; z-index: 2; }
.flow-line { position: absolute; z-index: 6; left: calc(50% - var(--flow-x)); top: var(--cy); width: calc(var(--flow-x) * 2); height: 1px; background: repeating-linear-gradient(90deg, var(--line-dash) 0 3px, var(--clear) 3px 8px); mix-blend-mode: multiply; }
.flow-line::before { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: var(--r-circle); border: 1px solid var(--line-dash); }
.flow-line::after { content: ""; position: absolute; right: 1px; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--line-dash); border-right: 1px solid var(--line-dash); transform: rotate(45deg); }
.field { position: absolute; top: var(--label-y); left: calc(50% + var(--x)); transform: translateX(-50%); text-align: center; white-space: nowrap; }
.field code { display: block; font-size: var(--fs-caption); line-height: 1.3; color: var(--text-muted); }
.field span { display: block; margin-top: 5px; font-size: var(--fs-micro); line-height: 1.3; color: var(--text-muted); }
.field--routing { --x: 0px; }
.field--routing code { color: var(--text); font-size: var(--fs-small); }
.field--inbounds { --x: -170px; }
.field--outbounds { --x: 170px; }
.field--dns { --x: -276px; }
.field--log { left: 18px; transform: none; text-align: left; }
.field--policy { left: auto; right: 18px; transform: none; text-align: right; }
.code-strip { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; height: 48px; padding-inline: 18px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-strip); box-shadow: var(--shadow-strip); overflow-x: auto; }
.code-strip__file { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding-right: 14px; border-right: 1px solid var(--border); font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--text-muted); }
.code-strip__dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--accent); }
.code-strip__code { font-size: var(--fs-micro); white-space: nowrap; overflow-wrap: normal; color: var(--text-muted); }
.tk-k { color: var(--text); }
.tk-p { color: var(--text-muted); }
@keyframes orb-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes orb-sheen { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(16deg); } }
.next-peek { border-top: 1px solid var(--border); padding-top: 40px; padding-bottom: 72px; }
.next-peek__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.next-peek__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--text-muted); }
.next-peek__eyebrow::before { content: ""; width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--accent); }
.next-peek__title { margin: 0; font-size: var(--fs-peek); line-height: 1.25; letter-spacing: var(--tracking-title); }
.peek-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.peek-card { min-width: 0; padding: 24px; border-radius: var(--r-card); background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); }
.peek-card__os { margin: 0; font-size: var(--fs-lede); }
.peek-card__apps { margin: 6px 0 0; font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-muted); }
.site-footer { border-top: 1px solid var(--border); padding-top: 56px; padding-bottom: 28px; background: var(--bg-panel); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.footer-brand__note { max-width: 28em; margin: 18px 0 0; color: var(--text-muted); font-size: var(--fs-small); }
.footer-heading { margin: 0 0 16px; font-size: var(--fs-small); font-weight: var(--weight-medium); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list a { display: inline-block; padding-top: 6px; padding-bottom: 6px; font-size: var(--fs-small); color: var(--text-muted); overflow-wrap: anywhere; }
.footer-list a:hover, .footer-list a[aria-current="true"] { color: var(--accent-dark); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: var(--fs-caption); }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(16px); }
html.reveal-ready .reveal { transition: opacity var(--reveal-speed) ease, transform var(--reveal-speed) ease; }
@media (max-width: 1100px) {
  .primary-nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-drawer:not([hidden]) {
    display: block;
    position: absolute;
    inset: var(--header-height) 0 auto;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px var(--gutter) 24px;
    background: var(--surface);
    color: var(--text);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-stage);
  }
  .mobile-drawer ul { list-style: none; padding: 0; margin: 0; }
  .mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 12px 18px; border-radius: var(--r-pill); }
  .mobile-drawer a[aria-current] { background: var(--bg-panel); color: var(--text); }
  .mobile-drawer__languages { margin-top: 16px !important; padding-top: 16px !important; border-top: 1px solid var(--border); }
}
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .hero__grid { gap: 36px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --gutter: 20px; --fs-h1: clamp(24px, 7.2vw, 30px); --section-space: 56px; }
  .masthead__bar { gap: 12px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 20px; padding-bottom: 40px; }
  .hero__actions { margin-top: 24px; }
  .btn { min-height: 48px; padding: 12px 22px; font-size: var(--fs-body); }
  .stage { height: 460px; }
  .seg-item code { display: none; }
  .stage__floor { --cy: 140px; --label-y: calc(var(--cy) + 96px); --flow-x: clamp(90px, 28vw, 170px); }
  .orb--dns, .orb--log, .orb--policy, .field--dns, .field--log, .field--policy { display: none; }
  .orb--routing { --d: clamp(118px, 36vw, 184px); }
  .orb--inbounds { --d: clamp(64px, 22vw, 108px); --x: calc(var(--flow-x) * -1); }
  .orb--outbounds { --d: clamp(64px, 22vw, 108px); --x: var(--flow-x); }
  .field--inbounds { --x: calc(var(--flow-x) * -1); }
  .field--outbounds { --x: var(--flow-x); }
  .code-strip { left: 16px; right: 16px; bottom: 16px; }
  .code-strip__file { display: none; }
  .next-peek__head { flex-direction: column; align-items: flex-start; }
  .next-peek__title { font-size: var(--fs-h3); }
  .peek-grid, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --fs-h2: 26px; --fs-h3: 20px; }
  .lang-switch__full { display: none; }
  .lang-switch__short { display: inline; }
  .lang-switch { min-height: 44px; }
  .brand__name { font-size: var(--fs-body); }
  .brand { gap: 8px; }
  .header-tools { gap: 6px; margin-left: auto; }
  .masthead__bar { gap: 6px; }
  .grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .section__head { align-items: flex-start; flex-direction: column; }
  .panel { padding: 24px; }
  .card { padding: 24px; }
  .meta-row { gap: 12px; align-items: flex-start; }
  .meta-row__label { padding-top: 5px; }
  .platform-list { gap: 8px 16px; }
  .chip-list { flex-direction: row; flex-wrap: wrap; }
  .hero__subtitle { font-size: var(--fs-lede); }
  .field span { max-width: 8em; white-space: normal; }
  .field code { font-size: var(--fs-micro); }
  .peek-card { padding: 18px; }
  .tilt, [data-tilt] { transform: none !important; }
  .footer-grid { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}