/* ==========================================================================
   TagScanner 中文站 样式表
   主色取自 TagScanner 官方程序图标（蓝色立方体）配色
   设计基调：扁平现代 / 浅色 / 留白充足 / 无外部依赖
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  /* 主色：源自官方程序图标「蓝色立方体」 */
  --c-brand:        #1d5fb8;
  --c-brand-dark:   #164a92;
  --c-brand-deeper: #123a73;
  --c-brand-tint:   #eef4fc;
  --c-brand-tint-2: #dce9f9;

  /* 中性色 */
  --c-bg:      #f7f9fc;
  --c-surface: #ffffff;
  --c-text:    #1c2530;
  --c-muted:   #515c6b;
  --c-border:  #e2e8f0;
  --c-border-strong: #c9d4e2;

  /* 语义色（浅色主题下均保证 AA 对比度） */
  --c-ok:      #1e6b3f;
  --c-ok-bg:   #e8f5ec;
  --c-warn:    #7a5200;
  --c-warn-bg: #fdf3e0;

  /* 几何 */
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 20px;
  --shadow-1: 0 1px 2px rgba(18, 58, 115, 0.06), 0 2px 8px rgba(18, 58, 115, 0.05);
  --shadow-2: 0 4px 12px rgba(18, 58, 115, 0.09), 0 12px 32px rgba(18, 58, 115, 0.07);
  --shadow-3: 0 8px 24px rgba(18, 58, 115, 0.14), 0 24px 64px rgba(18, 58, 115, 0.12);

  /* 布局 */
  --container: 1120px;
  --header-h: 68px;

  /* 字体：系统字体栈，无外部字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "WenQuanYi Micro Hei",
    Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.3rem); }
p  { margin: 0 0 1em; }

a {
  color: var(--c-brand-dark);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--c-brand-deeper); text-decoration: underline; }

ul, ol { padding-left: 1.35em; margin: 0 0 1em; }
li { margin: 0.3em 0; }

hr {
  border: 0;
  border-top: 1px solid var(--c-border);
  margin: 2.5em 0;
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--c-brand-tint);
  border-radius: 5px;
  padding: 0.1em 0.4em;
}

/* ---------- 可访问性 ---------- */
/* 跳转链接：视觉隐藏，聚焦时显现 */
.skip-link {
  position: absolute;
  left: 12px;
  top: -56px;
  z-index: 200;
  background: var(--c-brand-deeper);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-s);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #ffffff; text-decoration: none; }

/* 统一焦点可见样式（focus-visible） */
:focus-visible {
  outline: 3px solid var(--c-brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 视觉隐藏（供屏幕阅读器） */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--tint { background: var(--c-surface); }
.section--soft { background: linear-gradient(180deg, #ffffff 0%, var(--c-brand-tint) 160%); }

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--c-muted); font-size: 1.05rem; }

/* 眉标 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-brand-dark);
  background: var(--c-brand-tint);
  border: 1px solid var(--c-brand-tint-2);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-1);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--c-text);
  min-height: 44px;
}
.brand:hover { text-decoration: none; color: var(--c-brand-dark); }
.brand .brand-mark { flex: 0 0 auto; display: inline-flex; }
.brand .brand-name span { color: var(--c-brand-dark); }

/* 主导航 */
.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0; padding: 0;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--c-muted);
  font-weight: 500;
  font-size: 0.98rem;
}
.site-nav a:hover { color: var(--c-brand-dark); background: var(--c-brand-tint); text-decoration: none; }
.site-nav a[aria-current="page"] {
  color: #ffffff;
  background: var(--c-brand);
  font-weight: 600;
}
.site-nav a[aria-current="page"]:hover { color: #ffffff; background: var(--c-brand-dark); }

/* 导航内下载按钮 */
.nav-cta {
  margin-left: 10px;
}

/* 移动端菜单开关 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-s);
  background: var(--c-surface);
  cursor: pointer;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;           /* 44px 以上点击目标 */
  padding: 11px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--c-brand);
  color: #ffffff;
  box-shadow: var(--shadow-1);
}
.btn--primary:hover {
  background: var(--c-brand-dark);
  color: #ffffff;
  box-shadow: var(--shadow-2);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn--ghost {
  background: var(--c-surface);
  color: var(--c-brand-dark);
  border-color: var(--c-border-strong);
}
.btn--ghost:hover {
  border-color: var(--c-brand);
  background: var(--c-brand-tint);
  color: var(--c-brand-deeper);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 0.95rem; }
.btn--block { width: 100%; }

/* ---------- 英雄区 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(720px 420px at 88% -10%, var(--c-brand-tint-2) 0%, rgba(220, 233, 249, 0) 62%),
    radial-gradient(560px 380px at -8% 108%, #e8eef8 0%, rgba(232, 238, 248, 0) 60%),
    var(--c-bg);
}
.hero::after {  /* 顶部细分隔渐变线 */
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg,
    var(--c-brand) 0%, var(--c-brand-dark) 45%, var(--c-brand-tint-2) 100%);
  opacity: 0.85;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--c-brand-dark); }

