/* =========================================================
   components.css — 按钮 / 卡片 / 步骤 / 手风琴 / 商店徽章 / 各页专用块
   ========================================================= */

/* =========================================================
   图片容器 .media
   ---------------------------------------------------------
   所有配图都套 .media，比例由 modifier 决定，img 用 object-fit
   填满。换真实素材时只要比例对得上就不用改任何 CSS。
   ========================================================= */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface-alt);
  border: 1px solid var(--line);
}
.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--1x1  { aspect-ratio: 1 / 1; }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--3x2  { aspect-ratio: 3 / 2; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x5  { aspect-ratio: 4 / 5; }
.media--3x4  { aspect-ratio: 3 / 4; }
.media--round { border-radius: var(--r-xl); }
/* 信息图不能被裁（裁掉一角就少一条论据），用 contain 完整显示，
   底色跟图自身的底色对齐，contain 留出的边就看不出来。 */
.media--fit img { object-fit: contain; }
.media--fit { background: #F1F5F3; }
.section--dark .media--fit { background: #06231C; }

/* 场景插画按自身比例铺满容器，去掉 contain 留白和圆角边缘细缝。 */
.media--flush {
  border: 0;
  background: transparent;
}
.media--flush img {
  object-fit: cover;
  transform: scale(1.004);
}

/* 分栏还没生效（图是满宽）时，把方图/竖图压扁，避免一屏被一张图吃满。
   手机 4:3，平板再扁一档 16:9。 */
@media (max-width: 719px) {
  .media--squat-mobile { aspect-ratio: 4 / 3; }
}
@media (min-width: 720px) and (max-width: 899px) {
  .media--squat-mobile { aspect-ratio: 16 / 9; }
}
/* 窄屏不显示的辅助配图（例如 FAQ 侧图） */
@media (max-width: 899px) {
  .media--wide-only { display: none; }
}

.section--dark .media {
  background: var(--on-dark-surface);
  border-color: var(--on-dark-line);
}
.media.media--transparent,
.section--dark .media.media--transparent {
  overflow: visible;
  border: 0;
  background: transparent;
}
.media--transparent img { object-fit: contain; }

/* 界面局部裁切：真实截图是 390×844 的竖图，塞进 16:9 / 1:1 的框里时，
   object-fit:cover 本身就会放大（16:9 卡片里约 1.4×），
   再叠 transform:scale 会把界面左右裁掉，所以只用 object-position 选段。
   百分比 = 纵向取景位置，0% 顶边对齐、100% 底边对齐。 */
.media--crop-top    img { object-position: 50% 8%; }   /* 跳过状态栏，露出标题区 */
.media--crop-list   img { object-position: 50% 16%; }  /* 会话列表前几行 */
.media--crop-thread img { object-position: 50% 20%; }  /* 聊天气泡 */
.media--crop-bottom img { object-position: 50% 100%; } /* 底部 tab 栏 */

/* =========================================================
   .device — 手机外框（真实界面图套进去）
   ========================================================= */
.device {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(155deg, #1E4C3F 0%, #0A1F1A 58%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .09),
    0 24px 52px rgba(0, 0, 0, .38);
}
.device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 37px;
}
/* 刘海 */
.device::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 33%;
  height: 24px;
  border-radius: 0 0 14px 14px;
  background: #0A1F1A;
}

/* =========================================================
   .shot — 真实截图 + 编号标注
   ---------------------------------------------------------
   截图本身一个像素都不改：编号圆点浮在图上，说明放在图下方。
   不用引线是因为引线要往手机外伸，在窄栏和移动端必然打架；
   编号 + 图例在任何宽度下都成立。
   ========================================================= */
.shot { margin: 0; }
/* stage 必须和手机一样宽，否则 --x/--y 是相对整栏算的，圆点会飘到手机外面 */
.shot__stage {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
}

.shot__dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink-900);
  font-size: .78rem;
  font-weight: 800;
  box-shadow: 0 0 0 3px rgba(0, 217, 89, .28), 0 2px 8px rgba(5, 42, 33, .35);
}

.shot__legend {
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
  counter-reset: shot;
}
/* 注意：这里不能用 grid —— li 里是 <b> + 裸文本节点，
   裸文本会被当成独立的匿名 grid item 塞进第一列，把每个词挤成一行。 */
.shot__legend li {
  position: relative;
  padding-left: 34px;
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.55;
}
.shot__legend li::before {
  counter-increment: shot;
  content: counter(shot);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--teal-strong);
  font-size: .72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.shot__legend b { color: var(--text); font-weight: 650; }

.section--dark .shot__legend li { color: var(--on-dark-muted); }
.section--dark .shot__legend li::before { background: rgba(0, 217, 89, .16); color: var(--brand); }
.section--dark .shot__legend b { color: var(--on-dark); }

/* 图注 */
.media-cap {
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.5;
}
.section--dark .media-cap { color: var(--on-dark-muted); }

/* =========================================================
   .split — 图文左右分栏（本站最主要的版式骨架）
   默认：移动端上下堆叠，≥900px 左右分栏
   ========================================================= */
