/* ============================================================
   汇赢国际 · 共享站点样式 /assets/site.css
   视觉母题：整理过的服务台账 —— 轨道、刻度、索引、对账
   ============================================================ */

:root {
  /* 主色 */
  --frost: #F5F8FB;
  --deep: #103B5C;
  --ice: #C9DEEB;
  --slate: #5D7380;
  --amber: #D78A2C;
  --amber-soft: #F3C983;
  --ink: #0B1A24;
  --glass: #E3EFF6;
  --green: #2F7D6B;

  /* 衍生 */
  --surface: #FFFFFF;
  --line: rgba(11, 26, 36, 0.12);
  --line-soft: rgba(11, 26, 36, 0.08);
  --line-strong: rgba(11, 26, 36, 0.24);
  --line-dark: rgba(201, 222, 235, 0.16);

  /* 字体 */
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Microsoft YaHei", "Heiti SC", sans-serif;
  --font-head: "Source Han Sans CN", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 度量 */
  --maxw: 1400px;
  --gutter: clamp(18px, 3vw, 40px);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-1: 0 1px 2px rgba(11, 26, 36, 0.05), 0 14px 32px -24px rgba(11, 26, 36, 0.45);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  margin: 0;
  background-color: var(--frost);
  background-image:
    linear-gradient(180deg, rgba(201, 222, 235, 0.34) 0, rgba(245, 248, 251, 0) 320px);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.78;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

img { height: auto; border: 0; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

ul,
ol { margin: 0; padding: 0; }

a { color: var(--deep); }

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

/* ---------------- 中文排版 ---------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.14;
}

h2 {
  font-size: clamp(23px, 2.7vw, 34px);
  letter-spacing: -0.018em;
}

h3 { font-size: clamp(18px, 1.7vw, 24px); }
h4 { font-size: clamp(16px, 1.3vw, 19px); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

small { font-size: 13px; }

strong { font-weight: 700; }

.visually-hidden {
  position: absolute !important;
  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;
}

/* ---------------- 跳转链接 ---------------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-180%);
  padding: 11px 20px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px -12px rgba(11, 26, 36, 0.7);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ============================================================
   头部
   ============================================================ */
.site-header {
  position: relative;
  z-index: 60;
  background: var(--deep);
  isolation: isolate;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(215, 138, 44, 0.62) 0 1px,
    transparent 1px 18px
  );
  opacity: 0.42;
  pointer-events: none;
}

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

/* ---- 上层：品牌轨道 ---- */
.header-brand-row {
  background: var(--glass);
  border-bottom: 1px solid var(--line-soft);
}

.header-brand-row .header-shell {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 24px);
  min-height: 72px;
  padding-block: 12px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--deep);
  color: var(--frost);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  border-radius: 5px;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--amber);
}

.brand-words {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.brand-sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--slate);
}

.version-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px 7px 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(16, 59, 92, 0.18);
  border-radius: 999px;
}

.version-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 125, 107, 0.16);
  animation: versionPulse 3.2s var(--ease) infinite;
}

@keyframes versionPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(47, 125, 107, 0.16); }
  50% { box-shadow: 0 0 0 6px rgba(47, 125, 107, 0.05); }
}

.rail-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rail-link {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--deep);
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(16, 59, 92, 0.24);
  border-radius: 999px;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.rail-link:hover,
