/* ============================================================
   皇冠现金主站 · 全站共享样式 /assets/site.css
   层级：重置 → 变量 → 中文排版 → 外壳与网格 → 通用组件
        → 页头 → 页脚 → 响应式 → 动效降级
   ============================================================ */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  padding: 0;
  background-color: #080A0D;
  color: #B9C2CC;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

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

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

hr { border: 0; }

#main-content { scroll-margin-top: 110px; }

/* ---------- 2. 变量 ---------- */
:root {
  color-scheme: dark;

  --ink-900: #080A0D;
  --ink-800: #12171C;
  --ink-700: #1B2129;
  --line: #2A323B;
  --line-soft: rgba(42, 50, 59, 0.65);
  --silver: #B9C2CC;
  --cold: #F2F6FA;
  --amber: #E3A73A;
  --signal: #FF6A2B;
  --night: #4FA6FF;
  --cyan: #6FE3D2;
  --muted: #6D7885;

  --bg: var(--ink-900);
  --panel: var(--ink-800);
  --panel-alt: var(--ink-700);

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

  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;
  --r-pill: 999px;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 40px -28px rgba(0, 0, 0, 0.95);
  --shadow-island: 0 20px 44px -28px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 160ms;
  --dur-base: 280ms;

  --shell-max: 1440px;
  --gutter: 64px;
  --header-h: 68px;
}

