/* ==========================================================================
   626在线登录 — 共享站点样式 /assets/site.css
   设计语言：深墨蓝终端底 + 信号青短径 + 路径紫索引 + 暖橙状态
   ========================================================================== */

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

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

body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
table { border-collapse: collapse; }

/* ---------- 2. Design tokens ---------- */
:root {
  /* 色彩 */
  --ink: #0B1220;
  --ink-2: #111C31;
  --cyan: #00E5C7;
  --cyan-deep: #04120f;
  --violet: #7B5CFF;
  --orange: #FF7A45;
  --cloud: #F4F7FA;
  --mist: #A9B6C7;
  --slate: #2A3850;
  --sand: #E8E2D6;

  /* 字体 */
  --font-display: "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Code", "Menlo", ui-monospace, monospace;

  /* 尺度 */
  --rail-w: clamp(212px, 17vw, 250px);
  --bar-h: 62px;
  --shell-pad: clamp(18px, 4vw, 48px);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
}

/* ---------- 3. Base ---------- */
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background-color: var(--ink);
  color: var(--cloud);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 滚动进度光条（由 JS 写入 --scroll-progress） */
body::after {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  height: 2px;
  z-index: 150;
  pointer-events: none;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transition: transform 0.08s linear;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--cloud);
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 6.2vw, 82px); }
h2 { font-size: clamp(28px, 3.6vw, 48px); }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.26; letter-spacing: -0.01em; }
h4 { font-size: 18px; font-weight: 700; line-height: 1.35; }

p { text-wrap: pretty; }

strong { font-weight: 700; color: var(--cloud); }

/* ---------- 4. 工具类 ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

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

.section__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(24px, 3vw, 40px); }

.stack { display: flex; flex-direction: column; gap: 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  background: rgba(123, 92, 255, 0.14);
  border: 1px solid rgba(123, 92, 255, 0.38);
  color: #cfc4ff;
  white-space: nowrap;
}

.tag--cyan {
  background: rgba(0, 229, 199, 0.12);
  border-color: rgba(0, 229, 199, 0.38);
  color: #8ff6e8;
}

.tag--warm {
  background: rgba(255, 122, 69, 0.14);
  border-color: rgba(255, 122, 69, 0.42);
  color: #ffb598;
}

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

/* 面包屑 */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.crumb li { display: flex; align-items: center; gap: 8px; }
.crumb li:not(:last-child)::after { content: "/"; color: var(--slate); }
.crumb a { color: var(--mist); transition: color 0.2s var(--ease); }
.crumb a:hover { color: var(--cyan); }
.crumb [aria-current="page"] { color: var(--cloud); }

/* ---------- 5. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate);
  background-color: var(--ink-2);
  background-image:
    radial-gradient(120% 100% at 82% 0%, rgba(123, 92, 255, 0.26), transparent 62%),
    radial-gradient(90% 90% at 8% 100%, rgba(0, 229, 199, 0.16), transparent 64%);
}

.media__deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(123, 92, 255, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(123, 92, 255, 0.16) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(120% 100% at 20% 10%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 20% 10%, #000 0%, transparent 78%);
  pointer-events: none;
}

.media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }

.media figcaption {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(11, 18, 32, 0.82);
  border: 1px solid var(--slate);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
              color 0.2s var(--ease), transform 0.18s var(--ease),
              box-shadow 0.2s var(--ease);
}

.btn--primary {
  background: var(--cyan);
  color: var(--cyan-deep);
  box-shadow: 0 10px 28px -14px rgba(0, 229, 199, 0.9);
}

.btn--primary:hover {
  background: #2ff2d8;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -14px rgba(0, 229, 199, 1);
}

.btn--ghost {
  background: rgba(123, 92, 255, 0.12);
  border-color: rgba(123, 92, 255, 0.42);
  color: var(--cloud);
}

.btn--ghost:hover {
  background: rgba(123, 92, 255, 0.24);
  border-color: var(--violet);
  transform: translateY(-1px);
}

.btn--warm {
  background: var(--orange);
  color: #2b0d00;
  box-shadow: 0 10px 26px -14px rgba(255, 122, 69, 0.9);
}

.btn--warm:hover { background: #ff9468; transform: translateY(-1px); }

.btn--block { width: 100%; }

.btn:active { transform: translateY(1px) scale(0.995); }

/* ---------- 7. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: var(--cyan-deep);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform 0.22s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--cloud);
  outline-offset: 3px;
}

/* ---------- 8. 品牌块 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  width: 38px;
  height: 38px;
  padding-left: 9px;
  border-radius: 13px;
  border: 1px solid rgba(0, 229, 199, 0.36);
  background:
    radial-gradient(120% 120% at 22% 14%, rgba(0, 229, 199, 0.24), transparent 62%),
    #0d1a2c;
  box-shadow: inset 0 0 18px -6px rgba(0, 229, 199, 0.5);
}

.brand__mark i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}

.brand__mark i:nth-child(1) { width: 18px; }
.brand__mark i:nth-child(2) { width: 12px; background: var(--violet); }
.brand__mark i:nth-child(3) { width: 7px; background: var(--orange); }

.brand__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.brand__name {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--cloud);
  white-space: nowrap;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  line-height: 1.2;
  color: var(--mist);
  white-space: nowrap;
}

/* ==========================================================================
   9. HEADER — 侧边轨道导航
   ========================================================================== */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: var(--rail-w);
  padding: 28px 20px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    linear-gradient(180deg, #0d1726 0%, #0B1220 46%, #0a0f1c 100%);
  border-right: 1px solid var(--slate);
  scrollbar-width: thin;
  scrollbar-color: var(--slate) transparent;
}

