/* ============================================================
   华体服务 · site.css
   框架式导航 / 数据叙事型配色 / 画册式字重对比
   ============================================================ */

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

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

body, h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote {
  margin: 0;
}

ul, ol { padding: 0; list-style: none; }

img, svg { display: block; max-width: 100%; }

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

a { color: inherit; text-decoration: none; }

[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --gray-base: #E9EAE7;
  --gray-paper: #F6F7F5;
  --line: #C6C9C6;
  --ink: #12181F;
  --deep: #16324F;
  --graphite: #2B3138;
  --signal: #FF5A1F;
  --signal-deep: #E94A12;
  --signal-soft: #FFC7A8;
  --mist: #7FA8C9;
  --cream: #FBF3E4;

  --rail-w: 88px;
  --top-h: 56px;
  --edge: clamp(20px, 4vw, 56px);

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 3. 中文排版基础 ---------- */
body {
  background: var(--gray-base);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  padding-top: var(--top-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.nav-open,
html.nav-open body { overflow: hidden; }

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

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

h1 { font-size: clamp(34px, 5vw, 64px); font-weight: 300; line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 2.6vw, 36px); }
h3 { font-size: 20px; font-weight: 700; }

p { line-height: 1.9; }

::selection { background: var(--signal-soft); color: var(--ink); }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #5c6469;
}

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

.site-foot :focus-visible { outline-color: var(--signal-soft); }

/* ---------- 4. 版式容器 ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--edge);
}

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

.rule {
  height: 0;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

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

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

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}

.btn::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: .92em;
  line-height: 1;
  transition: transform .2s var(--ease);
}

.btn:hover::after { transform: translateX(4px); }

.btn--signal { background: var(--signal); color: #fff; }
.btn--signal:hover { background: var(--signal-deep); }

.btn--ghost {
  background: var(--gray-paper);
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--dark { background: var(--graphite); color: var(--gray-paper); }
.btn--dark:hover { background: var(--ink); }

/* ---------- 6. 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: #6b7378;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb__link {
  position: relative;
  padding-bottom: 1px;
  transition: color .18s var(--ease);
}
.breadcrumb__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--signal);
  transition: width .22s var(--ease);
}
.breadcrumb__link:hover { color: var(--ink); }
.breadcrumb__link:hover::after { width: 100%; }
.breadcrumb__sep { color: var(--line); }
.breadcrumb__item[aria-current="page"] { color: var(--ink); }

/* ---------- 7. 索引卡 / 筛选 ---------- */
.card {
  position: relative;
  background: var(--gray-paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(18px, 2.2vw, 28px);
  transition: border-color .2s var(--ease), box-shadow .25s var(--ease),
              transform .2s var(--ease);
}
.card:hover {
  border-color: var(--ink);
  box-shadow: 0 16px 32px -26px rgba(18, 24, 31, .6);
  transform: translateY(-2px);
}
.card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--signal);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--gray-paper);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #3a4249;
  transition: border-color .18s var(--ease), background .18s var(--ease),
              color .18s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--signal-soft);
  border-color: var(--signal);
  color: var(--ink);
}

/* ---------- 8. 正文阅读容器 ---------- */
.prose { max-width: 34em; }
.prose p { margin-bottom: 1.05em; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { margin: 1.7em 0 .55em; }
.prose h2 { margin: 1.8em 0 .6em; }
.prose ul { margin: 0 0 1.1em; }
.prose li {
  position: relative;
  padding-left: 18px;
  margin-bottom: .4em;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85em;
  width: 8px;
  height: 1px;
  background: var(--signal);
}
.prose a {
  color: var(--signal-deep);
  border-bottom: 1px solid rgba(255, 90, 31, .38);
}
.prose a:hover { border-bottom-color: var(--signal); }

/* ---------- 9. 图片容器基础规则 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--gray-paper);
  aspect-ratio: 16 / 10;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 4 / 5; }
.media--ph {
  background-image:
    repeating-linear-gradient(0deg, rgba(18, 24, 31, .05) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(18, 24, 31, .05) 0 1px, transparent 1px 28px);
}
.media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: #6b7378;
}

/* ============================================================
   10. 框架式页头
   ============================================================ */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* 左侧竖栏 */
.frame-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 18px;
  background: var(--graphite);
  color: var(--gray-paper);
  border-right: 1px solid rgba(246, 247, 245, .1);
}

.rail-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 4px;
  color: inherit;
}

