/* ==========================================================================
   旭博综合 · 共享站点样式 / assets/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, h6,
p, figure, blockquote, dl, dd { margin: 0; }

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

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

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

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

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

/* ---------- 2. Tokens ---------- */
:root {
  --xb-navy-900: #0B1F3A;
  --xb-navy-700: #173A63;
  --xb-navy-100: #DCE6F2;
  --xb-orange: #FF6B2C;
  --xb-orange-deep: #C2410C;
  --xb-teal: #2EC4B6;
  --xb-rock: #5B6472;
  --xb-silver: #C9CED6;
  --xb-warm: #F7F3EC;
  --xb-cream: #EFE8DC;
  --xb-moss: #5C7A5A;
  --xb-clay: #B86B4B;

  --xb-ink: var(--xb-navy-900);
  --xb-ink-soft: var(--xb-rock);
  --xb-line: rgba(11, 31, 58, 0.10);
  --xb-line-soft: rgba(11, 31, 58, 0.06);
  --xb-line-dark: rgba(220, 230, 242, 0.16);

  --xb-font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --xb-font-num: "Space Grotesk", "Manrope", ui-monospace, SFMono-Regular, Menlo, monospace;

  --xb-r-sm: 8px;
  --xb-r-md: 16px;
  --xb-r-lg: 28px;
  --xb-r-pill: 999px;

  --xb-shadow-1: 0 1px 2px rgba(11, 31, 58, 0.05), 0 8px 20px -16px rgba(11, 31, 58, 0.38);
  --xb-shadow-2: 0 2px 4px rgba(11, 31, 58, 0.06), 0 22px 42px -26px rgba(11, 31, 58, 0.52);
  --xb-shadow-nav: 0 18px 40px -26px rgba(11, 31, 58, 0.85);

  --xb-max: 1200px;
  --xb-gutter: clamp(18px, 4.4vw, 44px);
}

/* ---------- 3. 中文排版基调 ---------- */
body {
  font-family: var(--xb-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--xb-ink);
  background-color: var(--xb-warm);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--xb-navy-900);
}

::selection {
  background: var(--xb-orange);
  color: var(--xb-navy-900);
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--xb-orange);
  outline-offset: 2px;
  border-radius: var(--xb-r-sm);
}

/* ---------- 4. 骨架与布局工具 ---------- */
.xb-container {
  width: 100%;
  max-width: var(--xb-max);
  margin-inline: auto;
  padding-inline: var(--xb-gutter);
}

.xb-section {
  padding-block: clamp(56px, 8vw, 112px);
}

.xb-section--tight {
  padding-block: clamp(32px, 5vw, 64px);
}

.xb-section--cream { background-color: var(--xb-cream); }

.xb-section--navy {
  background-color: var(--xb-navy-900);
  color: #E4ECF6;
}

.xb-section--navy h2,
.xb-section--navy h3,
.xb-section--navy h4 { color: #FFFFFF; }

.xb-section--navy .xb-lede,
.xb-section--navy .xb-note { color: rgba(220, 230, 242, 0.72); }

/* ---------- 5. 标题体系 ---------- */
.xb-h1 {
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.xb-h2 {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.18;
}

.xb-h3 {
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 800;
  line-height: 1.28;
}

.xb-lede {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.8;
  color: var(--xb-ink-soft);
  max-width: 62ch;
}

.xb-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--xb-rock);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--xb-clay);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.78em 1.4em;
  border: 1.5px solid transparent;
  border-radius: var(--xb-r-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.18s ease,
              box-shadow 0.18s ease;
}

.btn--primary {
  background-color: var(--xb-orange);
  border-color: var(--xb-orange);
  color: var(--xb-navy-900);
  box-shadow: 0 10px 22px -16px rgba(255, 107, 44, 1);
}

.btn--primary:hover {
  background-color: #FF8347;
  border-color: #FF8347;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -16px rgba(255, 107, 44, 1);
}

.btn--ghost {
  background-color: transparent;
  border-color: rgba(11, 31, 58, 0.24);
  color: var(--xb-navy-900);
}

.btn--ghost:hover {
  background-color: var(--xb-navy-100);
  border-color: var(--xb-navy-700);
}

.btn--onDark {
  background-color: transparent;
  border-color: rgba(220, 230, 242, 0.32);
  color: #E4ECF6;
}

.btn--onDark:hover {
  background-color: rgba(220, 230, 242, 0.12);
  border-color: rgba(220, 230, 242, 0.7);
  color: #FFFFFF;
}

