/* =========================================================================
   FB赛场 · 共享站点样式表  ——  /assets/site.css
   负责：reset / 设计变量 / 中文排版 / 头部 / 页脚 / 通用按钮 / 面包屑
        正文容器 / 栅格 / 基础组件 / 图片容器基础规则 / 响应式
   ========================================================================= */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 9.5rem;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol, fieldset, legend {
  margin: 0;
}

ul, ol { padding: 0; list-style: none; }

img, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

button {
  background: none;
  border: 0;
  cursor: pointer;
}

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色彩 */
  --c-space: #060F1B;
  --c-space-2: #08192B;
  --c-panel: #0C2138;
  --c-indigo: #241A4E;
  --c-teal: #0E3B38;
  --c-wine: #45172B;
  --c-lime: #C6FF3F;
  --c-orange: #FF6B2C;
  --c-ice: #E6F0F7;
  --c-mist: #93AABD;
  --c-steel: #23405A;
  --c-paper: #F2F6F9;
  --c-ink: #0C2138;

  /* 字体 */
  --font-display: 'Archivo Expanded', 'Barlow Condensed', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-data: ui-monospace, 'JetBrains Mono', 'Roboto Mono', 'SFMono-Regular', Menlo, monospace;

  /* 圆角 */
  --r-sm: 10px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* 布局 */
  --shell-max: 1200px;
  --gutter: 3rem;

  /* 缓动 */
  --ease-out: cubic-bezier(.16, .84, .44, 1);
}

@media (max-width: 1024px) {
  :root { --gutter: 2rem; }
}

@media (max-width: 640px) {
  :root { --gutter: 1.25rem; }
}

/* ---------- 3. 中文排版基础 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .01em;
  color: var(--c-ice);
  background-color: var(--c-space);
  background-image:
    radial-gradient(1100px 620px at 82% -14%, rgba(36, 26, 78, .85), transparent 62%),
    radial-gradient(880px 520px at -12% 12%, rgba(14, 59, 56, .55), transparent 60%),
    radial-gradient(760px 480px at 50% 108%, rgba(69, 23, 43, .45), transparent 65%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
}

p { line-height: 1.85; }

strong { font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--c-lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 4. 布局工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.rule {
  height: 1px;
  width: 100%;
  border: 0;
  background: linear-gradient(90deg, var(--c-steel), rgba(35, 64, 90, .05));
}

.grid-2 {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ---------- 5. 章节色带 ---------- */
.band {
  position: relative;
  isolation: isolate;
}

.band--indigo {
  background-image: linear-gradient(165deg, rgba(36, 26, 78, .88) 0%, rgba(6, 15, 27, .12) 72%);
}

.band--teal {
  background-image: linear-gradient(165deg, rgba(14, 59, 56, .88) 0%, rgba(6, 15, 27, .12) 72%);
}

.band--wine {
  background-image: linear-gradient(165deg, rgba(69, 23, 43, .88) 0%, rgba(6, 15, 27, .12) 72%);
}

/* ---------- 6. 文字层级 ---------- */
.chapter-index {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-data);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--c-lime);
}

.chapter-index::after {
  content: "";
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-lime), transparent);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-data);
  font-size: .75rem;
  letter-spacing: .18em;
  color: var(--c-mist);
}

.display-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: .96;
  letter-spacing: -.02em;
  color: var(--c-ice);
  transform: skewX(-3deg);
  transform-origin: left center;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 16px) 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 16px) 100%, 0 100%);
}

.lede {
  max-width: 46ch;
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.9;
  color: var(--c-mist);
}

.data-figure {
  display: block;
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--c-lime);
}

/* ---------- 7. 通用组件 ---------- */
.panel {
  background-image: linear-gradient(180deg, rgba(12, 33, 56, .94), rgba(8, 22, 38, .94));
  border: 1px solid var(--c-steel);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  box-shadow: 0 26px 64px -44px rgba(0, 0, 0, .95);
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-steel);
  background-color: rgba(12, 33, 56, .55);
  color: var(--c-mist);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color .2s var(--ease-out), border-color .2s var(--ease-out), background-color .2s var(--ease-out);
}

.pill:hover {
  color: var(--c-ice);
  border-color: var(--c-lime);
}

.pill[aria-pressed="true"],
.pill.is-active {
  background-color: var(--c-lime);
  border-color: var(--c-lime);
  color: #07160a;
}

.pulse-dot {
  display: inline-block;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background-color: var(--c-lime);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(198, 255, 63, .55); }
  70%  { box-shadow: 0 0 0 12px rgba(198, 255, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 255, 63, 0); }
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.35rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out),
              border-color .2s var(--ease-out), transform .2s var(--ease-out);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--accent {
  background-color: var(--c-orange);
  border-color: var(--c-orange);
  color: #190703;
  box-shadow: 0 12px 30px -18px rgba(255, 107, 44, .9);
}

