/* ==========================================================================
   加拿大PC · 共享样式表 /assets/site.css
   极光青绿 × 深空蓝 · 框架式导航 · 切角面板 · 复古出版底
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --c-space: #0B1B33;
  --c-night: #15233F;
  --c-aurora: #2FE0B0;
  --c-aurora-soft: #A9F2DC;
  --c-gold: #F2B441;
  --c-ember: #E2603F;
  --c-cream: #F5F0E6;
  --c-paper: #FFFBF3;
  --c-ink: #14171F;
  --c-slate: #55617A;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;

  --rail-w: 236px;
  --status-h: 54px;
  --cut: 18px;

  --r-lg: 20px;
  --r-md: 12px;
  --r-sm: 8px;

  --dur: .28s;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 46px);
}

/* ---------- 2. Reset 与中文排版 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; }
table { width: 100%; border-collapse: collapse; }

h1, h2, h3 { letter-spacing: -.02em; line-height: 1.24; font-weight: 900; }

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

/* ---------- 3. 通用工具 ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-ember);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(47, 224, 176, .16);
  color: #0a5d47;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.6;
}

.chip--gold { background: rgba(242, 180, 65, .24); color: #6b4a05; }
.chip--dark { background: rgba(169, 242, 220, .14); color: var(--c-aurora-soft); }

.panel {
  background: var(--c-paper);
  border: 1px solid rgba(20, 23, 31, .09);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px);
}

.panel--dark {
  background: var(--c-night);
  border-color: rgba(47, 224, 176, .26);
  color: var(--c-cream);
}

.cut {
  clip-path: polygon(
    0 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut))
  );
}

.rule-slant {
  height: 3px;
  border: 0;
  margin: clamp(28px, 4vw, 48px) 0;
  background: linear-gradient(90deg, var(--c-aurora), var(--c-gold) 45%, var(--c-ember));
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  opacity: .82;
}

/* ---------- 4. 栅格 ---------- */
.grid { display: grid; gap: var(--grid-gap, clamp(18px, 2.4vw, 28px)); }
.grid--2 { grid-template-columns: minmax(0, 1fr); }
.grid--3 { grid-template-columns: minmax(0, 1fr); }
.grid--5-7 { grid-template-columns: minmax(0, 1fr); }
.grid--4-8 { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .grid--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.btn-gold {
  background: var(--c-gold);
  color: #20180a;
  box-shadow: 0 6px 18px rgba(242, 180, 65, .26);
}
.btn-gold:hover { background: #FFC559; transform: translateY(-1px); }

.btn-aurora { background: var(--c-aurora); color: #062018; }
.btn-aurora:hover { background: var(--c-aurora-soft); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border-color: rgba(169, 242, 220, .38);
  color: var(--c-aurora-soft);
}
.btn-ghost:hover { border-color: var(--c-aurora); color: #fff; }

.btn-outline {
  background: transparent;
  border-color: rgba(11, 27, 51, .22);
  color: var(--c-ink);
}
.btn-outline:hover { border-color: var(--c-space); background: rgba(11, 27, 51, .05); }

.btn-block { width: 100%; }

/* ---------- 6. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--c-gold);
  color: #20180a;
  font-size: .875rem;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 7. 框架式头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
}

.site-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 16px;
  padding: 12px var(--gutter);
  background-color: var(--c-space);
  background-image:
    linear-gradient(rgba(47, 224, 176, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 224, 176, .05) 1px, transparent 1px),
    radial-gradient(90% 140% at 0% 0%, rgba(47, 224, 176, .26), transparent 62%),
    radial-gradient(80% 120% at 100% 100%, rgba(242, 180, 65, .14), transparent 58%);
  background-size: 28px 28px, 28px 28px, 100% 100%, 100% 100%;
  color: var(--c-cream);
  border-bottom: 1px solid rgba(47, 224, 176, .22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
}

.brand-glyph {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  background: linear-gradient(140deg, var(--c-aurora) 6%, var(--c-gold) 94%);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%);
}
.brand-glyph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    transparent 44%,
    rgba(11, 27, 51, .88) 44%,
    rgba(11, 27, 51, .88) 56%,
    transparent 56%
  );
}

.brand-word { display: flex; flex-direction: column; min-width: 0; }

.brand-name {
  font-size: 1.0625rem;
  font-weight: 900;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.3;
}

.brand-tag {
  font-size: .6875rem;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--c-aurora-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid rgba(47, 224, 176, .42);
  border-radius: 999px;
  color: var(--c-aurora-soft);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--c-aurora); color: #fff; }

.nav-toggle-bar {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.site-nav {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height .34s var(--ease);
}
.site-nav[data-open] {
  max-height: min(64vh, 460px);
  overflow-y: auto;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 0 14px;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: rgba(245, 240, 230, .74);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.nav-link::before {
  content: attr(data-idx);
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--c-ember);
}
.nav-link:hover { color: #fff; background: rgba(169, 242, 220, .08); }
.nav-link:hover::before { color: var(--c-gold); }

.nav-link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(90deg, rgba(47, 224, 176, .24), rgba(47, 224, 176, 0) 92%);
}
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--c-aurora), var(--c-gold));
}

.rail-note {
  display: none;
  font-family: var(--font-mono);
  font-size: .6875rem;
  line-height: 1.6;
  letter-spacing: .1em;
  color: rgba(169, 242, 220, .55);
}

.rail-cta { display: none; }

/* ---------- 8. 状态带 ---------- */
.site-status {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px var(--gutter);
  background: var(--c-night);
  color: var(--c-cream);
  overflow: hidden;
}

.status-cell {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex: none;
  white-space: nowrap;
}

.status-k {
  font-size: .6875rem;
  letter-spacing: .14em;
  color: rgba(169, 242, 220, .6);
}

.status-v {
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
}

.status-cell--ver .status-v { color: var(--c-ember); }

.status-cta {
  flex: none;
  padding: 8px 16px;
  font-size: .8125rem;
}

.status-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-aurora), var(--c-gold));
  transition: width .12s linear;
}

/* ---------- 9. 移动端底部快捷栏 ---------- */
.quickbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 27, 51, .94);
  border-top: 1px solid rgba(47, 224, 176, .3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.quick-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 10px;
  border: 1px solid rgba(47, 224, 176, .28);
  border-radius: 999px;
  background: rgba(47, 224, 176, .12);
  color: var(--c-cream);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
}
.quick-link--gold {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: #20180a;
}

