/* ============================================================
   乐鱼体育 · 共享样式表 /assets/site.css
   结构：Reset → 变量 → 排版 → 工具类 → 组件 → 头部 → 页脚 → 响应式
   ============================================================ */

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

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

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%; height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

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

/* ---------- 变量 ---------- */
:root {
  /* 品牌色 */
  --abyss: #04121F;
  --deep: #0A2A44;
  --current: #146C8C;
  --aqua: #2BE7D0;
  --aqua-light: #9FF7EC;
  --amber: #F2A33C;
  --orange: #FF7A3D;
  --pitch: #57C785;
  --mist: #F4F8FB;
  --ink: #0E2233;
  --line: #C9D8E3;

  /* 语义色 */
  --text: #E7F3F8;
  --text-dim: rgba(231, 243, 248, 0.66);
  --text-faint: rgba(231, 243, 248, 0.44);
  --hairline: rgba(159, 247, 236, 0.16);
  --hairline-strong: rgba(43, 231, 208, 0.38);

  /* 字体 */
  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* 尺寸节奏 */
  --gutter: clamp(16px, 4vw, 40px);
  --shell-w: 1240px;
  --cut: 16px;
  --baseline: 8px;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 200ms;
  --dur-fast: 150ms;

  /* 切角形状 */
  --cut-shape: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--abyss);
  background-image:
    radial-gradient(90% 62% at 6% -8%, rgba(20, 108, 140, 0.55), transparent 62%),
    radial-gradient(64% 54% at 94% 2%, rgba(43, 231, 208, 0.13), transparent 60%),
    linear-gradient(180deg, #061826 0%, #04121F 74%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--mist);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.25; letter-spacing: 0; }
h4 { font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.35; letter-spacing: 0; }

p { text-wrap: pretty; }

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

::selection { background: rgba(43, 231, 208, 0.32); color: var(--mist); }

/* 焦点反馈 */
:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
}

/* ---------- 工具类 ---------- */
.shell {
  width: min(var(--shell-w), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--aqua);
  color: var(--abyss);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--aqua-light);
  outline-offset: 2px;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--aqua-light);
}

/* ---------- 章节与编号 ---------- */
.section { padding-block: clamp(40px, 6vw, 76px); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 24px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.section-index {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--aqua);
  letter-spacing: -0.04em;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--mist);
}

/* ---------- 切角面板 ---------- */
.panel {
  --cut: 16px;
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  color: var(--text);
  background-color: rgba(10, 42, 68, 0.72);
  background-image:
    linear-gradient(180deg, rgba(43, 231, 208, 0.16) 0, rgba(43, 231, 208, 0) 1px),
    linear-gradient(158deg, rgba(20, 108, 140, 0.34) 0%, rgba(10, 42, 68, 0.9) 52%, rgba(4, 18, 31, 0.95) 100%);
  clip-path: var(--cut-shape);
  box-shadow: inset 0 1px 0 rgba(159, 247, 236, 0.1);
}

.panel--light {
  color: var(--ink);
  background-color: var(--mist);
  background-image:
    linear-gradient(180deg, rgba(20, 108, 140, 0.16) 0, rgba(20, 108, 140, 0) 1px),
    linear-gradient(160deg, #FFFFFF 0%, #EAF3F8 100%);
  box-shadow: none;
}

.panel--light h2,
.panel--light h3,
.panel--light h4 { color: var(--ink); }

.panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

.panel--light .panel__head { border-bottom-color: rgba(20, 108, 140, 0.22); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--aqua) 0%, #19C7B6 100%);
  color: var(--abyss);
  box-shadow: 0 10px 26px -12px rgba(43, 231, 208, 0.95);
}

.btn--primary:hover { box-shadow: 0 14px 30px -12px rgba(43, 231, 208, 1); }

.btn--ghost {
  border-color: var(--hairline-strong);
  color: var(--aqua-light);
  background: rgba(10, 42, 68, 0.5);
}

.btn--ghost:hover {
  border-color: var(--aqua);
  color: var(--mist);
  background: rgba(43, 231, 208, 0.12);
}

