/* =========================================================
   完美体育主站 · 共享样式 /assets/site.css
   夜间赛场指挥中心 —— 深靛蓝底 · 荧光青路径 · 速度橙节拍
   ========================================================= */

/* ---------- 1. 变量 ---------- */
:root {
  --ink: #080D24;
  --board: #111A3D;
  --panel: #18244C;
  --cyan: #2FF2C8;
  --orange: #FF6A2B;
  --silver: #C9D3E3;
  --paper: #F5F7FB;
  --muted: #8C9AB8;
  --signal: #FFD166;

  --hairline: rgba(201, 211, 227, 0.18);
  --hairline-soft: rgba(201, 211, 227, 0.1);
  --hairline-strong: rgba(201, 211, 227, 0.34);
  --cyan-soft: rgba(47, 242, 200, 0.14);
  --orange-soft: rgba(255, 106, 43, 0.14);

  --font-sans: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB",
    "Source Han Sans SC", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, "Liberation Mono", monospace;

  --radius-xs: 2px;
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 12px;

  --shadow-panel: 0 18px 44px -32px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(201, 211, 227, 0.06);
  --shadow-float: 0 30px 70px -38px rgba(0, 0, 0, 1);

  --header-h: 72px;
  --maxw: 1240px;
  --gutter: clamp(18px, 4.2vw, 56px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

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

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

body {
  min-height: 100%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  color: inherit;
}

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

hr {
  border: 0;
  height: 1px;
  background: var(--hairline);
}

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

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

#main-content {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ---------- 3. 中文排版 ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.14;
  color: var(--paper);
}

.display-1 {
  font-size: clamp(2.35rem, 7.4vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.display-2 {
  font-size: clamp(1.7rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.display-3 {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.16;
}

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

.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

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

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

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

.prose {
  max-width: 68ch;
  color: var(--silver);
  line-height: 1.78;
}

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

.prose h2,
.prose h3 {
  margin-top: 1.9em;
  color: var(--paper);
}

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

.prose li + li {
  margin-top: 0.4em;
}

/* ---------- 4. 布局容器与网格 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

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

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

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

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

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

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.btn-primary {
  background: var(--cyan);
  color: #05221c;
}

.btn-primary:hover {
  background: #6cf8dd;
  box-shadow: 0 0 0 1px rgba(47, 242, 200, 0.5),
    0 14px 28px -16px rgba(47, 242, 200, 0.8);
}

.btn-accent {
  background: var(--orange);
  color: #1c0a02;
}

.btn-accent:hover {
  background: #ff8a55;
  box-shadow: 0 14px 28px -16px rgba(255, 106, 43, 0.85);
}

.btn-ghost {
  background: rgba(201, 211, 227, 0.04);
  border-color: var(--hairline-strong);
  color: var(--paper);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-soft);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
}

/* ---------- 6. 标签 / 面板 / 卡片 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  background: rgba(201, 211, 227, 0.04);
}

.tag--accent {
  border-color: rgba(255, 106, 43, 0.42);
  color: var(--orange);
  background: var(--orange-soft);
}

.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-panel);
}

.panel--board {
  background: var(--board);
}

.bevel {
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 22px),
    calc(100% - 22px) 100%,
    0 100%
  );
  border-radius: 0;
}

/* ---------- 7. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  background: linear-gradient(140deg, rgba(47, 242, 200, 0.12), transparent 46%),
    linear-gradient(0deg, var(--board), var(--panel));
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(245, 247, 251, 0.045) 0 1px,
    transparent 1px 4px
  );
}

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

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

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

.media-frame--bevel {
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 22px),
    calc(100% - 22px) 100%,
    0 100%
  );
  border-radius: 0;
}

.media-frame--placeholder {
  background-image: linear-gradient(140deg, rgba(47, 242, 200, 0.12), transparent 46%),
    repeating-linear-gradient(
      -45deg,
      rgba(201, 211, 227, 0.07) 0 1px,
      transparent 1px 12px
    ),
    linear-gradient(0deg, var(--board), var(--panel));
}

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- 8. 数据表基础 ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

.data-table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.data-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.data-table td.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.data-table tbody tr:hover {
  background: rgba(47, 242, 200, 0.05);
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(201, 211, 227, 0.32);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.16s var(--ease);
}

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

.breadcrumb [aria-current="page"] {
  color: var(--silver);
}

/* ---------- 10. Skip link / 滚动进度 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 11px 18px;
  background: var(--cyan);
  color: #05221c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: var(--radius-xs);
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 90;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- 11. 站点头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.26s var(--ease),
    border-color 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 211, 227, 0.26) 20%,
    rgba(201, 211, 227, 0.26) 80%,
    transparent
  );
  opacity: 0.75;
  transition: opacity 0.26s var(--ease);
}

.site-header.is-solid {
  background: var(--ink);
  border-bottom-color: var(--hairline);
  box-shadow: 0 22px 48px -34px rgba(0, 0, 0, 1);
}

.site-header.is-solid::after {
  opacity: 0;
}

.header-rail {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 34px);
  min-height: var(--header-h);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--paper);
  margin-inline-end: auto;
  flex: none;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-s);
  background: linear-gradient(150deg, rgba(47, 242, 200, 0.22), transparent 64%),
    var(--board);
  overflow: hidden;
}

.brand-mark span {
  position: absolute;
  height: 2px;
  border-radius: 2px;
  transform: skewX(-22deg);
  left: 22%;
  right: 22%;
}

.brand-mark span:nth-child(1) {
  top: 27%;
  left: 24%;
  right: 24%;
  background: var(--cyan);
}

.brand-mark span:nth-child(2) {
  top: 48%;
  left: 14%;
  right: 14%;
  background: var(--silver);
  opacity: 0.85;
}

.brand-mark span:nth-child(3) {
  top: 69%;
  left: 36%;
  right: 20%;
  background: var(--orange);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: var(--paper);
}

.brand-line {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--muted);
}

/* 导航 */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(9px, 1.5vw, 24px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 22px 2px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--silver);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  opacity: 0.8;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--paper);
}

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

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

.nav-link[aria-current="page"] .nav-index {
  color: var(--orange);
  opacity: 1;
}

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

.nav-foot {
  display: none;
}

/* 头部右侧 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 209, 102, 0.32);
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.07);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--signal);
  white-space: nowrap;
  line-height: 1.4;
}

.status-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.16);
  flex: none;
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(201, 211, 227, 0.05);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

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

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--silver);
  border-radius: 1px;
  transition: transform 0.22s var(--ease), opacity 0.16s var(--ease),
    background-color 0.22s var(--ease);
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background: var(--orange);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background: var(--orange);
}

/* ---------- 12. 头部响应式 ---------- */
@media (max-width: 1180px) {
  .header-actions > .status-chip {
    display: none;
  }
}

@media (max-width: 960px) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 62px;
  }

  .site-header.is-solid,
  .site-header {
    background: var(--ink);
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + 6px);
    left: 12px;
    right: 12px;
    z-index: 85;
    display: block;
    padding: 16px 20px 20px;
    max-height: calc(100vh - var(--header-h) - 26px);
    overflow-y: auto;
    background: rgba(17, 26, 61, 0.985);
    border: 1px solid var(--hairline-strong);
    border-radius: 0 0 18px 2px;
    box-shadow: var(--shadow-float);
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 16px),
      calc(100% - 16px) 100%,
      0 100%
    );
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
      visibility 0.22s var(--ease);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    padding: 15px 2px;
    font-size: 15.5px;
    border-bottom: 1px solid var(--hairline-soft);
    width: 100%;
  }

  .nav-link::after {
    bottom: 9px;
    right: auto;
    width: 40px;
  }

  .nav-index {
    font-size: 10.5px;
    color: var(--orange);
    opacity: 0.75;
  }

  .nav-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
  }
}

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

  .nav {
    left: 8px;
    right: 8px;
    padding: 14px 16px 18px;
  }
}

