:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-panel: #0B0B0B;
  --bg-panel-2: #141414;
  --border: #242424;
  --accent: #3BFF6B;
  --accent-2: #C6FF3D;
  --accent-dark: #14C24A;
  --text: #E6FBE9;
  --text-muted: #8E9A90;
  --success: #3BFF6B;
  --warn: #E8C15A;
  --error: #FF6B5E;
  --glare: #F2FFF0;
  --on-accent: #000000;
  --clear: transparent;
  --ink-rgb: 0, 0, 0;
  --accent-rgb: 59, 255, 107;
  --lime-rgb: 198, 255, 61;
  --accent-dark-rgb: 20, 194, 74;
  --glare-rgb: 242, 255, 240;
  --deep-rgb: 4, 46, 18;
  --text-rgb: 230, 251, 233;
  --font-display: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --size-xs: 12px;
  --size-sm: 13px;
  --size-nav: 14px;
  --size-body: 15px;
  --size-lead: 18px;
  --size-h1: clamp(34px, 3.4vw, 48px);
  --size-h2: clamp(28px, 3.6vw, 48px);
  --size-h3: clamp(20px, 2.2vw, 28px);
  --weight-normal: 400;
  --weight-medium: 500;
  --radius-pill: 999px;
  --radius-panel: 24px;
  --radius-core: 30px;
  --radius-round: 50%;
  --radius-core-top: 20px 24px 2px 2px;
  --radius-core-side: 0 20px 26px 0;
  --radius-core-front: 8px 6px 30px 30px;
  --shell: 1280px;
  --reading: 880px;
  --gutter: 48px;
  --nav-h: 58px;
  --core-w: clamp(360px, 39vw, 580px);
  --core-depth: 44px;
  --core-h: 780px;
  --section-space: clamp(72px, 10vw, 144px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --duration: .2s;
  --gradient-accent: linear-gradient(95deg, var(--accent), var(--accent-2));
  --shadow-panel: 0 1px 0 rgba(var(--text-rgb), .04) inset, 0 18px 40px -24px rgba(var(--ink-rgb), .9);
  --shadow-button: 0 0 0 1px rgba(var(--lime-rgb), .4) inset, 0 10px 30px -12px rgba(var(--accent-rgb), .7);
  --shadow-button-hover: 0 0 0 1px rgba(var(--lime-rgb), .6) inset, 0 14px 38px -10px rgba(var(--accent-rgb), .85);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
html, body { margin: 0; padding: 0; }
html.nav-open { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font: var(--weight-normal) var(--size-body)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
::selection { background: rgba(var(--accent-rgb), .3); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: rgba(var(--accent-rgb), .15); }
button { cursor: pointer; }
button, input, select, textarea { max-width: 100%; }
button { color: var(--text); }
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
img, svg, video { max-width: 100%; vertical-align: middle; }
img { height: auto; }
svg, .icon, .badge-dot { flex-shrink: 0; }
.icon { width: 20px; height: 20px; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-normal);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--size-h1); line-height: 1.14; letter-spacing: -.02em; }
h2 { font-size: var(--size-h2); line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: var(--size-h3); line-height: 1.35; letter-spacing: -.01em; }
p { margin-bottom: 1.3em; }
strong { color: var(--text); font-weight: var(--weight-medium); }
small { font-size: var(--size-xs); }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; font-size: .9em; color: var(--text); }
pre {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background: var(--bg-panel);
  color: var(--text);
  line-height: 1.7;
  tab-size: 2;
}
pre code { white-space: pre; overflow-wrap: normal; }
hr { border: 0; border-top: 1px solid var(--border); margin-block: 40px; }
[hidden] { display: none !important; }
.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-width: 0;
}
.reading { max-width: calc(var(--reading) + var(--gutter) * 2); }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.page-intro { padding-top: 160px; padding-bottom: 64px; }
.page-intro p { max-width: 64ch; color: var(--text-muted); }
.section-heading { margin-bottom: 40px; }
.section-heading p, .muted { color: var(--text-muted); }
.eyebrow {
  display: block;
  margin-bottom: 18px;
  font: var(--size-xs)/1.6 var(--font-mono);
  letter-spacing: .06em;
  color: var(--text-muted);
}
.keep { white-space: nowrap; }
.gradient-text {
  background: var(--gradient-accent);
  color: var(--clear);
  background-clip: text;
  -webkit-background-clip: text;
}
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > *, .footer-grid > *, .prose, .prose > *, .panel, .card { min-width: 0; }
.panel, .card {
  padding: 32px;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
}
.card { box-shadow: var(--shadow-panel); }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.card p { color: var(--text-muted); }
.card-link { display: block; transition: border-color var(--duration) var(--ease); }
.card-link:hover { border-color: var(--accent); }
.text-link, .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  max-width: 100%;
  padding-inline: 24px;
  font: var(--weight-normal) var(--size-body)/1.2 var(--font-body);
  border: 1px solid var(--clear);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: transform var(--duration) var(--ease), box-shadow .25s var(--ease), border-color var(--duration), color var(--duration);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--gradient-accent); color: var(--on-accent); box-shadow: var(--shadow-button); }
