/* ==========================================================================
   7娱乐会馆 · 共享站点样式 /assets/site.css
   深靛蓝灯牌轨 + 霓虹青行动色 + 暖金状态色
   ========================================================================== */

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

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

body {
  margin: 0;
  min-height: 100vh;
  padding-left: var(--rail-w);
  background:
    radial-gradient(1100px 620px at 90% -10%, rgba(140, 124, 255, .18), transparent 62%),
    radial-gradient(880px 520px at 4% 14%, rgba(57, 230, 208, .10), transparent 60%),
    linear-gradient(180deg, #0B1026 0%, #0E1531 46%, #070B18 78%, #05070F 100%);
  color: var(--c-ivory);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

input, textarea, select { font: inherit; color: inherit; }

/* ---------- 变量 ---------- */
:root {
  /* 品牌色 */
  --c-indigo: #0B1026;
  --c-night: #111A3A;
  --c-cyan: #39E6D0;
  --c-gold: #F2B84B;
  --c-coral: #FF6B5E;
  --c-violet: #8C7CFF;
  --c-slate: #5D6780;
  --c-ivory: #F4F1E8;
  --c-ink: #05070F;
  --c-mint: #7AF7B0;

  /* 语义 */
  --bg-0: #0B1026;
  --bg-1: #111A3A;
  --bg-2: #05070F;
  --fg: var(--c-ivory);
  --fg-dim: #B9C1D6;
  --fg-mute: #8892AB;
  --line: rgba(140, 124, 255, .18);
  --line-strong: rgba(140, 124, 255, .34);
  --line-soft: rgba(93, 103, 128, .32);

  /* 框架 */
  --rail-w: 288px;
  --gutter: clamp(18px, 4vw, 56px);
  --maxw: 1180px;

  /* 圆角 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

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

  /* 缓动 */
  --ease: cubic-bezier(.2, .7, .3, 1);

  /* 滚动进度（由 JS 写入） */
  --scroll-progress: 0;
}

/* ---------- 中文排版基线 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--c-ivory);
}

h1 { font-weight: 900; font-size: clamp(38px, 6vw, 76px); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: clamp(20px, 2.1vw, 26px); }

p { overflow-wrap: break-word; }

/* ---------- 焦点可见 ---------- */
:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--c-cyan);
  color: #04121A;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 12px 30px -12px rgba(57, 230, 208, .9);
  transform: translateY(-180%);
  transition: transform .18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 头部：灯牌轨 ---------- */
.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: 26px 20px 22px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(140, 124, 255, .35) transparent;
  border-right: 1px solid var(--line);
  background-color: #0A0F24;
  background-image:
    linear-gradient(rgba(140, 124, 255, .045) 1px, transparent 1px),
    linear-gradient(180deg, #0A0F24 0%, #111A3A 52%, #070B18 100%);
  background-size: 100% 30px, 100% 100%;
}

.site-header::-webkit-scrollbar { width: 6px; }
.site-header::-webkit-scrollbar-thumb {
  background: rgba(140, 124, 255, .32);
  border-radius: 99px;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-violet) 46%, transparent 92%);
  opacity: .85;
}

/* 阅读进度条 */
.rail-progress {
  position: fixed;
  top: 0;
  right: 0;
  width: 3px;
  height: 100vh;
  z-index: 70;
  pointer-events: none;
  background: rgba(93, 103, 128, .14);
}
.rail-progress i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(var(--scroll-progress, 0));
  transform-origin: top center;
  background: linear-gradient(180deg, var(--c-cyan), var(--c-violet) 58%, var(--c-gold));
  box-shadow: 0 0 14px rgba(57, 230, 208, .7);
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 2px 18px;
  border-bottom: 1px solid var(--line);
}
.brand-mark {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  color: #04121A;
  background: linear-gradient(145deg, var(--c-cyan), #22B9B4 58%, var(--c-violet));
  box-shadow: 0 10px 26px -12px rgba(57, 230, 208, .95);
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
  min-width: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .01em;
  color: var(--c-ivory);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--c-slate);
}

