/* ===== tokens.css ===== */
/* ==========================================================================
   tokens.css — 全站唯一的设计令牌来源。改这一处，全站生效。
   颜色按「用途」拆开：填充色 / 文字色 / 图形色不共用一支。
   同一支色既当按钮底又当链接文字，必然有一头对比度不达标。
   ========================================================================== */

:root {
  /* ── 品牌色：三支各管一件事，禁止互相顶班 ───────────────────────────── */
  --brand:        #6A58E8;  /* 只做填充：按钮底 / 选中片底。考核「白字压得住吗」 */
  --brand-hover:  #5B4BD6;  /* 填充 hover */
  --brand-ink:    #5B4BD6;  /* 只做文字：浅底链接与强调。白底 6.1:1 */
  --brand-mark:   #6A58E8;  /* 只做图形：圆点 / 描边 / 箭头，≥3:1 即可 */
  --brand-soft:   #F2F1FE;  /* 浅色品牌底 */
  --brand-line:   rgba(122, 110, 240, .30);

  /* ── 点缀色（只在深底上出现）───────────────────────────────────────── */
  --accent:       #5AC8FA;

  /* ── 中性色阶（原始值，供上层派生）────────────────────────────────── */
  --ink-900: #14141F;
  --ink-700: #5C5C72;
  --ink-500: #6B6B7B;
  --ink-100: #E6E6F0;
  --paper:   #FFFFFF;
  --paper-2: #F7F7FB;

  --night:        #08080F;
  --night-2:      #0B0B14;
  --night-3:      #0E0E1A;
  --night-card:   #12121E;
  --night-accent: #1A172F;
  --night-row:    #101018;
  --night-line:   #26263B;
  --lit-100: #F4F4F8;
  --lit-300: #8E8EA6;
  --lit-400: #8484A0;
  --lit-brand: #9D8CFF;

  /* ── 语义色：浅色主题（默认）─────────────────────────────────────────
     组件只写 var(--surface) / var(--text-body) 这类语义名，
     深色主题只重映射这一组，组件代码一行都不用改。 */
  --bg:         var(--paper-2);
  --band:       var(--paper);
  --surface:    var(--paper);
  --surface-2:  var(--brand-soft);
  --surface-flat: var(--paper);
  --line:       var(--ink-100);
  --text:       var(--ink-900);
  --text-body:  var(--ink-700);
  --text-soft:  var(--ink-500);
  --ink:        var(--brand-ink);
  --fill:       var(--brand);
  --fill-hover: var(--brand-hover);
  --on-fill:    #FFFFFF;
  --mark:       var(--brand-mark);
  --card-shadow: 0 1px 2px rgba(20, 20, 31, .04), 0 14px 34px -22px rgba(20, 20, 31, .22);

  /* ── 内容宽度：全站只有这两档 ──────────────────────────────────────── */
  --w-container: 1200px;   /* 所有区块 / 栅格 */
  --w-prose:      820px;   /* 长文阅读位 */

  /* ── 间距 ─────────────────────────────────────────────────────────── */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 20px;
  --sp-6: 24px; --sp-7: 32px; --sp-8: 40px; --sp-9: 48px; --sp-10: 64px;
  --sp-11: 76px; --sp-12: 86px; --sp-13: 96px;

  /* ── 圆角 ─────────────────────────────────────────────────────────── */
  --r-sm:  8px;  --r-md: 14px; --r-lg: 18px; --r-xl:  20px;
  --r-2xl: 22px; --r-3xl: 28px; --r-4xl: 32px; --r-pill: 999px;

  /* ── 字号（移动端在 layout.css 的断点里整体降档）──────────────────── */
  --fs-1: 12px;   --fs-2: 12.5px; --fs-3: 13px;   --fs-4: 13.5px;
  --fs-5: 14px;   --fs-6: 14.5px; --fs-7: 15px;   --fs-8: 15.5px;
  --fs-9: 16px;   --fs-10: 18px;  --fs-11: 19px;  --fs-12: 21px;
  --fs-13: 26px;  --fs-14: 28px;  --fs-15: 30px;  --fs-16: 34px;
  --fs-17: 36px;  --fs-18: 38px;  --fs-19: 40px;  --fs-20: 42px;
  --fs-21: 46px;  --fs-22: 52px;

  /* ── 字体：全部走系统栈，不引外链字体（国内访问 Google Fonts 不通）── */
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num:  Inter, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC",
               "Microsoft YaHei", sans-serif;
}

