/* =========================================================
   亚投代理中心 · 共享站点样式 /assets/site.css
   1 重置与基础  2 变量  3 排版  4 布局  5 按钮  6 标签卡片
   7 图像容器  8 定位与面包屑  9 页头  10 页脚
   11 交互协议  12 响应式  13 动效降级
   ========================================================= */

/* ---------- 1 重置与基础 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #0E1633;
  background-image:
    radial-gradient(120% 80% at 88% -12%, rgba(46, 68, 130, 0.58) 0%, rgba(14, 22, 51, 0) 62%),
    radial-gradient(95% 62% at -10% 108%, rgba(201, 162, 39, 0.14) 0%, rgba(14, 22, 51, 0) 58%),
    repeating-linear-gradient(0deg, rgba(154, 163, 188, 0.045) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(90deg, rgba(154, 163, 188, 0.045) 0 1px, transparent 1px 96px);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  color: #F3F1E9;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

img { height: auto; border: 0; }

a { color: inherit; }

button { font: inherit; color: inherit; }

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

:where(a, button, [tabindex], summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

#main-content { display: block; }

.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;
}

/* ---------- 2 变量 ---------- */
:root {
  --ink: #0E1633;
  --panel: #1B2A5B;
  --line: #2E4482;
  --gold: #C9A227;
  --gold-soft: #E4C766;
  --snow: #F3F1E9;
  --paper: #EDE6D6;
  --ember: #D2691E;
  --char: #1F1D1A;
  --mist: #9AA3BC;

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --w-max: 1240px;
  --w-wide: 1400px;
  --gutter: clamp(16px, 4vw, 40px);
  --gap: clamp(16px, 2.4vw, 32px);
  --border: 2px;
  --hard: 5px 5px 0 0 var(--line);
  --hard-strong: 7px 7px 0 0 var(--line);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3 排版 ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 0.4em;
  text-wrap: balance;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: 0;
  margin: 0 0 0.5em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

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

.lede {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.8;
  color: var(--mist);
  max-width: 34em;
}

.prose {
  max-width: 34em;
  line-height: 1.8;
}

.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }

.prose h2,
.prose h3 { margin-top: 1.8em; }

.prose ul,
.prose ol {
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
}

.prose ul li,
.prose ol li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 0.5em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.prose a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.prose strong { font-weight: 700; }

.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.pullquote {
  margin: 0;
  padding: 22px 24px;
  background: var(--paper);
  color: var(--char);
  border-left: 6px solid var(--ember);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.75;
}

