/* ==========================================================================
   亿发CN · 全站共享样式 / assets/site.css
   设计逻辑：深墨蓝浮岛操作台 + 冷雾白纸面正文，橙红渐变只做路径与热度，
   亮青只做状态与焦点。所有卡片统一 1px 描边 + 两层微阴影。
   ========================================================================== */

/* ---------- 1. 视觉变量 ---------- */
:root {
  --flame: #FF4A1C;
  --amber: #FF8A1E;
  --ink: #0D1B2E;
  --ink-2: #1D3352;
  --cyan: #14D2C2;
  --mist: #F4F6F9;
  --paper: #FFFFFF;
  --gray: #6B7688;
  --line: #D8DEE8;
  --alert: #C81E3C;

  --grad-warm: linear-gradient(108deg, #FF4A1C 0%, #FF8A1E 100%);
  --grad-track: linear-gradient(90deg, #14D2C2 0%, #FF4A1C 64%, #FF8A1E 100%);

  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(13, 27, 46, .05), 0 10px 24px -16px rgba(13, 27, 46, .28);
  --shadow-2: 0 2px 4px rgba(13, 27, 46, .08), 0 22px 48px -22px rgba(13, 27, 46, .42);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur: 200ms;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-offset: 86px;
}

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

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

body {
  margin: 0;
  padding-top: var(--header-offset);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-wrap: balance;
}

p { margin: 0; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

::selection { background: rgba(255, 74, 28, .22); }

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

/* ---------- 3. 中文排版与工具类 ---------- */
.h1 { font-size: clamp(34px, 5.2vw, 64px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; }
.h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.2; }
.h3 { font-size: clamp(18px, 1.6vw, 20px); font-weight: 700; line-height: 1.35; }

.mono,
.eyebrow,
.index-num,
.index-value,
.stat-value,
.card-meta,
.chip,
.footer-heading,
.footer-brand-sub,
.footer-legal,
.breadcrumb,
.media-cap {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .08em;
  font-feature-settings: "tnum" 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--flame);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-warm);
}

.lede {
  max-width: 62ch;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.75;
  color: var(--gray);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -120px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus { top: 14px; }

/* ---------- 4. 分区与栅格 ---------- */
.section {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
}

.section--tight { padding-block: clamp(28px, 4vw, 48px); }

.section--mist { background: var(--mist); }

.section--ink { background: var(--ink); color: var(--mist); }

.section--ink .section-title { color: #fff; }
.section--ink .section-sub,
.section--ink .lede { color: rgba(244, 246, 249, .68); }
.section--ink .eyebrow { color: var(--cyan); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.section-sub {
  max-width: 56ch;
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--gray);
}

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.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)); }
.grid--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }

.rule { height: 1px; background: var(--line); border: 0; }
.rule--ink { background: rgba(216, 222, 232, .16); }

/* ---------- 5. 卡片 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2vw, 24px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.card--flat { box-shadow: none; }

.card--ink {
  background: var(--ink-2);
  border-color: rgba(216, 222, 232, .14);
  color: var(--mist);
  box-shadow: none;
}

a.card:hover,
a.card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: rgba(20, 210, 194, .5);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-title { font-size: 19px; font-weight: 700; line-height: 1.35; }

.card-meta { font-size: 12px; color: var(--gray); }

.card-body { font-size: 15.5px; line-height: 1.65; color: var(--gray); }

.card--ink .card-body { color: rgba(244, 246, 249, .72); }

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.card--ink .card-foot { border-color: rgba(216, 222, 232, .14); }

/* ---------- 6. 媒体容器（页面阶段放图） ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--mist);
}

.media > img,
.media > picture > img,
.media > video {
  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--tall { aspect-ratio: 3 / 4; }
.media--21x9 { aspect-ratio: 21 / 9; }

.media--slant { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }

.media--ink {
  background: var(--ink-2);
  border-color: rgba(216, 222, 232, .16);
}

.media--track::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 74, 28, .18), transparent 48%),
    repeating-linear-gradient(115deg, rgba(13, 27, 46, .07) 0 1px, transparent 1px 16px);
}

.media-cap {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--gray);
}

/* ---------- 7. 索引行 / 标签 / 数据 / 提示 ---------- */
.index-list { border-top: 1px solid var(--line); }

.index-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease);
}

.index-item:hover { background: var(--mist); }