.rail-mark,
.foot-lockup__mark {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid var(--signal);
  border-radius: 2px;
  transition: background .2s var(--ease);
}
.rail-mark::before,
.foot-lockup__mark::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 8px;
  width: 13px;
  height: 13px;
  border-top: 2px solid var(--signal);
  border-right: 2px solid var(--signal);
  transform: rotate(45deg);
}
.rail-brand:hover .rail-mark { background: rgba(255, 90, 31, .16); }

.rail-brand__name {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .24em;
  line-height: 1;
}
.rail-brand__en {
  font-size: 9px;
  letter-spacing: .3em;
  color: rgba(246, 247, 245, .5);
}

.rail-nav {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 18px 0;
  scrollbar-width: none;
}
.rail-nav::-webkit-scrollbar { display: none; }

.rail-nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.rail-nav__link {
  display: block;
  writing-mode: vertical-rl;
  padding: 8px 5px;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  color: rgba(246, 247, 245, .78);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.rail-nav__link:hover {
  color: #fff;
  background: rgba(246, 247, 245, .08);
}
.rail-nav__link[aria-current="page"] {
  color: var(--signal);
  background: rgba(255, 90, 31, .12);
}

.rail-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  font-size: 10px;
  color: rgba(246, 247, 245, .5);
}
.rail-meta__ver {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--signal-soft);
}
.rail-meta__label {
  font-size: 9px;
  letter-spacing: .28em;
}

.rail-progress {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  background: rgba(246, 247, 245, .1);
  pointer-events: none;
}
.rail-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--signal);
  transform: scaleY(var(--p, 0));
  transform-origin: top center;
  transition: transform .12s linear;
}

/* 顶部细条 */
.frame-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--top-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  padding: 0 clamp(14px, 3vw, 28px);
  background: rgba(246, 247, 245, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1024px) {
  .frame-top { left: var(--rail-w); }
}

.top-brand {
  display: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--ink);
  white-space: nowrap;
}

.top-tagline {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .26em;
  color: #5c6469;
  white-space: nowrap;
}

.top-coord {
  font-size: 11px;
  letter-spacing: .16em;
  color: #7b8287;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
}

.top-utility {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-utility__link {
  position: relative;
  padding-bottom: 2px;
  font-size: 13px;
  color: #4c545a;
  white-space: nowrap;
}
.top-utility__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--signal);
  transition: width .22s var(--ease);
}
.top-utility__link:hover { color: var(--ink); }
.top-utility__link:hover::after { width: 100%; }

.top-cta {
  padding: 9px 16px;
  font-size: 13px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--gray-paper);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink);
}
.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 58;
  background: rgba(18, 24, 31, .46);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
}
.nav-scrim[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 1024px) {
  .nav-scrim { display: none; }
}

/* 移动端：竖栏变抽屉 */
@media (max-width: 1023px) {
  .frame-rail {
    width: min(320px, 84vw);
    padding: 18px 20px 22px;
    align-items: flex-start;
    overflow-y: auto;
    transform: translateX(-102%);
    transition: transform .3s var(--ease);
  }
  .frame-rail[data-open="true"] { transform: none; }

  .rail-brand {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(246, 247, 245, .14);
  }
  .rail-brand__name {
    writing-mode: horizontal-tb;
    font-size: 17px;
    letter-spacing: .16em;
  }
  .rail-brand__en {
    writing-mode: horizontal-tb;
    margin-left: auto;
    font-size: 9px;
  }

  .rail-nav {
    flex: none;
    width: 100%;
    align-items: stretch;
    padding: 10px 0 0;
    overflow: visible;
  }
  .rail-nav__list { align-items: stretch; gap: 0; }
  .rail-nav__link {
    writing-mode: horizontal-tb;
    padding: 13px 2px;
    border-radius: 0;
    border-bottom: 1px solid rgba(246, 247, 245, .1);
    font-size: 15px;
    letter-spacing: .08em;
    color: rgba(246, 247, 245, .85);
  }
  .rail-nav__link[aria-current="page"] { padding-left: 10px; }

  .rail-meta {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(246, 247, 245, .14);
  }

  .rail-progress { display: none; }

  .top-brand { display: block; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 1180px) {
  .top-coord { display: none; }
}
@media (max-width: 900px) {
  .top-tagline { display: none; }
}
@media (max-width: 860px) {
  .top-utility { display: none; }
}
@media (max-width: 640px) {
  .top-cta { display: none; }
}

/* 右侧章节坐标刻度 */
.coord {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  padding: 12px 12px 12px 18px;
}

.coord__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: #8b9296;
  transition: color .18s var(--ease);
}
.coord__num { line-height: 1; }
.coord__tick {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: width .18s var(--ease), background .18s var(--ease),
              height .18s var(--ease);
}
.coord__btn:hover { color: var(--ink); }
.coord__btn:hover .coord__tick { width: 22px; }
.coord__btn[aria-current="true"] { color: var(--signal); }
.coord__btn[aria-current="true"] .coord__tick {
  width: 26px;
  height: 2px;
  background: var(--signal);
}

