/* ==========================================================
   纵横国际中心 /assets/site.css
   共享外壳：框架式导航、页脚、通用组件
   ========================================================== */

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

/* ---------- 2. Tokens ---------- */
:root {
  --hz-abyss: #050F1A;
  --hz-harbor: #0A1F31;
  --hz-steel: #123A54;
  --hz-cyan: #3FE0CE;
  --hz-cyan-deep: #1B8F8A;
  --hz-amber: #F5A93F;
  --hz-cream: #F4EBD9;
  --hz-umber: #1D1712;
  --hz-rust: #C9552E;
  --hz-mist: #A9BFCE;
  --hz-line: rgba(63, 224, 206, 0.22);
  --hz-line-soft: rgba(63, 224, 206, 0.1);
  --hz-grad-night: linear-gradient(160deg, #050F1A 0%, #0A1F31 55%, #10344A 100%);
  --hz-grad-card: linear-gradient(155deg, rgba(18, 58, 84, 0.94) 0%, rgba(10, 31, 49, 0.96) 100%);

  --hz-font-sans: "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --hz-font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --hz-rail-w: 96px;
  --hz-bar-h: 74px;
  --hz-maxw: 1240px;
  --hz-gutter: clamp(20px, 4vw, 48px);
  --hz-radius-lg: 28px;
  --hz-radius-md: 20px;
  --hz-radius-sm: 12px;
  --hz-ease: cubic-bezier(.22, .61, .36, 1);
  --hz-shadow: 0 34px 70px -44px #000;
  --hz-space: clamp(64px, 9vw, 112px);
}

/* ---------- 3. 中文排版基座 ---------- */
body {
  font-family: var(--hz-font-sans);
  font-size: 17px;
  line-height: 1.85;
  color: var(--hz-mist);
  padding-left: var(--hz-rail-w);
  min-height: 100vh;
  background-color: var(--hz-abyss);
  background-image:
    repeating-linear-gradient(0deg, rgba(63, 224, 206, 0.045) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(90deg, rgba(63, 224, 206, 0.045) 0 1px, transparent 1px 120px),
    radial-gradient(1100px 640px at 84% -8%, rgba(63, 224, 206, 0.16), transparent 62%),
    radial-gradient(880px 520px at 4% 14%, rgba(245, 169, 63, 0.09), transparent 66%),
    linear-gradient(168deg, #050F1A 0%, #081A29 44%, #0C2A3E 100%);
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  color: var(--hz-cream);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 6.4vw, 92px); }
h2 { font-size: clamp(26px, 3.4vw, 46px); }
h3 { font-size: clamp(19px, 2vw, 24px); color: var(--hz-cyan); letter-spacing: 0; }

p { margin-bottom: 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--hz-cyan); text-underline-offset: 3px; }
a:hover { color: var(--hz-amber); }

strong { color: var(--hz-cream); font-weight: 700; }
code, kbd, samp { font-family: var(--hz-font-mono); font-size: 0.9em; color: var(--hz-cyan); }

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

::selection { background: var(--hz-amber); color: var(--hz-umber); }

/* ---------- 4. 布局工具 ---------- */
.hz-container {
  width: 100%;
  max-width: var(--hz-maxw);
  margin-inline: auto;
  padding-inline: var(--hz-gutter);
}
.hz-section { padding-block: var(--hz-space); }
.hz-section--tight { padding-block: clamp(40px, 5vw, 64px); }

.hz-grid { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.hz-grid--split { grid-template-columns: 1fr; }
.hz-grid--split-rev { grid-template-columns: 1fr; }
.hz-grid--cards { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: clamp(18px, 2.2vw, 28px); }

.hz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hz-font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hz-cyan);
  margin-bottom: 14px;
}
.hz-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--hz-amber), var(--hz-cyan));
  box-shadow: 0 0 10px rgba(63, 224, 206, 0.7);
}
.hz-lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: rgba(244, 235, 217, 0.82);
  max-width: 56ch;
}
.hz-title-xl {
  font-size: clamp(40px, 8vw, 128px);
  font-family: var(--hz-font-mono);
  letter-spacing: -0.03em;
  color: var(--hz-cream);
  line-height: 0.92;
}
.hz-divider {
  height: 1px;
  border: 0;
  margin-block: clamp(32px, 4vw, 56px);
  background: linear-gradient(90deg, transparent, var(--hz-line), transparent);
}

