/* ==========================================================================
   bet9登录官 — /assets/site.css
   共享外壳：reset / tokens / 中文排版 / 轨道头部 / 页脚 / 基础组件
   ========================================================================== */

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

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

body,
h1, h2, h3, h4, h5, h6,
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;
}

a { color: inherit; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- 2. Tokens ---------- */
:root {
  --navy-900: #062F45;
  --navy-800: #0A4C6E;
  --navy-600: #0E6E9B;
  --cyan: #2EC4B6;
  --cyan-dark: #0E7C74;
  --signal: #FF6B35;
  --sand: #F2E3C6;
  --paper: #FBF7EF;
  --ink: #1A1D21;
  --mute: #3E4A55;
  --slate: #6B7785;
  --line: #C9D6DF;
  --white: #FFFFFF;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  --rail-w: 88px;
  --rail-open: 240px;
  --strip-h: 44px;
  --bar-h: 0px;
  --gutter: 64px;
  --shell-max: 1320px;

  --ease: cubic-bezier(.22, .7, .28, 1);
}

/* ---------- 3. 中文排版与页面底 ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  padding-top: calc(var(--strip-h) + var(--bar-h));
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(201, 214, 223, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 214, 223, .28) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
  letter-spacing: .01em;
}

p { line-height: 1.8; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--navy-900);
}

strong { font-weight: 600; }

::selection {
  background: var(--cyan);
  color: var(--navy-900);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

body[data-nav-lock] { overflow: hidden; }

/* ---------- 4. 外壳层叠 ---------- */
.site-header {
  position: relative;
  z-index: 80;
}

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -90px;
  left: calc(var(--rail-w) + 16px);
  z-index: 9;
  padding: 11px 20px;
  background: var(--signal);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  transition: top .18s var(--ease);
}

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

/* ---------- 6. 顶部赛季区域带 ---------- */
.site-strip {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: var(--strip-h);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  background: var(--navy-800);
  border-bottom: 1px solid rgba(46, 196, 182, .4);
  color: #DCE9F0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
}

.site-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background-image: repeating-linear-gradient(90deg, rgba(46, 196, 182, .65) 0 1px, transparent 1px 12px);
  pointer-events: none;
}

.site-strip__state {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-strip__dot {
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(46, 196, 182, .2);
}

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

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 30px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.btn--signal {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--white);
}

.btn--signal:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy-900);
}

.btn--outline {
  background: transparent;
  border-color: rgba(201, 214, 223, .5);
  color: #DCE9F0;
}

.btn--outline:hover {
  background: rgba(201, 214, 223, .16);
  border-color: rgba(201, 214, 223, .85);
  color: var(--white);
}

.btn--primary {
  height: 42px;
  padding: 0 24px;
  font-size: 14px;
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
}

/* ---------- 8. 移动端顶栏 ---------- */
.mobile-bar { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid rgba(201, 214, 223, .45);
  color: #DCE9F0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 8px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--cyan);
  transition: transform .2s var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-3px) rotate(-45deg); }

/* ---------- 9. 轨道导航 ---------- */
.rail-scrim { display: none; }

.site-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--navy-900);
  border-right: 1px solid rgba(201, 214, 223, .18);
  transition: width .24s var(--ease);
}

.site-rail:hover,
.site-rail:focus-within {
  width: var(--rail-open);
}

.rail-brand {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 88px;
  padding-left: 34px;
  border-bottom: 1px solid rgba(201, 214, 223, .16);
  text-decoration: none;
}

.rail-brand__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
}

.rail-brand__name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .16s var(--ease) .05s;
}

.rail-brand__line,
.rail-tagline {
  padding-left: 34px;
  padding-right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--cyan);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .16s var(--ease) .05s;
}

.rail-brand__line { margin-top: 18px; }

.rail-tagline {
  margin-top: 8px;
  color: var(--slate);
  letter-spacing: .04em;
}