.btn--accent:hover { background-color: #FF8248; border-color: #FF8248; }

.btn--lime {
  background-color: var(--c-lime);
  border-color: var(--c-lime);
  color: #07160a;
}

.btn--lime:hover { background-color: #d6ff72; border-color: #d6ff72; }

.btn--ghost {
  background-color: transparent;
  border-color: var(--c-steel);
  color: var(--c-ice);
}

.btn--ghost:hover {
  border-color: var(--c-lime);
  color: var(--c-lime);
}

/* 面包屑 */
.breadcrumbs {
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--c-mist);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: .5rem;
  color: var(--c-steel);
}

.breadcrumbs a { color: var(--c-mist); transition: color .2s; }
.breadcrumbs a:hover { color: var(--c-lime); }
.breadcrumbs [aria-current="page"] { color: var(--c-ice); }

/* 长文阅读区 */
.prose {
  max-width: 72ch;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: var(--r-lg);
  background-color: var(--c-paper);
  color: var(--c-ink);
  font-size: 1rem;
  line-height: 1.95;
}

.prose > * + * { margin-top: 1.2em; }

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-ink);
  margin-top: 2.2em;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: 1.075rem;
  font-weight: 700;
  color: var(--c-ink);
  margin-top: 1.8em;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .5em; }

.prose a {
  color: var(--c-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose strong { color: #071628; }

.prose blockquote {
  padding-left: 1.1rem;
  border-left: 3px solid var(--c-lime);
  color: #2c4a63;
}

.prose code {
  font-family: var(--font-data);
  font-size: .9em;
  padding: .1em .4em;
  border-radius: 6px;
  background-color: #e1e9f0;
}

.prose hr {
  border: 0;
  border-top: 1px solid #c9d7e2;
  margin-block: 2rem;
}

/* 图片容器基础规则 */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--c-steel);
  border-radius: var(--r-lg);
  background-color: var(--c-panel);
  background-image:
    linear-gradient(135deg, rgba(36, 26, 78, .92) 0%, rgba(14, 59, 56, .78) 55%, rgba(69, 23, 43, .82) 100%);
}

.media-frame > img,
.media-frame > picture,
.media-frame > picture > img,
.media-frame > svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1.25rem;
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--c-mist);
  background-image: linear-gradient(180deg, transparent, rgba(6, 15, 27, .9));
}

/* 章节目录跟随 */
.toc-nav {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  position: sticky;
  top: 9rem;
}

.toc-nav__link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .75rem;
  border-radius: var(--r-pill);
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--c-mist);
  transition: color .2s var(--ease-out), background-color .2s var(--ease-out);
}

.toc-nav__link::before {
  content: "";
  display: block;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--c-steel);
  transition: width .25s var(--ease-out), background-color .25s var(--ease-out);
}

.toc-nav__link:hover { color: var(--c-ice); }

.toc-nav__link.is-current {
  color: var(--c-lime);
  background-color: rgba(198, 255, 63, .08);
}

.toc-nav__link.is-current::before {
  width: 18px;
  background-color: var(--c-lime);
}

/* ---------- 8. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 999;
  transform: translate(-50%, -140%);
  padding: .7rem 1.5rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  background-color: var(--c-lime);
  color: #06121f;
  font-size: .875rem;
  font-weight: 700;
  transition: transform .25s var(--ease-out);
}

.skip-link:focus {
  transform: translate(-50%, 0);
  outline-offset: -2px;
}

/* ---------- 9. 站点头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background-image: linear-gradient(180deg, rgba(6, 15, 27, .97) 0%, rgba(6, 15, 27, .86) 100%);
  border-bottom: 1px solid var(--c-steel);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: box-shadow .3s var(--ease-out);
}

.site-header.is-scrolled {
  box-shadow: 0 20px 44px -32px rgba(0, 0, 0, .95);
}

/* 上层 */
.header-utility {
  border-bottom: 1px solid rgba(35, 64, 90, .55);
}

.header-utility__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 3.4rem;
  padding-block: .4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex: 0 0 auto;
  color: var(--c-ice);
}

.brand__glyph {
  display: inline-flex;
  color: var(--c-lime);
}

.brand__lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  transform: skewX(-6deg);
  transform-origin: left center;
}

.brand__sub {
  margin-top: .2rem;
  font-family: var(--font-data);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--c-mist);
  text-transform: uppercase;
}

.header-claim {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-inline-start: auto;
  font-size: .8125rem;
  letter-spacing: .04em;
  color: var(--c-mist);
}

.header-claim::before {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  background-image: linear-gradient(90deg, var(--c-lime), transparent);
}

.header-contact {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  font-family: var(--font-data);
  font-size: .75rem;
  color: var(--c-mist);
  white-space: nowrap;
}

.header-contact__label {
  color: var(--c-lime);
  letter-spacing: .14em;
}

.header-contact__value {
  color: var(--c-ice);
  letter-spacing: .02em;
}

/* 下层 */
.header-main {
  position: relative;
}

.header-main__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.15rem;
}

.primary-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.primary-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem;
}

.primary-nav__link {
  position: relative;
  display: inline-block;
  padding: .55rem .85rem;
  border-radius: var(--r-pill);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-mist);
  transition: color .2s var(--ease-out), background-color .2s var(--ease-out);
}

.primary-nav__link::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .18rem;
  height: 2px;
  border-radius: 2px;
  background-color: var(--c-lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s var(--ease-out);
}

