/* =========================================================
   BEPLAY 共享样式表 /assets/site.css
   深空蓝主背景 · 霓虹青秩序色 · 粗边框硬阴影
   ========================================================= */

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

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

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

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

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

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

a { color: inherit; }

address { font-style: normal; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #060B1A;
  --ink-800: #0B1633;
  --ink-750: #0F1D42;
  --ink-700: #16264F;
  --cyan: #35E6D2;
  --amber: #FFB347;
  --violet: #8A6BFF;
  --paper: #F2EBDF;
  --paper-ink: #101418;
  --slate: #4A5A80;
  --mist: #C9D6F0;
  --alert: #FF5C7A;

  --line: 1px solid rgba(74, 90, 128, 0.42);
  --line-strong: 2px solid var(--cyan);
  --grid-gap: clamp(1.25rem, 2.4vw, 2.5rem);
  --shadow-hard: 8px 8px 0 rgba(53, 230, 210, 0.22);
  --shadow-hard-amber: 8px 8px 0 rgba(255, 179, 71, 0.26);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 320ms;

  --font-head: 'Inter', 'HarmonyOS Sans SC', 'Source Han Sans SC', system-ui, sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'Inter', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  overflow-x: clip;
  background-color: var(--ink-800);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: inherit;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 6rem); line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 3.4vw, 3rem); }
h3 { font-size: 1.35rem; line-height: 1.3; }
h4 { font-size: 1.05rem; line-height: 1.45; }

p { max-width: 68ch; }

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

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

[id] { scroll-margin-top: 130px; }

#main-content { display: block; }

::selection {
  background: var(--amber);
  color: var(--ink-900);
}

/* ---------- 4. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}

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

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.05em; }

.grid { display: grid; gap: var(--grid-gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.grid--9-3 { grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); }

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

.section--ink { background-color: var(--ink-800); color: var(--mist); }
.section--deep { background-color: var(--ink-900); color: var(--mist); }
.section--paper {
  background-color: var(--paper);
  color: var(--paper-ink);
  --accent: #0E6B62;
  --accent-2: #8A4B00;
}

.section--paper a { color: #0E6B62; }

.rule {
  height: 1px;
  border: 0;
  background-color: rgba(74, 90, 128, 0.42);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 26px;
  height: 2px;
  background-color: currentColor;
}

.section--paper .eyebrow { color: var(--accent); }

/* 斜切过渡带 */
.cut-band {
  height: clamp(44px, 5.5vw, 92px);
  background-color: var(--ink-900);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.cut-band--paper { background-color: var(--paper); }

.cut-band--drift { animation: band-drift 6s ease-in-out infinite; }

@keyframes band-drift {
  0%   { transform: translate3d(0, -6px, 0); }
  50%  { transform: translate3d(0, 6px, 0); }
  100% { transform: translate3d(0, -6px, 0); }
}

/* ---------- 5. 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.05rem;
  border: 2px solid var(--cyan);
  background-color: transparent;
  color: var(--cyan);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 5px 5px 0 rgba(53, 230, 210, 0.22);
  transition:
    transform 160ms var(--ease),
    box-shadow 160ms var(--ease),
    border-color 160ms var(--ease),
    color 160ms var(--ease),
    background-color 160ms var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translate(2px, 2px);
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: 2px 2px 0 rgba(255, 179, 71, 0.26);
}

.btn--solid {
  background-color: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background-color: var(--amber);
  border-color: var(--amber);
  color: var(--ink-900);
}

.btn--amber {
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: 5px 5px 0 rgba(255, 179, 71, 0.24);
}

.btn--amber:hover,
.btn--amber:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 2px 2px 0 rgba(53, 230, 210, 0.22);
}

.btn--ghost {
  border-color: rgba(74, 90, 128, 0.6);
  color: var(--mist);
  box-shadow: 5px 5px 0 rgba(74, 90, 128, 0.2);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 2px 2px 0 rgba(53, 230, 210, 0.22);
}

.panel {
  border: 2px solid rgba(74, 90, 128, 0.5);
  background-color: rgba(6, 11, 26, 0.4);
  padding: clamp(1.25rem, 2.4vw, 2rem);
}

.panel--paper {
  border-color: rgba(16, 20, 24, 0.32);
  background-color: rgba(255, 255, 255, 0.62);
  color: var(--paper-ink);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--slate);
}

.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  transition: color 160ms var(--ease);
}

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

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.55rem;
  color: var(--slate);
}

.section--paper .breadcrumb { color: rgba(16, 20, 24, 0.55); }
.section--paper .breadcrumb a { color: var(--paper-ink); }

/* 图片容器（页面阶段填入 img 或占位层） */
.img-frame {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--cyan);
  background-image: linear-gradient(140deg, rgba(138, 107, 255, 0.34), rgba(53, 230, 210, 0.14) 55%, rgba(255, 179, 71, 0.2));
  background-color: var(--ink-750);
  box-shadow: var(--shadow-hard);
  aspect-ratio: 16 / 10;
}

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