.site-rail:hover .rail-brand__name,
.site-rail:hover .rail-brand__line,
.site-rail:hover .rail-tagline,
.site-rail:focus-within .rail-brand__name,
.site-rail:focus-within .rail-brand__line,
.site-rail:focus-within .rail-tagline {
  opacity: 1;
}

.rail-nav {
  flex: 1 1 auto;
  min-height: 0;
}

.rail-nav__list {
  padding-top: 14px;
}

.rail-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding-left: 34px;
  border-left: 3px solid transparent;
  color: var(--line);
  text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.rail-link__idx {
  flex: none;
  width: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--slate);
  transition: color .18s var(--ease);
}

.rail-link__label {
  flex: none;
  font-size: 14px;
  letter-spacing: .04em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .16s var(--ease) .05s;
}

.site-rail:hover .rail-link__label,
.site-rail:focus-within .rail-link__label {
  opacity: 1;
}

.rail-link:hover {
  background: rgba(201, 214, 223, .08);
  color: var(--white);
}

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

.rail-link[aria-current="page"] {
  background: rgba(46, 196, 182, .1);
  border-left-color: var(--signal);
  color: var(--white);
}

.rail-link[aria-current="page"] .rail-link__idx { color: var(--signal); }

.rail-foot {
  flex: none;
  margin-top: auto;
  padding: 18px 0 22px 34px;
  border-top: 1px solid rgba(201, 214, 223, .16);
}

.rail-foot__meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--slate);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .16s var(--ease) .05s;
}

.site-rail:hover .rail-foot__meta,
.site-rail:focus-within .rail-foot__meta { opacity: 1; }

.rail-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--line);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), color .18s var(--ease);
}

.rail-top[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
}

.rail-top:hover { color: var(--signal); }

.rail-top__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 11px;
}

.rail-top__label {
  font-size: 13px;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* ---------- 10. 滚动进度量尺 ---------- */
.scroll-meter {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  z-index: 1;
  width: 2px;
  height: 100vh;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--signal) 100%);
  transform: scaleY(var(--p, 0));
  transform-origin: top center;
  pointer-events: none;
}

