/* =============================================================
   盛兴服务 · 全站共享样式表  /assets/site.css
   侧轨导览 + 玻璃/实色双层 + 科技蓝锚点 + 活力橙强调
   ============================================================= */

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

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

body { margin: 0; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
main { display: block; }
:where([hidden]) { display: none !important; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* 墨色 */
  --ink-950: #070C14;
  --ink-800: #131C28;
  /* 蓝 */
  --blue-700: #00458F;
  --blue-600: #0057B8;
  --blue-200: #A8C9EE;
  --blue-050: #E8F1FB;
  /* 橙 */
  --orange-500: #FF6B35;
  --orange-100: #FFDCCB;
  /* 中性 */
  --gray-050: #F5F7FA;
  --gray-200: #DCE3EC;
  --gray-600: #5D6B7E;
  --text-900: #0E141B;
  --green-600: #0E7C5A;

  /* 字体 */
  --font-sans: "Source Han Sans SC", "Source Han Sans", "Noto Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo,
    Consolas, "Courier New", monospace;

  /* 尺寸 */
  --rail-w: 132px;
  --bar-h: 64px;
  --edge: 48px;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;

  --shadow-1: 0 1px 2px rgba(7, 12, 20, .06), 0 10px 28px rgba(7, 12, 20, .07);
  --shadow-2: 0 20px 52px rgba(7, 12, 20, .22);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 320ms;
}

@media (max-width: 1279px) { :root { --edge: 32px; } }
@media (max-width: 767px) { :root { --edge: 20px; --bar-h: 60px; } }

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-900);
  background: var(--gray-050);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
  .js-body-rail-off body { padding-left: 0; }
}

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

h1 { font-size: clamp(34px, 5vw, 60px); }
h2 { font-size: clamp(26px, 3.2vw, 42px); }
h3 { font-size: clamp(20px, 2.1vw, 26px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }

p { font-size: 16px; }

strong, b { font-weight: 700; }

.mono,
.index-num {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}

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

/* ---------- 4. 焦点与跳转 ---------- */
:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.quick-dock :focus-visible {
  outline-color: var(--orange-500);
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 220;
  padding: 12px 20px;
  border-radius: var(--radius-s);
  background: var(--blue-600);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

#main-content { scroll-margin-top: calc(var(--bar-h) + 16px); }

/* ---------- 5. 站点头部：横条 + 侧轨 ---------- */
.site-header {
  position: fixed;
  inset: 0;
  z-index: 130;
  pointer-events: none;
  color: #E9F1FA;

  --hd-surface: rgba(7, 12, 20, .95);
  --hd-fg: #E9F1FA;
  --hd-mute: #93A7BD;
  --hd-line: rgba(168, 201, 238, .18);
  --hd-blur: blur(16px);
}

.site-header__bar,
.rail,
.rail__scrim { pointer-events: auto; }

/* 顶部横条 */
.site-header__bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 var(--edge) 0 20px;
  background: var(--hd-surface);
  border-bottom: 1px solid var(--hd-line);
  backdrop-filter: var(--hd-blur);
  -webkit-backdrop-filter: var(--hd-blur);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

@media (min-width: 1024px) {
  .site-header__bar { left: var(--rail-w); padding-left: 32px; }
}

.site-header__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  min-width: 0;
}

.site-header__tag {
  font-size: 13px;
  color: var(--hd-mute);
  white-space: nowrap;
  letter-spacing: .02em;
}

.version-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--hd-line);
  background: rgba(168, 201, 238, .07);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}
