/* ============================================================
   版本彩讯 / 共享样式表 /assets/site.css
   深空黑 + 蓝图网格 + 鎏金渐变 + 霓虹青
   ============================================================ */

/* ---------- 1. 变量 ---------- */
:root {
  --ink: #05070C;
  --ink-2: #0D1220;
  --blueprint: #1C2438;
  --text: #E8ECF4;
  --muted: #98A2B8;
  --gold: #E8B54B;
  --gold-lite: #F7DCA0;
  --gold-deep: #C9922F;
  --cyan: #35E6D2;
  --ruby: #E2455C;
  --violet: #8B5CF6;
  --green: #3DD68C;

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-display: "Inter Display", "Inter", "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1200px;
  --wrap-narrow: 820px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.22, .7, .24, 1);
  --shadow-float: 0 30px 80px -52px rgba(0, 0, 0, .96);
  --header-gap: 24px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 82% at 50% -8%, rgba(53, 230, 210, .07), transparent 62%),
    radial-gradient(96% 74% at 88% 4%, rgba(232, 181, 75, .06), transparent 58%),
    linear-gradient(to right, rgba(28, 36, 56, .52) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 36, 56, .26) 1px, transparent 1px);
  background-size: 120% 82%, 96% 74%, 88px 88px, 88px 88px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-position: center top, center top, center top, center top;
}

body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button { font: inherit; color: inherit; }

ul, ol { margin: 0; padding: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--blueprint);
  margin: clamp(28px, 4vw, 52px) 0;
}

::selection {
  background: rgba(232, 181, 75, .28);
  color: #fff;
}

/* ---------- 3. 中文排版 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 900; }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 700; }
h4 { font-size: clamp(16px, 1.5vw, 18px); font-weight: 700; }

h1 + p, h2 + p, h3 + p { margin-top: 0; }

p {
  margin: 0 0 1.15em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}

p:last-child { margin-bottom: 0; }

a { color: var(--cyan); text-decoration: none; transition: color .22s var(--ease); }
a:hover { color: var(--gold-lite); }

strong { font-weight: 700; color: #fff; }

@media (min-width: 900px) {
  body { font-size: 17px; }
  p { font-size: 17px; }
}

/* ---------- 4. 工具类 ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: linear-gradient(120deg, var(--gold-lite), var(--gold));
  color: #1A1206;
  font-weight: 700;
  font-size: 15px;
  transition: top .26s var(--ease);
}
.skip-link:focus { top: 0; color: #1A1206; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- 5. 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--flush { padding-top: 0; }

.band {
  background: var(--ink-2);
  border-radius: var(--radius-lg);
  padding-block: clamp(40px, 6vw, 80px);
  padding-inline: var(--gutter);
}
.band--soft { background: rgba(13, 18, 32, .62); }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.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)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .split, .split--rev { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 6. 文字组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .75;
}

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.8;
  color: var(--muted);
  max-width: 56ch;
}

.section-title {
  margin: 0 0 clamp(24px, 3vw, 44px);
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .26s var(--ease), box-shadow .3s var(--ease),
              background-color .3s var(--ease), border-color .3s var(--ease),
              color .3s var(--ease);
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold-lite), var(--gold) 46%, var(--gold-deep));
  color: #1A1206;
  box-shadow: 0 12px 32px -18px rgba(232, 181, 75, .9);
}
.btn-gold:hover {
  color: #1A1206;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -18px rgba(232, 181, 75, 1);
}

.btn-ghost {
  background: rgba(28, 36, 56, .38);
  border-color: var(--blueprint);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(53, 230, 210, .6);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-cyan {
  background: rgba(53, 230, 210, .12);
  border-color: rgba(53, 230, 210, .46);
  color: var(--cyan);
}
.btn-cyan:hover {
  background: rgba(53, 230, 210, .2);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ---------- 8. 标签与胶囊 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--blueprint);
  border-radius: var(--radius-pill);
  background: rgba(13, 18, 32, .68);
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color .24s var(--ease), border-color .24s var(--ease),
              background-color .24s var(--ease), transform .24s var(--ease);
}
.pill:hover {
  color: var(--text);
  border-color: rgba(53, 230, 210, .55);
  background: rgba(53, 230, 210, .09);
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge--gold { background: rgba(232, 181, 75, .14); color: var(--gold); border-color: rgba(232, 181, 75, .4); }
.badge--cyan { background: rgba(53, 230, 210, .13); color: var(--cyan); border-color: rgba(53, 230, 210, .38); }
.badge--ruby { background: rgba(226, 69, 92, .15); color: var(--ruby); border-color: rgba(226, 69, 92, .42); }
.badge--violet { background: rgba(139, 92, 246, .17); color: var(--violet); border-color: rgba(139, 92, 246, .46); }
.badge--green { background: rgba(61, 214, 140, .14); color: var(--green); border-color: rgba(61, 214, 140, .4); }

/* ---------- 9. 卡片与画布 ---------- */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 32px);
  background: linear-gradient(180deg, rgba(28, 36, 56, .58), rgba(13, 18, 32, .74));
  border: 1px solid rgba(28, 36, 56, .78);
  transition: border-color .3s var(--ease), transform .32s var(--ease);
}
.card:hover { border-color: rgba(53, 230, 210, .36); transform: translateY(-3px); }

