/* ===========================================================
   6686赛场 · /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, ul, ol, li, figure, blockquote, dl, dt, dd {
  margin: 0;
}

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

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

button, input, select, textarea { font: inherit; color: inherit; }

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

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

:focus-visible {
  outline: 2px solid #6FFFE0;
  outline-offset: 2px;
}

[id] { scroll-margin-top: 132px; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 色彩：夜场球场体系 */
  --hf-night: #04120E;
  --hf-stand: #0A231C;
  --hf-turf: #123A2E;
  --hf-cyan: #2BF0C8;
  --hf-mist: #6FFFE0;
  --hf-orange: #FF6B1A;
  --hf-violet: #A45BFF;
  --hf-amber: #F2C14E;
  --hf-ink: #E9F5F0;
  --hf-dim: #8FA9A1;
  --hf-alert: #FF5A5F;

  --hf-line: rgba(43, 240, 200, .16);
  --hf-line-2: rgba(43, 240, 200, .34);
  --hf-line-soft: rgba(143, 169, 161, .20);
  --hf-tint: rgba(43, 240, 200, .07);

  /* 字体族 */
  --hf-font-display: "Archivo Narrow", "Oswald", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --hf-font-body: "Inter", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --hf-font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  /* 尺度 */
  --hf-w: 1280px;
  --hf-gutter: clamp(20px, 4vw, 72px);
  --hf-r: 2px;
  --hf-shadow: 0 18px 40px -28px rgba(0, 0, 0, .95);
  --hf-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基底与中文排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--hf-night);
  background-image:
    linear-gradient(rgba(43, 240, 200, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 240, 200, .035) 1px, transparent 1px);
  background-size: 96px 96px;
  background-attachment: fixed;
  color: var(--hf-ink);
  font-family: var(--hf-font-body);
  font-size: 16px;
  line-height: 1.75;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hf-font-display);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.005em;
  color: var(--hf-ink);
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: .01em;
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; line-height: 1.32; }
h4 { font-size: 1.05rem; }

strong, b { font-weight: 700; color: var(--hf-ink); }

::selection {
  background: var(--hf-cyan);
  color: var(--hf-night);
}

.hf-mono,
code, kbd, samp, time, .hf-num {
  font-family: var(--hf-font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: .01em;
}

/* ---------- 4. 容器与基础布局 ---------- */
.hf-panel {
  width: 100%;
  max-width: calc(var(--hf-w) + var(--hf-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--hf-gutter);
}

.hf-main {
  display: block;
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 6vw, 96px);
}

.hf-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(var(--hf-cols, 12), minmax(0, 1fr));
}

.hf-prose {
  max-width: 38em;
}

.hf-prose p + p { margin-top: 1.1em; }

.hf-prose h2, .hf-prose h3 { margin-top: 1.8em; margin-bottom: .6em; }

/* ---------- 5. 跳转链接 ---------- */
.hf-skip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  transform: translateY(-130%);
  background: var(--hf-cyan);
  color: #04120E;
  font-family: var(--hf-font-mono);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 12px 22px;
  border-radius: 0 0 var(--hf-r) 0;
  transition: transform .18s var(--hf-ease);
}

.hf-skip:focus { transform: translateY(0); }

/* ---------- 6. 头部 ---------- */
.hf-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--hf-night);
  border-bottom: 1px solid var(--hf-line);
}

/* 6.1 信号带 */
.hf-signal {
  background:
    linear-gradient(90deg, rgba(43, 240, 200, .09), rgba(43, 240, 200, 0) 58%),
    var(--hf-stand);
  border-bottom: 1px solid var(--hf-line-soft);
}

.hf-signal__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 38px;
  font-family: var(--hf-font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hf-dim);
}

.hf-signal__state {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  max-width: none;
}

.hf-signal__dot {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--hf-cyan);
  box-shadow: 0 0 0 3px rgba(43, 240, 200, .14), 0 0 12px rgba(43, 240, 200, .65);
  animation: hf-pulse 2.8s ease-in-out infinite;
}

@keyframes hf-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .42; }
}

.hf-signal__value { color: var(--hf-cyan); }

.hf-signal__value::before {
  content: "·";
  margin-right: 8px;
  color: var(--hf-line-2);
}

.hf-tools {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.hf-tool {
  padding: 8px 16px;
  border-left: 1px solid var(--hf-line-soft);
  color: var(--hf-dim);
  transition: color .18s var(--hf-ease), background-color .18s var(--hf-ease);
}

.hf-tool:first-child { border-left: 0; }

.hf-tool:hover {
  color: var(--hf-ink);
  background: var(--hf-tint);
}

/* 6.2 命令栏 */
.hf-command {
  position: relative;
  background: var(--hf-stand);
}

.hf-command::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg,
    var(--hf-cyan) 0%,
    rgba(43, 240, 200, 0) 38%,
    rgba(164, 91, 255, .55) 74%,
    rgba(255, 107, 26, .7) 100%);
  opacity: .8;
  pointer-events: none;
}

