/* =========================================================
   真钱抢庄牛牛娱乐中文站 · /assets/site.css
   深空霓虹 · 侧边品牌轨道 · 共享外壳与基础组件
   ========================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink-900: #02030A;
  --ink-800: #050814;
  --ink-700: #0B1230;
  --teal-800: #0D3B3A;
  --violet: #8B5CFF;
  --cyan: #22E0D6;
  --gold: #FFB347;
  --paper: #F5F7FF;
  --muted: #9AA7C7;
  --alert: #FF4D6D;

  --rail: 84px;
  --header-h: 76px;
  --wrap: 1280px;

  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 24px;
  --radius-xl: 32px;

  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;

  --line: rgba(154, 167, 199, .18);
  --line-violet: rgba(139, 92, 255, .35);
  --shadow-card: 0 26px 54px -34px rgba(139, 92, 255, .95);
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail);
  background-color: var(--ink-800);
  background-image:
    radial-gradient(62vw 62vw at 92% -12%, rgba(139, 92, 255, .16), transparent 62%),
    radial-gradient(52vw 52vw at -8% 34%, rgba(34, 224, 214, .10), transparent 66%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 5.4vw, 66px); text-shadow: 0 0 26px rgba(34, 224, 214, .30); }
h2 { font-size: clamp(28px, 3.4vw, 42px); text-shadow: 0 0 22px rgba(139, 92, 255, .28); }
h3 { font-size: clamp(20px, 2vw, 26px); }
h4 { font-size: 18px; letter-spacing: 0; }
p { text-wrap: pretty; }

main { display: block; }
main:not([data-overlay]) { padding-top: calc(var(--header-h) + 20px); }
#main-content:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(139, 92, 255, .45); color: #fff; }

/* ---------- 4. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 48px);
}
.section {
  position: relative;
  padding-block: clamp(56px, 8vw, 108px);
}
.section--tint {
  background: linear-gradient(180deg, rgba(11, 18, 48, .92), rgba(5, 8, 20, .35));
  border-block: 1px solid rgba(139, 92, 255, .18);
}
.section--teal {
  background: linear-gradient(150deg, rgba(13, 59, 58, .92), rgba(5, 8, 20, .55));
  border-block: 1px solid rgba(34, 224, 214, .18);
}
.section__head { max-width: 64ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section__lead { margin-top: 14px; color: var(--muted); max-width: 58ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .26em;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.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)); }

.score {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 140px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(34, 224, 214, .7);
}
.score--gold { -webkit-text-stroke-color: rgba(255, 179, 71, .78); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .24s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(120deg, var(--violet), #5b2dff 58%, var(--cyan));
  color: var(--paper);
  box-shadow: 0 12px 28px -14px rgba(139, 92, 255, .95), inset 0 0 0 1px rgba(245, 247, 255, .18);
}
.btn--primary:hover { box-shadow: 0 18px 34px -14px rgba(34, 224, 214, .9); }
.btn--ghost {
  color: var(--cyan);
  border-color: rgba(34, 224, 214, .45);
  background: rgba(34, 224, 214, .06);
}
.btn--ghost:hover { background: rgba(34, 224, 214, .14); border-color: var(--cyan); }
.btn--gold {
  color: var(--gold);
  border-color: rgba(255, 179, 71, .55);
  background: rgba(255, 179, 71, .08);
}
.btn--gold:hover { background: rgba(255, 179, 71, .16); box-shadow: 0 0 26px -8px rgba(255, 179, 71, .8); }

/* ---------- 6. Header ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: calc(var(--rail) + 16px);
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cyan);
  color: #04120f;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  padding-left: var(--rail);
  background: linear-gradient(180deg, rgba(2, 3, 10, .88) 0%, rgba(2, 3, 10, .34) 78%, rgba(2, 3, 10, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.site-header.is-solid {
  background-color: rgba(5, 8, 20, .94);
  background-image: none;
  border-bottom-color: var(--line-violet);
  box-shadow: 0 20px 44px -34px rgba(34, 224, 214, .85);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  max-width: var(--wrap);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 10px clamp(18px, 4vw, 48px);
}

/* 左侧品牌轨道 */
.brand-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: var(--rail);
  padding: 26px 0 30px;
  background: linear-gradient(180deg, var(--ink-800) 0%, var(--ink-700) 58%, var(--teal-800) 100%);
  border-right: 1px solid rgba(139, 92, 255, .26);
}
.brand-rail::after {
  content: "";
  position: absolute;
  top: 10%; bottom: 10%; right: -1px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--violet), var(--cyan), transparent);
  opacity: .85;
}
.brand-rail__mark {
  width: 16px; height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 0 20px rgba(139, 92, 255, .8);
  transform: rotate(45deg);
}
.brand-rail__line {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .34em;
  color: rgba(245, 247, 255, .62);
}
.brand-rail__ticks { display: flex; flex-direction: column; gap: 9px; align-items: flex-end; }
.brand-rail__ticks i {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: rgba(154, 167, 199, .34);
}
.brand-rail__ticks i:nth-child(4) {
  width: 26px;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 179, 71, .85);
}