.btn--amber {
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
  color: #23120A;
  box-shadow: 0 10px 26px -14px rgba(242, 163, 60, 0.9);
}

.btn--sm { padding: 9px 16px; font-size: 13px; }

/* ---------- 标签 / 筛选 ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(10, 42, 68, 0.6);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.chip:hover { color: var(--mist); border-color: var(--hairline-strong); }

.chip[aria-pressed="true"] {
  color: var(--abyss);
  background: var(--aqua);
  border-color: var(--aqua);
  font-weight: 700;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
}

.tag--aqua { color: var(--aqua-light); border-color: rgba(43, 231, 208, 0.4); background: rgba(43, 231, 208, 0.1); }
.tag--amber { color: #FFCB8E; border-color: rgba(242, 163, 60, 0.42); background: rgba(242, 163, 60, 0.12); }
.tag--green { color: #9BEDBC; border-color: rgba(87, 199, 133, 0.42); background: rgba(87, 199, 133, 0.12); }
.tag--orange { color: #FFB693; border-color: rgba(255, 122, 61, 0.42); background: rgba(255, 122, 61, 0.12); }

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--current);
  flex: 0 0 auto;
}

.status-dot.is-done { background: var(--pitch); box-shadow: 0 0 0 3px rgba(87, 199, 133, 0.18); }
.status-dot.is-live { background: var(--amber); box-shadow: 0 0 0 3px rgba(242, 163, 60, 0.18); }

/* ---------- 面包屑 ---------- */
.breadcrumb { margin-bottom: clamp(16px, 2.4vw, 24px); }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-faint);
}

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

.breadcrumb__link {
  color: var(--text-dim);
  transition: color var(--dur-fast) var(--ease);
}

.breadcrumb__link:hover { color: var(--aqua); }

.breadcrumb__sep { color: rgba(159, 247, 236, 0.34); }

.breadcrumb__item[aria-current="page"] { color: var(--aqua-light); }

/* ---------- 正文 ---------- */
.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dim);
}

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

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

.prose a {
  color: var(--aqua-light);
  text-decoration: underline;
  text-decoration-color: rgba(43, 231, 208, 0.5);
  text-underline-offset: 3px;
}

.prose a:hover { text-decoration-color: var(--aqua); color: var(--mist); }

.prose ul, .prose ol { padding-left: 1.3em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }

.panel--light .prose { color: #33506A; }
.panel--light .prose h2,
.panel--light .prose h3 { color: var(--ink); }

/* ---------- 数据线 / 横向赛道 ---------- */
.data-line {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: rgba(159, 247, 236, 0.14);
  overflow: hidden;
}

.data-line::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill, 50%);
  background: linear-gradient(90deg, var(--current), var(--aqua));
  border-radius: 2px;
}

.track {
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(43, 231, 208, 0.4) transparent;
}

.track::-webkit-scrollbar { height: 6px; }
.track::-webkit-scrollbar-thumb { background: rgba(43, 231, 208, 0.4); border-radius: 3px; }

.track__item {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: start;
}

/* ---------- 图片容器 ---------- */
.media-frame {
  --cut: 18px;
  position: relative;
  overflow: hidden;
  clip-path: var(--cut-shape);
  background-color: var(--deep);
  background-image:
    repeating-linear-gradient(90deg, rgba(159, 247, 236, 0.09) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(159, 247, 236, 0.09) 0 1px, transparent 1px 44px),
    linear-gradient(150deg, rgba(20, 108, 140, 0.55) 0%, rgba(4, 18, 31, 0.96) 100%);
}

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

.media-frame__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--mist);
  background: linear-gradient(0deg, rgba(4, 18, 31, 0.94), rgba(4, 18, 31, 0));
}

.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--banner { aspect-ratio: 21 / 9; }

/* ============================================================
   头部
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  padding-block: 10px;
  background: linear-gradient(180deg, rgba(4, 18, 31, 0.94) 0%, rgba(5, 22, 36, 0.76) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.site-header[data-scrolled] {
  background: rgba(4, 18, 31, 0.98);
  border-bottom-color: var(--hairline-strong);
  box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.95);
}

.site-header__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(48% 130% at 16% 0%, rgba(43, 231, 208, 0.2), transparent 72%);
  opacity: 0.7;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(1320px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* 品牌浮岛 */
