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

ul, ol { list-style: none; }

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

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

button { background: none; border: 0; }

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

table { border-collapse: collapse; }

/* ---------- 2. Tokens ---------- */
:root {
  /* 色板 */
  --pitch: #071A16;
  --char: #0E1211;
  --graphite: #1C2422;
  --chalk: #E6EAE6;
  --mute: #9AA6A0;
  --lime: #C8F04B;
  --gold: #E9B44C;
  --teal: #0F3B33;
  --chart: #3F8FA3;
  --alert: #FF7A55;

  --line: rgba(230, 234, 230, .10);
  --line-strong: rgba(230, 234, 230, .20);
  --line-lime: rgba(200, 240, 75, .42);
  --line-gold: rgba(233, 180, 76, .42);

  /* 形状 */
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --r-pill: 999px;

  /* 字体 */
  --font-head: 'Barlow Semi Condensed', 'Archivo Narrow', 'Oswald', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', 'Roboto Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --shadow-lg: 0 40px 80px -44px rgba(0, 0, 0, .95);
  --shadow-card: 0 24px 50px -34px rgba(0, 0, 0, .9);
  --shadow-lime: 0 16px 34px -20px rgba(200, 240, 75, .85);

  --shell: min(1280px, 100% - 40px);
  --measure: 38em;
}

/* ---------- 3. Base & 中文排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--chalk);
  background-color: var(--pitch);
  background-image:
    radial-gradient(1100px 620px at 10% -10%, rgba(200, 240, 75, .07), transparent 62%),
    radial-gradient(900px 520px at 92% 2%, rgba(63, 143, 163, .12), transparent 64%),
    linear-gradient(180deg, #071A16 0%, #06120F 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--chalk);
}

h1 { font-size: clamp(2.6rem, 7vw, 6.2rem); line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }

p { max-width: var(--measure); }

strong { color: var(--chalk); font-weight: 600; }

hr { border: 0; }

::selection { background: var(--lime); color: var(--pitch); }

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

#main-content {
  display: block;
  scroll-margin-top: 120px;
}

/* ---------- 4. 布局工具 ---------- */
.container {
  width: var(--shell);
  margin-inline: auto;
}

.section { padding: clamp(48px, 7vw, 96px) 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  margin-bottom: clamp(24px, 3.5vw, 44px);
}

.section-title { margin: 0; }

.section-label,
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
}

.eyebrow { color: var(--lime); }

.coord {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--gold);
  text-transform: uppercase;
}

.lede {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: var(--mute);
  max-width: 44em;
}

.mono {
  font-family: var(--font-mono);
  font-size: .8em;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
}

.numeric {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.hairline {
  height: 1px;
  background: var(--line);
  margin: 28px 0;
}

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }

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

.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ---------- 5. 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgba(230, 234, 230, .03);
  color: var(--chalk);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.btn:hover { transform: translateY(-2px); border-color: var(--line-lime); }

.btn--primary {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--pitch);
  box-shadow: var(--shadow-lime);
}

.btn--primary:hover { box-shadow: 0 22px 44px -20px rgba(200, 240, 75, 1); }

.btn--ghost {
  border-color: var(--line-lime);
  color: var(--lime);
  background: rgba(200, 240, 75, .06);
}

.btn--quiet {
  border-color: var(--line);
  color: var(--mute);
}

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

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(230, 234, 230, .03);
  color: var(--mute);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .05em;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.chip:hover { color: var(--chalk); border-color: var(--line-lime); }

.chip.is-active,
.chip[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--pitch);
  font-weight: 600;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
}

.tag--lime { color: var(--lime); border-color: var(--line-lime); background: rgba(200, 240, 75, .08); }
.tag--gold { color: var(--gold); border-color: var(--line-gold); background: rgba(233, 180, 76, .08); }
.tag--alert { color: var(--alert); border-color: rgba(255, 122, 85, .45); background: rgba(255, 122, 85, .08); }

.stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.stat {
  padding: 18px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--graphite);
  background: linear-gradient(180deg, rgba(15, 59, 51, .5), rgba(14, 18, 17, .78));
}

.stat-value {
  font-family: var(--font-mono);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--lime);
}

.stat-label {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--graphite);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(15, 59, 51, .34), rgba(14, 18, 17, .7));
}

.data-table {
  width: 100%;
  min-width: 520px;
  font-size: 14.5px;
}

.data-table th,
.data-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--graphite);
}

.data-table thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
  background: rgba(28, 36, 34, .62);
  white-space: nowrap;
}

.data-table tbody tr:nth-child(even) { background: rgba(28, 36, 34, .34); }

