/* ============================================================
   华体主页 · 共享样式 /assets/site.css
   台账式信息台：墨蓝分区、纸白承载、荧青命中、橙编号
   ============================================================ */

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

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

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

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

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

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

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

table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(11, 26, 46, .35);
  border-radius: 4px;
}

/* ---------- 2. 变量 ---------- */
:root {
  /* 色彩 */
  --ink-900: #0B1A2E;
  --ink-700: #16304F;
  --ink-500: #2A4A6B;
  --paper-050: #F5F7F9;
  --paper-100: #E4EAF0;
  --cyan-400: #00E5C0;
  --cyan-700: #00806B;
  --orange-500: #FF5A1F;
  --orange-700: #C43A00;
  --gray-600: #4E5F70;
  --white: #FFFFFF;

  --hair: rgba(42, 74, 107, .40);
  --hair-soft: rgba(42, 74, 107, .20);
  --hair-light: rgba(245, 247, 249, .18);
  --hair-light-soft: rgba(245, 247, 249, .10);

  /* 字体 */
  --font-display: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", Georgia, "Times New Roman", serif;
  --font-ui: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* 字号阶梯 84/64/44/32/24/19/17/15/13 */
  --fs-84: clamp(40px, 6.2vw, 84px);
  --fs-64: clamp(34px, 4.8vw, 64px);
  --fs-44: clamp(28px, 3.6vw, 44px);
  --fs-32: clamp(23px, 2.5vw, 32px);
  --fs-24: clamp(20px, 1.9vw, 24px);
  --fs-19: 19px;
  --fs-17: 17px;
  --fs-15: 15px;
  --fs-13: 13px;

  /* 尺度 */
  --shell: 1360px;
  --gutter: clamp(16px, 3.2vw, 44px);
  --gap: clamp(16px, 2vw, 28px);
  --r-card: 18px;
  --r-pill: 999px;
  --ease: cubic-bezier(.22, .68, .25, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-ui);
  font-size: var(--fs-17);
  line-height: 1.75;
  color: var(--ink-900);
  background-color: var(--paper-050);
  background-image: radial-gradient(circle at 18% 0%, rgba(0, 229, 192, .07), transparent 42%),
                    radial-gradient(circle at 92% 8%, rgba(255, 90, 31, .06), transparent 38%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }

p { text-wrap: pretty; }

::selection { background: var(--cyan-400); color: var(--ink-900); }

.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 92%;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--ink-900);
}

.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.prose { max-width: 34em; }
.prose > * + * { margin-top: 1em; }
.prose strong { color: var(--ink-900); font-weight: 700; }
.prose a { color: var(--cyan-700); border-bottom: 1px solid rgba(0, 128, 107, .4); }
.prose a:hover { border-bottom-color: var(--cyan-700); }

.divider { height: 1px; border: 0; background: var(--hair); }

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 400;
  padding: 10px 20px;
  font-size: var(--fs-15);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--paper-050);
  background: var(--ink-900);
  border-radius: 0 0 14px 14px;
  transition: top .16s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 5. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  padding: 14px var(--gutter) 6px;
  pointer-events: none;
}

.scroll-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(11, 26, 46, .10);
  z-index: 130;
  pointer-events: none;
}
.scroll-rail-fill {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan-400), var(--orange-500));
  transition: transform .1s linear;
}

.nav-shell {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 26px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 9px 12px 9px 16px;
  color: var(--paper-050);
  background: rgba(11, 26, 46, .90);
  border: 1px solid rgba(42, 74, 107, .80);
  border-radius: var(--r-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .2s var(--ease), padding .2s var(--ease),
              box-shadow .2s var(--ease), border-color .2s var(--ease);
}

.site-header[data-compact="true"] .nav-shell {
  background: var(--ink-900);
  border-color: var(--ink-500);
  padding: 5px 10px 5px 14px;
  box-shadow: 0 18px 36px -24px rgba(11, 26, 46, .95);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 2px 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: var(--fs-19);
  font-weight: 900;
  color: var(--ink-900);
  background: var(--cyan-400);
  border-radius: 10px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.brand:hover .brand-mark { background: var(--orange-500); color: var(--white); }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-display);
  font-size: var(--fs-19);
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--paper-050);
}
.brand-line {
  font-size: 11px;
  letter-spacing: .10em;
  color: rgba(228, 234, 240, .68);
  white-space: nowrap;
}

/* 导航 */
.primary-nav { flex: 1 1 auto; display: flex; justify-content: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, 16px);
  flex-wrap: nowrap;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: .38em;
  padding: 8px 7px;
  font-size: var(--fs-13);
  font-weight: 700;
  letter-spacing: .07em;
  color: rgba(228, 234, 240, .86);
  border-radius: 10px;
  white-space: nowrap;
  transition: color .16s var(--ease), background .16s var(--ease);
}
.nav-link:hover { color: var(--cyan-400); }

.nav-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  color: rgba(0, 229, 192, .78);
}

.nav-link[aria-current="page"] { color: var(--cyan-400); }
.nav-link[aria-current="page"] .nav-num { color: var(--cyan-400); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan-400);
}