.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 7px 16px 7px 9px;
  border-radius: 999px;
  border: 1px solid rgba(43, 231, 208, 0.28);
  background: linear-gradient(135deg, rgba(20, 108, 140, 0.44) 0%, rgba(10, 42, 68, 0.86) 100%);
  color: var(--mist);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.brand-pill:hover { border-color: rgba(43, 231, 208, 0.68); transform: translateY(-2px); }

.brand-pill__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--aqua) 0%, var(--current) 48%, var(--deep) 100%);
  box-shadow: 0 0 0 1px rgba(43, 231, 208, 0.55), 0 0 18px -6px rgba(43, 231, 208, 0.9);
}

.brand-pill__mark-core {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--abyss);
  box-shadow: inset 0 0 0 2px var(--aqua-light);
}

.brand-pill__text { display: flex; flex-direction: column; line-height: 1.16; }

.brand-pill__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--mist);
}

.brand-pill__line {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: rgba(231, 243, 248, 0.58);
}

/* 导航胶囊 */
.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(159, 247, 236, 0.14);
  background: rgba(10, 42, 68, 0.62);
  box-shadow: inset 0 1px 0 rgba(159, 247, 236, 0.08);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item { flex: 0 0 auto; }

.nav-link {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(231, 243, 248, 0.74);
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-link:hover { color: var(--mist); background: rgba(43, 231, 208, 0.12); }

.nav-link[aria-current="page"] {
  color: var(--abyss);
  font-weight: 700;
  background: linear-gradient(135deg, var(--aqua) 0%, var(--aqua-light) 100%);
  box-shadow: 0 0 20px -8px rgba(43, 231, 208, 0.95);
}

/* 右侧浮岛 */
.header-side {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.round-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(159, 247, 236, 0.22);
  background: rgba(4, 18, 31, 0.66);
  color: var(--mist);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.round-pill:hover { border-color: var(--hairline-strong); background: rgba(10, 42, 68, 0.8); }

.round-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pitch);
  box-shadow: 0 0 0 3px rgba(87, 199, 133, 0.2);
  flex: 0 0 auto;
}

.round-pill__label {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(231, 243, 248, 0.55);
}

.round-pill__value {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--aqua-light);
  white-space: nowrap;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aqua) 0%, #17C4B3 100%);
  color: var(--abyss);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(43, 231, 208, 0.95);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(43, 231, 208, 1);
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(159, 247, 236, 0.26);
  background: rgba(10, 42, 68, 0.85);
  color: var(--mist);
  font-size: 13px;
  font-weight: 600;
}

.nav-toggle:hover { border-color: var(--aqua); }

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--aqua);
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}

.nav-toggle__bars i:nth-child(2) { width: 70%; }