.index-num { font-size: 12px; letter-spacing: .1em; color: var(--flame); }
.index-label { font-size: 16px; font-weight: 600; }
.index-value { font-size: 12px; color: var(--gray); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
  font-size: 11.5px;
  color: var(--gray);
}

.tag--cyan {
  border-color: rgba(20, 210, 194, .45);
  background: rgba(20, 210, 194, .08);
  color: #0C7C73;
}

.tag--flame {
  border-color: rgba(255, 74, 28, .4);
  background: rgba(255, 74, 28, .07);
  color: #C2330F;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
}

.dot--flame { background: var(--flame); }
.dot--gray { background: var(--line); }

.stat { display: flex; flex-direction: column; gap: 6px; }

.stat-value {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--ink);
}

.stat-label { font-size: 13px; color: var(--gray); }

.section--ink .stat-value { color: #fff; }
.section--ink .stat-label { color: rgba(244, 246, 249, .6); }

.note {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-md);
  background: var(--paper);
  font-size: 15px;
  color: var(--gray);
}

.note--alert { border-left-color: var(--alert); color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--flame);
}

.link-arrow::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 8. 正文与面包屑 ---------- */
.prose {
  max-width: 38em;
  font-size: 17px;
  line-height: 1.75;
}

.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 40px; font-size: 24px; font-weight: 800; }
.prose h3 { margin-top: 28px; font-size: 19px; font-weight: 700; }
.prose ul { display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 18px; }

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flame);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
}

.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumb li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumb a:hover { color: var(--flame); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 700; }
.section--ink .breadcrumb,
.section--ink .breadcrumb [aria-current="page"] { color: rgba(244, 246, 249, .7); }

/* ---------- 9. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
              color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.btn--primary {
  background: var(--grad-warm);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(255, 74, 28, .85);
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(255, 74, 28, .9); }

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

.btn--ghost:hover { border-color: var(--cyan); color: #0C7C73; }

.btn--quiet {
  padding: 0 10px;
  border-color: transparent;
  background: transparent;
  color: var(--gray);
}

.btn--quiet:hover { color: var(--flame); }

.btn--block { width: 100%; }

.btn-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gray);
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn[aria-pressed="true"] { border-color: var(--cyan); color: var(--cyan); }
.btn[aria-pressed="true"] .btn-dot { background: var(--cyan); box-shadow: 0 0 0 4px rgba(20, 210, 194, .22); }

.btn-label--short { display: none; }

/* ---------- 10. 分段切换 ---------- */
.tabs { display: block; }

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
  box-shadow: var(--shadow-1);
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gray);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.tab:hover { color: var(--ink); background: var(--mist); }

.tab[aria-selected="true"] {
  color: #fff;
  background: var(--grad-warm);
  box-shadow: 0 8px 18px -12px rgba(255, 74, 28, .9);
}

.tab-panel { margin-top: 22px; }
.tab-panel[hidden] { display: none; }
.tab-panel:not([hidden]) { animation: tabIn 220ms var(--ease) both; }

@keyframes tabIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   11. 悬浮胶囊导航
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 120;
  padding: clamp(10px, 1.4vw, 16px) var(--gutter) 0;
  pointer-events: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  z-index: 130;
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--grad-track);
  box-shadow: 0 0 12px rgba(255, 74, 28, .45);
  transition: width 120ms linear;
}

.nav-shell {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  pointer-events: auto;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  padding: 8px 8px 8px 16px;
  border: 1px solid rgba(216, 222, 232, .16);
  border-radius: var(--r-pill);
  background: rgba(13, 27, 46, .9);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 18px 40px -24px rgba(13, 27, 46, .9);
  color: #fff;
  transition: padding var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.site-header[data-condensed] .nav-pill {
  padding-block: 5px;
  background: rgba(13, 27, 46, .97);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--grad-warm);
  box-shadow: 0 6px 16px -8px rgba(255, 74, 28, .9);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 9px 7px;
  border-top: 2px solid rgba(255, 255, 255, .95);
  border-bottom: 2px solid rgba(255, 255, 255, .55);
  transform: skewX(-24deg);
}

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

.brand-name { font-size: 16px; font-weight: 800; letter-spacing: .02em; color: #fff; }

.brand-tag {
  max-width: 140px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--cyan);
  white-space: nowrap;
  transition: opacity var(--dur) var(--ease), max-width var(--dur) var(--ease);
}

