/* ==========================================================================
   M6体育 — 共享站点样式 /assets/site.css
   视觉体系：夜场墨蓝底 + 荧光绿数据线 + 琥珀橙关键值
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: #060B1E;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body { margin: 0; min-height: 100vh; }

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

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

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }

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

hr { border: 0; border-top: 1px solid var(--line-cold); margin: 0; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  --ink-900: #060B1E;
  --ink-800: #0B1430;
  --ink-600: #16244F;
  --line-cold: #2C3C6E;
  --neon: #B6FF3B;
  --neon-press: #7CD816;
  --amber: #FFB020;
  --amber-deep: #F08A0A;
  --cold-white: #EAF0FF;
  --mist: #94A3C8;
  --cyan: #35E0C8;
  --result-red: #FF6B6B;

  --surface-1: rgba(11, 20, 48, 0.82);
  --surface-2: rgba(22, 36, 79, 0.78);
  --stroke-soft: rgba(44, 60, 110, 0.55);
  --stroke-hard: rgba(148, 163, 200, 0.22);

  --font-head: "Barlow Condensed", "Oswald", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-num: "Roboto Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --radius-pill: 999px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shell: 1240px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 3. 基底与连续画布 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--cold-white);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 620px at 84% -8%, rgba(53, 224, 200, 0.13), transparent 62%),
    radial-gradient(900px 560px at 2% 4%, rgba(182, 255, 59, 0.085), transparent 64%),
    radial-gradient(1100px 780px at 50% 118%, rgba(255, 176, 32, 0.06), transparent 66%),
    linear-gradient(180deg, #060B1E 0%, #0B1430 46%, #060B1E 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--neon); color: #06110A; }

/* ---------- 4. 排版 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

p { max-width: 68ch; }

.num,
.mono,
[data-num] {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--mist);
  line-height: 1.8;
}

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

.prose a {
  color: var(--neon);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.prose a:hover { color: var(--cold-white); text-decoration-color: var(--neon); }

.block-en {
  font-size: 0.94em;
  letter-spacing: 0.04em;
}

/* ---------- 5. 焦点与无障碍 ---------- */
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 400;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--neon);
  color: #05130A;
  font-weight: 700;
  font-size: 0.9rem;
  transition: top 0.2s var(--ease);
}

.skip-link:focus { top: 1rem; }

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

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--neon), 0 0 0 5px rgba(44, 60, 110, 0.9);
}

