/* ==========================================================================
   /assets/site.css — 银河信誉平台 共享样式
   深空蓝黑基底 · 星云紫光晕 · 青海湖青数据高亮 · 等宽索引秩序
   ========================================================================== */

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol { margin: 0; }

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

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

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

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

table { border-collapse: collapse; }

main { display: block; }

/* 2. Tokens --------------------------------------------------------------- */
:root {
  /* 色彩 */
  --ink-900: #050914;
  --ink-800: #0B1224;
  --ink-700: #121B33;
  --silver: #E8EDF7;
  --grey: #A7B0C4;
  --violet: #6C4DE6;
  --violet-soft: #9B86F5;
  --teal: #2FD4C6;
  --teal-deep: #12A79B;
  --blue: #3A7BFF;

  --line: rgba(232, 237, 247, 0.13);
  --line-strong: rgba(232, 237, 247, 0.26);
  --dim: rgba(167, 176, 196, 0.68);

  /* 字体 */
  --font-heading: "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "Source Han Sans CN", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "Noto Sans Mono CJK SC", monospace;

  /* 尺寸 */
  --radius: 14px;
  --radius-sm: 9px;
  --header-h: 70px;
}

/* 3. 基础排版 ------------------------------------------------------------- */
body {
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--silver);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1160px 640px at 10% -10%, rgba(108, 77, 230, 0.30), transparent 62%),
    radial-gradient(880px 560px at 92% 2%, rgba(47, 212, 198, 0.10), transparent 60%),
    radial-gradient(700px 700px at 50% 120%, rgba(58, 123, 255, 0.08), transparent 65%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: 0.012em;
  color: var(--silver);
}

h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.24; letter-spacing: 0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.22rem, 2.1vw, 1.5rem); }
h4 { font-size: clamp(1.02rem, 1.6vw, 1.2rem); }

p { text-wrap: pretty; }

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

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

::selection { background: rgba(47, 212, 198, 0.32); color: #ffffff; }

/* 焦点与可访问性 ---------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1.25rem;
  z-index: 200;
  padding: 0.62rem 1.1rem;
  border-radius: 999px;
  background: var(--teal);
  color: #03161c;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: top 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.skip-link:focus { top: 0.85rem; }

/* 4. 布局容器 ------------------------------------------------------------- */
.shell {
  width: min(1240px, 100% - 2.6rem);
  margin-inline: auto;
}

.section { padding-block: clamp(2.6rem, 6vw, 4.6rem); }

.section-head { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }

.section-title { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }

.section-lede {
  max-width: 62ch;
  margin-top: 0.9rem;
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.85;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
}

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

.hairline {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(232, 237, 247, 0.3), rgba(232, 237, 247, 0));
}

/* 5. 网格 ----------------------------------------------------------------- */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.6rem);
}

.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.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; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* 6. 按钮 ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.62rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--teal);
  color: #03161c;
  font-weight: 700;
  box-shadow: 0 12px 28px -16px rgba(47, 212, 198, 0.95);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #55e6d8;
  box-shadow: 0 16px 34px -16px rgba(47, 212, 198, 1);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(232, 237, 247, 0.22);
  background: rgba(232, 237, 247, 0.04);
  color: var(--silver);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(47, 212, 198, 0.6);
  background: rgba(47, 212, 198, 0.09);
  color: var(--teal);
  transform: translateY(-1px);
}