.btn-primary:hover, .btn-primary.is-hover { transform: translateY(-1px); box-shadow: var(--shadow-button-hover); }
.btn-ghost { background: var(--bg); color: var(--text); border-color: var(--border); }
.btn-ghost:hover, .btn-ghost.is-hover { color: var(--accent); border-color: rgba(var(--accent-rgb), .5); }
.btn:active { transform: translateY(0); }
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 4px; }
.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--bg-panel-2);
  color: var(--text-muted);
  border-color: var(--border);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.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: 8px;
  left: var(--gutter);
  z-index: 100;
  padding: 10px 18px;
  transform: translateY(-160%);
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
}
.skip-link:focus { transform: none; }

/* 顶栏使用独立宽版心，不复用正文阅读宽度。 */
.topbar {
  position: absolute;
  top: 20px;
  inset-inline: 0;
  z-index: 60;
  padding-inline: calc(var(--gutter) - 16px);
}
.navpill {
  position: relative;
  max-width: min(100%, calc(1280px + var(--gutter) * 2));
  height: var(--nav-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 10px 0 18px;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-panel);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  font-family: var(--font-display);
  font-size: var(--size-body);
  letter-spacing: -.01em;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-mark { width: 28px; height: 28px; flex: none; }
.desktop-nav { min-width: 0; }
.navline {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  font-size: var(--size-nav);
  white-space: nowrap;
}
.navline li { display: flex; align-items: center; }
.navline li + li::before { content: "·"; color: var(--text-muted); padding-inline: 11px; }
.navline a { color: var(--text-muted); transition: color var(--duration); }
.navline a:hover, .navline a[aria-current="page"] { color: var(--text); }
.header-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.language-picker { position: relative; }
.lang, .menu-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding-inline: 13px;
  background: var(--bg-panel-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: var(--size-sm);
  white-space: nowrap;
}
.lang svg { width: 14px; height: 14px; color: var(--text-muted); }
.lang .caret { color: var(--text-muted); font-size: var(--size-xs); }
.lang-short { display: none; }
.lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 190px;
  padding: 8px;
  list-style: none;
  background: var(--bg-panel-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel);
}
.lang-menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--radius-pill); }
.lang-menu a:hover, .lang-menu [aria-current="true"] { background: var(--bg); color: var(--accent); }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; padding-inline: 10px; }
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-drawer {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline: 0;
  z-index: 2;
  padding: 16px;
  max-height: calc(100dvh - 104px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
}
.mobile-drawer ul { list-style: none; }
.mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 46px; padding: 10px 16px; }
.mobile-drawer a:hover, .mobile-drawer [aria-current] { color: var(--accent); }

