/* =========================================================
   三亿看台 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 页头 / 页脚 / 通用组件
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 70% at 50% -20%, rgba(30, 78, 122, .55) 0%, rgba(11, 27, 43, 0) 62%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  background-repeat: no-repeat;
  color: var(--silver);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

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

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #0B1B2B;
  --ink-deep: #060E16;
  --paper: #F3EDE2;
  --green: #3BFF9A;
  --amber: #FFA93A;
  --silver: #C6D3DF;
  --pitch: #0F3B33;
  --legacy: #6E7FA8;
  --danger: #E2566A;

  --glass: rgba(11, 27, 43, .72);
  --glass-soft: rgba(11, 27, 43, .45);
  --line: rgba(198, 211, 223, .18);
  --line-strong: rgba(198, 211, 223, .34);
  --ink-line: rgba(11, 27, 43, .14);

  --header-h: 76px;
  --radius-capsule: 999px;
  --radius-card: 18px;
  --measure: 36em;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 160ms;
  --shadow-soft: 0 22px 48px -30px rgba(0, 0, 0, .95);
}

/* ---------- 3. 中文排版与基础元素 ---------- */
h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--paper);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); font-weight: 800; line-height: 1.08; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.24rem); }
h4 { font-size: .98rem; letter-spacing: .02em; }

.display {
  font-size: clamp(2.1rem, 5.6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--paper);
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.8;
  color: var(--silver);
  max-width: var(--measure);
}

.muted { color: rgba(198, 211, 223, .66); font-size: .86rem; }

.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.annot {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(198, 211, 223, .72);
}
.annot--rot {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: .34em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
#main-content { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- 4. 布局壳与栅格 ---------- */
.shell {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 36px);
}

.section {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
}
.section--ink { background: var(--ink-deep); }
.section--pitch {
  background: linear-gradient(180deg, var(--pitch) 0%, var(--ink-deep) 100%);
}
.section--paper {
  background: var(--paper);
  color: var(--ink);
}
.section--paper h1,
.section--paper h2,
.section--paper h3,
.section--paper h4 { color: var(--ink); }
.section--paper .lede,
.section--paper .muted { color: rgba(11, 27, 43, .78); }
.section--paper .annot { color: rgba(11, 27, 43, .58); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 3vw, 34px);
}
.section-index {
  display: block;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .28em;
  color: var(--green);
  margin-bottom: 8px;
}
.section-title { margin: 0; }
.section-note {
  font-size: .82rem;
  color: rgba(198, 211, 223, .7);
  max-width: 26em;
}

.band {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0%, var(--amber) 46%, rgba(110, 127, 168, .35) 72%, rgba(198, 211, 223, 0) 100%);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 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)); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }

/* ---------- 5. 正文阅读面 ---------- */
.prose {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-card);
  padding: clamp(20px, 4vw, 44px);
  max-width: var(--measure);
  line-height: 1.85;
  box-shadow: var(--shadow-soft);
}
.prose h2, .prose h3 { color: var(--ink); }
.prose p { margin: 0 0 1.1em; }
.prose a {
  color: #0E5C3A;
  border-bottom: 1px solid rgba(14, 92, 58, .4);
}
.prose a:hover { border-bottom-color: #0E5C3A; }
.prose ul { list-style: none; }
.prose ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: .5em;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: 8px; height: 2px;
  background: var(--green);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-capsule);
  border: 1px solid transparent;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.btn--solid { background: var(--green); color: var(--ink); border-color: var(--green); }
.btn--solid:hover { background: transparent; color: var(--green); }
.btn--ghost { background: transparent; color: var(--silver); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--amber { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn--amber:hover { background: transparent; color: var(--amber); }

/* ---------- 7. 标签与筛选 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: var(--radius-capsule);
  border: 1px solid var(--line-strong);
  background: var(--glass-soft);
  color: var(--silver);
  font-size: .82rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.is-active,
.chip[aria-pressed="true"] {
  border-color: var(--green);
  color: var(--green);
  background: rgba(59, 255, 154, .1);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(110, 127, 168, .5);
  background: rgba(110, 127, 168, .2);
  color: var(--silver);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}
.tag--legacy { border-color: var(--legacy); background: rgba(110, 127, 168, .26); color: #BBC8E8; }
.tag--v2 { border-color: rgba(59, 255, 154, .5); background: rgba(59, 255, 154, .14); color: var(--green); }
.tag--live { border-color: rgba(255, 169, 58, .55); background: rgba(255, 169, 58, .16); color: var(--amber); }

/* ---------- 8. 卡片 ---------- */
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(16px, 2.4vw, 26px);
  background: linear-gradient(180deg, rgba(11, 27, 43, .92) 0%, rgba(6, 14, 22, .94) 100%);
  box-shadow: var(--shadow-soft);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { border-color: var(--green); transform: translateY(-2px); }
.card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.card__head h3 { margin: 0; }
.card__body { color: rgba(198, 211, 223, .82); font-size: .94rem; }
.card--paper {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink-line);
}
.card--paper .card__body { color: rgba(11, 27, 43, .78); }
.card--paper h3 { color: var(--ink); }

/* ---------- 9. 数据组件 ---------- */
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--amber);
}
.stat__label {
  font-size: .78rem;
  letter-spacing: .12em;
  color: rgba(198, 211, 223, .78);
}