/* ── 深色主题：只重映射语义色 ───────────────────────────────────────────── */
body.theme-dark {
  --bg:         var(--night);
  --band:       var(--night-2);
  --surface:    var(--night-card);
  --surface-2:  var(--night-accent);
  --surface-flat: var(--night-row);
  --line:       var(--night-line);
  --text:       var(--lit-100);
  --text-body:  var(--lit-300);
  --text-soft:  var(--lit-400);
  --ink:        var(--lit-brand);
  --fill:       var(--brand);
  --fill-hover: #7D6BF0;
  --on-fill:    #FFFFFF;
  --mark:       var(--lit-brand);
  --card-shadow: none;
}

/* ===== base.css ===== */
/* ==========================================================================
   base.css — reset + 基础排版 + 无障碍。只管「默认长什么样」，不管组件外观
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: var(--fs-6);
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
}

p { margin: 0; }

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

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

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 注意：这里不能用 font: 简写 —— 它的优先级会盖掉组件自己的字号 */
button { font-family: inherit; font-size: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

strong, b { font-weight: 700; }

/* 筛选 / 折叠靠 el.hidden = true，组件里的 display:flex 会盖掉 UA 样式 */
[hidden] { display: none !important; }

/* 锚点跳转时给吸顶元素留出余量 */
[id] { scroll-margin-block-start: var(--sp-6); }

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

::selection { background: rgba(106, 88, 232, .22); }

/* ── 工具类 ───────────────────────────────────────────────────────────── */

/* 等宽数字：数据条、版本号、步骤序号共用 */
.num {
  font-family: var(--font-num);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -80px;
  z-index: 60;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  background: var(--fill);
  color: var(--on-fill);
  font-size: var(--fs-5);
  white-space: nowrap;
  transition: top .16s ease;
}
.skip-link:focus { top: var(--sp-4); text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ===== layout.css ===== */
/* ==========================================================================
   layout.css — 容器 / 区块节奏 / 栅格 / 长文档位 / 全局断点
   只放「这一层自己定义的东西」。组件级（.hero / .data-bar 等）的 @media 覆盖
   必须写在定义该组件的那个文件里，否则会被后加载的同优先级规则静默盖掉。
   ========================================================================== */

.container {
  width: min(calc(100% - 48px), var(--w-container));
  margin-inline: auto;
}

.prose { max-width: var(--w-prose); }

/* ── 区块纵向节奏 ─────────────────────────────────────────────────────── */
.section          { padding-block: var(--sp-12); }   /* 86 */
.section--sm      { padding-block: var(--sp-10); }   /* 64 */
.section--lead    { padding-block-start: var(--sp-11); } /* 76，用于页头 */
.section--tail    { padding-block-end: var(--sp-12); }
.section--band    { background: var(--band); }
.section--flush   { padding-block-end: 0; }

/* ── 栅格：列宽由设计稿的卡片尺寸反算，正好整除 ──────────────────────── */
.grid {
  display: grid;
  gap: var(--sp-5);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 1200 → 590 */
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* 1200 → 386 */
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } /* 1200 → 285 */

/* ── 堆叠：默认纵向 flex，间距用 gap 不用 margin ─────────────────────── */
.stack { display: flex; flex-direction: column; }

/* ── 全局断点 ─────────────────────────────────────────────────────────
   只放令牌降档与它自己定义的栅格。 */

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

@media (max-width: 768px) {
  /* 字号整体降档：改这一处，全站生效 */
  :root {
    --fs-22: 36px;  /* display 52 → 36 */
    --fs-21: 34px;
    --fs-20: 30px;  /* h1 42 → 30 */
    --fs-19: 28px;
    --fs-18: 27px;
    --fs-17: 26px;
    --fs-16: 26px;  /* h2 34 → 26 */
    --fs-15: 24px;
    --fs-14: 22px;
    --fs-13: 21px;
    --fs-12: 19px;

    /* 区块留白同步收窄，否则手机上首屏全是空白 */
    --sp-13: 64px;
    --sp-12: 56px;
    --sp-11: 48px;
    --sp-10: 40px;
    --sp-9: 36px;
  }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .container { width: min(calc(100% - 40px), var(--w-container)); }
}

/* ===== components.css ===== */
/* ==========================================================================
   components.css — 可复用组件：按钮 / 标签 / 卡片 / 手风琴 / 步骤 / 媒体位 / 提示块
   组件级的 @media 覆盖都写在本文件内，紧跟组件定义之后
   （写到别的文件里会被后加载的同优先级规则静默盖掉）
   ========================================================================== */

/* ── 小标签（区块眉标）───────────────────────────────────────────────── */
.eyebrow {
  display: block;
  color: var(--ink);
  font-size: var(--fs-1);
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.5;
}

/* ── 线性图标：统一 34×34 画框，颜色只取 --mark ─────────────────────── */
.icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: var(--mark);
}
.icon--sm { width: 26px; height: 26px; }
.icon--lg { width: 28px; height: 28px; }

/* ── 按钮 ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 52px;
  padding: 0 30px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font-size: var(--fs-8);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--fill); color: var(--on-fill); }
.btn--primary:hover { background: var(--fill-hover); }

/* 次级动作：描边款，不用浅灰实心（浅灰实心看着像禁用态） */
.btn--ghost {
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .06); }
body.theme-light .btn--ghost:hover { background: rgba(20, 20, 31, .04); }