@media (min-width: 1200px) {
  .coord:not([hidden]) { display: flex; }
}

[data-chapter] { scroll-margin-top: calc(var(--top-h) + 28px); }

#main-content { scroll-margin-top: var(--top-h); }

/* ============================================================
   11. 页脚
   ============================================================ */
.site-foot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--deep);
  color: rgba(246, 247, 245, .86);
  border-top: 1px solid rgba(18, 24, 31, .25);
}
.site-foot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  background-image:
    repeating-linear-gradient(0deg, rgba(246, 247, 245, .05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(246, 247, 245, .05) 0 1px, transparent 1px 64px);
}

.foot-inner {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) var(--edge) 28px;
}

.foot-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(16px, 3vw, 48px);
  padding-bottom: clamp(24px, 4vw, 40px);
  border-bottom: 1px solid rgba(246, 247, 245, .16);
}

.foot-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-lockup__mark {
  width: 30px;
  height: 30px;
  flex: none;
}
.foot-lockup__mark::before {
  top: 8px;
  left: 7px;
  width: 12px;
  height: 12px;
}
.foot-lockup__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--gray-paper);
}

.foot-tagline {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .26em;
  color: rgba(246, 247, 245, .55);
}

.foot-legend {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(246, 247, 245, .6);
}
.foot-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.foot-legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-paper);
}
.foot-legend__dot--signal { background: var(--signal); }
.foot-legend__dot--mist { background: var(--mist); }

.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid rgba(246, 247, 245, .16);
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-legend { margin-left: 0; }
}

.foot-mod__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--gray-paper);
}
.foot-mod__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--signal);
  padding-right: 10px;
  border-right: 1px solid rgba(246, 247, 245, .24);
}

.foot-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(246, 247, 245, .78);
}
.foot-list__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.foot-list__item::before {
  content: "";
  flex: none;
  width: 10px;
  height: 1px;
  background: var(--mist);
  transform: translateY(-4px);
}
.foot-list--index .foot-list__item::before {
  content: attr(data-n);
  width: 20px;
  height: auto;
  background: none;
  transform: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--mist);
}

.foot-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 90, 31, .35);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--signal);
  transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.foot-link::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 12px;
}
.foot-link:hover {
  border-color: var(--signal);
  gap: 14px;
}

.screen-pair {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 54px;
  margin-bottom: 18px;
}
.screen-pair__screen {
  position: relative;
  border: 1px solid rgba(246, 247, 245, .42);
  border-radius: 2px;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(246, 247, 245, .16) 0 1px,
    transparent 1px 9px
  );
}
.screen-pair__screen--wide {
  width: 66%;
  height: 100%;
}
.screen-pair__screen--narrow {
  width: 32%;
  height: 78%;
  border-color: var(--signal);
}
.screen-pair__screen--narrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 1px;
  height: 58%;
  background: var(--signal);
  opacity: .75;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.contact-row__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(246, 247, 245, .55);
}
.contact-row__val {
  color: var(--gray-paper);
  line-height: 1.5;
  word-break: break-word;
}

.copy-btn {
  padding: 4px 8px;
  border: 1px solid rgba(246, 247, 245, .28);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: rgba(246, 247, 245, .72);
  transition: color .2s var(--ease), border-color .2s var(--ease),
              background .2s var(--ease);
}
.copy-btn:hover {
  color: var(--signal);
  border-color: var(--signal);
}
.copy-btn.is-copied {
  color: var(--ink);
  background: var(--signal-soft);
  border-color: var(--signal-soft);
}

.foot-note {
  margin-top: 14px;
  max-width: 32em;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(246, 247, 245, .58);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-top: 22px;
  font-size: 12px;
  color: rgba(246, 247, 245, .6);
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.foot-legal__link {
  position: relative;
  padding-bottom: 2px;
  transition: color .2s var(--ease);
}
.foot-legal__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--signal);
  transition: width .22s var(--ease);
}
.foot-legal__link:hover { color: var(--gray-paper); }
.foot-legal__link:hover::after { width: 100%; }

.foot-icp,
.foot-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
}
.foot-copy { margin-left: auto; }

@media (max-width: 720px) {
  .foot-copy {
    margin-left: 0;
    width: 100%;
  }
}

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

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

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

  .frame-rail { transition: none; }
  .card:hover { transform: none; }
  .btn:hover::after { transform: none; }
}