/* 品牌 */
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__mark {
  position: relative;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--violet), var(--cyan));
  box-shadow: 0 0 22px rgba(139, 92, 255, .55);
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 3px;
  background: var(--ink-900);
  transform: rotate(45deg);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
  text-shadow: 0 0 16px rgba(34, 224, 214, .38);
}
.brand__tag { font-size: 12px; letter-spacing: .12em; color: var(--muted); }

/* 导航 */
.site-nav { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px); margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 2px; }
.site-nav__list a {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 15px;
  color: rgba(245, 247, 255, .76);
  transition: color .18s ease, background-color .18s ease;
}
.site-nav__list a:hover { color: var(--paper); background: rgba(139, 92, 255, .18); }
.site-nav__list a[aria-current="page"] { color: var(--cyan); }
.site-nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(34, 224, 214, .8);
}
.site-nav__cta { display: flex; align-items: center; gap: 10px; }
.site-nav__head { display: none; }
.nav-close { display: none; }
.nav-scrim { display: none; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: 1px solid rgba(34, 224, 214, .4);
  border-radius: 12px;
  background: rgba(11, 18, 48, .72);
}
.nav-toggle > span:not(.visually-hidden) {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 滚动进度光带 */
.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan) 55%, var(--gold));
  box-shadow: 0 0 14px rgba(34, 224, 214, .85);
}

/* ---------- 7. 通用内容块 ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, rgba(11, 18, 48, .94), rgba(5, 8, 20, .92));
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 255, .6);
  box-shadow: var(--shadow-card);
}
.card--gold:hover { border-color: rgba(255, 179, 71, .6); box-shadow: 0 26px 54px -34px rgba(255, 179, 71, .95); }
.card__meta { font-size: 13px; letter-spacing: .1em; color: var(--muted); }
.card__title { margin-top: 10px; }
.card__text { margin-top: 10px; color: rgba(245, 247, 255, .78); font-size: 16px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(34, 224, 214, .28);
  border-radius: 999px;
  background: rgba(34, 224, 214, .1);
  color: var(--cyan);
  font-size: 12.5px;
  letter-spacing: .08em;
}
.tag--violet { color: var(--violet); border-color: rgba(139, 92, 255, .32); background: rgba(139, 92, 255, .12); }
.tag--gold { color: var(--gold); border-color: rgba(255, 179, 71, .35); background: rgba(255, 179, 71, .12); }
.tag--alert { color: var(--alert); border-color: rgba(255, 77, 109, .35); background: rgba(255, 77, 109, .12); }

/* 折叠面板 */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: rgba(11, 18, 48, .72);
  overflow: hidden;
  transition: border-color .24s ease;
}
.accordion__item.is-open { border-color: var(--line-violet); }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--paper);
  transition: color .18s ease;
}
.accordion__trigger:hover { color: var(--cyan); }
.accordion__icon { position: relative; flex: 0 0 auto; width: 20px; height: 20px; color: currentColor; }
.accordion__icon::before, .accordion__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .24s ease, opacity .24s ease;
}
.accordion__icon::before { width: 14px; height: 2px; }
.accordion__icon::after { width: 2px; height: 14px; }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.accordion__panel { height: 0; overflow: hidden; transition: height .28s ease; }
.accordion__panel-inner { padding: 0 22px 20px; color: rgba(245, 247, 255, .78); }
html:not(.has-js) .accordion__panel { height: auto; }

/* 章节目录 */
.toc { position: sticky; top: calc(var(--header-h) + 26px); }
.toc__title {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .24em;
  color: var(--muted);
}
.toc__list { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.toc__link {
  display: block;
  margin-left: -1px;
  padding: 9px 14px;
  border-left: 2px solid transparent;
  font-size: 14.5px;
  color: rgba(245, 247, 255, .66);
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.toc__link:hover { color: var(--paper); }
.toc__link.is-active {
  color: var(--cyan);
  border-left-color: var(--cyan);
  background: linear-gradient(90deg, rgba(34, 224, 214, .14), transparent);
}

/* 图片容器 */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(139, 92, 255, .24);
  border-radius: 20px;
  background:
    linear-gradient(150deg, rgba(139, 92, 255, .26), rgba(34, 224, 214, .16) 56%, rgba(255, 179, 71, .14)),
    var(--ink-700);
}
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--circle { aspect-ratio: 1 / 1; border-radius: 50%; }
.media__cap { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* 面包屑 */
.crumbs { padding-block: 16px 0; font-size: 13.5px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: rgba(154, 167, 199, .5); }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current="page"] { color: rgba(245, 247, 255, .82); }

/* 长文排版 */
.prose { max-width: 70ch; color: rgba(245, 247, 255, .82); }
.prose > * + * { margin-top: 1em; }
.prose h3 { margin-top: 1.8em; color: var(--paper); }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li + li { margin-top: .5em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .78em;
  width: 8px; height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}
.prose strong { color: var(--paper); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 8. 显现动效 ---------- */
html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
html.has-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 9. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 10vw, 130px);
  overflow: hidden;
  border-top: 1px solid rgba(139, 92, 255, .26);
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
}
.footer-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 78%;
  pointer-events: none;
  background:
    radial-gradient(42% 62% at 18% 100%, rgba(139, 92, 255, .24), transparent 72%),
    radial-gradient(38% 58% at 82% 92%, rgba(34, 224, 214, .16), transparent 72%);
}
.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) 1.45fr 1fr;
  gap: clamp(24px, 4vw, 62px);
  padding-block: clamp(48px, 7vw, 88px);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.brand--footer .brand__name { font-size: 22px; }