.split { display: grid; gap: var(--sp-6); }
.split__media { min-width: 0; }
.split__body  { min-width: 0; }

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--sp-9);
    align-items: center;
  }
  /* 图在左 */
  .split--media-left .split__media { order: -1; }
  /* 文字栏更宽 */
  .split--text-wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .split--media-wide { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .split--top { align-items: start; }
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: var(--tap);
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.btn:active { transform: scale(.97); }
.btn svg { flex-shrink: 0; }

/* 主按钮：亮绿底 + 墨绿字（白字在 #00D959 上对比度不足） */
.btn--primary {
  background: var(--brand);
  color: var(--ink-900);
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { background: var(--brand-strong); color: var(--ink-900); }

/* 深色区块的链接色不能覆盖主按钮文字色 */
.section--dark .btn--primary { color: var(--ink-900); }

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--secondary:hover { border-color: var(--teal); color: var(--teal); }

.btn--ghost {
  background: transparent;
  color: var(--teal);
  border-color: transparent;
  padding-inline: var(--sp-3);
}
.btn--ghost:hover { background: var(--teal-soft); color: var(--teal-strong); }

/* 深色区块内的次级按钮 */
.section--dark .btn--secondary,
.btn--on-dark {
  background: var(--on-dark-surface);
  color: var(--on-dark);
  border-color: var(--on-dark-line);
}
.section--dark .btn--secondary:hover,
.btn--on-dark:hover {
  background: rgba(255, 255, 255, .12);
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, .3);
}

.btn--lg { min-height: 52px; padding-inline: var(--sp-6); font-size: var(--fs-body); }
.btn--sm { min-height: 38px; padding-inline: var(--sp-4); font-size: var(--fs-xs); }
.btn--block { width: 100%; }

/* 文字链接箭头 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  font-size: var(--fs-sm);
  min-height: var(--tap);
}
.link-arrow svg { transition: transform var(--dur-fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ============ 商店徽章 ============ */
.store-badge {
  display: inline-flex;
  justify-content: center;
  border-radius: 10px;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.store-badge:active { transform: scale(.97); }
.store-badge:hover { opacity: .88; }
.store-badge img { height: 50px; width: auto; }
@media (max-width: 400px) {
  .store-picks { gap: var(--sp-2); }
  .store-badge img { height: 44px; }
}

/* ============ 卡片 ============ */
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.card--link:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
/* 卡片顶部满幅配图（需要 align-self:stretch 抵消 .card 的 align-items:flex-start） */
.card__media {
  align-self: stretch;
  margin: calc(var(--sp-5) * -1) calc(var(--sp-5) * -1) var(--sp-5);
  border: 0;
  border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0;
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--teal);
  margin-bottom: var(--sp-4);
}
.card h3, .card h4 { margin-bottom: var(--sp-2); }
.card p { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.65; }
.card__cta { margin-top: auto; padding-top: var(--sp-4); }

/* 深色区块内的卡片 */
.section--dark .card {
  background: var(--on-dark-surface);
  border-color: var(--on-dark-line);
}
.section--dark .card p { color: var(--on-dark-muted); }
.section--dark .card__icon { background: rgba(0, 217, 89, .16); color: var(--brand); }
.section--dark .card--link:hover { border-color: rgba(0, 217, 89, .5); }

/* 通用网格 */
.grid { display: grid; gap: var(--sp-4); }
@media (min-width: 620px)  { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 620px)  { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px)  { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 620px)  { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ============ 横向滑动轨（移动端 scroll-snap） ============ */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(268px, 78vw);
  gap: var(--sp-4);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* 让首尾卡片对齐容器 padding */
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  padding-bottom: var(--sp-2);
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

.rail-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.section--dark .rail-hint { color: var(--on-dark-muted); }

@media (min-width: 960px) {
  /* 桌面回归网格 */
  .rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    padding-inline: 0;
    margin-inline: 0;
  }
  .rail--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-hint { display: none; }
}

/* 两列的轨在平板就该收成网格，否则 78vw 的卡片宽得离谱 */
@media (min-width: 720px) and (max-width: 959px) {
  .rail--2 {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    padding-inline: 0;
    margin-inline: 0;
  }
  .rail--2 ~ .rail-hint { display: none; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) clamp(3rem, 2rem + 5vw, 6rem);
}
.hero__grid {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
.hero__title { font-size: var(--fs-display); margin-bottom: var(--sp-4); }
.hero__title em {
  font-style: normal;
  color: var(--brand);
}
.hero__sub {
  font-size: clamp(1rem, .95rem + .5vw, 1.2rem);
  color: var(--on-dark-muted);
  line-height: 1.62;
  max-width: 52ch;
  margin-bottom: var(--sp-6);
}
.hero__actions { display: flex; flex-direction: column; gap: var(--sp-4); }
.hero__fine {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--on-dark-muted);
  line-height: 1.5;
  max-width: 46ch;
}
.hero__fine svg { flex-shrink: 0; margin-top: 1px; color: var(--brand); }

/* 两个平台的下载二维码，只在桌面端出现（手机上扫自己没意义），
   显示与否由下面 min-width: 900px 的媒体查询控制。 */
/* Hero 下载区：每个平台一列，二维码在上、商店徽标在下（二维码仅桌面端显示） */
.store-picks {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content; /* 每列宽度＝该平台徽标的宽度，二维码卡片跟着拉伸 */
  gap: var(--sp-4);
  width: fit-content;
}
.store-pick { display: grid; gap: var(--sp-3); }
.store-pick__qr {
  display: none;
  place-items: center;
  margin: 0;
  padding: var(--sp-3);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--r-md);
  background: var(--on-dark-surface);
}
.store-pick__qr img {
  display: block;
  width: 100%;
  max-width: 116px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 6px;
  background: #fff;
}

.hero__visual {
  position: relative;
  isolation: isolate;          /* 让下面的 ::before 只压在本元素内，不会掉到区块背景下面 */
  justify-self: center;
  display: flex;
  justify-content: center;
  width: 100%;
}
/* 主视觉的光晕放在 CSS，不放 SVG 里——画在图内的话渐变到图边缘就截断了，
   和 Hero 区块的背景接不上。这里用 blur 让它溢出图片边界，过渡才是连续的。 */
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 4% -6% 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(0, 217, 89, .26) 0%,
    rgba(0, 217, 89, .10) 48%,
    rgba(0, 217, 89, 0) 76%);
  filter: blur(56px);
  pointer-events: none;
}
/* Hero 主视觉：640×720 的构图，高 = 宽 × 1.125。
   SVG 自带光晕和留白，所以不套 .media / .device 外框，直接控宽。 */
.hero__art { width: 100%; max-width: 440px; height: auto; }
/* 窄屏保持主视觉在 container 内，并占满当前可用宽度。 */
@media (max-width: 899px) {
  .hero__art { max-width: none; }
}
@media (min-width: 900px) {
  .hero__art { max-width: 640px; }
}

/* Hero 要点条：给左栏补一段信息密度，同时是转化前的四个记忆点。
   ≥620px 排成 2×2；窄屏单列，避免长文案挤成两行 */
.hero__points {
  display: grid;
  gap: var(--sp-3) var(--sp-6);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  padding-left: 0;
  border-top: 1px solid var(--on-dark-line);
}
@media (min-width: 620px) {
  .hero__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hero__point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--on-dark);
  line-height: 1.3;
}
.hero__point svg { flex-shrink: 0; color: var(--brand); }
.hero__glow {
  position: absolute;
  inset: -18% -12%;
  z-index: -1;
  background: radial-gradient(circle at 50% 45%, rgba(0, 217, 89, .3), transparent 62%);
  filter: blur(28px);
  pointer-events: none;
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: var(--sp-7); }
  .store-pick__qr { display: grid; }
  .hero__visual { justify-self: end; }
}

/* =========================================================
   .media-split — 左图 + 右文案（标题在上、正文在下）
   ---------------------------------------------------------
   桌面：左栏一张跨两行的图，高度跟着右栏内容走；
   移动：顺序变成 标题 → 图 → 正文，先给上下文，再用图抓注意力，
        最后展开细节。
   模块 2（场景痛点）和模块 5（压力测试）共用这套骨架。
   ========================================================= */
.media-split {
  display: grid;
  gap: var(--sp-6);
  grid-template-areas:
    "head"
    "media"
    "body";
}
.media-split__head  { grid-area: head; margin-bottom: 0; }
.media-split__media { grid-area: media; min-width: 0; }
.media-split__media > .media { margin: 0; }
.media-split__body  { grid-area: body; min-width: 0; }

@media (min-width: 900px) {
  .media-split {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    grid-template-areas:
      "media head"
      "media body";
    align-items: start;
    column-gap: var(--sp-9);
    row-gap: var(--sp-6);
  }
  /* 左栏图跟着右栏两行一起长高 */
  .media-split__media { align-self: stretch; display: flex; flex-direction: column; }
  /* 高度交给右栏决定，所以这里放弃固定比例 */
  .media-split__media .media { flex: 1; aspect-ratio: auto; min-height: 420px; }
}

/* ============ 极限压力测试（模块 5）============
   四条坏情况是普通 HTML 文本（手机上才看得清），右边是护盾插画：
   人物在圆形安全区里，外圈一圈断裂虚线从各个方向逼近、止步于点状边界之外。
   每条风险前/后挂一个红叉，表示这条路被挡住了。
   宽屏：文字 + 虚线 + 红叉 + 护盾，从左往右读成「风险 → 被挡 → 安全」；
   窄屏：护盾在上，风险竖排在下，红叉移到文字左侧。 */
.stress-wall {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: var(--sp-7);
}
.stress-shield {
  margin: 0;
  min-width: 0;
  padding-inline: var(--sp-4);     /* 窄屏：圆圈不要顶到容器边 */
}
.stress-shield__svg {
  display: block;
  width: 100%;
  height: auto;
}