/* 坐标网格纹理 */
.rail::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(123, 92, 255, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(123, 92, 255, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(130% 68% at 0% 0%, #000 0%, transparent 74%);
  mask-image: radial-gradient(130% 68% at 0% 0%, #000 0%, transparent 74%);
}

/* 路径发光线 */
.rail::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  pointer-events: none;
  opacity: 0.75;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--cyan) 16%,
    var(--cyan) 42%,
    var(--violet) 66%,
    transparent 100%);
}

.rail > * { position: relative; z-index: 1; }

.rail__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* 移动端切换按钮 */
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--slate);
  background: rgba(123, 92, 255, 0.12);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle:hover { background: rgba(123, 92, 255, 0.24); border-color: var(--violet); }

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cloud);
  transition: transform 0.26s var(--ease), opacity 0.2s var(--ease),
              width 0.26s var(--ease);
}

.nav-toggle__bars span:nth-child(1) { width: 18px; }
.nav-toggle__bars span:nth-child(2) { width: 13px; background: var(--cyan); }
.nav-toggle__bars span:nth-child(3) { width: 9px; background: var(--violet); }

.rail[data-open] .nav-toggle__bars span:nth-child(1) { width: 18px; transform: translateY(6px) rotate(45deg); }
.rail[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.rail[data-open] .nav-toggle__bars span:nth-child(3) { width: 18px; background: var(--cloud); transform: translateY(-6px) rotate(-45deg); }

/* 导航 */
.nav { display: flex; flex-direction: column; }

.nav__label {
  margin-bottom: 14px;
  padding-left: 13px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(169, 182, 199, 0.72);
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  counter-reset: navitem;
}

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease);
}

.nav__link::before {
  content: counter(navitem, decimal-leading-zero);
  counter-increment: navitem;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(169, 182, 199, 0.5);
  transition: color 0.22s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 0;
  border-radius: 2px;
  background: var(--cyan);
  transform: translateY(-50%);
  transition: height 0.26s var(--ease);
}

.nav__link:hover { color: var(--cloud); background: rgba(123, 92, 255, 0.14); }
.nav__link:hover::after { height: 16px; }
.nav__link:hover::before { color: var(--cyan); }

.nav__link[aria-current="page"] {
  background: var(--cyan);
  color: var(--cyan-deep);
  font-weight: 700;
  box-shadow: 0 10px 26px -14px rgba(0, 229, 199, 0.95);
}

.nav__link[aria-current="page"]::before { color: rgba(4, 18, 15, 0.6); }
.nav__link[aria-current="page"]::after { height: 0; }

.nav__text { min-width: 0; }

/* 轨道底部 */
.rail__foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(42, 56, 80, 0.85);
}

.rail__status {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
}

.dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 69, 0.16);
  animation: dotPulse 2.6s var(--ease) infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.rail__actions { display: flex; flex-direction: column; gap: 8px; }

@keyframes navIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* 桌面端外壳偏移 */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.foot {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--slate);
  background: linear-gradient(180deg, #0e1a2c 0%, #0B1220 58%, #090f1b 100%);
  padding-block: clamp(46px, 6vw, 74px) 26px;
}

.foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet) 28%, var(--cyan) 68%, transparent);
  opacity: 0.7;
  pointer-events: none;
}

.foot::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -62%;
  width: min(720px, 90%);
  height: 460px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(123, 92, 255, 0.2), transparent);
}

.foot__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

.foot__top {
  display: grid;
  gap: clamp(30px, 4vw, 56px);
}

@media (min-width: 780px) {
  .foot__top { grid-template-columns: minmax(210px, 1fr) minmax(0, 1.9fr); }
}

.foot__lead { display: flex; flex-direction: column; gap: 18px; }

.foot__tagline {
  max-width: 15em;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.01em;
  color: var(--cloud);
}

.foot__tagline::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-top: 16px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.foot__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 20px;
}

@media (min-width: 620px) {
  .foot__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.foot__col { min-width: 0; }

.foot__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}

.foot__title::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px rgba(123, 92, 255, 0.9);
}

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

.foot__link {
  display: inline-block;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(244, 247, 250, 0.82);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.foot__link:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.foot__meta {
  display: grid;
  gap: 22px;
  margin-top: clamp(34px, 4.4vw, 56px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid rgba(42, 56, 80, 0.8);
}

@media (min-width: 900px) {
  .foot__meta { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: 36px; }
}

.foot__contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 18px;
  align-items: baseline;
  max-width: 560px;
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid var(--slate);
  background: rgba(17, 28, 49, 0.62);
}

.foot__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}

.foot__value {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  color: var(--cloud);
  overflow-wrap: anywhere;
}

.foot__text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 247, 250, 0.88);
}

.copy {
  justify-self: start;
  padding: 3px 9px;
  margin: -3px -9px;
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  text-align: left;
  color: var(--cloud);
  border-bottom: 1px dashed rgba(0, 229, 199, 0.45);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease);
  overflow-wrap: anywhere;
}

.copy:hover { background: rgba(0, 229, 199, 0.12); color: var(--cyan); border-color: var(--cyan); }

.copy[data-copied="true"] {
  background: var(--cyan);
  color: var(--cyan-deep);
  border-bottom-color: transparent;
}

.foot__note {
  max-width: 42em;
  font-size: 13px;
  line-height: 1.85;
  color: var(--mist);
  padding-left: 16px;
  border-left: 2px solid rgba(255, 122, 69, 0.45);
}

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(30px, 3.6vw, 44px);
  padding-top: 20px;
  border-top: 1px solid rgba(42, 56, 80, 0.8);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.foot__icp { color: rgba(169, 182, 199, 0.78); }

/* ==========================================================================
   11. 滚动显现
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   12. 响应式 — 移动端抽屉
   ========================================================================== */
@media (max-width: 1023px) {
  html { scroll-behavior: smooth; }

  body { padding-top: var(--bar-h); }

  .rail {
    inset: 0 0 auto 0;
    width: 100%;
    height: var(--bar-h);
    gap: 0;
    padding: 0 16px;
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid var(--slate);
    background: #0B1220;
  }

  .rail::after { display: none; }
  .rail::before { opacity: 0.55; }

  .rail__top { height: var(--bar-h); flex: 0 0 auto; }

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

  .nav,
  .rail__foot { display: none; }

  .rail[data-open] {
    height: 100dvh;
    padding-bottom: 26px;
    overflow-y: auto;
    border-bottom-color: transparent;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  }

  .rail[data-open] .nav {
    display: flex;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(42, 56, 80, 0.85);
    animation: navIn 0.32s var(--ease) both;
  }

  .rail[data-open] .rail__foot {
    display: flex;
    margin-top: 24px;
  }

  .nav__list { gap: 4px; }

  .nav__link {
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 16.5px;
  }

  .nav__link::before { font-size: 11.5px; }

  .rail__status { font-size: 13px; }

  body.is-nav-open { overflow: hidden; }

  .foot__tagline { max-width: none; }
}

@media (max-width: 540px) {
  .foot__contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 20px 18px;
  }

  .foot__label { margin-top: 14px; }
  .foot__label:first-child { margin-top: 0; }
  .foot__bottom { font-size: 11px; }
}

/* ==========================================================================
   13. 动效降级
   ========================================================================== */
@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;
    transition-delay: 0s !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav__link:hover,
  .foot__link:hover,
  .btn:hover { transform: none; }
}