.footer-brand__text { margin-top: 18px; max-width: 34ch; font-size: 15px; color: var(--muted); }

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 18px;
  border: 1px solid rgba(34, 224, 214, .42);
  border-radius: 999px;
  background: rgba(34, 224, 214, .07);
  color: var(--cyan);
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .24s ease, transform .24s ease, visibility .24s ease, background-color .18s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: rgba(34, 224, 214, .16); }

.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--cyan);
  text-shadow: none;
}
.footer-col li + li { margin-top: 8px; }
.footer-col a {
  display: inline-block;
  font-size: 15px;
  color: rgba(245, 247, 255, .72);
  transition: color .18s ease, transform .18s ease;
}
.footer-col a:hover { color: var(--gold); transform: translateX(3px); }

.footer-contact__list li + li { margin-top: 12px; }
.footer-contact__list li { display: flex; flex-direction: column; gap: 2px; }
.footer-contact__label { font-size: 12px; letter-spacing: .18em; color: var(--muted); }
.footer-contact__value { font-size: 15px; color: rgba(245, 247, 255, .9); word-break: break-all; }
.footer-contact__note { margin-top: 16px; font-size: 13px; color: var(--muted); }

.footer-base { position: relative; border-top: 1px solid var(--line); background: rgba(2, 3, 10, .78); }
.footer-base__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px;
  font-size: 13px;
  color: var(--muted);
}
.footer-base__links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-base__links a:hover { color: var(--cyan); }
.footer-base__icp { letter-spacing: .04em; }

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1199px) and (min-width: 1024px) {
  .site-nav__list a { padding: 8px 10px; font-size: 14.5px; }
  .site-nav__cta .btn--ghost { display: none; }
}

@media (max-width: 1023px) {
  :root { --rail: 0px; --header-h: 64px; }
  .brand-rail { display: none; }
  .site-header { padding-left: 0; }
  .header-inner { min-height: 64px; padding: 10px 18px; gap: 12px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }

  .site-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 95;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(86vw, 360px);
    height: 100dvh;
    margin: 0;
    padding: 20px 20px 28px;
    overflow-y: auto;
    border-left: 1px solid rgba(139, 92, 255, .36);
    background: linear-gradient(180deg, var(--ink-700), var(--ink-800));
    box-shadow: -28px 0 62px -30px rgba(0, 0, 0, .95);
    transform: translateX(105%);
    transition: transform .28s ease;
  }
  .site-nav[data-open] { transform: translateX(0); }

  .site-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav__title { font-family: var(--font-display); font-size: 13px; letter-spacing: .24em; color: var(--cyan); }
  .nav-close {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid rgba(154, 167, 199, .32);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
  }
  .nav-close:hover { color: var(--paper); border-color: var(--cyan); }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav__list a {
    padding: 13px 14px;
    border: 1px solid transparent;
    border-radius: var(--radius-s);
    font-size: 17px;
  }
  .site-nav__list a[aria-current="page"] {
    border-color: rgba(34, 224, 214, .35);
    background: rgba(34, 224, 214, .1);
  }
  .site-nav__list a[aria-current="page"]::after { display: none; }

  .site-nav__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
  }
  .site-nav__cta .btn { width: 100%; }

  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
    background: rgba(2, 3, 10, .74);
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s ease, visibility .24s ease;
  }
  .site-header.is-nav-open .nav-scrim { opacity: 1; visibility: visible; }

  html { scroll-padding-top: 96px; }
}

@media (max-width: 1023px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-base__inner { justify-content: flex-start; }
  .brand__tag { display: none; }
}

/* ---------- 11. 偏好与无障碍 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.has-js [data-reveal] { opacity: 1; transform: none; }
  .card:hover, .btn:hover { transform: none; }
  .footer-col a:hover { transform: none; }
}