.drawer-languages { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.nav-veil {
  position: fixed;
  inset: 0;
  z-index: 50;
  border: 0;
  background: rgba(var(--ink-rgb), .8);
  color: var(--text);
}
.preview-language summary { list-style: none; cursor: pointer; }
.preview-language summary::-webkit-details-marker { display: none; }
.preview-mobile { display: none; }

/* 首屏装置只裁横向；纵向保留至第二屏。 */
.hero-stage { position: relative; overflow-x: clip; }
.hero {
  position: relative;
  height: calc(100vh - 64px);
  min-height: 720px;
  z-index: 2;
}
.hero-shell {
  position: relative;
  z-index: 3;
  max-width: var(--shell);
  height: 100%;
  margin-inline: auto;
  padding: calc(var(--nav-h) + 30px) var(--gutter) 24px;
  display: flex;
  align-items: center;
}
.hero-copy { max-width: 568px; min-width: 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  max-width: 100%;
  padding: 4px 14px 4px 11px;
  font-size: var(--size-sm);
  color: var(--text-muted);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-round);
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .14), 0 0 12px rgba(var(--accent-rgb), .8);
}
.badge b { font-weight: var(--weight-normal); color: var(--text); }
.hero-title {
  margin: 26px 0 0;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.14;
  letter-spacing: -.02em;
}
.hero-title .line { display: block; }
.hero-title .line-accent {
  background: linear-gradient(92deg, var(--accent), var(--accent-2));
  color: var(--clear);
  background-clip: text;
  -webkit-background-clip: text;
  letter-spacing: -.03em;
}
.hero-title .line-plain { color: var(--text); }
.hero-desc { margin: 30px 0 0; max-width: 520px; font-size: 15.5px; line-height: 1.8; color: var(--text-muted); }
.platforms { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 34px; }
.platforms-label {
  font-family: var(--font-mono);
  font-size: var(--size-xs);
  letter-spacing: .04em;
  color: var(--text-muted);
  padding-right: 18px;
  border-right: 1px solid var(--border);
  line-height: 16px;
}
.platform { display: inline-flex; align-items: center; gap: 8px; height: 30px; font-size: 13.5px; color: var(--text-muted); }
.platform svg { width: 15px; height: 15px; color: var(--text); }
.platform:hover { color: var(--text); }
.platform:hover svg { color: var(--accent); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; }
.facts li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 100%;
  padding: 3px 12px;
  font-family: var(--font-mono);
  font-size: var(--size-xs);
  letter-spacing: .01em;
  color: var(--text-muted);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow-wrap: anywhere;
}
.core {
  position: absolute;
  z-index: 2;
  top: 33%;
  left: calc(50% + 12px);
  width: var(--core-w);
  height: var(--core-h);
  pointer-events: none;
}
.core-halo {
  position: absolute;
  top: calc(var(--core-depth) * -1);
  left: 0;
  right: calc(var(--core-depth) * -1);
  bottom: 0;
  border-radius: var(--radius-core);
  box-shadow: 0 0 36px 2px rgba(var(--accent-rgb), .42), 0 0 110px 26px rgba(var(--accent-rgb), .22), 0 -30px 240px 70px rgba(var(--accent-rgb), .11), 40px -40px 200px 10px rgba(var(--lime-rgb), .08);
  opacity: .62;
  animation: halo-breathe 8s ease-in-out infinite;
}
@keyframes halo-breathe { 0%, 100% { opacity: .62; } 50% { opacity: 1; } }
.core-top {
  position: absolute;
  left: 0;
  top: calc(var(--core-depth) * -1);
  width: 100%;
  height: var(--core-depth);
  transform-origin: 0 100%;
  transform: skewX(-45deg);
  border-radius: var(--radius-core-top);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(var(--glare-rgb), 0), rgba(var(--glare-rgb), .25) 50%, rgba(var(--lime-rgb), .35)), linear-gradient(0deg, rgba(var(--glare-rgb), .97), rgba(var(--glare-rgb), .86) 42%, rgba(var(--lime-rgb), .78) 82%, rgba(var(--accent-rgb), .66));
  color: var(--on-accent);
  box-shadow: 0 0 26px rgba(var(--glare-rgb), .32), 0 -10px 40px rgba(var(--accent-rgb), .38);
}
.core-side {
  position: absolute;
  left: 100%;
  top: 0;
  width: var(--core-depth);
  height: 100%;
  transform-origin: 0 0;
  transform: skewY(-45deg);
  border-radius: var(--radius-core-side);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(var(--glare-rgb), .32), rgba(var(--lime-rgb), 0) 55%, rgba(var(--accent-dark-rgb), .4)), linear-gradient(180deg, rgba(var(--glare-rgb), .9), rgba(var(--lime-rgb), .96) 6%, rgba(var(--lime-rgb), .74) 46%, rgba(var(--accent-rgb), .42));
  color: var(--on-accent);
}
.core-front {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-core-front);
  background-color: rgba(var(--accent-dark-rgb), .14);
  background-image: linear-gradient(90deg, rgba(var(--accent-rgb), .5), rgba(var(--accent-rgb), 0) 6%, rgba(var(--accent-rgb), 0) 86%, rgba(var(--lime-rgb), .42)), radial-gradient(58% 34% at 60% 46%, rgba(var(--ink-rgb), .44), rgba(var(--ink-rgb), 0) 72%), radial-gradient(40% 26% at 30% 70%, rgba(var(--ink-rgb), .28), rgba(var(--ink-rgb), 0) 70%), linear-gradient(180deg, rgba(var(--glare-rgb), .42), rgba(var(--lime-rgb), .32) 4%, rgba(var(--accent-rgb), .38) 20%, rgba(var(--accent-dark-rgb), .34) 52%, rgba(var(--deep-rgb), .66));
  color: var(--text);
  box-shadow: inset 0 2px 0 rgba(var(--glare-rgb), .9), inset 0 40px 44px -30px rgba(var(--glare-rgb), .5), inset 3px 0 0 rgba(var(--accent-rgb), .6), inset -3px 0 0 rgba(var(--lime-rgb), .75), 0 0 0 1px rgba(var(--accent-rgb), .3), 0 0 28px rgba(var(--accent-rgb), .3);
}
.core-grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .17; mix-blend-mode: overlay; }
.core-grain rect { filter: url(#coreGrain); }
.core-top .core-grain { opacity: .12; }
.core-relay { position: absolute; inset-inline: 0; top: 58px; height: 420px; }
.relay-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.relay-glow { fill: none; stroke: rgba(var(--lime-rgb), .16); stroke-width: 7; stroke-linecap: round; }
.relay-line { fill: none; stroke: rgba(var(--glare-rgb), .42); stroke-width: 1; stroke-dasharray: 2 7; stroke-linecap: round; }
.node {
  position: absolute;
  border-radius: var(--radius-round);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--glare-rgb), .96), rgba(var(--glare-rgb), .9) 9%, rgba(var(--lime-rgb), .95) 22%, rgba(var(--accent-rgb), .55) 44%, rgba(var(--accent-rgb), .16) 60%, rgba(var(--accent-rgb), 0) 72%);
  color: var(--text);
  filter: blur(.6px);
}
.node-a { left: 22%; top: 12%; width: 92px; height: 84px; }
.node-b { left: 48%; top: 46%; width: 70px; height: 66px; }
.node-c { left: 74%; top: 80%; width: 84px; height: 76px; }
.dust { position: absolute; z-index: 1; border-radius: var(--radius-round); background: var(--accent); color: var(--on-accent); box-shadow: 0 0 8px rgba(var(--accent-rgb), .7); pointer-events: none; }
.dust-1 { width: 4px; height: 4px; left: calc(50% - 20px); top: 58%; opacity: .7; }
.dust-2 { width: 3px; height: 3px; left: calc(50% + 548px); top: 22%; opacity: .45; }
.dust-3 { width: 5px; height: 5px; left: calc(50% + 650px); top: 52%; opacity: .55; }
.dust-4 { width: 3px; height: 3px; left: calc(50% + 230px); top: 19%; opacity: .4; }
.dust-5 { width: 2px; height: 2px; left: calc(50% - 6px); top: 84%; opacity: .6; }
.dust-6 { width: 3px; height: 3px; left: calc(50% + 690px); top: 80%; opacity: .4; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.peek { position: relative; z-index: 1; min-height: 420px; border-top: 1px solid var(--border); }
.peek-shell { max-width: var(--shell); margin-inline: auto; padding: 22px var(--gutter) 0; display: flex; align-items: center; gap: 18px; }
.peek-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: var(--size-xs)/1.6 var(--font-mono); letter-spacing: .06em; color: var(--text); }
.peek-eyebrow::before { content: ""; width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--radius-round); background: var(--accent); color: var(--on-accent); box-shadow: 0 0 10px rgba(var(--accent-rgb), .7); }
.peek-list { font: var(--size-xs)/1.6 var(--font-mono); color: var(--text-muted); }

