/* ============================================================
   9393指南 · /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; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; }

/* ---------- 2. 变量 ---------- */
:root {
  --bg: #0A1026;
  --bg-2: #0C1533;
  --ink: #E6ECF7;
  --ink-soft: #C8D3EA;
  --muted: #8A94B0;
  --line: #2C3A5A;
  --blue: #1B5CFF;
  --violet: #7B4DFF;
  --neon: #00F5C8;
  --indigo: #2A1B5E;
  --wine: #8E2A4F;
  --ok: #38D9A9;

  --shell: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --header-h: 94px;

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

  --shadow-1: 0 26px 60px -34px rgba(0, 0, 0, .95);
  --shadow-2: 0 14px 30px -16px rgba(27, 92, 255, .85);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 中文排版与底色 ---------- */
body {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 18px);
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.02vw, 16.5px);
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--ink);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 640px at 8% -12%, rgba(27, 92, 255, .26), transparent 60%),
    radial-gradient(900px 560px at 96% 0%, rgba(123, 77, 255, .22), transparent 62%),
    radial-gradient(760px 520px at 50% 112%, rgba(0, 245, 200, .09), transparent 66%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .55;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  -webkit-mask-image: radial-gradient(1200px 720px at 50% 0%, #000, transparent 78%);
  mask-image: radial-gradient(1200px 720px at 50% 0%, #000, transparent 78%);
}

main { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #fff;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: 0; }
p { color: var(--ink); }
strong, b { color: #fff; font-weight: 700; }
small { font-size: .82em; color: var(--muted); }

::selection { background: rgba(0, 245, 200, .28); color: #fff; }

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

/* ---------- 4. 通用工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

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

.mono { font-family: var(--font-mono); letter-spacing: .06em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--neon);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .75;
}

.lead {
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.72;
  color: var(--ink-soft);
}

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line) 16%, var(--line) 84%, transparent);
}

/* ---------- 5. 分区与容器组件 ---------- */
.section {
  position: relative;
  padding: clamp(46px, 6.4vw, 88px) 0;
}
.section--indigo {
  background: linear-gradient(180deg, rgba(42, 27, 94, 0), rgba(42, 27, 94, .58) 16%, rgba(42, 27, 94, .58) 84%, rgba(42, 27, 94, 0));
}
.section--wine {
  background: linear-gradient(180deg, rgba(142, 42, 79, 0), rgba(142, 42, 79, .26) 20%, rgba(142, 42, 79, .26) 80%, rgba(142, 42, 79, 0));
}
.section--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(720px 300px at 78% 0%, rgba(0, 245, 200, .10), transparent 62%);
}

.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(42, 27, 94, .44), rgba(12, 21, 51, .74));
}

.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(42, 27, 94, .5), rgba(12, 21, 51, .78));
  box-shadow: var(--shadow-1);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(0, 245, 200, .42);
  box-shadow: 0 30px 60px -34px rgba(0, 245, 200, .35);
}

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

.stat {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(12, 21, 51, .6);
}
.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--neon);
  line-height: 1.1;
}
.stat__label { font-size: 12px; color: var(--muted); font-family: var(--font-mono); letter-spacing: .12em; }

