/* ==========================================================================
   九1官网指南 · 共享样式表 /assets/site.css
   深靛蓝同色阶底 + 琥珀橙行动色 + 电光青认证色
   ========================================================================== */

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

:root {
  /* 色彩 —— 严格取自品牌系统 */
  --ink-900: #0A1130;
  --ink-850: #070D26;
  --ink-800: #121B4A;
  --ink-700: #1E2A6B;
  --ink-600: #33439A;
  --amber: #FF9F1C;
  --amber-d: #D97706;
  --cyan: #22D3EE;
  --cyan-l: #A5F3FC;
  --mist: #F4F6FF;
  --silver: #C7CEE8;

  /* 语义变量 */
  --bg: var(--ink-900);
  --surface: var(--ink-800);
  --line: rgba(51, 67, 154, 0.58);
  --line-soft: rgba(51, 67, 154, 0.3);
  --text: var(--mist);
  --text-dim: var(--silver);
  --text-mute: rgba(199, 206, 232, 0.62);

  /* 结构变量 */
  --rail: 104px;
  --header-h: 68px;
  --gutter: clamp(1rem, 3.2vw, 2.75rem);
  --maxw: 1440px;
  --radius: 2px;

  /* 字体 */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(51, 67, 154, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 67, 154, 0.13) 1px, transparent 1px);
  background-size: 96px 96px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, dt { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong { font-weight: 700; color: var(--mist); }

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.2; letter-spacing: 0.04em; }
h4, h5, h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.35; letter-spacing: 0.03em; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   跳至主要内容
   -------------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  transform: translateY(-260%);
  padding: 0.6rem 1.1rem;
  background: var(--amber);
  color: #180E00;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* --------------------------------------------------------------------------
   顶部栏
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 17, 48, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  padding: 0.3rem 0;
}
.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--ink-700), var(--ink-800));
  border: 1px solid var(--ink-600);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}
.brand__mark::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 9px;
  height: 9px;
  background: var(--amber);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--mist);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-mute);
}

/* 认证标识 */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan-l);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.trust-badge__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}

/* 行动区 */
.site-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.header-cta { white-space: nowrap; }

/* 抽屉开关 */
.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: rgba(30, 42, 107, 0.35);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); background: rgba(30, 42, 107, 0.6); }
.nav-toggle__bars {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--silver);
  transform: translate(-50%, -50%);
  transition: background-color 0.2s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: inherit;
  transition: transform 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 { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   侧边轨道导航
   -------------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 70;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 1.75rem) 0 1.5rem;
  background: var(--ink-850);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-nav__head { display: none; }
.site-nav__title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-mute);
}
.site-nav__close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  color: var(--silver);
  font-size: 1.125rem;
  line-height: 1;
}
.site-nav__close:hover { border-color: var(--cyan); color: var(--cyan-l); }

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0 0.5rem;
}
.site-nav__item { display: block; }

.site-nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.75rem 0.25rem;
  text-align: center;
  color: var(--text-mute);
  border-right: 2px solid transparent;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.site-nav__index {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(51, 67, 154, 1);
  transition: color 0.2s var(--ease);
}
.site-nav__label {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.35;
}
.site-nav__link:hover {
  color: var(--mist);
  background: rgba(30, 42, 107, 0.45);
}
.site-nav__link:hover .site-nav__index { color: var(--cyan); }
.site-nav__link[aria-current="page"] {
  color: var(--mist);
  border-right-color: var(--amber);
  background: linear-gradient(90deg, rgba(255, 159, 28, 0) 0%, rgba(255, 159, 28, 0.13) 100%);
}
.site-nav__link[aria-current="page"] .site-nav__index { color: var(--amber); }

.rail-progress {
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--amber) 100%);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.12s linear;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn--primary {
  background: var(--amber);
  border-color: var(--amber);
  color: #180E00;
}
.btn--primary:hover {
  background: var(--amber-d);
  border-color: var(--amber-d);
  box-shadow: 0 0 0 4px rgba(255, 159, 28, 0.16);
}
.btn--ghost {
  background: rgba(30, 42, 107, 0.3);
  border-color: var(--line);
  color: var(--silver);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan-l); }
.btn--sm { padding: 0.5rem 0.85rem; font-size: 0.8125rem; }