.scoreline {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
}
.scoreline__num {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
}
.scoreline__sep { color: rgba(198, 211, 223, .55); font-size: 1.4rem; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
}
.data-table th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-strong);
  color: rgba(198, 211, 223, .82);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  white-space: nowrap;
}
.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  color: rgba(198, 211, 223, .9);
}
.data-table tbody tr { transition: background-color var(--dur) var(--ease); }
.data-table tbody tr:hover { background: rgba(59, 255, 154, .06); }
.data-table .num { color: var(--paper); }

.section--paper .data-table th { color: rgba(11, 27, 43, .6); border-bottom-color: var(--ink-line); }
.section--paper .data-table td { color: var(--ink); border-bottom-color: var(--ink-line); }
.section--paper .data-table tbody tr:hover { background: rgba(15, 59, 51, .07); }
.section--paper .data-table .num { color: var(--ink); }

.timeline {
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
}
.timeline li {
  position: relative;
  padding-bottom: 20px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--silver);
}
.timeline li.is-current::before {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 169, 58, .18);
}
.timeline__time {
  display: block;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--amber);
  margin-bottom: 4px;
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(198, 211, 223, .72);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before {
  content: "/";
  color: var(--legacy);
}
.breadcrumb a {
  color: rgba(198, 211, 223, .72);
  transition: color var(--dur) var(--ease);
}
.breadcrumb a:hover { color: var(--green); }
.breadcrumb [aria-current="page"] { color: var(--paper); }

/* ---------- 11. 图片容器（响应式，页面阶段放图） ---------- */
.figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, #16344F 0%, #08131F 58%, var(--pitch) 100%);
  aspect-ratio: 16 / 10;
  min-height: 160px;
}
.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(198, 211, 223, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 211, 223, .07) 1px, transparent 1px);
  background-size: 34px 34px;
}
.figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure__cap {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-capsule);
  background: var(--glass);
  backdrop-filter: blur(8px);
  color: var(--paper);
  font-size: .72rem;
  letter-spacing: .08em;
}
.figure--wide { aspect-ratio: 21 / 9; }
.figure--tall { aspect-ratio: 3 / 4; }
.figure--square { aspect-ratio: 1 / 1; }

/* ---------- 12. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -72px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-capsule);
  background: var(--green);
  color: var(--ink);
  font-size: .86rem;
  font-weight: 700;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 13. 页头 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(6, 14, 22, .92) 0%, rgba(6, 14, 22, .58) 62%, rgba(6, 14, 22, 0) 100%);
  transition: background-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(6, 14, 22, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-shell {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 16px);
  height: var(--header-h);
}

/* 品牌岛 */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 3px);
  gap: 3px;
  align-items: end;
  height: 26px;
}
.brand-mark span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--green);
}
.brand-mark span:nth-child(1) { height: 11px; opacity: .7; }
.brand-mark span:nth-child(2) { height: 18px; opacity: .85; }
.brand-mark span:nth-child(3) { height: 26px; background: var(--amber); }
.brand-name {
  display: block;
  color: var(--paper);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.2;
}
.brand-sub {
  display: block;
  color: rgba(198, 211, 223, .68);
  font-size: .64rem;
  letter-spacing: .18em;
}

/* 胶囊导航岛 */
.nav-capsule {
  display: flex;
  margin-inline: auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-capsule);
  background: var(--glass);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-capsule);
  color: rgba(198, 211, 223, .82);
  font-size: .88rem;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-list a:hover {
  background: var(--pitch);
  color: var(--green);
}
.nav-list a[aria-current="page"] {
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
}

