/* ============================================================
   全息双实 · Holistic Dual Reality
   设计系统 v1.0 — 深色科技感 / 光谱青 × 指纹品红
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 基底：近黑的冷调深灰，避免纯黑的廉价感 */
  --bg-void: #05070a;
  --bg-deep: #080b11;
  --bg-panel: #0c1118;
  --bg-raise: #111823;
  --bg-line: #1b2734;

  /* 主色：金色调（与十二谱统一，替代原信号青） */
  --cyan: #d4af6a;
  --cyan-dim: #a8843f;
  --cyan-glow: rgba(232, 201, 138, 0.5);

  /* 副色：原指纹品红，现统一为金色调 */
  --magenta: #d4af6a;
  --magenta-dim: #a8843f;
  --magenta-glow: rgba(232, 201, 138, 0.45);

  /* 金色调：十二谱主题专用（暖金/香槟金，替代冷色青/品红） */
  --gold: #d4af6a;
  --gold-bright: #e8c98a;
  --gold-dim: #a8843f;
  --gold-deep: #7a5f2a;
  --gold-soft: rgba(212, 175, 106, 0.12);
  --gold-glow: rgba(232, 201, 138, 0.5);

  /* 文字 */
  --text-hi: #eef4f8;
  --text: #b8c6d3;
  --text-mid: #8496a8;
  --text-low: #5a6b7d;

  /* 字号阶梯（1.250 major third） */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: 2.25rem;
  --fs-4xl: 3rem;
  --fs-5xl: 3.75rem;

  /* 间距 */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  --radius: 2px;
  --radius-lg: 4px;

  --maxw: 1180px;
  --nav-h: 68px;

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Microsoft YaHei", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Mono", Consolas,
    "Liberation Mono", monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg-void);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.85;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text-hi);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

::selection {
  background: rgba(53, 224, 224, 0.28);
  color: #fff;
}

/* ---------- 3. 页面底纹：极淡的光谱网格 ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(
      to right,
      rgba(53, 224, 224, 0.028) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(53, 224, 224, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(
    ellipse 90% 60% at 50% 0%,
    #000 20%,
    transparent 78%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 90% 60% at 50% 0%,
    #000 20%,
    transparent 78%
  );
}

/* 顶部一层极弱的青色氛围光，替代俗套的大渐变 */
body::after {
  content: "";
  position: fixed;
  top: -30vh;
  left: 50%;
  width: 120vw;
  height: 70vh;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(53, 224, 224, 0.075),
    transparent 62%
  );
}

/* ---------- 4. 布局工具 ---------- */
.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.page-main {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-h) + var(--sp-8));
  padding-bottom: var(--sp-9);
}

.section {
  margin-bottom: var(--sp-8);
}

.section--tight {
  margin-bottom: var(--sp-7);
}

.stack > * + * {
  margin-top: var(--sp-4);
}

/* ---------- 5. 通用文字角色 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.7;
}

.page-title {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-top: var(--sp-3);
}

.page-lead {
  max-width: 62ch;
  margin-top: var(--sp-4);
  font-size: var(--fs-lg);
  line-height: 1.9;
  color: var(--text);
}

.section-title {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  letter-spacing: -0.01em;
}

.section-sub {
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-mid);
}

.mono {
  font-family: var(--font-mono);
}

.dim {
  color: var(--text-mid);
}

/* ---------- 6. 导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(6, 9, 13, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.nav__inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__mark {
  width: 30px;
  height: 30px;
  padding: 4px;
  flex-shrink: 0;
  color: var(--cyan);
  border: 1px solid rgba(53, 224, 224, 0.22);
  border-radius: var(--radius);
  background: rgba(53, 224, 224, 0.05);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.brand:hover .brand__mark {
  color: var(--text-hi);
  border-color: rgba(53, 224, 224, 0.45);
  box-shadow: 0 0 14px rgba(53, 224, 224, 0.22);
}

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

.brand__name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-hi);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: var(--text-low);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  overflow: visible;
}

.nav__link {
  position: relative;
  padding: 7px 11px;
  font-size: 0.8125rem;
  color: var(--text-mid);
  white-space: nowrap;
  border-radius: var(--radius);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

/* ---- 语言切换按钮 ---- */
.langbtn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--text-low);
  background: transparent;
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.langbtn:hover {
  border-color: rgba(53, 224, 224, 0.4);
  background: rgba(53, 224, 224, 0.045);
}

.langbtn__zh,
.langbtn__en {
  transition: color 0.2s var(--ease);
}

.langbtn.is-on,
.langbtn [class*="is-on"] {
  color: var(--cyan);
}

.langbtn__sep {
  opacity: 0.35;
}

.langbtn span:not(.is-on) {
  color: var(--text-low);
}