.stress-risks {
  display: grid;                   /* 窄屏顺序＝DOM 顺序：四条风险 → 盾牌 → 插画 */
  gap: var(--sp-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.stress-risk { min-width: 0; }
/* 四条风险做成卡片：暖灰底 + 锈红图标圆 */
.stress-risk__card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: center;
  padding: 18px 22px;
  border-radius: 20px;
  background: #F4F4F1;
}
.stress-risk__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #F7E4DC;
  color: #B4532A;
}
.stress-risk__body { min-width: 0; }
.stress-risk h4 {
  margin: 0 0 var(--sp-1);
  font-size: var(--fs-h4);
  line-height: var(--lh-snug);
  color: #1F3D33;
}
.stress-risk p {
  max-width: 46ch;
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.55;
}

/* 盾牌：四条虚线的终点。窄屏没有虚线，盾牌居中夹在插画和风险清单之间 */
/* 窄屏：盾牌居中，四支箭头从上方射向盾面（固定 300×300 画布，几何精确） */
.stress-guard {
  position: relative;
  width: 300px;
  height: 300px;
  margin-inline: auto;
}
/* 盾牌身后一团很淡的锈红光晕，暗示"冲击" */
.stress-guard::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 58%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(214, 120, 88, .2), rgba(214, 120, 88, .07) 55%, transparent);
  pointer-events: none;
  z-index: -1;
}
.stress-guard__shield {
  position: absolute;
  left: 90px;
  top: 110px;
  width: 120px;
  height: auto;
  z-index: 1;
}
/* 盾牌脚下的地面投影 */
.stress-guard__ground {
  position: absolute;
  left: 104px;
  top: 276px;
  width: 104px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40, 60, 50, .26), transparent);
}
.stress-guard__arrows { position: absolute; inset: 0; width: 100%; height: 100%; display: none; z-index: 2; }
.stress-guard__arrows--y { display: block; }

@media (min-width: 900px) {
  /* 三栏：风险卡片 ｜ 箭头+盾牌 ｜ 人物插画 */
  .stress-wall {
    grid-template-columns: minmax(0, 1fr) 230px minmax(0, 390px);
    column-gap: 0;
    align-items: center;
  }
  .stress-shield { padding-inline: 0; }

  /* 四行等高并撑满整栏，箭头起点（12.5%/37.5%/62.5%/87.5%）正好落在每行中线上 */
  .stress-risks {
    align-self: stretch;
    gap: 0;
    grid-auto-rows: 1fr;
    padding-right: var(--sp-3);
  }
  .stress-risk {
    display: grid;
    align-content: center;
    padding-block: var(--sp-1);
  }

  /* 宽屏：盾牌靠近人物圆圈，四支箭头从左侧四张卡射向盾面 */
  .stress-guard {
    align-self: stretch;
    width: auto;
    height: auto;
    margin-inline: 0;
  }
  .stress-guard::before { left: 42%; top: 50%; width: 520px; height: 520px; }
  .stress-guard__shield {
    left: auto;
    right: 26px;
    top: 50%;
    width: 118px;
    transform: translateY(-50%);
  }
  .stress-guard__ground { left: auto; right: 34px; top: calc(50% + 80px); width: 102px; }
  .stress-guard__arrows--y { display: none; }
  .stress-guard__arrows--x { display: block; }
}

/* ============ 痛点人群卡 ============ */
.persona-stack { display: grid; gap: var(--sp-3); }

.persona {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.persona:hover { border-color: var(--brand); transform: translateX(3px); }
.persona__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--teal);
}
.persona h4 { margin-bottom: var(--sp-1); }
.persona p { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.6; }

/* ============ How it works 步骤 ============ */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--sp-4);
  padding-bottom: var(--sp-6);
}
.step:last-child { padding-bottom: 0; }
/* 移动端纵向连线 */
.step::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, rgba(0, 217, 89, .18) 100%);
}
.step:last-child::before { display: none; }
.step__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink-900);
  font-weight: 800;
  font-size: 1.05rem;
}
.step h4 { margin-bottom: var(--sp-2); padding-top: 9px; }
.step p { color: var(--text-muted); font-size: var(--fs-sm); }
.section--dark .step p { color: var(--on-dark-muted); }

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); }
  .step { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; gap: var(--sp-4); }
  .step::before {
    left: 56px; right: calc(var(--sp-6) * -1 - 8px);
    top: 22px; bottom: auto;
    width: auto; height: 2px;
    background: linear-gradient(90deg, var(--brand) 0%, rgba(0, 217, 89, .18) 100%);
  }
  .step h4 { padding-top: 0; }
}

/* ============ 自上而下的步骤流（模块 3） ============ */
.step-flow {
  position: relative;
  display: grid;
  max-width: 900px;
  margin-inline: auto;
}
.step-flow::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 7px;
  width: 1px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--line-strong) 82%, transparent 100%);
}
.step-flow__item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: var(--sp-4);
  padding-block: var(--sp-3);
}
.step-flow__item:first-child { padding-top: 0; }
.step-flow__item:last-child { padding-bottom: 0; }
.step-flow__marker {
  position: relative;
  z-index: 1;
  width: 15px;
  height: 15px;
  margin-top: var(--sp-5);
  border: 4px solid var(--surface-alt);
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px rgba(0, 141, 116, .18);
}
.step-flow__content {
  min-width: 0;
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.step-flow__label {
  color: var(--teal);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .09em;
}
.step-flow__body { align-self: center; }
.step-flow__body h3 {
  margin: 0 0 var(--sp-2);
  font-size: var(--fs-h4);
  line-height: var(--lh-snug);
}
.step-flow__body p {
  max-width: 58ch;
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.65;
}
/* ============ 工作原理：左文右图（模块 3） ============
   左栏是标题 + 三步流程 + 提示条，右栏是上下两段合成的一张图。
   图本身是横向流程，窄屏下整体缩太小会看不清，所以 900px 以下改成卡片内横向滚动。 */
.how-split {
  display: grid;
  gap: var(--sp-7);
}
.how-split__copy { min-width: 0; }
.how-split__figure {
  order: -1;   /* 图在前：桌面端占左侧宽栏（1.2fr），移动端排在 steps 上面 */
  min-width: 0;
  margin: 0;
  padding: var(--sp-3);
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  -webkit-overflow-scrolling: touch;
}
.how-split__figure svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 899px) {
  .how-split__figure svg { min-width: 600px; }
}
@media (min-width: 900px) {
  .how-split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: var(--sp-8);
    align-items: start;
  }
  /* 图更重要，放左边；文字栏比图高时，图吸顶跟着读者走 */
  .how-split__figure {
    position: sticky;
    top: calc(var(--header-h) + var(--sp-5));
    padding: var(--sp-4);
  }
}

.step-flow + .figure-note { margin-top: var(--sp-5); }
/* 模块 3 右栏末尾：通往安全白皮书的文字链接 */
.how-split__more {
  margin-top: var(--sp-3);
  color: var(--teal-strong);
}
@media (min-width: 900px) {
  .how-split__more { min-height: 32px; }   /* 桌面端不需要 44px 触控高度，省出空间让左右两栏齐平 */
}
.how-split__more:hover { color: var(--teal); }

.figure-note {
  max-width: 900px;
  margin-inline: auto;
}

@media (min-width: 680px) {
  .step-flow::before { left: 9px; }
  .step-flow__item {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: var(--sp-5);
    padding-block: 0.6rem;           /* 步骤间距，右栏高度与左侧配图齐平 */
  }
  .step-flow__marker {
    width: 19px;
    height: 19px;
  }
  .step-flow__content {
    row-gap: var(--sp-3);
    padding: var(--sp-6);
  }
}