.primary-nav__link:hover { color: var(--c-ice); }
.primary-nav__link:hover::after { transform: scaleX(1); }

.primary-nav__link[aria-current="page"] {
  color: var(--c-ice);
  background-color: rgba(198, 255, 63, .06);
}

.primary-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header-cta {
  flex: 0 0 auto;
  margin-inline-start: auto;
}

/* 移动端导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  padding: .55rem .9rem;
  border: 1px solid var(--c-steel);
  border-radius: var(--r-pill);
  background-color: rgba(12, 33, 56, .65);
  color: var(--c-ice);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.4;
  transition: border-color .2s var(--ease-out), color .2s var(--ease-out);
}

.nav-toggle:hover {
  border-color: var(--c-lime);
  color: var(--c-lime);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background-color: var(--c-lime);
  transition: transform .25s var(--ease-out), opacity .2s var(--ease-out);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* 滚动进度尺 */
.header-progress {
  height: 2px;
  overflow: hidden;
  background-color: rgba(35, 64, 90, .55);
}

.header-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background-image: linear-gradient(90deg, var(--c-lime), var(--c-orange));
  transition: width .1s linear;
}

/* ---------- 10. 站点页脚 ---------- */
.site-footer {
  position: relative;
  isolation: isolate;
  margin-top: clamp(4rem, 9vw, 7rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  background-color: var(--c-space);
  border-top: 1px solid var(--c-steel);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(700px 320px at 12% 0%, rgba(198, 255, 63, .10), transparent 70%),
    radial-gradient(620px 300px at 88% 8%, rgba(255, 107, 44, .09), transparent 70%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.7fr;
  gap: 2.5rem 2rem;
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
}

.footer-col { min-width: 0; }

.brand--footer { margin-bottom: 1.1rem; }

.footer-note {
  max-width: 26ch;
  font-size: .875rem;
  line-height: 1.8;
  color: var(--c-mist);
}

.footer-icp {
  margin-top: 1rem;
  font-family: var(--font-data);
  font-size: .75rem;
  letter-spacing: .04em;
  color: var(--c-steel);
}

.footer-heading {
  margin-bottom: 1.1rem;
  font-family: var(--font-data);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.5;
  color: var(--c-lime);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-links a {
  display: inline-block;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--c-mist);
  transition: color .2s var(--ease-out), transform .2s var(--ease-out);
}

.footer-links a:hover {
  color: var(--c-ice);
  transform: translateX(3px);
}

.footer-links a:focus-visible { color: var(--c-ice); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.footer-contact > div {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.footer-contact dt {
  font-family: var(--font-data);
  font-size: .6875rem;
  letter-spacing: .16em;
  color: var(--c-steel);
  text-transform: uppercase;
}

.footer-contact dd {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--c-ice);
  overflow-wrap: anywhere;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(35, 64, 90, .6);
  font-size: .8125rem;
  color: var(--c-mist);
}

.footer-base__copy {
  font-family: var(--font-data);
  letter-spacing: .02em;
}

.footer-base__meta {
  font-size: .8125rem;
  color: var(--c-steel);
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2.25rem);
  bottom: clamp(1rem, 3vw, 2.25rem);
  z-index: 130;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.1rem;
  border: 1px solid var(--c-lime);
  border-radius: var(--r-pill);
  background-color: rgba(6, 15, 27, .94);
  color: var(--c-lime);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.3;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s var(--ease-out);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top__arrow {
  font-family: var(--font-data);
  font-size: .9375rem;
  line-height: 1;
}

/* ---------- 11. 滚动显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1080px) {
  .header-contact { display: none; }
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 7.5rem; }

  .header-claim { display: none; }

  .header-utility__inner {
    min-height: 3.1rem;
    justify-content: space-between;
  }

  .header-main__inner {
    min-height: 3.6rem;
    gap: .75rem;
  }

  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex: none;
    max-height: 72vh;
    overflow-y: auto;
    padding: .75rem var(--gutter) 1.5rem;
    background-color: #081422;
    border-bottom: 1px solid var(--c-steel);
    box-shadow: 0 28px 46px -30px rgba(0, 0, 0, .95);
  }

  .primary-nav[data-open="true"] { display: block; }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
  }

  .primary-nav__link {
    display: block;
    padding: .85rem 1rem;
    border-radius: var(--r-sm);
    font-size: 1rem;
  }

  .primary-nav__link::after { display: none; }

  .primary-nav__link[aria-current="page"] {
    background-color: rgba(198, 255, 63, .1);
    color: var(--c-lime);
  }

  .header-cta {
    font-size: .8125rem;
    padding: .6rem 1rem;
  }
}

@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }

  .display-title {
    transform: skewX(-2deg);
    transform-origin: left center;
  }

  .lede { max-width: none; }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand__name { font-size: .95rem; }

  .header-cta {
    padding: .55rem .85rem;
    font-size: .75rem;
  }

  .nav-toggle { padding: .5rem .75rem; }

  .to-top { padding: .6rem .9rem; }
}

/* ---------- 13. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .pulse-dot { animation: none; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
