/* ============================================================
   星空赛场 · 共享站点样式 /assets/site.css
   深空蓝 + 星云紫打底，亮橙与荧光青做数据高亮
   ============================================================ */

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

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

body { margin: 0; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; }

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

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

a { color: inherit; }

/* ---------- 变量 ---------- */
:root {
  --deep: #060B1E;
  --panel: #0F1734;
  --line: #243058;
  --violet: #6C4BD6;
  --lilac: #A98BFF;
  --orange: #FF7A2F;
  --cyan: #2EE6D6;
  --white: #E8ECF8;
  --muted: #9AA6C7;
  --green: #3BD48B;
  --amber: #FFB020;

  --rail: 88px;
  --bar: 64px;
  --bar-slim: 56px;
  --maxw: 1240px;
  --gutter: 24px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;

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

  --shadow-panel:
    inset 0 1px 0 rgba(232, 236, 248, .05),
    inset 0 0 0 1px rgba(15, 23, 52, .8),
    0 20px 44px -30px rgba(0, 0, 0, .95);

  --font-sans: "Inter", "HarmonyOS Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Consolas, monospace;
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--deep);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 星轨底纹 + 多层柔和渐变 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1100px 620px at 82% -10%, rgba(108, 75, 214, .30), transparent 65%),
    radial-gradient(820px 520px at 4% 14%, rgba(46, 230, 214, .09), transparent 62%),
    radial-gradient(760px 520px at 62% 104%, rgba(255, 122, 47, .07), transparent 66%),
    repeating-linear-gradient(90deg, rgba(36, 48, 88, .42) 0 1px, transparent 1px 132px),
    repeating-linear-gradient(0deg, rgba(36, 48, 88, .26) 0 1px, transparent 1px 132px);
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: .04em;
  margin-bottom: .6em;
}

h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; letter-spacing: .05em; }

p { margin-bottom: 1em; }

/* ---------- 焦点可见 ---------- */
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -180%);
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--cyan);
  color: #04121A;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  transition: transform .22s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
}

/* ============================================================
   头部
   ============================================================ */
.site-header {
  position: relative;
  z-index: 60;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--bar);
  background: rgba(6, 11, 30, .84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: height .26s var(--ease), background .26s var(--ease);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--maxw);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  flex: none;
}

.brand__glyph {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--cyan), var(--violet) 58%, transparent 74%);
  box-shadow:
    0 0 0 1px rgba(169, 139, 255, .48),
    0 0 18px rgba(108, 75, 214, .55);
}

.brand__glyph::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--deep);
  box-shadow: inset 0 0 0 1px rgba(46, 230, 214, .55);
}

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

.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .08em;
}

.brand__tag {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}

/* 版本胶囊 */
.version-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 52, .72);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}

.version-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(46, 230, 214, .16);
  animation: chip-pulse 2.6s var(--ease) infinite;
}

@keyframes chip-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(46, 230, 214, .16); }
  50% { opacity: .55; box-shadow: 0 0 0 6px rgba(46, 230, 214, .04); }
}

/* 移动端开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 52, .7);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}

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

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

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- 轨道导航 ---------- */
.track-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: var(--rail);
  height: 100vh;
  padding: 12px 0 14px;
  overflow-y: auto;
  scrollbar-width: none;
  background: linear-gradient(180deg, rgba(15, 23, 52, .98), rgba(6, 11, 30, .99) 70%);
  border-right: 1px solid var(--line);
}

.track-nav::-webkit-scrollbar { width: 0; height: 0; }

.track-nav__gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-inline: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.track-nav__gauge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(46, 230, 214, .14), 0 0 14px rgba(46, 230, 214, .65);
}

.track-nav__gauge-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--muted);
}

.track-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  margin-top: 8px;
  list-style: none;
}

.track-nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 64px;
  padding: 10px 3px;
  border-left: 2px solid transparent;
  text-decoration: none;
  color: var(--muted);
  transition: color .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}

.track-nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--line);
  font-variant-numeric: tabular-nums;
  transition: color .22s var(--ease);
}

.track-nav__label {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .03em;
  text-align: center;
}

.track-nav__link:hover,
.track-nav__link:focus-visible {
  color: var(--white);
  background: rgba(108, 75, 214, .18);
  border-left-color: var(--lilac);
}

.track-nav__link:hover .track-nav__index,
.track-nav__link:focus-visible .track-nav__index {
  color: var(--lilac);
}

.track-nav__link[aria-current="page"] {
  color: var(--white);
  background: linear-gradient(90deg, rgba(255, 122, 47, .22), rgba(255, 122, 47, 0));
  border-left-color: var(--orange);
}

.track-nav__link[aria-current="page"] .track-nav__index {
  color: var(--orange);
}

.track-nav__cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  margin-inline: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--muted);
}

/* 滚动进度尺（JS 注入） */
.scroll-rail {
  position: fixed;
  top: 0;
  bottom: 0;
  left: var(--rail);
  z-index: 75;
  width: 3px;
  pointer-events: none;
}

.scroll-rail__fill {
  position: absolute;
  inset: 0;
  transform: scaleY(0);
  transform-origin: top center;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(180deg, var(--cyan), var(--lilac) 58%, var(--orange));
  box-shadow: 0 0 14px rgba(46, 230, 214, .42);
}

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .2s var(--ease),
    background .2s var(--ease),
    border-color .2s var(--ease),
    color .2s var(--ease),
    box-shadow .2s var(--ease);
}

.btn--sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.btn--primary {
  background: linear-gradient(135deg, #FF9557, var(--orange) 58%, #E85F14);
  color: #12060A;
  box-shadow: 0 10px 26px -16px rgba(255, 122, 47, .95);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -14px rgba(255, 122, 47, .95);
}

.btn--ghost {
  background: rgba(15, 23, 52, .66);
  border-color: var(--line);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--lilac);
  color: var(--lilac);
}

