/* ==========================================================================
   博鱼电脑版 · 共享站点工具包  /assets/site.css
   深海资料舱：墨蓝底、潮汐蓝分区、电光青轨迹、珊瑚橙行动点
   ========================================================================== */

/* ---------- 0. 变量 ---------- */
:root {
  /* 品牌色 */
  --abyss: #061826;
  --deepsea: #0B2A45;
  --tide: #123F5E;
  --cyan: #37E6D4;
  --mist: #A7F3EA;
  --coral: #FF7A59;
  --salt: #F2F7F7;
  --rock: #7C8C96;
  --moss: #6F8F7A;
  --clay: #B56A4A;

  /* 语义色 */
  --surface-1: var(--abyss);
  --surface-2: var(--deepsea);
  --surface-3: var(--tide);
  --ink: var(--salt);
  --ink-mute: var(--rock);
  --ink-accent: var(--mist);
  --line: rgba(55, 230, 212, 0.18);
  --line-soft: rgba(124, 140, 150, 0.24);
  --focus: var(--cyan);

  /* 字体 */
  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", Menlo,
    Consolas, "Liberation Mono", monospace;

  /* 栅格与节奏 */
  --maxw: 1280px;
  --gutter: 24px;
  --nav-h: 72px;
  --header-h: 106px;
  --cut: 18px;
  --cut-sm: 8px;
}

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

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

body {
  margin: 0;
  padding-top: var(--header-h);
  background-color: var(--abyss);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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 {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

::selection {
  background: rgba(55, 230, 212, 0.28);
  color: var(--salt);
}

/* ---------- 2. 中文排版 ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.18;
  color: var(--salt);
}

h1 { font-size: clamp(2.25rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 400;
  letter-spacing: 0.06em;
}
h4 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0;
}

p {
  max-width: 42em;
  line-height: 1.75;
}

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

small {
  font-size: 0.8125rem;
}

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

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

.section {
  padding-block: clamp(48px, 7vw, 96px);
}

.section-alt {
  background: var(--deepsea);
}

.prose {
  max-width: 42em;
}

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

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

.u-cyan { color: var(--cyan); }
.u-coral { color: var(--coral); }
.u-mist { color: var(--mist); }
.u-rock { color: var(--rock); }

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

.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)); }

.split {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.dashboard {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

/* ---------- 4. 展签与文字组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  flex: none;
}

.eyebrow-index {
  color: var(--rock);
  letter-spacing: 0.12em;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 46em;
}

.section-title {
  margin: 0;
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, rgba(55, 230, 212, 0.5), rgba(55, 230, 212, 0));
}

.rule--soft {
  background: linear-gradient(90deg, rgba(124, 140, 150, 0.45), rgba(124, 140, 150, 0));
}

/* ---------- 5. 状态标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  background: rgba(55, 230, 212, 0.1);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.tag--coral { color: #FFD9CF; background: rgba(255, 122, 89, 0.18); }
.tag--moss  { color: #D7EFDF; background: rgba(111, 143, 122, 0.3); }
.tag--clay  { color: #F3D2C4; background: rgba(181, 106, 74, 0.28); }
.tag--ghost {
  color: var(--rock);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(124, 140, 150, 0.35);
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 3px rgba(111, 143, 122, 0.22);
}

.status-dot--cyan {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(55, 230, 212, 0.2), 0 0 10px rgba(55, 230, 212, 0.6);
}

.status-dot--coral {
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 122, 89, 0.2);
}

/* ---------- 6. 切角面板 ---------- */
.panel {
  position: relative;
  background: var(--deepsea);
  padding: clamp(20px, 3vw, 32px);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%,
      var(--cut) 100%, 0 calc(100% - var(--cut)));
}

.panel--tide {
  background: var(--tide);
}

.panel--outline {
  background: rgba(18, 63, 94, 0.42);
  box-shadow: inset 0 0 0 1px rgba(55, 230, 212, 0.2);
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 0;
  background: rgba(55, 230, 212, 0.1);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)),
      calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

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

.btn-primary {
  background: var(--coral);
  color: var(--abyss);
  font-weight: 600;
}

.btn-primary:hover {
  background: #FF9275;
}

.btn-ghost {
  background: rgba(55, 230, 212, 0.08);
  color: var(--mist);
}

.btn-ghost:hover {
  background: rgba(255, 122, 89, 0.16);
  color: #FFD9CF;
}

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

.btn-block {
  width: 100%;
}

/* ---------- 8. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--rock);
  margin: 0;
  padding: 0;
}

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

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

.breadcrumb .sep {
  color: rgba(124, 140, 150, 0.55);
}

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

/* ---------- 9. 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(55, 230, 212, 0.22), rgba(55, 230, 212, 0) 62%),
    linear-gradient(152deg, var(--tide) 0%, var(--abyss) 78%);
  box-shadow: inset 0 0 0 1px rgba(55, 230, 212, 0.2);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%,
      22px 100%, 0 calc(100% - 22px));
}

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

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

.media-frame--bright {
  background:
    radial-gradient(90% 70% at 50% 20%, rgba(55, 230, 212, 0.38), rgba(55, 230, 212, 0) 66%),
    linear-gradient(160deg, #16496B 0%, var(--abyss) 82%);
}

/* ---------- 10. 显现（JS 追加 .is-revealed） ---------- */
.js [data-reveal] {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(16px);
}