.prose { max-width: 70ch; color: var(--ink-soft); }
.prose > * + * { margin-top: 1.05em; }
.prose h2, .prose h3 { margin-top: 1.6em; color: #fff; }
.prose ul, .prose ol { display: grid; gap: .5em; }
.prose li { position: relative; padding-left: 18px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: .78em;
  width: 7px; height: 1px;
  background: var(--neon);
}

/* ---------- 6. 按钮与标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform .22s var(--ease), filter .22s var(--ease),
    border-color .22s var(--ease), color .22s var(--ease), background-color .22s var(--ease);
}
.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--blue), var(--violet));
  box-shadow: var(--shadow-2);
}
.btn--primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn--ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, .03);
}
.btn--ghost:hover { color: var(--neon); border-color: rgba(0, 245, 200, .55); }
.btn--neon { color: #04121A; background: var(--neon); }
.btn--neon:hover { transform: translateY(-1px); filter: brightness(1.06); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .03);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--muted);
}
.tag--neon { color: var(--neon); border-color: rgba(0, 245, 200, .35); background: rgba(0, 245, 200, .08); }
.tag--violet { color: #B9A5FF; border-color: rgba(123, 77, 255, .45); background: rgba(123, 77, 255, .14); }
.tag--wine { color: #F0A6C0; border-color: rgba(142, 42, 79, .6); background: rgba(142, 42, 79, .22); }
.tag--ok { color: var(--ok); border-color: rgba(56, 217, 169, .42); background: rgba(56, 217, 169, .1); }

/* ---------- 7. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--muted);
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; color: var(--line); }
.breadcrumb__link { transition: color .2s var(--ease); }
.breadcrumb__link:hover { color: var(--neon); }
.breadcrumb__item[aria-current="page"] { color: var(--ink); }

/* ---------- 8. 图片容器基础规则 ---------- */
.media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background-color: var(--bg-2);
  background-image:
    linear-gradient(140deg, rgba(27, 92, 255, .20), rgba(123, 77, 255, .16) 52%, rgba(0, 245, 200, .12)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 34px);
}
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 21 / 9; }
.media__label {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(230, 236, 247, .62);
}