/* ---------- 7. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 140;
  padding: 12px 24px;
  border-radius: var(--xb-r-pill);
  background-color: var(--xb-orange);
  color: var(--xb-navy-900);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transform: translate(-50%, -180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* ---------- 8. 页头：悬浮胶囊浮岛 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 14px var(--xb-gutter) 0;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 22px);
  width: 100%;
  max-width: var(--xb-max);
  margin-inline: auto;
  padding: 9px 10px 9px 18px;
  border: 1px solid var(--xb-line-dark);
  border-radius: var(--xb-r-pill);
  background-color: var(--xb-navy-900);
  background-image: linear-gradient(100deg, rgba(255, 107, 44, 0.16), transparent 46%);
  color: #FFFFFF;
  box-shadow: var(--xb-shadow-nav);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background-image: linear-gradient(140deg, var(--xb-orange), #FFA070);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background-color: var(--xb-navy-900);
}

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

.brand-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.brand-descriptor {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(220, 230, 242, 0.62);
  white-space: nowrap;
}

.nav-capsule {
  display: flex;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

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

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 12px;
  border-radius: var(--xb-r-pill);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(232, 238, 246, 0.76);
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background-color: var(--xb-orange);
  transform: translateX(-50%);
  transition: width 0.18s ease;
}

.nav-link:hover {
  color: #FFFFFF;
  background-color: rgba(220, 230, 242, 0.1);
}

.nav-link:hover::after { width: 16px; }

.nav-link[aria-current="page"] {
  color: #FFFFFF;
  font-weight: 700;
  background-color: rgba(255, 107, 44, 0.16);
}

.nav-link[aria-current="page"]::after { width: 16px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.header-cta { padding: 0.72em 1.15em; }

.header-secondary { padding: 0.7em 1em; font-size: 13px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(220, 230, 242, 0.3);
  border-radius: var(--xb-r-pill);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.nav-toggle:hover { background-color: rgba(220, 230, 242, 0.12); }

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

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

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

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

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

/* ---------- 9. 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 90;
  pointer-events: none;
  background-color: rgba(11, 31, 58, 0.08);
}

.scroll-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background-image: linear-gradient(90deg, var(--xb-orange), var(--xb-teal));
  transition: width 0.1s linear;
}

/* ---------- 10. 页脚：地质分层 ---------- */
.site-footer {
  margin-top: clamp(56px, 9vw, 128px);
  padding-top: 5px;
  background-color: var(--xb-navy-900);
  background-image: linear-gradient(90deg, var(--xb-orange), var(--xb-teal) 52%, var(--xb-moss));
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: top center;
  color: #DCE6F2;
  font-size: 14px;
}

.footer-inner {
  width: 100%;
  max-width: var(--xb-max);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) var(--xb-gutter) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(32px, 4.5vw, 56px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand-name {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #FFFFFF;
}

.footer-tagline {
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(220, 230, 242, 0.68);
}

.footer-cta { margin-top: 4px; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 44px);
}

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

.footer-col-title {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(220, 230, 242, 0.5);
}

.footer-links li { margin-bottom: 2px; }

.footer-links a {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  color: rgba(220, 230, 242, 0.76);
  transition: color 0.16s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 1px;
  background-color: var(--xb-orange);
  transition: width 0.18s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible { color: #FFFFFF; }

.footer-links a:hover::after,
.footer-links a:focus-visible::after { width: 100%; }

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 0;
  border-bottom: 1px solid var(--xb-line-dark);
}

.footer-contact-item:last-child { border-bottom: 0; }

.footer-contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(220, 230, 242, 0.46);
}

.footer-contact-value {
  font-family: var(--xb-font-num);
  font-size: 14px;
  line-height: 1.6;
  color: #EFF4FA;
  word-break: break-word;
}

.footer-contact-item:last-child .footer-contact-value { font-family: var(--xb-font-body); }

.footer-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(220, 230, 242, 0.48);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 22px 26px;
  border-top: 1px solid var(--xb-line-dark);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(220, 230, 242, 0.56);
}

.footer-legal { letter-spacing: 0.02em; }

.footer-icp {
  font-family: var(--xb-font-num);
  letter-spacing: 0.04em;
}

/* ---------- 11. 面包屑 ---------- */
.breadcrumbs {
  padding-block: clamp(16px, 2.2vw, 26px);
  font-size: 13px;
  color: var(--xb-rock);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45em;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--xb-silver);
}

.breadcrumbs a {
  color: var(--xb-navy-700);
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.breadcrumbs a:hover {
  color: var(--xb-orange-deep);
  border-bottom-color: currentColor;
}

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

/* ---------- 12. 网格 ---------- */
.xb-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.xb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xb-grid--2-1 { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }

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

@media (max-width: 600px) {
  .xb-grid,
  .xb-grid--2,
  .xb-grid--3,
  .xb-grid--2-1 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 13. 卡片 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--xb-line);
  border-radius: var(--xb-r-md);
  background-color: #FFFFFF;
  box-shadow: var(--xb-shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 44, 0.42);
  box-shadow: var(--xb-shadow-2);
}