/* ---------- 6. 头部刊头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(11, 20, 48, 0.97) 0%, rgba(6, 11, 30, 0.9) 100%);
  border-bottom: 1px solid rgba(44, 60, 110, 0.75);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  transition: background-color 0.28s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(182, 255, 59, 0.5), rgba(53, 224, 200, 0.38), transparent);
  pointer-events: none;
}

.header-frame {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding-block: 1.05rem 0.35rem;
  transition: padding 0.28s var(--ease);
}

.site-header[data-scrolled="true"] .header-frame { padding-block: 0.45rem 0.25rem; }

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "slot brand actions";
  align-items: center;
  gap: 1rem;
}

.masthead-slot {
  grid-area: slot;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-num);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
  max-width: none;
}

.slot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(182, 255, 59, 0.16);
}

.brand {
  grid-area: brand;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.15rem 0.2rem;
  border-radius: var(--radius-md);
}

.brand-glyph {
  display: grid;
  place-items: center;
  min-width: 2.6rem;
  height: 2.6rem;
  padding-inline: 0.42rem;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--neon) 0%, #6FE9B4 52%, var(--cyan) 100%);
  color: #05121B;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: var(--cold-white);
}

.brand-line {
  font-size: 0.68rem;
  letter-spacing: 0.17em;
  color: var(--mist);
  line-height: 1.5;
  max-height: 1.8em;
  overflow: hidden;
  transition: max-height 0.28s var(--ease), opacity 0.24s var(--ease);
}

.site-header[data-scrolled="true"] .brand-line {
  max-height: 0;
  opacity: 0;
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 1.05rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stroke-hard);
  background: transparent;
  color: var(--cold-white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.pill:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 255, 59, 0.5);
  background: rgba(182, 255, 59, 0.08);
}

.pill:active { transform: translateY(0); }

.pill--primary {
  background: var(--neon);
  border-color: var(--neon);
  color: #05130A;
  font-weight: 700;
}

.pill--primary:hover {
  background: var(--neon-press);
  border-color: var(--neon-press);
  box-shadow: 0 10px 24px -14px rgba(182, 255, 59, 0.9);
}

.pill--ghost:hover { color: var(--cold-white); }

.pill--amber {
  border-color: rgba(240, 138, 10, 0.55);
  color: var(--amber);
}

.pill--amber:hover {
  background: rgba(255, 176, 32, 0.12);
  border-color: var(--amber);
}

.nav-toggle {
  grid-area: toggle;
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stroke-hard);
  background: var(--surface-2);
  color: var(--cold-white);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-toggle:hover {
  background: rgba(182, 255, 59, 0.12);
  border-color: rgba(182, 255, 59, 0.45);
}

.nav-toggle-icon { display: grid; gap: 4px; }

.nav-toggle-bar {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.site-header[data-open="true"] .nav-toggle {
  background: rgba(182, 255, 59, 0.16);
  border-color: rgba(182, 255, 59, 0.6);
  color: var(--neon);
}

.site-header[data-open="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  margin-top: 0.5rem;
  border-top: 1px solid var(--stroke-soft);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.1rem 0.3rem;
  padding-block: 0.3rem 0.45rem;
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  color: var(--mist);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.16rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--neon);
  transform: translateX(-50%);
  transition: width 0.24s var(--ease);
}

.nav-list a:hover {
  color: var(--cold-white);
  background: rgba(22, 36, 79, 0.75);
}

.nav-list a:hover::after { width: calc(100% - 1.8rem); }

.nav-list a[aria-current="page"] {
  color: var(--cold-white);
  background: rgba(182, 255, 59, 0.09);
}

.nav-list a[aria-current="page"]::after { width: calc(100% - 1.8rem); }

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--neon), var(--cyan) 68%, var(--amber));
  opacity: 0.9;
  pointer-events: none;
}

/* ---------- 7. 正文容器与区块 ---------- */
.container {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.section-index {
  font-family: var(--font-num);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--neon);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--primary {
  background: var(--neon);
  color: #05130A;
  font-weight: 700;
}

.btn--primary:hover {
  background: var(--neon-press);
  box-shadow: 0 14px 30px -16px rgba(182, 255, 59, 0.85);
}

.btn--amber {
  background: linear-gradient(120deg, var(--amber), var(--amber-deep));
  color: #241300;
  font-weight: 700;
}

.btn--amber:hover { box-shadow: 0 14px 30px -16px rgba(255, 176, 32, 0.9); }

.btn--ghost {
  border-color: var(--stroke-hard);
  background: rgba(22, 36, 79, 0.55);
  color: var(--cold-white);
}

.btn--ghost:hover {
  border-color: rgba(182, 255, 59, 0.55);
  background: rgba(182, 255, 59, 0.1);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  background: rgba(22, 36, 79, 0.5);
  border-color: var(--stroke-soft);
  color: var(--mist);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: saturate(0.4);
}

/* ---------- 9. 面包屑 ---------- */
.crumbs {
  padding-block: 1rem 0;
  font-size: 0.82rem;
  color: var(--mist);
  letter-spacing: 0.04em;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--line-cold);
}

.crumbs a { transition: color 0.18s var(--ease); }
.crumbs a:hover { color: var(--neon); }

/* ---------- 10. 展签与标签 ---------- */
.plate {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-pill);
  background: rgba(11, 20, 48, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.plate-index {
  font-family: var(--font-num);
  letter-spacing: 0.04em;
  color: var(--neon);
}

.plate--amber {
  border-color: rgba(240, 138, 10, 0.5);
  color: var(--amber);
}

.plate--amber .plate-index { color: var(--amber); }

/* ---------- 11. 图片容器基础规则 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-soft);
  background: linear-gradient(150deg, rgba(22, 36, 79, 0.9), rgba(6, 11, 30, 0.92));
  isolation: isolate;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 11, 30, 0) 42%, rgba(6, 11, 30, 0.62) 100%);
}

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

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

.media-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.95rem;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--cold-white);
}

/* ---------- 12. 数据条与悬浮数据栏 ---------- */
.grow-bar {
  --grow: 0%;
  position: relative;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(44, 60, 110, 0.65);
  overflow: hidden;
}

.grow-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--grow);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  transition: width 0.6s var(--ease-out);
}

.grow-bar--amber::after { background: linear-gradient(90deg, var(--amber), var(--amber-deep)); }
.grow-bar--result::after { background: linear-gradient(90deg, var(--result-red), #C43B5E); }

.data-rail {
  position: fixed;
  left: clamp(0.75rem, 2vw, 1.6rem);
  top: 50%;
  transform: translateY(-50%);
  width: 176px;
  display: none;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(22, 36, 79, 0.85), rgba(6, 11, 30, 0.86));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 90;
  font-size: 0.78rem;
  color: var(--mist);
}

.data-rail-title {
  font-family: var(--font-num);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
}

.data-rail-value {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--cold-white);
}