.langbtn span.is-on {
  color: var(--cyan);
}

.nav__link:hover {
  color: var(--text-hi);
  background: rgba(255, 255, 255, 0.035);
}

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

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 0;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}

/* ---------- 6b. 分组下拉 ---------- */
.navgroup {
  position: relative;
}

.nav__link--group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  cursor: pointer;
}

.nav__chev {
  width: 11px;
  height: 11px;
  opacity: 0.55;
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
  flex-shrink: 0;
}

.navgroup.is-open .nav__chev {
  transform: rotate(180deg);
  opacity: 1;
}

/* 当前分组所属项：文字高亮，下方短基线 */
.nav__link--group[aria-current="true"] {
  color: var(--cyan);
}

.nav__link--group[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 0;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}

.navmenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, -6px);
  min-width: 208px;
  padding: var(--sp-2) 0 var(--sp-3);
  border: 1px solid var(--bg-line);
  border-radius: var(--radius-lg);
  background: rgba(8, 11, 17, 0.97);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s var(--ease);
}

/* 悬浮连接区，避免鼠标穿过 14px 空隙时收起 */
.navmenu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.navmenu::after {
  content: "";
  position: absolute;
  top: -1px;
  left: var(--sp-4);
  width: 34px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.7;
}

.navgroup:nth-child(3) .navmenu::after {
  background: var(--magenta);
}

/* 最右侧分组：面板右对齐，避免溢出视口（仅桌面端） */
@media (min-width: 781px) {
  .navgroup:last-of-type .navmenu {
    left: auto;
    right: 0;
    transform: translateY(-6px);
  }

  .navgroup:last-of-type.is-open .navmenu {
    transform: translateY(0);
  }

  .navgroup:last-of-type .navmenu::before {
    left: auto;
    right: 0;
  }
}

.navgroup.is-open .navmenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.navmenu__head {
  padding: var(--sp-2) var(--sp-4) 6px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  color: var(--text-low);
  text-transform: uppercase;
  border-bottom: 1px solid var(--bg-line);
  margin-bottom: 4px;
}

.navmenu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 9px var(--sp-4);
  font-size: 0.8125rem;
  color: var(--text-mid);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.navmenu__item:hover {
  color: var(--text-hi);
  background: rgba(255, 255, 255, 0.035);
}

.navmenu__item-no {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  color: var(--text-low);
}

.navmenu__item[aria-current="page"] {
  color: var(--cyan);
  background: rgba(53, 224, 224, 0.055);
}

.navgroup:nth-child(3) .navmenu__item[aria-current="page"] {
  color: var(--magenta);
  background: rgba(224, 90, 168, 0.06);
}

.navmenu__item[aria-current="page"] .navmenu__item-no {
  color: inherit;
  opacity: 0.65;
}

.nav__toggle {
  display: none;
  width: 38px;
  height: 38px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}

/* ---------- 7. 页脚 ---------- */
.footer {
  position: relative;
  z-index: 1;
  margin-top: var(--sp-9);
  border-top: 1px solid var(--bg-line);
  background: linear-gradient(180deg, transparent, rgba(12, 17, 24, 0.85));
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: var(--sp-7);
  padding: var(--sp-8) 0 var(--sp-7);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-xl);
  letter-spacing: 0.1em;
  color: var(--text-hi);
  margin-bottom: var(--sp-3);
}

.footer__brand .brand__mark {
  width: 24px;
  height: 24px;
  padding: 3px;
  stroke-width: 2;
}

.footer__desc {
  font-size: 0.8125rem;
  line-height: 1.95;
  color: var(--text-mid);
  max-width: 54ch;
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  color: var(--text-low);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.footer__list li + li {
  margin-top: 9px;
}

.footer__list a {
  font-size: 0.8125rem;
  color: var(--text-mid);
  transition: color 0.2s var(--ease);
}

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

.footer__links {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  padding: var(--sp-5) 0;
  font-size: var(--fs-xs);
  color: var(--text-low);
  line-height: 2.1;
}

.footer__links-lead {
  color: var(--text-mid);
  margin-bottom: 2px;
}

.footer__links-note {
  color: var(--text-low);
  margin-bottom: 8px;
}

.footer__links a {
  color: var(--text-low);
  transition: color 0.2s var(--ease);
}

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

.footer__sep {
  margin: 0 7px;
  opacity: 0.35;
}

.footer__disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  padding: var(--sp-5) 0 var(--sp-7);
  font-size: 0.7rem;
  line-height: 1.95;
  color: var(--text-low);
}

.footer__disclaimer strong {
  color: var(--text-mid);
  font-weight: 600;
}

