/* ============================================================
   银河网站 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 页头 / 页脚 / 通用组件
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

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

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

img, svg, video {
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

:root {
  --space-950: #05080F;
  --space-900: #070B1A;
  --space: #0B1026;
  --rock: #2A3040;
  --violet: #6C4CE0;
  --cyan: #35E0D0;
  --warm: #F4F1EA;
  --bone: #E6E1D4;
  --gold: #E8C071;
  --moss: #6E8F6A;
  --clay: #C97B5A;

  --rail-w: 88px;
  --header-h: 64px;
  --maxw: 1200px;
  --hair: rgba(230, 225, 212, 0.16);
  --hair-strong: rgba(244, 241, 234, 0.28);
  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, 0.55);
  --shadow-soft: 4px 4px 0 rgba(0, 0, 0, 0.45);
  --radius-card: 12px;
  --radius-pill: 999px;

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

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 1024px) {
  :root {
    --header-h: 76px;
  }
}

body {
  min-height: 100vh;
  background-color: var(--space);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 深空星云底 + 稀疏星点，纯 CSS 图形，无图片 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 6%, rgba(108, 76, 224, 0.38), transparent 44%),
    radial-gradient(circle at 8% 68%, rgba(53, 224, 208, 0.16), transparent 46%),
    radial-gradient(circle at 50% 108%, rgba(232, 192, 113, 0.12), transparent 56%),
    linear-gradient(180deg, #0B1026 0%, #080D20 55%, #05080F 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.75;
  background-image:
    radial-gradient(1.6px 1.6px at 14% 22%, rgba(244, 241, 234, 0.85), transparent 60%),
    radial-gradient(1.4px 1.4px at 72% 14%, rgba(53, 224, 208, 0.8), transparent 60%),
    radial-gradient(1.8px 1.8px at 38% 61%, rgba(244, 241, 234, 0.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 88% 48%, rgba(232, 192, 113, 0.75), transparent 60%),
    radial-gradient(1.5px 1.5px at 22% 86%, rgba(108, 76, 224, 0.85), transparent 60%),
    radial-gradient(1.3px 1.3px at 60% 92%, rgba(244, 241, 234, 0.55), transparent 60%),
    radial-gradient(1.1px 1.1px at 92% 78%, rgba(53, 224, 208, 0.6), transparent 60%);
  background-repeat: repeat;
  background-size: 640px 640px, 720px 720px, 560px 560px, 800px 800px, 680px 680px, 600px 600px, 760px 760px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--warm);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 8.5vw, 5rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.6rem, 4.6vw, 2.5rem);
}

h3 {
  font-size: 1.28rem;
  line-height: 1.3;
}

p {
  max-width: 38ch;
}

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

a {
  color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

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

/* ---------- 工具类 ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid var(--space-900);
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--space-900);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transform: translateY(-220%);
  transition: transform 0.22s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--space-900);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 2px solid var(--space-900);
  border-radius: var(--radius-pill);
  background: var(--warm);
  color: var(--space-900);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.55);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.btn--gold {
  background: var(--gold);
  border-color: #1B1206;
  color: #1B1206;
}

.btn--gold:hover {
  background: #F2CE86;
  color: #1B1206;
}

.btn--ghost {
  background: transparent;
  border-color: var(--hair-strong);
  color: var(--warm);
}

.btn--ghost:hover {
  background: rgba(108, 76, 224, 0.28);
  border-color: var(--cyan);
  color: var(--warm);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 13.5px;
}

/* ============================================================
   页头
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: linear-gradient(
    180deg,
    rgba(7, 11, 26, 0.97) 0%,
    rgba(7, 11, 26, 0.86) 62%,
    rgba(7, 11, 26, 0.0) 100%
  );
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.site-header[data-scrolled="true"] {
  background: rgba(6, 9, 22, 0.96);
  box-shadow: 0 2px 0 0 rgba(108, 76, 224, 0.45), 0 14px 32px -18px rgba(0, 0, 0, 0.9);
}

.brand-rail {
  display: none;
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: calc(var(--maxw) + var(--rail-w) + 64px);
  margin: 0 auto;
  padding: 12px 16px;
  min-height: var(--header-h);
}

/* 品牌锁定 */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--warm);
  flex: 0 0 auto;
}

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