.btn--sm { min-height: 44px; padding: 0 24px; border-radius: var(--r-2xl); font-size: var(--fs-5); }
.btn--xs { min-height: 40px; padding: 0 20px; border-radius: var(--r-xl); font-size: var(--fs-5); }
.btn--block { display: flex; width: 100%; }

/* ── 胶囊筛选片 ─────────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 var(--sp-5);
  border-radius: var(--r-pill);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--brand-line);
  color: var(--text);
  font-size: var(--fs-5);
  line-height: 1.4;
  white-space: nowrap;
}
.chip:hover { text-decoration: none; background: var(--fill); color: var(--on-fill); }

/* ── 小圆点状态徽标（首屏用）────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 32px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--ink);
  font-size: var(--fs-2);
  font-weight: 500;
  line-height: 1.4;
}
.badge__dot {
  flex: 0 0 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── 卡片 ───────────────────────────────────────────────────────────── */
.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}
.card--accent { background: var(--surface-2); }
.card--tight { padding: 26px; border-radius: var(--r-lg); box-shadow: none; }
.card__title { font-size: var(--fs-9); font-weight: 700; color: var(--text); }
.card__text { margin-top: var(--sp-3); font-size: var(--fs-4); color: var(--text-body); line-height: 1.78; }
.card__kicker { font-size: var(--fs-2); font-weight: 600; color: var(--accent); }

/* 教程卡：图标 + 标题 + 元信息 + 说明 + 入口 */
.entry-card { gap: var(--sp-5); }
.entry-card__icon { color: var(--mark); }
.entry-card__meta { font-size: var(--fs-3); font-weight: 500; color: var(--ink); }

/* ── 手风琴问答（原生 details，无 JS 也能开合）───────────────────────── */
.qa {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.qa__q {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: 18px 22px;
  color: var(--text);
  font-size: var(--fs-7);
  font-weight: 600;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q:hover { color: var(--ink); }
.qa__arrow { flex: 0 0 16px; margin-left: auto; color: var(--ink); transition: transform .2s ease; }
.qa[open] .qa__arrow { transform: rotate(180deg); }
.qa__a { padding: 0 22px 20px; font-size: var(--fs-4); color: var(--text-body); line-height: 1.78; }
.qa__a > * + * { margin-top: var(--sp-3); }

/* ── 步骤卡 ─────────────────────────────────────────────────────────── */
.step {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.step__no {
  flex: 0 0 30px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}
.step__body { flex: 1 1 auto; min-width: 0; }
.step__title { font-size: var(--fs-8); font-weight: 600; color: var(--text); line-height: 1.55; }
.step__desc { margin-top: var(--sp-2); font-size: var(--fs-4); color: var(--text-body); line-height: 1.78; }

/* ── 清单胶囊（iOS 准备事项那种）────────────────────────────────────── */
.pill-list { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--sp-3); }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  max-width: 100%;
  padding: 0 var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-4);
  line-height: 1.5;
}

/* ── 提示块（安全提示 / 帮助卡 / 渐变说明条）────────────────────────── */
.note {
  padding: 28px 32px;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-lg);
  background: var(--surface-2);
}
.note__head { display: flex; align-items: center; gap: var(--sp-3); }
.note__head svg { color: var(--mark); }
.note__title { font-size: var(--fs-7); font-weight: 600; color: var(--text); }
.note__body { margin-top: var(--sp-2); font-size: var(--fs-4); color: var(--text-body); line-height: 1.78; }

