/* =========================================================
   星空赛场 · 共享样式表 /assets/site.css
   深空天幕 + 看台网格 + 荧光青脉冲
   ========================================================= */

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

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

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, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; }

a { color: inherit; }

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色彩 */
  --c-deep: #05081C;
  --c-nebula: #191140;
  --c-stand: #0B2A5B;
  --c-glass: rgba(143, 182, 255, .10);
  --c-glass-2: rgba(143, 182, 255, .16);
  --c-cyan: #38F2DE;
  --c-orange: #FF7A34;
  --c-silver: #C8D4EC;
  --c-white: #F3F7FF;
  --c-violet: #6B4BFF;
  --c-line: #3B5A96;
  --c-line-soft: rgba(59, 90, 150, .42);
  --c-line-faint: rgba(59, 90, 150, .20);
  --c-ink: #04121A;

  /* 字体 */
  --f-head: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI",
            system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-body: var(--f-head);
  --f-mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", "Cascadia Mono",
            "Roboto Mono", Menlo, Consolas, monospace;

  /* 字号阶梯 1.25 */
  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-22: 22px;
  --fs-26: 26px;
  --fs-32: 32px;
  --fs-40: 40px;
  --fs-52: 52px;
  --fs-72: 72px;
  --fs-88: 88px;

  /* 版式尺度 */
  --shell: 1280px;
  --gutter: clamp(18px, 4vw, 44px);
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;

  /* 缓动 */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基础与天幕 ---------- */
body {
  min-height: 100vh;
  font-family: var(--f-body);
  font-size: var(--fs-18);
  line-height: 1.75;
  color: var(--c-silver);
  background-color: var(--c-deep);
  background-image:
    radial-gradient(1100px 720px at 84% -8%, rgba(107, 75, 255, .30), transparent 62%),
    radial-gradient(760px 540px at 4% 6%, rgba(56, 242, 222, .10), transparent 64%),
    radial-gradient(940px 700px at 50% 108%, rgba(25, 17, 64, .92), transparent 70%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

/* 看台网格覆盖层 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--c-line-faint) 1px, transparent 1px),
    linear-gradient(to bottom, var(--c-line-faint) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(120% 78% at 50% 0%, #000 8%, transparent 74%);
  mask-image: radial-gradient(120% 78% at 50% 0%, #000 8%, transparent 74%);
  opacity: .62;
}

.site-header,
.site-footer,
main { position: relative; z-index: 1; }

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

/* ---------- 4. 中文排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--c-white);
}

h1 { font-size: clamp(38px, 6.4vw, var(--fs-88)); }
h2 { font-size: clamp(28px, 4.2vw, var(--fs-52)); }
h3 { font-size: var(--fs-26); line-height: 1.2; }
h4 { font-size: var(--fs-22); line-height: 1.25; }

p { text-wrap: pretty; }

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

.mono {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  color: var(--c-white);
}

::selection { background: rgba(56, 242, 222, .30); color: var(--c-white); }

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

/* ---------- 5. 容器与网格 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 30px);
}

.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; }

@media (max-width: 1024px) {
  .col-3, .col-4 { grid-column: span 6; }
  .col-5, .col-7 { grid-column: span 12; }
}

@media (max-width: 860px) {
  .grid--12 > [class^="col-"],
  .grid--12 > [class*=" col-"] { grid-column: 1 / -1; }
}

/* ---------- 6. 章节 ---------- */
.section { padding-block: clamp(58px, 9vw, 132px); }
.section--tight { padding-block: clamp(36px, 5vw, 72px); }

.section--nebula {
  background: linear-gradient(180deg, rgba(25, 17, 64, .74), rgba(25, 17, 64, .18));
  border-block: 1px solid var(--c-line-faint);
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 62ch;
  margin-bottom: clamp(28px, 4vw, 56px);
}

.section-title { font-size: clamp(30px, 4.4vw, var(--fs-52)); }

.lede {
  font-size: var(--fs-18);
  color: rgba(200, 212, 236, .88);
  max-width: 40ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: var(--fs-12);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-cyan), transparent);
}