.brand-lockup__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 2px solid rgba(244, 241, 234, 0.75);
  background: linear-gradient(140deg, var(--violet), var(--cyan));
  color: var(--space-900);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55);
}

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

.brand-lockup__name {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--warm);
}

.brand-lockup__sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* 悬浮胶囊导航（桌面） */
.nav-capsule {
  margin-left: auto;
}

.nav-capsule__list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border: 2px solid var(--hair);
  border-radius: var(--radius-pill);
  background: rgba(42, 48, 64, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.nav-capsule a {
  position: relative;
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--bone);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-capsule a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease);
}

.nav-capsule a:hover {
  background: rgba(108, 76, 224, 0.26);
  color: var(--warm);
}

.nav-capsule a:hover::after,
.nav-capsule a:focus-visible::after {
  transform: scaleX(1);
}

.nav-capsule a[aria-current="page"] {
  background: var(--violet);
  color: var(--warm);
  box-shadow: inset 0 0 0 2px rgba(53, 224, 208, 0.55);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-cta {
  white-space: nowrap;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 2px solid var(--hair-strong);
  border-radius: var(--radius-pill);
  background: rgba(108, 76, 224, 0.22);
  color: var(--warm);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--cyan);
  background: rgba(53, 224, 208, 0.16);
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease), opacity 0.2s var(--ease);
}

.site-header[data-open="true"] .nav-toggle__bars span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* 阅读进度条 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(230, 225, 212, 0.12);
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--cyan) 55%, var(--gold));
  transition: width 0.1s linear;
}

/* 移动端抽屉 */
@media (max-width: 1023px) {
  .nav-capsule {
    position: fixed;
    left: 12px;
    right: 12px;
    top: calc(var(--header-h) + 8px);
    z-index: 130;
    display: none;
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow-y: auto;
    padding: 10px;
    border: 2px solid var(--hair-strong);
    border-radius: 18px;
    background: rgba(8, 13, 32, 0.98);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.6);
  }

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

  .nav-capsule__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    counter-reset: navidx;
  }

  .nav-capsule li {
    display: block;
  }

  .nav-capsule a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 16px;
    color: var(--warm);
  }

  .nav-capsule a::before {
    counter-increment: navidx;
    content: "0" counter(navidx);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--cyan);
    opacity: 0.85;
  }

  .nav-capsule a::after {
    display: none;
  }

  .nav-capsule a[aria-current="page"] {
    background: rgba(108, 76, 224, 0.9);
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* 桌面端竖轨与布局 */
@media (min-width: 1024px) {
  .brand-rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: var(--rail-w);
    padding: 22px 0 26px;
    border-right: 2px solid var(--hair);
    background: linear-gradient(180deg, rgba(11, 16, 38, 0.96), rgba(5, 8, 15, 0.98));
  }

  .brand-rail__glyph {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 0 0 6px rgba(53, 224, 208, 0.08);
  }

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

  .brand-rail__track i {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    opacity: 0.45;
  }

  .brand-rail__track i:nth-child(2) {
    background: var(--violet);
    opacity: 1;
    box-shadow: 0 0 0 5px rgba(108, 76, 224, 0.22);
  }

  .brand-rail__track i:nth-child(3) {
    background: var(--gold);
    opacity: 0.6;
  }

  .brand-rail__word {
    writing-mode: vertical-rl;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.34em;
    color: var(--bone);
    opacity: 0.85;
  }

  .brand-rail__meta {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: rgba(230, 225, 212, 0.6);
    writing-mode: vertical-rl;
  }

  .header-bar {
    padding-left: calc(var(--rail-w) + 24px);
    padding-right: 28px;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 22px;
  }

  .nav-toggle {
    display: none;
  }

  .header-actions {
    margin-left: 4px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .nav-capsule a {
    padding: 8px 11px;
    font-size: 13px;
  }

  .nav-capsule a::after {
    left: 11px;
    right: 11px;
  }

  .brand-lockup__sub {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand-lockup__sub {
    display: none;
  }

  .header-cta {
    padding: 8px 13px;
    font-size: 12.5px;
  }

  .nav-toggle__label {
    display: none;
  }
}

/* ============================================================
   正文容器与通用组件
   ============================================================ */
.site-main {
  display: block;
  padding-top: calc(var(--header-h) + 24px);
}

.container {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: calc(var(--maxw) + var(--rail-w));
    padding-left: calc(var(--rail-w) + 32px);
    padding-right: 32px;
  }
}

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

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

@media (min-width: 768px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.panel {
  padding: 22px;
  border: 2px solid var(--hair);
  border-radius: var(--radius-card);
  background: rgba(42, 48, 64, 0.55);
  box-shadow: var(--shadow-hard);
}

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

.eyebrow::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cyan);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 2px solid rgba(53, 224, 208, 0.5);
  border-radius: var(--radius-pill);
  background: rgba(53, 224, 208, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.tag--gold {
  border-color: rgba(232, 192, 113, 0.6);
  background: rgba(232, 192, 113, 0.12);
  color: var(--gold);
}

.tag--clay {
  border-color: rgba(201, 123, 90, 0.65);
  background: rgba(201, 123, 90, 0.12);
  color: #E5A184;
}

.tag--moss {
  border-color: rgba(110, 143, 106, 0.7);
  background: rgba(110, 143, 106, 0.16);
  color: #A8C6A2;
}

/* 图像容器：页面阶段放置 <img> 或仅留 __orbit 占位 */
.media-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 2px solid var(--hair-strong);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hard);
  background:
    radial-gradient(circle at 28% 20%, rgba(108, 76, 224, 0.55), transparent 55%),
    radial-gradient(circle at 76% 80%, rgba(53, 224, 208, 0.32), transparent 58%),
    linear-gradient(160deg, #101634 0%, #070B1A 100%);
}

.media-frame--tall {
  aspect-ratio: 3 / 4;
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

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

.media-frame__orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 33%, rgba(244, 241, 234, 0.16) 34%, transparent 35%),
    radial-gradient(circle at 50% 50%, transparent 53%, rgba(53, 224, 208, 0.2) 54%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(108, 76, 224, 0.35) 0%, transparent 26%);
}