.hf-command__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  min-height: 76px;
}

.hf-brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  margin-right: auto;
  padding: 10px 0;
  color: var(--hf-ink);
}

.hf-brand__mark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--hf-font-display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--hf-ink);
}

.hf-brand__mark::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 15px;
  margin-right: 10px;
  background: var(--hf-orange);
  transform: skewX(-14deg);
}

.hf-brand__sub {
  font-family: var(--hf-font-mono);
  font-size: .66rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--hf-dim);
  padding-left: 19px;
}

.hf-brand:hover .hf-brand__sub { color: var(--hf-cyan); }

/* 6.3 导航 */
.hf-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hf-nav__link {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 12px;
  color: var(--hf-dim);
  border-bottom: 2px solid transparent;
  transition: color .18s var(--hf-ease), border-color .18s var(--hf-ease), background-color .18s var(--hf-ease);
}

.hf-nav__idx {
  font-family: var(--hf-font-mono);
  font-size: .64rem;
  letter-spacing: .12em;
  color: var(--hf-amber);
  opacity: .78;
}

.hf-nav__label {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}

.hf-nav__link:hover {
  color: var(--hf-ink);
  border-bottom-color: var(--hf-mist);
  background: rgba(43, 240, 200, .05);
}

.hf-nav__link:hover .hf-nav__idx { opacity: 1; }

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

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

/* 6.4 移动端索引按钮 */
.hf-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--hf-line-2);
  border-radius: var(--hf-r);
  color: var(--hf-ink);
  font-family: var(--hf-font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .18s var(--hf-ease), border-color .18s var(--hf-ease);
}

.hf-nav-toggle__bars {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 11px;
}

.hf-nav-toggle__bars::before,
.hf-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform .2s var(--hf-ease);
}

.hf-nav-toggle__bars::before { top: 0; }
.hf-nav-toggle__bars::after { bottom: 0; }

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

.hf-nav-toggle[aria-expanded="true"] {
  color: var(--hf-cyan);
  border-color: var(--hf-cyan);
  background: rgba(43, 240, 200, .08);
}

.hf-nav-toggle[aria-expanded="true"] .hf-nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.hf-nav-toggle[aria-expanded="true"] .hf-nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 7. 按钮 ---------- */
.hf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--hf-r);
  font-family: var(--hf-font-mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s var(--hf-ease), color .18s var(--hf-ease),
              border-color .18s var(--hf-ease), box-shadow .18s var(--hf-ease);
}

.hf-btn--primary {
  background: var(--hf-orange);
  color: #0B0500;
}

.hf-btn--primary:hover {
  background: #FF8340;
  box-shadow: 0 10px 26px -16px rgba(255, 107, 26, .95);
}

.hf-btn--ghost {
  background: transparent;
  border-color: var(--hf-line-2);
  color: var(--hf-cyan);
}

.hf-btn--ghost:hover {
  background: rgba(43, 240, 200, .09);
  border-color: var(--hf-cyan);
}

.hf-command__cta { flex: none; }

/* ---------- 8. 面包屑 ---------- */
.hf-breadcrumb {
  font-family: var(--hf-font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hf-dim);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.hf-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.hf-breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.hf-breadcrumb li::after {
  content: "/";
  margin: 0 10px;
  color: var(--hf-line-2);
}

.hf-breadcrumb li:last-child::after { display: none; }

.hf-breadcrumb a { transition: color .18s var(--hf-ease); }
.hf-breadcrumb a:hover { color: var(--hf-cyan); }

/* ---------- 9. 卡片与标签 ---------- */
.hf-card {
  position: relative;
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--hf-stand);
  border: 1px solid var(--hf-line-soft);
  border-radius: var(--hf-r);
  transition: transform .18s var(--hf-ease), border-color .18s var(--hf-ease), box-shadow .18s var(--hf-ease);
}

.hf-card:hover {
  transform: translateY(-2px);
  border-color: var(--hf-line-2);
  box-shadow: var(--hf-shadow);
}

.hf-card--accent { border-left: 2px solid var(--hf-cyan); }