/* 渐变说明条（功能页那块「为什么能做到」）—— 必须留不透明的兜底底色，
   否则护栏在合成背景时会退化到整页底色，等于没测 */
.note--grad {
  padding: 46px 50px;
  border: 0;
  border-radius: var(--r-3xl);
  background-color: #0D0E1C;
  background-image: linear-gradient(90deg, #211947 0%, #0F2445 100%);
}
.note--grad .note__body { color: #B0B0C8; }
.note--grad .eyebrow { color: var(--accent); }
.note--grad .note__h3 { color: var(--text); font-size: var(--fs-13); line-height: 1.42; }

/* ── 底部「下一教程」入口 ─────────────────────────────────────────────
   画布上是竖排（label 在上、标题在下）、白底 + 普通描边、无箭头。
   用 --line 而不是 --brand-line：这一块是「顺带指路」，不是强调区。 */
.next-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color .18s ease;
}
.next-card:hover { border-color: var(--mark); text-decoration: none; }
.next-card__label { font-size: var(--fs-2); color: var(--text-soft); }
.next-card__title { font-size: var(--fs-8); font-weight: 600; color: var(--text); line-height: 1.55; }

/* ── 媒体位 ─────────────────────────────────────────────────────────── */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--surface-2);
}
.media > img { width: 100%; height: 100%; object-fit: cover; }

/* 手机截图画框：源图 360×600 正好是 3:5，cover 不会裁到内容。
   这里的 max-width 是「图位尺寸」，不是内容宽度档 —— 护栏里按媒体节点排除。 */
.media--phone { width: 100%; max-width: 285px; aspect-ratio: 3 / 5; }

.shot-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
  justify-items: center;
}
@media (max-width: 1024px) {
  .shot-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .shot-wall { gap: var(--sp-3); }
}

/* ===== blocks.css ===== */
/* ==========================================================================
   blocks.css — 跨页共用的大块：站头 / 移动导航 / 首屏 / 数据条 / 页头 / 收尾 CTA / 页脚
   组件级的 @media 覆盖一律写在本文件内
   ========================================================================== */

/* ── 品牌标记（站头与页脚共用）──────────────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.brand:hover { text-decoration: none; }
.brand__mark { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 7px; }
.brand__name { color: var(--text); font-size: var(--fs-11); font-weight: 700; line-height: 1.3; }

/* ── 站头 ───────────────────────────────────────────────────────────── */
.site-header {
  position: relative;
  z-index: 40;
  background: var(--band);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-7);
  min-height: 76px;
}

.nav { display: flex; align-items: center; gap: var(--sp-7); }
.nav__link {
  color: var(--text-body);
  font-size: var(--fs-6);
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}
.nav__link:hover { color: var(--text); text-decoration: none; }
.nav__link[aria-current],
.nav__link--section { color: var(--ink); font-weight: 600; }

/* 汉堡按钮：默认隐藏，只在断点下出现 */
.nav-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--surface-2); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--band);
    box-shadow: 0 18px 40px rgba(11, 11, 20, .30);
  }
  .nav.is-open { display: flex; }
  /* 竖向面板里，桌面那套「整条变紫」不再清晰，改成左侧色条 */
  .nav__link {
    padding: 13px 16px;
    font-size: var(--fs-8);
    border-bottom: 1px solid var(--line);
  }
  .nav__link:last-child { border-bottom: 0; }
  .nav__link[aria-current],
  .nav__link--section { box-shadow: inset 3px 0 0 var(--mark); }
}
@media (max-width: 560px) {
  .site-header__inner { gap: var(--sp-3); min-height: 68px; }
  .site-header__cta { padding: 0 14px; font-size: var(--fs-4); }
}