.divider {
  height: 1px;
  border: 0;
  background: var(--c-line-soft);
}

/* ---------- 7. 正文容器 ---------- */
.prose {
  max-width: 36em;
  color: var(--c-silver);
}

.prose p + p { margin-top: 1em; }

.prose a {
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 242, 222, .45);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.prose a:hover { border-bottom-color: var(--c-cyan); }

.prose ul { display: grid; gap: 10px; margin-top: 1em; }

.prose li { padding-left: 20px; position: relative; }

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 1px;
  background: var(--c-cyan);
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--f-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}

.btn--primary {
  background: var(--c-cyan);
  color: var(--c-ink);
  border-color: var(--c-cyan);
  box-shadow: 0 14px 34px -18px rgba(56, 242, 222, .95);
}

.btn--primary:hover { background: #5df6e5; transform: translateY(-2px); }

.btn--ghost {
  background: var(--c-glass);
  color: var(--c-white);
  border-color: rgba(56, 242, 222, .42);
}

.btn--ghost:hover {
  background: rgba(56, 242, 222, .16);
  border-color: var(--c-cyan);
  transform: translateY(-2px);
}

.btn--quiet {
  background: transparent;
  color: var(--c-cyan);
  border-color: var(--c-line-soft);
}

.btn--quiet:hover { border-color: var(--c-cyan); transform: translateY(-2px); }

/* ---------- 9. 面包屑 ---------- */
.breadcrumb { margin-block: clamp(20px, 3vw, 34px) 0; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: var(--fs-12);
  letter-spacing: .08em;
  color: rgba(200, 212, 236, .70);
}

.breadcrumb__list li { display: inline-flex; align-items: center; gap: 12px; }

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

.breadcrumb__list a { text-decoration: none; transition: color .2s var(--ease); }

.breadcrumb__list a:hover { color: var(--c-cyan); }

.breadcrumb__list [aria-current="page"] { color: var(--c-cyan); }

/* ---------- 10. 面板与卡片 ---------- */
.panel {
  padding: clamp(22px, 2.6vw, 38px);
  border-radius: var(--r-lg);
  background: var(--c-stand);
  border: 1px solid var(--c-line-soft);
}

.panel--glass {
  background: var(--c-glass);
  border-color: rgba(143, 182, 255, .24);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  transition: background .25s var(--ease);
}

.panel--glass:hover { background: var(--c-glass-2); }

.card {
  position: relative;
  display: block;
  padding: clamp(18px, 2.2vw, 28px);
  border-radius: var(--r-lg);
  background: var(--c-stand);
  border: 1px solid var(--c-line-soft);
  text-decoration: none;
  color: var(--c-silver);
  transition: transform .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 242, 222, .55);
  box-shadow: 0 18px 40px -22px rgba(56, 242, 222, .55);
}

.card__title {
  font-family: var(--f-head);
  font-size: var(--fs-22);
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-white);
}

.card__meta {
  margin-top: 10px;
  font-size: var(--fs-14);
  color: rgba(200, 212, 236, .74);
}

/* ---------- 11. 标签与数据 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--c-line-soft);
  background: var(--c-glass);
  font-size: var(--fs-12);
  letter-spacing: .10em;
  color: var(--c-silver);
}

.tag--accent {
  border-color: rgba(56, 242, 222, .50);
  color: var(--c-cyan);
}

.stat { display: block; }

.stat__value {
  display: block;
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-40);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--c-white);
}

.stat__label {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-12);
  letter-spacing: .14em;
  color: rgba(200, 212, 236, .70);
}

/* ---------- 12. 索引列表与行内链接 ---------- */
.index-list {
  display: grid;
  border-top: 1px solid var(--c-line-soft);
}

.index-list__item { border-bottom: 1px solid var(--c-line-faint); }