.hf-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--hf-line-2);
  border-radius: var(--hf-r);
  background: rgba(43, 240, 200, .06);
  color: var(--hf-cyan);
  font-family: var(--hf-font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hf-tag--violet {
  border-color: rgba(164, 91, 255, .5);
  background: rgba(164, 91, 255, .09);
  color: var(--hf-violet);
}

.hf-tag--amber {
  border-color: rgba(242, 193, 78, .5);
  background: rgba(242, 193, 78, .09);
  color: var(--hf-amber);
}

.hf-tag--alert {
  border-color: rgba(255, 90, 95, .5);
  background: rgba(255, 90, 95, .09);
  color: var(--hf-alert);
}

.hf-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--hf-font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--hf-dim);
}

.hf-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--hf-cyan);
}

.hf-badge--warn::before { background: var(--hf-orange); }

/* ---------- 10. 索引跳转条 ---------- */
.hf-index-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin-bottom: clamp(24px, 3.5vw, 44px);
  padding: 6px 0;
  border-top: 1px solid var(--hf-line);
  border-bottom: 1px solid var(--hf-line);
  background: linear-gradient(90deg, rgba(43, 240, 200, .05), rgba(43, 240, 200, 0) 62%);
}

.hf-index-bar a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 14px;
  border-left: 1px solid var(--hf-line-soft);
  font-family: var(--hf-font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hf-dim);
  transition: color .18s var(--hf-ease), background-color .18s var(--hf-ease);
}

.hf-index-bar a:first-child { border-left: 0; }

.hf-index-bar a:hover {
  color: var(--hf-ink);
  background: rgba(43, 240, 200, .08);
}

.hf-index-bar a[aria-current="true"] {
  color: var(--hf-cyan);
  background: rgba(43, 240, 200, .12);
}

/* ---------- 11. 手风琴 ---------- */
.hf-acc {
  border-top: 1px solid var(--hf-line-soft);
}

.hf-acc__item { border-bottom: 1px solid var(--hf-line-soft); }

.hf-acc__head { font-size: inherit; font-weight: inherit; line-height: inherit; }

.hf-acc__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--hf-font-display);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--hf-ink);
  transition: color .18s var(--hf-ease);
}

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

.hf-acc__idx {
  font-family: var(--hf-font-mono);
  font-weight: 400;
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--hf-amber);
}

.hf-acc__mark {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
  margin-left: auto;
}

.hf-acc__mark::before,
.hf-acc__mark::after {
  content: "";
  position: absolute;
  background: var(--hf-cyan);
}

.hf-acc__mark::before { left: 0; top: 5.5px; width: 12px; height: 1px; }
.hf-acc__mark::after {
  left: 5.5px; top: 0; width: 1px; height: 12px;
  transition: transform .24s var(--hf-ease);
}

.hf-acc__trigger[aria-expanded="true"] .hf-acc__mark::after { transform: scaleY(0); }

.hf-acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .24s var(--hf-ease);
}

.hf-acc__panel[data-open] { grid-template-rows: 1fr; }

.hf-acc__inner { overflow: hidden; }

.hf-acc__body {
  padding: 0 0 22px;
  color: var(--hf-dim);
}

.hf-acc__body p { max-width: 38em; }
.hf-acc__body p + p { margin-top: 1em; }

/* ---------- 12. 图片容器基础规则 ---------- */
.hf-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--hf-line);
  border-radius: var(--hf-r);
  background:
    linear-gradient(135deg, var(--hf-turf) 0%, var(--hf-stand) 62%, var(--hf-night) 100%);
}

.hf-media > img,
.hf-media > picture > img,
.hf-media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hf-media--pitch::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      transparent calc(50% - .5px),
      rgba(43, 240, 200, .22) 50%,
      transparent calc(50% + .5px)),
    radial-gradient(circle at 50% 50%,
      transparent 0 42px,
      rgba(43, 240, 200, .2) 42px 43px,
      transparent 43px);
  mix-blend-mode: screen;
}

/* ---------- 13. 显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--hf-ease), transform .5s var(--hf-ease);
}

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

/* ---------- 14. 页脚 ---------- */
.hf-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(56px, 8vw, 130px);
  background: var(--hf-stand);
  border-top: 1px solid var(--hf-line);
}

.hf-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(100%, 540px);
  height: 2px;
  background: linear-gradient(90deg, var(--hf-cyan), rgba(43, 240, 200, 0));
  pointer-events: none;
}

.hf-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 340px;
  background: linear-gradient(180deg, rgba(43, 240, 200, .055), rgba(4, 18, 14, 0) 82%);
  pointer-events: none;
}

.hf-footer > .hf-panel {
  position: relative;
  z-index: 1;
}

.hf-footer__arc {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(43, 240, 200, .1);
  border-radius: 50%;
  pointer-events: none;
}

.hf-footer__arc::before {
  content: "";
  position: absolute;
  inset: 86px;
  border: 1px solid rgba(43, 240, 200, .07);
  border-radius: 50%;
}

