/* ==========================================================================
   Handheld Companion 中文官网 — 样式系统
   品牌色取自官方 logo：琥珀金 #F5A623 / 暖黑 #171713 / 暖灰 #77766F
   ========================================================================== */

/* ---------- 0. 设计令牌 ---------- */
:root {
  --brand: #F5A623;
  --brand-deep: #E0921A;
  --brand-soft: #FFF4DE;
  --brand-faint: #FFF9EE;

  --ink: #171713;
  --ink-2: #3d3c37;
  --ink-3: #696861;
  --ink-4: #77766F;
  --ink-5: #9d9b93;

  --line: #e6e4dd;
  --line-2: #f0eee8;
  --bg: #fbfaf7;
  --bg-card: #ffffff;
  --bg-dark: #171713;
  --bg-dark-2: #22221d;

  --ok: #2f9e6e;
  --warn: #d9741c;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 7px;

  --shadow-sm: 0 1px 2px rgba(23, 23, 19, .06), 0 1px 1px rgba(23, 23, 19, .04);
  --shadow: 0 8px 24px rgba(23, 23, 19, .08), 0 2px 6px rgba(23, 23, 19, .04);
  --shadow-lg: 0 24px 60px rgba(23, 23, 19, .14), 0 6px 18px rgba(23, 23, 19, .06);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --container: 1180px;
  --gutter: 24px;
  --header-h: 68px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { border: 0; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); line-height: 1.12; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin: .3em 0; }
li::marker { color: var(--ink-5); }

code, kbd {
  font-family: var(--font-mono);
  font-size: .9em;
  background: var(--line-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: .1em .45em;
  color: var(--ink);
}
kbd { box-shadow: 0 1px 0 var(--line); }

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

strong { color: var(--ink); font-weight: 600; }

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

::selection { background: var(--brand); color: var(--ink); }

/* 跳转到主内容（无障碍） */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; text-decoration: none; }

/* ---------- 2. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: #fff; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section--dark { background: var(--bg-dark); color: #c7c5bc; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #c7c5bc; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.05rem; color: var(--ink-3); margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand);
}
.eyebrow--plain::before { display: none; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }
.muted { color: var(--ink-4); }
.small { font-size: .875rem; }
.mono { font-family: var(--font-mono); }

/* ---------- 3. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: var(--brand);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(245, 166, 35, .35);
}
.btn--primary:hover { background: #ffb63d; box-shadow: 0 10px 26px rgba(245, 166, 35, .42); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink-4); background: #fff; }

.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { background: #2b2b26; }

.btn--light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn--light:hover { border-color: var(--ink-4); }

.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn--lg { padding: 16px 34px; font-size: 1.1rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 4. 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(251, 250, 247, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name b { font-size: 1.02rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.brand__name span { font-size: .72rem; color: var(--ink-4); letter-spacing: .08em; margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  position: relative;
  padding: 8px 14px;
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.site-nav a:hover { background: var(--line-2); color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.site-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ---------- 5. 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(245, 166, 35, .18), transparent 60%),
    radial-gradient(800px 400px at 10% 110%, rgba(245, 166, 35, .10), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 80px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--ink-3);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hero__badge b {
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 700;
  font-size: .75rem;
  padding: 2px 9px;
  border-radius: 999px;
}
.hero__badge a { color: inherit; font-weight: 600; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand-deep); }
.hero__lead { font-size: 1.15rem; color: var(--ink-3); max-width: 540px; margin-bottom: 32px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  font-size: .875rem;
  color: var(--ink-4);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--ok); }

.hero__visual { position: relative; }
.hero__visual img {
  width: 100%;
  filter: drop-shadow(0 30px 40px rgba(23, 23, 19, .22));
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__visual img { animation: none; }
  html { scroll-behavior: auto; }
}

/* 悬浮信息卡 */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: .82rem;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}
.float-card b { display: block; font-size: 1.05rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.float-card--tl { top: 8%; left: -4%; }
.float-card--br { bottom: 6%; right: -2%; }
.float-card .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 6px; }