/* ---------- 9. 头部：悬浮胶囊浮岛 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  padding: 14px 0 12px;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -34px 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 16, 38, .95), rgba(10, 16, 38, .62) 56%, rgba(10, 16, 38, 0));
}

.header__shell { position: relative; }

.nav-island {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(44, 58, 90, .95);
  border-radius: var(--radius-pill);
  background-color: rgba(8, 13, 30, .74);
  background-image: linear-gradient(118deg, rgba(27, 92, 255, .16), rgba(123, 77, 255, .13) 56%, rgba(0, 245, 200, .09));
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), var(--violet) 58%, var(--neon));
  color: #050B1C;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.04em;
  box-shadow: 0 10px 22px -12px rgba(27, 92, 255, .95);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.08; }
.brand__name { font-size: 15px; font-weight: 800; letter-spacing: .02em; color: #fff; }
.brand__sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--muted);
}
.brand--stack .brand__mark { width: 40px; height: 40px; border-radius: 12px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { display: flex; min-width: 0; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted);
  transition: color .22s var(--ease), background-color .22s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--neon), var(--blue));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .26s var(--ease);
}
.nav__link[data-idx]::before {
  content: attr(data-idx);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  opacity: .55;
  color: currentColor;
  transition: opacity .22s var(--ease);
}
.nav__link:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link:hover[data-idx]::before { opacity: .9; }
.nav__link[aria-current="page"] {
  color: var(--neon);
  background: rgba(0, 245, 200, .09);
}
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 245, 200, .32);
  border-radius: var(--radius-pill);
  background: rgba(0, 245, 200, .07);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--neon);
  white-space: nowrap;
  transition: background-color .22s var(--ease), border-color .22s var(--ease);
}
.chip:hover { background: rgba(0, 245, 200, .14); border-color: rgba(0, 245, 200, .6); }
.chip__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 245, 200, .16);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, var(--blue), var(--violet));
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: 0 14px 28px -16px rgba(27, 92, 255, .95);
  transition: transform .22s var(--ease), filter .22s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.08); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .04);
  transition: border-color .22s var(--ease), background-color .22s var(--ease);
}
.nav-toggle:hover { border-color: rgba(0, 245, 200, .5); background: rgba(0, 245, 200, .08); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .26s var(--ease), background-color .26s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .26s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
[data-nav-island][data-open="true"] .nav-toggle__bars { background: transparent; }
[data-nav-island][data-open="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
[data-nav-island][data-open="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 18px; right: 18px; bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: rgba(44, 58, 90, .55);
  overflow: hidden;
}
.scroll-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--blue), var(--violet) 55%, var(--neon));
  transition: transform .12s linear;
}

.skip-link {
  position: fixed;
  top: 10px; left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--neon);
  color: #04121A;
  font-size: 13.5px;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 10. 页脚：靛紫研究板分层 ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(56px, 9vw, 120px);
  padding: clamp(44px, 6vw, 76px) 0 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(42, 27, 94, .6), rgba(10, 16, 38, .99) 62%), var(--bg);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 260px at 6% 0%, rgba(0, 245, 200, .10), transparent 62%),
    radial-gradient(720px 320px at 94% 12%, rgba(123, 77, 255, .18), transparent 64%);
}
.footer__shell { position: relative; z-index: 1; }

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.5fr 1fr;
  gap: clamp(22px, 3vw, 44px);
}

.footer__brand { display: grid; align-content: start; gap: 14px; }
.footer__note {
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; }

.footer__col { display: grid; align-content: start; gap: 12px; }
.footer__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__title::before {
  content: "";
  width: 14px; height: 1px;
  background: var(--neon);
}
.footer__col--contact .footer__title::before { background: var(--blue); }
.footer__col--legal .footer__title::before { background: var(--wine); }

.footer__list { display: grid; gap: 9px; }
.footer__list--contact { gap: 12px; }

.footer__link {
  display: inline-block;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.footer__link:hover {
  color: var(--neon);
  border-bottom-color: rgba(0, 245, 200, .55);
  transform: translateX(2px);
}

.footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer__key {
  min-width: 34px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--muted);
}
.footer__value { font-size: 13.5px; color: var(--ink); word-break: break-all; }
.footer__hint { font-size: 12px; color: var(--muted); }

.copy-btn {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--muted);
  transition: color .22s var(--ease), border-color .22s var(--ease), background-color .22s var(--ease);
}
.copy-btn:hover { color: var(--neon); border-color: rgba(0, 245, 200, .5); background: rgba(0, 245, 200, .08); }
.copy-btn[data-state="done"] { color: #04121A; background: var(--neon); border-color: var(--neon); }
.copy-btn[data-state="fail"] { color: #F0A6C0; border-color: rgba(142, 42, 79, .8); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 18px;
  border-top: 1px solid rgba(44, 58, 90, .7);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}
.footer__copyright, .footer__icp { color: var(--muted); }

/* ---------- 11. 交互型小组件 ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(9, 14, 32, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s, color .2s var(--ease), border-color .2s var(--ease);
}
.to-top[data-visible="true"] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--neon); border-color: rgba(0, 245, 200, .55); }

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

[data-toc] a[aria-current="true"] {
  color: var(--neon);
  border-color: rgba(0, 245, 200, .55);
}

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1180px) {
  .chip { display: none; }
}
@media (max-width: 1240px) {
  .nav__link[data-idx]::before { display: none; }
}
@media (max-width: 1040px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 84px; }

  .site-header { padding: 12px 0 10px; }
  .nav-island { gap: 8px; padding: 7px 8px 7px 12px; border-radius: 26px; }
  .brand__sub { display: none; }
  .brand__name { font-size: 14.5px; }

  .nav { margin-left: auto; }
  .nav__list {
    position: absolute;
    left: 0; right: 0;
    top: calc(100% + 12px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background-color: rgba(8, 13, 30, .97);
    background-image: linear-gradient(150deg, rgba(27, 92, 255, .16), rgba(42, 27, 94, .5));
    box-shadow: var(--shadow-1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  [data-nav-island][data-open="true"] .nav__list {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__item { width: 100%; }
  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 16px;
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { box-shadow: inset 0 0 0 1px rgba(0, 245, 200, .35); }

  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .scroll-progress { left: 14px; right: 14px; bottom: -8px; }
}
@media (max-width: 660px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .lead { font-size: 1rem; }
}
@media (max-width: 420px) {
  .brand__mark { width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* ---------- 13. 无障碍与减弱动效 ---------- */
@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; }
  .card:hover { transform: none; }
  .btn:hover, .nav-cta:hover { transform: none; }
}