.hf-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(48px, 6vw, 84px) 0 clamp(34px, 4vw, 54px);
}

.hf-footer__brand { max-width: 34em; }

.hf-footer__mark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--hf-font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--hf-ink);
  max-width: none;
}

.hf-footer__mark::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 16px;
  margin-right: 11px;
  background: var(--hf-cyan);
  transform: skewX(-14deg);
}

.hf-footer__tag {
  margin-top: 8px;
  font-family: var(--hf-font-mono);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--hf-dim);
  max-width: none;
}

.hf-footer__note {
  margin-top: 20px;
  padding-left: 16px;
  border-left: 1px solid var(--hf-line-2);
  font-size: .9rem;
  line-height: 1.8;
  color: var(--hf-dim);
  max-width: 36em;
}

.hf-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.hf-col__title {
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--hf-line-soft);
  font-family: var(--hf-font-mono);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hf-amber);
  line-height: 1.4;
}

.hf-col__list li + li { margin-top: 2px; }

.hf-col__list a {
  position: relative;
  display: inline-block;
  padding: 3px 0;
  font-size: .92rem;
  color: var(--hf-dim);
  transition: color .18s var(--hf-ease), padding-left .18s var(--hf-ease);
}

.hf-col__list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--hf-cyan);
  transition: width .18s var(--hf-ease);
}

.hf-col__list a:hover {
  color: var(--hf-cyan);
  padding-left: 15px;
}

.hf-col__list a:hover::before { width: 9px; }

.hf-footer__contact {
  padding-bottom: clamp(24px, 3vw, 36px);
}

.hf-contact__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px clamp(24px, 3vw, 48px);
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--hf-line-soft);
}

.hf-contact__row dt {
  margin-bottom: 6px;
  font-family: var(--hf-font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hf-dim);
}

.hf-contact__row dd {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--hf-ink);
  word-break: break-word;
}

.hf-contact__note {
  margin-top: 18px;
  font-size: .8rem;
  line-height: 1.75;
  color: var(--hf-dim);
  max-width: 46em;
}

.hf-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(18px, 3vw, 40px);
  padding: 20px 0 30px;
  border-top: 1px solid var(--hf-line-soft);
  font-size: .78rem;
  color: var(--hf-dim);
}

.hf-footer__legal { max-width: none; }

.hf-footer__copy { max-width: none; margin-left: auto; }

.hf-footer__signoff {
  max-width: none;
  font-family: var(--hf-font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--hf-cyan);
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1180px) {
  .hf-nav__link { padding: 10px 9px; gap: 6px; }
  .hf-nav__label { font-size: .88rem; }
  .hf-command__cta { padding: 11px 16px; font-size: .7rem; }
}

@media (max-width: 1024px) {
  .hf-nav__idx { display: none; }
  .hf-footer__top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  [id] { scroll-margin-top: 172px; }

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

  .hf-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 80;
    background: var(--hf-stand);
    border-top: 1px solid var(--hf-line);
    border-bottom: 1px solid var(--hf-line);
    box-shadow: var(--hf-shadow);
    padding: 6px 0 12px;
  }

  .hf-nav[data-open] { display: block; }

  .hf-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hf-nav__link {
    padding: 14px var(--hf-gutter);
    border-bottom: 1px solid var(--hf-line-soft);
    border-left: 2px solid transparent;
    gap: 12px;
  }

  .hf-nav__idx { display: inline; }

  .hf-nav__link:hover {
    border-bottom-color: var(--hf-line-soft);
    border-left-color: var(--hf-mist);
  }

  .hf-nav__link[aria-current="page"] {
    border-bottom-color: var(--hf-line-soft);
    border-left-color: var(--hf-cyan);
  }

  .hf-command__inner { min-height: 66px; }
  .hf-brand__mark { font-size: 1.3rem; }
  .hf-command__cta { padding: 10px 14px; letter-spacing: .1em; }

  .hf-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hf-footer__copy { margin-left: 0; }
}

@media (max-width: 720px) {
  .hf-signal__inner {
    min-height: 34px;
    gap: 10px;
    font-size: .66rem;
    letter-spacing: .1em;
  }

  .hf-signal__label { display: none; }

  .hf-signal__value::before { margin-right: 0; content: ""; }

  .hf-tool { padding: 7px 9px; }
}

@media (max-width: 640px) {
  .hf-command__cta { display: none; }
  .hf-footer__base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hf-footer__cols { grid-template-columns: minmax(0, 1fr); }
  .hf-tools { flex-wrap: wrap; }
}

/* ---------- 16. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

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

  .hf-card:hover { transform: none; }
}
