/* ===== 华体登录 · 全站共享样式 /assets/site.css ===== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }

:root {
  --abyss: #060E1F;
  --deep: #0A1730;
  --silver: #C9D3E0;
  --mist: #8494A8;
  --cyan: #2FE0E8;
  --teal: #0E7C86;
  --amber: #FF8A3D;
  --amber-soft: #FFC48A;
  --indigo: #4B3D8F;
  --wine: #7A2E4A;
  --ink: #E8F6F5;
  --glass: rgba(20, 34, 58, 0.72);
  --line: rgba(201, 211, 224, 0.16);
  --line-cyan: rgba(47, 224, 232, 0.34);
  --line-amber: rgba(255, 138, 61, 0.32);
  --radius-l: 26px;
  --radius-m: 16px;
  --radius-s: 10px;
  --shell: min(1280px, 94vw);
  --shell-narrow: min(900px, 92vw);
  --gap: 22px;
  --header-h: 84px;
  --header-h-scrolled: 66px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
}

@media (max-width: 900px) {
  :root { --header-h: 68px; --header-h-scrolled: 58px; --gap: 16px; }
}

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

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

/* ---------- 页面基底 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--header-h);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  letter-spacing: 0.01em;
  overflow-x: hidden;
  background-color: var(--deep);
  background-image:
    radial-gradient(1100px 620px at 88% -8%, rgba(47, 224, 232, 0.13), transparent 62%),
    radial-gradient(880px 720px at -12% 30%, rgba(75, 61, 143, 0.28), transparent 64%),
    radial-gradient(760px 540px at 46% 112%, rgba(255, 138, 61, 0.11), transparent 66%),
    linear-gradient(180deg, #0A1730 0%, #081227 52%, #060E1F 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

html.is-nav-open, html.is-nav-open body { overflow: hidden; }

:target { scroll-margin-top: calc(var(--header-h) + 24px); }

.container { width: var(--shell); margin-inline: auto; }
.container--narrow { width: var(--shell-narrow); margin-inline: auto; }

p { max-width: 38ch; }
.section p, .panel p, .accordion__panel p { max-width: none; }

/* ---------- 纹理与出血工具 ---------- */
.tex-grid {
  background-image:
    linear-gradient(rgba(47, 224, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 224, 232, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}

.bleed-top {
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 56px);
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--cyan);
  color: #04222a;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform 0.22s ease;
}
.skip-link:focus-visible { transform: none; }

/* ---------- 头部 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(6, 14, 31, 0.82) 0%, rgba(6, 14, 31, 0.34) 62%, rgba(6, 14, 31, 0) 100%);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-solid {
  background: linear-gradient(180deg, rgba(10, 23, 48, 0.97), rgba(8, 18, 39, 0.9));
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(201, 211, 224, 0.14), 0 22px 44px -32px rgba(0, 0, 0, 0.95);
}

.site-header__inner {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
  transition: min-height 0.3s ease;
}

.site-header.is-solid .site-header__inner { min-height: var(--header-h-scrolled); }

.site-header__progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  box-shadow: 0 0 14px rgba(47, 224, 232, 0.7);
  transition: width 0.12s linear;
}

html.is-nav-open .site-header {
  background: linear-gradient(180deg, rgba(6, 14, 31, 0.98), rgba(6, 14, 31, 0.9));
  backdrop-filter: blur(18px);
}

/* ---------- 品牌 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__mark {
  position: relative;
  width: 36px; height: 36px;
  flex: 0 0 auto;
  border-radius: 13px 5px 13px 5px;
  background: linear-gradient(135deg, var(--cyan) 0%, #17a7bd 52%, var(--indigo) 100%);
  box-shadow: 0 0 0 1px rgba(47, 224, 232, 0.34), 0 10px 24px -12px rgba(47, 224, 232, 0.9);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px solid rgba(6, 14, 31, 0.88);
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(45deg);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.2; }

.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.brand__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* ---------- 主导航 ---------- */
.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav__item { display: block; }

.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  font-size: 14px;
  color: var(--silver);
  transition: color 0.2s ease, background 0.2s ease;
}

.primary-nav__link:hover { color: #ffffff; background: rgba(47, 224, 232, 0.09); }

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--mist);
  transition: color 0.2s ease;
}

.primary-nav__link:hover .nav-index { color: var(--cyan); }