.btn--cyan {
  background: rgba(46, 230, 214, .12);
  border-color: rgba(46, 230, 214, .48);
  color: var(--cyan);
}

.btn--cyan:hover {
  background: rgba(46, 230, 214, .2);
  color: #CFFBF6;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 96px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 380px at 88% 0%, rgba(108, 75, 214, .22), transparent 68%),
    linear-gradient(180deg, #081027, #050A18 74%);
}

.footer__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 56px var(--gutter) 28px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: 36px 28px;
}

.footer__brand .brand__name { font-size: 18px; }

.footer__note {
  margin: 18px 0 16px;
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid rgba(46, 230, 214, .32);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--cyan);
  background: rgba(46, 230, 214, .07);
}

.footer__col { min-width: 0; }

.footer__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--white);
}

.footer__list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer__list a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.footer__list a:hover,
.footer__list a:focus-visible {
  color: var(--lilac);
}

.footer__icp {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
  font-size: 13px;
  color: var(--white);
}

.footer__contact li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.footer__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--muted);
}

.footer__copy {
  margin: 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ============================================================
   通用工具与组件
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 820px; }

.grid {
  display: grid;
  gap: var(--gutter);
}

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

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

.divider {
  height: 1px;
  border: 0;
  margin: 32px 0;
  background: linear-gradient(90deg, var(--line), rgba(36, 48, 88, 0));
}

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

/* 面板 */
.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(23, 34, 72, .72), rgba(15, 23, 52, .94));
  box-shadow: var(--shadow-panel);
}

.panel__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}

.panel__head::before {
  content: "";
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--orange), rgba(255, 122, 47, 0));
}

.panel__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .06em;
}

.panel__num {
  margin-inline-start: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
}

.panel__body { padding: 20px; }

/* 卡片 */
.card {
  position: relative;
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(15, 23, 52, .78);
  color: inherit;
  text-decoration: none;
  transition:
    border-color .24s var(--ease),
    transform .24s var(--ease),
    background .24s var(--ease);
}

.card:hover,
.card:focus-visible {
  border-color: var(--lilac);
  background: rgba(22, 32, 66, .94);
  transform: translateY(-4px);
}

/* 图片容器基础规则 */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 100% at 18% 0%, rgba(108, 75, 214, .52), transparent 62%),
    radial-gradient(90% 84% at 86% 92%, rgba(46, 230, 214, .22), transparent 64%),
    #0A1230;
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    repeating-linear-gradient(90deg, rgba(232, 236, 248, .08) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(0deg, rgba(232, 236, 248, .06) 0 1px, transparent 1px 30px);
}

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

.media-frame__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 14px 16px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--white);
  background: linear-gradient(0deg, rgba(6, 11, 30, .95), rgba(6, 11, 30, 0));
}

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

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

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

.breadcrumb__sep { color: var(--line); }

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

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

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--cyan);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.24;
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.6;
}

.tag--live {
  color: var(--orange);
  border-color: rgba(255, 122, 47, .45);
  background: rgba(255, 122, 47, .13);
}

.tag--data {
  color: var(--cyan);
  border-color: rgba(46, 230, 214, .42);
  background: rgba(46, 230, 214, .1);
}

.tag--up {
  color: var(--green);
  border-color: rgba(59, 212, 139, .42);
  background: rgba(59, 212, 139, .1);
}

.tag--alert {
  color: var(--amber);
  border-color: rgba(255, 176, 32, .42);
  background: rgba(255, 176, 32, .1);
}

/* 入场显现 */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}

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

/* 主内容区 */
#main-content {
  position: relative;
  z-index: 1;
  display: block;
  scroll-margin-top: 88px;
}

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 1024px) {
  body { padding-inline-start: var(--rail); }

  .site-header[data-scrolled="true"] .topbar { height: var(--bar-slim); }

  .site-header[data-scrolled="true"] .brand__tag {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@media (max-width: 1023.98px) {
  .nav-toggle { display: inline-flex; }

  .track-nav {
    position: fixed;
    top: var(--bar);
    right: 0;
    left: 0;
    display: none;
    width: auto;
    height: auto;
    max-height: calc(100vh - var(--bar));
    padding: 8px 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 13, 32, .98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

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

  .track-nav__gauge,
  .track-nav__cap { display: none; }

  .track-nav__list {
    margin-top: 0;
    gap: 0;
  }

  .track-nav__link {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    min-height: 52px;
    padding: 13px 22px;
    border-left-width: 3px;
  }

  .track-nav__label { font-size: 14px; }
  .track-nav__index { font-size: 11px; }

  .scroll-rail {
    left: 0;
    width: 3px;
  }

  .site-footer { margin-top: 64px; }

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

  .footer__brand { grid-column: 1 / -1; }

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

  .grid--12 > [class*="col-"] { grid-column: span 6; }

  .grid--12 > .col-3 { grid-column: span 3; }
}

@media (max-width: 719.98px) {
  .version-chip { display: none; }

  .topbar__actions { margin-inline-start: auto; }

  .brand__tag { display: none; }
}

@media (max-width: 639.98px) {
  :root { --gutter: 18px; }

  .footer__top { grid-template-columns: 1fr; }

  .footer__inner { padding-top: 40px; }

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

  .footer__contact { flex-direction: column; gap: 8px; }

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

  .grid--12 > [class*="col-"] { grid-column: span 2; }

  .nav-toggle__text { display: none; }

  .btn--sm { padding: 0 14px; }
}

/* ---------- 降低动效 ---------- */
@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 !important;
    transform: none !important;
  }
}
