/* ==========================================================================
   奇亿测速 · 共享样式 /assets/site.css
   数据经幡：五色窄带 + 暮色岩底 + 直角细线 + 编号章节
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 150px;
}
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --rock-dusk: #1B2430;
  --rock-gray: #2C3E50;
  --paper: #F5F1EA;
  --ink: #1A1F26;
  --tib-red: #C0392B;
  --tib-red-deep: #9B2D22;
  --flag-blue: #3498DB;
  --flag-green: #2ECC71;
  --flag-yellow: #F1C40F;
  --flag-red: #E74C3C;
  --flag-white: #ECF0F1;
  --dusk-purple: #3A2E3F;

  --line-dark: rgba(236, 240, 241, 0.16);
  --line-dark-soft: rgba(236, 240, 241, 0.08);
  --line-light: rgba(26, 31, 38, 0.15);

  --font-display: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1280px;
  --gutter: clamp(18px, 4vw, 56px);
}

/* ---------- 3. 中文排版基线 ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--tib-red); color: #fff; }

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

.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.sr-only {
  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;
}

/* ---------- 4. 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--paper { background-color: var(--paper); color: var(--ink); }
.section--dusk { background-color: var(--rock-dusk); color: var(--flag-white); }
.section--gray { background-color: var(--rock-gray); color: var(--flag-white); }
.section--purple { background-color: var(--dusk-purple); color: var(--flag-white); }

.rule { height: 1px; border: 0; margin: 0; background-color: var(--line-light); }
.section--dusk .rule, .section--gray .rule, .section--purple .rule { background-color: var(--line-dark); }

/* ---------- 5. 排版组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  color: var(--tib-red);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background-color: currentColor; }
.section--dusk .eyebrow,
.section--gray .eyebrow,
.section--purple .eyebrow { color: var(--flag-yellow); }

.chapter-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(56px, 10vw, 128px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: rgba(26, 31, 38, 0.14);
  font-variant-numeric: tabular-nums;
}
.section--dusk .chapter-num,
.section--gray .chapter-num,
.section--purple .chapter-num { color: rgba(236, 240, 241, 0.16); }

.display {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0.01em;
}
.display strong { font-weight: 700; }

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.85;
  max-width: 32em;
}

.prose {
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  max-width: 36em;
}
.prose > * + * { margin-top: 1.05em; }
.prose h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.prose ul, .prose ol { display: grid; gap: 0.45em; }
.prose ul li { position: relative; padding-left: 1.4em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85em;
  width: 9px; height: 1px;
  background-color: var(--tib-red);
}
.prose a {
  color: var(--tib-red);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.section--dusk .prose a,
.section--gray .prose a,
.section--purple .prose a { color: var(--flag-yellow); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn--primary { background-color: var(--tib-red); border-color: var(--tib-red); color: #fff; }
.btn--primary:hover, .btn--primary:focus-visible { background-color: var(--tib-red-deep); border-color: var(--tib-red-deep); }
.btn--ghost { background-color: transparent; border-color: rgba(26, 31, 38, 0.4); color: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--tib-red); color: var(--tib-red); }
.section--dusk .btn--ghost,
.section--gray .btn--ghost,
.section--purple .btn--ghost { border-color: rgba(236, 240, 241, 0.42); color: var(--flag-white); }
.section--dusk .btn--ghost:hover,
.section--gray .btn--ghost:hover,
.section--purple .btn--ghost:hover { border-color: var(--flag-yellow); color: var(--flag-yellow); }
.btn--mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.06em; }

/* ---------- 7. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(236, 240, 241, 0.62);
}
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--flag-yellow); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li::after { content: "/"; opacity: 0.45; }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs [aria-current="page"] { color: var(--flag-white); }

/* ---------- 8. 网格与媒体容器 ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background-color: var(--rock-gray);
  border: 1px solid var(--line-light);
}
.media img, .media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--21x9 { aspect-ratio: 21 / 9; }
.media--placeholder {
  display: grid;
  place-items: center;
  color: rgba(236, 240, 241, 0.55);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}
.figure-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: rgba(26, 31, 38, 0.58);
}
.section--dusk .figure-caption,
.section--gray .figure-caption,
.section--purple .figure-caption { color: rgba(236, 240, 241, 0.58); }

/* ---------- 9. 卡片 / 标签 / 表格 ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 32px);
  background-color: #fff;
  border: 1px solid var(--line-light);
  transition: border-color 180ms ease, transform 180ms ease;
}
.card::before {
  content: "";
  position: absolute;
  left: -1px; right: -1px; top: -1px;
  height: 3px;
  background-color: var(--flag-blue);
  transition: height 180ms ease, background-color 180ms ease;
}
.card:hover { border-color: var(--tib-red); transform: translateY(-2px); }
.card:hover::before { height: 4px; background-color: var(--tib-red); }
.section--dusk .card,
.section--gray .card,
.section--purple .card { background-color: rgba(236, 240, 241, 0.04); border-color: var(--line-dark); color: var(--flag-white); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  border: 1px solid currentColor;
  color: var(--flag-blue);
}
.tag--green { color: var(--flag-green); }
.tag--yellow { color: #8A6A00; }
.tag--red { color: var(--tib-red); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.6;
  background-color: transparent;
  border: 1px solid rgba(26, 31, 38, 0.28);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}
.chip:hover { border-color: var(--tib-red); color: var(--tib-red); }
.chip[aria-pressed="true"] { background-color: var(--tib-red); border-color: var(--tib-red); color: #fff; }
.section--dusk .chip,
.section--gray .chip,
.section--purple .chip { border-color: var(--line-dark); color: var(--flag-white); }
.section--dusk .chip[aria-pressed="true"],
.section--gray .chip[aria-pressed="true"],
.section--purple .chip[aria-pressed="true"] { background-color: var(--tib-red); border-color: var(--tib-red); }

.data-table { font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line-light);
}
.data-table th {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(26, 31, 38, 0.6);
}
.section--dusk .data-table th, .section--dusk .data-table td,
.section--gray .data-table th, .section--gray .data-table td,
.section--purple .data-table th, .section--purple .data-table td { border-bottom-color: var(--line-dark); }
.section--dusk .data-table th,
.section--gray .data-table th,
.section--purple .data-table th { color: rgba(236, 240, 241, 0.6); }

/* ---------- 10. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 600;
  padding: 12px 20px;
  background-color: var(--flag-yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: top 180ms ease;
}
.skip-link:focus { top: 16px; }

/* ---------- 11. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background-color: var(--rock-dusk);
  color: var(--flag-white);
  border-bottom: 1px solid var(--line-dark);
}

.flag-strip { display: flex; width: 100%; height: 4px; }
.flag-strip__cell { flex: 1 1 auto; height: 100%; }
.flag-strip__cell--blue { background-color: var(--flag-blue); }
.flag-strip__cell--white { background-color: var(--flag-white); }
.flag-strip__cell--red { background-color: var(--flag-red); }
.flag-strip__cell--green { background-color: var(--flag-green); }
.flag-strip__cell--yellow { background-color: var(--flag-yellow); }

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

.header-top {
  padding-block: 14px;
  border-bottom: 1px solid var(--line-dark-soft);
  background-image: repeating-linear-gradient(
    115deg,
    rgba(236, 240, 241, 0.045) 0 1px,
    transparent 1px 15px
  );
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--tib-red);
  color: var(--tib-red);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}
.brand:hover .brand-mark,
.brand:focus-visible .brand-mark { background-color: var(--tib-red); color: #fff; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: rgba(236, 240, 241, 0.6);
}

.header-meta { display: flex; align-items: center; gap: 22px; }
.sync-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  color: rgba(236, 240, 241, 0.74);
}
.sync-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background-color: var(--flag-green);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.16);
  animation: sync-pulse 3.2s ease-in-out infinite;
}
@keyframes sync-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.16); }
  50% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0.06); }
}

.meta-link,
.footer-link,
.u-link {
  position: relative;
  text-decoration: none;
  transition: color 180ms ease;
}
.meta-link {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.6;
  color: rgba(236, 240, 241, 0.82);
}
.meta-link::after,
.footer-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}
.meta-link:hover,
.meta-link:focus-visible { color: var(--flag-white); }
.meta-link:hover::after,
.meta-link:focus-visible::after { transform: scaleX(1); }

.header-nav-row {
  position: relative;
  background-color: var(--rock-gray);
  border-top: 1px solid var(--line-dark-soft);
}
.header-nav-row .header-inner {
  min-height: 54px;
  padding-block: 0;
  gap: 16px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background-color: transparent;
  border: 1px solid rgba(236, 240, 241, 0.28);
  color: var(--flag-white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.nav-toggle:hover { border-color: var(--tib-red); background-color: rgba(192, 57, 43, 0.16); }
.nav-toggle__bars { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 16px; }
.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  width: 100%;
  background-color: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}
.site-header[data-open] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.site-nav { flex: 1 1 auto; }
.nav-list { display: flex; flex-wrap: wrap; align-items: stretch; gap: 2px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-decoration: none;
  color: rgba(236, 240, 241, 0.74);
  transition: color 180ms ease, background-color 180ms ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background-color: var(--tib-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}
.nav-link:hover { color: var(--flag-white); background-color: rgba(236, 240, 241, 0.05); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--flag-white); background-color: rgba(192, 57, 43, 0.14); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--flag-yellow);
  opacity: 0.85;
}
.nav-link[aria-current="page"] .nav-index { color: var(--flag-white); opacity: 1; }

.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background-color: var(--tib-red);
  border: 1px solid var(--tib-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.header-cta:hover,
.header-cta:focus-visible {
  background-color: transparent;
  border-color: var(--flag-yellow);
  color: var(--flag-yellow);
}

.scroll-progress {
  height: 2px;
  background-color: rgba(236, 240, 241, 0.1);
  overflow: hidden;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background-image: linear-gradient(90deg, var(--flag-blue), var(--flag-green), var(--flag-yellow), var(--flag-red));
  transition: transform 120ms linear;
}

/* ---------- 12. 页脚 ---------- */
.site-footer {
  background-color: var(--rock-dusk);
  background-image: radial-gradient(120% 90% at 100% 0, rgba(58, 46, 63, 0.9), rgba(27, 36, 48, 0) 62%);
  color: var(--flag-white);
  border-top: 1px solid var(--line-dark);
}
.footer-inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 72px) var(--gutter) 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand { max-width: 34em; }
.footer-logo {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
}
.footer-desc {
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: rgba(236, 240, 241, 0.72);
  max-width: 30em;
}
.footer-icp {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: rgba(236, 240, 241, 0.5);
}
.footer-title {
  position: relative;
  margin-bottom: 18px;
  padding-left: 13px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.6;
  color: var(--flag-white);
}
.footer-title::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 5px; height: 5px;
  background-color: var(--tib-red);
}
.footer-list { display: grid; gap: 10px; }
.footer-link {
  display: inline-block;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(236, 240, 241, 0.72);
}
.footer-link:hover,
.footer-link:focus-visible { color: var(--flag-white); }
.footer-link:hover::after,
.footer-link:focus-visible::after { transform: scaleX(1); }