/* ---------- 13. 站点页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 132px);
  background: linear-gradient(180deg, var(--board) 0%, var(--ink) 62%, var(--ink) 100%);
  border-top: 1px solid var(--hairline);
  color: var(--silver);
  overflow: hidden;
}

.footer-beam {
  position: absolute;
  top: -80px;
  right: -12%;
  width: 62%;
  height: 260px;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    rgba(47, 242, 200, 0.13),
    rgba(255, 106, 43, 0.06) 55%,
    transparent 78%
  );
  transform: skewY(-5deg);
}

.footer-beam::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 242, 200, 0.45), transparent);
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 1.5fr) minmax(0, 1.06fr);
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(42px, 6vw, 80px);
}

.footer-brand .brand {
  margin-inline-end: 0;
  margin-bottom: 16px;
}

.brand--footer .brand-name {
  font-size: 17px;
}

.footer-summary {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--hairline);
}

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

.footer-links a {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.16s var(--ease), transform 0.16s var(--ease);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cyan);
  transform: translateX(3px);
}

.contact-list {
  display: grid;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  padding-block: 10px;
  border-bottom: 1px dashed rgba(201, 211, 227, 0.14);
}

.contact-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 34px;
  flex: none;
}

.contact-value {
  font-size: 13.5px;
  color: var(--paper);
  overflow-wrap: anywhere;
  line-height: 1.55;
}

.copy-btn {
  margin-inline-start: auto;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: transparent;
  border: 1px solid rgba(47, 242, 200, 0.32);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}

.copy-btn:hover {
  background: var(--cyan-soft);
  border-color: var(--cyan);
}

.copy-btn[data-copied="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #05221c;
}

.footer-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.72;
  color: var(--muted);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 20px 30px;
  border-top: 1px solid var(--hairline);
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.footer-legal--sub {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

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

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

  .footer-summary {
    max-width: 52ch;
  }
}

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

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

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

/* ---------- 14. 显现动效 ---------- */
[data-reveal].is-ready {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

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

/* ---------- 15. 减少动态偏好 ---------- */
@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;
  }

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

  .footer-links a:hover,
  .footer-links a:focus-visible {
    transform: none;
  }
}