/* ---------- 6. 信任条 ---------- */
.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trustbar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 26px var(--gutter);
}
.trustbar__item { display: flex; align-items: center; gap: 14px; }
.trustbar__icon {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  border-radius: 10px;
}
.trustbar__icon svg { width: 20px; height: 20px; }
.trustbar__item b { display: block; color: var(--ink); font-size: 1rem; line-height: 1.3; }
.trustbar__item span { font-size: .8rem; color: var(--ink-4); }

/* ---------- 7. 卡片 ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d9d6cd; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--ink-3); font-size: .95rem; }

.icon-badge {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  border-radius: 12px;
  margin-bottom: 20px;
}
.icon-badge svg { width: 24px; height: 24px; }

.card--dark { background: var(--bg-dark); border-color: var(--bg-dark); color: #c7c5bc; }
.card--dark h3 { color: #fff; }
.card--dark p { color: #c7c5bc; }
.card--dark .icon-badge { background: rgba(245, 166, 35, .14); color: var(--brand); }
.card--dark:hover { border-color: #3a3a33; }

/* 带编号的特性卡 */
.feature-card { position: relative; padding-top: 34px; }
.feature-card__no {
  position: absolute;
  top: 26px; right: 26px;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-5);
  letter-spacing: .08em;
}

/* ---------- 8. 场景（左右图文交替） ---------- */
.scene {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 40px 0;
}
.scene + .scene { border-top: 1px solid var(--line-2); }
.scene__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-dark);
  box-shadow: var(--shadow);
}
.scene__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* 竖版截图（QuickTools 面板）：深色底居中展示，保持原比例 */
.scene__media--portrait img {
  aspect-ratio: auto;
  width: auto;
  max-width: 52%;
  max-height: 560px;
  margin: 28px auto;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}
.scene__media figcaption {
  padding: 12px 18px;
  font-size: .82rem;
  color: var(--ink-4);
  background: #fff;
  border-top: 1px solid var(--line);
}
.scene--reverse .scene__media { order: 2; }
.scene__body h3 { font-size: 1.5rem; margin-bottom: 14px; }
.scene__body p { color: var(--ink-3); }
.scene__list { list-style: none; padding: 0; margin: 20px 0 0; }
.scene__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  color: var(--ink-2);
  font-size: .95rem;
}
.scene__list svg { width: 20px; height: 20px; flex: none; color: var(--brand-deep); margin-top: 3px; }
/* 列表项：图标 + 文本块。文本块内的加粗标签与描述保持自然换行 */
.scene__list li > svg + * { flex: 1; min-width: 0; }
.scene__list strong { color: var(--ink); font-weight: 600; }

/* ---------- 9. 机型展示 ---------- */
.devices-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.device-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 16px 16px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.device-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.device-card img { width: 100%; max-width: 180px; margin: 0 auto 10px; }
.device-card b { display: block; color: var(--ink); font-size: .92rem; }
.device-card span { display: block; font-size: .76rem; color: var(--ink-4); margin-top: 2px; }

/* ---------- 10. 流程步骤 ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand-deep);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 8px; }
.steps p { margin: 0; font-size: .93rem; color: var(--ink-3); }

/* 垂直步骤（教程用） */
.steps--v { grid-template-columns: 1fr; gap: 16px; }
.steps--v li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; padding: 22px 24px; }
.steps--v li::before { margin: 0; grid-column: 1; text-align: center; font-size: .95rem; padding: 8px 0; }
.steps--v li > div { grid-column: 2; }
.steps--v h3 { margin-bottom: 6px; font-size: 1.05rem; }
.steps--v p { font-size: .95rem; }