/* 7. 页头 ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(5, 9, 20, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 9, 20, 0.95);
  border-bottom-color: var(--line-strong);
  box-shadow: 0 20px 40px -34px rgba(0, 0, 0, 0.95);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-mark {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--violet-soft), var(--violet) 46%, #0A1020 80%);
  box-shadow:
    0 0 0 1px rgba(232, 237, 247, 0.2),
    0 8px 20px -10px rgba(108, 77, 230, 0.9);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(47, 212, 198, 0.42);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-24deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.07em;
  color: var(--silver);
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: var(--dim);
  white-space: nowrap;
}

/* 移动端开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  padding: 0.48rem 0.85rem;
  border: 1px solid rgba(232, 237, 247, 0.22);
  border-radius: 999px;
  background: rgba(232, 237, 247, 0.04);
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.nav-toggle:hover { border-color: rgba(47, 212, 198, 0.6); color: var(--teal); }

.nav-toggle-bars {
  position: relative;
  width: 16px;
  height: 10px;
  flex: 0 0 16px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.2s ease;
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-4px) rotate(-45deg); }

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-left: auto;
}

.nav-index {
  display: flex;
  align-items: stretch;
  gap: 0.14rem;
  counter-reset: nav;
}

.nav-index li { counter-increment: nav; }

.nav-index a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  padding: 0.5rem 0.72rem 0.62rem;
  border-radius: var(--radius-sm);
  color: var(--grey);
  font-size: 0.88rem;
  line-height: 1.16;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-index a::before {
  content: counter(nav, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: rgba(167, 176, 196, 0.55);
  transition: color 0.2s ease;
}

.nav-index a::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.24rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--violet));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nav-index a:hover,
.nav-index a:focus-visible {
  color: var(--silver);
  background: rgba(232, 237, 247, 0.06);
}

.nav-index a:hover::before { color: var(--teal); }

.nav-index a[aria-current="page"] {
  color: var(--silver);
  background: rgba(108, 77, 230, 0.18);
}

.nav-index a[aria-current="page"]::before { color: var(--teal); }
.nav-index a[aria-current="page"]::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.35rem;
  padding-left: 0.95rem;
  border-left: 1px solid var(--line);
}

/* 滚动进度轨 */
.scroll-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-rail-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--blue) 55%, var(--violet));
  transition: width 0.12s linear;
}

/* 8. 通用内容组件 --------------------------------------------------------- */
.panel {
  position: relative;
  padding: clamp(1.15rem, 2.4vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 27, 51, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.panel--solid {
  background: rgba(11, 18, 36, 0.92);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.panel--accent {
  border-color: rgba(47, 212, 198, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(47, 212, 198, 0.12),
    0 26px 52px -38px rgba(47, 212, 198, 0.85);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.26rem 0.72rem;
  border: 1px solid rgba(232, 237, 247, 0.18);
  border-radius: 999px;
  background: rgba(232, 237, 247, 0.04);
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.chip--teal {
  border-color: rgba(47, 212, 198, 0.45);
  background: rgba(47, 212, 198, 0.09);
  color: var(--teal);
}

.chip--violet {
  border-color: rgba(108, 77, 230, 0.5);
  background: rgba(108, 77, 230, 0.14);
  color: var(--violet-soft);
}

.stat { display: flex; flex-direction: column; }

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--silver);
}

.stat-value em { font-style: normal; color: var(--teal); }

.stat-label {
  margin-top: 0.55rem;
  color: var(--grey);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--grey);
}

.breadcrumb a { color: var(--grey); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--teal); }

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.45rem;
  color: rgba(167, 176, 196, 0.45);
}

.prose {
  max-width: 68ch;
  color: var(--grey);
  font-size: 1.02rem;
  line-height: 1.85;
}

.prose h2,
.prose h3 {
  margin: 2.1em 0 0.7em;
  color: var(--silver);
}

.prose p { margin-bottom: 1.1em; }

.prose a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  margin-bottom: 1.1em;
  padding-left: 1.2rem;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li { margin-bottom: 0.4em; }

/* 图像容器（页面阶段放图） ------------------------------------------------ */
.figure-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 18% 6%, rgba(108, 77, 230, 0.35), transparent 62%),
    linear-gradient(150deg, rgba(18, 27, 51, 0.95), rgba(5, 9, 20, 0.95));
}

.figure-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.figure-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 9, 20, 0) 44%, rgba(5, 9, 20, 0.74));
}

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

.figure-caption {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--dim);
}