.data-rail-note { line-height: 1.6; }

.data-rail-list { display: grid; gap: 0.35rem; }

@media (min-width: 1440px) {
  .data-rail { display: grid; }
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  border-top: 1px solid rgba(44, 60, 110, 0.85);
  background:
    radial-gradient(760px 340px at 12% 0%, rgba(53, 224, 200, 0.1), transparent 66%),
    radial-gradient(680px 320px at 88% 6%, rgba(182, 255, 59, 0.07), transparent 68%),
    linear-gradient(180deg, #0B1430 0%, #070D22 55%, #04081A 100%);
  color: var(--cold-white);
  font-size: 0.95rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(182, 255, 59, 0.55), rgba(53, 224, 200, 0.35), transparent);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(148, 163, 200, 0.14) 0.5px, transparent 0.6px);
  background-size: 5px 5px;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 72%);
}

.footer-frame {
  position: relative;
  z-index: 1;
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 2fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

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

.footer-brand .brand-glyph {
  min-width: 2.2rem;
  height: 2.2rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
  max-width: none;
}

.footer-tagline {
  color: var(--mist);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 34ch;
}

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

.footer-col { display: grid; align-content: start; gap: 0.55rem; }

.footer-col-title {
  position: relative;
  padding-left: 0.75rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  color: var(--cold-white);
}

.footer-col-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 3px;
  height: 0.85em;
  border-radius: 2px;
  background: var(--neon);
  transform: translateY(-50%);
}

.footer-links { display: grid; gap: 0.3rem; }

.footer-links a {
  display: inline-block;
  padding-block: 0.12rem;
  color: var(--mist);
  font-size: 0.92rem;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.footer-links a:hover {
  color: var(--neon);
  transform: translateX(4px);
}

.footer-links a[aria-current="page"] { color: var(--cold-white); }

.footer-contact {
  display: grid;
  gap: 0.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(22, 36, 79, 0.78), rgba(11, 20, 48, 0.55));
  font-size: 0.92rem;
}

.footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.9rem;
  max-width: none;
}

.footer-contact-key {
  min-width: 5.6rem;
  font-family: var(--font-num);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon);
}

.footer-contact-val { color: var(--cold-white); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: 1.05rem;
  border-top: 1px solid rgba(44, 60, 110, 0.7);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--mist);
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  max-width: none;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.footer-legal-links a {
  color: var(--mist);
  transition: color 0.18s var(--ease);
}

.footer-legal-links a:hover { color: var(--neon); }

/* ---------- 14. 进入视口的显现 ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.has-js [data-reveal="in"] {
  opacity: 1;
  transform: none;
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1024px) {
  .masthead-slot { display: none; }
  .masthead { grid-template-columns: 1fr auto 1fr; grid-template-areas: "brand brand actions"; }
  .brand { justify-self: start; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 6rem; }

  .masthead {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand toggle"
      "actions actions";
    row-gap: 0.65rem;
  }

  .brand { justify-self: start; }
  .brand-line { font-size: 0.62rem; letter-spacing: 0.12em; }
  .header-actions { justify-content: flex-start; }
  .pill { padding: 0.45rem 0.9rem; font-size: 0.82rem; }
  .nav-toggle { display: inline-flex; justify-self: end; }

  .site-nav {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    border-top-color: transparent;
    transition: max-height 0.32s var(--ease), margin-top 0.32s var(--ease), border-color 0.32s var(--ease);
  }

  .site-header[data-open="true"] .site-nav {
    max-height: 72vh;
    overflow-y: auto;
    margin-top: 0.7rem;
    border-top-color: var(--stroke-soft);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    padding-block: 0.5rem 0.7rem;
  }

  .nav-list a {
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.98rem;
  }

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

  .nav-list a[aria-current="page"] {
    box-shadow: inset 0 0 0 1px rgba(182, 255, 59, 0.28);
  }

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

@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .footer-contact-key { min-width: 100%; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 1.2rem; }
  .brand-glyph { min-width: 2.2rem; height: 2.2rem; font-size: 1.05rem; }
}

/* ---------- 16. 降低动效 ---------- */
@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;
    scroll-behavior: auto !important;
  }

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

  .grow-bar::after { transition: none; }

  .pill:hover,
  .btn:hover,
  .footer-links a:hover { transform: none; }
}