.canvas-panel {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 40px);
  background: linear-gradient(180deg, rgba(13, 18, 32, .92), rgba(5, 7, 12, .58));
  overflow: hidden;
}
.canvas-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 8% 0%, rgba(53, 230, 210, .1), transparent 62%),
    radial-gradient(60% 60% at 96% 100%, rgba(232, 181, 75, .1), transparent 60%);
  pointer-events: none;
}
.canvas-panel > * { position: relative; z-index: 1; }

/* ---------- 10. 版本镜像双栏 ---------- */
.mirror {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
  align-items: stretch;
}
.mirror-side {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 34px);
  background: linear-gradient(180deg, rgba(13, 18, 32, .9), rgba(5, 7, 12, .55));
  border-top: 2px solid var(--accent, var(--blueprint));
}
.mirror-side::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--accent-soft, transparent), transparent 55%);
  pointer-events: none;
}
.mirror-side > * { position: relative; z-index: 1; }
.mirror-side--cn { --accent: var(--ruby); --accent-soft: rgba(226, 69, 92, .12); }
.mirror-side--apple { --accent: var(--violet); --accent-soft: rgba(139, 92, 246, .13); }

@media (max-width: 720px) {
  .mirror { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 11. 数据组件 ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--blueprint);
  font-size: 15px;
}
.data-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.data-table tbody tr:hover td { background: rgba(28, 36, 56, .34); }
.data-table .num,
.data-table td.num {
  font-family: var(--font-mono);
  text-align: right;
  letter-spacing: .04em;
}

.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-value--gold { color: var(--gold); }
.stat-value--cyan { color: var(--cyan); }
.stat-value--green { color: var(--green); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 12. 媒体容器（页面阶段放占位图） ---------- */
.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(28, 36, 56, .8);
  background:
    radial-gradient(120% 120% at 12% 8%, rgba(53, 230, 210, .16), transparent 62%),
    radial-gradient(110% 120% at 88% 92%, rgba(232, 181, 75, .15), transparent 60%),
    var(--ink-2);
}
.media-frame > img,
.media-frame > svg,
.media-frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--curve { aspect-ratio: 32 / 9; }

/* ---------- 13. 可展开内容组 ---------- */
.acc { border-top: 1px solid var(--blueprint); }
.acc-item { border-bottom: 1px solid var(--blueprint); }

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: color .22s var(--ease);
}
.acc-trigger:hover { color: var(--gold-lite); }

.acc-marker {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blueprint);
  border-radius: var(--radius-pill);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
  transition: transform .24s var(--ease), border-color .24s var(--ease),
              background-color .24s var(--ease);
}
.acc-trigger[aria-expanded="true"] .acc-marker {
  transform: rotate(45deg);
  border-color: var(--cyan);
  background: rgba(53, 230, 210, .14);
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .24s var(--ease);
}
.acc-panel[data-open] { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { color: var(--muted); padding-bottom: 22px; max-width: 62ch; }

/* ---------- 14. 章节坐标索引 ---------- */
.rail {
  position: sticky;
  top: calc(104px + var(--header-gap));
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}
.rail-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  transition: color .22s var(--ease);
}
.rail-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid currentColor;
  transition: background-color .22s var(--ease), box-shadow .22s var(--ease);
}
.rail-link:hover { color: var(--text); }
.rail-link[aria-current="true"] { color: var(--gold); }
.rail-link[aria-current="true"]::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(232, 181, 75, .16);
}