/* ============ 响应式四卡（模块 4） ============ */
.security-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
}
.security-card { min-width: 0; }
.security-card h3 {
  font-size: var(--fs-h4);
  line-height: var(--lh-snug);
}
.security-card .card__cta { font-size: var(--fs-xs); }

@media (min-width: 640px) {
  .security-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .security-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .security-card {
    padding: var(--sp-4);
    border-radius: var(--r-md);
  }
  .security-card .card__media {
    margin: calc(var(--sp-4) * -1) calc(var(--sp-4) * -1) var(--sp-4);
    border-radius: calc(var(--r-md) - 1px) calc(var(--r-md) - 1px) 0 0;
  }
  .security-card p {
    font-size: var(--fs-xs);
    line-height: 1.58;
  }
}

/* ============ 压力测试清单（模块 5 右栏） ============ */
.stress-list {
  display: grid;
}
.stress-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  /* 让右栏四条撑到和左栏（标题 + 配图）差不多高，避免底部一大块空白 */
  .stress-row { padding-block: var(--sp-6); }
}
.stress-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--teal);
}
.stress-row h4 { margin-bottom: var(--sp-2); font-size: var(--fs-h4); }
.stress-row p { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.65; }

/* 放到深色区块时的反色 */
.section--dark .stress-row { border-bottom-color: var(--on-dark-line); }
.section--dark .stress-row__icon { background: rgba(0, 217, 89, .14); color: var(--brand); }
.section--dark .stress-row h4 { color: var(--on-dark); }
.section--dark .stress-row p { color: var(--on-dark-muted); }

/* ============ Who we are 宣言区（模块 6） ============ */
.manifesto-block {
  text-align: left;
}
.manifesto-block__head {
  display: grid;
  gap: var(--sp-4);
  align-items: end;
}
.manifesto-block__title {
  max-width: 18ch;
  margin: 0;
  color: var(--on-dark);
  font-size: clamp(2rem, 1.35rem + 2.8vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.manifesto-block__lead {
  max-width: 44ch;
  margin: 0;
  color: var(--on-dark-muted);
  font-size: var(--fs-body);
  line-height: 1.7;
}
.manifesto-block .stat-cap {
  margin: var(--sp-8) 0 var(--sp-4);
  color: var(--brand);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .01em;
}
.manifesto-block .stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: var(--on-dark-surface);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--r-xl);
}
.manifesto-block .stat {
  min-width: 0;
  padding: var(--sp-5) var(--sp-4);
  border-left: 1px solid var(--on-dark-line);
}
.manifesto-block .stat:nth-child(odd) { border-left: 0; }
.manifesto-block .stat:nth-child(n + 3) { border-top: 1px solid var(--on-dark-line); }
.manifesto-block .stat__k {
  color: var(--brand);
  font-size: clamp(2.75rem, 2rem + 3.4vw, 4.75rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.06em;
}
.manifesto-block .stat__v {
  margin-top: var(--sp-4);
  color: var(--on-dark);
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.35;
}
.manifesto-block .stat__d {
  max-width: 18ch;
  margin-top: var(--sp-2);
  color: var(--on-dark-muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

@media (min-width: 760px) {
  .manifesto-block__head {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: var(--sp-8);
  }
  .manifesto-block__lead { justify-self: end; }
  .manifesto-block .stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .manifesto-block .stat:nth-child(n) {
    padding: var(--sp-7) var(--sp-6);
    border-top: 0;
    border-left: 1px solid var(--on-dark-line);
  }
  .manifesto-block .stat:first-child { border-left: 0; }
}

/* ============ 下载区面板（模块 8） ============ */
.download-split {
  gap: 0;
}
.download-split .media {
  margin: 0;
}
@media (min-width: 900px) {
  .download-split {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  }
}

.figure-note {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-top: var(--sp-7);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--on-dark-surface);
  border: 1px solid var(--on-dark-line);
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
  line-height: 1.6;
}
.figure-note svg { flex-shrink: 0; margin-top: 3px; color: var(--brand); }
.section:not(.section--dark) .figure-note {
  background: var(--brand-softer);
  border-color: var(--line);
  color: var(--teal);
}
.section:not(.section--dark) .figure-note svg { color: var(--teal); }

/* ============ 压力测试问答 ============ */
.stress {
  display: grid;
  gap: var(--sp-4);
}
.stress__item {
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--on-dark-surface);
  border: 1px solid var(--on-dark-line);
}
.stress__q {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--on-dark);
  margin-bottom: var(--sp-3);
}
.stress__q svg { flex-shrink: 0; color: var(--brand); }
.stress__a { color: var(--on-dark-muted); font-size: var(--fs-sm); line-height: 1.65; }
@media (min-width: 720px) { .stress { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============ 手风琴 FAQ（原生 details，无 JS 也可用） ============ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 64px;
  padding: var(--sp-4) 0;
  font-size: var(--fs-h4);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::marker { content: ""; }
.faq__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--teal);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--brand-soft); }
.faq__answer {
  padding-bottom: var(--sp-5);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.72;
  max-width: 68ch;
}
.faq__item[open] .faq__answer { animation: faq-in var(--dur) var(--ease-out); }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ============ 客服咨询区 ============ */
.support {
  display: grid;
  gap: var(--sp-6);
  align-items: start;
}
.support__steps { list-style: none; padding: 0; margin: 0 0 var(--sp-5); counter-reset: s; }
.support__steps li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.support__steps li::before {
  counter-increment: s;
  content: counter(s);
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink-900);
  font-weight: 800;
  font-size: .8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.qr-card {
  justify-self: center;
  text-align: center;
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  max-width: 300px;
  width: 100%;
}
.qr-card img {
  width: 100%;
  max-width: 208px;
  margin: 0 auto var(--sp-3);
  border-radius: var(--r-sm);
}
.qr-card__label { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.5; }

.notice {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--warn-soft);
  border: 1px solid #F3D9C6;
  color: #6E3312;
  font-size: var(--fs-sm);
  line-height: 1.62;
}
.notice svg { flex-shrink: 0; margin-top: 3px; color: var(--warn); }
.notice strong { color: #5A2A0E; }

@media (min-width: 860px) {
  .support { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--sp-8); }
  .qr-card { justify-self: end; }
}

/* ============ 页尾 CTA 条 ============ */
.cta-strip { text-align: center; }
.cta-strip h2 { max-width: 20ch; margin-inline: auto; }
.cta-strip .lead { max-width: 52ch; margin-inline: auto; margin-bottom: var(--sp-6); }
.cta-strip .store-picks { margin-inline: auto; }

/* ============ 定价卡 ============ */
.price-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 800px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } }

.price-card {
  position: relative;
  padding: var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.price-card--featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.price-card__tag {
  position: absolute;
  top: var(--sp-5); right: var(--sp-5);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: var(--ink-900);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.price-card__name { font-size: var(--fs-h4); color: var(--text-muted); margin-bottom: var(--sp-2); }
.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: var(--sp-2);
}
.price-card__amount b {
  font-size: clamp(2rem, 1.6rem + 1.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.price-card__amount span { color: var(--text-muted); font-size: var(--fs-sm); }
/* 非数字金额（如「联系我们」）不需要展示尺寸 */
.price-card__amount--text b { font-size: var(--fs-h3); letter-spacing: -.02em; }
.price-card__note { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-5); }

.price-card__contact {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: center;
  margin: 0 0 var(--sp-5);
  padding: var(--sp-4);
  border: 1px solid rgba(0, 141, 116, .18);
  border-radius: var(--r-lg);
  background: var(--brand-softer);
}
.price-card__contact img {
  width: 112px;
  height: 112px;
  padding: 5px;
  border-radius: var(--r-sm);
  background: var(--surface);
}
.price-card__contact figcaption {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.price-card__contact strong {
  color: var(--text);
  font-size: var(--fs-sm);
  line-height: 1.4;
}
.price-card__contact span {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  line-height: 1.55;
}

@media (max-width: 420px) {
  .price-card__contact { grid-template-columns: 92px minmax(0, 1fr); }
  .price-card__contact img { width: 92px; height: 92px; }
}

.feat-list { list-style: none; margin: var(--sp-5) 0 0; padding: 0; }
.feat-list li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-2) 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.feat-list svg { flex-shrink: 0; margin-top: 4px; color: var(--brand); }
.feat-list li b { color: var(--text); font-weight: 650; }
.feat-list__note {
  display: block;
  margin-top: 3px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

/* 支付方式 */
.pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
}

/* ============ 功能详解（图文交错） ============ */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-5);
  padding-block: var(--sp-7);
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.feature-row:last-child { border-bottom: 0; }
.feature-row__media { margin: 0; }
.feature-illustration {
  overflow: hidden;
  margin: 0;
  border-color: rgba(0, 141, 116, .18);
  border-radius: var(--r-xl);
  background: #F4FAF7;
  box-shadow: var(--shadow-sm);
}
.feature-illustration img { object-fit: cover; }

/* 功能页：两列等宽卡片矩阵 */
.feature-catalog {
  background:
    radial-gradient(circle at 8% 4%, rgba(0, 217, 89, .07), transparent 23%),
    var(--surface-alt);
}

.feature-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(var(--sp-5), 3vw, var(--sp-7));
  align-items: stretch;
}

.feature-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 141, 116, .14);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + var(--sp-4));
}

.feature-card__media {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(0, 141, 116, .12);
  border-radius: 0;
  box-shadow: none;
}

.feature-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(var(--sp-5), 2.5vw, var(--sp-7));
}

.feature-card__body .eyebrow { margin-bottom: var(--sp-3); }

.feature-card__body h2 {
  min-height: 2.42em;
  margin-bottom: var(--sp-4);
  font-size: clamp(1.4rem, 1.17rem + .8vw, 2rem);
}

.feature-card__desc {
  margin: 0;
  line-height: 1.72;
}

.feature-card__more {
  margin: var(--sp-4) 0 0;
  font-size: var(--fs-sm);
}

.feature-card__scene {
  display: grid;
  gap: var(--sp-2);
  margin-top: auto;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  line-height: 1.62;
  color: var(--text-muted);
}

.feature-card__scene b {
  font-size: var(--fs-xs);
  line-height: 1.3;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--teal);
}

@media (min-width: 760px) {
  .feature-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .feature-card__body h2 { min-height: 0; }
}

/* 功能页旧版动态拼贴兼容样式。 */
.feature-visual {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(0, 141, 116, .18);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 82% 16%, rgba(0, 217, 89, .14), transparent 28%),
    radial-gradient(circle at 14% 88%, rgba(142, 223, 193, .28), transparent 31%),
    linear-gradient(145deg, #F8FCFA 0%, #EDF8F3 100%);
  color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.feature-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 56%;
  aspect-ratio: 1;
  right: -17%;
  bottom: -32%;
  border-radius: 50%;
  background: rgba(0, 217, 89, .09);
}
.feature-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 10%;
  left: 8%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #F28A39;
  box-shadow: 24px 17px 0 -2px rgba(0, 141, 116, .5), 418px 248px 0 2px rgba(0, 217, 89, .35);
}
.feature-visual__phone {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  padding: 6px;
  border-radius: clamp(22px, 4vw, 34px);
  background: #10211C;
  box-shadow: 0 20px 44px rgba(5, 42, 33, .22);
}
.feature-visual__phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: clamp(17px, 3.4vw, 28px);
  background: #fff;
}
.feature-visual__route,
.feature-visual__relay-line,
.feature-visual__transfer-arrow {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 1. 端到端加密 */
.feature-visual__phone--chat {
  top: 8%;
  left: 10%;
  width: 39%;
  height: 84%;
  transform: rotate(-3deg);
}
.feature-visual__phone--chat img { object-position: 50% 8%; }
.feature-visual__message {
  position: absolute;
  z-index: 3;
  top: 29%;
  right: 8%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: var(--sp-3);
  width: 40%;
  padding: var(--sp-4);
  border: 1px solid rgba(0, 141, 116, .28);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 38px rgba(5, 42, 33, .15);
}
.feature-visual__lock {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink-900);
}
.feature-visual__lock svg { width: 25px; }
.feature-visual__cipher { display: grid; gap: 8px; }
.feature-visual__cipher i {
  display: block;
  height: 7px;
  border-radius: var(--r-pill);
  background: rgba(0, 141, 116, .2);
}
.feature-visual__cipher i:nth-child(2) { width: 76%; }
.feature-visual__cipher i:nth-child(3) { width: 48%; background: rgba(0, 217, 89, .45); }

/* 2. 无账号：二维码配对取自营销稿的“添加好友与密钥交换”。 */
.feature-visual__phone--home {
  top: 6%;
  right: 8%;
  width: 42%;
  height: 88%;
  transform: rotate(3deg);
}
.feature-visual__qr-card {
  position: absolute;
  z-index: 3;
  top: 23%;
  left: 9%;
  display: grid;
  place-items: center;
  width: 35%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 141, 116, .3);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 40px rgba(5, 42, 33, .15);
}
.feature-visual__qr { width: 62%; color: var(--ink-800); }
.feature-visual__pair {
  position: absolute;
  top: -15px;
  right: -15px;
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border: 5px solid #F5FBF8;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink-900);
}
.feature-visual__pair svg { width: 23px; }
.feature-visual__identity-off {
  position: absolute;
  z-index: 4;
  left: 34%;
  bottom: 13%;
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink-800);
  color: var(--brand);
  box-shadow: 0 12px 26px rgba(5, 42, 33, .2);
}
.feature-visual__identity-off svg { width: 29px; }

/* 3. 中继：两个终端只通过用户选择的密文通道连接。 */
.feature-visual__endpoint {
  position: absolute;
  z-index: 2;
  top: 23%;
  width: 20%;
  aspect-ratio: .55;
  padding: 7px;
  border-radius: clamp(20px, 4vw, 32px);
  background: #10211C;
  box-shadow: 0 16px 34px rgba(5, 42, 33, .18);
}
.feature-visual__endpoint span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: clamp(15px, 3vw, 25px);
  background:
    radial-gradient(circle at 50% 34%, var(--brand) 0 6px, transparent 7px),
    linear-gradient(rgba(0, 141, 116, .16), rgba(0, 141, 116, .16)) 50% 51% / 46% 7px no-repeat,
    linear-gradient(rgba(0, 141, 116, .1), rgba(0, 141, 116, .1)) 50% 58% / 62% 6px no-repeat,
    #F7FBF9;
}
.feature-visual__endpoint--left { left: 7%; transform: rotate(-3deg); }
.feature-visual__endpoint--right { right: 7%; transform: rotate(3deg); }
.feature-visual__relay-node {
  position: absolute;
  z-index: 3;
  top: 27%;
  left: 36%;
  display: grid;
  place-items: center;
  width: 28%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 141, 116, .3);
  border-radius: 28%;
  background: rgba(255, 255, 255, .96);
  color: var(--teal);
  box-shadow: 0 20px 42px rgba(5, 42, 33, .16);
}
.feature-visual__relay-node svg { width: 62%; }
.feature-visual__relay-tabs {
  position: absolute;
  z-index: 4;
  left: 29%;
  bottom: 9%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 10px;
  width: 42%;
  padding: 13px 17px;
  border-radius: var(--r-lg);
  background: var(--ink-800);
  box-shadow: 0 14px 30px rgba(5, 42, 33, .2);
}
.feature-visual__relay-tabs span {
  height: 8px;
  border-radius: var(--r-pill);
  background: rgba(216, 248, 230, .22);
}
.feature-visual__relay-tabs .is-active { height: 18px; border-radius: 5px; background: var(--brand); }