.version-chip__k { color: var(--hd-mute); letter-spacing: .14em; }
.version-chip__v { color: #fff; letter-spacing: .06em; }

/* 深色首屏：透明叠加态 */
body[data-hero="dark"] .site-header:not(.is-solid) .site-header__bar {
  background: linear-gradient(180deg, rgba(7, 12, 20, .58), rgba(7, 12, 20, 0));
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* 侧边轨道 */
.rail {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  padding: 0 12px 18px;
  background: var(--hd-surface);
  border-right: 1px solid var(--hd-line);
  backdrop-filter: var(--hd-blur);
  -webkit-backdrop-filter: var(--hd-blur);
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: background var(--dur) var(--ease), transform .28s var(--ease),
    visibility .28s linear;
}

@media (min-width: 1024px) {
  body[data-hero="dark"] .site-header:not(.is-solid) .rail {
    background: linear-gradient(180deg, rgba(7, 12, 20, .66), rgba(7, 12, 20, .24));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.rail__brand {
  flex: 0 0 auto;
  height: var(--bar-h);
  margin: 0 -12px;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-bottom: 1px solid var(--hd-line);
}
.rail__brand-mark {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .22em;
  color: #fff;
  text-indent: .22em;
}
.rail__brand-latin {
  font-size: 8.5px;
  letter-spacing: .2em;
  color: var(--hd-mute);
  text-transform: uppercase;
}

.rail__caption {
  padding: 16px 8px 8px;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--hd-mute);
  text-transform: uppercase;
}

.rail__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
}

.rail__link {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 8px 10px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--hd-fg);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.rail__link:hover { background: rgba(0, 87, 184, .24); color: #fff; }
.rail__idx {
  font-size: 10px;
  color: var(--hd-mute);
  padding-top: 3px;
  letter-spacing: .06em;
}
.rail__label { font-weight: 500; word-break: break-word; }

.rail__link[aria-current="page"] {
  background: rgba(0, 87, 184, .3);
  color: #fff;
}
.rail__link[aria-current="page"] .rail__idx { color: var(--orange-500); }
.rail__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange-500);
  transform: translateY(-50%);
}

.rail__foot {
  flex: 0 0 auto;
  padding-top: 14px;
  border-top: 1px dashed var(--hd-line);
}
.rail__foot-title {
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--hd-mute);
  text-transform: uppercase;
  padding: 0 8px 8px;
}
.rail__vers { display: flex; gap: 4px; padding: 0 4px; }
.rail__ver {
  flex: 1 1 0;
  text-align: center;
  padding: 5px 2px;
  border-radius: 7px;
  border: 1px solid var(--hd-line);
  font-size: 10.5px;
  color: var(--hd-mute);
}
.rail__ver--on {
  color: #fff;
  border-color: rgba(255, 107, 53, .55);
  background: rgba(255, 107, 53, .18);
}

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  overflow: hidden;
  z-index: 3;
}
@media (min-width: 1024px) { .scroll-progress { left: var(--rail-w); } }
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue-600) 0%, var(--orange-500) 100%);
  transition: width .1s linear;
}

/* 品牌字标 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  min-width: 0;
}
.brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 9px;
  background: var(--blue-600);
  color: #fff;
  font-size: 10.5px;
  line-height: 1.05;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.18; min-width: 0; }
.brand__name { font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.brand__latin {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .68;
}

.brand--dark .brand__mark {
  background: var(--blue-600);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
}
.brand--dark .brand__name { color: #fff; }
.brand--dark .brand__latin { color: var(--blue-200); opacity: .9; }

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px solid var(--hd-line);
  background: rgba(168, 201, 238, .08);
  color: inherit;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.nav-toggle:hover { background: rgba(0, 87, 184, .3); border-color: var(--blue-200); }

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s var(--ease), background .18s linear;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.site-header[data-open="true"] .nav-toggle__bars { background: transparent; }
.site-header[data-open="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 遮罩 */
.rail__scrim {
  display: none;
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 12, 20, .55);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s var(--ease), visibility .24s linear;
}