.media-frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--bone);
  background: linear-gradient(180deg, transparent, rgba(5, 8, 15, 0.92));
}

/* 面包屑 */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: rgba(230, 225, 212, 0.7);
}

.breadcrumb li + li::before {
  content: "/";
  margin: 0 10px;
  color: rgba(230, 225, 212, 0.35);
}

.breadcrumb a {
  color: var(--cyan);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--warm);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 显现动画协议 */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: 88px;
  overflow: hidden;
  border-top: 2px solid var(--hair);
  background: linear-gradient(180deg, rgba(7, 11, 26, 0.35) 0%, #05080F 42%, #070B1A 100%);
}

.footer-orbit {
  position: absolute;
  top: -220px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 2px solid rgba(108, 76, 224, 0.35);
  box-shadow: 0 0 0 56px rgba(53, 224, 208, 0.05), 0 0 0 112px rgba(108, 76, 224, 0.05);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  display: grid;
  gap: 32px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 52px 20px 36px;
}

.footer-brand__mark {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--warm);
  line-height: 1.2;
}

.footer-brand__mark::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--cyan);
  vertical-align: 0.35em;
}

.footer-brand__text {
  max-width: 34ch;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(230, 225, 212, 0.82);
}

.footer-note {
  max-width: 40ch;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: rgba(230, 225, 212, 0.6);
}

.footer-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.footer-list a {
  color: var(--bone);
  text-decoration: none;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
  display: inline-block;
}

.footer-list a:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-list--plain li {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(230, 225, 212, 0.82);
  word-break: break-word;
}

.footer-key {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  text-transform: uppercase;
}

.footer-base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 20px 30px;
  border-top: 2px solid rgba(230, 225, 212, 0.12);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(230, 225, 212, 0.66);
}

.footer-base__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  max-width: none;
}

.footer-base__legal a {
  color: var(--bone);
  text-decoration: none;
  border-bottom: 2px solid rgba(53, 224, 208, 0.35);
  padding-bottom: 1px;
}

.footer-base__legal a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer-base__icp,
.footer-base__copy {
  max-width: none;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.25fr 1fr 1.15fr;
    gap: 40px;
    padding: 64px 32px 44px;
  }

  .footer-col--nav .footer-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
  }

  .footer-base {
    padding: 20px 32px 34px;
  }
}

@media (min-width: 1024px) {
  .footer-inner,
  .footer-base {
    max-width: calc(var(--maxw) + var(--rail-w));
    padding-left: calc(var(--rail-w) + 32px);
    padding-right: 32px;
  }
}

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

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

  .has-js [data-reveal],
  .has-js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

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