/* ==========================================================================
   伟博体育 · 共享样式表  /assets/site.css
   夜战战术板：蓝图网格 + 玻璃导航 + 等宽数据 + 斜切面板
   ========================================================================== */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, dl, dd, dt,
figure, figcaption, blockquote {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input, textarea, select { font: inherit; }

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

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

[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 色彩体系 */
  --ink-900: #071426;
  --ink-950: #050d18;
  --ink-800: #0E2340;
  --blue: #1B4DFF;
  --blue-soft: #3B68FF;
  --neon: #6BFF8F;
  --orange: #FF7A2F;
  --rock: #A8B6C8;
  --moss: #5E8C6A;
  --clay: #C97B4A;
  --bone: #F4F1E8;
  --cyan: #18C7D9;
  --glass: #E8EEF7;

  --line: rgba(168, 182, 200, 0.18);
  --line-mid: rgba(168, 182, 200, 0.30);
  --line-strong: rgba(168, 182, 200, 0.48);

  --glow-neon: 0 0 14px rgba(107, 255, 143, 0.55);
  --glow-blue: 0 0 18px rgba(27, 77, 255, 0.55);

  /* 字体 */
  --font-head: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  /* 尺度 */
  --header-h: 74px;
  --wrap: 1360px;
  --gap: 24px;
}

@media (max-width: 980px) {
  :root { --header-h: 62px; --gap: 18px; }
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.008em;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 620px at 6% -10%, rgba(27, 77, 255, 0.30), transparent 62%),
    radial-gradient(820px 520px at 97% 3%, rgba(24, 199, 217, 0.15), transparent 66%),
    radial-gradient(760px 700px at 62% 108%, rgba(107, 255, 143, 0.09), transparent 70%),
    repeating-linear-gradient(45deg, rgba(94, 140, 106, 0.05) 0 26px, rgba(94, 140, 106, 0) 26px 52px),
    repeating-linear-gradient(90deg, rgba(168, 182, 200, 0.075) 0 1px, rgba(168, 182, 200, 0) 1px 72px),
    repeating-linear-gradient(0deg, rgba(168, 182, 200, 0.075) 0 1px, rgba(168, 182, 200, 0) 1px 72px);
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat, repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--bone);
}

h1 { font-size: clamp(34px, 4.6vw, 54px); }
h2 { font-size: clamp(26px, 3.2vw, 34px); }
h3 { font-size: 22px; font-weight: 800; }
h4 { font-size: 18px; font-weight: 800; }

p { max-width: 68ch; }

a { transition: color 180ms ease, opacity 180ms ease; }

::selection {
  background: rgba(27, 77, 255, 0.7);
  color: #ffffff;
}

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

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

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -90px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 800;
  color: #052210;
  background: var(--neon);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: top 180ms ease;
}

.skip-link:focus { top: 12px; }

/* ---------- 5. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 20, 38, 0.58);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.site-header.is-scrolled {
  background: var(--ink-900);
  border-bottom-color: rgba(27, 77, 255, 0.55);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
  width: 100%;
  max-width: var(--wrap);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}

/* 品牌 */
.brand {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--bone);
}

.brand-mark::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--neon);
  box-shadow: var(--glow-neon);
  transform: rotate(45deg);
}

.brand-claim {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--rock);
}

.brand:hover .brand-mark { color: var(--neon); }

/* 导航 */
.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1vw, 16px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--rock);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms ease, background-color 200ms ease;
}

.nav-link:hover,
.nav-link:focus-visible { color: var(--bone); }

.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { color: var(--bone); }

.nav-link[aria-current="page"]::after {
  background: var(--neon);
  box-shadow: var(--glow-neon);
  transform: scaleX(1);
}

/* 头部操作区 */
.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.version-switch {
  padding: 7px 12px;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--cyan);
  border: 1px solid rgba(24, 199, 217, 0.45);
  background: rgba(24, 199, 217, 0.07);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.version-switch:hover,
.version-switch:focus-visible {
  color: var(--bone);
  background: rgba(24, 199, 217, 0.18);
  border-color: var(--cyan);
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--bone);
  border: 1px solid var(--line-mid);
  background: rgba(232, 238, 247, 0.06);
  transition: border-color 180ms ease, color 180ms ease;
}

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

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 220ms ease;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 滚动进度线 */
.header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan) 55%, var(--neon));
  box-shadow: 0 0 12px rgba(107, 255, 143, 0.65);
  transition: width 120ms linear;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--bone);
  border: 1px solid transparent;
  text-align: center;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

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

