/* =========================================================
   VWIN · 共享样式表 /assets/site.css
   墨池深绿底 · 电光青主线 · 琥珀金数据点
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 24px);
}

body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:where(h1, h2, h3, h4) { line-height: 1.3; font-weight: 600; }

/* ---------- 2. Tokens ---------- */
:root {
  /* 色彩 */
  --ink: #081714;
  --panel: #142C25;
  --panel-deep: #0A1D18;
  --glass: rgba(69, 224, 203, 0.08);
  --cyan: #45E0CB;
  --cyan-soft: #6BEDDC;
  --teal: #1B6F66;
  --amber: #E3A949;
  --clay: #B96F4B;
  --stone: #77897F;
  --ivory: #F3EFE4;
  --mute: #93A79C;
  --body-ink: #DCE4DF;

  /* 线与面 */
  --line: rgba(119, 137, 127, 0.22);
  --line-strong: rgba(119, 137, 127, 0.38);
  --line-cyan: rgba(69, 224, 203, 0.36);

  /* 字体 */
  --font-cn: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
             "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Roboto Mono",
               Menlo, Consolas, monospace;
  --font-serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", Georgia, serif;

  /* 尺寸与节奏 */
  --bar-h: 56px;
  --shell: 1240px;
  --pad: clamp(20px, 4.2vw, 44px);
  --s1: 40px;
  --s2: 64px;
  --s3: 96px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--bar-h);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 540px at 84% -6%, rgba(69, 224, 203, 0.10), transparent 62%),
    radial-gradient(820px 520px at -8% 96%, rgba(27, 111, 102, 0.18), transparent 66%),
    repeating-linear-gradient(0deg, rgba(119, 137, 127, 0.055) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(119, 137, 127, 0.055) 0 1px, transparent 1px 56px);
  background-attachment: fixed;
  color: var(--body-ink);
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(69, 224, 203, 0.28); color: var(--ivory); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #07110F; }
::-webkit-scrollbar-thumb { background: #1E3A32; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ---------- 4. 跳至主要内容 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  transform: translateY(-180%);
  padding: 10px 18px;
  background: var(--cyan);
  color: #04211C;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease);
}

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

/* ---------- 5. 命令栏 ---------- */
.cmd-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: var(--bar-h);
  background: rgba(8, 23, 20, 0.80);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  transition: background-color 0.3s var(--ease),
              border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.cmd-bar[data-scrolled="true"] {
  background: rgba(6, 18, 15, 0.95);
  border-bottom-color: rgba(69, 224, 203, 0.24);
  box-shadow: 0 18px 44px -34px rgba(0, 0, 0, 0.95);
}

.cmd-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  width: 100%;
  max-width: calc(var(--shell) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 4px 2px;
  border-radius: var(--radius);
}

.brand__mark {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  background: linear-gradient(150deg, var(--cyan) 0%, var(--teal) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 66%, 52% 100%, 0 66%);
  transition: filter 0.2s var(--ease);
}

.brand:hover .brand__mark { filter: brightness(1.18); }

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  color: var(--ivory);
  white-space: nowrap;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: var(--mute);
  white-space: nowrap;
}

.brand--foot .brand__name { font-size: 16px; letter-spacing: 0.16em; }
.brand--foot .brand__sub { font-size: 11px; }

/* 分区导航 */
.nav {
  min-width: 0;
  margin-left: 4px;
}

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

.nav__item { position: relative; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 11px;
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--mute);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav__link::before {
  content: attr(data-index);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: rgba(119, 137, 127, 0.72);
  transition: color 0.2s var(--ease);
}

.nav__link:hover {
  color: var(--ivory);
  background: rgba(69, 224, 203, 0.07);
}

.nav__link:hover::before { color: var(--cyan); }

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

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 1px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(69, 224, 203, 0.75);
}

/* 命令栏操作区 */
.cmd-bar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* 移动端分区按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ivory);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
              background-color 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--line-cyan);
  color: var(--cyan);
  background: rgba(69, 224, 203, 0.06);
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.24s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5.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(-5.5px) rotate(-45deg);
}

/* 滚动进度线 */
.cmd-bar__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--cyan) 62%, var(--amber) 100%);
  box-shadow: 0 0 12px rgba(69, 224, 203, 0.55);
  transition: width 0.12s linear;
}