.primary-nav__link[aria-current="page"] { color: #ffffff; }

.primary-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

.primary-nav__link[aria-current="page"] .nav-index { color: var(--cyan); }

.primary-nav__cta { display: none; }

/* ---------- 头部工具区 ---------- */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-tools__search {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(20, 34, 58, 0.58);
  color: var(--mist);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.header-tools__search::before {
  content: "";
  width: 11px; height: 11px;
  flex: 0 0 auto;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(47, 224, 232, 0.5);
}

.header-tools__search:hover {
  border-color: var(--line-cyan);
  color: var(--cyan);
  background: rgba(47, 224, 232, 0.08);
}

.header-tools__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), #ff6a1f);
  color: #231004;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 28px -14px rgba(255, 138, 61, 0.95);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-tools__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(255, 138, 61, 1);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(20, 34, 58, 0.68);
  color: var(--silver);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

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

.nav-toggle__bars {
  position: relative;
  width: 16px; height: 2px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px; height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

/* ---------- 浮动反馈按钮 ---------- */
.feedback-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), #ff6a1f);
  color: #231004;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 18px 36px -16px rgba(255, 138, 61, 1), 0 0 0 1px rgba(255, 196, 138, 0.4);
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 104px;
  color: var(--silver);
  border-top: 1px solid var(--line);
  background-image:
    radial-gradient(120% 90% at 6% 0%, rgba(75, 61, 143, 0.34), transparent 62%),
    radial-gradient(90% 80% at 100% 100%, rgba(14, 124, 134, 0.24), transparent 64%),
    linear-gradient(180deg, #060E1F, #04080F);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 224, 232, 0.55), rgba(255, 138, 61, 0.4), transparent);
}

.site-footer__inner {
  width: var(--shell);
  margin-inline: auto;
  padding: 66px 0 30px;
}

.site-footer__lead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 48px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.brand--footer .brand__name { font-size: 16px; }

.site-footer__note {
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.9;
  color: var(--mist);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 26px;
  padding: 38px 0;
}

.footer-col__title {
  position: relative;
  padding-left: 14px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #ffffff;
}

.footer-col__title::before {
  content: "";
  position: absolute;
  left: 0; top: 3px; bottom: 3px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--amber));
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col__link {
  display: inline-block;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--silver);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col__link:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-col--feedback {
  padding: 20px 18px 22px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-amber);
  background: linear-gradient(160deg, rgba(255, 138, 61, 0.15), rgba(20, 34, 58, 0.72));
  box-shadow: 0 22px 44px -34px rgba(255, 138, 61, 0.95);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.footer-col--feedback .footer-col__title::before {
  background: linear-gradient(180deg, var(--amber), var(--amber-soft));
}

.footer-col--feedback .footer-col__link:first-child {
  font-weight: 800;
  color: var(--amber-soft);
}