.hero-lead {
  font-size: 1.12rem;
  color: var(--c-muted);
  max-width: 34em;
  margin-bottom: 26px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-brand-deeper);
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: var(--shadow-1);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-meta {
  font-size: 0.9rem;
  color: var(--c-muted);
}

/* 英雄配图 */
.hero-figure {
  position: relative;
  margin: 0;
}
.hero-figure img {
  width: 100%;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-3);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
}
.hero-figure figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--c-muted);
  text-align: center;
}

/* 浮动装饰 */
.hero-figure::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 72%; height: 72%;
  right: -6%; bottom: -8%;
  border-radius: var(--radius-l);
  background: var(--c-brand-tint);
  transform: rotate(-3deg);
}

/* ---------- 事实速览 ---------- */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.fact-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.fact-card .fact-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.fact-card .fact-value {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
}
.fact-card .fact-note { font-size: 0.84rem; color: var(--c-muted); margin-top: 4px; }

/* ---------- 功能卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }

.feature-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--c-brand-tint-2);
}
.feature-card::before {  /* 顶部悬停高亮条 */
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--c-brand), var(--c-brand-tint-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--c-brand-tint);
  color: var(--c-brand-dark);
  margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--c-muted); font-size: 0.97rem; margin: 0; }
.feature-card ul { color: var(--c-muted); font-size: 0.94rem; margin-top: 10px; }