/* ---------- 15. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(18px, 2.4vw, 30px);
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
}
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; opacity: .45; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current="page"] { color: var(--text); }

/* ---------- 16. 滚动显现 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 17. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px clamp(12px, 3vw, 28px) 0;
  margin-bottom: var(--header-gap);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, var(--ink) 8%, rgba(5, 7, 12, .72) 58%, rgba(5, 7, 12, 0));
  pointer-events: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.scroll-progress > span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--gold) 68%, var(--gold-lite));
  transition: transform .12s linear;
}

.nav-capsule {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 22px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 10px 8px 18px;
  border: 1px solid rgba(28, 36, 56, .95);
  border-radius: var(--radius-pill);
  background: rgba(13, 18, 32, .8);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow-float);
  transition: max-width .5s var(--ease), padding .4s var(--ease),
              background-color .4s var(--ease), border-color .4s var(--ease);
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--gold-lite), var(--gold) 52%, var(--gold-deep));
  color: #1A1206;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
}

.nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  max-width: 900px;
  overflow: hidden;
  transition: max-width .45s var(--ease), opacity .28s var(--ease),
              visibility .28s var(--ease);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .24s var(--ease), background-color .24s var(--ease);
}
.nav-link:hover {
  color: var(--text);
  background: rgba(53, 230, 210, .09);
}
.nav-link[aria-current="page"] {
  color: #1A1206;
  font-weight: 700;
  background: linear-gradient(120deg, var(--gold-lite), var(--gold));
  box-shadow: 0 10px 26px -18px rgba(232, 181, 75, .95);
}

.nav-current {
  display: none;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(53, 230, 210, .3);
  border-radius: var(--radius-pill);
  background: rgba(53, 230, 210, .1);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  white-space: nowrap;
}

.nav-cta { margin-left: auto; flex: 0 0 auto; }

.nav-toggle {
  display: none;
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--blueprint);
  border-radius: var(--radius-pill);
  background: rgba(28, 36, 56, .5);
  cursor: pointer;
  transition: border-color .24s var(--ease), background-color .24s var(--ease);
}
.nav-toggle:hover { border-color: rgba(53, 230, 210, .5); }

.nav-toggle-bar {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform .32s var(--ease);
}
.nav-toggle-bar:nth-of-type(1) { top: 17px; }
.nav-toggle-bar:nth-of-type(2) { top: 23px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(1) { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(2) { transform: translateY(-3px) rotate(-45deg); }

@media (min-width: 921px) {
  .site-header.is-condensed .nav-capsule {
    max-width: 860px;
    padding-inline: 16px 10px;
    background: rgba(13, 18, 32, .92);
  }
  .site-header.is-condensed .nav-list {
    max-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .site-header.is-condensed .nav-current { display: inline-flex; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 5;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .28s var(--ease), transform .28s var(--ease),
                visibility .28s var(--ease);
  }
  .site-header[data-open] .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-width: none;
    overflow: visible;
    padding: 12px;
    border: 1px solid var(--blueprint);
    border-radius: 26px;
    background: rgba(13, 18, 32, .97);
    box-shadow: 0 40px 80px -48px rgba(0, 0, 0, 1);
  }

  .nav-link {
    width: 100%;
    height: 48px;
    padding: 0 18px;
    justify-content: flex-start;
    font-size: 16px;
    border-radius: 16px;
  }
}

@media (max-width: 560px) {
  .nav-capsule { gap: 8px; padding: 7px 8px 7px 14px; }
  .brand-text { font-size: 15px; }
  .brand-mark { width: 28px; height: 28px; font-size: 10px; }
  .nav-cta { height: 38px; padding: 0 14px; font-size: 13px; }
  .nav-toggle { width: 38px; height: 38px; }
  .nav-toggle-bar { left: 10px; width: 16px; }
  .nav-toggle-bar:nth-of-type(1) { top: 15px; }
  .nav-toggle-bar:nth-of-type(2) { top: 21px; }
}

/* ---------- 18. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(60px, 10vw, 140px);
  border-top: 1px solid var(--blueprint);
  background: var(--ink-2);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 181, 75, .7) 32%, rgba(53, 230, 210, .62) 68%, transparent);
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 10% 0%, rgba(232, 181, 75, .1), transparent 62%),
    radial-gradient(70% 62% at 90% 8%, rgba(53, 230, 210, .08), transparent 62%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 80px) var(--gutter) clamp(24px, 3vw, 36px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 64px);
}

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

.footer-col--brand .brand { margin-bottom: 16px; }
.brand--footer .brand-text { font-size: 19px; }

.footer-tagline {
  max-width: 34ch;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.footer-facts {
  list-style: none;
  display: grid;
  gap: 8px;
}
.footer-facts li {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.footer-heading {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  transition: color .22s var(--ease), transform .22s var(--ease);
}
.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .55;
  transition: background-color .22s var(--ease), opacity .22s var(--ease);
}
.footer-links a:hover {
  color: var(--gold);
  transform: translateX(3px);
}
.footer-links a:hover::before {
  background: var(--gold);
  opacity: 1;
}

.footer-note {
  margin: 0 0 18px;
  max-width: 40ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.footer-contact-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.footer-contact-list li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.footer-fact-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-fact-val {
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  word-break: break-word;
}
.footer-fact-val.mono { font-size: 12.5px; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--blueprint);
}

.footer-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

.footer-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-pills .pill { font-size: 13px; padding: 7px 15px; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--contact { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-col--contact { grid-column: auto; }
  .footer-contact-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ---------- 19. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .acc-panel { transition: none; }
  .scroll-progress > span { transition: none; }
}