/* 默认可见，只有脚本成功启用观察器后才进入待显状态。 */
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(18px); }
.reveal-ready .reveal { transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal-ready .reveal.shown { opacity: 1; transform: none; }
.site-footer { border-top: 1px solid var(--border); padding-top: 64px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1.3fr; gap: 48px; }
.footer-brand .brand { white-space: normal; }
.footer-brand p { max-width: 32ch; margin-top: 20px; color: var(--text-muted); }
.footer-title { font: var(--weight-normal) var(--size-nav)/1.5 var(--font-body); margin-bottom: 18px; color: var(--text); }
.footer-links { list-style: none; display: grid; gap: 12px; font-size: var(--size-nav); color: var(--text-muted); }
.footer-links a:hover { color: var(--accent); }
.footer-languages { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; font-size: var(--size-sm); color: var(--text-muted); }
.footer-languages a { padding-block: 10px; }
.footer-languages [aria-current] { color: var(--text); }
.footer-bottom { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-muted); font: var(--size-xs)/1.6 var(--font-mono); }
.prose { line-height: 1.95; }
.prose h2 { margin-top: 2.6em; margin-bottom: .8em; font-size: clamp(26px, 3vw, 36px); }
.prose h3 { margin-top: 2em; margin-bottom: .7em; font-size: 22px; }
.prose ul, .prose ol { padding-left: 1.5em; margin-block: 1.3em; }
.prose li { margin-block: .5em; }
.prose :where(h2, h3, h4, section) { scroll-margin-top: 100px; }