/* 版本切换岛 */
.version-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-capsule);
  background: var(--glass);
  backdrop-filter: blur(14px);
}
.version-switch__label {
  font-size: .62rem;
  letter-spacing: .2em;
  color: rgba(198, 211, 223, .6);
}
.version-switch__track {
  position: relative;
  display: flex;
  gap: 2px;
  padding: 2px;
  border-radius: var(--radius-capsule);
  background: rgba(6, 14, 22, .7);
}
.version-switch__thumb {
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 0;
  border-radius: var(--radius-capsule);
  background: var(--legacy);
  transition: transform var(--dur) var(--ease), width var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}
.version-switch[data-version="v2"] .version-switch__thumb { background: var(--green); }
.version-btn {
  position: relative;
  z-index: 1;
  padding: 5px 12px;
  border: 0;
  border-radius: var(--radius-capsule);
  background: transparent;
  color: rgba(198, 211, 223, .82);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.version-btn.is-active { color: var(--paper); }
.version-switch[data-version="v2"] .version-btn.is-active { color: var(--ink); }

/* 页头 CTA */
.header-cta {
  flex-shrink: 0;
  padding: 10px 18px;
  border: 1px solid var(--green);
  border-radius: var(--radius-capsule);
  background: var(--green);
  color: var(--ink);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.header-cta:hover { background: transparent; color: var(--green); }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-capsule);
  background: var(--glass);
  color: var(--silver);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--green); color: var(--green); }
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle__text { font-size: .8rem; letter-spacing: .08em; }

/* 滚动进度光带 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(198, 211, 223, .08);
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--green) 0%, var(--amber) 100%);
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 110px);
  background: var(--ink-deep);
  color: rgba(198, 211, 223, .8);
}
.footer-band {
  height: 6px;
  background: linear-gradient(90deg, var(--green) 0%, var(--amber) 38%, var(--legacy) 64%, var(--pitch) 100%);
}
.footer-shell { padding-block: clamp(40px, 6vw, 76px) 28px; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.footer-brand { position: relative; padding-right: 46px; }
.footer-wordmark {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 237, 226, .42);
}
.footer-tagline {
  margin: 0;
  font-size: .84rem;
  line-height: 1.8;
  color: rgba(198, 211, 223, .7);
}
.footer-brand .annot--rot {
  position: absolute;
  top: 4px;
  right: 6px;
  color: rgba(59, 255, 154, .55);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.footer-col__title {
  margin: 0 0 14px;
  color: var(--paper);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.footer-list { display: grid; gap: 9px; }
.footer-list a {
  color: rgba(198, 211, 223, .78);
  font-size: .88rem;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer-list a:hover { color: var(--green); border-bottom-color: var(--green); }
.footer-list--plain li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  color: rgba(198, 211, 223, .7);
}

.footer-contact__line {
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: .84rem;
  line-height: 1.9;
  color: rgba(198, 211, 223, .72);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding-top: 20px;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  font-size: .78rem;
  color: rgba(198, 211, 223, .62);
}
.footer-dot { color: var(--legacy); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal-links a {
  color: rgba(198, 211, 223, .72);
  font-size: .78rem;
  transition: color var(--dur) var(--ease);
}
.footer-legal-links a:hover { color: var(--green); }

/* ---------- 15. 显现与闪动 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

.is-flash { animation: flash-bg .9s var(--ease); }
@keyframes flash-bg {
  0% { background-color: rgba(59, 255, 154, .14); }
  100% { background-color: transparent; }
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1180px) {
  .brand-sub { display: none; }
  .nav-list a { padding: 8px 10px; font-size: .84rem; }
  .header-cta { padding: 10px 14px; font-size: .8rem; }
}

@media (max-width: 1024px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-4 { grid-column: span 6; }
  .span-6 { grid-column: span 6; }
  .span-7, .span-8 { grid-column: span 12; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { padding-right: 0; }
  .footer-brand .annot--rot { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }

  .brand-name { font-size: .94rem; }

  .nav-capsule {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: 14px;
    right: 14px;
    z-index: 130;
    display: block;
    margin: 0;
    padding: 10px;
    border-radius: 20px;
    background: rgba(6, 14, 22, .96);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
      visibility 0s linear var(--dur);
  }
  .nav-capsule[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list a {
    padding: 13px 16px;
    border-radius: 14px;
    font-size: .95rem;
    border: 1px solid transparent;
  }
  .nav-list a:hover { border-color: rgba(59, 255, 154, .4); }

  .version-switch { margin-left: auto; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 700px) {
  .version-switch__label { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .span-4, .span-6, .span-7, .span-8 { grid-column: span 12; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section-head { align-items: flex-start; }
}

@media (max-width: 420px) {
  .brand-mark { display: none; }
  .nav-toggle__text { display: none; }
}

/* ---------- 17. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}