/* ── 首屏（首页）────────────────────────────────────────────────────── */
.hero {
  background-color: #08080F;                    /* 兜底：护栏合成背景时用得到 */
  background-image:
    linear-gradient(180deg, rgba(8, 8, 15, .48) 0%, rgba(8, 8, 15, .84) 64%, #08080F 100%),
    url("../img/hero-aurora.webp");
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}
.hero__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-9);
  padding-block: var(--sp-10) var(--sp-11);
}
.hero__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-6);
}
.hero__title { font-size: var(--fs-22); line-height: 1.31; }
.hero__sub { font-size: var(--fs-9); line-height: 1.8; color: var(--text-body); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { color: var(--text-soft); font-size: var(--fs-2); font-weight: 500; }

.hero__shots { flex: 0 0 auto; display: flex; align-items: center; }
.hero__shots .media:first-child {
  flex: 0 0 200px;
  width: 200px;
  transform: translateY(18px);
}
.hero__shots .media:last-child {
  flex: 0 0 260px;
  width: 260px;
  margin-left: -56px;
  box-shadow: 0 34px 64px -22px rgba(0, 0, 0, .78);
}

@media (max-width: 1100px) {
  .hero__inner { flex-direction: column; align-items: center; gap: var(--sp-8); }
  .hero__body { align-items: center; text-align: center; max-width: var(--w-prose); }
  .hero__shots { transform: none; }
}
@media (max-width: 560px) {
  /* 小屏只留一台，避免两台挤成一条 */
  .hero__shots .media:first-child { display: none; }
  .hero__shots .media:last-child { flex: 0 0 200px; width: 200px; margin-left: 0; }
}

/* ── 数据条 ─────────────────────────────────────────────────────────── */
.data-bar { background: var(--band); }
.data-bar__inner { padding-block: 34px; }
.data-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
  text-align: center;
}
.data-bar__value {
  display: block;
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
}
.data-bar__value--accent { color: var(--accent); }
.data-bar__label {
  display: block;
  margin-top: 6px;
  max-width: 100%;
  color: var(--text-soft);
  font-size: var(--fs-3);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .data-bar__inner { padding-block: var(--sp-6); }
  .data-bar__value { font-size: 24px; }
  .data-bar__label { font-size: var(--fs-2); }
}
@media (max-width: 520px) {
  .data-bar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-3); }
}

/* ── 页头（内页统一）────────────────────────────────────────────────── */
.page-hero { background: var(--band); }
.page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-block: var(--sp-11) 44px;
}
.page-hero--tall .page-hero__inner { padding-block: var(--sp-11) 52px; }
.page-hero--center .page-hero__inner { align-items: center; text-align: center; }
.page-hero__title { font-size: var(--fs-21); line-height: 1.3; }
.page-hero__lead { font-size: var(--fs-8); line-height: 1.8; color: var(--text-body); }
.page-hero--center .page-hero__lead { max-width: var(--w-prose); }
.page-hero__meta { color: var(--text-soft); font-size: var(--fs-2); }

/* 面包屑 */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text-soft);
  font-size: var(--fs-2);
}
.crumb a { color: var(--text-body); }
.crumb__sep { color: var(--text-soft); }

/* ── 收尾 CTA ───────────────────────────────────────────────────────── */
.cta-bar { padding-block: var(--sp-5) var(--sp-13); }
.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-10);
  border-radius: var(--r-4xl);
  background-color: #0C1017;                    /* 兜底不透明底色 */
  background-image: linear-gradient(135deg, #241C4A 0%, #0F2A44 100%);
  text-align: center;
}
.cta-card__title { font-size: var(--fs-17); line-height: 1.34; }
.cta-card__sub { color: var(--text-body); font-size: var(--fs-7); line-height: 1.8; }
.cta-card__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.simple-cta { padding-block: var(--sp-5) var(--sp-13); text-align: center; }
.simple-cta__title { font-size: var(--fs-13); line-height: 1.45; }
.simple-cta__actions { display: flex; justify-content: center; margin-top: var(--sp-6); }

@media (max-width: 768px) {
  .cta-card { padding: var(--sp-8) var(--sp-6); border-radius: var(--r-3xl); }
}