/* 移动端抽屉按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(57, 230, 208, .38);
  background: rgba(57, 230, 208, .09);
  color: var(--c-cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: background .18s var(--ease), border-color .18s var(--ease), box-shadow .2s var(--ease);
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(57, 230, 208, .18);
  border-color: rgba(57, 230, 208, .72);
  box-shadow: 0 0 0 4px rgba(57, 230, 208, .10);
}
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}
.nav-toggle-bars i {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .24s var(--ease), opacity .16s linear;
}
.nav-toggle-bars i:nth-child(1) { top: 0; }
.nav-toggle-bars i:nth-child(2) { top: 5px; }
.nav-toggle-bars i:nth-child(3) { top: 10px; }

.site-header[data-open] .nav-toggle-bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle-bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 主导航 */
.site-nav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 18px;
}
.nav-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: var(--c-slate);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.nav-list {
  counter-reset: rail;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-list li { counter-increment: rail; }
.nav-list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-dim);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav-list a::before {
  content: counter(rail, decimal-leading-zero);
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--c-slate);
  transition: color .18s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: var(--c-cyan);
  box-shadow: 0 0 12px rgba(57, 230, 208, .9);
  transform: translateY(-50%) scaleY(0);
  transition: transform .22s var(--ease);
}
.nav-list a:hover {
  color: var(--c-ivory);
  background: rgba(140, 124, 255, .10);
}
.nav-list a:hover::before { color: var(--c-cyan); }
.nav-list a[aria-current="page"] {
  color: var(--c-cyan);
  background: linear-gradient(90deg, rgba(57, 230, 208, .16), rgba(57, 230, 208, 0) 84%);
}
.nav-list a[aria-current="page"]::before { color: var(--c-cyan); }
.nav-list a[aria-current="page"]::after { transform: translateY(-50%) scaleY(1); }

/* 轨底快捷路径 */
.nav-foot {
  margin-top: auto;
  padding-top: 22px;
  display: grid;
  gap: 8px;
}
.nav-path {
  padding: 8px 10px;
  border: 1px dashed var(--line-soft);
  border-radius: 10px;
  background: rgba(57, 230, 208, .045);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--fg-mute);
}
.nav-actions {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  transition: transform .16s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .22s var(--ease);
}
.btn--primary {
  background: linear-gradient(135deg, var(--c-cyan), #1FB9C6);
  color: #04121A;
  box-shadow: 0 10px 26px -14px rgba(57, 230, 208, .95);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -14px rgba(57, 230, 208, 1);
}
.btn--gold {
  background: linear-gradient(135deg, var(--c-gold), #D9962F);
  color: #1B1204;
  box-shadow: 0 10px 26px -14px rgba(242, 184, 75, .9);
}
.btn--gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -14px rgba(242, 184, 75, 1);
}
.btn--ghost {
  border-color: var(--line);
  background: rgba(140, 124, 255, .07);
  color: var(--fg-dim);
}
.btn--ghost:hover {
  color: var(--c-ivory);
  border-color: rgba(57, 230, 208, .5);
  background: rgba(57, 230, 208, .10);
}
.btn--sm { padding: 8px 15px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 容器与章节 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(44px, 6.4vw, 92px) 0; }
.section-head {
  display: grid;
  gap: 14px;
  max-width: 64ch;
  margin-bottom: clamp(22px, 3vw, 40px);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(27px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.section-lead {
  font-size: 17px;
  line-height: 1.78;
  color: var(--fg-dim);
  max-width: 70ch;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-cyan);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 10px var(--c-cyan);
}
.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}

/* ---------- 网格与 Bento 模块 ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.panel {
  position: relative;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(17, 26, 58, .94), rgba(11, 16, 38, .94));
  transition: border-color .2s var(--ease), box-shadow .26s var(--ease), transform .26s var(--ease);
}
.panel:hover {
  border-color: rgba(57, 230, 208, .42);
  box-shadow: 0 26px 54px -36px rgba(57, 230, 208, .7);
}

/* ---------- 等宽与状态灯 ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--fg-mute);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(140, 124, 255, .08);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--fg-dim);
  white-space: nowrap;
}
.pill--gold {
  border-color: rgba(242, 184, 75, .45);
  background: rgba(242, 184, 75, .10);
  color: var(--c-gold);
}
.pill--coral {
  border-color: rgba(255, 107, 94, .45);
  background: rgba(255, 107, 94, .10);
  color: var(--c-coral);
}
.pill--mint {
  border-color: rgba(122, 247, 176, .45);
  background: rgba(122, 247, 176, .10);
  color: var(--c-mint);
}

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 20px 0 0; }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--fg-mute);
}
.breadcrumb-list li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-list li + li::before { content: "›"; color: var(--c-slate); }
.breadcrumb-list a { color: var(--fg-mute); transition: color .16s var(--ease); }
.breadcrumb-list a:hover { color: var(--c-cyan); }
.breadcrumb-list [aria-current="page"] { color: var(--c-gold); }

/* ---------- 正文容器 ---------- */
.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--fg-dim);
}
.prose h2, .prose h3 { color: var(--c-ivory); line-height: 1.24; }
.prose h2 { font-size: clamp(23px, 2.5vw, 32px); margin: 2em 0 .7em; }
.prose h3 { font-size: clamp(19px, 2vw, 24px); margin: 1.7em 0 .6em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.35em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--c-cyan); }
.prose strong { color: var(--c-ivory); font-weight: 700; }
.prose a {
  color: var(--c-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--c-gold); }
.prose code {
  font-family: var(--font-mono);
  font-size: .92em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(57, 230, 208, .10);
  color: var(--c-cyan);
}