.rail-link:focus-visible {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

/* ---- 移动导航按钮 ---- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 14px;
  background: var(--deep);
  color: var(--frost);
  border: 1px solid var(--deep);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.nav-toggle:hover { background: var(--ink); border-color: var(--ink); }

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

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

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

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

/* ---- 下层：坐标索引导航 ---- */
.site-nav {
  display: grid;
  grid-template-rows: 1fr;
  background: var(--deep);
}

.nav-clip { min-height: 0; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: nav-idx;
}

.nav-list > li {
  display: flex;
  counter-increment: nav-idx;
}

.nav-list > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 16px 16px 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--ice);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.nav-list > li > a::before {
  content: counter(nav-idx, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(201, 222, 235, 0.45);
  transition: color 0.18s var(--ease);
}

.nav-list > li > a:hover {
  color: #FFFFFF;
  background: rgba(201, 222, 235, 0.09);
}

.nav-list > li > a:hover::before { color: var(--amber-soft); }

.nav-list > li > a[aria-current="page"] {
  color: var(--amber);
  background: rgba(215, 138, 44, 0.1);
  border-bottom-color: var(--amber);
}

.nav-list > li > a[aria-current="page"]::before { color: var(--amber-soft); }

.nav-meta {
  display: none;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(201, 222, 235, 0.58);
  white-space: nowrap;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  padding-top: clamp(36px, 5vw, 64px);
  background: var(--ink);
  color: var(--ice);
  border-top: 1px solid rgba(215, 138, 44, 0.38);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) minmax(160px, 0.75fr) minmax(280px, 1.55fr);
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand { min-width: 0; }

.footer-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
  color: var(--frost);
}

.footer-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.footer-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-tagline {
  margin: 0 0 18px;
  max-width: 26em;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(201, 222, 235, 0.78);
}

.footer-tel {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--amber-soft);
}

.footer-tel-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(201, 222, 235, 0.5);
}

.footer-col { min-width: 0; }

.footer-heading {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2em;
  color: rgba(201, 222, 235, 0.52);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
}

.footer-links a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ice);
  text-decoration: none;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--amber-soft);
  transform: translateX(3px);
}

.footer-dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-dl-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.footer-dl dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(201, 222, 235, 0.52);
}

.footer-dl dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ice);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.footer-note {
  margin: 18px 0 0;
  max-width: 46em;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(201, 222, 235, 0.56);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding-block: 22px 28px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(201, 222, 235, 0.6);
}

.footer-copy { margin: 0; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal a {
  color: rgba(201, 222, 235, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--amber-soft);
  border-bottom-color: var(--amber-soft);
}

.footer-icp {
  margin: 0;
  margin-inline-start: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: rgba(201, 222, 235, 0.55);
}

/* ============================================================
   通用布局与基础组件
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 960px; }
.container--tight { max-width: 740px; }

.section { padding-block: clamp(40px, 6vw, 80px); }
.section--tight { padding-block: clamp(24px, 3.5vw, 44px); }

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* 面板 */
.panel {
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.panel--glass {
  background: rgba(227, 239, 246, 0.74);
  border-color: rgba(16, 59, 92, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.panel--deep {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--ice);
}

.panel--deep h2,
.panel--deep h3 { color: var(--frost); }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}

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

.btn--primary {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--amber-soft);
  border-color: var(--amber-soft);
}

.btn--solid {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--frost);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(11, 26, 36, 0.3);
  color: var(--ink);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--glass);
  border-color: var(--deep);
  color: var(--deep);
}

.btn--quiet {
  background: transparent;
  border-color: rgba(201, 222, 235, 0.42);
  color: var(--ice);
}

.btn--quiet:hover,
.btn--quiet:focus-visible {
  border-color: var(--amber);
  color: var(--amber-soft);
}

/* 面包屑 */
.breadcrumb { margin-bottom: clamp(18px, 3vw, 28px); }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--slate);
}

.breadcrumb__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__list li:not(:last-child)::after {
  content: "/";
  color: rgba(93, 115, 128, 0.5);
}

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

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--deep);
  border-bottom-color: var(--amber);
}

.breadcrumb [aria-current="page"] {
  color: var(--deep);
  font-weight: 600;
}

/* 章节小标 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.4;
  color: var(--slate);
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 1px;
  background: var(--amber);
}

/* 状态标签 */
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
  white-space: nowrap;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.status-tag--ok {
  color: var(--green);
  background: rgba(47, 125, 107, 0.09);
}

.status-tag--warm {
  color: #8F5712;
  background: rgba(243, 201, 131, 0.34);
  border-color: rgba(215, 138, 44, 0.42);
}

.status-tag--mute {
  color: var(--slate);
  background: rgba(93, 115, 128, 0.09);
  border-color: rgba(93, 115, 128, 0.32);
}