/* ── 页脚：永远深色，所以在这里把语义色就地重映射 ─────────────────── */
.site-footer {
  --band: #0E0E1A;
  --surface: #16162A;
  --line: #22222E;
  --text: #F4F4F8;
  --text-body: #8E8EA6;
  --text-soft: #8484A0;      /* 原设计 #5F5F72 在 #0E0E1A 上只有 3.07:1，已提到 AA */
  --ink: #9D8CFF;
  background: #0E0E1A;
  color: var(--text-body);
  padding-block: 60px;
  font-size: var(--fs-3);
}
.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-9);
  flex-wrap: wrap;
}
.site-footer__brand {
  flex: 0 1 330px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.site-footer .brand__mark { flex-basis: 28px; width: 28px; height: 28px; }
.site-footer .brand__name { font-size: var(--fs-10); }
.site-footer__desc { font-size: var(--fs-3); line-height: 1.72; }
.site-footer__note { color: var(--text-soft); font-size: var(--fs-1); line-height: 1.7; }

.site-footer__cols { display: flex; flex-wrap: wrap; gap: 68px; }
.site-footer__col { display: flex; flex-direction: column; gap: var(--sp-4); }
.site-footer__col--product { width: 118px; }
.site-footer__col--guide { width: 130px; }
.site-footer__col--about { width: 110px; }
.site-footer__col-title { color: var(--ink); font-size: var(--fs-1); }
.site-footer__link { color: var(--text-body); font-size: var(--fs-4); line-height: 2; }
.site-footer__link:hover { color: var(--text); }

.site-footer__bar {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
  margin-top: 44px;
  color: var(--text-soft);
  font-size: var(--fs-1);
}

@media (max-width: 900px) {
  .site-footer__cols { gap: var(--sp-8); }
}
@media (max-width: 640px) {
  .site-footer { padding-block: var(--sp-9); }
  .site-footer__top { gap: var(--sp-8); }
  .site-footer__brand { flex: 1 1 100%; }
  .site-footer__col--product,
  .site-footer__col--guide,
  .site-footer__col--about { width: calc(50% - var(--sp-4)); }
}

/* ===== pages.css ===== */
/* ==========================================================================
   pages.css — 各页局部区块。跨页共用的东西放 blocks.css，别往这里堆。
   这里的类都跟在 components.css 之后加载，覆盖基础卡片的安全边距用。
   ========================================================================== */

/* ══════════════════════════════════════════════════════════════════════
   通用：区块小标题组（眉标 + H2 + 导语）
   ══════════════════════════════════════════════════════════════════════ */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.section-head__title { font-size: var(--fs-16); line-height: 1.36; }
.section-head__lead {
  max-width: var(--w-prose);
  color: var(--text-body);
  font-size: var(--fs-7);
  line-height: 1.76;
}
.section-head + .grid,
.section-head + .shot-wall { margin-top: var(--sp-8); }
.section-head__title + .grid { margin-top: var(--sp-7); }

/* 各页区块的底部节奏（设计稿里逐段不同，统一在这里收口） */
.feat-section   { padding-block: 0 60px; }
.note-section   { padding-block: 0 60px; }
.sec-section    { padding-block: 0 60px; }
.dl-section     { padding-block: 0 var(--sp-12); }
.advice-section { padding-block: 0 var(--sp-12); }
.chip-section   { padding-block: 0 52px; }
.guide-section  { padding-block: 0 44px; }
.safe-section   { padding-block: 0 var(--sp-12); }

/* ══════════════════════════════════════════════════════════════════════
   01 首页
   ══════════════════════════════════════════════════════════════════════ */

/* 六张核心能力卡 */
.feature-card { gap: 14px; }
.feature-card__title { color: var(--text); font-size: 17px; font-weight: 700; }
.feature-card__text { color: var(--text-body); font-size: var(--fs-4); line-height: 1.7; }

/* 四个设备入口卡 */
.device-card { gap: var(--sp-3); }
.device-card__icon { color: var(--mark); }
.device-card__label {
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
}
.device-card__title { color: var(--text); font-size: var(--fs-8); font-weight: 700; }
.device-card__text { color: var(--text-body); font-size: var(--fs-3); line-height: 1.74; }

/* ══════════════════════════════════════════════════════════════════════
   02 下载页
   ══════════════════════════════════════════════════════════════════════ */
.dl-card { min-height: 210px; gap: var(--sp-4); }
.dl-card__head { display: flex; align-items: flex-start; gap: var(--sp-3); }
.dl-card__icon { flex: 0 0 auto; color: var(--mark); }
.dl-card__name { color: var(--text); font-size: var(--fs-11); font-weight: 700; line-height: 1.4; }
.dl-card__tag { margin-top: 2px; color: var(--ink); font-size: var(--fs-3); font-weight: 500; }
.dl-card__text {
  flex: 1 1 auto;
  color: var(--text-body);
  font-size: var(--fs-4);
  line-height: 1.76;
}
.dl-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: auto;
}
.dl-card__spec { color: var(--text-soft); font-size: var(--fs-2); }
/* iOS 卡：按钮 + 文字链接并排（立即下载 / 安装教程） */
.dl-card__actions { display: flex; align-items: center; gap: var(--sp-4); }
.dl-card__link { color: var(--ink); font-size: var(--fs-4); font-weight: 500; white-space: nowrap; }
.dl-card__link:hover { text-decoration: underline; }