.data-table td.num,
.data-table th.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute);
}

.breadcrumbs .crumb { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs .crumb + .crumb::before { content: "／"; color: rgba(154, 166, 160, .5); }
.breadcrumbs a:hover { color: var(--lime); }

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--graphite);
  background:
    radial-gradient(120% 90% at 18% 8%, rgba(63, 143, 163, .24), transparent 62%),
    linear-gradient(160deg, #0F3B33, #081310 72%);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(230, 234, 230, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 234, 230, .06) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .55;
}

.media-frame img,
.media-frame svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

.media-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(7, 26, 22, .78);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
}

.expand {
  border: 1px solid var(--graphite);
  border-radius: var(--r-lg);
  background: rgba(14, 18, 17, .72);
  overflow: hidden;
}

.expand + .expand { margin-top: 12px; }

.expand > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--chalk);
  transition: color .2s ease, background .2s ease;
}

.expand > summary::-webkit-details-marker { display: none; }

.expand > summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--lime);
}

.expand[open] > summary {
  color: var(--lime);
  border-bottom: 1px solid var(--graphite);
  background: rgba(200, 240, 75, .05);
}

.expand[open] > summary::after { content: "–"; }

.expand-body {
  padding: 18px 22px 22px;
  color: var(--mute);
  font-size: 15.5px;
}

.tilt-card {
  --tilt: -2.5deg;
  transform: rotate(var(--tilt));
  padding: 22px 24px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-lime);
  background: linear-gradient(150deg, rgba(15, 59, 51, .92), rgba(14, 18, 17, .94));
  box-shadow: var(--shadow-lg);
}

.tilt-card--gold { border-color: var(--line-gold); }

/* ---------- 6. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--pitch);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  transition: top .22s ease;
}

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

/* ---------- 7. 页头：悬浮胶囊浮岛 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 16px 0 14px;
  background: linear-gradient(180deg, rgba(7, 26, 22, .96) 42%, rgba(7, 26, 22, .74) 76%, rgba(7, 26, 22, 0));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding .32s ease, background .32s ease;
}

.header-inner {
  position: relative;
  width: var(--shell);
  margin-inline: auto;
}

.header-tray {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 28, 25, .95), rgba(11, 16, 15, .93));
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(230, 234, 230, .05);
  transition: padding .3s ease, border-color .3s ease, gap .3s ease;
}

.header-tray:hover { border-color: var(--line-lime); }

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: rgba(200, 240, 75, .1);
  border: 1px solid var(--line-lime);
  transition: background .25s ease, transform .25s ease;
}

.brand:hover .brand-mark { background: rgba(200, 240, 75, .18); transform: translateY(-1px); }

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.12;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--chalk);
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--mute);
  white-space: nowrap;
}

/* 主导航 */
.primary-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

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

.nav-item { flex: 0 0 auto; }

.nav-link {
  display: inline-block;
  padding: 9px 13px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--mute);
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav-link:hover { color: var(--chalk); background: rgba(230, 234, 230, .07); }

.nav-link[aria-current="page"] {
  background: var(--lime);
  color: var(--pitch);
  font-weight: 700;
  box-shadow: 0 12px 26px -16px rgba(200, 240, 75, .95);
}

.nav-cta { display: none; }

/* 工具区 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(230, 234, 230, .03);
  color: var(--mute);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.tool-btn:hover { color: var(--chalk); border-color: var(--line-lime); }

.tool-btn[aria-expanded="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--pitch);
}

.tool-btn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 180, 76, .18);
}

.tool-btn[aria-expanded="true"] .tool-btn-dot { background: var(--pitch); box-shadow: none; }

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--pitch);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: var(--shadow-lime);
  transition: transform .2s ease, box-shadow .2s ease;
}

.header-cta:hover { transform: translateY(-1px); box-shadow: 0 22px 40px -20px rgba(200, 240, 75, 1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgba(230, 234, 230, .04);
  color: var(--chalk);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.nav-toggle-bars { display: grid; gap: 3px; width: 16px; }

.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--pitch);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 头部面板 */
.header-panels { position: relative; }

.header-panel {
  position: absolute;
  top: 12px;
  right: 0;
  z-index: 90;
  width: min(520px, calc(100vw - 40px));
  padding: 20px 20px 22px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(230, 234, 230, .12);
  background: linear-gradient(180deg, #14201C, #0B100E);
  box-shadow: var(--shadow-lg);
}

.header-panel[hidden] { display: none; }

.header-panel--left { right: auto; left: 0; }

.panel-title {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
}

.panel-note {
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--mute);
  max-width: none;
}