/* ---------- 14. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.32em 0.82em;
  border: 1px solid var(--xb-line-soft);
  border-radius: var(--xb-r-pill);
  background-color: var(--xb-cream);
  color: var(--xb-navy-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.tag:hover {
  background-color: var(--xb-navy-100);
  border-color: rgba(23, 58, 99, 0.24);
}

.tag--accent {
  background-color: rgba(255, 107, 44, 0.12);
  border-color: rgba(255, 107, 44, 0.3);
  color: var(--xb-orange-deep);
}

.tag--teal {
  background-color: rgba(46, 196, 182, 0.14);
  border-color: rgba(46, 196, 182, 0.32);
  color: #17756C;
}

.tag--moss {
  background-color: rgba(92, 122, 90, 0.14);
  border-color: rgba(92, 122, 90, 0.3);
  color: #3F5A3D;
}

/* ---------- 15. 图片容器基础规则 ---------- */
.xb-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--xb-r-md);
  background-color: var(--xb-cream);
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, var(--xb-navy-100), var(--xb-cream) 70%);
  background-size: 32px 32px, 32px 32px, cover;
  background-position: center;
}

.xb-media > img,
.xb-media > picture > img,
.xb-media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xb-media--4x3 { aspect-ratio: 4 / 3; }
.xb-media--1x1 { aspect-ratio: 1 / 1; }
.xb-media--3x4 { aspect-ratio: 3 / 4; }
.xb-media--21x9 { aspect-ratio: 21 / 9; }

.xb-media--accent {
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 107, 44, 0.22), var(--xb-navy-100) 65%);
  background-size: 32px 32px, 32px 32px, cover;
}

.xb-media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background-image: linear-gradient(transparent, rgba(11, 31, 58, 0.72));
  color: #F2F6FB;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- 16. 正文容器 ---------- */
.prose {
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--xb-ink);
}

.prose p + p { margin-top: 1em; }

.prose h2 {
  margin-top: 1.7em;
  margin-bottom: 0.55em;
  font-size: clamp(20px, 2.4vw, 28px);
}

.prose h3 {
  margin-top: 1.4em;
  margin-bottom: 0.45em;
  font-size: clamp(17px, 1.9vw, 20px);
}

.prose ul,
.prose ol { margin-top: 0.9em; }

.prose li {
  position: relative;
  margin-top: 0.4em;
  padding-left: 1.15em;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background-color: var(--xb-orange);
}

.prose a {
  color: var(--xb-orange-deep);
  border-bottom: 1px solid rgba(194, 65, 12, 0.35);
  transition: border-color 0.16s ease;
}

.prose a:hover { border-bottom-color: var(--xb-orange-deep); }

/* ---------- 17. 层叠目录 ---------- */
.toc-link {
  position: relative;
  display: block;
  padding: 10px 14px 10px 20px;
  border-left: 2px solid var(--xb-line);
  font-size: 14px;
  line-height: 1.5;
  color: var(--xb-ink-soft);
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.toc-link::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--xb-orange);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 0.18s ease;
}

.toc-link:hover {
  color: var(--xb-navy-900);
  background-color: var(--xb-cream);
}

.toc-link.is-active {
  color: var(--xb-orange-deep);
  font-weight: 700;
}

.toc-link.is-active::before { transform: scaleY(1); }

/* ---------- 18. 显现动画 ---------- */
.is-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ---------- 19. 响应式：平板 ---------- */
@media (max-width: 1180px) {
  .header-secondary { display: none; }
  .brand-descriptor { display: none; }
}

@media (max-width: 980px) {
  .site-header {
    padding: 10px 12px 0;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 9px 11px 9px 14px;
    border-radius: 24px;
  }

  .brand-name { font-size: 17px; }

  .header-actions { margin-left: auto; }

  .header-cta {
    padding: 0.66em 1em;
    font-size: 13px;
  }

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

  .nav-capsule {
    display: none;
    order: 5;
    flex: 1 0 100%;
    width: 100%;
    margin-top: 4px;
    padding: 8px;
    border-radius: 18px;
    background-color: rgba(220, 230, 242, 0.08);
    justify-content: flex-start;
  }

  .nav-capsule[data-open] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
    color: rgba(232, 238, 246, 0.82);
  }

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

  .nav-link:hover { background-color: rgba(220, 230, 242, 0.12); }

  .nav-link[aria-current="page"] {
    background-color: rgba(255, 107, 44, 0.2);
    box-shadow: inset 3px 0 0 var(--xb-orange);
    color: #FFFFFF;
  }

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

/* ---------- 20. 响应式：手机 ---------- */
@media (max-width: 620px) {
  body { font-size: 15px; }

  .brand-mark { width: 26px; height: 26px; border-radius: 8px; }
  .brand-mark::after { top: 8px; right: 8px; width: 7px; height: 7px; }

  .nav-toggle-label { display: none; }

  .footer-nav { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-col--contact { grid-column: 1 / -1; }

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

@media (max-width: 420px) {
  .header-cta { font-size: 12px; padding: 0.68em 0.85em; }
  .brand-name { font-size: 16px; }
  .footer-nav { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 21. 动效降级 ---------- */
@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;
    scroll-behavior: auto !important;
  }

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

  .card:hover,
  .btn:hover { transform: none; }
}