.img-frame--wide { aspect-ratio: 21 / 9; }
.img-frame--square { aspect-ratio: 1 / 1; }
.img-frame--tall { aspect-ratio: 4 / 5; }

.img-frame--paper {
  border-color: var(--ink-800);
  background-image: linear-gradient(140deg, rgba(11, 22, 51, 0.08), rgba(138, 107, 255, 0.14));
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 8px 8px 0 rgba(11, 22, 51, 0.16);
}

.img-frame__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0.42rem 0.7rem;
  background-color: var(--amber);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* 可展开组 */
.disclosure__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 2px solid rgba(74, 90, 128, 0.5);
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--mist);
  font-family: var(--font-head);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.disclosure__trigger:hover {
  border-color: var(--cyan);
  color: var(--paper);
  box-shadow: 6px 6px 0 rgba(53, 230, 210, 0.16);
}

.disclosure__trigger[aria-expanded="true"] {
  border-color: var(--cyan);
  color: var(--paper);
}

.disclosure__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 240ms var(--ease);
}

.disclosure__trigger[aria-expanded="true"] .disclosure__mark { transform: rotate(45deg); }

[data-disclosure-panel] {
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms var(--ease);
}

.disclosure__inner {
  padding: 1.1rem 1.2rem 1.5rem;
  border-left: 2px solid rgba(53, 230, 210, 0.35);
}

/* ---------- 6. 页头 ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  transform: translateY(-140%);
  padding: 0.75rem 1.1rem;
  border: 2px solid var(--ink-900);
  background-color: var(--amber);
  color: var(--ink-900);
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  transition: transform 200ms var(--ease);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--ink-800);
  transition: box-shadow 200ms var(--ease);
}

.site-header[data-scrolled] { box-shadow: 0 10px 0 rgba(6, 11, 26, 0.55); }

/* 上层说明条 */
.topbar {
  background-color: var(--ink-900);
  border-bottom: 1px solid rgba(74, 90, 128, 0.35);
  overflow: hidden;
  max-height: 140px;
  transition: max-height var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.site-header[data-collapsed] .topbar {
  max-height: 0;
  opacity: 0;
  border-bottom-width: 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 44px;
  font-size: 0.8rem;
}

.topbar__note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  max-width: none;
  color: var(--mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__note::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background-color: var(--cyan);
  transform: rotate(45deg);
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.topbar__link {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.topbar__link:hover { color: var(--amber); }

.topbar__icp {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--slate);
}

/* 下层主导航 */
.nav-bar {
  background-color: var(--ink-800);
  border-bottom: 1px solid rgba(74, 90, 128, 0.35);
}

.nav-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  color: var(--paper);
  font-family: var(--font-head);
  font-weight: 900;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 2px solid var(--cyan);
  background-image: linear-gradient(135deg, rgba(53, 230, 210, 0.2), rgba(138, 107, 255, 0.3));
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 3px 3px 0 rgba(53, 230, 210, 0.28);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name { font-size: 1.02rem; letter-spacing: -0.01em; }

.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--slate);
}