.round-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.round-chip {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(230, 234, 230, .03);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--chalk);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.round-chip:hover {
  color: var(--lime);
  border-color: var(--line-lime);
  background: rgba(200, 240, 75, .08);
  transform: translateY(-2px);
}

.fav-empty {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px dashed rgba(230, 234, 230, .18);
  color: var(--mute);
  font-size: 13.5px;
  max-width: none;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--gold));
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  pointer-events: none;
}

/* 紧凑态（桌面端滚动后） */
@media (min-width: 900px) {
  .site-header[data-compact="true"] { padding: 8px 0 10px; }

  .site-header[data-compact="true"] .header-tray { padding: 6px 10px 6px 12px; gap: 10px; }

  .site-header[data-compact="true"] .brand-tag { display: none; }

  .site-header[data-compact="true"] .nav-link { font-size: 13.5px; padding: 7px 12px; }

  .site-header[data-compact="true"] .tool-btn { padding: 8px 11px; }

  .site-header[data-compact="true"] .tool-btn-label { display: none; }

  .site-header[data-compact="true"] .header-cta { padding: 9px 16px; }
}

/* ---------- 8. 移动端页头 ---------- */
@media (max-width: 899px) {
  :root { --shell: min(1280px, 100% - 28px); }

  .site-header { padding: 12px 0 10px; }

  .header-tray { padding: 8px 10px; gap: 10px; }

  .brand-text { max-width: 8.5em; }

  .brand-tag { display: none; }

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

  .header-cta { display: none; }

  .primary-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 95;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: var(--r-lg);
    border: 1px solid rgba(230, 234, 230, .12);
    background: linear-gradient(180deg, #14201C, #0B100E);
    box-shadow: var(--shadow-lg);
    max-height: min(72vh, 540px);
    overflow-y: auto;
  }

  .primary-nav[data-open] { display: flex; }

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

  .nav-link {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: var(--r-md);
    border: 1px solid transparent;
  }

  .nav-link[aria-current="page"] { border-radius: var(--r-md); }

  .nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 14px;
    padding: 13px 20px;
    border-radius: var(--r-pill);
    background: var(--lime);
    color: var(--pitch);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 15px;
  }

  .header-panel { width: min(520px, calc(100vw - 28px)); }
}

@media (max-width: 560px) {
  .tool-btn { padding: 9px 11px; }
  .tool-btn-label { display: none; }
  .nav-toggle-text { display: none; }
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--graphite);
  background: linear-gradient(180deg, rgba(15, 59, 51, .38), rgba(6, 12, 10, .98) 46%);
}

.footer-inner {
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 76px) 0 28px;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-mark {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--chalk);
  transition: color .2s ease;
}

.footer-mark:hover { color: var(--lime); }

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--gold);
  max-width: none;
}

.footer-line {
  font-size: 14.5px;
  color: var(--mute);
  max-width: 34em;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--mute);
}

.legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  display: inline-block;
}

.legend-swatch--lime { background: var(--lime); }
.legend-swatch--gold { background: var(--gold); }
.legend-swatch--chart { background: var(--chart); }

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

.footer-col-title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--graphite);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--chalk);
  max-width: none;
}

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

.footer-links a {
  font-size: 14.5px;
  color: var(--mute);
  transition: color .2s ease;
}

.footer-links a:hover { color: var(--lime); }

.footer-contact {
  display: grid;
  gap: 8px;
  margin-top: clamp(32px, 5vw, 56px);
  padding: 22px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--graphite);
  background: rgba(14, 18, 17, .74);
}

.footer-contact-line {
  font-size: 14px;
  color: var(--mute);
  max-width: none;
}

.footer-contact-line .mono {
  margin-right: 10px;
  color: var(--chalk);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--graphite);
}

.footer-legal,
.footer-footnote {
  font-size: 12.5px;
  letter-spacing: .03em;
  color: var(--mute);
  max-width: 52em;
}

.footer-legal { font-family: var(--font-mono); }

.footer-footnote { color: rgba(154, 166, 160, .85); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

/* ---------- 10. 栅格响应式 ---------- */
@media (max-width: 900px) {
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 6; }
}

@media (max-width: 600px) {
  .grid-12 { grid-template-columns: minmax(0, 1fr); }
  .col-4, .col-5, .col-6, .col-7, .col-8, .col-12 { grid-column: span 1; }
  .tilt-card { transform: none; }
  :root { --shell: min(1280px, 100% - 24px); }
}

/* ---------- 11. 显现与动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@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; }
  .btn:hover, .header-cta:hover, .round-chip:hover { transform: none; }
}