/* 工具区 */
.nav-utility {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.version-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: rgba(228, 234, 240, .82);
  padding: 4px 9px;
  border: 1px solid var(--hair-light);
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.site-header[data-compact="true"] .version-chip {
  color: var(--cyan-400);
  border-color: rgba(0, 229, 192, .55);
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--paper-050);
  border: 1px solid var(--hair-light);
  border-radius: 12px;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan-400); }
.nav-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. 按钮 ---------- */
.btn {
  --btn-bg: var(--ink-700);
  --btn-fg: var(--paper-050);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .74em 1.2em;
  font-family: var(--font-ui);
  font-size: var(--fs-15);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .03em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease),
              border-color .16s var(--ease), transform .16s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--orange-500); --btn-fg: #FFFFFF; }
.btn--primary:hover { --btn-bg: var(--orange-700); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  border-color: var(--ink-500);
}
.btn--ghost:hover { --btn-bg: var(--ink-900); --btn-fg: var(--paper-050); border-color: var(--ink-900); }

.btn--quiet {
  --btn-bg: var(--paper-100);
  --btn-fg: var(--ink-700);
}
.btn--quiet:hover { --btn-bg: var(--paper-050); --btn-fg: var(--cyan-700); }

.btn--login {
  --btn-bg: var(--cyan-400);
  --btn-fg: var(--ink-900);
  font-size: var(--fs-13);
  padding: .62em 1.05em;
  letter-spacing: .05em;
}
.btn--login:hover { --btn-bg: var(--orange-500); --btn-fg: #FFFFFF; }

/* ---------- 7. 登录指引浮层 ---------- */
.login-veil {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(11, 26, 46, .74);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: auto;
  transition: opacity .16s var(--ease);
}
.login-veil[hidden] { display: none; }
.login-veil[data-open="true"] { opacity: 1; }

.login-card {
  position: relative;
  width: min(540px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(24px, 3.4vw, 38px);
  color: var(--ink-900);
  background: var(--white);
  border-top: 4px solid var(--orange-500);
  border-radius: var(--r-card);
  transform: translateX(12px);
  transition: transform .16s var(--ease);
}
.login-veil[data-open="true"] .login-card { transform: translateX(0); }

.login-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-700);
  background: var(--paper-100);
  border-radius: 50%;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.login-close:hover { background: var(--ink-900); color: var(--paper-050); }

.login-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: .14em;
  color: var(--orange-700);
}
.login-title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: var(--fs-32);
  font-weight: 900;
  line-height: 1.12;
}
.login-text {
  margin-top: 12px;
  font-size: var(--fs-15);
  line-height: 1.72;
  color: var(--gray-600);
}
.login-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--hair-soft);
  font-size: var(--fs-15);
  color: var(--ink-700);
}
.login-key {
  display: inline-block;
  min-width: 5.2em;
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: .02em;
  color: var(--cyan-700);
}
.login-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ---------- 8. 通用内容组件 ---------- */
.section { padding-block: clamp(44px, 6.5vw, 92px); }

.section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2vw, 30px);
  align-items: start;
  margin-bottom: clamp(22px, 3vw, 40px);
}

.section-num {
  font-family: var(--font-mono);
  font-size: var(--fs-32);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--orange-700);
  padding-top: .12em;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-44);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.01em;
}

.section-lead {
  margin-top: 10px;
  max-width: 34em;
  font-size: var(--fs-17);
  line-height: 1.75;
  color: var(--gray-600);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-ui);
  font-size: var(--fs-13);
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--cyan-700);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
}

/* 台账横条 */
.ledger {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: var(--hair);
  border-block: 1px solid var(--hair);
}
.ledger-item {
  padding: clamp(16px, 2.2vw, 26px) clamp(14px, 1.8vw, 22px);
  background: var(--paper-050);
}
.ledger-value {
  font-family: var(--font-mono);
  font-size: var(--fs-32);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--ink-900);
}
.ledger-label {
  margin-top: 8px;
  font-size: var(--fs-13);
  letter-spacing: .1em;
  color: var(--gray-600);
}

/* 资料卡 / 标签 / 面包屑 */
.panel {
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--white);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-card);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .42em;
  padding: 4px 11px;
  font-size: var(--fs-13);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink-700);
  background: var(--paper-100);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-pill);
}
.tag--num {
  font-family: var(--font-mono);
  letter-spacing: .02em;
  color: #FFFFFF;
  background: var(--orange-500);
  border-color: transparent;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45em;
  padding-block: 18px;
  font-size: var(--fs-13);
  letter-spacing: .06em;
  color: var(--gray-600);
}
.crumb li { display: inline-flex; align-items: center; gap: .45em; }
.crumb li::after { content: "/"; color: var(--ink-500); opacity: .6; }
.crumb li:last-child::after { content: none; }
.crumb a { color: var(--ink-700); border-bottom: 1px solid var(--hair-soft); }
.crumb a:hover { color: var(--cyan-700); border-bottom-color: var(--cyan-700); }