.footer-list--contact { gap: 12px; }
.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.contact-label {
  flex: 0 0 auto;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.8;
  color: var(--flag-blue);
  border: 1px solid rgba(52, 152, 219, 0.45);
}
.contact-value {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: rgba(236, 240, 241, 0.88);
  word-break: break-word;
}
.copy-btn {
  padding: 2px 8px;
  background-color: transparent;
  border: 1px solid rgba(236, 240, 241, 0.22);
  color: rgba(236, 240, 241, 0.62);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}
.copy-btn:hover {
  border-color: var(--tib-red);
  background-color: rgba(192, 57, 43, 0.18);
  color: var(--flag-white);
}
.copy-btn[data-copied="true"] {
  border-color: var(--flag-green);
  color: var(--flag-green);
  background-color: rgba(46, 204, 113, 0.12);
}
.footer-hours {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.8;
  color: rgba(236, 240, 241, 0.55);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: rgba(236, 240, 241, 0.55);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-link--legal { font-size: 12.5px; letter-spacing: 0.06em; color: rgba(236, 240, 241, 0.6); }

/* ---------- 13. 平板 ---------- */
@media (max-width: 1080px) {
  .header-meta { gap: 16px; }
  .nav-link { padding: 16px 13px; letter-spacing: 0.08em; }
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 14. 移动导航 ---------- */
@media (max-width: 900px) {
  html { scroll-padding-top: 130px; }

  .nav-toggle { display: inline-flex; order: 1; }
  .header-nav-row .header-inner { flex-wrap: nowrap; justify-content: space-between; padding-block: 9px; }
  .header-cta { order: 2; margin-left: auto; padding: 9px 16px; font-size: 12px; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    order: 3;
    max-height: 72vh;
    overflow-y: auto;
    background-color: var(--rock-dusk);
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 18px 38px rgba(10, 14, 20, 0.42);
  }
  .site-header[data-open] .site-nav { display: block; }

  .nav-list { flex-direction: column; flex-wrap: nowrap; gap: 0; padding-block: 4px; }
  .nav-item { border-bottom: 1px solid var(--line-dark-soft); }
  .nav-item:last-child { border-bottom: 0; }
  .nav-link {
    display: flex;
    width: 100%;
    padding: 15px var(--gutter);
    font-size: 14px;
    letter-spacing: 0.1em;
  }
  .nav-link::after { left: 0; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: scaleY(0); transform-origin: top center; }
  .nav-link:hover::after,
  .nav-link[aria-current="page"]::after { transform: scaleY(1); }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:hover { transform: none; }
}

/* ---------- 15. 手机 ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-top { padding-block: 11px; }
  .header-meta { gap: 0; }
  .sync-state { display: none; }
  .brand-name { font-size: 17px; letter-spacing: 0.1em; }
  .brand-sub { font-size: 10px; letter-spacing: 0.12em; }
  .brand-mark { width: 34px; height: 34px; font-size: 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .media--21x9 { aspect-ratio: 16 / 9; }
}

/* ---------- 16. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .sync-dot { animation: none; }
  .scroll-progress__bar { transition: none; }
  .card:hover { transform: none; }
}