/* ---------- 6. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn--primary {
  background: var(--cyan);
  color: #04211C;
  box-shadow: 0 0 0 1px rgba(69, 224, 203, 0.32),
              0 10px 28px -14px rgba(69, 224, 203, 0.95);
}

.btn--primary:hover { background: var(--cyan-soft); }

.btn--ghost {
  border-color: var(--line-cyan);
  color: var(--cyan);
}

.btn--ghost:hover {
  background: rgba(69, 224, 203, 0.10);
  border-color: var(--cyan);
}

.btn--sm {
  min-height: 34px;
  padding: 0 15px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

/* ---------- 7. 内容容器与节奏 ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--shell) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.wrap--narrow { max-width: calc(880px + var(--pad) * 2); }

.section { padding-block: var(--s2); }
.section--tight { padding-block: var(--s1); }
.section--loose { padding-block: var(--s3); }

.section--panel {
  background: linear-gradient(180deg, rgba(20, 44, 37, 0.72), rgba(10, 29, 24, 0.40));
  border-block: 1px solid var(--line);
}

.page-head {
  display: grid;
  gap: 18px;
  padding-block: var(--s1) var(--s2);
}

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

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}

.page-title {
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.24;
  color: var(--ivory);
}

.lede {
  max-width: 62ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.9;
  color: var(--body-ink);
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg,
    rgba(69, 224, 203, 0.55) 0%,
    rgba(119, 137, 127, 0.18) 42%,
    transparent 100%);
}

/* ---------- 8. 栅格 ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--aside { grid-template-columns: minmax(0, 1fr) 264px; gap: 32px 44px; }

.aside-note {
  padding-left: 16px;
  border-left: 1px solid var(--line-cyan);
  font-size: 13px;
  line-height: 1.7;
  color: var(--mute);
}

.aside-note strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

/* ---------- 9. 层 ---------- */
.surface-glass {
  background: var(--glass);
  border: 1px solid rgba(69, 224, 203, 0.20);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.surface-solid {
  background: var(--panel);
  border-radius: var(--radius);
}

/* ---------- 10. 图片容器基础 ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #142C25 0%, #0A1D18 100%);
  isolation: isolate;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(119, 137, 127, 0.08) 0 1px, transparent 1px 34px),
    linear-gradient(180deg, transparent 48%, rgba(8, 23, 20, 0.55) 100%);
}

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

.media--wide { aspect-ratio: 21 / 9; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--square { aspect-ratio: 1 / 1; }

.media--slant { clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }

.media__caption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mute);
}

/* ---------- 11. 标签与数字 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.7;
  white-space: nowrap;
}

.tag--amber { background: var(--amber); color: #1A1206; }
.tag--cyan { background: var(--cyan); color: #04211C; }

.tag--clay {
  background: rgba(185, 111, 75, 0.18);
  border-color: rgba(185, 111, 75, 0.60);
  color: #E7B79A;
}

.tag--outline {
  border-color: var(--line-cyan);
  color: var(--cyan);
}

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

/* ---------- 12. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--mute);
}

.crumbs__link { color: var(--mute); transition: color 0.2s var(--ease); }
.crumbs__link:hover { color: var(--cyan); }
.crumbs__sep { color: rgba(119, 137, 127, 0.55); }
.crumbs__current { color: var(--ivory); }

/* ---------- 13. 折叠问答 ---------- */
.qa {
  border-bottom: 1px solid var(--line);
}

.qa__q {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ivory);
  cursor: pointer;
  list-style: none;
}

.qa__q::-webkit-details-marker { display: none; }

.qa__q::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--cyan);
  transition: transform 0.2s var(--ease);
}

.qa[open] .qa__q::after { content: "–"; }

.qa__a {
  padding-bottom: 20px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mute);
}

/* ---------- 14. 纯 CSS 单选切换 ---------- */
.switch-group {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.switch-group input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.switch-group label {
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mute);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.switch-group input:checked + label {
  background: rgba(69, 224, 203, 0.14);
  color: var(--cyan);
}

.switch-group input:focus-visible + label {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

/* ---------- 15. 长文容器 ---------- */
.prose {
  max-width: 68ch;
  color: var(--body-ink);
}

.prose > * + * { margin-top: 20px; }

.prose h2 {
  margin-top: var(--s1);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ivory);
}

.prose h3 {
  margin-top: 28px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ivory);
}

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

.prose strong { color: var(--ivory); }

.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: 8px; }