/* 4. 阅后即焚 */
.feature-visual__phone--burn {
  top: 5%;
  left: 9%;
  width: 42%;
  height: 90%;
  transform: rotate(-2deg);
}
.feature-visual__phone--burn img { object-position: 50% 8%; }
.feature-visual__timer-card {
  position: absolute;
  z-index: 3;
  top: 25%;
  right: 9%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: var(--sp-3);
  width: 39%;
  padding: var(--sp-4);
  border: 1px solid rgba(0, 141, 116, .28);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .96);
  color: var(--teal);
  box-shadow: 0 18px 38px rgba(5, 42, 33, .16);
}
.feature-visual__timer-card > svg { width: 42px; }
.feature-visual__timer-card span { display: grid; gap: 8px; }
.feature-visual__timer-card i { display: block; height: 7px; border-radius: var(--r-pill); background: rgba(0, 141, 116, .18); }
.feature-visual__timer-card i:nth-child(2) { width: 72%; background: rgba(0, 217, 89, .45); }
.feature-visual__timer-card i:nth-child(3) { width: 48%; }
.feature-visual__burn-badge {
  position: absolute;
  z-index: 4;
  right: 18%;
  bottom: 14%;
  display: grid;
  place-items: center;
  width: 68px;
  aspect-ratio: 1;
  border: 6px solid #F1F9F5;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink-900);
  box-shadow: 0 14px 30px rgba(5, 42, 33, .18);
}
.feature-visual__burn-badge svg { width: 34px; }

/* 5. 双密码 / 双模式 */
.feature-visual__phone--mode-a {
  top: 12%;
  left: 10%;
  width: 38%;
  height: 80%;
  transform: rotate(-5deg);
  filter: saturate(.2) brightness(1.06);
}
.feature-visual__phone--mode-b {
  z-index: 3;
  top: 7%;
  right: 12%;
  width: 39%;
  height: 84%;
  transform: rotate(4deg);
}
.feature-visual__keypad {
  position: absolute;
  z-index: 5;
  left: 38%;
  bottom: 10%;
  display: grid;
  grid-template-columns: repeat(3, 10px);
  gap: 10px 12px;
  padding: 17px 20px;
  border: 1px solid rgba(0, 141, 116, .3);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 32px rgba(5, 42, 33, .18);
}
.feature-visual__keypad i { width: 10px; aspect-ratio: 1; border-radius: 50%; background: var(--teal); }
.feature-visual__keypad i:nth-child(2n) { background: var(--brand); }
.feature-visual__mode-shield {
  position: absolute;
  z-index: 5;
  top: 11%;
  right: 5%;
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink-800);
  color: var(--brand);
  box-shadow: 0 12px 28px rgba(5, 42, 33, .2);
}
.feature-visual__mode-shield svg { width: 29px; }

/* 6. 授权恢复 */
.feature-visual__transfer-phone {
  position: absolute;
  z-index: 2;
  top: 27%;
  left: 9%;
  display: grid;
  place-items: center;
  width: 23%;
  aspect-ratio: .62;
  border-radius: clamp(20px, 4vw, 32px);
  background: #DDE8E3;
  color: #83968E;
  box-shadow: 0 16px 34px rgba(5, 42, 33, .12);
}
.feature-visual__transfer-phone svg { width: 50%; }
.feature-visual__recovery-qr {
  position: absolute;
  z-index: 4;
  top: 31%;
  left: 34%;
  display: grid;
  place-items: center;
  width: 25%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 141, 116, .3);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .97);
  color: var(--ink-800);
  box-shadow: 0 18px 38px rgba(5, 42, 33, .16);
}
.feature-visual__recovery-qr svg { width: 68%; }
.feature-visual__phone--restored {
  z-index: 3;
  top: 8%;
  right: 8%;
  width: 35%;
  height: 84%;
  transform: rotate(3deg);
}
.feature-visual__restored-check {
  position: absolute;
  z-index: 5;
  top: 10%;
  right: 4%;
  display: grid;
  place-items: center;
  width: 54px;
  aspect-ratio: 1;
  border: 5px solid #F2FAF6;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink-900);
  box-shadow: 0 12px 26px rgba(5, 42, 33, .18);
}
.feature-visual__restored-check svg { width: 27px; }

@media (max-width: 460px) {
  .feature-visual__message,
  .feature-visual__timer-card { padding: var(--sp-3); grid-template-columns: 36px minmax(0, 1fr); }
  .feature-visual__lock,
  .feature-visual__timer-card > svg { width: 36px; }
  .feature-visual__pair { width: 40px; border-width: 4px; }
  .feature-visual__identity-off,
  .feature-visual__mode-shield { width: 50px; }
  .feature-visual__burn-badge { width: 58px; border-width: 5px; }
}

/* 数据流图这类"图本身自带留白"的素材，不套灰底和边框 */
.feature-row__media--plain { background: none; border: 0; }
.feature-row__media--plain img { width: 100%; max-width: 460px; margin-inline: auto; }
.feature-row__scene {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--brand-softer);
  border: 1px solid var(--brand-soft);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.feature-row__scene b { color: var(--teal); display: block; margin-bottom: 4px; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .07em; }

@media (min-width: 860px) {
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-8); }
  .feature-row:nth-child(even) .feature-row__media { order: -1; }
}

/* ============ 数据流表（Security 页） ============ */
table.data {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
table.data th, table.data td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data th {
  background: var(--surface-alt);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
table.data tr:last-child td { border-bottom: 0; }
table.data td:first-child { font-weight: 650; color: var(--text); white-space: nowrap; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 650;
}
.tag--yes { background: var(--brand-soft); color: var(--teal-strong); }
.tag--no  { background: #F3F5F4; color: var(--text-muted); }

/* ============ Guide 页 ============ */
.guide-layout { display: grid; gap: var(--sp-6); }
.guide-nav {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-4));
  align-self: start;
  display: none;
}
.guide-nav ul { list-style: none; margin: 0; padding: 0; }
.guide-nav a {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
}
.guide-nav a:hover { background: var(--surface-alt); color: var(--text); }

/* 移动端章节切换：横向 chip 条 */
.chip-rail {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  scrollbar-width: none;
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  padding-bottom: var(--sp-2);
  -webkit-overflow-scrolling: touch;
}
.chip-rail::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding-inline: var(--sp-4);
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.chip:hover, .chip.is-active { border-color: var(--brand); color: var(--teal); background: var(--brand-softer); }

@media (min-width: 900px) {
  .guide-layout { grid-template-columns: 220px minmax(0, 1fr); gap: var(--sp-8); }
  .guide-nav { display: block; }
  .chip-rail { display: none; }
}

.guide-section { scroll-margin-top: calc(var(--header-h) + var(--sp-5)); }
.guide-section + .guide-section { margin-top: var(--sp-8); }

.guide-content { min-width: 0; }

/* ============ 产品白皮书（Security 页） ============ */
.whitepaper-hero__version {
  display: inline-flex;
  margin: var(--sp-5) 0 0;
  padding: 7px 12px;
  border: 1px solid var(--on-dark-line);
  border-radius: var(--r-pill);
  background: var(--on-dark-surface);
  color: var(--on-dark-muted);
  font-size: var(--fs-xs);
  font-weight: 650;
}

.whitepaper-shell {
  background:
    radial-gradient(circle at 92% 3%, rgba(0, 217, 89, .07), transparent 22%),
    var(--surface-alt);
}

.whitepaper-layout { align-items: start; }
.whitepaper-content { min-width: 0; }

.whitepaper-nav {
  max-height: calc(100vh - var(--header-h) - var(--sp-8));
  overflow-y: auto;
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-sm);
  scrollbar-width: thin;
}