/* --------------------------------------------------------------------------
   页面通用容器与节奏
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--mid { max-width: 1100px; }
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.25rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.75;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.03em;
  color: var(--mist);
  margin-bottom: 0.75rem;
}

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

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-mute);
}
.breadcrumb a { color: var(--text-dim); transition: color 0.18s var(--ease); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb__sep { opacity: 0.45; }
.breadcrumb [aria-current="page"] { color: var(--cyan-l); }

/* --------------------------------------------------------------------------
   卡片 / 标签 / 数字 / 正文
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  background: linear-gradient(180deg, var(--ink-800) 0%, rgba(18, 27, 74, 0.5) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}
.card:hover {
  border-color: var(--ink-600);
  box-shadow: 0 0 0 1px rgba(51, 67, 154, 0.5), 0 18px 40px rgba(4, 8, 24, 0.55);
  transform: translateY(-2px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--line-soft);
  background: rgba(30, 42, 107, 0.45);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cyan-l);
}
.tag--amber {
  border-color: rgba(255, 159, 28, 0.45);
  background: rgba(255, 159, 28, 0.1);
  color: var(--amber);
}

.num {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
}

.prose {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-dim);
}
.prose p { margin-bottom: 1.1rem; }
.prose h2, .prose h3 { color: var(--mist); margin: 2.25rem 0 0.75rem; }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.prose h3 { font-size: 1.125rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1.1rem; }
.prose ol { list-style: decimal; padding-left: 1.25rem; margin-bottom: 1.1rem; }
.prose li { margin-bottom: 0.45rem; }
.prose a { color: var(--cyan-l); border-bottom: 1px solid rgba(34, 211, 238, 0.4); }

/* --------------------------------------------------------------------------
   响应式图片容器（页面阶段放置图片或内联 SVG）
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--ink-800) 0%, var(--ink-700) 100%);
}
.media > img,
.media > svg,
.media > video,
.media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--badge { aspect-ratio: 4 / 3; }
.media__caption {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--text-mute);
}

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(4rem, 8vw, 7rem);
  background: var(--ink-850);
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.875rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(51, 67, 154, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 67, 154, 0.18) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 72%);
}

.site-footer__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) var(--gutter) 0;
}

/* 贯穿式信任窄带 */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-mute);
}
.trust-strip__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.9);
}
.trust-strip__spacer { margin-left: auto; }
.trust-strip__code { color: var(--cyan-l); letter-spacing: 0.08em; }

/* 四栏网格 */
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand__name {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--mist);
}
.footer-brand__tag {
  max-width: 30ch;
  margin-bottom: 1.1rem;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-mute);
}
.footer-brand__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--line-soft);
  background: rgba(30, 42, 107, 0.4);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cyan-l);
}

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--silver);
}
.footer-col__title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line-soft);
}

.footer-list { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-list a {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color 0.18s var(--ease);
}
.footer-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.22s var(--ease);
}
.footer-list a:hover { color: var(--amber); }
.footer-list a:hover::after { width: 100%; }

.footer-contact { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-contact__row { display: flex; flex-direction: column; gap: 0.2rem; }
.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-mute);
}
.footer-contact__value {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.65;
  color: var(--mist);
  word-break: break-word;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding: 1.15rem 0 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-mute);
}
.site-footer__sig { color: var(--cyan-l); opacity: 0.85; }

/* --------------------------------------------------------------------------
   滚动显现
   -------------------------------------------------------------------------- */
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
html.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   断点：平板与手机
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  :root { --header-h: 60px; }

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

  .site-nav {
    width: min(80vw, 320px);
    z-index: 90;
    padding: 0.75rem 0 1.5rem;
    transform: translateX(-102%);
    transition: transform 0.3s var(--ease);
    box-shadow: 1px 0 0 var(--line), 28px 0 70px rgba(2, 5, 18, 0.65);
  }
  .site-nav[data-open] { transform: translateX(0); }

  .site-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0.85rem 0.9rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .site-nav__close { display: inline-flex; }

  .site-nav__list { gap: 0.1rem; padding: 0 0.75rem; }
  .site-nav__link {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 0.75rem;
    text-align: left;
    border-right: 0;
    border-left: 2px solid transparent;
  }
  .site-nav__index { font-size: 0.6875rem; }
  .site-nav__label { font-size: 0.9375rem; }
  .site-nav__link[aria-current="page"] {
    border-right-color: transparent;
    border-left-color: var(--amber);
    background: linear-gradient(90deg, rgba(255, 159, 28, 0.14) 0%, rgba(255, 159, 28, 0) 100%);
  }

  .rail-progress { display: none; }

  body.is-nav-open { overflow: hidden; }

  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .trust-badge { display: none; }
}

@media (max-width: 620px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__bottom { justify-content: flex-start; }
  .brand__sub { display: none; }
  .header-cta { padding: 0.48rem 0.7rem; font-size: 0.78125rem; letter-spacing: 0.03em; }
}

@media (max-width: 380px) {
  .brand__name { font-size: 0.9375rem; }
  .header-cta { font-size: 0.75rem; padding: 0.45rem 0.6rem; }
}

/* --------------------------------------------------------------------------
   桌面端：预留侧边轨道
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail); }
  .site-header { left: var(--rail); }
}

/* --------------------------------------------------------------------------
   降低动效偏好
   -------------------------------------------------------------------------- */
@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;
  }
  html.reveal-ready [data-reveal] { opacity: 1; transform: none; }
  .rail-progress { transition: none; }
  .card:hover { transform: none; }
}