/* ---------- 5. 按钮与胶囊 ---------- */
.hz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s var(--hz-ease), background-color 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.hz-btn--primary {
  background: var(--hz-amber);
  color: #25180A;
  box-shadow: 0 12px 28px -16px rgba(245, 169, 63, 0.95);
}
.hz-btn--primary:hover {
  color: #160E04;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -14px rgba(245, 169, 63, 1);
}
.hz-btn--quiet {
  border-color: rgba(63, 224, 206, 0.45);
  color: var(--hz-cyan);
  background: rgba(63, 224, 206, 0.07);
}
.hz-btn--quiet:hover {
  color: var(--hz-cream);
  background: rgba(63, 224, 206, 0.16);
  border-color: rgba(63, 224, 206, 0.7);
}
.hz-btn--ghost {
  border-color: var(--hz-line);
  color: var(--hz-mist);
}
.hz-btn--ghost:hover { color: var(--hz-cream); border-color: rgba(63, 224, 206, 0.6); }
.hz-btn--lg { padding: 15px 28px; font-size: 16px; }
.hz-btn--block { display: flex; width: 100%; }

.hz-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--hz-line);
  background: rgba(63, 224, 206, 0.05);
  font-family: var(--hz-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--hz-mist);
  text-transform: uppercase;
}
.hz-chip--version {
  color: var(--hz-cyan);
  border-color: rgba(63, 224, 206, 0.45);
  background: rgba(63, 224, 206, 0.1);
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s;
}
.hz-chip--version:hover { background: rgba(63, 224, 206, 0.2); border-color: var(--hz-cyan); }
.hz-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hz-amber);
  box-shadow: 0 0 8px var(--hz-amber);
  flex: none;
}

.hz-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--hz-line);
  background: rgba(10, 31, 49, 0.7);
  color: var(--hz-mist);
  font-family: var(--hz-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.22s, background-color 0.22s, border-color 0.22s;
}
.hz-tag:hover { color: var(--hz-cream); border-color: rgba(63, 224, 206, 0.6); }
.hz-tag[aria-pressed="true"] {
  color: var(--hz-abyss);
  background: var(--hz-cyan);
  border-color: var(--hz-cyan);
  font-weight: 700;
}

/* ---------- 6. 卡片与档案纸面 ---------- */
.hz-card {
  position: relative;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--hz-radius-lg);
  border: 1px solid var(--hz-line);
  background: var(--hz-grad-card);
  box-shadow: var(--hz-shadow);
}
.hz-card--soft {
  background: rgba(10, 31, 49, 0.55);
  border-style: dashed;
  box-shadow: none;
}
.hz-card--archive {
  background: var(--hz-cream);
  border-color: rgba(29, 23, 18, 0.14);
  color: var(--hz-umber);
  box-shadow: 0 26px 60px -40px #000;
}
.hz-card--archive h2,
.hz-card--archive h3 { color: var(--hz-umber); }
.hz-card--archive a { color: var(--hz-rust); }
.hz-card--archive a:hover { color: #8E3A1D; }
.hz-card__kicker {
  display: block;
  margin-bottom: 10px;
  font-family: var(--hz-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hz-amber);
}
.hz-card--archive .hz-card__kicker { color: var(--hz-rust); }

/* ---------- 7. 图片容器（页面阶段放置图片） ---------- */
.hz-figure { display: grid; gap: 10px; margin: 0; }
.hz-figure__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--hz-radius-md);
  border: 1px solid var(--hz-line);
  aspect-ratio: 16 / 9;
  background-color: var(--hz-harbor);
  background-image:
    repeating-linear-gradient(0deg, rgba(63, 224, 206, 0.12) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(63, 224, 206, 0.12) 0 1px, transparent 1px 44px),
    linear-gradient(150deg, rgba(63, 224, 206, 0.18), rgba(5, 15, 26, 0.92) 58%);
}
.hz-figure__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hz-figure__cap {
  font-family: var(--hz-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--hz-mist);
}
.hz-figure--wide .hz-figure__media { aspect-ratio: 21 / 9; }
.hz-figure--4x3 .hz-figure__media { aspect-ratio: 4 / 3; }
.hz-figure--1x1 .hz-figure__media { aspect-ratio: 1 / 1; }
.hz-figure--tall .hz-figure__media { aspect-ratio: 3 / 4; }

/* ---------- 8. 面包屑与正文容器 ---------- */
.hz-crumbs {
  font-family: var(--hz-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--hz-mist);
}
.hz-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hz-crumbs a { color: var(--hz-mist); }
.hz-crumbs a:hover { color: var(--hz-cyan); }
.hz-crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--hz-cyan-deep);
}
.hz-crumbs [aria-current="page"] { color: var(--hz-cyan); }