/* ---------- 11. 下载区块 ---------- */
.download-panel {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  border-radius: 20px;
  padding: 56px 48px;
  color: #c7c5bc;
}
.download-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(245, 166, 35, .22), transparent 60%),
    radial-gradient(400px 240px at 10% 100%, rgba(245, 166, 35, .10), transparent 60%);
  pointer-events: none;
}
.download-panel > * { position: relative; }
.download-panel h2 { color: #fff; }
.download-panel p { color: #c7c5bc; }
.download-panel__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed #33332c;
  font-size: .92rem;
  margin: 0;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list span { color: #9d9b93; }
.spec-list b { color: #fff; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.spec-list--light li { border-bottom-color: var(--line); }
.spec-list--light span { color: var(--ink-4); }
.spec-list--light b { color: var(--ink); }

/* 版本卡片 */
.version-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.version-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.version-card__ver {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
}
.version-card__date { font-size: .85rem; color: var(--ink-4); }
.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}
.tag--stable { background: #e6f6ef; color: var(--ok); }
.tag--new { background: var(--brand-soft); color: var(--brand-deep); }

/* 更新日志时间线 */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline__item { position: relative; padding-bottom: 36px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -29px; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px #fff;
}
.timeline__item--latest::before { background: var(--brand); }
.timeline__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.timeline__head h3 { margin: 0; font-size: 1.2rem; }
.timeline__head time { font-size: .85rem; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.timeline__item p { font-size: .95rem; color: var(--ink-3); margin-bottom: 10px; }
.timeline__item ul { font-size: .93rem; color: var(--ink-2); margin: 0; }
.timeline__item ul li { margin: .25em 0; }
.timeline__item--muted { display: none; }
.timeline__item--muted.is-visible { display: block; }

/* ---------- 12. 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { background: #faf9f5; color: var(--ink); font-weight: 600; font-size: .85rem; letter-spacing: .04em; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td b { color: var(--ink); }

/* ---------- 13. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq__item[open] { border-color: #d9d6cd; box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  width: 9px; height: 9px;
  flex: none;
  border-right: 2px solid var(--ink-4);
  border-bottom: 2px solid var(--ink-4);
  transform: rotate(45deg);
  transition: transform .2s;
  margin-top: -4px;
}
.faq__item[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq__item summary:hover { color: var(--brand-deep); }
.faq__item__body { padding: 0 22px 20px; color: var(--ink-3); font-size: .95rem; }
.faq__item__body p:last-child { margin-bottom: 0; }

/* ---------- 14. CTA 横幅 ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--brand) 0%, #ffb948 100%);
  border-radius: 20px;
  padding: 52px 48px;
  color: var(--ink);
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 32px;
  align-items: center;
}
.cta-banner h2 { color: var(--ink); margin-bottom: 8px; }
.cta-banner p { margin: 0; color: rgba(23, 23, 19, .78); }
.cta-banner .btn-row { justify-content: flex-end; }
.cta-banner .btn--dark { background: var(--ink); color: #fff; }

/* ---------- 15. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: .85rem;
  color: var(--ink-4);
  padding: 18px 0 0;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; margin: 0; }
.breadcrumb li + li::before { content: "/"; color: var(--ink-5); }
.breadcrumb a { color: var(--ink-4); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ---------- 16. 页面标题区 ---------- */
.page-hero {
  position: relative;
  padding: 60px 0 48px;
  background:
    radial-gradient(800px 300px at 90% -20%, rgba(245, 166, 35, .14), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.8rem); margin-bottom: 14px; }
.page-hero p { font-size: 1.08rem; color: var(--ink-3); max-width: 680px; margin: 0; }

/* ---------- 17. 侧边目录（教程） ---------- */
.with-toc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  font-size: .9rem;
}
.toc b { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.toc a { display: block; padding: 6px 10px; border-radius: 6px; color: var(--ink-3); border-left: 2px solid transparent; }
.toc a:hover { background: var(--line-2); color: var(--ink); text-decoration: none; }
.toc a.is-active { background: var(--brand-faint); color: var(--brand-deep); border-left-color: var(--brand); font-weight: 600; }

.article h2 {
  font-size: 1.6rem;
  margin: 56px 0 18px;
  padding-top: 12px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.article p, .article li { color: var(--ink-2); font-size: 1rem; }
.article .lead { font-size: 1.1rem; color: var(--ink-3); }

.callout {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--brand-faint);
  border: 1px solid #f3e3c4;
  color: var(--ink-2);
  font-size: .95rem;
  margin: 20px 0;
}
.callout svg { width: 20px; height: 20px; flex: none; color: var(--brand-deep); margin-top: 3px; }
.callout p { margin: 0; }
.callout--info { background: #f1f7fb; border-color: #d5e6f1; }
.callout--info svg { color: #2a7ab5; }
.callout--warn { background: #fff6ec; border-color: #f6dcc2; }
.callout--warn svg { color: var(--warn); }

/* ---------- 18. 页脚 ---------- */
.site-footer {
  background: var(--bg-dark);
  color: #9d9b93;
  padding: 64px 0 32px;
  font-size: .9rem;
}
.site-footer a { color: #c7c5bc; }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2a2a24;
}
.site-footer__brand p { color: #9d9b93; font-size: .9rem; margin: 14px 0 0; max-width: 320px; }
.site-footer .brand__name b { color: #fff; }
.site-footer .brand__name span { color: #9d9b93; }
.site-footer h4, .site-footer .footer-title { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer li { margin: 0; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: .82rem;
  color: #77766f;
}
.site-footer__bottom p { margin: 0; }

/* ---------- 19. 下载弹窗 ---------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 19, .62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 36px 36px 32px;
  animation: modalIn .22s ease-out;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-3);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.modal__close:hover { background: var(--line-2); color: var(--ink); }
.modal__close svg { width: 18px; height: 18px; }
.modal__head { text-align: center; margin-bottom: 26px; padding: 0 24px; }
.modal__head h2 { font-size: 1.5rem; margin-bottom: 8px; }
.modal__head p { margin: 0; color: var(--ink-4); font-size: .93rem; }
.modal__version {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: .8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.qr-card:hover { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.qr-image {
  width: 160px;
  height: 160px;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-sizing: border-box;
  image-rendering: -webkit-optimize-contrast;
}
.qr-card b { font-size: .92rem; color: var(--ink); text-align: center; }
.qr-card span { font-size: .78rem; color: var(--ink-4); text-align: center; }

.modal__foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
  font-size: .8rem;
  color: var(--ink-4);
  text-align: center;
  line-height: 1.6;
}

/* ---------- 20. 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 56px; }
  .hero__visual { max-width: 640px; margin: 0 auto; }
  .float-card--tl { left: 2%; }
  .float-card--br { right: 2%; }
  .grid--4, .devices-strip { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .download-panel__grid, .cta-banner { grid-template-columns: 1fr; }
  .cta-banner .btn-row { justify-content: flex-start; }
  .with-toc { grid-template-columns: 1fr; }
  .toc { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .trustbar__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; --header-h: 60px; }
  .section { padding: 56px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .scene, .scene--reverse { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .scene--reverse .scene__media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: 1fr; }
  .download-panel { padding: 36px 24px; }
  .cta-banner { padding: 36px 24px; }
  .modal__dialog { padding: 28px 20px 24px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }

  /* 移动导航 */
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 18px;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform .2s, opacity .2s, visibility .2s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav a[aria-current="page"] { background: var(--brand-faint); }
  .site-header__actions .btn span { display: none; }
  .site-header__actions .btn { padding: 10px 12px; }
  .float-card { display: none; }
  .hero h1 { font-size: 2rem; }
  .hero__lead { font-size: 1.05rem; }
  .hero__meta { gap: 8px 16px; }
  .timeline__head h3 { font-size: 1.05rem; }
  .breadcrumb { padding-top: 12px; }
}

@media (max-width: 420px) {
  .devices-strip { grid-template-columns: 1fr 1fr; }
  .trustbar__inner { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- 21. 打印 ---------- */
@media print {
  .site-header, .site-footer, .modal, .cta-banner, .nav-toggle, .toc { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