.footer__disclaimer p + p {
  margin-top: 7px;
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  padding: var(--sp-4) 0;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-low);
  letter-spacing: 0.02em;
}

/* ---------- 8. 卡片与面板 ---------- */
.panel {
  position: relative;
  background: linear-gradient(
    165deg,
    rgba(17, 24, 35, 0.9),
    rgba(9, 13, 19, 0.9)
  );
  border: 1px solid var(--bg-line);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.panel:hover {
  border-color: rgba(53, 224, 224, 0.32);
}

/* 四角定位标记：仪器感，代替烂大街的左侧色条 */
.panel--corner::before,
.panel--corner::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: var(--cyan);
  border-style: solid;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.panel--corner::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.panel--corner::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}

.panel--corner:hover::before,
.panel--corner:hover::after {
  opacity: 1;
}

/* 编号：仪表面板的序号 */
.panel__idx {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--text-low);
}

.panel__title {
  font-size: var(--fs-lg);
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-3);
  color: var(--text-hi);
}

.panel__body {
  font-size: 0.9063rem;
  line-height: 1.95;
  color: var(--text);
  text-align: justify;
}

.panel--magenta:hover {
  border-color: rgba(224, 90, 168, 0.32);
}

.panel--magenta.panel--corner::before,
.panel--magenta.panel--corner::after {
  border-color: var(--magenta);
}

.panel--magenta .panel__title {
  color: var(--magenta);
}

/* ---------- 9. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding: 0 var(--sp-5);
  font-family: inherit;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 1px solid var(--cyan);
  background: rgba(53, 224, 224, 0.07);
  color: var(--cyan);
  cursor: pointer;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn:hover {
  background: rgba(53, 224, 224, 0.15);
  box-shadow: 0 0 0 1px var(--cyan-glow), 0 0 22px -6px var(--cyan-glow);
}

.btn--ghost {
  border-color: var(--bg-line);
  background: transparent;
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--text-low);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  color: var(--text-hi);
}

/* ---------- 10. 数据条 ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--bg-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(10, 14, 20, 0.6);
}

.metric {
  padding: var(--sp-5);
  text-align: center;
  border-left: 1px solid var(--bg-line);
}

.metric:first-child {
  border-left: none;
}

.metric__value {
  font-family: var(--font-mono);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.metric__label {
  margin-top: 4px;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--text-mid);
}

/* ---------- 11. 进入动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- 12. 响应式 ---------- */
@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }
  .footer__brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  :root {
    --nav-h: 60px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: var(--sp-3) var(--sp-5) var(--sp-5);
    background: rgba(6, 9, 13, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bg-line);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  }

  .nav__links.is-open {
    max-height: 70vh;
    overflow-y: auto;
    padding-top: var(--sp-3);
    padding-bottom: var(--sp-5);
  }

  .nav__link {
    padding: 12px 4px;
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .langbtn {
    align-self: flex-start;
    margin: var(--sp-4) 0 0;
    padding: 9px 16px;
    font-size: 0.75rem;
  }

  .nav__link[aria-current="page"]::after {
    display: none;
  }

  /* 移动端：分组改为手风琴，展开后逐项下排 */
  .navgroup {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav__link--group {
    width: 100%;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 0.9375rem;
    color: var(--text);
    border-bottom: none;
  }

  .nav__link--group[aria-current="true"]::after {
    display: none;
  }

  .navmenu {
    position: static;
    transform: none;
    min-width: 0;
    padding: 0 0 var(--sp-3);
    border: none;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }

  .navmenu::before,
  .navmenu::after {
    display: none;
  }

  .navgroup.is-open .navmenu {
    transform: none;
    max-height: 340px;
  }

  .navmenu__head {
    display: none;
  }

  .navmenu__item {
    padding: 11px 4px 11px var(--sp-4);
    font-size: 0.875rem;
    border-left: 1px solid var(--bg-line);
    margin-left: 2px;
  }

  .navmenu__item[aria-current="page"] {
    background: none;
    border-left-color: var(--cyan);
  }

  .brand__sub {
    display: none;
  }

  .page-main {
    padding-top: calc(var(--nav-h) + var(--sp-7));
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metric {
    border-left: none;
    border-top: 1px solid var(--bg-line);
    padding: var(--sp-4);
  }

  .metric:first-child {
    border-top: none;
  }

  .footer__top {
    grid-template-columns: 1fr;
    padding-top: var(--sp-7);
  }

  .panel {
    padding: var(--sp-4);
  }

  .panel__body {
    text-align: left;
  }
}

/* ---------- 13. 打印 ---------- */
@media print {
  body::before,
  body::after,
  .nav,
  .footer__links,
  .footer__bar {
    display: none !important;
  }
  body {
    background: #fff;
    color: #111;
  }
  .page-main {
    padding-top: 1rem;
  }
}

/* ============================================================
   2026-10-30 增补 · 四处施工
   ① 页脚微信矩阵三码 ② news 品牌内容板块 ③ contact 直达联系 ④ 十二格变链接
   ============================================================ */

/* ---------- ④ 十二格可点击 ---------- */
a.spectrum-cell {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
a.spectrum-cell:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- ① 页脚三码 ---------- */
.footer__wechat {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--bg-line);
}
.footer__wechat-title {
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  color: var(--text-mid);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer__qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}
.footer__qr-card {
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.footer__qr-pad {
  display: inline-block;
  padding: 8px;
  background: #ffffff;
  border-radius: 10px;
  line-height: 0;
}
.footer__qr-pad img {
  display: block;
  width: 120px;
  height: 120px;
}
.footer__qr-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer__qr-card figcaption strong {
  font-size: var(--fs-base);
  color: var(--text-hi);
}
.footer__qr-card figcaption small {
  font-size: var(--fs-xs);
  color: var(--text-mid);
  max-width: 14em;
}
.footer__qr-note {
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--text-low);
}
@media (max-width: 767px) {
  .footer__qr-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer__qr-card { flex-direction: column; }
  .footer__qr-card figcaption { align-items: center; }
}

/* ---------- ② news 品牌内容板块 ---------- */
.brandzone {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--bg-line);
}
.brandzone__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.brandzone__title {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  letter-spacing: -0.01em;
}
.brandzone__note {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-low);
  letter-spacing: 0.12em;
}
.brandzone__group { margin-top: var(--sp-5); }
.brandzone__group-title {
  font-size: var(--fs-lg);
  color: var(--text-hi);
  margin-bottom: var(--sp-3);
  scroll-margin-top: calc(var(--nav-h, 64px) + 16px);
}
.brandzone__list {
  display: grid;
  gap: var(--sp-3);
}
.bzcard {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--sp-4);
  background: var(--bg-panel);
  border: 1px solid var(--bg-line);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.bzcard:hover {
  border-color: var(--cyan-dim);
  transform: translateY(-1px);
}
.bzcard:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 2px;
}
.bzcard__tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--bg-line);
}
.bzcard__tag--tech { color: var(--cyan); border-color: var(--cyan-dim); }
.bzcard__tag--world { color: var(--magenta); border-color: var(--magenta-dim); }
.bzcard__tag--biz { color: var(--text-hi); }
.bzcard__title {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-hi);
  line-height: 1.5;
}
.bzcard__sum {
  font-size: var(--fs-sm);
  color: var(--text-mid);
  line-height: 1.7;
}
.bzcard__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: 2px;
  font-size: var(--fs-xs);
  color: var(--text-low);
}
.bzcard__arrow {
  margin-left: auto;
  color: var(--cyan-dim);
}
.bzcard:hover .bzcard__arrow { color: var(--cyan); }
.brandzone__foot {
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--text-low);
}
@media (max-width: 767px) {
  .bzcard { padding: var(--sp-3); }
}