/* ---------- 10. 桌面框架布局 ---------- */
@media (min-width: 1024px) {
  body {
    padding-left: var(--rail-w);
    padding-top: var(--status-h);
    padding-bottom: 0;
  }

  .site-header { position: static; }

  .site-rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    width: var(--rail-w);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 26px 22px;
    overflow-y: auto;
    border-bottom: 0;
    border-right: 1px solid rgba(47, 224, 176, .26);
    background-image:
      linear-gradient(rgba(47, 224, 176, .06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(47, 224, 176, .06) 1px, transparent 1px),
      radial-gradient(120% 55% at 0% 0%, rgba(47, 224, 176, .26), transparent 62%),
      radial-gradient(100% 46% at 100% 100%, rgba(242, 180, 65, .16), transparent 60%);
    background-size: 26px 26px, 26px 26px, 100% 100%, 100% 100%;
  }

  .brand {
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(47, 224, 176, .28);
  }
  .brand-name { font-size: 1.375rem; }
  .brand-tag { white-space: normal; }

  .nav-toggle { display: none; }

  .site-nav {
    grid-column: auto;
    max-height: none;
    overflow: visible;
    transition: none;
  }

  .nav-list { padding: 0; }
  .nav-link { font-size: 1rem; padding: 11px 13px; }

  .rail-note {
    display: block;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px dashed rgba(169, 242, 220, .2);
  }

  .rail-cta { display: inline-flex; }

  .site-status {
    position: fixed;
    top: 0;
    left: var(--rail-w);
    right: 0;
    z-index: 88;
    height: var(--status-h);
    padding: 0 var(--gutter);
  }

  .status-cta { margin-left: auto; }

  .quickbar { display: none; }
}

/* ---------- 11. 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  background-color: var(--c-night);
  background-image:
    linear-gradient(rgba(47, 224, 176, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 224, 176, .12) 1px, transparent 1px),
    radial-gradient(120% 90% at 12% 8%, rgba(47, 224, 176, .5), transparent 62%),
    radial-gradient(110% 90% at 88% 92%, rgba(242, 180, 65, .36), transparent 60%),
    linear-gradient(155deg, #0B1B33, #15233F 62%, #0D2436);
  background-size: 26px 26px, 26px 26px, 100% 100%, 100% 100%, 100% 100%;
}

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

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

.media-cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(11, 27, 51, .64);
  color: var(--c-cream);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
}

.figure { margin: 0; }
.figure figcaption {
  margin-top: 10px;
  font-size: .75rem;
  letter-spacing: .02em;
  color: var(--c-slate);
}

/* ---------- 12. 面包屑 ---------- */
.breadcrumb { padding-top: 18px; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  font-size: .8125rem;
  color: var(--c-slate);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin: 0 9px;
  color: rgba(85, 97, 122, .5);
}