/* ---------- 11. 焦点 ---------- */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* ---------- 12. 页头 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--cyan);
  color: var(--abyss);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)),
      calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
  transition: top 0.18s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 10px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(6, 24, 38, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(55, 230, 212, 0.12);
  color: var(--salt);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header[data-scrolled="true"] {
  background-color: var(--deepsea);
  border-bottom-color: rgba(55, 230, 212, 0.26);
  box-shadow: 0 22px 44px -32px rgba(0, 0, 0, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--nav-h);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(140deg, rgba(55, 230, 212, 0.3), rgba(55, 230, 212, 0.04) 62%),
    rgba(18, 63, 94, 0.62);
  clip-path: polygon(50% 0, 100% 27%, 100% 73%, 50% 100%, 0 73%, 0 27%);
  transition: background 0.24s ease;
}

.brand-mark-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(55, 230, 212, 0.9), 0 0 0 4px rgba(55, 230, 212, 0.14);
  transition: background 0.24s ease, box-shadow 0.24s ease;
}

.brand:hover .brand-mark-dot {
  background: var(--coral);
  box-shadow: 0 0 14px rgba(255, 122, 89, 0.85), 0 0 0 4px rgba(255, 122, 89, 0.16);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.brand-sub {
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--rock);
}

/* 主导航 */
.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 2px;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(242, 247, 247, 0.82);
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

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

.nav-link:hover::after {
  transform: scaleX(1);
}

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

.nav-link[aria-current="page"]::after {
  height: 2px;
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

/* 头部操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
  flex: none;
}

.header-cta {
  white-space: nowrap;
}

/* 移动端按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 0;
  background: rgba(55, 230, 212, 0.08);
  color: var(--mist);
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)),
      calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
}

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

.nav-toggle-bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] {
  background: rgba(255, 122, 89, 0.16);
  color: #FFD9CF;
}

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

/* 状态带 */
.header-status {
  max-height: 40px;
  overflow: hidden;
  border-top: 1px solid rgba(55, 230, 212, 0.14);
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

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

.header-status-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 6px var(--gutter);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--rock);
}

.header-status-text {
  white-space: nowrap;
}

.header-status-rule {
  flex: 1 1 auto;
  height: 1px;
  min-width: 24px;
  background: linear-gradient(90deg, rgba(55, 230, 212, 0.3), rgba(55, 230, 212, 0));
}

.header-status-meta {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(124, 140, 150, 0.9);
}

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(55, 230, 212, 0.14);
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--coral));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.12s linear;
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 72px);
  background: var(--deepsea);
  color: var(--rock);
  border-top: 1px solid rgba(55, 230, 212, 0.16);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(55, 230, 212, 0.6), transparent);
}

.footer-top {
  padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 48px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(0, 1.25fr) minmax(220px, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

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

.footer-summary {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--rock);
  max-width: 32em;
}

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

.footer-col-title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
}

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

.footer-link {
  position: relative;
  display: inline-block;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  color: var(--rock);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.footer-link:hover::after {
  transform: scaleX(1);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(124, 140, 150, 0.85);
}

.footer-value {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--salt);
}

.footer-contact .footer-link {
  font-size: 14px;
  color: var(--salt);
}

.footer-note {
  margin-top: 16px;
  max-width: 32em;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(124, 140, 150, 0.9);
}

.footer-base {
  border-top: 1px solid rgba(124, 140, 150, 0.18);
}

.footer-base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-block: 20px;
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: var(--rock);
}

.footer-icp {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--rock);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-left: auto;
}

.footer-legal-link {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--rock);
  text-decoration: none;
  transition: color 0.18s ease;
}

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

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1024px) {
  :root {
    --gutter: 20px;
    --nav-h: 62px;
    --header-h: 96px;
  }

  .header-inner {
    gap: 14px;
  }

  .header-cta {
    display: none;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin-left: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--deepsea);
    border-top: 1px solid rgba(55, 230, 212, 0.2);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.95);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-nav[data-open="true"] {
    display: block;
    animation: nav-fade 0.18s ease-out both;
  }

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

  .nav-link {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(124, 140, 150, 0.18);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link[aria-current="page"] {
    padding-left: 12px;
    background: linear-gradient(90deg, rgba(55, 230, 212, 0.16), rgba(55, 230, 212, 0) 72%);
  }

  .nav-cta {
    display: block;
    margin-top: 20px;
  }

  .header-status-meta {
    display: none;
  }

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

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

  .dashboard {
    position: static;
  }

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

  .footer-contact {
    grid-column: 1 / -1;
  }
}

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

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  .brand-sub {
    display: none;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .header-status-text {
    font-size: 11.5px;
    white-space: normal;
  }

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

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

  .footer-nav {
    gap: 24px;
  }

  .footer-base-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-legal {
    margin-left: 0;
  }
}

/* ---------- 15. 减少动态 ---------- */
@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;
  }

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

  .btn:hover {
    transform: none;
  }

  .site-nav[data-open="true"] {
    animation: none;
  }
}