.hz-prose { max-width: 68ch; color: var(--hz-mist); }
.hz-prose h2 { margin: 2em 0 0.6em; font-size: clamp(24px, 2.6vw, 32px); }
.hz-prose h3 { margin: 1.6em 0 0.5em; }
.hz-prose p { margin-bottom: 1.15em; }
.hz-prose ul, .hz-prose ol { padding-left: 1.25em; margin-bottom: 1.2em; }
.hz-prose ul { list-style: disc; }
.hz-prose ol { list-style: decimal; }
.hz-prose li { margin-bottom: 0.5em; }
.hz-prose li::marker { color: var(--hz-amber); }
.hz-prose blockquote {
  margin: 1.6em 0;
  padding: 16px 22px;
  border-left: 3px solid var(--hz-amber);
  border-radius: 0 var(--hz-radius-sm) var(--hz-radius-sm) 0;
  background: rgba(63, 224, 206, 0.06);
  color: var(--hz-cream);
}

/* ---------- 9. 数据读数 ---------- */
.hz-readout { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 44px); }
.hz-readout__item { min-width: 132px; }
.hz-readout__num {
  display: block;
  font-family: var(--hz-font-mono);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
  color: var(--hz-cyan);
  letter-spacing: -0.01em;
}
.hz-readout__label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--hz-mist);
}

/* ---------- 10. 跳过链接 ---------- */
.hz-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--hz-amber);
  color: var(--hz-umber);
  font-weight: 700;
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--hz-ease);
}
.hz-skip:focus-visible { transform: translateY(0); color: var(--hz-umber); }

/* ---------- 11. 头部框架 ---------- */
.hz-header { position: relative; z-index: 80; }

.hz-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--hz-rail-w);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 22px 10px 26px;
  background: linear-gradient(180deg, #050F1A 0%, #071829 62%, #081B2C 100%);
  border-right: 1px solid var(--hz-line);
}
.hz-rail::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 96px;
  width: 1px;
  height: 60px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(63, 224, 206, 0.7), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.hz-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--hz-cream);
}
.hz-brand__mark {
  position: relative;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(63, 224, 206, 0.55);
  background: radial-gradient(circle at 50% 50%, rgba(245, 169, 63, 0.95) 0 2px, transparent 3px);
  box-shadow: 0 0 18px -6px rgba(63, 224, 206, 0.8);
}
.hz-brand__mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14%;
  width: 72%;
  height: 1px;
  background: var(--hz-cyan);
  opacity: 0.8;
}
.hz-brand__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 14%;
  height: 72%;
  width: 1px;
  background: var(--hz-cyan);
  opacity: 0.8;
}
.hz-brand__text {
  writing-mode: vertical-rl;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.3em;
  line-height: 1;
  color: var(--hz-cream);
}
.hz-brand:hover .hz-brand__text { color: var(--hz-cyan); }

.hz-rail .hz-chip--version {
  margin-top: auto;
  font-size: 10px;
  padding: 5px 8px;
  letter-spacing: 0.04em;
}
.hz-rail__hint {
  writing-mode: vertical-rl;
  font-family: var(--hz-font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--hz-mist);
  opacity: 0.62;
  margin: 0;
  line-height: 1.4;
}

.hz-navtoggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--hz-line);
  color: var(--hz-cyan);
  font-family: var(--hz-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  cursor: pointer;
}
.hz-navtoggle:hover { border-color: var(--hz-cyan); background: rgba(63, 224, 206, 0.1); }
.hz-navtoggle__bars { position: relative; display: block; width: 18px; height: 10px; }
.hz-navtoggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--hz-cyan);
  transition: transform 0.3s var(--hz-ease);
}
.hz-navtoggle__bars span:nth-child(1) { top: 0; }
.hz-navtoggle__bars span:nth-child(2) { bottom: 0; }
.hz-header[data-open] .hz-navtoggle__bars span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.hz-header[data-open] .hz-navtoggle__bars span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.hz-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  height: var(--hz-bar-h);
  padding: 0 clamp(20px, 3vw, 44px);
  background: rgba(5, 15, 26, 0.84);
  border-bottom: 1px solid var(--hz-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hz-nav { margin-left: auto; }
.hz-nav__list { display: flex; align-items: center; gap: 2px; }
.hz-nav__item { display: flex; align-items: center; gap: 2px; }
.hz-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--hz-mist);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.hz-nav__idx {
  font-family: var(--hz-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--hz-cyan-deep);
  transition: color 0.25s;
}
.hz-nav__link:hover { color: var(--hz-cream); background: rgba(63, 224, 206, 0.09); }
.hz-nav__link[aria-current="page"] {
  color: var(--hz-cyan);
  background: rgba(63, 224, 206, 0.1);
  box-shadow: inset 0 0 0 1px rgba(63, 224, 206, 0.5), 0 0 26px -14px rgba(63, 224, 206, 0.95);
}
.hz-nav__link[aria-current="page"] .hz-nav__idx { color: var(--hz-amber); }