.breadcrumb-item a {
  color: var(--c-slate);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 224, 176, .7);
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease);
}
.breadcrumb-item a:hover { color: #0a5d47; }

.breadcrumb-item[aria-current="page"] {
  color: var(--c-ink);
  font-weight: 700;
}

/* ---------- 13. 正文容器 ---------- */
.prose {
  max-width: 70ch;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #24282F;
}

.prose > * + * { margin-top: 1.15em; }

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--c-ink);
}

.prose h3 {
  margin-top: 1.9em;
  font-size: clamp(1.15rem, 2vw, 1.375rem);
  color: var(--c-ink);
}

.prose ul,
.prose ol { padding-left: 1.35em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--c-ember); }

.prose a {
  color: #0d7a5d;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(47, 224, 176, .8);
}
.prose a:hover { color: #095c46; }

.prose strong { font-weight: 800; color: var(--c-ink); }

.prose code,
.prose .num {
  font-family: var(--font-mono);
  font-size: .9em;
  letter-spacing: .01em;
}

.prose blockquote {
  margin: 1.7em 0;
  padding: 18px 24px;
  border-left: 3px solid var(--c-aurora);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--c-paper);
  color: #2b3038;
}

.prose hr {
  height: 1px;
  border: 0;
  margin: 2.4em 0;
  background: rgba(20, 23, 31, .12);
}

/* ---------- 14. 返回顶部 ---------- */
.backtop {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: calc(clamp(16px, 3vw, 32px) + 62px);
  z-index: 96;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(47, 224, 176, .42);
  border-radius: 14px;
  background: var(--c-space);
  color: var(--c-aurora);
  font-family: var(--font-mono);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
}
.backtop.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.backtop:hover { border-color: var(--c-aurora); color: #fff; }

@media (min-width: 1024px) {
  .backtop { bottom: clamp(20px, 3vw, 36px); }
}

/* ---------- 15. 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .42s var(--ease), transform .42s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 16. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  padding: clamp(42px, 6vw, 76px) var(--gutter) clamp(24px, 3vw, 34px);
  background-color: var(--c-space);
  background-image:
    linear-gradient(rgba(47, 224, 176, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 224, 176, .05) 1px, transparent 1px),
    radial-gradient(70% 120% at 100% 0%, rgba(47, 224, 176, .18), transparent 60%),
    radial-gradient(60% 100% at 0% 100%, rgba(226, 96, 63, .14), transparent 62%);
  background-size: 28px 28px, 28px 28px, 100% 100%, 100% 100%;
  color: rgba(245, 240, 230, .76);
  font-size: .875rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-aurora), var(--c-gold) 46%, var(--c-ember));
}

.footer-inner {
  max-width: var(--wrap);
  margin-inline: auto;
}

.footer-top {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid rgba(169, 242, 220, .16);
}

.footer-mark {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-aurora);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: -.01em;
}

.footer-slogan {
  margin-top: 14px;
  font-size: .8125rem;
  letter-spacing: .04em;
  color: var(--c-aurora-soft);
}

.footer-sub {
  margin-top: 10px;
  max-width: 30ch;
  font-size: .75rem;
  line-height: 1.85;
  color: rgba(245, 240, 230, .5);
}

.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--c-ember);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-link {
  display: inline-block;
  color: rgba(245, 240, 230, .74);
  font-size: .875rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer-link:hover {
  color: var(--c-aurora);
  border-bottom-color: rgba(47, 224, 176, .6);
}

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

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 10px;
  font-size: .8125rem;
  line-height: 1.7;
}

.contact-k {
  flex: none;
  padding-top: 3px;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--c-ember);
}

.contact-v {
  color: rgba(245, 240, 230, .82);
  word-break: break-word;
}

.contact-row--num .contact-v {
  font-family: var(--font-mono);
  letter-spacing: .01em;
}

.footer-cta { margin-top: 8px; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  padding-top: clamp(18px, 2.4vw, 26px);
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .04em;
  color: rgba(245, 240, 230, .5);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: .75rem;
}

.footer-legal-links a {
  color: rgba(169, 242, 220, .72);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.footer-legal-links a:hover { color: var(--c-gold); }

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

@media (min-width: 1024px) {
  .site-footer {
    margin-left: calc(var(--rail-w) * -1);
    padding-left: calc(var(--rail-w) + var(--gutter));
  }
  .footer-top {
    grid-template-columns: 1.5fr .9fr .9fr .9fr 1.7fr;
  }
}

/* ---------- 17. 响应式微调 ---------- */
@media (max-width: 639px) {
  .status-cell--city { display: none; }
  .site-status { gap: 14px; }
  .status-cta { margin-left: auto; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .status-cta { margin-left: auto; }
}

/* ---------- 18. 减少动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition-delay: 0ms;
  }

  .status-progress { transition: none; }
}