/* 「不确定该下哪个」三张卡 */
.advice-card { gap: var(--sp-3); }
.advice-card__title { color: var(--text); font-size: var(--fs-8); font-weight: 700; }
.advice-card__text { color: var(--text-body); font-size: var(--fs-3); line-height: 1.76; }

@media (max-width: 768px) {
  .dl-card { min-height: 0; }
  .dl-card__foot { flex-direction: column; align-items: stretch; }
  .dl-card__foot .btn { width: 100%; }
  .dl-card__actions { flex-direction: column; align-items: stretch; }
  .dl-card__actions .btn { width: 100%; }
  .dl-card__link { text-align: center; padding: 8px 0; }
}

/* ══════════════════════════════════════════════════════════════════════
   03 功能特性页
   ══════════════════════════════════════════════════════════════════════ */
.feat-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.feat-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-8);
  padding: 26px 30px;
  border-radius: var(--r-md);
  background: var(--surface-flat);
}
.feat-row__no {
  flex: 0 0 44px;
  color: var(--ink);
  font-size: var(--fs-3);
  font-weight: 600;
  line-height: 2.24;
}
.feat-row__name {
  flex: 0 0 230px;
  color: var(--text);
  font-size: var(--fs-11);
  font-weight: 700;
  line-height: 1.55;
}
.feat-row__text {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text-body);
  font-size: var(--fs-5);
  line-height: 1.78;
}
.sec-card { gap: var(--sp-3); }
.sec-card__title { color: var(--text); font-size: var(--fs-9); font-weight: 600; }
.sec-card__text { color: var(--text-body); font-size: var(--fs-3); line-height: 1.72; }

@media (max-width: 768px) {
  .feat-row { flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); padding: 22px; }
  .feat-row__no { flex: 0 0 auto; }
  .feat-row__name { flex: 1 1 auto; }
  .feat-row__text { flex: 1 1 100%; }
}

/* ══════════════════════════════════════════════════════════════════════
   04 教程中心
   ══════════════════════════════════════════════════════════════════════ */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.guide-card { gap: 14px; }
.guide-card__icon { color: var(--mark); }
.guide-card__title { color: var(--text); font-size: 20px; font-weight: 700; }
.guide-card__meta { color: var(--ink); font-size: var(--fs-3); font-weight: 500; }
.guide-card__text { color: var(--text-body); font-size: var(--fs-4); line-height: 1.78; }
/* 入口贴着卡片底部：同一行两张卡等高，链接自然对齐 */
.guide-card__link {
  margin-top: auto;
  padding-top: var(--sp-3);
  color: var(--ink);
  font-size: var(--fs-3);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════════════
   05/06/07 三个教程长文页（左目录 + 右正文）
   ══════════════════════════════════════════════════════════════════════ */
.page-hero--doc .page-hero__inner { padding-block: 52px 38px; gap: 14px; }

.doc-body {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-9);
  padding-block: 0 var(--sp-11);
}

.rail { flex: 0 0 220px; }
.rail__title { color: var(--text-soft); font-size: var(--fs-2); }
.rail__list { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-3); }
.rail__link {
  display: flex;
  align-items: stretch;
  gap: var(--sp-3);
  padding: 9px 12px;
  border-radius: var(--r-sm);
  color: var(--text-body);
  font-size: var(--fs-4);
  line-height: 1.6;
}
.rail__link::before {
  content: "";
  flex: 0 0 3px;
  width: 3px;
  min-height: 14px;
  border-radius: 2px;
  background: transparent;
}
.rail__link:hover { background: rgba(20, 20, 31, .05); color: var(--text); text-decoration: none; }
.rail__link[aria-current] {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}
.rail__link[aria-current]::before { background: var(--mark); }

.doc-content { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 34px; }
.doc-sec { display: flex; flex-direction: column; gap: 18px; }
.doc-sec__title { font-size: var(--fs-12); line-height: 1.48; }
.doc-sec__text { color: var(--text-body); font-size: var(--fs-6); line-height: 1.84; }

/* 节间分隔线：画布上 Sec 之间确实有一条 1px 线，间距按 34 走 */
.doc-sep { height: 1px; border: 0; margin: 0; background: var(--line); }