/* ---------- 步骤 ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  padding: 22px;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateX(4px); box-shadow: var(--shadow-2); }
.step-num {
  counter-increment: step;
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-brand);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 0 0 6px var(--c-brand-tint);
}
.step-num::before { content: counter(step); }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--c-muted); }

/* ---------- FAQ（details 手风琴） ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--c-brand-tint-2); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  min-height: 44px;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.18s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--c-brand-tint); }
.faq-item summary:focus-visible { outline-offset: -3px; }
.faq-icon {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  color: var(--c-brand-dark);
  transition: transform 0.22s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body {
  padding: 2px 22px 20px;
  color: var(--c-muted);
}
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- 信息表格 ---------- */
.table-wrap {
  overflow-x: auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
}
table.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  min-width: 560px;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
}
.info-table thead th {
  background: var(--c-brand-tint);
  color: var(--c-brand-deeper);
  font-weight: 700;
  white-space: nowrap;
}
.info-table tbody tr:last-child th,
.info-table tbody tr:last-child td { border-bottom: 0; }
.info-table tbody tr { transition: background-color 0.15s ease; }
.info-table tbody tr:hover { background: #fbfcfe; }

/* ---------- 下载包卡片 ---------- */
.dl-packages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.pkg-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  padding: 26px;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pkg-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--c-brand-tint-2);
}
.pkg-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.pkg-icon {
  width: 46px; height: 46px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--c-brand-tint);
  color: var(--c-brand-dark);
}
.pkg-head h3 { margin: 0; font-size: 1.12rem; }
.pkg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 14px;
}
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 3px 10px;
}
.tag--type { background: var(--c-brand-tint); color: var(--c-brand-deeper); }
.tag--size { background: #f0f2f5; color: var(--c-muted); }
.pkg-desc { color: var(--c-muted); font-size: 0.95rem; margin: 0 0 16px; flex: 1; }

/* ---------- 提示框 ---------- */
.note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--c-brand-tint);
  border: 1px solid var(--c-brand-tint-2);
  border-radius: var(--radius-m);
  padding: 18px 20px;
  color: var(--c-brand-deeper);
  font-size: 0.96rem;
}
.note svg { flex: 0 0 auto; margin-top: 4px; color: var(--c-brand-dark); }
.note p { margin: 0; }
.note--warn { background: var(--c-warn-bg); border-color: #f0dfb6; color: #5c3d00; }
.note--warn svg { color: #8a5f00; }

/* ---------- 关于页信息卡 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: start;
}
.about-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  padding: 28px;
  box-shadow: var(--shadow-1);
}
.about-card h2, .about-card h3 { margin-top: 0; }
.about-card p:last-child { margin-bottom: 0; }

/* ---------- 404 ---------- */
.error-page {
  min-height: calc(100vh - var(--header-h) - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.error-code {
  font-size: clamp(4.4rem, 12vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--c-brand-tint-2);
  -webkit-text-stroke: 2px var(--c-brand);
  margin-bottom: 8px;
}

/* ---------- 下载弹窗（dialog） ---------- */
.dl-dialog {
  width: min(560px, calc(100vw - 40px));
  border: none;
  border-radius: var(--radius-l);
  padding: 0;
  background: var(--c-surface);
  box-shadow: var(--shadow-3);
  color: var(--c-text);
}
.dl-dialog::backdrop {
  background: rgba(18, 40, 73, 0.52);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.dl-dialog[open] { animation: dialog-in 0.24s ease; }

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.dl-box { padding: 30px 30px 26px; position: relative; }
.dl-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--c-muted);
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.dl-close:hover { background: var(--c-brand-tint); color: var(--c-brand-deeper); }

.dl-box h2 { font-size: 1.3rem; margin-bottom: 4px; padding-right: 44px; }
.dl-sub { color: var(--c-muted); font-size: 0.92rem; margin-bottom: 22px; }

.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.dl-card {
  border: 1px dashed var(--c-border-strong);
  border-radius: var(--radius-m);
  padding: 18px 14px 14px;
  text-align: center;
  background: var(--c-bg);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.dl-card:hover { border-color: var(--c-brand); background: var(--c-brand-tint); }

/* 二维码占位框：固定尺寸，不填二维码内容 */
.dl-qr {
  width: 170px;
  height: 170px;
  margin: 0 auto 12px;
  border: 2px dashed var(--c-border-strong);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-brand);
  background: var(--c-surface);
}
.dl-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-text);
  margin: 0;
  line-height: 1.5;
}
.dl-note { font-size: 0.82rem; color: var(--c-muted); text-align: center; margin: 0; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 56px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.site-footer h3 { font-size: 0.95rem; margin-bottom: 14px; color: var(--c-text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--c-muted); font-size: 0.94rem; display: inline-flex; align-items: center; min-height: 24px; }
.site-footer a:hover { color: var(--c-brand-dark); }
.footer-desc { color: var(--c-muted); font-size: 0.92rem; max-width: 34em; }
.footer-desc .btn { margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--c-muted);
}
.footer-bottom p { margin: 0; }

/* ---------- 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 面包屑 ---------- */
.crumbs {
  padding: 26px 0 0;
  font-size: 0.9rem;
  color: var(--c-muted);
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0; padding: 0;
}
.crumbs li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.crumbs li + li::before {
  content: "/";
  color: var(--c-border-strong);
}
.crumbs a { color: var(--c-muted); min-height: 24px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--c-brand-dark); }
.crumbs [aria-current="page"] { color: var(--c-text); font-weight: 600; }

/* 页首横幅（子页） */
.page-head {
  padding: 40px 0 8px;
}
.page-head h1 { margin-bottom: 12px; }
.page-head .page-lead { color: var(--c-muted); font-size: 1.08rem; max-width: 40em; margin-bottom: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-figure { max-width: 560px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 56px 0; }
  .hero { padding: 60px 0 56px; }
  .feature-grid, .feature-grid--2, .dl-packages { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .fact-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fact-card { padding: 16px; }
  .fact-card .fact-value { font-size: 1.05rem; }

  /* 移动端折叠导航 */
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-2);
    padding: 12px 24px 18px;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { width: 100%; justify-content: flex-start; }
  .nav-cta { margin: 8px 0 0; }
}

@media (max-width: 400px) {
  .fact-strip { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
