/* =========================================================
   威哥指南 · 共享站点样式 /assets/site.css
   框架式左侧导航 + 顶部频次条 + 旧纸颗粒底
   ========================================================= */

:root {
  --indigo: #1E3F9E;
  --indigo-deep: #10214F;
  --red: #C93A2E;
  --red-deep: #861C18;
  --gold: #D89A3A;
  --green: #2E7D5B;
  --green-deep: #1F5A42;
  --paper: #F5EEE0;
  --paper-2: #E8DCC6;
  --cream: #FFFCF5;
  --ink: #1A1712;
  --muted: #5A6B8C;

  --rail-w: 268px;
  --freq-h: 58px;
  --header-offset: 108px;

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  --font-body: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-hand: "ZCOOL KuaiLe", "STKaiti", "KaiTi", "Kaiti SC", cursive;

  --shadow-card: 0 1px 0 rgba(16, 33, 79, .06), 0 14px 30px -20px rgba(16, 33, 79, .5);
  --shadow-bar: 0 12px 26px -24px rgba(16, 33, 79, .9);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-block-start: var(--header-offset);
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(26, 23, 18, .062) 1px, transparent 1.3px),
    radial-gradient(rgba(30, 63, 158, .05) 1px, transparent 1.3px);
  background-size: 5px 5px, 7px 7px;
  background-position: 0 0, 3px 3px;
}

html[data-lock] { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
}

body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
hr { border: 0; border-block-start: 1px dashed rgba(16, 33, 79, .28); margin-block: 28px; }

::selection { background: var(--gold); color: var(--indigo-deep); }

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

/* ---------------- 中文排版 ---------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.018em;
  color: var(--indigo-deep);
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 5.4vw, 54px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 20px; line-height: 1.35; }
h4 { font-size: 17px; line-height: 1.4; }

p { text-wrap: pretty; }
p + p { margin-block-start: 1em; }

.lead {
  font-size: 20px;
  line-height: 1.68;
  color: var(--indigo-deep);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--muted);
}

.note-hand {
  font-family: var(--font-hand);
  font-size: 17px;
  line-height: 1.5;
  color: var(--red-deep);
}

.section-index {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(48px, 8vw, 76px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--gold);
}

/* ---------------- 骨架/布局 ---------------- */
.wrap {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

#main-content { display: block; min-height: 60vh; }

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

.motif-band {
  height: 8px;
  border-radius: 4px;
  background-image: repeating-linear-gradient(
    135deg,
    var(--indigo) 0 9px,
    var(--red) 9px 18px,
    var(--gold) 18px 21px
  );
}

/* ---------------- 跳过链接 ---------------- */
.skip-link {
  position: fixed;
  inset-block-start: -120px;
  inset-inline-start: 12px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--indigo-deep);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  transition: inset-block-start .16s ease;
}
.skip-link:focus-visible {
  inset-block-start: 12px;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------------- 页头：移动优先 ---------------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px 14px 8px;
  background: var(--paper-2);
  border-block-end: 2px solid var(--indigo);
}

.site-header::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--indigo) 0%, var(--red) 58%, var(--gold) 100%);
}

.site-header[data-open]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(16, 33, 79, .46);
}

.rail-head {
  position: relative;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-radius: var(--r-md);
}

.brand-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--indigo) 0%, var(--red) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 252, 245, .3);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -.02em;
}

.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -.02em;
  color: var(--indigo-deep);
  line-height: 1.2;
}
.brand-sub {
  display: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--muted);
  line-height: 1.3;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--indigo);
  background: var(--cream);
  color: var(--indigo-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
}
.nav-toggle:hover { background: rgba(30, 63, 158, .1); }
.nav-toggle-bars { position: relative; width: 16px; height: 10px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .16s ease, top .16s ease;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 4px; transform: rotate(-45deg); }

/* ---------------- 频次条：移动端横滑 ---------------- */
.freq-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-block-start: 8px;
  padding: 0 0 2px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: transparent;
  border: 0;
}
.freq-bar::-webkit-scrollbar { display: none; }

.freq-label, .freq-tail { display: none; }

.freq-list { display: flex; align-items: center; gap: 6px; }

.freq-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(30, 63, 158, .24);
  background: rgba(255, 252, 245, .78);
  color: var(--indigo-deep);
  white-space: nowrap;
  transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}
.freq-link:hover { background: var(--cream); border-color: var(--indigo); }
.freq-link::after { content: none; }

.freq-rank {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--gold);
}
.freq-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -.01em;
}
.freq-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: rgba(46, 125, 91, .16);
  color: var(--green-deep);
  border: 1px solid rgba(46, 125, 91, .34);
}