.primary-nav { display: block; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.72rem;
  border-bottom: 3px solid transparent;
  color: var(--mist);
  font-size: 0.94rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.nav-link:hover { color: var(--cyan); }

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

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 5px;
  height: 5px;
  background-color: var(--cyan);
  transform: translateX(-50%) rotate(45deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
}

.collapse-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(74, 90, 128, 0.55);
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.collapse-btn:hover,
.collapse-btn[aria-expanded="false"] {
  color: var(--cyan);
  border-color: var(--cyan);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.8rem;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(53, 230, 210, 0.24);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease),
              border-color 160ms var(--ease), color 160ms var(--ease);
}

.nav-toggle:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(255, 179, 71, 0.28);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background-color: currentColor;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background-color: currentColor;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  border-top: 2px solid var(--cyan);
  background-color: var(--ink-900);
  color: var(--mist);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background-image: repeating-linear-gradient(90deg, var(--cyan) 0 18px, transparent 18px 40px);
  opacity: 0.35;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--grid-gap);
  padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(1.75rem, 3vw, 2.75rem);
}

.footer-col--brand { max-width: 36ch; }

.footer-brand {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.footer-note {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--mist);
}

.footer-stamp {
  display: inline-flex;
  align-items: center;
  margin-top: 1.1rem;
  padding: 0.42rem 0.65rem;
  background-color: var(--amber);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-title {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-list li + li { margin-top: 0.6rem; }

.footer-list a {
  color: var(--mist);
  font-size: 0.94rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.footer-list a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer-list li {
  font-size: 0.94rem;
  color: var(--mist);
}

.footer-key {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem 1.7rem;
  border-top: 1px solid rgba(74, 90, 128, 0.4);
}

.footer-copy {
  max-width: none;
  font-size: 0.8rem;
  color: var(--slate);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-legal a {
  color: var(--mist);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

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

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(53, 230, 210, 0.24);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease),
              border-color 160ms var(--ease), color 160ms var(--ease);
}

.to-top:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(255, 179, 71, 0.26);
}

/* ---------- 8. 全局动效 ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: 3px;
  background-color: rgba(74, 90, 128, 0.28);
  pointer-events: none;
}

.scroll-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--amber));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 120ms linear;
}

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

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

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; max-width: 60ch; }
}

@media (max-width: 1000px) {
  .site-header { position: relative; }

  .grid--7-5,
  .grid--8-4,
  .grid--9-3,
  .grid--4,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }

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

  .topbar__note { display: none; }

  .topbar__inner { justify-content: space-between; gap: 0.75rem; }

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

  .header-cta { display: none; }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: var(--ink-900);
    border-top: 2px solid var(--cyan);
    border-bottom: 1px solid rgba(74, 90, 128, 0.45);
    transition: max-height 260ms var(--ease);
  }

  .primary-nav[data-open] {
    max-height: 62vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9rem 1.25rem 1.05rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

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

  .nav-link {
    scroll-snap-align: start;
    height: auto;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(74, 90, 128, 0.55);
    border-bottom: 2px solid rgba(74, 90, 128, 0.55);
    font-size: 0.9rem;
  }

  .nav-link[aria-current="page"] {
    border-color: var(--cyan);
    background-color: rgba(53, 230, 210, 0.1);
  }

  .nav-link[aria-current="page"]::after { display: none; }

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

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

@media (max-width: 620px) {
  body { font-size: 1rem; }

  .topbar__icp { display: none; }

  .topbar__link { font-size: 0.76rem; }

  .brand__sub { display: none; }

  .collapse-btn { display: none; }

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

  .footer-legal { gap: 0.75rem; }

  .img-frame { box-shadow: 5px 5px 0 rgba(53, 230, 210, 0.22); }
}

@media (min-width: 1001px) {
  .nav-list { height: 64px; align-items: stretch; }
  .nav-link { height: 100%; padding-inline: 0.78rem; }
}

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

  .cut-band--drift { animation: none; }

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

  .btn:hover,
  .btn:focus-visible,
  .to-top:hover,
  .nav-toggle:hover {
    transform: none;
  }

  .scroll-progress { display: none; }
}
