/* ==========================================================================
   极速彩 · 共享站点样式  /assets/site.css
   设计语言：高原夜行 + 数据流。深墨蓝底 / 电光青光轨 / 锐利直角 / 精密网格
   层级：Reset → Tokens → 中文排版 → 工具与基础组件 → 页头 → 页脚 → 响应式
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body, h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  /* 底色 */
  --ink-900: #07111F;
  --ink-800: #0C1B2E;
  --ink-700: #0F2238;
  --card: #0F2238;
  --line: #1E3A5F;
  --line-soft: rgba(30, 58, 95, 0.55);

  /* 信号色 */
  --cyan: #00E5FF;
  --cyan-soft: #6FF3FF;
  --orange: #FF6B35;
  --gold: #F2C14E;
  --green: #6BFF8E;
  --alert: #FF5C5C;

  /* 文字 */
  --text: #EAF7FF;
  --text-dim: #9DB6CC;

  /* 字体：窄体标题 / 常规正文 / 等宽数据标签 */
  --font-display: "Inter Tight", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 尺度 */
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 56px);
  --skew: 7deg;
  --dur: 0.22s;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 中文排版与页面底色 ---------- */
html { background: var(--ink-900); }

body {
  font-family: var(--font-body);
  font-size: clamp(15px, 0.55vw + 13.2px, 17px);
  line-height: 1.72;
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: var(--ink-900);
  background-image:
    linear-gradient(to right, rgba(30, 58, 95, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 58, 95, 0.18) 1px, transparent 1px),
    radial-gradient(1100px 620px at 82% -8%, rgba(0, 229, 255, 0.08), transparent 62%),
    radial-gradient(900px 520px at -6% 14%, rgba(255, 107, 53, 0.055), transparent 60%);
  background-size: 88px 88px, 88px 88px, auto, auto;
  background-position: 0 0, 0 0, center top, left top;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

p { max-width: 100%; }

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

/* ---------- 4. 通用工具 ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 900px; }

.measure { max-width: 44ch; }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(30px, 4vw, 54px); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-lede {
  margin-top: 14px;
  max-width: 54ch;
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 1.78;
  color: var(--text-dim);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.4;
  color: var(--cyan-soft);
}
.kicker::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: none;
}

/* ---------- 5. 网格 ---------- */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 24px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--cyan); color: #04121C; }
.btn--primary:hover { background: var(--cyan-soft); }

.btn--accent { background: var(--orange); color: #190500; }
.btn--accent:hover { background: #FF8759; }

.btn--ghost {
  background: rgba(12, 27, 46, 0.6);
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- 7. 卡片 / 标签 / 状态点 ---------- */
.card {
  position: relative;
  display: block;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--line);
  background: var(--card);
  transition: border-color var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out);
}
.card:hover { border-color: var(--cyan); background: #122A45; }

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  background: rgba(15, 34, 56, 0.65);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--text-dim);
  transition: color var(--dur), border-color var(--dur), background var(--dur);
}
.chip:hover { border-color: var(--cyan-soft); color: var(--text); }
.chip[aria-pressed="true"],
.chip--active {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #04121C;
  font-weight: 500;
}

.status-dot {
  display: inline-block;
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.status-dot--live { background: var(--green); }
.status-dot--idle { background: var(--gold); }
.status-dot--alert { background: var(--alert); }

@media (prefers-reduced-motion: no-preference) {
  .status-dot--live { animation: dot-breathe 2.4s ease-in-out infinite; }
}
@keyframes dot-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(107, 255, 142, 0.55); }
  50% { box-shadow: 0 0 0 5px rgba(107, 255, 142, 0); }
}