/* ---------- ③ contact 直达联系 ---------- */
.contact-direct {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  align-items: stretch;
  margin: var(--sp-5) 0 var(--sp-3);
}
/* 四个二维码独立一行，横向并排、等高对齐 */
.qr-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  align-items: stretch;
  margin: 0 0 var(--sp-6);
}
.cd__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--sp-4);
  background: var(--bg-panel);
  border: 1px solid var(--bg-line);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.cd__item:hover { border-color: var(--cyan-dim); }
.cd__label {
  font-size: var(--fs-xs);
  color: var(--text-mid);
  letter-spacing: 0.08em;
}
.cd__value {
  font-size: var(--fs-lg);
  color: var(--text-hi);
  font-variant-numeric: tabular-nums;
}
.cd__note {
  font-size: var(--fs-xs);
  color: var(--text-low);
}
.cd__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  height: 100%;
  padding: var(--sp-4) var(--sp-3);
  background: var(--bg-panel);
  border: 1px solid var(--bg-line);
  border-radius: 10px;
}
.cd__qr img {
  display: block;
  width: 120px;
  height: 120px;
  padding: 6px;
  background: #ffffff;
  border-radius: 8px;
  flex: none;
}
.cd__qr-note {
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--text-mid);
  width: 100%;
  text-align: center;
}
@media (max-width: 1023px) {
  .contact-direct { grid-template-columns: 1fr 1fr; }
  .qr-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .contact-direct { grid-template-columns: 1fr; }
  .qr-row { grid-template-columns: 1fr 1fr; }
  .cd__qr { padding: var(--sp-3); }
  .cd__qr img { width: 104px; height: 104px; }
  .cd__qr-note { max-width: none; }
}