/* ---------- 图片容器（页面阶段复用） ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(150deg, #15204A 0%, #0B1026 52%, #1A1140 100%);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 92% at 12% 0%, rgba(57, 230, 208, .22), transparent 62%),
    radial-gradient(90% 80% at 100% 100%, rgba(140, 124, 255, .24), transparent 60%);
  opacity: .55;
}
.media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 21 / 9; }

/* ---------- 显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .58s var(--ease), transform .58s var(--ease);
}
.js [data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(40px, 6vw, 76px) var(--gutter) 28px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(180deg, #080D1E 0%, #05070F 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 240px;
  pointer-events: none;
  background:
    radial-gradient(620px 230px at 20% 0%, rgba(57, 230, 208, .14), transparent 70%),
    radial-gradient(540px 260px at 84% 0%, rgba(242, 184, 75, .10), transparent 72%);
}
.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 1.25fr) minmax(0, 2fr) minmax(230px, 1.15fr);
  gap: clamp(24px, 3.4vw, 48px);
  max-width: var(--maxw);
  margin: 0 auto;
}

.footer-brand { display: grid; gap: 12px; align-content: start; }
.footer-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  color: var(--c-ivory);
}
.footer-mark-num {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--c-cyan);
  text-shadow: 0 0 22px rgba(57, 230, 208, .6);
}
.footer-mark span {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
}
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--c-gold);
}
.footer-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg-mute);
  max-width: 34ch;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-content: start;
}
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-slate);
}
.footer-list { display: grid; gap: 7px; }
.footer-list a {
  display: inline-block;
  font-size: 14.5px;
  color: var(--fg-dim);
  transition: color .16s var(--ease), transform .16s var(--ease);
}
.footer-list a:hover {
  color: var(--c-cyan);
  transform: translateX(2px);
}

.footer-contact { display: grid; gap: 12px; align-content: start; }
.contact-list { display: grid; gap: 9px; }
.contact-item {
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(17, 26, 58, .6);
}
.contact-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-slate);
}
.contact-val {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fg-dim);
  word-break: break-word;
}

.footer-legal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--maxw);
  margin: clamp(28px, 4vw, 44px) auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--fg-mute);
}
.legal-copy { color: var(--fg-mute); }
.legal-icp {
  padding: 4px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--c-slate);
}

/* ---------- 平板 / 手机 ---------- */
@media (max-width: 1080px) {
  :root { --rail-w: 0px; }

  html { scroll-behavior: auto; }

  body {
    padding-left: 0;
    padding-top: 68px;
  }

  .site-header {
    inset: 0 0 auto 0;
    width: 100%;
    height: 68px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0 var(--gutter);
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background-image: linear-gradient(180deg, rgba(10, 15, 36, .98), rgba(10, 15, 36, .92));
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .site-header::before { height: 2px; opacity: 1; }

  .brand {
    margin-right: auto;
    padding: 0;
    border-bottom: 0;
    gap: 10px;
  }
  .brand-mark { width: 36px; height: 36px; font-size: 20px; border-radius: 11px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 10px; letter-spacing: .12em; }

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

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(84vw, 330px);
    z-index: 90;
    display: flex;
    flex-direction: column;
    padding: 86px 20px 24px;
    overflow-y: auto;
    border-right: 1px solid var(--line);
    background: linear-gradient(180deg, #0A0F24 0%, #0E1531 58%, #05070F 100%);
    box-shadow: 0 0 70px rgba(5, 7, 15, .9);
    transform: translateX(-104%);
    transition: transform .28s var(--ease);
  }
  .site-header[data-open] .site-nav { transform: translateX(0); }
  .site-header[data-open] .nav-toggle {
    border-color: rgba(57, 230, 208, .8);
    background: rgba(57, 230, 208, .18);
  }
  .nav-list a { font-size: 15.5px; padding: 11px 12px 11px 14px; }
  .nav-foot { padding-top: 26px; }

  body.is-nav-open { overflow: hidden; }
  body.is-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 75;
    background: rgba(5, 7, 15, .68);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }

  .rail-progress {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
  }
  .rail-progress i {
    transform: scaleX(var(--scroll-progress, 0));
    transform-origin: left center;
  }

  .site-footer { margin-top: clamp(32px, 6vw, 60px); }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-note { max-width: 52ch; }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-top: 60px; }
  .site-header { height: 60px; }
  .brand-mark { width: 32px; height: 32px; font-size: 18px; border-radius: 10px; }
  .brand-name { font-size: 16px; }
  .brand-sub { display: none; }
  .nav-toggle { padding: 8px 12px; }
  .nav-toggle-label { display: none; }

  .section { padding: clamp(34px, 8vw, 56px) 0; }
  .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); }

  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 420px) {
  .footer-mark-num { font-size: 28px; }
  .contact-item { padding: 8px 10px; }
}

/* ---------- 减少动态 ---------- */
@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;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .rail-progress i { transition: none; }
}