/* ---------- 8. 图片容器（页面阶段放占位图） ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background-color: var(--ink-800);
  background-image:
    linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, transparent 46%),
    repeating-linear-gradient(135deg, rgba(30, 58, 95, 0.5) 0 1px, transparent 1px 16px);
}
.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--portrait { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-caption {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 11px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--text-dim);
}
.media-caption::before {
  content: "";
  flex: none;
  width: 14px;
  height: 1px;
  background: var(--cyan);
  transform: translateY(-3px);
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--text-dim);
}
.breadcrumb a {
  border-bottom: 1px solid transparent;
  transition: color var(--dur), border-color var(--dur);
}
.breadcrumb a:hover {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan-soft);
}
.breadcrumb__sep { color: var(--line); }
.breadcrumb__current { color: var(--cyan); }

/* ---------- 10. 滚动显现 ---------- */
.reveal {
  transform: translateY(14px);
  transition: transform 0.65s var(--ease-out);
}
.reveal.is-visible { transform: none; }

/* ---------- 11. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 400;
  padding: 12px 22px;
  background: var(--cyan);
  color: #04121C;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 14px; }

/* ---------- 12. 阅读进度光轨 ---------- */
.scroll-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 210;
  pointer-events: none;
  background: rgba(30, 58, 95, 0.45);
}
.scroll-rail__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-soft) 38%, var(--orange) 76%, var(--gold) 100%);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.55);
  will-change: transform;
}

/* ---------- 13. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  padding: 14px var(--gutter) 0;
}

.header-rail {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* 品牌岛 */
.brand-island {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  min-height: 56px;
  padding: 9px 18px 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 27, 46, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: border-color var(--dur), background var(--dur), transform var(--dur);
}
.brand-island:hover {
  border-color: var(--cyan);
  background: rgba(15, 34, 56, 0.94);
}
.brand-island:active { transform: translateY(1px); }

.brand-mark {
  display: grid;
  gap: 3px;
  width: 22px;
  flex: none;
}
.brand-mark > span {
  display: block;
  height: 3px;
  background: var(--cyan);
  transform-origin: left center;
}
.brand-mark > span:nth-child(1) { width: 100%; }
.brand-mark > span:nth-child(2) { width: 72%; background: var(--orange); }
.brand-mark > span:nth-child(3) { width: 44%; background: var(--green); }

@media (prefers-reduced-motion: no-preference) {
  .brand-mark > span:nth-child(3) { animation: mark-breathe 2.6s ease-in-out infinite; }
}
@keyframes mark-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.32; }
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: var(--text);
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  line-height: 1.1;
  color: var(--text-dim);
  white-space: nowrap;
}

/* 导航岛 */
.nav-island {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 27, 46, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.site-nav { display: block; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  color: var(--text-dim);
  border-radius: 999px;
  transition: color var(--dur), background var(--dur);
}
.nav-link:hover {
  color: var(--text);
  background: rgba(0, 229, 255, 0.09);
}
.nav-link[aria-current="page"] {
  color: #04121C;
  background: var(--cyan);
  font-weight: 800;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.55), 0 0 22px rgba(0, 229, 255, 0.3);
}