/* 12 栅格 */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* 图片容器基础规则 */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--ink-700);
  border: 1px solid var(--hair-soft);
}
.media-frame img,
.media-frame svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--2u { aspect-ratio: 2 / 1; }
.media-frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  font-size: var(--fs-13);
  letter-spacing: .04em;
  color: var(--paper-050);
  background: linear-gradient(to top, rgba(11, 26, 46, .90), rgba(11, 26, 46, 0));
}

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

/* 深色分区通用 */
.band--ink {
  background: var(--ink-900);
  color: var(--paper-050);
}
.band--ink .section-title,
.band--ink .display { color: var(--paper-050); }
.band--ink .section-lead { color: rgba(228, 234, 240, .78); }
.band--ink .section-num { color: var(--orange-500); }
.band--ink .ledger { background: var(--hair-light); border-color: var(--hair-light); }
.band--ink .ledger-item { background: var(--ink-900); }
.band--ink .ledger-value { color: var(--paper-050); }
.band--ink .ledger-label { color: rgba(228, 234, 240, .68); }
.band--ink .eyebrow { color: var(--cyan-400); }
.band--ink .panel {
  background: var(--ink-700);
  border-color: var(--hair-light);
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(52px, 8vw, 110px);
  color: var(--paper-100);
  background: var(--ink-900);
}
.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-400), var(--orange-500) 55%, var(--cyan-400));
}

.footer-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 68px) var(--gutter) 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
}

.footer-brand-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-32);
  font-weight: 900;
  letter-spacing: .03em;
  color: var(--paper-050);
  border-bottom: 2px solid transparent;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.footer-brand-link:hover { color: var(--cyan-400); border-bottom-color: var(--cyan-400); }

.footer-tagline {
  margin-top: 12px;
  font-size: var(--fs-15);
  line-height: 1.7;
  color: rgba(228, 234, 240, .80);
}

.footer-meta {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: .02em;
  color: var(--cyan-400);
}

.footer-col-title {
  margin-bottom: 14px;
  font-size: var(--fs-13);
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--cyan-400);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-link {
  display: inline-block;
  font-size: var(--fs-15);
  color: rgba(228, 234, 240, .86);
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.footer-link:hover { color: var(--cyan-400); border-bottom-color: rgba(0, 229, 192, .6); }

.footer-contact {
  margin-top: clamp(30px, 4vw, 54px);
  padding-top: 26px;
  border-top: 1px solid var(--hair-light);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 32px;
}

.footer-label {
  display: block;
  margin-bottom: 5px;
  font-size: var(--fs-13);
  letter-spacing: .12em;
  color: rgba(228, 234, 240, .60);
}
.footer-value {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-15);
  line-height: 1.6;
  color: var(--paper-050);
  word-break: break-word;
}
.footer-note {
  grid-column: 1 / -1;
  font-size: var(--fs-13);
  line-height: 1.7;
  color: rgba(228, 234, 240, .62);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--hair-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: var(--fs-13);
  color: rgba(228, 234, 240, .74);
}
.footer-copy { font-family: var(--font-mono); letter-spacing: .02em; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal .footer-link { font-size: var(--fs-13); }
.footer-icp { font-family: var(--font-mono); letter-spacing: .02em; color: rgba(228, 234, 240, .70); }

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1240px) {
  .nav-num { display: none; }
  .brand-line { display: none; }
}

@media (max-width: 1080px) {
  .version-chip { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .site-header { padding: 10px var(--gutter) 4px; }

  .nav-shell {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 10px 8px 14px;
    border-radius: 22px;
  }
  .site-header[data-compact="true"] .nav-shell { padding: 8px 10px 8px 14px; }

  .brand-name { font-size: var(--fs-17); }
  .brand-mark { width: 30px; height: 30px; font-size: var(--fs-17); }

  .nav-toggle { display: inline-flex; margin-left: auto; }

  .nav-utility { gap: 8px; }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: block;
    padding: 8px;
    background: var(--ink-900);
    border: 1px solid rgba(42, 74, 107, .9);
    border-radius: 20px;
    box-shadow: 0 24px 48px -30px rgba(0, 0, 0, .9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s var(--ease);
  }
  .primary-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link {
    justify-content: flex-start;
    padding: 12px 14px;
    font-size: var(--fs-15);
    border-radius: 12px;
  }
  .nav-num { display: inline; font-size: 12px; }
  .nav-link[aria-current="page"] { background: rgba(0, 229, 192, .12); }
  .nav-link[aria-current="page"]::after { content: none; }

  .section-head { grid-template-columns: 1fr; gap: 10px; }
  .section-num { font-size: var(--fs-24); padding-top: 0; }

  .col-4, .col-6, .col-8 { grid-column: span 12; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 620px) {
  body { font-size: var(--fs-15); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-contact { grid-template-columns: 1fr; }
  .ledger-value { font-size: var(--fs-24); }
  .btn { width: 100%; }
  .nav-utility .btn--login { width: auto; }
  .login-actions .btn { width: 100%; }
}

/* ---------- 11. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .has-js [data-reveal] { opacity: 1; transform: none; }
  .login-card { transform: none; }
}