.whitepaper-nav__title {
  margin: 0 0 var(--sp-3);
  padding: 0 var(--sp-3);
  color: var(--text);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.whitepaper-nav li { margin: 0; }
.whitepaper-nav > ul > li + li { margin-top: 2px; }
.whitepaper-nav a { line-height: 1.45; }

.whitepaper-nav__sub {
  margin: 2px 0 var(--sp-2) var(--sp-3) !important;
  padding-left: var(--sp-2) !important;
  border-left: 1px solid var(--line);
}

.whitepaper-nav__sub a {
  padding-block: 6px;
  font-size: var(--fs-xs);
  font-weight: 550;
}

.whitepaper-section {
  padding: clamp(var(--sp-5), 4vw, var(--sp-8));
  border: 1px solid rgba(0, 141, 116, .14);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.whitepaper-section + .whitepaper-section { margin-top: var(--sp-5); }
.whitepaper-section h2 {
  max-width: 28ch;
  margin-bottom: var(--sp-5);
  font-size: clamp(1.55rem, 1.3rem + 1vw, 2.25rem);
}

.whitepaper-prose {
  max-width: 74ch;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.whitepaper-prose > *:first-child { margin-top: 0; }
.whitepaper-prose > *:last-child { margin-bottom: 0; }
.whitepaper-prose p { margin: 0 0 var(--sp-4); }
.whitepaper-prose h3 {
  margin: var(--sp-6) 0 var(--sp-3);
  color: var(--text);
  font-size: var(--fs-h4);
}
.whitepaper-prose ul,
.whitepaper-prose ol {
  margin: 0 0 var(--sp-4);
  padding-left: 1.35rem;
}
.whitepaper-prose li + li { margin-top: var(--sp-2); }
.whitepaper-prose strong { color: var(--text); }

.whitepaper-figure {
  margin: var(--sp-6) 0 0;
  padding: var(--sp-4);
  border: 1px solid rgba(0, 141, 116, .14);
  border-radius: var(--r-lg);
  background: var(--brand-softer);
}

.whitepaper-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 70vw);
  gap: var(--sp-3);
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.whitepaper-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(5, 42, 33, .1);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(5, 42, 33, .08);
  scroll-snap-align: start;
}

.whitepaper-gallery--1 {
  display: flex;
  justify-content: center;
  overflow: visible;
}
.whitepaper-gallery--1 img { width: min(100%, 250px); }

.whitepaper-figure figcaption {
  margin-top: var(--sp-3);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  line-height: 1.55;
  text-align: center;
}

.whitepaper-advantages h3 {
  padding-left: var(--sp-3);
  border-left: 3px solid var(--brand);
}

@media (min-width: 680px) {
  .whitepaper-gallery {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow: visible;
    padding-bottom: 0;
  }
  .whitepaper-gallery--2,
  .whitepaper-gallery--3,
  .whitepaper-gallery--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .whitepaper-gallery--3 img:last-child { grid-column: 1 / -1; width: calc(50% - var(--sp-2)); justify-self: center; }
}

@media (min-width: 1120px) {
  .whitepaper-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .whitepaper-gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .whitepaper-gallery--3 img:last-child { grid-column: auto; width: 100%; }
}

@media (max-width: 679px) {
  .whitepaper-section { border-radius: var(--r-lg); }
  .whitepaper-figure { padding: var(--sp-3); }
}

.guide-chapter {
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--line);
}

.guide-chapter__head { max-width: 760px; }
.guide-chapter__head h2 { max-width: 22ch; }
.guide-chapter__head .u-muted { max-width: 68ch; }

.guide-steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 82vw);
  gap: var(--sp-4);
  overflow-x: auto;
  margin: var(--sp-6) 0 0;
  padding: 0 0 var(--sp-3);
  list-style: none;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  overscroll-behavior-inline: contain;
}

.guide-step {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}

.guide-step__media {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 141, 116, .12);
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 217, 89, .08), transparent 38%),
    var(--brand-softer);
}

.guide-step__media img {
  display: block;
  width: 100%;
  height: auto;
  flex: 0 0 auto;
}

.guide-step__copy {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  padding: var(--sp-5);
  background: var(--surface);
}

.guide-step__number {
  display: block;
  margin-bottom: var(--sp-3);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.guide-step__copy h3 {
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-h4);
}

.guide-step__copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.72;
}

.guide-step__copy .guide-step__note {
  margin-top: var(--sp-4);
  padding: var(--sp-3);
  border-radius: var(--r-sm);
  background: var(--warn-soft);
  color: var(--warn);
  font-size: var(--fs-xs);
}

.guide-subsection {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}

.guide-subsection > h3 { font-size: var(--fs-h3); }
.guide-subsection > .u-muted { max-width: 68ch; }

@media (min-width: 720px) {
  .guide-steps {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }
}

@media (min-width: 1120px) {
  .guide-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 图文教程步骤 */
.howto { list-style: none; margin: 0; padding: 0; counter-reset: h; }
.howto > li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: var(--sp-3);
  padding-block: var(--sp-3);
  align-items: start;
  font-size: var(--fs-sm);
}
.howto > li::before {
  counter-increment: h;
  content: counter(h);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--teal-strong);
  font-weight: 800;
  font-size: .82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============ 法律文本页 ============ */
.legal { max-width: var(--maxw-text); }
.legal h2 {
  font-size: var(--fs-h3);
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + var(--sp-5));
}
.legal h2:first-of-type { margin-top: var(--sp-6); }
.legal h3 { font-size: var(--fs-h4); margin-top: var(--sp-5); }
.legal p, .legal li { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.8; }
.legal__lead { font-size: var(--fs-md, 1.05rem); color: var(--text); line-height: 1.8; }
.legal ul { padding-left: 1.3em; margin: var(--sp-3) 0; }
.legal li + li { margin-top: var(--sp-2); }
.legal strong { color: var(--text); }
.legal__body a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
/* 待填 / 待核实 占位：上线前需全部替换，醒目标黄便于检查 */
.legal__todo { background: #FFF1B8; color: #7A5200; padding: 0 .25em; border-radius: 4px; }
.legal__meta {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--surface-alt);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
}

/* ============ 页面头（内页通用） ============ */
.page-hero {
  padding-block: clamp(2.5rem, 1.8rem + 3.4vw, 4.5rem);
  border-bottom: 1px solid var(--on-dark-line);
}
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 56ch; }

/* ============ 面包屑 ============ */
.crumbs {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--on-dark-muted);
  margin-bottom: var(--sp-4);
}
.crumbs a { color: var(--on-dark-muted); }
.crumbs a:hover { color: var(--brand); }