/* ---------- 3. 中文排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--cold);
  text-wrap: balance;
}

h1 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.005em;
}

h2 { font-size: clamp(24px, 2.6vw, 32px); }

h3 {
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 500;
}

h4 { font-size: 18px; font-weight: 500; }

h5, h6 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}

p { margin: 0 0 1.2em; }

a {
  color: var(--night);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

a:hover { color: var(--cold); }

strong { color: var(--cold); font-weight: 700; }

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.92em;
  color: var(--cyan);
}

::selection {
  background: rgba(227, 167, 58, 0.3);
  color: var(--cold);
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.8;
  color: var(--silver);
  max-width: 62ch;
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--silver);
}

.prose h2 { margin: 2em 0 0.6em; }
.prose h3 { margin: 1.8em 0 0.5em; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.2em; list-style: disc; }
.prose li { margin-bottom: 0.5em; }
.prose ol { list-style: decimal; }

.prose__lead {
  font-size: 19px;
  line-height: 1.8;
  color: var(--cold);
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--line), transparent 88%);
}

/* ---------- 4. 外壳 / 网格 / 章节 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 96px; position: relative; }
.section--tight { padding-block: 56px; }
.section--wide { padding-block: 128px; }
.section--alt { background: var(--panel-alt); }
.section--panel { background: var(--panel); }

.grid {
  display: grid;
  gap: 24px;
}

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

.col-3 { grid-column: span 3; }
.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; }

/* ---------- 5. 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--panel-alt);
  color: var(--cold);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.btn:hover {
  background: #202730;
  border-color: var(--night);
  color: #FFFFFF;
}

.btn--primary {
  background: var(--signal);
  border-color: var(--signal);
  color: #140803;
  font-weight: 700;
}

.btn--primary:hover {
  background: #FF8047;
  border-color: #FF8047;
  color: #140803;
}

.btn--amber {
  background: transparent;
  border-color: rgba(227, 167, 58, 0.5);
  color: var(--amber);
}

.btn--amber:hover {
  background: rgba(227, 167, 58, 0.12);
  border-color: var(--amber);
  color: var(--amber);
}

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

.btn--ghost:hover {
  border-color: var(--night);
  color: var(--cold);
  background: rgba(79, 166, 255, 0.08);
}

.btn--sm { padding: 8px 15px; font-size: 13px; }

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(27, 33, 41, 0.7);
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.tag--amber {
  border-color: rgba(227, 167, 58, 0.45);
  background: rgba(227, 167, 58, 0.08);
  color: var(--amber);
}

.tag--blue {
  border-color: rgba(79, 166, 255, 0.4);
  background: rgba(79, 166, 255, 0.08);
  color: var(--night);
}

.tag--signal {
  border-color: rgba(255, 106, 43, 0.45);
  background: rgba(255, 106, 43, 0.1);
  color: #FF8A57;
}

.tag--cyan {
  border-color: rgba(111, 227, 210, 0.4);
  background: rgba(111, 227, 210, 0.08);
  color: var(--cyan);
}

.card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow-card);
}

.card--data { transition: border-color var(--dur-base) var(--ease); }

.card--data:hover,
.card--data.is-visible {
  border-color: rgba(227, 167, 58, 0.35);
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--cold);
}

.card__value {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cold);
}

.card__unit {
  margin-left: 0.15em;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--silver);
}

.card__note {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.card__meta {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.breadcrumb a { color: var(--silver); }
.breadcrumb a:hover { color: var(--night); }
.breadcrumb__sep { color: var(--line); }

.table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--panel);
  scrollbar-color: var(--line) transparent;
}

.table-wrap::-webkit-scrollbar { height: 8px; }
.table-wrap::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

.data-table {
  min-width: 640px;
  font-size: 14px;
  line-height: 1.7;
}

.data-table caption {
  caption-side: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: left;
  color: var(--muted);
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  background: #1B2129;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  white-space: nowrap;
}

.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(79, 166, 255, 0.05); }

.data-table th:first-child,
.data-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--panel);
}

.data-table thead th:first-child { background: #1B2129; }

.tabs { display: block; }

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

.tab {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.tab:hover {
  background: rgba(79, 166, 255, 0.1);
  color: var(--cold);
}

.tab[aria-selected="true"] {
  background: rgba(227, 167, 58, 0.14);
  color: var(--amber);
  box-shadow: inset 0 0 0 1px rgba(227, 167, 58, 0.4);
}

.tab-panel { padding-top: 28px; }
.tab-panel[hidden] { display: none; }

.tab-panel.is-active {
  animation: panel-in 240ms var(--ease) both;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion__item { border-bottom: 1px solid var(--line); }

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  color: var(--cold);
  transition: color var(--dur-fast) var(--ease);
}

.accordion__trigger:hover { color: var(--amber); }

.accordion__trigger::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--amber);
  border-bottom: 1px solid var(--amber);
  transform: rotate(45deg);
  transition: transform var(--dur-base) var(--ease);
}

.accordion__item[data-open="true"] .accordion__trigger::after {
  transform: rotate(225deg);
}

.accordion__panel {
  position: relative;
  padding: 0 0 22px;
  color: var(--silver);
  font-size: 15px;
  line-height: 1.8;
}

.accordion__panel[hidden] { display: none; }

.accordion__item[data-open="true"] .accordion__panel { padding-left: 18px; }

.accordion__item[data-open="true"] .accordion__panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 24px;
  width: 2px;
  border-radius: 2px;
  background: var(--amber);
}

.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--panel-alt);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0 1px,
    transparent 1px 3px
  );
}

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

.media-frame--reticle::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.7;
  background:
    linear-gradient(var(--night), var(--night)) left top / 18px 1px no-repeat,
    linear-gradient(var(--night), var(--night)) left top / 1px 18px no-repeat,
    linear-gradient(var(--night), var(--night)) right top / 18px 1px no-repeat,
    linear-gradient(var(--night), var(--night)) right top / 1px 18px no-repeat,
    linear-gradient(var(--night), var(--night)) left bottom / 18px 1px no-repeat,
    linear-gradient(var(--night), var(--night)) left bottom / 1px 18px no-repeat,
    linear-gradient(var(--night), var(--night)) right bottom / 18px 1px no-repeat,
    linear-gradient(var(--night), var(--night)) right bottom / 1px 18px no-repeat;
}

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 26px 16px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--silver);
  background: linear-gradient(to top, rgba(8, 10, 13, 0.92), transparent);
}

.lens-ring {
  position: relative;
  width: 120px;
  height: 120px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.lens-ring::before,
.lens-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.lens-ring::before {
  inset: 18px;
  border: 1px dashed rgba(79, 166, 255, 0.35);
}

.lens-ring::after {
  inset: 40px;
  border: 1px solid rgba(227, 167, 58, 0.6);
  background: radial-gradient(
    circle,
    rgba(79, 166, 255, 0.18),
    transparent 70%
  );
}

/* ---------- 6. 页头 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 18px;
  border: 1px solid var(--night);
  border-radius: var(--r-pill);
  background: var(--ink-800);
  color: var(--cold);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform var(--dur-fast) var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--cold);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--night), var(--cyan) 55%, var(--amber));
  transition: width 120ms linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 14px 16px 0;
  transition: padding var(--dur-base) var(--ease);
}

.header-shell {
  max-width: 1320px;
  margin-inline: auto;
}

.header-island {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(18, 23, 28, 0.82);
  box-shadow: var(--shadow-island);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: padding var(--dur-base) var(--ease),
    background var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cold);
}

.brand:hover { color: var(--cold); }

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(79, 166, 255, 0.18),
    transparent 68%
  );
}

.brand-mark::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 1px solid var(--amber);
  border-radius: 50%;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(79, 166, 255, 0.35);
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cold);
  transition: color var(--dur-fast) var(--ease);
}

.brand:hover .brand-name { color: var(--amber); }

.brand-tagline {
  display: block;
  max-width: 300px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
  transition: max-width var(--dur-base) var(--ease),
    opacity var(--dur-base) var(--ease);
}

.primary-nav {
  justify-self: center;
  min-width: 0;
}

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

.nav-link {
  display: block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--silver);
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.nav-link:hover {
  background: rgba(79, 166, 255, 0.1);
  color: var(--cold);
}

.nav-link[aria-current="page"] {
  background: rgba(227, 167, 58, 0.12);
  color: var(--amber);
  box-shadow: inset 0 0 0 1px rgba(227, 167, 58, 0.28);
}

.header-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.header-region {
  display: inline-block;
  max-width: 160px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
  transition: max-width var(--dur-base) var(--ease),
    opacity var(--dur-base) var(--ease);
}

.header-cta { flex: none; }

.site-header[data-condensed="true"] { padding-top: 8px; }

.site-header[data-condensed="true"] .header-island {
  padding: 6px 8px 6px 14px;
  background: rgba(11, 14, 18, 0.94);
  border-color: #232B34;
}

.site-header[data-condensed="true"] .brand-tagline,
.site-header[data-condensed="true"] .header-region {
  max-width: 0;
  opacity: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--cold);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

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

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
  flex: none;
}

.nav-toggle-bars span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform var(--dur-fast) var(--ease),
    opacity var(--dur-fast) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(4px) 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(-4px) rotate(-45deg);
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 96px;
  padding: 80px 0 32px;
  background: linear-gradient(180deg, #0B0E13 0%, #080A0D 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}

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

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 4fr) 7fr;
  gap: 64px;
  padding-bottom: 56px;
}

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

.brand--footer .brand-name {
  font-size: 17px;
  letter-spacing: 0.06em;
}

.footer-tagline {
  margin: 18px 0 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--silver);
}

.footer-note {
  max-width: 40ch;
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

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

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

.footer-group-title {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cold);
}

.footer-links li + li { margin-top: 10px; }

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--silver);
  transition: color var(--dur-fast) var(--ease);
}

.footer-links a::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3B444F;
  transition: background var(--dur-fast) var(--ease);
}

.footer-links a:hover { color: var(--cold); }
.footer-links a:hover::before { background: var(--amber); }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line-soft);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
  word-break: break-all;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.footer-meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 8. 显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--dur-base) var(--ease),
    transform var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1080px) {
  :root { --gutter: 40px; }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; }

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

  .header-island {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px 8px 14px;
    border-radius: 22px;
    background: rgba(11, 14, 18, 0.95);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .brand-tagline,
  .header-region,
  .header-cta { display: none; }

  .nav-toggle { display: inline-flex; margin-left: auto; }

  .primary-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 95;
    width: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(12, 16, 21, 0.97);
    box-shadow: 0 -12px 44px -20px rgba(0, 0, 0, 0.95);
    transform: translateY(calc(100% + 32px));
    opacity: 0;
    visibility: hidden;
    transition: transform var(--dur-base) var(--ease),
      opacity var(--dur-base) var(--ease), visibility var(--dur-base) var(--ease);
  }

  .primary-nav[data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 62vh;
    overflow-y: auto;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 14px;
  }

  .nav-link::before {
    content: "";
    flex: none;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #3B444F;
    transition: background var(--dur-fast) var(--ease);
  }

  .nav-link[aria-current="page"] {
    box-shadow: none;
    border-color: rgba(227, 167, 58, 0.45);
  }

  .nav-link[aria-current="page"]::before { background: var(--signal); }

  .section { padding-block: 72px; }
  .section--wide { padding-block: 88px; }

  .site-footer { margin-top: 72px; padding-top: 64px; }
  .site-footer::before { left: 24px; right: 24px; }
}

@media (max-width: 680px) {
  :root { --gutter: 20px; }

  .grid--12 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--12 > [class*="col-"] { grid-column: 1 / -1; }

  .footer-groups { grid-template-columns: 1fr; gap: 30px; }
  .footer-contact { grid-template-columns: 1fr; gap: 18px; }
  .footer-legal { flex-direction: column; }

  .card { padding: 20px; }
  .card__value { font-size: 32px; }

  .tab-list { width: 100%; justify-content: flex-start; }
  .nav-list { grid-template-columns: 1fr; }
}

/* ---------- 10. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .media-frame::before { background-image: none; }

  .scroll-progress { transition: none; }
}