.index-list__item a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 4px;
  text-decoration: none;
  color: var(--c-silver);
  transition: color .2s var(--ease), padding-left .22s var(--ease);
}

.index-list__item a:hover { color: var(--c-white); padding-left: 10px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-14);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--c-cyan);
  text-decoration: none;
}

.link-arrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: width .22s var(--ease);
}

.link-arrow:hover::after { width: 34px; }

/* ---------- 13. 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-lg);
  border: 1px solid rgba(143, 182, 255, .22);
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(120% 100% at 12% 0%, rgba(107, 75, 255, .38), transparent 58%),
    radial-gradient(90% 90% at 88% 100%, rgba(56, 242, 222, .16), transparent 60%),
    linear-gradient(160deg, #0B2A5B, #191140);
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(to right, rgba(56, 242, 222, .10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 242, 222, .10) 1px, transparent 1px);
  background-size: 56px 56px;
}

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

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px clamp(14px, 2vw, 22px);
  font-size: var(--fs-12);
  letter-spacing: .05em;
  color: var(--c-silver);
  background: linear-gradient(0deg, rgba(5, 8, 28, .92), transparent);
}

/* ---------- 14. 头部 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 80;
  padding: 10px 20px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--c-cyan);
  color: var(--c-ink);
  font-weight: 700;
  font-size: var(--fs-14);
  text-decoration: none;
  transition: top .22s var(--ease);
}

.skip-link:focus { top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--c-line-soft);
  background: linear-gradient(180deg, rgba(5, 8, 28, .97), rgba(5, 8, 28, .84));
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.header-top {
  border-bottom: 1px solid var(--c-line-faint);
  background: linear-gradient(90deg, rgba(25, 17, 64, .88), rgba(5, 8, 28, .25) 55%, rgba(11, 42, 91, .55));
}

.header-top__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  min-height: 54px;
}

.header-main__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 60px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--c-white);
}

.brand__mark {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: conic-gradient(from 210deg, var(--c-cyan), var(--c-violet) 55%, var(--c-stand));
  box-shadow: 0 0 0 1px rgba(56, 242, 222, .35), 0 0 18px rgba(56, 242, 222, .30);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--c-deep);
  box-shadow: inset 0 0 0 1px rgba(56, 242, 222, .55);
}

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

.brand__name {
  font-family: var(--f-head);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--c-white);
}

.brand__line {
  font-size: var(--fs-12);
  letter-spacing: .16em;
  color: var(--c-cyan);
}

.brand--stacked { margin-bottom: 18px; }

/* 快捷入口 */
.quick-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-nav::-webkit-scrollbar { display: none; }

.quick-link {
  flex: 0 0 auto;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--c-line-soft);
  background: var(--c-glass);
  font-size: var(--fs-14);
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--c-silver);
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease);
}

.quick-link:hover {
  background: var(--c-cyan);
  border-color: var(--c-cyan);
  color: var(--c-ink);
}

.quick-link[aria-current="page"] {
  border-color: var(--c-cyan);
  color: var(--c-cyan);
}

/* 移动端抽屉按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--c-line-soft);
  background: var(--c-glass);
  color: var(--c-white);
  font-size: var(--fs-14);
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--c-cyan);
  background: var(--c-glass-2);
}

.nav-toggle__bars {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-cyan);
  transition: transform .24s var(--ease), top .24s var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8px; }

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

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

/* 主栏目导航 */
.site-nav {
  flex: 1 1 100%;
  display: none;
  padding: 6px 0 14px;
  border-top: 1px solid var(--c-line-faint);
}

.site-nav[data-open="true"] { display: block; }

.nav-list {
  display: flex;
  flex-direction: column;
}

.nav-list li { border-bottom: 1px solid var(--c-line-faint); }

.nav-list li:last-child { border-bottom: 0; }

.nav-list a {
  display: block;
  padding: 13px 4px;
  font-size: var(--fs-16);
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--c-silver);
  transition: color .18s var(--ease);
}