.site-header[data-condensed] .brand-tag {
  max-width: 0;
  opacity: 0;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(216, 222, 232, .24);
  border-radius: var(--r-pill);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.nav-toggle-bar {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}

.nav-toggle-bar::before { top: -5px; }
.nav-toggle-bar::after { top: 5px; }

.site-header[data-open] .nav-toggle-bar { background: transparent; }
.site-header[data-open] .nav-toggle-bar::before { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bar::after { transform: translateY(-5px) rotate(-45deg); }

/* 导航 */
.site-nav { flex: 1 1 auto; min-width: 0; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, .6vw, 6px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  color: rgba(244, 246, 249, .72);
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-link:hover { color: #fff; background: rgba(20, 210, 194, .14); }

.nav-link[aria-current="page"] {
  color: #fff;
  font-weight: 700;
  background: rgba(255, 74, 28, .18);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateX(-50%);
}

/* 操作区 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.site-header .btn {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 14px;
}

.site-header .btn--ghost {
  border-color: rgba(216, 222, 232, .24);
  color: rgba(244, 246, 249, .82);
}

.site-header .btn--ghost:hover,
.site-header .btn--ghost[aria-pressed="true"] {
  border-color: var(--cyan);
  color: var(--cyan);
}

.nav-cta-mobile { display: none; }

/* ==========================================================================
   12. 页脚
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 40px);
  background: var(--ink);
  color: rgba(244, 246, 249, .78);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-track);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -110px;
  right: -70px;
  width: min(460px, 62%);
  height: 340px;
  background: radial-gradient(closest-side, rgba(20, 210, 194, .2), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr) minmax(0, .95fr);
  gap: clamp(24px, 3.5vw, 56px);
}

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

.footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.01em;
}

.footer-brand-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--cyan);
}

.footer-tagline {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cyan);
}

.footer-note {
  max-width: 36ch;
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(244, 246, 249, .66);
}

.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(216, 222, 232, .2);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(244, 246, 249, .72);
}

.chip--warm { border-color: rgba(255, 74, 28, .5); color: #FFB59E; }
.chip--cyan { border-color: rgba(20, 210, 194, .5); color: #8DF1E8; }

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

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

.footer-heading {
  margin-bottom: 14px;
  font-size: 11.5px;
  letter-spacing: .16em;
  color: rgba(244, 246, 249, .5);
}

.footer-list { display: grid; gap: 10px; }

.footer-list a {
  font-size: 15px;
  color: rgba(244, 246, 249, .82);
  transition: color var(--dur) var(--ease);
}

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

.footer-phone {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .04em;
  color: #fff;
}

.footer-line {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(244, 246, 249, .66);
}

.footer-line + .footer-line { margin-top: 6px; }

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(216, 222, 232, .14);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(244, 246, 249, .5);
}

/* ==========================================================================
   13. 响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .grid--split { grid-template-columns: minmax(0, 1fr); }

  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-lead { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body {
    padding-top: 0;
    padding-bottom: 96px;
  }

  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }

  .prose { max-width: none; }

  /* 底部胶囊条 */
  .site-header {
    top: auto;
    bottom: 0;
    padding: 0 var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .nav-pill {
    gap: 8px;
    padding: 8px 10px 8px 14px;
    border-radius: 22px;
  }

  .brand-mark { width: 26px; height: 26px; border-radius: 8px; }
  .brand-name { font-size: 15px; }
  .brand-tag { display: none; }

  .nav-toggle { display: inline-flex; }
  .nav-toggle-label { display: none; }

  .nav-cta-desktop { display: none; }
  .nav-cta-mobile { display: inline-flex; }

  .btn-label--full { display: none; }
  .btn-label--short { display: inline; }

  .site-header .btn { padding-inline: 12px; font-size: 13.5px; }

  /* 面板向上展开 */
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 10px);
    padding: 10px;
    border: 1px solid rgba(216, 222, 232, .16);
    border-radius: 22px;
    background: rgba(13, 27, 46, .97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 -20px 40px -24px rgba(13, 27, 46, .9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) linear;
  }

  .site-header[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 16px;
  }

  .nav-link[aria-current="page"]::after {
    left: auto;
    right: 16px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-legal { padding-top: 18px; }
}

@media (max-width: 400px) {
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .site-header .btn--primary { padding-inline: 10px; }
}

/* ---------- 14. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  a.card:hover,
  a.card:focus-visible,
  .btn--primary:hover { transform: none; }

  .scroll-progress-bar { transition: none; }
}