@media (max-width: 1279px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .preview-mobile { display: block; }
  .preview-mobile summary { list-style: none; }
  .preview-mobile summary::-webkit-details-marker { display: none; }
}
@media (min-width: 1280px) {
  .mobile-drawer, .nav-veil { display: none !important; }
  html.nav-open { overflow: auto; }
}
@media (max-width: 980px) {
  :root { --gutter: 28px; --core-w: min(78vw, 520px); --core-depth: 34px; }
  .navpill { gap: 14px; }
  .hero { height: auto; min-height: 0; padding-bottom: 300px; }
  .hero-shell { padding-top: calc(var(--nav-h) + 72px); align-items: flex-start; }
  .core { top: auto; bottom: -480px; left: calc(50% - var(--core-w) / 2 - var(--core-depth) / 2); }
  .dust-2, .dust-3, .dust-6 { display: none; }
  .dust-1 { left: 8%; top: auto; bottom: 220px; }
  .dust-4 { left: 86%; top: auto; bottom: 260px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --size-h1: clamp(24px, 4vw, 30px); }
  .hero-title { font-size: 28px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --nav-h: 52px; }
  .topbar { padding-inline: 12px; top: 12px; }
  .brand span { display: none; }
  .footer-brand .brand span { display: inline; }
  .lang-text { display: none; }
  .lang-short { display: inline; }
  .lang { min-height: 44px; }
  .btn { height: 46px; padding-inline: 20px; }
  .hero-desc { font-size: var(--size-body); }
  .hero-title .line-plain { font-size: clamp(23px, 6.4vw, 28px); }
  .platforms { gap: 6px 16px; }
  .platforms-label { display: none; }
  .facts { gap: 6px; }
  .facts li { font-size: 10px; padding-inline: 9px; }
  .peek-list { display: none; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .panel, .card { padding: 24px; }
  .tilt, [data-tilt] { transform: none !important; }
  .page-intro { padding-top: 120px; padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .core-halo { opacity: .85; }
  .reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}