.footer-col--feedback .footer-col__link:first-child:hover { color: #ffffff; }

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.site-footer__meta-line {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.85;
  color: var(--mist);
}

/* ---------- 通用排版 ---------- */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: 0.04em; line-height: 1.3; color: #ffffff; }

.section {
  position: relative;
  padding: 86px 0;
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 60ch;
  margin-bottom: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.section__title { font-size: clamp(25px, 3.3vw, 40px); }

.section__sub {
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--cyan), #17b6c8);
  color: #04222a;
  box-shadow: 0 16px 34px -18px rgba(47, 224, 232, 0.95);
}

.btn--primary:hover { transform: translateY(-2px); }

.btn--amber {
  background: linear-gradient(135deg, var(--amber), #ff6a1f);
  color: #231004;
  box-shadow: 0 16px 34px -18px rgba(255, 138, 61, 0.95);
}

.btn--amber:hover { transform: translateY(-2px); }

.btn--ghost {
  border-color: rgba(201, 211, 224, 0.26);
  background: rgba(20, 34, 58, 0.55);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--line-cyan);
  color: var(--cyan);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 26px 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
}

.breadcrumb a { transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb__sep { opacity: 0.5; }
.breadcrumb [aria-current="page"] { color: var(--silver); }

/* ---------- Bento 网格 ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}

.bento > * { grid-column: span 12; }

@media (min-width: 768px) {
  .bento__span-3 { grid-column: span 6 !important; }
  .bento__span-4 { grid-column: span 6 !important; }
  .bento__span-6 { grid-column: span 6 !important; }
  .bento__span-8 { grid-column: span 12 !important; }
  .bento__span-12 { grid-column: span 12 !important; }
}

@media (min-width: 1080px) {
  .bento__span-3 { grid-column: span 3 !important; }
  .bento__span-4 { grid-column: span 4 !important; }
  .bento__span-6 { grid-column: span 6 !important; }
  .bento__span-8 { grid-column: span 8 !important; }
}

/* ---------- 面板块 ---------- */
.panel {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--glass);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.panel--cyan {
  border-color: var(--line-cyan);
  box-shadow: inset 0 1px 0 rgba(47, 224, 232, 0.16);
}

.panel--amber {
  border-color: var(--line-amber);
  box-shadow: inset 0 1px 0 rgba(255, 138, 61, 0.18);
}

.panel--indigo {
  background: linear-gradient(155deg, rgba(75, 61, 143, 0.55), rgba(20, 34, 58, 0.78));
  border-color: rgba(75, 61, 143, 0.6);
}

.panel--wine {
  background: linear-gradient(155deg, rgba(122, 46, 74, 0.5), rgba(20, 34, 58, 0.78));
  border-color: rgba(122, 46, 74, 0.6);
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-cyan);
  background: rgba(47, 224, 232, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.tag--amber {
  border-color: var(--line-amber);
  background: rgba(255, 138, 61, 0.1);
  color: var(--amber-soft);
}

.tag--mute {
  border-color: var(--line);
  background: rgba(201, 211, 224, 0.06);
  color: var(--mist);
}

/* ---------- 评分条 ---------- */
.meter {
  display: block;
  position: relative;
  height: 6px;
  border-radius: 99px;
  background: rgba(201, 211, 224, 0.14);
  overflow: hidden;
}

.meter__fill {
  display: block;
  width: calc(var(--val, 0) * 1%);
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.meter__value {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber-soft);
}

[data-reveal].is-visible .meter__fill,
.meter.is-filled .meter__fill { transform: scaleX(1); }

/* ---------- 对比表 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--glass);
}

.data-table {
  width: 100%;
  min-width: 560px;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.data-table thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(47, 224, 232, 0.06);
}

.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(47, 224, 232, 0.05); }
.data-table td.num { font-family: var(--font-mono); color: var(--amber-soft); }

/* ---------- 折叠面板 ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s ease;
}

.accordion__trigger:hover { color: var(--cyan); }

.accordion__trigger::after {
  content: "";
  width: 9px; height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.accordion__trigger[aria-expanded="true"]::after { transform: rotate(-135deg); }

.accordion__panel {
  padding: 0 4px 22px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mist);
}

.accordion__panel[hidden] { display: none; }

/* ---------- 图片容器 ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background-image:
    linear-gradient(140deg, rgba(47, 224, 232, 0.16), rgba(75, 61, 143, 0.24) 52%, rgba(6, 14, 31, 0.92));
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(135deg, rgba(47, 224, 232, 0.07) 0 2px, transparent 2px 10px);
  opacity: 0.6;
}

.img-frame > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.img-frame--cut {
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), calc(100% - 44px) 100%, 0 100%);
}

.img-frame__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--silver);
  background: linear-gradient(0deg, rgba(6, 14, 31, 0.94), transparent);
}

/* ---------- 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: calc(var(--reveal-index, 0) * 22ms);
}

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

/* ---------- 断点 ---------- */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .header-tools__search { display: none; }
  .feedback-fab { display: inline-flex; }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 28px) 6vw 48px;
    overflow-y: auto;
    background:
      radial-gradient(90% 60% at 100% 0%, rgba(47, 224, 232, 0.14), transparent 62%),
      linear-gradient(165deg, rgba(6, 14, 31, 0.99), rgba(10, 23, 48, 0.985));
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  }

  .primary-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .primary-nav__link {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 20px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 19px;
    font-weight: 700;
    color: var(--silver);
  }

  .primary-nav__link:hover { background: rgba(47, 224, 232, 0.06); }

  .primary-nav__link[aria-current="page"]::after {
    left: 4px;
    right: auto;
    bottom: 10px;
    width: 30px;
  }

  .primary-nav__cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 30px;
  }
}

@media (max-width: 900px) {
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 64px 0; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .brand__tag { display: none; }
  .header-tools__cta { display: none; }
  .site-footer__cols { grid-template-columns: 1fr; gap: 26px; }
  .site-footer__lead { padding-bottom: 26px; }
  .site-footer__inner { padding-top: 52px; }
  .site-footer__meta { flex-direction: column; }
  .site-footer__meta-line { font-size: 11.5px; }
  .panel { padding: 20px; border-radius: var(--radius-m); }
  .section__head { margin-bottom: 30px; }
}

/* ---------- 无障碍与动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .meter__fill {
    transform: scaleX(1) !important;
    transition: none !important;
  }

  .site-header,
  .site-header__inner,
  .site-header__progress,
  .primary-nav,
  .primary-nav__link,
  .nav-toggle,
  .header-tools__cta,
  .header-tools__search,
  .btn,
  .footer-col__link,
  .accordion__trigger::after {
    transition: none !important;
  }

  .btn:hover,
  .header-tools__cta:hover,
  .footer-col__link:hover {
    transform: none !important;
  }
}