/* 显现动效 ---------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
  }

  html.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.6s ease,
      transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
}

/* 9. 页脚 ----------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(4rem, 9vw, 7rem);
  border-top: 1px solid var(--line);
  background-image:
    radial-gradient(760px 340px at 8% 0%, rgba(108, 77, 230, 0.20), transparent 68%),
    radial-gradient(620px 300px at 92% 10%, rgba(47, 212, 198, 0.08), transparent 66%),
    linear-gradient(180deg, rgba(11, 18, 36, 0.72), rgba(5, 9, 20, 0.98) 64%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(1.8rem, 3.4vw, 3rem);
  padding: clamp(2.6rem, 5vw, 3.9rem) 0 2.4rem;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--silver);
}

.footer-brand-tagline {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.footer-review {
  max-width: 34ch;
  margin-top: 1.15rem;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(47, 212, 198, 0.5);
  color: var(--grey);
  font-size: 0.87rem;
  line-height: 1.75;
}

.footer-heading {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.52rem 1rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--grey);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 1px;
  background: rgba(47, 212, 198, 0.55);
  transition: background-color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible { color: var(--teal); }
.footer-links a:hover::before { background: var(--teal); }

.contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--grey);
}

.contact-key {
  flex: 0 0 2.9rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--dim);
}

.contact-value {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  color: var(--silver);
  word-break: break-all;
}

.contact-value--text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--grey);
  word-break: break-word;
}

.copy-btn {
  padding: 0.18rem 0.62rem;
  border: 1px solid rgba(232, 237, 247, 0.2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--grey);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.copy-btn:hover,
.copy-btn:focus-visible {
  border-color: rgba(47, 212, 198, 0.6);
  background: rgba(47, 212, 198, 0.09);
  color: var(--teal);
}

.copy-btn.is-done {
  border-color: var(--teal);
  background: var(--teal);
  color: #03161c;
}

.contact-note {
  margin-top: 0.95rem;
  max-width: 40ch;
  color: var(--dim);
  font-size: 0.8rem;
  line-height: 1.75;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.6rem;
  padding: 1.15rem 0 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--dim);
}

.footer-domain { color: rgba(167, 176, 196, 0.55); }

/* 10. 响应式 -------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    margin: 0;
    padding: 1rem max(1.3rem, calc((100% - 1240px) / 2)) 1.4rem;
    background: rgba(6, 10, 22, 0.98);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 30px 50px -34px rgba(0, 0, 0, 0.95);
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition:
      max-height 0.36s cubic-bezier(0.22, 0.61, 0.36, 1),
      opacity 0.22s ease,
      visibility 0.22s linear;
  }

  .site-nav[data-open="true"] {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .nav-index {
    flex-direction: column;
    align-items: stretch;
    gap: 0.12rem;
  }

  .nav-index a {
    flex-direction: row;
    align-items: baseline;
    gap: 0.8rem;
    padding: 0.68rem 0.65rem;
    font-size: 0.98rem;
    border-radius: var(--radius-sm);
  }

  .nav-index a::before { font-size: 0.66rem; }

  .nav-index a::after {
    left: 0.65rem;
    right: auto;
    bottom: 0.3rem;
    width: 2.6rem;
  }

  .nav-actions {
    flex-wrap: wrap;
    margin: 0.85rem 0 0;
    padding: 0.95rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .col-1, .col-2, .col-3 { grid-column: span 3; }
  .col-4, .col-5, .col-6, .col-7,
  .col-8, .col-9, .col-10, .col-11, .col-12 { grid-column: span 6; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 600px) {
  .shell { width: min(1240px, 100% - 2rem); }

  .brand-tagline { display: none; }

  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 0.5rem 0.7rem; }

  .footer-links { grid-template-columns: minmax(0, 1fr); }
  .contact-key { flex-basis: 100%; }
  .footer-legal { font-size: 0.72rem; }
}

@media (max-width: 560px) {
  .grid-12 { grid-template-columns: minmax(0, 1fr); }

  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 { grid-column: span 1; }
}

/* 11. 减少动效 ------------------------------------------------------------ */
@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;
  }

  .scroll-rail-fill { transition: none; }
}