/* ---------- 6. 平板与移动端导航 ---------- */
@media (max-width: 1023px) {
  .site-header__bar { padding-left: var(--edge); }

  .rail {
    width: min(322px, 86vw);
    transform: translateX(-102%);
    visibility: hidden;
    background: rgba(7, 12, 20, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-2);
    z-index: 2;
  }
  .site-header[data-open="true"] .rail { transform: none; visibility: visible; }

  .rail__scrim { display: block; }
  .site-header[data-open="true"] .rail__scrim { opacity: 1; visibility: visible; }

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

  body[data-hero="dark"] .site-header:not(.is-solid) .rail {
    background: rgba(7, 12, 20, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
}

@media (max-width: 1279px) { .site-header__tag { display: none; } }
@media (max-width: 1023px) { .version-chip { display: none; } }
@media (max-width: 420px) {
  .brand__latin { display: none; }
  .site-header__meta { gap: 10px; }
}

/* ---------- 7. 通用按钮 ---------- */
.btn {
  --btn-bg: var(--blue-600);
  --btn-fg: #fff;
  --btn-line: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 11px;
  border: 1px solid var(--btn-line);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .16s var(--ease), background .2s var(--ease),
    color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { --btn-bg: var(--blue-700); box-shadow: 0 10px 26px rgba(0, 87, 184, .26); }
.btn:active { transform: translateY(1px); }

.btn--primary { --btn-bg: var(--blue-600); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--blue-700); }

.btn--orange { --btn-bg: var(--orange-500); --btn-fg: #1A0C04; }
.btn--orange:hover { --btn-bg: #F2541B; box-shadow: 0 10px 26px rgba(255, 107, 53, .3); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text-900);
  --btn-line: var(--gray-200);
}
.btn--ghost:hover { --btn-bg: #fff; --btn-line: var(--blue-600); box-shadow: none; }

.btn--onDark {
  --btn-bg: transparent;
  --btn-fg: #EAF1FA;
  --btn-line: rgba(168, 201, 238, .34);
}
.btn--onDark:hover { --btn-bg: rgba(0, 87, 184, .3); --btn-line: var(--blue-200); box-shadow: none; }

.btn--sm { padding: 9px 15px; font-size: 13.5px; border-radius: 9px; }
.btn--wide { width: 100%; }

/* ---------- 8. 布局容器与分区 ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, var(--edge));
}

.section {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px);
}
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--paper { background: #fff; }
.section--blue { background: var(--blue-050); }
.section--tint { background: linear-gradient(180deg, var(--gray-050) 0%, #fff 100%); }
.section--ink {
  background: var(--ink-950);
  color: #C7D6E8;
}
.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4 { color: #fff; }
.section--ink p { color: #A9BCD1; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 28px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head__title { max-width: 24ch; }
.section-head__aside {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray-600);
  padding-bottom: 6px;
}
.section--ink .section-head__aside { color: var(--blue-200); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange-500);
}
.section--ink .eyebrow { color: var(--blue-200); }

/* ---------- 9. 网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.grid--gap-sm { gap: 16px; }
.grid--gap-lg { gap: 32px; }

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

@media (max-width: 1023px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--12 { gap: 20px; }
  .col-7, .col-8, .col-9 { grid-column: span 12; }
}
@media (max-width: 767px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .grid--12 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-12 { grid-column: 1 / -1; }
}

/* ---------- 10. 标签 / 面包屑 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--blue-200);
  background: var(--blue-050);
  color: var(--blue-700);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  white-space: nowrap;
}
.chip--orange {
  background: var(--orange-100);
  border-color: #F5B394;
  color: #8A2E05;
}
.chip--green {
  background: rgba(14, 124, 90, .1);
  border-color: rgba(14, 124, 90, .3);
  color: var(--green-600);
}
.chip--dark {
  background: rgba(168, 201, 238, .12);
  border-color: rgba(168, 201, 238, .28);
  color: var(--blue-200);
}
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--gray-600);
}
.breadcrumb a { color: var(--blue-600); }
.breadcrumb a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb__sep { color: var(--gray-200); }
.breadcrumb [aria-current="page"] { color: var(--text-900); }
.section--ink .breadcrumb { color: var(--blue-200); }
.section--ink .breadcrumb [aria-current="page"] { color: #fff; }

/* ---------- 11. 正文 ---------- */
.prose {
  max-width: 72ch;
  font-size: 16.5px;
  line-height: 1.8;
  color: #26313D;
}
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 44px; font-size: clamp(22px, 2.4vw, 30px); }
.prose h3 { margin-top: 32px; }
.prose ul { display: flex; flex-direction: column; gap: 10px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 10px;
  height: 2px;
  background: var(--blue-600);
}
.prose a {
  color: var(--blue-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--blue-700); }

/* ---------- 12. 卡片体系 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius-m);
  border: 1px solid var(--gray-200);
  background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover,
.card:focus-within { border-color: var(--blue-200); box-shadow: var(--shadow-1); }

.card__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--blue-600);
}
.card__title { font-size: 19px; font-weight: 600; line-height: 1.32; }
.card__desc { font-size: 14.5px; line-height: 1.7; color: var(--gray-600); }
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.card__reveal {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--gray-600);
  transition: max-height .28s var(--ease), opacity .2s var(--ease);
}
.card:hover .card__reveal,
.card:focus-within .card__reveal { max-height: 96px; opacity: 1; }

.card--main {
  padding: 30px;
  border-color: var(--blue-200);
  background: linear-gradient(155deg, #fff 0%, var(--blue-050) 100%);
}
.card--index { gap: 10px; padding: 20px 22px; }
.card--status {
  background: var(--ink-800);
  border-color: rgba(168, 201, 238, .18);
  color: #C7D6E8;
}
.card--status .card__title { color: #fff; }
.card--status .card__desc,
.card--status .card__reveal { color: #9DB0C6; }

/* ---------- 13. 数据块 ---------- */
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--blue-600);
  font-variant-numeric: tabular-nums;
}
.stat__unit { font-size: .48em; margin-left: 3px; color: var(--gray-600); }
.stat__label { font-size: 13px; color: var(--gray-600); }
.section--ink .stat__num { color: var(--blue-200); }
.section--ink .stat__label { color: #9DB0C6; }

/* ---------- 14. 媒体容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-m);
  border: 1px solid var(--gray-200);
  background:
    radial-gradient(120% 120% at 12% 0%, rgba(0, 87, 184, .18) 0%, transparent 58%),
    linear-gradient(160deg, var(--blue-050) 0%, #fff 62%, var(--gray-050) 100%);
  aspect-ratio: 16 / 10;
}
.media-frame > img,
.media-frame > svg,
.media-frame > .media-frame__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--ink {
  border-color: rgba(168, 201, 238, .2);
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(0, 87, 184, .45) 0%, transparent 62%),
    var(--ink-950);
}
.media-frame--noimage::after {
  content: attr(data-label);
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.media-frame--ink.media-frame--noimage::after { color: var(--blue-200); }

/* ---------- 15. 标签页 ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.tabs__btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: #fff;
  color: var(--gray-600);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
    border-color .2s var(--ease);
}
.tabs__btn:hover { border-color: var(--blue-200); color: var(--blue-700); }
.tabs__btn[aria-selected="true"] {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}
.tabs__panel[hidden] { display: none; }
.section--ink .tabs__btn {
  background: rgba(168, 201, 238, .08);
  border-color: rgba(168, 201, 238, .22);
  color: var(--blue-200);
}
.section--ink .tabs__btn[aria-selected="true"] {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

/* ---------- 16. 显现动效 ---------- */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur) ease-out, transform var(--dur) ease-out;
  transition-delay: calc(var(--d, 0) * 60ms);
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 17. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 88px) 0;
  background: linear-gradient(158deg, #070C14 0%, #0A1626 44%, #00458F 148%);
  color: #C7D6E8;
}