.nav-list a:hover { color: var(--c-white); }

.nav-list a[aria-current="page"] {
  color: var(--c-cyan);
  font-weight: 700;
}

/* 桌面端导航横排 */
@media (min-width: 920px) {
  .header-main__inner { flex-wrap: nowrap; }

  .nav-toggle { display: none; }

  .site-nav {
    flex: 0 1 auto;
    display: block;
    width: 100%;
    padding: 0;
    border-top: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar { display: none; }

  .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: clamp(6px, 1.8vw, 24px);
  }

  .nav-list li { border-bottom: 0; }

  .nav-list a {
    position: relative;
    padding: 16px 2px;
    font-size: 15px;
  }

  .nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 1px;
    background: var(--c-cyan);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .24s var(--ease);
  }

  .nav-list a:hover::after { transform: scaleX(1); }

  .nav-list a[aria-current="page"] { color: var(--c-white); }

  .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
}

@media (max-width: 640px) {
  .quick-link { padding: 5px 10px; font-size: var(--fs-12); }
  .header-top__inner { min-height: 50px; }
  .brand__name { font-size: 17px; }
}

/* 滚动进度条 */
.scroll-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  background: rgba(59, 90, 150, .22);
}

.scroll-rail__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-violet) 68%, var(--c-orange));
  box-shadow: 0 0 12px rgba(56, 242, 222, .65);
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 10vw, 150px);
  border-top: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(25, 17, 64, .94), rgba(5, 8, 28, 1) 62%);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 130% at 86% 0%, rgba(56, 242, 222, .12), transparent 62%),
    radial-gradient(50% 120% at 6% 10%, rgba(107, 75, 255, .20), transparent 66%);
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(48px, 7vw, 92px);
}

.footer-brand { grid-column: span 3; }
.footer-col { grid-column: span 2; }
.footer-contact { grid-column: span 3; }

.footer-tagline {
  max-width: 34ch;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: rgba(200, 212, 236, .82);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(56, 242, 222, .34);
  background: var(--c-glass);
  font-size: var(--fs-12);
  letter-spacing: .06em;
  color: var(--c-cyan);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 0 rgba(255, 122, 52, .6);
  animation: nebula-pulse 3s var(--ease) infinite;
}

@keyframes nebula-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 52, .55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 122, 52, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 52, 0); }
}

.footer-heading {
  margin-bottom: 16px;
  font-family: var(--f-head);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.5;
  color: var(--c-white);
}

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

.footer-links a {
  position: relative;
  display: inline-block;
  font-size: var(--fs-14);
  text-decoration: none;
  color: rgba(200, 212, 236, .86);
  transition: color .2s var(--ease);
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--c-cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--ease);
}

.footer-links a:hover { color: var(--c-white); }
.footer-links a:hover::after { transform: scaleX(1); }

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list li {
  display: grid;
  gap: 3px;
}

.contact-key {
  font-size: var(--fs-12);
  letter-spacing: .16em;
  color: rgba(200, 212, 236, .58);
}

.contact-val {
  font-size: var(--fs-14);
  line-height: 1.65;
  color: var(--c-silver);
  overflow-wrap: anywhere;
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px 30px;
  border-top: 1px solid var(--c-line-faint);
  font-size: var(--fs-14);
  color: rgba(200, 212, 236, .72);
}

.footer-legal .mono { color: rgba(200, 212, 236, .86); }

.footer-closing { color: var(--c-cyan); letter-spacing: .04em; }

@media (max-width: 1079px) {
  .footer-brand { grid-column: span 12; }
  .footer-col { grid-column: span 4; }
  .footer-contact { grid-column: span 12; }
}

@media (max-width: 639px) {
  .footer-col { grid-column: span 12; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 16. 显现协议 ---------- */
body[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

body[data-reveal-ready] [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

  body[data-reveal-ready] [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .card:hover,
  .btn:hover { transform: none; }
}