.btn-primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(107, 255, 143, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-soft);
  box-shadow: 0 10px 28px rgba(27, 77, 255, 0.45);
}

.btn-ghost {
  color: var(--bone);
  background: rgba(232, 238, 247, 0.06);
  border-color: var(--line-mid);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--neon);
  border-color: var(--neon);
  background: rgba(107, 255, 143, 0.08);
  box-shadow: 0 0 20px rgba(107, 255, 143, 0.2);
}

.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ---------- 7. 布局与容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}

.wrap--narrow { max-width: 900px; }

.section {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0;
}

.section--tight { padding: clamp(28px, 4vw, 52px) 0; }

.section--alt {
  background: rgba(14, 35, 64, 0.55);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

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

@media (max-width: 900px) {
  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
}

/* ---------- 8. 标题与索引 ---------- */
.coord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.coord::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.display { font-size: clamp(38px, 5.4vw, 58px); }

.section-title {
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  background: var(--blue);
  box-shadow: var(--glow-blue);
}

.lede {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.75;
  color: rgba(244, 241, 232, 0.86);
}

/* ---------- 9. 面板 / 卡片 / 标签 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--ink-800);
  border: 1px solid var(--line);
}

.panel--glass {
  background: rgba(232, 238, 247, 0.09);
  border-color: rgba(232, 238, 247, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cut { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.cut--left { clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%, 0 22px); }

.corner-tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 10px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #ffffff;
  background: var(--blue);
}

.card {
  padding: 20px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.card:hover {
  border-color: rgba(27, 77, 255, 0.7);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--rock);
  border: 1px solid var(--line-mid);
  background: rgba(232, 238, 247, 0.04);
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.chip:hover { color: var(--bone); border-color: var(--cyan); }

.chip--on,
.chip[aria-pressed="true"] {
  color: var(--neon);
  border-color: var(--neon);
  background: rgba(107, 255, 143, 0.12);
  box-shadow: 0 0 16px rgba(107, 255, 143, 0.22);
}

.chip--warn { color: var(--orange); border-color: rgba(255, 122, 47, 0.6); }

/* ---------- 10. 数据表达 ---------- */
.mono,
.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.num-glow {
  color: var(--neon);
  text-shadow: 0 0 16px rgba(107, 255, 143, 0.55);
}

.num-warn {
  color: var(--orange);
  text-shadow: 0 0 14px rgba(255, 122, 47, 0.4);
}

.meter {
  height: 10px;
  background: rgba(168, 182, 200, 0.14);
  border-left: 1px solid var(--line-mid);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: var(--neon);
  box-shadow: 0 0 14px rgba(107, 255, 143, 0.6);
  transition: width 420ms ease;
}

.meter-fill--loss {
  background: var(--orange);
  box-shadow: 0 0 14px rgba(255, 122, 47, 0.5);
}

/* ---------- 11. 正文 / 面包屑 ---------- */
.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(244, 241, 232, 0.86);
}

.prose p + p { margin-top: 1em; }
.prose h3 { margin: 1.6em 0 0.6em; }
.prose ul,
.prose ol { margin: 1em 0 1em 1.2em; list-style: disc; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--neon); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--rock);
}

.breadcrumbs a { color: var(--rock); }
.breadcrumbs a:hover { color: var(--cyan); }

.breadcrumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: rgba(168, 182, 200, 0.45);
}

/* ---------- 12. 图片 / 图表容器 ---------- */
.figure {
  position: relative;
  display: block;
  margin: 0;
  background: var(--ink-800);
  border: 1px solid var(--line);
  overflow: hidden;
}

.figure img,
.figure svg,
.figure > .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(168, 182, 200, 0.09) 0 1px, rgba(168, 182, 200, 0) 1px 48px),
    repeating-linear-gradient(0deg, rgba(168, 182, 200, 0.09) 0 1px, rgba(168, 182, 200, 0) 1px 48px);
}

.figure--16x9 { aspect-ratio: 16 / 9; }
.figure--4x3 { aspect-ratio: 4 / 3; }
.figure--1x1 { aspect-ratio: 1 / 1; }
.figure--wide { aspect-ratio: 21 / 9; }

.img-placeholder {
  display: block;
  background-image:
    radial-gradient(420px 260px at 22% 18%, rgba(27, 77, 255, 0.42), transparent 68%),
    radial-gradient(360px 240px at 82% 78%, rgba(24, 199, 217, 0.28), transparent 70%),
    linear-gradient(160deg, rgba(14, 35, 64, 0.95), rgba(7, 20, 38, 0.98));
}