.site-header[data-open] .nav-toggle__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-toggle__label { line-height: 1; }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(159, 247, 236, 0.08);
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--current) 0%, var(--aqua) 56%, var(--amber) 100%);
  transition: transform 120ms linear;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  overflow: hidden;
  color: rgba(231, 243, 248, 0.78);
  border-top: 1px solid rgba(43, 231, 208, 0.2);
  background-color: var(--abyss);
  background-image:
    radial-gradient(120% 140% at 10% -12%, rgba(20, 108, 140, 0.5) 0%, rgba(10, 42, 68, 0.92) 44%, #04121F 80%),
    linear-gradient(180deg, rgba(4, 18, 31, 0) 0%, #04121F 100%);
}

.footer-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(115deg, rgba(159, 247, 236, 0.05) 0 1px, transparent 1px 96px),
    radial-gradient(58% 60% at 88% 6%, rgba(43, 231, 208, 0.16), transparent 70%),
    radial-gradient(46% 50% at 4% 92%, rgba(242, 163, 60, 0.1), transparent 72%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(var(--shell-w), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-block: clamp(40px, 6vw, 72px) clamp(20px, 3vw, 28px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(230px, 1.25fr) repeat(3, minmax(120px, 0.62fr));
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid rgba(159, 247, 236, 0.14);
}

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }

.footer-brand__mark {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  --cut: 10px;
  clip-path: var(--cut-shape);
  background: linear-gradient(140deg, var(--aqua) 0%, var(--current) 52%, var(--deep) 100%);
  box-shadow: inset 0 0 0 1px rgba(4, 18, 31, 0.5);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--mist);
  line-height: 1.1;
}

.footer-brand__line {
  margin-top: 8px;
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(231, 243, 248, 0.62);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.footer-badge {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(159, 247, 236, 0.28);
  background: rgba(43, 231, 208, 0.08);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.footer-badge--aqua { color: var(--aqua-light); }
.footer-badge--green { color: #9BEDBC; border-color: rgba(87, 199, 133, 0.4); background: rgba(87, 199, 133, 0.1); }
.footer-badge--amber { color: #FFCB8E; border-color: rgba(242, 163, 60, 0.42); background: rgba(242, 163, 60, 0.12); }

.footer-nav {
  display: contents;
}

.footer-nav__group { min-width: 0; }

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

.footer-nav__list { display: flex; flex-direction: column; gap: 10px; }

.footer-link {
  position: relative;
  display: inline-block;
  font-size: 14.5px;
  color: rgba(231, 243, 248, 0.74);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--aqua);
  transition: width var(--dur) var(--ease);
}

.footer-link:hover { color: var(--mist); transform: translateX(2px); }
.footer-link:hover::after { width: 100%; }

.footer-contact {
  display: grid;
  grid-template-columns: minmax(120px, 0.5fr) minmax(0, 2.4fr) auto;
  align-items: start;
  gap: 16px clamp(20px, 3vw, 40px);
  padding-block: clamp(22px, 3vw, 32px);
  border-bottom: 1px solid rgba(159, 247, 236, 0.14);
}

.footer-contact__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  padding-top: 2px;
}

.footer-contact__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px 24px;
}

.footer-contact__item { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.footer-contact__key {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer-contact__val {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(231, 243, 248, 0.9);
  word-break: break-word;
}

.footer-contact__cta { justify-self: end; }

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

.footer-legal {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(231, 243, 248, 0.52);
}

.footer-legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.footer-legal-link {
  font-size: 12.5px;
  color: rgba(231, 243, 248, 0.62);
  transition: color var(--dur-fast) var(--ease);
}

.footer-legal-link:hover { color: var(--aqua); }

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 20px;
    border-color: rgba(43, 231, 208, 0.26);
    background: rgba(6, 24, 38, 0.99);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.98);
    overflow: visible;
    z-index: 90;
    animation: nav-in 180ms var(--ease) both;
  }

  .site-header[data-open] .site-nav { display: flex; }

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

  .nav-link { padding: 12px 14px; font-size: 15px; border-radius: 12px; }

  .header-side { margin-left: 0; }

  @keyframes nav-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 900px) {
  .round-pill { display: none; }

  .grid-12 { gap: 14px; }
  .span-3, .span-4 { grid-column: span 6; }
  .span-6, .span-8 { grid-column: span 12; }

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

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

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

  .footer-contact__cta { justify-self: start; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 88px; }

  .brand-pill { padding: 6px 12px 6px 8px; }
  .brand-pill__name { font-size: 16px; }
  .brand-pill__line { display: none; }
  .brand-pill__mark { width: 28px; height: 28px; }

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

  .nav-toggle__label { display: none; }

  .span-3, .span-4, .span-6, .span-8 { grid-column: span 12; }

  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-brand { grid-column: span 1; }

  .footer-base { flex-direction: column; align-items: flex-start; }

  .track__item { flex-basis: 84vw; }
}

/* ---------- 无障碍：减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .btn:hover,
  .brand-pill:hover,
  .header-cta:hover,
  .footer-link:hover { transform: none; }

  .scroll-progress__bar { transition: none; }
}