.step-list { display: flex; flex-direction: column; gap: 18px; }
/* iOS / 电脑端那几节在画布里节距是 20，单独一档 */
.step-list--loose { gap: 20px; }
/* iOS 那几条步骤在画布里是纯文本块（无卡片、无序号），单独一档 */
.step--plain { padding: 0; border: 0; background: transparent; gap: 0; }
.step--plain .step__title { font-size: var(--fs-8); }
.step--plain .step__desc { margin-top: var(--sp-2); }

/* 「提示 → 处理办法」：左标签定宽 150，右侧说明占满 */
.hint-list { display: flex; flex-direction: column; gap: 18px; }
.hint { display: flex; align-items: flex-start; gap: var(--sp-6); }
.hint__label { flex: 0 0 150px; color: var(--ink); font-size: var(--fs-5); font-weight: 600; line-height: 1.7; }
.hint__text { flex: 1 1 auto; min-width: 0; color: var(--text-body); font-size: var(--fs-4); line-height: 1.78; }

@media (max-width: 640px) {
  .hint { flex-direction: column; gap: var(--sp-2); }
  .hint__label { flex: 0 0 auto; }
}

@media (max-width: 900px) {
  .doc-body { flex-direction: column; gap: var(--sp-7); }
  .rail { flex: 1 1 auto; width: 100%; }
  .rail__list { flex-direction: row; flex-wrap: wrap; gap: var(--sp-2); }
  .rail__link { padding: 7px 12px; box-shadow: inset 0 0 0 1px var(--line); }
}

/* ══════════════════════════════════════════════════════════════════════
   08 常见问题
   ══════════════════════════════════════════════════════════════════════ */
.page-hero--mid .page-hero__inner { padding-block: var(--sp-11) 42px; }

.faq-body {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding-block: 0 var(--sp-11);
}
.faq-group { display: flex; flex-direction: column; gap: 18px; }
.faq-group__title { font-size: var(--fs-10); line-height: 1.45; }
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
/* 列表底部那张「还是没找到答案」—— 浅紫底，和 .note 同族但更宽更扁 */
.faq-help {
  padding: 28px 32px;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-lg);
  background: var(--surface-2);
}
.faq-help__title { font-size: var(--fs-7); font-weight: 600; color: var(--text); }
.faq-help__text { margin-top: var(--sp-2); font-size: var(--fs-4); color: var(--text-body); line-height: 1.78; }

/* ══════════════════════════════════════════════════════════════════════
   09 更新日志
   ══════════════════════════════════════════════════════════════════════ */
.log-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-block: 0 var(--sp-11);
}
.log-current {
  padding: 30px;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.log-current__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
}
.log-version { color: var(--text); font-size: var(--fs-11); font-weight: 700; }
.log-date { margin-top: 6px; color: var(--text-soft); font-size: var(--fs-2); }
.log-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--ink);
  font-size: var(--fs-2);
}
.log-groups { display: flex; flex-direction: column; gap: var(--sp-5); margin-top: var(--sp-5); }
.log-group__tag { color: var(--ink); font-size: var(--fs-2); font-weight: 600; }
.log-list { display: flex; flex-direction: column; gap: var(--sp-1); margin-top: var(--sp-3); }
.log-list > li { color: var(--text-body); font-size: var(--fs-4); line-height: 1.78; }

.log-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-9);
  padding: 24px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.log-item__ver { flex: 0 0 150px; color: var(--text); font-size: 17px; font-weight: 700; }
.log-item__body { flex: 1 1 auto; min-width: 0; }
.log-item__date { color: var(--text-soft); font-size: var(--fs-4); }
.log-item__text { margin-top: var(--sp-2); color: var(--text-body); font-size: var(--fs-4); line-height: 1.82; }

@media (max-width: 768px) {
  .log-current { padding: 22px; }
  .log-item { flex-direction: column; gap: var(--sp-2); padding: 20px 22px; }
  .log-item__ver { flex: 0 0 auto; }
}

/* ══════════════════════════════════════════════════════════════════════
   关于 / 免责声明
   ══════════════════════════════════════════════════════════════════════ */
.about-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-9);
  padding-block: 0 var(--sp-11);
}
.about-sec { display: flex; flex-direction: column; gap: var(--sp-4); max-width: var(--w-prose); }
.about-sec__title { font-size: var(--fs-12); line-height: 1.48; }
.about-sec__text { color: var(--text-body); font-size: var(--fs-6); line-height: 1.84; }