/* ---------------- 主导航：移动端抽屉 ---------------- */
.site-nav {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  z-index: 90;
  width: min(320px, 86vw);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 78px 18px 24px;
  background: var(--paper-2);
  border-inline-start: 2px solid var(--indigo);
  box-shadow: -28px 0 60px -32px rgba(16, 33, 79, .75);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .22s ease, visibility .22s ease;
}
.site-nav[data-open] { transform: none; visibility: visible; }

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

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  color: var(--indigo-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.01em;
  transition: background-color .12s ease, box-shadow .12s ease;
}
.nav-link::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 11px;
  width: 3px;
  border-radius: 3px;
  background: var(--red);
  opacity: 0;
  transform: scaleY(.4);
  transition: opacity .12s ease, transform .12s ease, background-color .12s ease;
}
.nav-link:hover { background: rgba(30, 63, 158, .1); }
.nav-link:hover::before { opacity: 1; transform: none; background: var(--indigo); }

.nav-link[aria-current="page"] {
  background: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(30, 63, 158, .26);
  font-weight: 900;
}
.nav-link[aria-current="page"]::before { opacity: 1; transform: none; }
.nav-link[aria-current="page"] .nav-idx { color: var(--red); }

.nav-idx {
  flex: none;
  width: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--muted);
}
.nav-label { flex: 1 1 auto; }

.rail-foot {
  margin-block-start: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block-start: 18px;
  border-block-start: 1px dashed rgba(30, 63, 158, .42);
}

.util-list { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.util-list a {
  display: inline-block;
  min-height: 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
  border-block-end: 1px solid transparent;
}
.util-list a:hover { color: var(--indigo); border-block-end-color: currentColor; }

/* ---------------- 通用按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .01em;
  text-align: center;
  transition: background-color .12s ease, color .12s ease, border-color .12s ease, transform .12s ease;
}
.btn-primary {
  background: var(--indigo);
  color: var(--cream);
  box-shadow: 0 12px 22px -16px rgba(16, 33, 79, .95);
}
.btn-primary:hover { background: var(--red); color: var(--cream); }
.btn-ghost {
  background: transparent;
  color: var(--indigo);
  border-color: currentColor;
}
.btn-ghost:hover { background: rgba(30, 63, 158, .1); }
.btn-block { width: 100%; }

/* ---------------- 通用组件 ---------------- */
.card {
  background: var(--cream);
  border: 1px solid rgba(16, 33, 79, .18);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 63, 158, .52);
  box-shadow: var(--shadow-card);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(30, 63, 158, .3);
  background: rgba(30, 63, 158, .1);
  color: var(--indigo);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}
.tag--green { background: rgba(46, 125, 91, .16); border-color: rgba(46, 125, 91, .42); color: var(--green-deep); }
.tag--red { background: rgba(201, 58, 46, .14); border-color: rgba(201, 58, 46, .42); color: var(--red-deep); }
.tag--gold { background: rgba(216, 154, 58, .22); border-color: rgba(216, 154, 58, .58); color: #7A5210; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: rgba(90, 107, 140, .68); }
.breadcrumb a {
  color: var(--indigo);
  border-block-end: 1px solid rgba(30, 63, 158, .34);
  padding-block-end: 1px;
}
.breadcrumb a:hover { color: var(--red); border-block-end-color: currentColor; }
.breadcrumb [aria-current="page"] { color: var(--ink); }

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  border: 1px solid rgba(16, 33, 79, .2);
  background:
    linear-gradient(155deg, rgba(30, 63, 158, .16) 0%, rgba(201, 58, 46, .14) 60%, rgba(216, 154, 58, .18) 100%),
    var(--paper-2);
}
.media-frame > img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }

/* 滚动显现（无 JS 时默认可见） */
html[data-js] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .24s ease, transform .24s ease;
}
html[data-js] [data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  position: relative;
  margin-block-start: 56px;
  background: var(--indigo-deep);
  color: rgba(255, 252, 245, .8);
  border-block-start: 2px solid var(--indigo);
}

.footer-motif {
  height: 8px;
  background-image: repeating-linear-gradient(
    135deg,
    var(--indigo) 0 10px,
    var(--red) 10px 20px,
    var(--gold) 20px 23px
  );
}

.footer-inner {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
  padding-block: 44px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--indigo) 0%, var(--red) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 252, 245, .3);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.02em;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.02em;
  color: var(--cream);
  line-height: 1.2;
}
.footer-brand-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: rgba(255, 252, 245, .62);
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block-start: 6px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--indigo-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  transition: background-color .12s ease, color .12s ease;
}
.footer-cta:hover { background: var(--cream); color: var(--indigo-deep); }

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--gold);
}
.footer-col-title::before {
  content: "";
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
}