/* ---------- 4 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 820px; }

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

.section--tight { padding-block: clamp(28px, 4vw, 52px); }

.section--snow { background: var(--snow); color: var(--char); }
.section--paper { background: var(--paper); color: var(--char); }
.section--panel { background: var(--panel); }

.section--snow .lede,
.section--paper .lede { color: #4A4C55; }

.section--snow .eyebrow,
.section--paper .eyebrow { color: #8A6A10; }

.section--snow .eyebrow::before,
.section--paper .eyebrow::before { background: #8A6A10; }

.grid {
  display: grid;
  gap: var(--gap);
}

.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

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

.stack > * + * { margin-top: var(--gap); }

.rule {
  height: 2px;
  border: 0;
  margin: 0;
  background: var(--line);
}

.section-head { margin-bottom: clamp(24px, 3.5vw, 44px); }

.section-head > * + * { margin-top: 0.8em; }

/* ---------- 5 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  min-width: 44px;
  padding: 0.75em 1.5em;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: var(--border) solid var(--line);
  border-radius: 2px;
  background: var(--panel);
  color: var(--snow);
  box-shadow: var(--hard);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--hard-strong);
  border-color: var(--gold);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 2px 2px 0 0 var(--line);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold-soft);
  color: var(--ink);
  box-shadow: 5px 5px 0 0 var(--line);
}

.btn--gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 5px 5px 0 0 rgba(201, 162, 39, 0.28);
}

.btn--ghost:hover {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 7px 7px 0 0 rgba(201, 162, 39, 0.45);
}

.btn--sm {
  min-height: 40px;
  padding: 0.45em 1em;
  font-size: 14px;
  box-shadow: 3px 3px 0 0 var(--line);
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.4;
  border-style: solid;
  cursor: not-allowed;
  transform: none;
  box-shadow: 3px 3px 0 0 var(--line);
}

/* ---------- 6 标签与卡片 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.2em 0.65em;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--mist);
  background: rgba(27, 42, 91, 0.65);
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
}

.tag--gold {
  color: var(--gold-soft);
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.12);
}

.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--panel);
  color: var(--snow);
  border: var(--border) solid var(--line);
  border-radius: 2px;
  box-shadow: var(--hard);
}

.card--paper {
  background: var(--paper);
  color: var(--char);
  border-color: var(--char);
  box-shadow: 5px 5px 0 0 rgba(31, 29, 26, 0.85);
}

.card--snow {
  background: var(--snow);
  color: var(--char);
  border-color: var(--line);
  box-shadow: 5px 5px 0 0 rgba(46, 68, 130, 0.6);
}

.card--lift {
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.card--lift:hover {
  transform: translateY(-2px);
  box-shadow: var(--hard-strong);
  border-color: var(--gold);
}

/* ---------- 7 图像容器 ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: var(--border) solid var(--line);
  border-radius: 2px;
  box-shadow: 6px 6px 0 0 rgba(46, 68, 130, 0.55);
  background-color: var(--panel);
  background-image:
    repeating-linear-gradient(135deg, rgba(46, 68, 130, 0.38) 0 2px, rgba(27, 42, 91, 0) 2px 12px),
    radial-gradient(90% 80% at 20% 10%, rgba(201, 162, 39, 0.18) 0%, rgba(14, 22, 51, 0) 60%),
    linear-gradient(160deg, #1B2A5B 0%, #0E1633 100%);
}

.media img,
.media picture,
.media svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media__tag {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 6px 12px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.figure { margin: 0; }

.figure figcaption {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 8 定位与面包屑 ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 2px solid var(--ink);
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.breadcrumb { padding-block: 18px 0; }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.breadcrumb li::after {
  content: "/";
  margin-left: 0.6em;
  color: var(--line);
}

.breadcrumb li:last-child::after { content: ""; }

.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.breadcrumb a:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-soft);
}

.breadcrumb [aria-current="page"] { color: var(--snow); }

/* ---------- 9 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--ink);
  border-bottom: 2px solid var(--line);
  box-shadow: 0 5px 0 0 rgba(0, 0, 0, 0.42);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 56px auto 1fr auto;
  grid-template-areas: "rail brand . nav";
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  max-width: var(--w-wide);
  min-height: 88px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.header-rail {
  grid-area: rail;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-right: 10px;
  border-right: 2px solid var(--line);
  font-family: var(--font-mono);
  color: var(--mist);
}

.rail-word {
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.3em;
}

.rail-num {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  text-decoration: none;
  color: var(--snow);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  border: 2px solid var(--gold-soft);
  border-radius: 2px;
  box-shadow: 3px 3px 0 0 var(--line);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.brand:hover .brand-mark {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 0 var(--line);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--snow);
}

.brand-tag {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.site-nav {
  grid-area: nav;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--snow);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}

.nav-link:hover { color: var(--gold-soft); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--gold);
  font-weight: 700;
}

.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--gold);
  background: transparent;
  border: 2px solid var(--gold);
  border-radius: 2px;
  box-shadow: 3px 3px 0 0 rgba(201, 162, 39, 0.28);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 0 rgba(201, 162, 39, 0.42);
}

.nav-toggle {
  grid-area: toggle;
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  background: transparent;
  color: var(--snow);
  border: 2px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}

.nav-toggle-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: background-color 0.18s var(--ease);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), top 0.22s var(--ease);
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  overflow: hidden;
  background: rgba(46, 68, 130, 0.55);
  pointer-events: none;
}

.header-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.12s linear;
}

/* ---------- 10 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--snow);
  border-top: 2px solid var(--gold);
}

.footer-inner {
  width: 100%;
  max-width: var(--w-wide);
  margin-inline: auto;
  padding: clamp(36px, 6vw, 72px) var(--gutter) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.55fr);
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid rgba(46, 68, 130, 0.9);
}

.footer-kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-wordmark {
  margin: 0 0 0.4em;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--snow);
}

.footer-signoff {
  margin: 0;
  max-width: 26em;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.footer-col-title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border-bottom: 2px solid var(--line);
}

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

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  color: var(--snow);
  opacity: 0.86;
  text-decoration: none;
  transition: color 0.16s var(--ease), opacity 0.16s var(--ease), padding-left 0.16s var(--ease);
}

.footer-link:hover {
  color: var(--gold-soft);
  opacity: 1;
  padding-left: 6px;
}

.footer-note {
  margin: 14px 0 0;
  max-width: 24em;
  font-size: 13px;
  line-height: 1.75;
  color: var(--mist);
}

.footer-email {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--snow);
  word-break: break-all;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 32px;
  margin-left: 8px;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  vertical-align: middle;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.copy-btn:hover,
.copy-btn[data-copied] {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 24px 20px;
  border-top: 1px solid rgba(46, 68, 130, 0.9);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.8;
  color: var(--mist);
}

.footer-contact,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 6px;
  margin: 0;
}

.footer-legal { color: rgba(154, 163, 188, 0.8); }

/* ---------- 11 交互协议 ---------- */
[data-js="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

[data-js="on"] [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

[data-expandable] {
  overflow: hidden;
  max-height: 90rem;
  opacity: 1;
  visibility: visible;
  transition: max-height 0.26s ease-out, opacity 0.26s ease-out, visibility 0.26s;
}

[data-expandable][data-collapsed] {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}

.qa-item {
  border: 2px solid var(--line);
  border-radius: 2px;
  background: var(--panel);
  box-shadow: var(--hard);
}

.qa-item + .qa-item { margin-top: var(--gap); }

.qa-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  color: var(--snow);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.qa-trigger::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--gold);
}