.site-footer__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(168, 201, 238, .085) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(168, 201, 238, .06) 0 1px, transparent 1px 64px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95) 0%, transparent 68%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95) 0%, transparent 68%);
}

.site-footer__inner {
  position: relative;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, var(--edge));
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
  padding-bottom: 36px;
}
.footer-top__brand { display: flex; flex-direction: column; gap: 18px; }
.footer-top__closing {
  font-size: 15px;
  color: var(--blue-200);
  letter-spacing: .02em;
}
.footer-top__contact { display: flex; flex-direction: column; gap: 10px; }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  font-size: 14.5px;
}
.footer-contact__k {
  flex: 0 0 auto;
  min-width: 72px;
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--blue-200);
  text-transform: uppercase;
}
.footer-contact__v { color: #E3EDF9; word-break: break-all; }

.footer-note {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: #8FA3B9;
}

.footer-timeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(168, 201, 238, .16);
}
.footer-timeline__label {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-200);
}
.footer-timeline__track {
  position: relative;
  flex: 1 1 260px;
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 26px;
}
.footer-timeline__track::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(168, 201, 238, .5), var(--orange-500));
}
.footer-timeline__tick {
  position: relative;
  z-index: 1;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(168, 201, 238, .24);
  background: rgba(7, 12, 20, .78);
  font-size: 11px;
  font-style: normal;
  letter-spacing: .08em;
  color: #B9CBE0;
}
.footer-timeline__tick--now {
  color: #fff;
  border-color: var(--orange-500);
  background: rgba(255, 107, 53, .2);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
  padding: 36px 0;
  border-top: 1px solid rgba(168, 201, 238, .16);
}
.footer-col__title {
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-200);
}
.footer-col__list { display: flex; flex-direction: column; gap: 10px; }
.footer-col__link {
  position: relative;
  display: inline-block;
  padding-left: 15px;
  font-size: 14.5px;
  color: #C7D6E8;
  transition: color .18s var(--ease);
}
.footer-col__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1.5px;
  transform: translateY(-50%);
  background: var(--orange-500);
  opacity: 0;
  transition: opacity .18s var(--ease);
}
.footer-col__link:hover,
.footer-col__link:focus-visible { color: #fff; }
.footer-col__link:hover::before,
.footer-col__link:focus-visible::before { opacity: 1; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(168, 201, 238, .16);
  font-size: 13px;
  color: #8FA3B9;
}
.footer-legal__item { font-size: 13px; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-contact__k { min-width: 100%; }
}

/* ---------- 18. 移动端底部快捷条 ---------- */
.quick-dock { display: none; }

@media (max-width: 767px) {
  .quick-dock {
    display: flex;
    gap: 8px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 115;
    padding: 8px;
    border-radius: 999px;
    background: rgba(7, 12, 20, .88);
    border: 1px solid rgba(168, 201, 238, .22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 36px rgba(7, 12, 20, .42);
  }
  .quick-dock__link {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 8px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #EAF1FA;
    transition: background .2s var(--ease), color .2s var(--ease);
  }
  .quick-dock__link:hover { background: rgba(168, 201, 238, .14); }
  .quick-dock__link--accent { background: var(--orange-500); color: #1A0C04; }
  .quick-dock__link--accent:hover { background: #F2541B; }
}

/* ---------- 19. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js-reveal .reveal {
    opacity: 0;
    transform: none;
    transition: opacity .2s linear;
    transition-delay: 0ms;
  }
  .js-reveal .reveal.is-visible { opacity: 1; }

  .scroll-progress__bar { transition: none; }

  .rail,
  .site-header__bar,
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after,
  .btn,
  .card,
  .card__reveal,
  .rail__scrim { transition-duration: .001ms; }

  .card:hover .card__reveal,
  .card:focus-within .card__reveal { max-height: 96px; opacity: 1; }
}