.footer-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-col a {
  display: inline-block;
  min-height: 30px;
  padding-block: 3px;
  font-size: 15px;
  color: rgba(255, 252, 245, .78);
  border-block-end: 1px solid transparent;
  transition: color .12s ease, border-color .12s ease;
}
.footer-col a:hover { color: var(--cream); border-block-end-color: var(--red); }

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-block-start: 8px;
  padding-block-start: 22px;
  border-block-start: 1px solid rgba(255, 252, 245, .18);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 252, 245, .62);
}
.footer-legal { font-family: var(--font-mono); font-size: 13px; letter-spacing: .02em; }
.footer-contact { color: rgba(255, 252, 245, .7); }
.footer-note { font-family: var(--font-hand); font-size: 15px; color: var(--gold); }
.footer-year { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: rgba(255, 252, 245, .5); }

/* =========================================================
   平板
   ========================================================= */
@media (min-width: 640px) {
  .wrap { width: min(100% - 56px, 1180px); }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 32px;
    padding-block: 52px 30px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* =========================================================
   桌面：框架式左侧导航
   ========================================================= */
@media (min-width: 960px) {
  :root { --header-offset: calc(var(--freq-h) + 20px); }

  body {
    padding-inline-start: var(--rail-w);
    padding-block-start: var(--freq-h);
  }

  .site-header {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    inset-inline-end: auto;
    width: var(--rail-w);
    padding: 26px 18px 20px;
    gap: 16px;
    border-block-end: 0;
    border-inline-end: 2px solid var(--indigo);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 63, 158, .34) transparent;
  }
  .site-header::-webkit-scrollbar { width: 8px; }
  .site-header::-webkit-scrollbar-thumb { background: rgba(30, 63, 158, .34); border-radius: 4px; }
  .site-header::before { height: 6px; }
  .site-header[data-open]::after { content: none; }

  .rail-head { justify-content: flex-start; }

  .brand-mark { width: 44px; height: 44px; border-radius: 14px; font-size: 22px; }
  .brand-name { font-size: 20px; }
  .brand-sub { display: block; }

  .nav-toggle { display: none; }

  .freq-bar {
    position: fixed;
    inset-block-start: 0;
    inset-inline-start: var(--rail-w);
    inset-inline-end: 0;
    height: var(--freq-h);
    margin-block-start: 0;
    padding: 0 clamp(20px, 3vw, 40px);
    gap: 18px;
    overflow: visible;
    background: var(--cream);
    border-block-end: 1px solid rgba(16, 33, 79, .16);
    box-shadow: var(--shadow-bar);
    z-index: 50;
  }
  .freq-bar::after {
    content: "";
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    height: 3px;
    width: calc(var(--progress, 0) * 100%);
    background: linear-gradient(90deg, var(--indigo) 0%, var(--red) 68%, var(--gold) 100%);
    transition: width .1s linear;
  }

  .freq-label {
    display: block;
    flex: none;
    padding-inline-end: 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .18em;
    color: var(--muted);
    border-inline-end: 1px dashed rgba(16, 33, 79, .28);
  }
  .freq-tail {
    display: block;
    flex: none;
    margin-inline-start: auto;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--muted);
  }

  .freq-list { flex: 1 1 auto; }

  .freq-link {
    min-height: 40px;
    padding: 7px 15px;
    background: transparent;
    border-color: transparent;
  }
  .freq-link:hover {
    background: rgba(30, 63, 158, .09);
    border-color: rgba(30, 63, 158, .24);
  }
  .freq-link::after {
    content: attr(data-tip);
    position: absolute;
    inset-block-start: calc(100% + 12px);
    inset-inline-start: 0;
    z-index: 120;
    padding: 8px 13px;
    border-radius: var(--r-sm);
    background: var(--indigo-deep);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0;
    line-height: 1.5;
    white-space: nowrap;
    box-shadow: 0 14px 26px -16px rgba(16, 33, 79, .95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .12s ease, transform .12s ease, visibility .12s ease;
    pointer-events: none;
  }
  .freq-link:hover::after,
  .freq-link:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    width: auto;
    flex: 1 1 auto;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    transform: none;
    visibility: visible;
    transition: none;
  }

  .nav-link { min-height: 46px; padding: 8px 12px 8px 14px; font-size: 16px; }

  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid { gap: 28px; }

  .footer-inner {
    grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
    gap: 36px 32px;
    padding-block: 64px 30px;
  }
  .footer-brand { grid-column: auto; }
}

/* =========================================================
   大屏微调
   ========================================================= */
@media (min-width: 1280px) {
  .freq-bar { gap: 22px; }
  .nav-link { font-size: 17px; }
}

/* =========================================================
   无障碍：减少动效
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .card:hover { transform: none; }
  .freq-link::after { transition: none; }
  .freq-bar::after { transition: none; }
  html[data-js] [data-reveal] { opacity: 1 !important; transform: none !important; }
}