.hz-star {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  flex: none;
}
.hz-star__glyph {
  width: 11px;
  height: 11px;
  background: var(--hz-mist);
  opacity: 0.42;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  transition: background-color 0.25s, opacity 0.25s, transform 0.25s;
}
.hz-star:hover .hz-star__glyph { opacity: 1; background: var(--hz-amber); transform: scale(1.15); }
.hz-star[aria-pressed="true"] .hz-star__glyph {
  background: var(--hz-amber);
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(245, 169, 63, 0.85));
}

.hz-bar__actions { display: flex; align-items: center; gap: 10px; }
.hz-bar__actions .hz-btn { white-space: nowrap; }

.hz-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(63, 224, 206, 0.12);
  pointer-events: none;
  z-index: 45;
}
.hz-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--hz-cyan-deep), var(--hz-cyan) 62%, var(--hz-amber));
  box-shadow: 0 0 12px rgba(63, 224, 206, 0.7);
  transition: width 0.14s linear;
}

.hz-version {
  position: fixed;
  left: calc(var(--hz-rail-w) + 16px);
  bottom: 104px;
  z-index: 95;
  width: min(340px, calc(100vw - var(--hz-rail-w) - 32px));
  padding: 18px 20px;
  border-radius: var(--hz-radius-md);
  border: 1px solid rgba(63, 224, 206, 0.35);
  background: linear-gradient(160deg, #0A1F31 0%, #123A54 100%);
  box-shadow: 0 30px 70px -30px #000;
  color: var(--hz-mist);
  font-size: 13px;
  line-height: 1.75;
}
.hz-version[hidden] { display: none; }
.hz-version__title {
  display: block;
  margin-bottom: 10px;
  font-family: var(--hz-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--hz-cyan);
  text-transform: uppercase;
}
.hz-version__line { margin-bottom: 8px; padding-left: 14px; position: relative; }
.hz-version__line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: var(--hz-amber);
}

/* 中宽屏收敛 */
@media (min-width: 1080px) and (max-width: 1359px) {
  .hz-nav__idx { display: none; }
  .hz-btn--quiet { display: none; }
}

/* ---------- 12. 页脚 ---------- */
.hz-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  padding: clamp(48px, 6vw, 88px) 0 28px;
  overflow: hidden;
  border-top: 1px solid var(--hz-line);
  background: linear-gradient(180deg, rgba(5, 15, 26, 0.35) 0%, #050F1A 46%, #040C15 100%);
}
.hz-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hz-cyan), var(--hz-amber), transparent);
  opacity: 0.7;
}
.hz-footer__grid {
  max-width: var(--hz-maxw);
  margin-inline: auto;
  padding-inline: var(--hz-gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.hz-footer__brand { display: grid; gap: 16px; align-content: start; }
.hz-brand--footer { flex-direction: row; align-items: center; gap: 12px; justify-self: start; }
.hz-brand--footer .hz-brand__text {
  writing-mode: horizontal-tb;
  font-size: 16px;
  letter-spacing: 0.14em;
}
.hz-footer__tagline {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  line-height: 1.5;
  color: var(--hz-cream);
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin: 0;
}
.hz-footer__note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--hz-mist);
  opacity: 0.72;
  max-width: 34ch;
  margin: 0;
}
.hz-footer__col { display: grid; gap: 12px; align-content: start; }
.hz-footer__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hz-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hz-cyan);
}
.hz-footer__title::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hz-rust);
}
.hz-footer__list { display: grid; gap: 2px; }
.hz-footer__link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--hz-mist);
  transition: color 0.22s, transform 0.22s var(--hz-ease);
}
.hz-footer__link:hover { color: var(--hz-cyan); transform: translateX(3px); }