/* ---------- 16. 显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}

/* ---------- 17. 页脚 ---------- */
.site-foot {
  position: relative;
  margin-top: var(--s3);
  background: linear-gradient(180deg, #0A1F1A 0%, #071411 100%);
  border-top: 1px solid var(--line);
}

.site-foot::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(300px, 42%);
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(69, 224, 203, 0));
}

.site-foot__inner {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 0.8fr 0.8fr;
  gap: 46px 34px;
  align-items: start;
  width: 100%;
  max-width: calc(var(--shell) + var(--pad) * 2);
  margin-inline: auto;
  padding: var(--s2) var(--pad) var(--s1);
}

.site-foot__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 40ch;
}

.site-foot__statement {
  font-size: 14.5px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--body-ink);
}

.site-foot__note {
  padding-left: 14px;
  border-left: 1px solid var(--line-cyan);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--mute);
}

.site-foot__note .num { color: #AEC3B8; }

.foot-col__title {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--cyan);
}

.foot-col__list { display: grid; gap: 11px; }

.foot-col__link {
  position: relative;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--mute);
  transition: color 0.2s var(--ease);
}

.foot-col__link::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  width: 7px;
  height: 1px;
  background: var(--cyan);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.2s var(--ease);
}

.foot-col__link:hover,
.foot-col__link:focus-visible { color: var(--ivory); }

.foot-col__link:hover::before,
.foot-col__link:focus-visible::before { opacity: 1; }

.site-foot__legal {
  border-top: 1px solid rgba(119, 137, 127, 0.18);
  background: rgba(4, 12, 10, 0.50);
}

.site-foot__legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
  width: 100%;
  max-width: calc(var(--shell) + var(--pad) * 2);
  margin-inline: auto;
  padding: 22px var(--pad) 30px;
}

.site-foot__legal-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--mute);
}

.site-foot__legal-line .num { color: #A9BDB2; }
.site-foot__dot { color: rgba(119, 137, 127, 0.55); }

.site-foot__copy {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(147, 167, 156, 0.85);
}

/* ---------- 18. 平板 ---------- */
@media (max-width: 1080px) {
  .nav {
    position: fixed;
    top: var(--bar-h);
    left: 0;
    right: 0;
    z-index: 118;
    display: none;
    margin: 0;
    max-height: calc(100vh - var(--bar-h));
    max-height: calc(100dvh - var(--bar-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px var(--pad) 26px;
    background: linear-gradient(180deg, #0C211B 0%, #071613 100%);
    border-bottom: 1px solid rgba(69, 224, 203, 0.26);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.95);
  }

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

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

  .nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 6px;
    border-radius: 0;
    border-bottom: 1px solid rgba(119, 137, 127, 0.18);
    font-size: 15px;
    letter-spacing: 0.08em;
    color: var(--ivory);
  }

  .nav__link::before {
    order: 2;
    font-size: 11px;
    color: rgba(119, 137, 127, 0.80);
  }

  .nav__link::after { display: none; }

  .nav__link[aria-current="page"] {
    color: var(--cyan);
    background: rgba(69, 224, 203, 0.06);
  }

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

  .nav-toggle { display: inline-flex; }

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

@media (max-width: 980px) {
  .site-foot__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px 28px;
  }

  .site-foot__brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

/* ---------- 19. 手机 ---------- */
@media (max-width: 760px) {
  body {
    background-attachment: scroll;
    font-size: 15.5px;
  }

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

  .section { padding-block: var(--s1); }
  .section--loose { padding-block: var(--s2); }
  .page-head { padding-block: 28px var(--s1); }
}

@media (max-width: 560px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 13px; letter-spacing: 0.08em; }
  .cmd-bar__inner { gap: 10px; }
  .cmd-bar__actions { gap: 8px; }
  .btn--sm { padding: 0 12px; font-size: 12px; letter-spacing: 0.04em; }
  .nav-toggle { padding: 0 10px; }
  .nav-toggle__label { display: none; }

  .site-foot__inner { grid-template-columns: 1fr; }
  .site-foot__legal-inner { justify-content: flex-start; }
  .site-foot { margin-top: var(--s2); }
}

@media (max-width: 400px) {
  .cmd-bar__actions .btn--primary { padding-inline: 10px; font-size: 11.5px; }
}

/* ---------- 20. 降低动效 ---------- */
@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;
  }

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

  .cmd-bar__progress { transition: none; }
}