.figure-caption {
  padding: 10px 2px 0;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--rock);
}

/* ---------- 13. 可展开内容组 ---------- */
.disclosure {
  background: rgba(14, 35, 64, 0.6);
  border: 1px solid var(--line);
}

.disclosure + .disclosure { margin-top: 10px; }

.disclosure-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  text-align: left;
  color: var(--bone);
  transition: color 180ms ease, background-color 180ms ease;
}

.disclosure-btn:hover { color: var(--neon); background: rgba(107, 255, 143, 0.05); }

.disclosure-icon {
  flex: 0 0 auto;
  font-family: var(--font-num);
  font-size: 18px;
  line-height: 1;
  color: var(--cyan);
  transition: transform 260ms ease, color 260ms ease;
}

.disclosure.is-open .disclosure-icon { transform: rotate(45deg); color: var(--neon); }

.disclosure-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.disclosure.is-open .disclosure-panel { max-height: 1400px; }

.disclosure-body {
  padding: 0 18px 18px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(244, 241, 232, 0.82);
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  margin: 0 18px 18px;
}

/* ---------- 14. 显现与工具类 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

.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;
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  color: var(--rock);
  background-color: var(--ink-950);
  background-image:
    linear-gradient(180deg, rgba(7, 20, 38, 0) 0%, rgba(5, 13, 24, 0.92) 24%, #050d18 100%),
    repeating-linear-gradient(90deg, rgba(168, 182, 200, 0.06) 0 1px, rgba(168, 182, 200, 0) 1px 72px),
    repeating-linear-gradient(0deg, rgba(168, 182, 200, 0.06) 0 1px, rgba(168, 182, 200, 0) 1px 72px);
  border-top: 1px solid rgba(27, 77, 255, 0.45);
}

.footer-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(44px, 5.5vw, 72px) clamp(16px, 3vw, 40px) 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 1.35fr;
  gap: clamp(24px, 3vw, 46px);
}

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

.footer-mark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--bone);
}

.footer-mark::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--neon);
  box-shadow: var(--glow-neon);
  transform: rotate(45deg);
}

.footer-slogan {
  max-width: 30ch;
  margin: 12px 0 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rock);
}

.footer-title {
  margin-bottom: 16px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.footer-list li + li { margin-top: 10px; }

.footer-list a {
  display: inline-block;
  font-size: 15px;
  color: var(--rock);
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--bone);
  border-bottom-color: var(--neon);
}

.footer-meta li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.65;
}

.footer-meta li + li { margin-top: 8px; }

.meta-key {
  flex: 0 0 42px;
  padding-top: 3px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--moss);
}

.meta-val {
  color: var(--bone);
  word-break: break-word;
}

.footer-note {
  max-width: 34ch;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(168, 182, 200, 0.75);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(168, 182, 200, 0.8);
}

.footer-copy,
.footer-icp { font-family: var(--font-num); }

.legal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-list a { color: rgba(168, 182, 200, 0.85); }
.legal-list a:hover { color: var(--neon); }

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1180px) {
  .brand-claim { display: none; }
}

@media (max-width: 1080px) {
  .version-switch { display: none; }
}

@media (max-width: 980px) {
  body { font-size: 16px; }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: var(--ink-900);
    border-bottom: 1px solid rgba(27, 77, 255, 0.5);
    box-shadow: 0 26px 44px rgba(0, 0, 0, 0.55);
    transition: max-height 260ms ease, visibility 260ms ease;
  }

  .site-nav[data-open] {
    max-height: min(72vh, 560px);
    overflow-y: auto;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px clamp(16px, 4vw, 28px) 22px;
  }

  .nav-link {
    display: block;
    padding: 15px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav-link::after {
    left: 4px;
    right: auto;
    bottom: 9px;
    width: 24px;
  }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-slogan { max-width: none; }
}

@media (max-width: 640px) {
  .header-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .footer-inner { padding-bottom: 22px; }
  h1 { font-size: clamp(28px, 8.4vw, 36px); }
  .display { font-size: clamp(30px, 9vw, 42px); }
  .nav-toggle-label { display: none; }
}

/* ---------- 17. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .js [data-reveal] { opacity: 1; transform: none; }
  .card:hover { transform: none; }
  .btn:hover { transform: none; }
}