.qa-trigger[aria-expanded="true"]::after { content: "−"; }

.qa-trigger:hover { color: var(--gold-soft); }

.qa-panel {
  padding: 0 20px 18px;
  color: var(--mist);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* ---------- 12 响应式 ---------- */
@media (max-width: 1200px) {
  .nav-list { gap: 10px; }
  .nav-link { font-size: 13px; }
  .nav-cta { font-size: 12px; padding: 0 12px; }
}

@media (max-width: 1024px) {
  html { scroll-padding-top: 84px; }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand toggle";
    min-height: 68px;
    gap: 12px;
  }

  .header-rail { display: none; }
  .brand-tag { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    justify-self: stretch;
    max-height: 0;
    padding: 0 clamp(16px, 4vw, 28px);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background: var(--panel);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 8px 0 0 rgba(0, 0, 0, 0.42);
    transition: max-height 0.3s var(--ease), opacity 0.2s var(--ease),
      padding 0.3s var(--ease), visibility 0.3s;
  }

  .site-nav[data-open] {
    max-height: 78vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    padding: 10px clamp(16px, 4vw, 28px) 22px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li { border-bottom: 1px solid rgba(46, 68, 130, 0.9); }

  .nav-link {
    justify-content: flex-start;
    min-height: 54px;
    padding: 0 6px;
    font-size: 16px;
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    box-shadow: inset 4px 0 0 0 var(--gold);
    padding-left: 14px;
  }

  .nav-cta {
    width: 100%;
    min-height: 50px;
    margin-top: 18px;
    font-size: 14px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .grid--12 { grid-template-columns: minmax(0, 1fr); }
  .grid--12 > [class*="span-"] { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .brand-mark { width: 40px; height: 40px; font-size: 19px; }

  .brand { gap: 10px; }

  .section { padding-block: clamp(36px, 9vw, 56px); }

  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .media { box-shadow: 4px 4px 0 0 rgba(46, 68, 130, 0.55); }
}

@media (max-width: 380px) {
  .nav-toggle-label { display: none; }
}

/* ---------- 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: 0ms !important;
  }

  [data-js="on"] [data-reveal],
  [data-js="on"] [data-reveal].is-in {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-expandable][data-collapsed] {
    visibility: visible;
    opacity: 1;
    max-height: 0;
  }
}