.hz-footer__meta {
  max-width: var(--hz-maxw);
  margin: clamp(32px, 4vw, 52px) auto 0;
  padding: clamp(18px, 2.4vw, 26px) var(--hz-gutter) 0;
  border-top: 1px dashed rgba(63, 224, 206, 0.2);
  display: grid;
  gap: 10px;
}
.hz-footer__contact {
  font-size: 13px;
  line-height: 1.9;
  color: var(--hz-mist);
  opacity: 0.85;
  margin: 0;
}
.hz-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--hz-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--hz-cyan-deep);
  margin: 0;
}
.hz-footer__legal span { position: relative; }
.hz-footer__legal span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(63, 224, 206, 0.35);
  transform: translateY(-50%);
}
.hz-footer__watermark {
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding-inline: var(--hz-gutter);
  font-family: var(--hz-font-mono);
  font-weight: 800;
  font-size: clamp(34px, 11vw, 148px);
  line-height: 0.8;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(63, 224, 206, 0.06);
  pointer-events: none;
  user-select: none;
}

/* ---------- 13. 返回顶部胶囊（JS 注入） ---------- */
.hz-totop {
  position: fixed;
  right: clamp(14px, 2vw, 30px);
  bottom: clamp(14px, 2vw, 30px);
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(63, 224, 206, 0.45);
  background: rgba(10, 31, 49, 0.92);
  color: var(--hz-cyan);
  font-family: var(--hz-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s var(--hz-ease), visibility 0.3s;
}
.hz-totop:hover { border-color: var(--hz-amber); color: var(--hz-amber); }
.hz-totop[data-visible] { opacity: 1; visibility: visible; transform: none; }
.hz-totop__arrow { font-size: 13px; line-height: 1; }

/* ---------- 14. 通用工具与动画 ---------- */
.hz-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hz-js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.62s var(--hz-ease), transform 0.62s var(--hz-ease);
}
.hz-js [data-reveal][data-revealed] { opacity: 1; transform: none; }

[data-chapter-link][aria-current="true"] {
  color: var(--hz-cyan);
  box-shadow: inset 2px 0 0 var(--hz-amber);
}

/* ---------- 15. 桌面分屏 ---------- */
@media (min-width: 1080px) {
  .hz-grid--split { grid-template-columns: 5fr 7fr; }
  .hz-grid--split-rev { grid-template-columns: 7fr 5fr; }
}
@media (min-width: 820px) {
  .hz-grid--cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .hz-footer__grid { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); }
}

/* ---------- 16. 移动端：框架折叠 ---------- */
@media (max-width: 1079px) {
  body { padding-left: 0; }
  .hz-header { position: sticky; top: 0; }

  .hz-rail {
    position: static;
    inset: auto;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px var(--hz-gutter);
    border-right: 0;
    border-bottom: 1px solid var(--hz-line);
    background: rgba(5, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .hz-rail::after { display: none; }
  .hz-brand { flex-direction: row; gap: 10px; }
  .hz-brand__mark { width: 30px; height: 30px; }
  .hz-brand__text { writing-mode: horizontal-tb; font-size: 15px; letter-spacing: 0.14em; }
  .hz-rail__hint { display: none; }
  .hz-rail .hz-chip--version { margin-top: 0; margin-left: auto; font-size: 10px; }
  .hz-navtoggle { display: inline-flex; margin-left: 4px; }

  .hz-bar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px var(--hz-gutter) 24px;
    background: linear-gradient(170deg, #0A1F31 0%, #061626 100%);
    border-bottom: 1px solid var(--hz-line);
    box-shadow: 0 40px 80px -40px #000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .hz-header[data-open] .hz-bar { display: flex; }

  .hz-nav { margin-left: 0; }
  .hz-nav[data-open] { display: block; }
  .hz-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .hz-nav__item {
    justify-content: space-between;
    border-bottom: 1px solid var(--hz-line-soft);
  }
  .hz-nav__item:last-child { border-bottom: 0; }
  .hz-nav__link { flex: 1; padding: 14px 4px; border-radius: 0; font-size: 16px; }
  .hz-nav__link[aria-current="page"] {
    background: none;
    box-shadow: inset 2px 0 0 var(--hz-amber);
    padding-left: 12px;
  }
  .hz-star { width: 38px; height: 38px; }
  .hz-star__glyph { width: 13px; height: 13px; }

  .hz-bar__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hz-bar__actions .hz-btn { width: 100%; }

  .hz-version {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--hz-gutter);
    right: var(--hz-gutter);
    bottom: auto;
    width: auto;
    z-index: 96;
  }
  .hz-footer__grid { grid-template-columns: 1fr 1fr; }
  .hz-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 559px) {
  body { font-size: 16px; }
  .hz-footer__grid { grid-template-columns: 1fr; }
  .hz-footer__tagline { max-width: none; }
  .hz-totop { padding: 9px 14px; }
}

/* ---------- 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;
    scroll-behavior: auto !important;
  }
  .hz-js [data-reveal] { opacity: 1; transform: none; }
}