/* ---------- 11. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 96px;
  background: var(--navy-900);
  border-top: 3px solid var(--cyan);
  color: var(--line);
}

.footer-ruler {
  height: 28px;
  border-bottom: 1px solid rgba(201, 214, 223, .16);
  background-image: repeating-linear-gradient(90deg, rgba(46, 196, 182, .45) 0 1px, transparent 1px 24px);
  background-size: auto 12px;
  background-position: 0 8px;
  background-repeat: repeat-x;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.45fr) repeat(3, minmax(104px, .7fr)) minmax(230px, 1.35fr);
  gap: 44px 32px;
  padding: 56px 0 40px;
}

.footer-brand__mark {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .18s var(--ease);
}

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

.footer-brand__line {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--cyan);
}

.footer-brand__text {
  margin-top: 16px;
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.85;
  color: #A9BAC7;
}

.footer-col__title {
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(46, 196, 182, .3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--cyan);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--line);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.footer-link::before {
  content: "";
  flex: none;
  width: 8px;
  height: 1px;
  background: var(--slate);
  transition: width .18s var(--ease), background-color .18s var(--ease);
}

.footer-link:hover { color: var(--cyan); }
.footer-link:hover::before { width: 16px; background: var(--signal); }

.footer-contact__title {
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(46, 196, 182, .3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--cyan);
}

.footer-contact__item {
  display: flex;
  gap: 10px;
  padding: 4px 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #A9BAC7;
}

.footer-contact__k {
  flex: none;
  width: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--slate);
  padding-top: 2px;
}

.footer-contact__item--note {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed rgba(201, 214, 223, .22);
  font-size: 12.5px;
  color: var(--slate);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(201, 214, 223, .16);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: #8FA3B2;
}

.footer-base__legal,
.footer-base__note { margin: 0; }

/* ---------- 12. 容器与网格 ---------- */
.wrap {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

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

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

/* ---------- 13. 面包屑 / 章节头 / 数据带 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 22px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--slate);
}

.crumbs a {
  color: var(--navy-600);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

.crumbs a:hover {
  color: var(--navy-900);
  border-bottom-color: var(--cyan);
}

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

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.section-head__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
  color: var(--navy-900);
}

.section-head__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--slate);
}

.band {
  padding: 30px 0;
  background: var(--navy-900);
  border-top: 1px solid rgba(46, 196, 182, .4);
  border-bottom: 1px solid rgba(46, 196, 182, .4);
  color: #DCE9F0;
}

.band .stat__num { color: var(--cyan); }
.band .stat__label { color: #8FA3B2; }

/* ---------- 14. 统计 / 卡片 / 标签 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat__num {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--slate);
}

.card {
  position: relative;
  height: 100%;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}

.card:hover { border-color: var(--navy-600); }

.card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--slate);
}

.card__title {
  margin: 10px 0 8px;
  font-size: 21px;
  line-height: 1.4;
  color: var(--navy-900);
}

.card__text {
  margin: 0;
  font-size: 15px;
  color: var(--mute);
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--navy-800);
  white-space: nowrap;
}

.tag--signal {
  border-color: var(--signal);
  color: var(--signal);
}

.tag--cyan {
  background: rgba(46, 196, 182, .1);
  border-color: var(--cyan);
  color: var(--cyan-dark);
}

/* ---------- 15. 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand) 0%, #FDFBF5 100%);
  border: 1px solid var(--line);
}

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

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

.media__frame {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(251, 247, 239, .55);
  pointer-events: none;
}

/* ---------- 16. 筛选按钮组 / 手风琴 ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  height: 32px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy-800);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.filter-btn:hover { border-color: var(--navy-600); }

.filter-btn[aria-pressed="true"] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}

.acc {
  border-bottom: 1px solid var(--line);
}

.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}

.acc summary::-webkit-details-marker { display: none; }

.acc summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--signal);
}

.acc[open] summary::after { content: "–"; }

.acc__body {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mute);
}

/* ---------- 17. 平板 ---------- */
@media (max-width: 1180px) {
  :root { --gutter: 32px; }

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

  .footer-brand,
  .footer-contact { grid-column: span 2; }

  .site-strip { padding: 0 20px; }
  .site-strip__state { font-size: 11px; }
}

/* ---------- 18. 移动端 ---------- */
@media (max-width: 880px) {
  :root {
    --rail-w: 0px;
    --strip-h: 36px;
    --bar-h: 56px;
    --gutter: 20px;
  }

  body {
    background-size: 64px 64px, 64px 64px;
  }

  .skip-link { left: 16px; }
  .skip-link:focus { top: 6px; }

  .site-strip {
    left: 0;
    padding: 0 16px;
  }

  .site-strip__actions { display: none; }

  .mobile-bar {
    position: fixed;
    top: var(--strip-h);
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: var(--bar-h);
    padding: 0 16px;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(46, 196, 182, .3);
  }

  .mobile-bar__brand {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
  }

  .rail-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 2;
    background: rgba(6, 47, 69, .6);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease);
  }

  .rail-scrim[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
  }

  .site-rail,
  .site-rail:hover,
  .site-rail:focus-within {
    top: 0;
    width: 280px;
    transform: translateX(-100%);
    transition: transform .26s var(--ease);
  }

  .site-rail[data-open="true"] { transform: none; }

  .rail-brand { height: 76px; }

  .rail-brand__name,
  .rail-brand__line,
  .rail-tagline,
  .rail-link__label,
  .rail-foot__meta {
    opacity: 1;
  }

  .rail-link { height: 50px; }
  .rail-link:hover { background: rgba(201, 214, 223, .08); }

  .scroll-meter { display: none; }

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

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

  .footer-brand,
  .footer-contact { grid-column: auto; }

  .footer-base { justify-content: flex-start; }

  .cols { gap: 18px; }

  .span-3,
  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8,
  .span-9 { grid-column: 1 / -1; }

  .stat__num { font-size: 40px; }
  .section-head__title { font-size: 22px; }
}

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