/* 页头 CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--orange);
  color: #190500;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--dur), transform var(--dur);
}
.header-cta::after {
  content: "";
  width: 6px;
  height: 6px;
  background: #190500;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.header-cta:hover { background: #FF8759; }
.header-cta:active { transform: translateY(1px); }

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  transition: border-color var(--dur), color var(--dur);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 14px;
  flex: none;
}
.nav-toggle__bars > span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur);
}
.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1;
}
.nav-toggle [data-label-close] { display: none; }
.nav-toggle[aria-expanded="true"] [data-label-open] { display: none; }
.nav-toggle[aria-expanded="true"] [data-label-close] { display: inline; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(1) {
  transform: translateY(2.75px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(2) {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--ink-800);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%, var(--cyan) 16%, var(--cyan-soft) 34%,
    var(--orange) 60%, var(--gold) 82%, transparent 100%);
  opacity: 0.85;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(30, 58, 95, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 58, 95, 0.4) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 62%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 62%);
  opacity: 0.55;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 76px) var(--gutter) clamp(26px, 3vw, 38px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.footer-brand { min-width: 0; }

.footer-brand__name {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--text);
}

.footer-brand__line {
  margin-top: 12px;
  max-width: 32ch;
  font-size: 13.5px;
  line-height: 1.72;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

.footer-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: rgba(15, 34, 56, 0.7);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--text-dim);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}

.footer-col { min-width: 0; }

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.5;
  color: var(--gold);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.footer-col ul {
  display: grid;
  gap: 2px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-dim);
  transition: color var(--dur);
}
.footer-col a::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  margin-right: 0;
  background: var(--cyan);
  transition: width var(--dur) var(--ease-out), margin-right var(--dur) var(--ease-out);
}
.footer-col a:hover { color: var(--cyan); }
.footer-col a:hover::before { width: 10px; margin-right: 8px; }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--line);
}

.contact-item {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.contact-item__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  line-height: 1.4;
  color: var(--text-dim);
}

.contact-item__value {
  font-size: 13px;
  line-height: 1.72;
  color: var(--text);
  overflow-wrap: anywhere;
}

.copy-value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 4px 0;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--text);
  border-bottom: 1px dashed var(--line);
  transition: color var(--dur), border-color var(--dur);
}
.copy-value:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.copy-value__text { overflow-wrap: anywhere; }
.copy-value__hint {
  flex: none;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold);
  transition: color var(--dur);
}
.copy-value.is-copied .copy-value__hint { color: var(--green); }

.footer-note {
  grid-column: 1 / -1;
  max-width: 78ch;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: clamp(26px, 3.4vw, 40px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--text-dim);
}
.footer-legal__icp { color: var(--gold); opacity: 0.9; }

/* ---------- 15. 响应式：平板与移动 ---------- */
@media (max-width: 1180px) {
  .nav-link { padding: 10px 11px; font-size: 13.5px; }
  .header-cta { padding: 0 14px; font-size: 12.5px; }
}

@media (max-width: 1000px) {
  .site-header { padding: 12px var(--gutter) 0; }

  .brand-island { min-height: 50px; padding: 8px 16px 8px 12px; }
  .brand-tag { display: none; }

  .nav-island { padding: 5px; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(320px, calc(100vw - var(--gutter) * 2));
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(9, 20, 35, 0.98);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6);
  }
  .site-nav[data-open] { display: block; }

  .nav-list {
    display: grid;
    gap: 2px;
  }
  .nav-link {
    justify-content: flex-start;
    min-height: 46px;
    padding: 13px 16px;
    font-size: 15px;
    border-radius: 12px;
  }
  .nav-link[aria-current="page"] { border-radius: 12px; box-shadow: none; }

  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-3, .span-4, .span-5 { grid-column: span 3; }
  .span-6, .span-7, .span-8, .span-12 { grid-column: span 6; }

  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .footer-brand__line { max-width: 46ch; }
  .footer-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col a { min-height: 42px; }
}

@media (max-width: 600px) {
  .grid-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-3, .span-4, .span-5, .span-6,
  .span-7, .span-8, .span-12 { grid-column: span 2; }

  .footer-contact { grid-template-columns: minmax(0, 1fr); }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 15.5px; }
  .brand-mark { width: 18px; }
  .nav-toggle { padding: 0 11px; }
  .nav-toggle__label { display: none; }
}

/* ---------- 16. 触屏与动效偏好 ---------- */
@media (hover: none) {
  .brand-island:hover { border-color: var(--line); background: rgba(12, 27, 46, 0.82); }
  .nav-link:hover { color: var(--text-dim); background: transparent; }
  .nav-link[aria-current="page"]:hover { color: #04121C; background: var(--cyan); }
  .card:hover { border-color: var(--line); background: var(--card); }
  .chip:hover { border-color: var(--line); color: var(--text-dim); }
  .copy-value:hover { color: var(--text); border-bottom-color: var(--line); }
}

@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;
  }

  .reveal { transform: none !important; }
  .scroll-rail__bar { transition: none !important; }
  .skip-link { transition: none; }
}