/* 等宽数字 */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

/* 图片容器基础（页面阶段放入 img / picture） */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--ice);
  border-radius: var(--radius-lg);
}

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

.media-frame > img {
  filter: saturate(0.84) contrast(1.04) brightness(1.02);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(11, 26, 36, 0.12);
  background: linear-gradient(180deg, rgba(16, 59, 92, 0) 56%, rgba(16, 59, 92, 0.24) 100%);
}

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

/* 长文 */
.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
}

.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.9em; margin-bottom: 0.55em; }
.prose h3 { margin-top: 1.5em; margin-bottom: 0.5em; }

.prose ul,
.prose ol { padding-left: 1.35em; }

.prose li { margin: 0.4em 0; }

.prose a {
  color: var(--deep);
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
  padding-bottom: 1px;
}

.prose a:hover,
.prose a:focus-visible { background: var(--amber-soft); }

.prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--amber);
  color: var(--slate);
}

/* 可展开内容组 */
.disclosure {
  border-bottom: 1px solid var(--line);
}

.disclosure__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 2px;
  background: none;
  border: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.18s var(--ease);
}

.disclosure__toggle:hover { color: var(--deep); }

.disclosure__title { min-width: 0; }

.disclosure__icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(16, 59, 92, 0.32);
  border-radius: 50%;
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.disclosure__icon::before,
.disclosure__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--deep);
  transform: translate(-50%, -50%);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.disclosure__icon::before { width: 9px; height: 1.5px; }
.disclosure__icon::after { width: 1.5px; height: 9px; }

.disclosure[data-open="true"] .disclosure__icon {
  border-color: var(--amber);
  background: var(--amber-soft);
}

.disclosure[data-open="true"] .disclosure__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.disclosure__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease);
}

.disclosure__inner {
  overflow: hidden;
  min-height: 0;
  padding-bottom: 0;
}

.disclosure[data-open="true"] .disclosure__panel { grid-template-rows: 1fr; }
.disclosure[data-open="true"] .disclosure__inner { padding-bottom: 20px; }

.disclosure__inner > *:first-child { margin-top: 0; }
.disclosure__inner > *:last-child { margin-bottom: 0; }

/* 入场显现 */
.reveal-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(14px);
}

[data-reveal] {
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

/* 滚动进度尺（JS 自动创建） */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber-soft) 100%);
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .nav-list > li > a { padding-inline: 12px; font-size: 14.5px; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .site-nav[data-open="true"] {
    grid-template-rows: 1fr;
    visibility: visible;
  }

  .nav-clip { overflow: hidden; }

  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 6px 18px;
  }

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

  .nav-list > li > a {
    width: 100%;
    padding: 14px 2px;
    font-size: 16px;
    border-bottom: 1px solid var(--line-dark);
    border-radius: 0;
  }

  .nav-list > li:last-child > a { border-bottom: 0; }

  .nav-list > li > a[aria-current="page"] {
    background: transparent;
    border-bottom-color: var(--amber);
  }

  .nav-meta {
    display: block;
    padding-top: 16px;
    white-space: normal;
  }
}

@media (max-width: 820px) {
  .version-chip { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .header-brand-row .header-shell { min-height: 64px; padding-block: 10px; }
  .brand-mark { flex-basis: 38px; width: 38px; height: 38px; font-size: 18px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 9.5px; letter-spacing: 0.14em; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col--contact { grid-column: auto; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-icp { margin-inline-start: 0; }
  .footer-dl-row { grid-template-columns: 46px minmax(0, 1fr); }
  .btn { width: 100%; }
}

@media (max-width: 560px) {
  .rail-links { display: none; }
}

/* ============================================================
   减少动效
   ============================================================ */
@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;
  }

  .version-dot { animation: none; }

  .site-nav,
  .disclosure__panel { transition: none; }

  .reveal-ready [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  [data-reveal] { transition: none; }

  .scroll-progress { display: none; }

  .footer-links a:hover,
  .footer-links a:focus-visible { transform: none; }
}