/* ============ 中文标题的换行 ============
   两个问题叠在一起会把中文标题断得很怪：
   · text-wrap: balance 为了让每行等长，会在中文里挑出奇怪的断点；
   · ch 按 "0" 字宽换算，18ch 在中文里只有 9 个字，标题被压成很窄的几行。
   中文语境下关掉 balance，并把标题宽度按中文字宽放大，交给容器自然换行。 */
.is-cjk :is(h1, h2, h3, h4, h5) {
  text-wrap: pretty;        /* 注意不是 normal —— text-wrap 没有 normal 这个值，会被整条丢掉；
                               pretty 只避免末行落单，不像 balance 那样为了等长乱挑断点 */
  line-break: strict;
  word-break: keep-all;     /* 中文优先在标点处断行，避免把「不隔离」劈成「不隔 / 离」 */
  overflow-wrap: anywhere;  /* 兜底：某一段实在放不下时仍然允许换行，不会撑破容器 */
}
.is-cjk .manifesto-block__title,
.is-cjk .page-hero h1 { max-width: 32ch; }
.is-cjk .cta-strip h2 { max-width: 34ch; }
.is-cjk .guide-chapter__head h2 { max-width: 38ch; }
.is-cjk .whitepaper-section h2 { max-width: 46ch; }

/* 居中标题组在中文下放宽一点，避免像「…假设过了」这样末尾只掉下来一两个字；
   下面的说明文字仍按 640px 控制行长。 */
.is-cjk .section-head--center { max-width: 780px; }
.is-cjk .section-head--center > p:not(.eyebrow) {
  max-width: 640px;
  margin-inline: auto;
}


/* =========================================================
   移动端 Hero（方案 A：紧凑居中）
   标题/副标题居中 → 两个商店徽标等宽铺满 → 卖点 2×2 小胶囊 → 手机插图紧随、底部渐隐
   ========================================================= */
@media (max-width: 899px) {
  .hero { padding-block: var(--sp-7) 0; }
  .hero__grid { gap: var(--sp-6); }
  .hero__copy { text-align: center; }
  .hero__title { margin-bottom: var(--sp-3); }
  .hero__sub { margin-inline: auto; margin-bottom: var(--sp-5); }
  /* 图标跟着第一行文字走，多行时整段居中，不会出现"图标在左、文字居中"的错位 */
  .hero__fine { display: block; text-align: center; margin-inline: auto; margin-top: var(--sp-3); }
  .hero__fine svg { display: inline-block; vertical-align: -3px; margin: 0 4px 0 0; }

  .hero__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;          /* 四个胶囊等高，英文换行时也整齐 */
    gap: var(--sp-2);
    margin-top: var(--sp-5);
    padding-top: 0;
    border-top: 0;
  }
  .hero__point {
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--on-dark-line);
    border-radius: 14px;
    background: var(--on-dark-surface);
    font-size: var(--fs-xs);
    text-align: left;
  }
  .hero__point svg { width: 15px; height: 15px; }

  /* 插图只露出上部约 85%，底部渐隐接入下一屏 */
  .hero__visual {
    margin-top: calc(-1 * var(--sp-5));   /* 插图 SVG 顶部自带留白，收回一些 */
    max-height: min(104vw, 440px);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
            mask-image: linear-gradient(to bottom, #000 72%, transparent);
  }
  .hero__art { max-width: 420px; margin-inline: auto; }

  /* 移动端商店徽标：两个等宽，一起铺满一行（Hero、下载区、各页底部 CTA 通用） */
  .store-picks {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-columns: auto;
    gap: var(--sp-3);
    width: 100%;
    max-width: 420px;
  }
  .hero .store-picks { margin-inline: auto; }
  .store-badge {
    display: flex;
    align-items: center;
    height: 54px;
    background: #000;
    border-radius: 11px;
    box-shadow: inset 0 0 0 1.5px #A6A6A6;
  }
  .store-badge img {
    width: auto;
    height: auto;
    max-height: 50px;
    max-width: calc(100% - 6px);
    clip-path: inset(2px round 8px);   /* 隐藏徽标自带描边，外框由 .store-badge 统一画 */
  }

  /* 首页底部下载区：移动端不显示预览图 */
  .download-split .split__media { display: none; }
}
@media (max-width: 400px) {
  .store-badge img { height: auto; }
}


/* 首页 Hero 卖点胶囊：去掉 li 的全局下边距，否则 1fr 行高被带高、最后一项显得更高 */
.hero__point { margin: 0; }

/* =========================================================
   移动端章节目录吸顶（security.html / guide.html）
   header 随滚动隐藏时（.site-header.is-hidden）目录顶到 0，出现时让到 header 下方
   ========================================================= */
@media (max-width: 899px) {
  .chip-sticky {
    position: sticky;
    top: var(--header-h);
    z-index: calc(var(--z-header) - 1);
    background: var(--page);
    padding-top: var(--sp-2);
    transition: top var(--dur-slow, .4s) var(--ease-out, ease);
  }
  .chip-sticky { border-bottom: 1px solid var(--line); }
  .site-header.is-hidden ~ .site-main .chip-sticky { top: 0; }
  .chip-sticky--guide { margin-top: var(--sp-3); }
  /* 锚点跳转时再让出目录栏高度（html 已有 scroll-padding-top = header + 12px，两者叠加） */
  .guide-section { scroll-margin-top: 56px; }
}


/* =========================================================
   .kw — 正文里的关键词突出：加粗并提到正文色
   浅色区块用深绿正文色，深色区块（.section--dark）用浅色正文色
   ========================================================= */
.kw { font-weight: 700; color: var(--text); white-space: nowrap; }   /* 关键词不在中间断行 */
.section--dark .kw, .hero .kw { color: var(--on-dark); }


/* =========================================================
   模块 2.5 ｜ 隐私的价格（home.cost）
   结构：居中大标题（第二句换行并用墨绿强调）→ 三行「价格 + 说明」行情表 → 来源注脚
   ========================================================= */
/* 上一模块（模块2）同为浅色底，额外加一段上留白并用细线分隔，避免两块贴在一起 */
.cost { padding-block-start: var(--section-y); }
.cost > .container { border-top: 1px solid var(--line); padding-top: calc(var(--section-y) * .8); }

.cost__head {
  max-width: 820px;
  margin: 0 auto var(--sp-7);
  text-align: center;
}
.cost__title {
  font-size: clamp(1.7rem, 1.15rem + 2.8vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -.015em;
  margin-bottom: var(--sp-4);
}
.cost__title em {
  display: block;
  font-style: normal;
  color: var(--teal);
}
/* em 是第一行（高亮句），后面的文字自然落到第二行 */
.cost__head .lead { max-width: 54ch; margin-inline: auto; }

.cost__rows {
  list-style: none;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
}
.cost__rows > li { margin: 0; }
.cost-row {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: var(--sp-3) var(--sp-6);
  align-items: baseline;
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--line);
}
.cost__rows > li:last-child { border-bottom: 1px solid var(--line); }
.cost-row__price {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--teal);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.cost-row__price--unknown { letter-spacing: .08em; }
.cost-row__desc { margin: 0; color: var(--text-muted); line-height: 1.7; }
.cost-row__desc strong { color: var(--text); }
.cost-row__desc sup { color: var(--teal); margin-left: 2px; }

.cost__src {
  max-width: 880px;
  margin: var(--sp-4) auto 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.cost__src sup { color: var(--teal); }
.cost__src a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cost__src a:hover { color: var(--teal); }

@media (max-width: 679px) {
  .cost-row { grid-template-columns: 1fr; padding-block: var(--sp-4); }
}
