/* ============================================================
   设计 token —— 唯一色源。品牌色跟随 App 标识（青 → 蓝渐变）。
   业务样式一律引用这里，不要再往下写死 #RRGGBB / rgba 三元组。
   ============================================================ */
:root {
  /* 底色：中性近黑，略偏冷以承接青蓝品牌色 */
  --bg: #06080c;
  --bg-soft: #0b0e14;
  --bg-raised: #111620;

  /* 品牌色阶 */
  --brand: #00d6ff;
  --brand-light: #7fe6ff;
  --brand-deep: #0090ff;
  --brand-ink: #04202b;          /* 青底上的深色文字 */
  --brand-ink-rgb: 4, 32, 43;    /* 青底上做半透明降权文字用，例如按钮副标题 */
  --brand-rgb: 0, 214, 255;
  --accent: #3882ff;
  --accent-light: #9dc4ff;
  --accent-rgb: 56, 130, 255;

  /* 叠加基色：全站"白色叠加"与"黑色阴影"的唯一来源。
     业务样式一律写 rgba(var(--white-rgb), α) / rgba(var(--ink-rgb), α)。 */
  --white-rgb: 255, 255, 255;
  --ink-rgb: 2, 4, 8;

  /* 表面三档：1 = 静置卡片与折叠项，2 = hover 抬起态，3 = 表头与输入框 */
  --surface-1: rgba(var(--white-rgb), .04);
  --surface-2: rgba(var(--white-rgb), .065);
  --surface-3: rgba(var(--white-rgb), .095);

  /* 描边三档：1 = 分隔线与静态卡片，2 = hover 与表头下边，3 = 强调轮廓 */
  --line-1: rgba(var(--white-rgb), .08);
  --line-2: rgba(var(--white-rgb), .12);
  --line-3: rgba(var(--white-rgb), .18);
  --line-brand: rgba(var(--brand-rgb), .28);

  /* 旧 token 保留为别名，避免业务样式引用断裂 */
  --surface: var(--surface-2);
  --surface-strong: var(--surface-3);
  --line: var(--line-2);
  --line-strong: var(--line-3);

  /* 卡片不透明底板：比 --bg 高约两级明度。渐变描边（padding-box/border-box
     双背景）与表格 sticky 首列必须有不透明底层，否则会透出下层内容。 */
  --bg-card: #0a0c12;

  /* 纸白：深色弹窗里承载二维码等外来位图的底板。比纯白低一档，避免突兀的一块白 */
  --paper: #f2f5f9;

  /* 文字：四级，全部 ≥ WCAG AA */
  --text: #f4f7fb;
  --muted-strong: rgba(238, 243, 250, .82);
  --muted: rgba(232, 238, 247, .70);
  --muted-soft: rgba(226, 233, 244, .56);

  --success: #45dd97;
  --success-rgb: 69, 221, 151;
  --danger: #ff6f87;
  --danger-rgb: 255, 111, 135;

  /* 会员档位语义色：银灰 / 品牌青 / 暖金，只引入一个外来色相 */
  --tier-free: #9aa7bb;
  --tier-free-rgb: 154, 167, 187;
  --tier-vip: var(--brand);
  --tier-vip-rgb: var(--brand-rgb);
  --tier-svip: #f5c26b;
  --tier-svip-deep: #e0a24a;
  --tier-svip-rgb: 245, 194, 107;
  --tier-svip-ink: #2b1d06;      /* 金底上的深色文字，与 --brand-ink 同一设计意图 */

  /* 圆角阶梯 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;
  --radius: var(--r-xl);

  /* 字号阶梯：单一模数（约 1.25 比）。--fs-caption 同时是全站字号下限 */
  --fs-display: clamp(40px, 5.4vw, 72px);
  --fs-h2: clamp(28px, 3.2vw, 44px);
  --fs-h3: clamp(19px, 1.6vw, 24px);
  --fs-lede: clamp(15px, 1.1vw, 17px);
  --fs-body: 15px;
  --fs-caption: 13px;

  /* 字距阶梯：字号越大负得越多（大字光学补偿），小号大写标签正 tracking */
  --ls-display: -.032em;
  --ls-h2: -.022em;
  --ls-h3: -.012em;
  --ls-caps: .14em;

  /* 字重四档。字体未加载时 Windows 回落微软雅黑，更多档位是假层级 */
  --fw-body: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-display: 800;

  /* 4pt 间距刻度：padding / margin / gap 只允许取这九个值 */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 40px;
  --sp-8: 64px;
  --sp-9: 96px;

  --sp-section: clamp(72px, 8vw, 128px);        /* section 纵向呼吸的唯一来源 */
  --sp-section-tight: clamp(48px, 5vw, 80px);   /* 唯一允许的收紧档（#faq → .final-cta） */
  --shell-gutter: var(--sp-5);                  /* 容器左右安全边距 */
  --pad-card: var(--sp-6);                      /* 卡片内边距的单一来源 */

  /* 时长与缓动：--ease-out 起步快尾部长，是全站的手感签名 */
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --dur-slow: 420ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);

  /* 单一光源公理：光永远来自上方。上缘高光 + 下缘暗边 = "有厚度"的最小充分条件 */
  --rim: inset 0 1px 0 rgba(var(--white-rgb), .09), inset 0 -1px 0 rgba(var(--ink-rgb), .5);
  --rim-strong: inset 0 1px 0 rgba(var(--white-rgb), .17), inset 0 -1px 0 rgba(var(--ink-rgb), .62);
  --rim-pressed: inset 0 2px 5px rgba(var(--ink-rgb), .55), inset 0 -1px 0 rgba(var(--white-rgb), .05);

  /* 四档阴影，每档 = 紧贴接触影 + 宽散环境影。sh-3 稀缺使用，表达最高层级 */
  --sh-0: 0 1px 1px rgba(var(--ink-rgb), .5);
  --sh-1: 0 1px 2px rgba(var(--ink-rgb), .5), 0 6px 14px rgba(var(--ink-rgb), .34);
  --sh-2: 0 2px 4px rgba(var(--ink-rgb), .48), 0 16px 34px rgba(var(--ink-rgb), .4);
  --sh-3: 0 4px 10px rgba(var(--ink-rgb), .46), 0 34px 72px rgba(var(--ink-rgb), .5);

  /* 玻璃三档：1 = 内容面板，2 = .site-nav，3 = .modal / .back-top。使用点硬上限 5 个 */
  --glass-1: blur(10px) saturate(125%);
  --glass-2: blur(16px) saturate(140%);
  --glass-3: blur(22px) saturate(150%);

  /* 设备中框材质：真机外壳的金属渐变，与品牌色无关，收进 token 避免散落写死 hex */
  --bezel-hi: #303a49;
  --bezel-mid: #12161f;
  --bezel-lo: #222c3a;
  --grad-bezel: linear-gradient(158deg, var(--bezel-hi) 0%, var(--bezel-mid) 42%, var(--bezel-lo) 100%);

  /* 品牌渐变 */
  --grad-brand: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  --grad-svip: linear-gradient(135deg, var(--tier-svip) 0%, var(--tier-svip-deep) 100%);

  /* 渐变描边：让 1px 边框沿光照方向衰减，而不是均匀一圈白。
     使用范围严格限定：--grad-rim 供 .cta-card，--grad-rim-svip 仅 .plan-card--featured。 */
  --grad-rim: linear-gradient(160deg, rgba(var(--white-rgb), .22) 0%, rgba(var(--white-rgb), .07) 34%, rgba(var(--ink-rgb), .55) 100%);
  --grad-rim-svip: linear-gradient(150deg, rgba(var(--tier-svip-rgb), .58) 0%, rgba(var(--brand-rgb), .18) 46%, rgba(var(--ink-rgb), .55) 100%);

  /* 内联 data URI 噪点（零外部请求），供全局 .grain 层消除巨型低 alpha 渐变的色带。
     全站只允许存在一层 fixed 噪点。 */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-opacity: .05;

  --shell: 1240px;
  --nav-height: 72px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  background: var(--bg);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 全局滚动条：color-scheme:dark 解决系统控件，这里统一自定义滚动条外观 */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  background: var(--line-2);
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--line-3);
  background-clip: padding-box;
}

body.modal-open {
  overflow: hidden;
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

::selection {
  background: rgba(var(--brand-rgb), .26);
  color: var(--text);
}

.skip-link {
  position: fixed;
  top: var(--sp-3);
  left: var(--sp-3);
  z-index: 1000;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  background: var(--brand);
  color: var(--brand-ink);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  box-shadow: var(--rim), var(--sh-2);
  transform: translateY(-160%);
  transition: transform var(--dur-base) var(--ease-out);
}

/* 全局静态噪点：消除巨型低 alpha 径向渐变在 8bit 屏上的色带。
   全站只允许这一层 fixed 噪点，contain:strict 限制合成范围。
   刻意不用 mix-blend-mode：底色 --bg 亮度远低于 .5，overlay 分支下 .03 的
   图层不透明度对应的最大偏移不足 1/255，会被 8bit 量化整个舍掉——付了强制
   提升合成层的代价却一个像素都没改变。改为纯 opacity 叠加并抬到 .05，
   噪点本身是灰白，在近黑底上直接提亮才真正产生 dither。 */
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: var(--grain-opacity);
  background-image: var(--grain);
  background-size: 160px 160px;
  contain: strict;
  pointer-events: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient,
#particles {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.ambient-grid {
  opacity: .32;
  background-image:
    linear-gradient(rgba(var(--white-rgb), .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--white-rgb), .025) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(180deg, rgb(var(--ink-rgb)) 0, rgba(var(--ink-rgb), .65) 38%, transparent 86%);
  mask-image: linear-gradient(180deg, rgb(var(--ink-rgb)) 0, rgba(var(--ink-rgb), .65) 38%, transparent 86%);
}

.ambient-glow {
  z-index: -1;
  opacity: .7;
  background: linear-gradient(180deg, rgba(var(--brand-rgb), .035), transparent 30%, rgba(var(--brand-rgb), .018));
}

#particles {
  z-index: -1;
  opacity: .55;
}

.section-shell,
.nav-shell,
.hero-shell {
  width: min(var(--shell), calc(100% - var(--shell-gutter) * 2));
  margin-inline: auto;
}

.section-shell {
  position: relative;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-height);
  border-bottom: 1px solid transparent;
  background: rgba(var(--ink-rgb), .58);
  -webkit-backdrop-filter: var(--glass-2);
  backdrop-filter: var(--glass-2);
  transition:
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.site-nav::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  opacity: .5;
  background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb), .35), rgba(var(--accent-rgb), .28), transparent);
}

.site-nav.scrolled {
  border-color: var(--line-1);
  background: rgba(var(--ink-rgb), .9);
  box-shadow: var(--sh-2);
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: var(--sp-3);
}

/* 新品牌标是透明底的青色 T，给一块深色瓦片托住，避免悬空 */
.brand img,
.footer-brand img {
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--bg-raised), var(--bg-soft));
  box-shadow:
    0 0 0 1px rgba(var(--brand-rgb), .22),
    var(--sh-1),
    0 0 18px rgba(var(--brand-rgb), .12);
}

.brand-copy,
.footer-brand span {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 17px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-h3);
}

.brand-copy small {
  color: rgba(var(--brand-rgb), .68);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-caps);
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  margin-left: auto;
}

.nav-links a,
.nav-text-action {
  position: relative;
  cursor: pointer;
  background: none;
  color: var(--muted);
  font-size: var(--fs-caption);
  transition: color var(--dur-base) var(--ease-out);
}

/* 下划线走 transform 合成，不再动 left/right 触发布局 */
.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav-links a:hover,
.nav-text-action:hover {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

/* 当前区块高亮：靠 :target + :has() 做渐进增强，不支持时无副作用，也不需要 JS */
body:has(#advantage:target) .nav-links a[href="#advantage"],
body:has(#features:target) .nav-links a[href="#features"],
body:has(#how:target) .nav-links a[href="#how"],
body:has(#pricing:target) .nav-links a[href="#pricing"],
body:has(#faq:target) .nav-links a[href="#faq"] {
  color: var(--text);
}

body:has(#advantage:target) .nav-links a[href="#advantage"]::after,
body:has(#features:target) .nav-links a[href="#features"]::after,
body:has(#how:target) .nav-links a[href="#how"]::after,
body:has(#pricing:target) .nav-links a[href="#pricing"]::after,
body:has(#faq:target) .nav-links a[href="#faq"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.nav-agent,
.nav-feedback,
.nav-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  white-space: nowrap;
  box-shadow: var(--rim);
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.nav-agent {
  border: 1px solid rgba(var(--accent-rgb), .32);
  background: rgba(var(--accent-rgb), .10);
  color: var(--accent-light);
}

.nav-feedback {
  border: 1px solid var(--line-brand);
  background: rgba(var(--brand-rgb), .08);
  color: var(--brand-light);
}

.nav-download {
  display: none;
  border: 1px solid rgba(var(--brand-rgb), .54);
  background: var(--grad-brand);
  color: var(--brand-ink);
  box-shadow: var(--rim), 0 10px 24px rgba(var(--brand-rgb), .16);
}

.nav-agent:hover,
.nav-feedback:hover,
.nav-download:hover {
  transform: translateY(-2px);
  box-shadow: var(--rim-strong), var(--sh-1);
}

.nav-agent:hover {
  border-color: rgba(var(--accent-rgb), .62);
  background: rgba(var(--accent-rgb), .16);
}

.nav-feedback:hover {
  border-color: rgba(var(--brand-rgb), .58);
  background: rgba(var(--brand-rgb), .13);
}

.nav-download:hover {
  box-shadow: var(--rim-strong), 0 14px 32px rgba(var(--brand-rgb), .24);
}

.hero {
  position: relative;
  min-height: min(820px, 100svh);
  overflow: clip;
  padding: calc(var(--nav-height) + var(--sp-7)) 0 var(--sp-7);
}

/* 低 alpha 巨型渐变正是色带来源：提 alpha + 缩半径，比加噪点更根治 */
.hero::before {
  content: "";
  position: absolute;
  top: 20%;
  left: -10%;
  width: 34vw;
  height: 34vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-rgb), .09), transparent 68%);
  pointer-events: none;
}

/* 文案列比例调宽：--fs-display 最大 72px 时，9 个汉字的首行需要约 650px 才不折行 */
.hero-shell {
  min-height: calc(min(820px, 100svh) - var(--nav-height) - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr);
  align-items: center;
  gap: var(--sp-8);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow,
.section-kicker,
.modal-kicker {
  color: var(--brand);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 32px;
  padding: 0 var(--sp-3);
  border: 1px solid rgba(var(--brand-rgb), .22);
  border-radius: var(--r-pill);
  background: rgba(var(--brand-rgb), .065);
  letter-spacing: .03em;
  text-transform: none;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(var(--brand-rgb), .08), 0 0 18px rgba(var(--brand-rgb), .55);
}

/* 熄掉打在黑底上的黑色 text-shadow：纯粹的性能浪费，看不见 */
.hero h1 {
  max-width: 700px;
  margin-top: var(--sp-5);
  color: var(--text);
  font-size: var(--fs-display);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-display);
  line-height: 1.05;
  text-wrap: balance;
  text-shadow: none;
}

.hero h1 .hero-lead,
.hero h1 .hero-emphasis {
  display: block;
}

/* 页面唯一的记忆点，保留渐变强调字；drop-shadow 与 background-clip 二选一，
   保留 clip，改为极轻的 text-shadow 光晕，shimmer 只播一次 */
.hero h1 .hero-emphasis {
  color: transparent;
  background: linear-gradient(115deg, var(--text) 0%, var(--brand) 48%, var(--brand-light) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: none;
  text-shadow: 0 0 40px rgba(var(--brand-rgb), .18);
  animation: emphasisShimmer 6s var(--ease-inout) 1 both;
}

@keyframes emphasisShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-highlight {
  margin-top: var(--sp-4);
  color: var(--text);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-h3);
  line-height: 1.4;
}

.hero-description {
  max-width: 46ch;
  margin-top: var(--sp-3);
  color: var(--muted);
  font-size: var(--fs-lede);
  line-height: 1.8;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.proof-list span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 30px;
  padding: 0 var(--sp-3);
  border: 1px solid var(--line-1);
  border-radius: var(--r-pill);
  background: var(--surface-1);
  color: var(--muted);
  font-size: var(--fs-caption);
}

/* 圆点改由 ::before 生成，DOM 里不再留空 <i> */
.proof-list span::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 9px rgba(var(--success-rgb), .55);
}

.download-panel {
  max-width: 610px;
  margin-top: var(--sp-5);
}

.primary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}

.download-action {
  position: relative;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-3);
  overflow: hidden;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}

.download-action::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 24%, rgba(var(--white-rgb), .28) 48%, transparent 72%);
  transform: translateX(-120%);
}

.download-action:hover::before {
  animation: actionShine var(--dur-slow) var(--ease-out);
}

@keyframes actionShine {
  to { transform: translateX(120%); }
}

.download-action:hover {
  transform: translateY(-3px);
}

.android-action {
  border: 1px solid var(--brand-light);
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow:
    0 16px 38px rgba(var(--brand-rgb), .18),
    inset 0 1px 0 rgba(var(--white-rgb), .46);
}

.android-action:hover {
  box-shadow:
    0 20px 46px rgba(var(--brand-rgb), .28),
    inset 0 1px 0 rgba(var(--white-rgb), .56);
}

.android-action .action-icon {
  border-color: rgba(var(--ink-rgb), .14);
  background: rgba(var(--ink-rgb), .12);
}

.android-action .action-copy small,
.android-action .action-arrow {
  color: rgba(var(--brand-ink-rgb), .78);
}

.ios-action {
  border: 1px solid var(--line-3);
  background:
    linear-gradient(135deg, rgba(var(--white-rgb), .13), rgba(var(--white-rgb), .035) 56%, rgba(var(--white-rgb), .07));
  -webkit-backdrop-filter: var(--glass-3);
  backdrop-filter: var(--glass-3);
  color: var(--text);
  box-shadow: var(--rim), var(--sh-1);
}

.ios-action .action-icon {
  border-color: var(--line-3);
  background: var(--surface-2);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .14);
}

.ios-action:hover {
  border-color: rgba(var(--white-rgb), .34);
  background: linear-gradient(135deg, rgba(var(--white-rgb), .17), rgba(var(--white-rgb), .055));
  color: var(--text);
  box-shadow: var(--rim-strong), var(--sh-2);
}

/* 同心圆角：外 --r-lg / 内边距 --sp-3 → 内圆角 = max(--r-sm, r-lg - sp-3) */
.action-icon {
  position: relative;
  z-index: 1;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: max(var(--r-sm), calc(var(--r-lg) - var(--sp-3)));
  background: rgba(var(--ink-rgb), .16);
}

.action-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.action-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  min-width: 0;
}

.action-copy strong {
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
}

.action-copy small {
  overflow: hidden;
  color: rgba(var(--white-rgb), .74);
  font-size: var(--fs-caption);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-arrow {
  position: relative;
  z-index: 1;
  color: rgba(var(--white-rgb), .75);
  font-size: 17px;
}

.secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}

.chip-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0 var(--sp-3);
  cursor: pointer;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface-1);
  color: var(--muted-strong);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  box-shadow: var(--rim);
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.chip-action svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: currentColor;
}

.chip-action:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), .38);
  background: rgba(var(--accent-rgb), .09);
  color: var(--text);
  box-shadow: var(--rim-strong), var(--sh-1);
}

.coupon-action {
  border-color: rgba(var(--brand-rgb), .24);
  color: var(--brand-light);
}

.coupon-action:hover {
  border-color: rgba(var(--brand-rgb), .48);
  background: rgba(var(--brand-rgb), .09);
}

.hidden {
  display: none !important;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  margin-top: var(--sp-3);
  padding-left: 2px;
  color: var(--muted-soft);
  font-size: var(--fs-caption);
}

.download-meta span {
  position: relative;
}

.download-meta span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(var(--brand-rgb), .45);
  transform: translateY(-50%);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: min(520px, 46vw, 100%);
  justify-self: center;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform var(--dur-base) var(--ease-out);
}

/* 品牌光晕：青蓝双心，衬在手机背后 */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 2% 2%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, rgba(var(--brand-rgb), .20), transparent 58%),
    radial-gradient(circle at 66% 72%, rgba(var(--accent-rgb), .18), transparent 60%);
  filter: blur(30px);
}

.phone-frame {
  position: relative;
  width: min(348px, 82%);
  height: min(660px, 63vh);
  padding: 9px;
  border-radius: 44px;
  background: var(--grad-bezel);
  box-shadow:
    var(--sh-3),
    0 0 0 1px var(--line-1),
    0 0 60px rgba(var(--brand-rgb), .12),
    inset 0 1px 0 rgba(var(--white-rgb), .16);
}

.phone-frame picture {
  display: block;
  height: 100%;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  object-fit: cover;
  object-position: top center;
}

/* 截图底部融入页面，避免硬裁像“屏幕被切断” */
.phone-frame::after {
  content: "";
  position: absolute;
  inset: auto 9px 9px;
  height: 132px;
  border-radius: 0 0 36px 36px;
  background: linear-gradient(180deg, transparent, rgba(var(--ink-rgb), .58) 46%, rgba(var(--ink-rgb), .96));
  pointer-events: none;
}

/* 悬浮能力标签 */
.visual-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--line-3);
  border-radius: var(--r-md);
  background: rgba(var(--ink-rgb), .86);
  box-shadow: var(--rim), var(--sh-2);
  color: var(--muted-strong);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  white-space: nowrap;
  -webkit-backdrop-filter: var(--glass-1);
  backdrop-filter: var(--glass-1);
}

.visual-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(var(--brand-rgb), .8);
}

.chip-clone {
  top: 16%;
  left: -6%;
  animation: statusFloat 4.2s var(--ease-inout) infinite;
}

.chip-isolate {
  right: -4%;
  bottom: 20%;
  animation: statusFloat 4.8s .8s var(--ease-inout) infinite;
}

.chip-isolate i {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), .8);
}

.visual-aura {
  position: absolute;
  inset: 4% 0 0;
  z-index: -1;
  border: 1px solid rgba(var(--brand-rgb), .13);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(var(--brand-rgb), .07), 0 0 90px rgba(var(--accent-rgb), .07);
  animation: auraBreathe 4.8s var(--ease-inout) infinite;
}

@keyframes auraBreathe {
  50% {
    opacity: .68;
    transform: scale(1.035);
  }
}

@keyframes statusFloat {
  50% { transform: translateY(-8px); }
}

.scroll-hint {
  position: absolute;
  bottom: var(--sp-5);
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--muted-soft);
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color var(--dur-base) var(--ease-out);
}

.scroll-hint:hover {
  color: var(--brand-light);
}

.scroll-hint i {
  position: relative;
  width: 26px;
  height: 1px;
  overflow: hidden;
  background: var(--line-3);
}

.scroll-hint i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand);
  transform: translateX(-100%);
  animation: scrollLine 2s var(--ease-inout) infinite;
}

@keyframes scrollLine {
  55%, 100% { transform: translateX(100%); }
}

/* 全部 section 的纵向呼吸唯一来源；节与节的差异改由 hairline 与背景表达 */
.section {
  position: relative;
  padding-block: var(--sp-section);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.section-kicker::after {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.product-section {
  overflow: clip;
}

.product-section::before {
  content: "";
  position: absolute;
  inset: 7% 0;
  z-index: -1;
  border-block: 1px solid rgba(var(--white-rgb), .045);
  background:
    linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .035) 42%, rgba(var(--brand-rgb), .04), transparent),
    repeating-linear-gradient(135deg, rgba(var(--white-rgb), .016) 0 1px, transparent 1px 42px);
  -webkit-mask-image: linear-gradient(90deg, transparent, rgb(var(--ink-rgb)) 16%, rgb(var(--ink-rgb)) 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, rgb(var(--ink-rgb)) 16%, rgb(var(--ink-rgb)) 84%, transparent);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: var(--sp-8);
}

/* 四个 h2 只引用同一组 token；字号覆盖全部删除 */
.product-copy h2,
.section-heading h2,
.trust-intro h2,
.cta-copy h2 {
  max-width: 16ch;
  color: var(--text);
  font-size: var(--fs-h2);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-h2);
  line-height: 1.16;
  text-wrap: balance;
}

/* 后半句用 <span> 断行，替代 <br>。
   全站统一：断行装置只负责换行，不携带颜色语义——否则 #product 的续行是青色、
   #advantage / #pricing / #faq 的续行是白色，读者会把这个色差误读成层级差。 */
.product-copy h2 span,
.section-heading h2 span {
  display: block;
}

.product-copy > p {
  max-width: 48ch;
  margin-top: var(--sp-5);
  color: var(--muted);
  font-size: var(--fs-lede);
  line-height: 1.85;
}

.product-points {
  display: grid;
  gap: 1px;
  margin-top: var(--sp-6);
  overflow: hidden;
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  background: var(--line-1);
  box-shadow: var(--rim), var(--sh-1);
}

.product-points > div {
  position: relative;
  display: grid;
  grid-template-columns: 38px 94px minmax(0, 1fr);
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--bg-card);
  transition: background var(--dur-base) var(--ease-out);
}

.product-points > div::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), transparent);
  opacity: 0;
  transition:
    opacity var(--dur-base) var(--ease-out),
    width var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

/* 原先 #090a10 → #0c0d15 的 hover 只有约 1.5% 亮度差，等于没有反馈 */
.product-points > div:hover {
  background: var(--surface-2);
}

.product-points > div:hover strong {
  color: var(--text);
}

.product-points > div:hover::before {
  width: 3px;
  opacity: 1;
  box-shadow: 0 0 12px rgba(var(--brand-rgb), .35);
}

.product-points span {
  color: transparent;
  background: linear-gradient(135deg, var(--brand-light), rgba(var(--brand-rgb), .4));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 21px;
  font-weight: var(--fw-display);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: var(--ls-h3);
}

.product-points strong {
  color: var(--muted-strong);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  transition: color var(--dur-base) var(--ease-out);
}

.product-points p {
  color: var(--muted);
  font-size: var(--fs-caption);
  line-height: 1.6;
}

.product-poster {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.poster-frame {
  position: relative;
  width: min(332px, 72%);
  height: min(646px, 68vh);
  overflow: hidden;
  padding: 9px;
  border: 1px solid var(--line-2);
  border-radius: 42px;
  background: var(--grad-bezel);
  box-shadow:
    var(--sh-3),
    0 0 80px rgba(var(--accent-rgb), .12),
    inset 0 1px 0 rgba(var(--white-rgb), .16);
  transform: perspective(1100px) rotateY(-7deg) rotateX(2deg);
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid var(--line-2);
  border-radius: 34px;
  pointer-events: none;
}

.poster-frame picture {
  display: block;
  height: 100%;
}

.poster-frame img {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  object-fit: cover;
  object-position: top center;
}

.poster-light {
  position: absolute;
  inset: -25% auto -25% -55%;
  z-index: 2;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(var(--white-rgb), .20), transparent);
  transform: skewX(-12deg);
  animation: posterScan 5.5s var(--ease-inout) infinite;
  pointer-events: none;
}

@keyframes posterScan {
  0%, 24% { left: -55%; opacity: 0; }
  42%, 65% { opacity: .45; }
  82%, 100% { left: 125%; opacity: 0; }
}

.product-poster::before,
.product-poster::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.product-poster::before {
  width: 520px;
  height: 520px;
  border: 1px solid rgba(var(--accent-rgb), .09);
  box-shadow: inset 0 0 90px rgba(var(--accent-rgb), .05);
}

.product-poster::after {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(var(--brand-rgb), .12), transparent 66%);
}

.poster-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: rgba(var(--ink-rgb), .86);
  box-shadow: var(--rim), var(--sh-2);
  color: var(--muted-strong);
  font-size: var(--fs-caption);
}

.poster-label i {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(var(--brand-rgb), .52);
}

.label-one {
  top: 16%;
  left: 2%;
}

.label-two {
  right: 0;
  bottom: 18%;
}

.features-section {
  overflow: clip;
}

.features-section::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  z-index: -1;
  width: min(1100px, 90vw);
  height: 600px;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb), .07), transparent 66%);
  transform: translateX(-50%);
}

/* 统一骨架：比例列取代硬编码 390px 副栏 */
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--sp-7);
  margin-bottom: var(--sp-7);
}

.section-heading > p,
.section-lede {
  max-width: 48ch;
  padding-bottom: var(--sp-1);
  color: var(--muted);
  font-size: var(--fs-lede);
  line-height: 1.8;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(235px, auto);
  gap: var(--sp-4);
}

/* 面材统一到单一光源公理：半透明底 + rim（上缘高光 / 下缘暗边）+ 双层阴影。
   .feature-card 原先只有 inset 高光、完全没有投影 */
.feature-card {
  position: relative;
  overflow: hidden;
  padding: var(--pad-card);
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(var(--white-rgb), .055), rgba(var(--white-rgb), .022)),
    var(--bg-card);
  box-shadow: var(--rim), var(--sh-1);
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 82% 8%, rgba(var(--accent-rgb), .14), transparent 36%);
  transition: opacity var(--dur-base) var(--ease-out);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: var(--sp-5);
  left: var(--sp-5);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--white-rgb), .22), transparent);
  opacity: .35;
  transition: opacity var(--dur-base) var(--ease-out);
}

.feature-primary {
  grid-row: span 2;
  min-height: 484px;
  border-color: rgba(var(--brand-rgb), .14);
  background:
    radial-gradient(circle at 75% 68%, rgba(var(--accent-rgb), .14), transparent 37%),
    radial-gradient(circle at 12% 5%, rgba(var(--brand-rgb), .09), transparent 34%),
    linear-gradient(180deg, rgba(var(--white-rgb), .06), rgba(var(--white-rgb), .02)),
    var(--bg-card);
}

/* 抬起 = 更靠近光源 → rim 高光更亮、阴影更宽散，这是物理依据而不是随手加亮边 */
@media (hover: hover) {
  .feature-card:hover {
    z-index: 2;
    transform: translate3d(0, -5px, 0);
    border-color: rgba(var(--accent-rgb), .25);
    background:
      linear-gradient(180deg, rgba(var(--white-rgb), .07), rgba(var(--white-rgb), .025)),
      var(--bg-card);
    box-shadow: var(--rim-strong), var(--sh-2);
  }

  .feature-card:hover::before {
    opacity: 1;
  }

  .feature-card:hover::after {
    opacity: .85;
  }
}

.feature-wide {
  grid-column: 1 / -1;
  min-height: 235px;
}

/* 同心圆角：外 --r-lg / 内边距 --pad-card */
.feature-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-6);
  border: 1px solid rgba(var(--brand-rgb), .18);
  border-radius: max(var(--r-sm), calc(var(--r-lg) - var(--pad-card) / 2));
  background: linear-gradient(145deg, rgba(var(--brand-rgb), .12), rgba(var(--accent-rgb), .09));
  color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .06);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 每张卡片图标用不同强调色，避免一片同色发闷，提升精致度 */
.bento-grid .feature-card:nth-child(2) .feature-icon {
  border-color: rgba(var(--brand-rgb), .24);
  background: linear-gradient(145deg, rgba(var(--brand-rgb), .14), rgba(var(--accent-rgb), .06));
  color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .06), 0 0 20px rgba(var(--brand-rgb), .12);
}

.bento-grid .feature-card:nth-child(3) .feature-icon {
  border-color: rgba(var(--accent-rgb), .3);
  background: linear-gradient(145deg, rgba(var(--accent-rgb), .18), rgba(var(--brand-rgb), .05));
  color: var(--accent-light);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .06), 0 0 20px rgba(var(--accent-rgb), .14);
}

.bento-grid .feature-card:nth-child(4) .feature-icon {
  border-color: rgba(var(--success-rgb), .24);
  background: linear-gradient(145deg, rgba(var(--success-rgb), .14), rgba(var(--brand-rgb), .05));
  color: var(--success);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .06), 0 0 20px rgba(var(--success-rgb), .12);
}

.bento-grid .feature-card:nth-child(6) .feature-icon {
  border-color: rgba(var(--brand-rgb), .24);
  background: linear-gradient(145deg, rgba(var(--brand-rgb), .14), rgba(var(--accent-rgb), .07));
  color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .06), 0 0 20px rgba(var(--brand-rgb), .12);
}

.feature-index {
  position: absolute;
  top: var(--pad-card);
  right: var(--pad-card);
  color: rgba(var(--brand-rgb), .34);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: var(--ls-caps);
  line-height: 1;
}

.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  margin-bottom: var(--sp-2);
  color: var(--text);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-h3);
  line-height: 1.4;
}

.feature-card p {
  max-width: 36ch;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.8;
}

.feature-primary h3 {
  margin-top: var(--sp-5);
}

.feature-orbit {
  position: absolute;
  right: -76px;
  bottom: -68px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(var(--accent-rgb), .13);
  border-radius: 50%;
}

.feature-orbit::before,
.feature-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(var(--brand-rgb), .09);
  border-radius: 50%;
}

.feature-orbit::before {
  inset: 45px;
}

.feature-orbit::after {
  inset: 93px;
  background: radial-gradient(circle, rgba(var(--brand-rgb), .12), transparent 68%);
}

.feature-orbit i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px rgba(var(--accent-rgb), .7);
}

.feature-orbit i:nth-child(1) { top: 25px; left: 92px; }
.feature-orbit i:nth-child(2) { top: 145px; left: -3px; background: var(--brand); }
.feature-orbit i:nth-child(3) { right: 49px; bottom: 43px; background: var(--brand); }

.sync-line {
  position: absolute;
  right: var(--pad-card);
  bottom: var(--pad-card);
  left: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .34), rgba(var(--brand-rgb), .25), transparent);
}

.sync-line i {
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(var(--brand-rgb), .6);
}

.sync-line i:nth-child(1) { left: 10%; }
.sync-line i:nth-child(2) { left: 38%; }
.sync-line i:nth-child(3) { left: 65%; }
.sync-line i:nth-child(4) { left: 89%; }

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: var(--sp-8);
  padding: var(--sp-7) var(--pad-card);
  border: 1px solid var(--line-1);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 0 100%, rgba(var(--accent-rgb), .1), transparent 36%),
    radial-gradient(circle at 100% 0, rgba(var(--brand-rgb), .07), transparent 31%),
    var(--surface-1);
  box-shadow: var(--rim), var(--sh-1);
}

.trust-intro p {
  margin-top: var(--sp-3);
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.8;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  position: relative;
  padding: var(--sp-3) var(--sp-4);
  text-align: center;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 0;
  width: 1px;
  background: var(--line-1);
}

/* 计数动画每帧字宽变化会导致左右抖动并重排渐变，等宽数位 + 预留位宽消除抖动 */
.stat strong {
  display: block;
  min-width: 5ch;
  min-height: 42px;
  color: transparent;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: var(--fw-display);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  letter-spacing: var(--ls-h2);
  line-height: 1.2;
}

/* 文字型数据（非 [data-count] 计数项）比数字小一档：36px 下「会员专属」四个字
   会撑破 135px 的栅格列而折行。min-height 不变，四项基线仍然对齐。 */
.stat strong:not([data-count]) {
  font-size: clamp(20px, 2vw, 28px);
  white-space: nowrap;
}

.stat span {
  display: block;
  margin-top: var(--sp-2);
  color: var(--muted-soft);
  font-size: var(--fs-caption);
}

/* --sh-3 全站只允许出现在 .cta-card / .modal-card / .plan-card--featured 三处 */
.cta-card {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-7);
  overflow: hidden;
  padding: var(--sp-8) var(--sp-8);
  border: 1px solid transparent;
  border-radius: var(--r-xl);
  background:
    linear-gradient(112deg, rgba(var(--brand-rgb), .08), transparent 36%) padding-box,
    radial-gradient(circle at 85% 40%, rgba(var(--accent-rgb), .17), transparent 34%) padding-box,
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--grad-rim) border-box;
  box-shadow: var(--rim-strong), var(--sh-3);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(var(--white-rgb), .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--white-rgb), .025) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(90deg, transparent, rgb(var(--ink-rgb)));
  mask-image: linear-gradient(90deg, transparent, rgb(var(--ink-rgb)));
}

.cta-energy {
  position: absolute;
  right: -100px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(var(--accent-rgb), .13);
  border-radius: 50%;
  box-shadow: inset 0 0 100px rgba(var(--accent-rgb), .08);
}

.cta-energy::before,
.cta-energy::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.cta-energy::before {
  inset: 72px;
  border: 1px solid rgba(var(--brand-rgb), .12);
}

.cta-energy::after {
  inset: 145px;
  background: radial-gradient(circle, rgba(var(--brand-rgb), .18), rgba(var(--accent-rgb), .08), transparent 70%);
  box-shadow: 0 0 70px rgba(var(--accent-rgb), .16);
}

.cta-copy,
.cta-actions {
  position: relative;
  z-index: 2;
}

.cta-copy {
  max-width: 670px;
}

.cta-copy p {
  margin-top: var(--sp-4);
  color: var(--muted);
  font-size: var(--fs-lede);
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  min-width: 190px;
}

.cta-primary,
.cta-secondary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  border-radius: var(--r-md);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}

.cta-primary {
  position: relative;
  border: 1px solid transparent;
  background: var(--grad-brand);
  color: var(--brand-ink);
  box-shadow: var(--rim), 0 15px 36px rgba(var(--brand-rgb), .19);
  animation: ctaPulse 3.2s var(--ease-inout) infinite;
}

@keyframes ctaPulse {
  50% { box-shadow: var(--rim), 0 15px 44px rgba(var(--brand-rgb), .34); }
}

.cta-secondary {
  border: 1px solid var(--line-2);
  background: var(--surface-1);
  color: var(--muted-strong);
  box-shadow: var(--rim);
}

.cta-primary:hover,
.cta-secondary:hover {
  transform: translateY(-2px);
}

.cta-primary:hover {
  box-shadow: var(--rim-strong), 0 20px 45px rgba(var(--brand-rgb), .25);
}

.cta-secondary:hover {
  border-color: rgba(var(--accent-rgb), .35);
  background: var(--surface-2);
  color: var(--text);
  box-shadow: var(--rim-strong), var(--sh-1);
}

.site-footer {
  padding-block: var(--sp-8) var(--sp-6);
  border-top: 1px solid var(--line-1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.footer-brand strong {
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
}

.footer-brand small {
  color: var(--muted-soft);
  font-size: var(--fs-caption);
  line-height: 1.5;
}

.footer-links a,
.site-footer p {
  color: var(--muted-soft);
  font-size: var(--fs-caption);
}

.footer-links a:hover {
  color: var(--brand-light);
}

.back-top {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  z-index: 80;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: rgba(var(--ink-rgb), .8);
  color: var(--brand);
  box-shadow: var(--rim), var(--sh-2);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  -webkit-backdrop-filter: var(--glass-3);
  backdrop-filter: var(--glass-3);
  transition:
    opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.back-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-top:hover {
  border-color: var(--line-brand);
  transform: translateY(-2px);
  box-shadow: var(--rim-strong), var(--sh-3);
}

.back-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: var(--sp-5);
  visibility: hidden;
  background: rgba(var(--ink-rgb), .82);
  opacity: 0;
  -webkit-backdrop-filter: var(--glass-3);
  backdrop-filter: var(--glass-3);
  transition:
    opacity var(--dur-base) var(--ease-out),
    visibility var(--dur-base) var(--ease-out);
}

.modal.show {
  visibility: visible;
  opacity: 1;
}

.modal-card {
  position: relative;
  width: min(440px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: var(--pad-card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 100% 0, rgba(var(--accent-rgb), .14), transparent 36%),
    linear-gradient(180deg, var(--bg-raised), var(--bg-soft));
  box-shadow: var(--rim-strong), var(--sh-3);
  transform: translateY(16px) scale(.98);
  transition: transform var(--dur-base) var(--ease-out);
}

.modal.show .modal-card {
  transform: translateY(0) scale(1);
}

.modal-card-compact {
  width: min(410px, 100%);
}

.modal-close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 36px;
  height: 36px;
  cursor: pointer;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface-1);
  color: var(--muted-strong);
  font-size: 21px;
  box-shadow: var(--rim);
  transition:
    border-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out);
}

.modal-close:hover {
  border-color: var(--line-brand);
  background: var(--surface-2);
  color: var(--text);
}

.modal-title {
  margin-top: var(--sp-2);
  font-size: var(--fs-h3);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-h3);
  line-height: 1.3;
}

.modal-description {
  margin-top: var(--sp-3);
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.75;
}

/* 纯白底板在深色弹窗里过于突兀：降到冷白 + 内缘描边，外层用 --surface-2 托盘承接 */
.modal-image {
  width: 100%;
  max-height: 58vh;
  margin-top: var(--sp-4);
  padding: var(--sp-3);
  object-fit: contain;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .06);
}

.invite-code {
  margin: var(--sp-5) 0 var(--sp-4);
  padding: var(--sp-4);
  border: 1px solid rgba(var(--brand-rgb), .27);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(var(--brand-rgb), .12), rgba(var(--accent-rgb), .09));
  color: var(--brand-light);
  font-size: 28px;
  font-weight: var(--fw-display);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: .15em;
  text-align: center;
  box-shadow: var(--rim);
}

.login-form {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.login-form label {
  color: var(--muted-soft);
  font-size: var(--fs-caption);
}

.login-form input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  outline: 0;
  background: var(--surface-3);
  color: var(--text);
  padding: 0 var(--sp-4);
  box-shadow: var(--rim);
  transition:
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.login-form input:focus {
  border-color: rgba(var(--brand-rgb), .43);
  box-shadow: var(--rim), 0 0 0 3px rgba(var(--brand-rgb), .12);
}

.login-form input:-webkit-autofill,
.login-form input:-webkit-autofill:hover,
.login-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  box-shadow: inset 0 0 0 100px var(--bg-soft);
}

.login-form button {
  height: 48px;
  cursor: pointer;
  border-radius: var(--r-md);
  background: var(--grad-brand);
  color: var(--brand-ink);
  font-weight: var(--fw-bold);
  box-shadow: var(--rim);
  transition:
    box-shadow var(--dur-base) var(--ease-out),
    filter var(--dur-base) var(--ease-out);
}

.login-form button:hover:not(:disabled) {
  filter: brightness(1.06);
  box-shadow: var(--rim-strong), var(--sh-1);
}

.login-form button:disabled {
  cursor: wait;
  opacity: .55;
}

.login-message {
  min-height: 19px;
  color: var(--muted);
  font-size: var(--fs-caption);
  text-align: center;
}

.login-message.success { color: var(--success); }

.login-message.error {
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid rgba(var(--danger-rgb), .32);
  border-radius: var(--r-sm);
  background: rgba(var(--danger-rgb), .08);
  color: var(--danger);
}

/* 渐进增强：默认就是可见的。入场动画只在 landing.js 成功执行、
   由它给 <html> 加上 .js-anim 之后才启用。这样脚本被拦截 / 404 /
   报错时，正文不会整页停在 opacity:0。 */
/* 入场位移走独立的 translate 属性，把 transform 让给 hover 抬起与 hero 视差。
   否则 html.js-anim .reveal.visible{transform:none} (0,3,1) 会击穿所有
   .xxx:hover{transform:translateY(...)} (0,2,0)，全站抬起态直接失效。 */
.reveal {
  opacity: 1;
  translate: none;
}

html.js-anim .reveal {
  opacity: 0;
  translate: 0 14px;
  transition:
    opacity var(--dur-slow) var(--ease-out),
    translate var(--dur-slow) var(--ease-out);
}

html.js-anim .reveal.visible {
  opacity: 1;
  translate: none;
}

.reveal-delay-1 { transition-delay: 60ms; }
.reveal-delay-2 { transition-delay: 120ms; }
.reveal-delay-3 { transition-delay: 180ms; }

/* 网格子项 55ms 自动错峰：靠内联 style="--i:n" 传序号，无需改 JS。
   .bento-grid 六张卡本身就是被单独观察的 .reveal，这里只接管延迟编排。 */
html.js-anim .bento-grid > .reveal {
  transition-delay: calc(var(--i, 0) * 55ms);
}

/* ============================================================
   压下态 —— 必须写在 (hover:none) 分支之外，否则手机端点任何按钮
   都毫无反馈。压下 = 落回接触面 + rim 翻转为内凹 + 阴影降到 --sh-0
   ============================================================ */

.download-action:active,
.chip-action:active,
.cta-primary:active,
.cta-secondary:active,
.nav-download:active,
.nav-agent:active,
.nav-feedback:active,
.nav-text-action:active,
.plan-cta:active,
.back-top:active,
.modal-close:active,
.login-form button:active,
.skip-link:active {
  scale: .985;
  box-shadow: var(--rim-pressed), var(--sh-0);
  transition-duration: var(--dur-fast);
}

.nav-links a:active,
.footer-col a:active {
  color: var(--brand);
  transition-duration: var(--dur-fast);
}

@media (max-width: 1120px) {
  :root { --shell: 1040px; }

  /* 导航不再直接 display:none —— 那会让 #advantage/#how/#pricing/#faq
     在平板与手机上完全不可达。改为横向可滚动的 chip 条，纯 CSS，不需要改 JS。 */
  .nav-links {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    gap: var(--sp-2);
    margin-left: var(--sp-4);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, rgb(var(--ink-rgb)) 12px, rgb(var(--ink-rgb)) calc(100% - 12px), transparent);
    mask-image: linear-gradient(90deg, transparent, rgb(var(--ink-rgb)) 12px, rgb(var(--ink-rgb)) calc(100% - 12px), transparent);
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: none;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 var(--sp-3);
    border: 1px solid var(--line-1);
    border-radius: var(--r-pill);
    background: var(--surface-1);
    font-size: var(--fs-caption);
    white-space: nowrap;
  }

  .nav-links a::after {
    display: none;
  }

  body:has(#advantage:target) .nav-links a[href="#advantage"],
  body:has(#features:target) .nav-links a[href="#features"],
  body:has(#how:target) .nav-links a[href="#how"],
  body:has(#pricing:target) .nav-links a[href="#pricing"],
  body:has(#faq:target) .nav-links a[href="#faq"] {
    border-color: var(--line-brand);
    background: rgba(var(--brand-rgb), .10);
    color: var(--brand-light);
  }

  .nav-actions {
    flex: none;
    margin-left: 0;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1.16fr) minmax(280px, .84fr);
    gap: var(--sp-6);
  }

  .hero-visual {
    width: min(420px, 42vw, 100%);
  }

  .product-grid {
    gap: var(--sp-7);
  }

  .trust-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-6);
  }
}

@media (max-width: 900px) {
  #particles {
    display: none;
  }

  .section-shell,
  .nav-shell,
  .hero-shell {
    width: min(100% - var(--shell-gutter) * 2, 760px);
  }

  /* .nav-feedback 是全站唯一的反馈入口，#faq 的两处文案又直接指向它，
     所以它必须和 .nav-download 一样在 641~900px 保留（chip 条已经横滚，空间够）。 */
  .nav-text-action,
  .nav-agent {
    display: none;
  }

  .nav-download {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--sp-8));
  }

  .hero-shell {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-6);
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero h1,
  .hero-description {
    max-width: 680px;
  }

  /* 单栏后：CTA 在上、真机图在下，保证下载按钮尽量靠近首屏 */
  .hero-visual {
    width: 100%;
    margin: var(--sp-2) auto 0;
    justify-self: center;
  }

  .phone-frame {
    width: min(292px, 70%);
    height: min(560px, 58vh);
  }

  .chip-clone {
    top: 12%;
    left: 4%;
  }

  .chip-isolate {
    right: 4%;
    bottom: 16%;
  }

  .scroll-hint {
    display: none;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-7);
  }

  .product-copy {
    max-width: 650px;
  }

  .product-poster {
    min-height: 650px;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-4);
  }

  .section-heading > p,
  .section-lede {
    max-width: 560px;
  }

  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-primary {
    grid-row: span 1;
    min-height: 260px;
  }

  .feature-primary h3 {
    margin-top: 0;
  }

  .feature-orbit {
    right: -130px;
    bottom: -130px;
  }

  .feature-wide {
    grid-column: 1 / -1;
  }

  .sync-line {
    display: none;
  }
}

/* ============================================================
   移动端 —— 与桌面同一套设计语言，只按刻度缩小。
   不换圆角体系、不把阴影设为 none、不把半透明面材换成不透明 hex。
   （原先这里有两组互相打架的 640/380 断点，第二组把移动端换成了另一套
     设计语言，已合并废弃。）
   ============================================================ */

@media (max-width: 640px) {
  :root {
    --nav-height: 98px;                      /* 导航 chip 条换行到第二行 */
    --shell-gutter: var(--sp-4);
    --pad-card: var(--sp-5);
    --sp-section: clamp(56px, 13vw, 84px);
    /* 标题三档必须一起降，否则 --fs-display 压到 30px 而 --fs-h2 仍取下限 28px，
       320~414px 下 H1:H2 只有 1.07~1.24，层级等于不存在。这里保住约 1.25 的模数。 */
    --fs-display: clamp(30px, 8.4vw, 40px);  /* 首行 9 个汉字必须能落在一行内 */
    --fs-h2: clamp(21px, 5.6vw, 30px);
    --fs-h3: clamp(16px, 4.4vw, 19px);
  }

  .ambient-grid {
    opacity: .16;
    background-size: 60px 60px;
  }

  /* 大面积低 alpha 装饰在小屏上只贡献色带与合成开销 */
  .product-poster::before,
  .product-poster::after,
  .features-section::before,
  .cta-energy {
    display: none;
  }

  /* ---------- 导航：brand + actions 一行，chip 条独占第二行 ---------- */

  .site-nav,
  .site-nav.scrolled {
    position: fixed;
    height: var(--nav-height);
    border-bottom: 1px solid var(--line-1);
    background: rgba(var(--ink-rgb), .92);
    box-shadow: var(--sh-1);
  }

  .site-nav::after {
    display: none;
  }

  /* 不再单独覆盖 width：基础规则的 min(--shell, 100% - --shell-gutter*2)
     会自动跟随移动端的 --shell-gutter(16px)，与正文/标题/卡片左边缘对齐。 */
  .nav-shell {
    flex-wrap: wrap;
    align-content: center;
    gap: var(--sp-2);
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: var(--sp-2);
  }

  .brand img {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: var(--r-sm);
  }

  .brand-copy {
    display: grid;
    gap: 0;
    min-width: 0;
  }

  .brand-copy strong {
    font-size: var(--fs-caption);
    white-space: nowrap;
  }

  .brand-copy small {
    display: none;
  }

  .nav-actions {
    flex: 0 0 auto;
    gap: var(--sp-2);
  }

  .nav-agent {
    display: none;
  }

  /* 字号已抬到 --fs-caption 下限，按刻度收 padding 吸收宽度增量，而不是继续压字号 */
  .nav-feedback,
  .nav-download {
    display: inline-flex;
    min-height: 34px;
    padding: 0 var(--sp-2);
  }

  .nav-links {
    order: 3;
    flex: 0 0 100%;
    margin-top: 0;
    margin-left: 0;
  }

  /* ---------- 首屏 ---------- */

  .hero {
    padding: calc(var(--nav-height) + var(--sp-5)) 0 var(--sp-6);
    border-bottom: 1px solid var(--line-1);
  }

  .hero h1 {
    max-width: none;
    margin-top: var(--sp-4);
    line-height: 1.14;
  }

  .hero-highlight,
  .hero-description {
    max-width: none;
  }

  .proof-list {
    gap: var(--sp-2);
    margin-top: var(--sp-4);
  }

  .download-panel {
    width: 100%;
    margin: var(--sp-5) auto 0;
  }

  .primary-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-2);
  }

  .download-action {
    min-height: 60px;
    padding: var(--sp-2) var(--sp-3);
  }

  .action-icon {
    width: 36px;
    height: 36px;
  }

  .secondary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-2);
  }

  .chip-action {
    justify-content: center;
    min-height: 42px;
  }

  .download-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: var(--sp-4);
    padding: var(--sp-3) 0 0;
    border-top: 1px solid var(--line-1);
    text-align: center;
  }

  .download-meta span + span::before {
    top: 1px;
    bottom: 1px;
    left: 0;
    width: 1px;
    height: auto;
    border-radius: 0;
    background: var(--line-1);
    transform: none;
  }

  /* 手机上悬浮标签会压住截图内容，直接收起 */
  .visual-chip {
    display: none;
  }

  .phone-frame::after {
    height: 96px;
  }

  /* ---------- 内容区 ---------- */

  .product-points {
    margin-top: var(--sp-5);
  }

  .product-points > div {
    grid-template-columns: 30px 78px minmax(0, 1fr);
    gap: var(--sp-2);
    padding: var(--sp-4) var(--sp-3);
  }

  .product-points span {
    font-size: 18px;
  }

  .product-poster {
    min-height: 470px;
  }

  .poster-frame {
    width: 80%;
    border-radius: var(--r-xl);
    transform: perspective(900px) rotateY(-4deg);
  }

  .poster-frame img,
  .poster-frame::after {
    border-radius: var(--r-lg);
  }

  .label-one { left: 0; }
  .label-two { right: 0; }

  /* 卡片只降一档：圆角 --r-lg、内边距 --sp-5、阴影仍是 rim + sh-1 */
  .bento-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: var(--sp-3);
  }

  .feature-card,
  .feature-primary {
    min-height: 0;
    padding: var(--sp-5);
    border-radius: var(--r-lg);
  }

  .feature-primary,
  .feature-wide {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--sp-4);
  }

  .feature-index {
    top: var(--sp-5);
    right: var(--sp-5);
  }

  .feature-orbit {
    display: none;
  }

  .trust-panel {
    gap: var(--sp-5);
    padding: var(--sp-6) var(--sp-5);
    border-radius: var(--r-lg);
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line-1);
    border-radius: var(--r-md);
    background: var(--line-1);
  }

  .stat {
    padding: var(--sp-4) var(--sp-2);
    background: var(--bg-card);
  }

  .stat + .stat::before {
    display: none;
  }

  .stat strong {
    min-width: 0;
    min-height: 33px;
  }

  .cta-card {
    min-height: 0;
    display: grid;
    padding: var(--sp-6) var(--sp-5);
    border-radius: var(--r-lg);
  }

  .cta-actions {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-2);
  }

  .cta-primary,
  .cta-secondary {
    min-height: 48px;
  }

  .cta-primary {
    animation: none;
  }

  .footer-shell {
    gap: var(--sp-6);
  }

  .back-top {
    right: var(--sp-3);
    bottom: var(--sp-3);
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
  }

  .modal {
    padding: var(--sp-4);
  }

  .modal-card {
    padding: var(--sp-5);
    border-radius: var(--r-lg);
  }

  /* 移动端保留淡入、只去掉位移 —— 不再整段关闭入场编排 */
  html.js-anim .reveal {
    translate: none;
    transition: opacity var(--dur-base) var(--ease-out);
  }
}

@media (max-width: 380px) {
  /* 340px 以下留给导航按钮，品牌只保留图标 */
  .brand-copy {
    display: none;
  }

  .primary-actions,
  .secondary-actions,
  .cta-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-primary,
  .feature-wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .product-points > div {
    grid-template-columns: 26px 68px minmax(0, 1fr);
    gap: var(--sp-2);
  }

  .download-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-1);
    text-align: start;
  }

  .download-meta span + span::before {
    display: none;
  }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  #particles {
    display: none;
  }

  /* 玻璃整体降档而不是设为 none，保住移动端材质一致性 */
  :root {
    --glass-1: blur(6px);
    --glass-2: blur(8px);
    --glass-3: blur(10px);
  }

  .visual-aura,
  .visual-chip,
  .poster-light,
  .scroll-hint i::after {
    animation: none;
  }

  /* hover 位移在触控设备上无意义，反馈改由上面的 :active 压下态承担 */
  .download-action:hover,
  .chip-action:hover,
  .feature-card:hover,
  .nav-agent:hover,
  .nav-feedback:hover,
  .nav-download:hover,
  .cta-primary:hover,
  .cta-secondary:hover,
  .back-top:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  /* 必须带 html.js-anim 前缀，否则特异度低于 html.js-anim .reveal (0,2,1) 会被击穿 */
  .reveal,
  html.js-anim .reveal,
  html.js-anim .reveal.visible {
    opacity: 1;
    translate: none;
    transform: none;
  }

  /* 压下态降级为纯亮度变化，不做位移 */
  .download-action:active,
  .chip-action:active,
  .cta-primary:active,
  .cta-secondary:active,
  .nav-download:active,
  .nav-agent:active,
  .nav-feedback:active,
  .plan-cta:active,
  .back-top:active,
  .modal-close:active,
  .login-form button:active {
    scale: 1;
    filter: brightness(.92);
    box-shadow: var(--rim-pressed), var(--sh-0);
  }

  /* 噪点是静态层，reduce 下保留 */
  .grain {
    opacity: var(--grain-opacity);
  }
}


/* ============================================================
   新增板块：#advantage / #how / #pricing / #faq
   论证 → 上手 → 转化 → 答疑。样式一律引用 :root token，
   不写死 #RRGGBB / 裸 rgb 三元组（rgba(var(--x-rgb), α) 除外）。
   ============================================================ */

/* ---------- 新板块共用骨架 ---------- */
/* 纵向呼吸统一由 .section 的 padding-block: var(--sp-section) 提供，
   这里不再逐节覆盖。唯一例外是 #faq 的收紧档。 */

/* #faq 与紧随其后的 .final-cta 收紧一档，避免结尾拖沓 */
.faq-section {
  padding-block: var(--sp-section) var(--sp-section-tight);
}

/* 1px 渐隐 hairline 分节：比 border-top 更克制 */
.section--ruled > .section-shell {
  position: relative;
}

.section--ruled > .section-shell::before {
  content: "";
  position: absolute;
  top: calc(var(--sp-section) * -1 + var(--sp-4));
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 22%, var(--line-2) 78%, transparent);
}

/* 全页唯一一条着青色的分节线，标记这是转化区 */
.section--brand-ruled > .section-shell::before {
  background: linear-gradient(90deg, transparent, var(--line-brand) 30%, var(--line-brand) 70%, transparent);
}

/* h2 的 <span> 断行、max-width + text-wrap:balance、.section-lede 的排版
   都已收进上面统一的 .section-heading 骨架，这里不再重复声明。 */

/* 无障碍辅助：仅供读屏，视觉隐藏 */
.visually-hidden {
  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;
}

/* ============================================================
   #advantage —— 隔离由系统完成
   ============================================================ */

/* mech-list：刻意不用卡片，靠 hairline + 序号建立秩序 */
.mech-list {
  counter-reset: mech;
  display: grid;
  gap: 0;
  margin-bottom: var(--sp-8);
  list-style: none;
}

.mech-item {
  counter-increment: mech;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: var(--sp-5);
  margin-inline: calc(var(--sp-4) * -1);
  padding-inline: var(--sp-4);
  padding-block: var(--sp-6);
  border-top: 1px solid var(--line-1);
  border-radius: var(--r-md);
  transition: background-color var(--dur-base) var(--ease-out);
}

.mech-item:first-child {
  border-top: 0;
}

/* 序号由 CSS 生成，不进入无障碍树 */
.mech-item::before {
  content: counter(mech, decimal-leading-zero);
  min-width: 2.2ch;
  color: transparent;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: var(--fs-h3);
  font-weight: var(--fw-display);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  letter-spacing: var(--ls-h3);
  line-height: 1.2;
}

.mech-body h3 {
  margin-bottom: var(--sp-2);
  color: var(--text);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-h3);
  line-height: 1.4;
}

.mech-body p {
  max-width: 60ch;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.85;
}

.mech-tag {
  align-self: center;
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid var(--line-brand);
  border-radius: var(--r-pill);
  color: var(--brand);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-caps);
  white-space: nowrap;
}

.versus-cap,
.compare-cap {
  margin-bottom: var(--sp-5);
  color: var(--text);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-h3);
  line-height: 1.4;
}

/* 两栏对照：常见做法 vs 提米助手 */
.versus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: var(--sp-5);
}

/* 面材与 .feature-card 同一条受光渐晕：单一光源公理不只作用于 rim，
   面本身也必须自上而下受光，否则新板块会退化成贴上去的平色块。 */
.versus-col {
  --col-rgb: var(--tier-free-rgb);
  padding: var(--pad-card);
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(var(--white-rgb), .055), rgba(var(--white-rgb), .022)),
    var(--bg-card);
  box-shadow: var(--rim), var(--sh-1);
}

.versus-col--brand {
  --col-rgb: var(--brand-rgb);
  border-color: var(--line-brand);
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(var(--brand-rgb), .08), transparent 58%),
    linear-gradient(180deg, rgba(var(--white-rgb), .075), rgba(var(--white-rgb), .03)),
    var(--bg-card);
  box-shadow: var(--rim-strong), var(--sh-2);
}

.versus-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--sp-3);
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid rgba(var(--col-rgb), .32);
  border-radius: var(--r-pill);
  color: rgb(var(--col-rgb));
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-caps);
}

.versus-head h4 {
  margin-bottom: var(--sp-5);
  color: var(--text);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-h3);
  line-height: 1.4;
}

.versus-list > div {
  padding-block: var(--sp-4);
  border-top: 1px solid var(--line-1);
}

.versus-list > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.versus-list dt {
  margin-bottom: var(--sp-2);
  color: rgb(var(--col-rgb));
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-caps);
}

.versus-list dd {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.versus-foot {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--line-1);
  color: var(--muted-soft);
  font-size: var(--fs-caption);
  line-height: 1.7;
}

/* 自曝边界：开源许可、能力归属、机型覆盖 */
.honesty-note {
  margin-top: var(--sp-7);
  padding: var(--sp-6);
  border: 1px solid var(--line-1);
  border-left: 2px solid var(--line-brand);
  border-radius: var(--r-md);
  background: var(--surface-1);
}

.honesty-note h3 {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  color: var(--text);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-h3);
  line-height: 1.4;
}

.honesty-note h3 svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.honesty-note ul {
  display: grid;
  gap: var(--sp-3);
  list-style: none;
}

.honesty-note li {
  position: relative;
  padding-left: var(--sp-4);
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.8;
}

.honesty-note li::before {
  content: "";
  position: absolute;
  top: .75em;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--line-3);
}

/* ============================================================
   #how —— 三步开始使用
   ============================================================ */

.flow-list {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
  list-style: none;
}

.flow-step {
  counter-increment: step;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--pad-card);
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(var(--white-rgb), .055), rgba(var(--white-rgb), .022)),
    var(--bg-card);
  box-shadow: var(--rim), var(--sh-1);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    background-color var(--dur-base) var(--ease-out);
}

/* 序号与连接线均为伪元素，不进入无障碍树 */
.flow-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: var(--pad-card);
  right: var(--pad-card);
  /* list-style:none 已抹掉原生序号，这条伪元素是唯一可见序号，不能按纯装饰豁免。
     移动端 --fs-h3 会降到 16px（不算 WCAG 大字），所以 alpha 取到能越过 4.5:1
     的档位，而不是只满足大字的 3:1。 */
  color: rgba(var(--brand-rgb), .62);
  font-size: var(--fs-h3);
  font-weight: var(--fw-display);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  letter-spacing: var(--ls-caps);
  line-height: 1;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--pad-card) + 22px);
  left: 100%;
  width: var(--sp-5);
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--brand-rgb), .5), rgba(var(--brand-rgb), 0));
}

/* 图标与 .feature-icon svg 同参数，保证图标语言一致 */
.flow-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--sp-5);
  border: 1px solid var(--line-brand);
  border-radius: max(var(--r-sm), calc(var(--r-lg) - var(--pad-card)));
  background: linear-gradient(145deg, rgba(var(--brand-rgb), .12), rgba(var(--accent-rgb), .08));
  color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .06);
}

.flow-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-title {
  margin-bottom: var(--sp-2);
  color: var(--text);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-h3);
  line-height: 1.4;
}

.flow-desc {
  margin-bottom: var(--sp-4);   /* 标签被 margin-top:auto 顶到卡底时的最小间距 */
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.8;
}

/* margin-top:auto 把标签压到卡底：四步的正文长度不一致，
   不这样做第 04 步的标签会比前三步低一截 */
.flow-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: var(--surface-1);
  color: var(--muted-strong);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-caps);
}

/* 把会员门槛提前明说的第一处落点 */
.flow-step:last-child .flow-tag {
  border-color: var(--line-brand);
  color: var(--brand);
}

.flow-note {
  max-width: 78ch;
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-1);
  color: var(--muted-soft);
  font-size: var(--fs-caption);
  line-height: 1.85;
}

/* ============================================================
   #pricing —— 会员三档 + 权益对照表 + 福利条
   ============================================================ */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
  list-style: none;
}

.plan-card {
  --tier-rgb: var(--tier-free-rgb);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: var(--pad-card);
  border: 1px solid var(--line-1);
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(var(--white-rgb), .055), rgba(var(--white-rgb), .022)),
    var(--bg-card);
  box-shadow: var(--rim), var(--sh-1);
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

/* 等级色只做 1px 顶边，不做大色块 */
.plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  opacity: .72;
  background: linear-gradient(90deg, transparent, rgb(var(--tier-rgb)) 20%, rgb(var(--tier-rgb)) 80%, transparent);
}

/* 旗舰卡的等级色已由 --grad-rim-svip 的 1px 渐变描边表达；
   再叠一条实心 ::before 顶边会让主推卡顶部变成约 2px 的金色带，
   恰好在最该讲究的那张卡上破掉「等级色只做 1px 顶边」的规则。 */
.plan-card--featured::before {
  display: none;
}

.plan-card[data-tier="vip"] {
  --tier-rgb: var(--tier-vip-rgb);
}

.plan-card[data-tier="svip"] {
  --tier-rgb: var(--tier-svip-rgb);
}

/* 全站唯一使用渐变描边的元素：padding-box 需有不透明底，否则边框渐变会从卡内透出 */
.plan-card--featured {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(var(--tier-svip-rgb), .055), transparent 46%) padding-box,
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--grad-rim-svip) border-box;
  box-shadow: var(--rim-strong), var(--sh-3), 0 18px 46px rgba(var(--tier-svip-rgb), .12);
  transform: translateY(-10px);
}

.plan-ribbon {
  position: absolute;
  top: var(--sp-4);
  inset-inline-end: var(--sp-4);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-pill);
  background: var(--grad-svip);
  color: var(--tier-svip-ink);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-caps);
}

.plan-name {
  color: var(--text);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-h3);
  line-height: 1.4;
}

.plan-tagline {
  margin-top: var(--sp-1);
  color: var(--muted-soft);
  font-size: var(--fs-caption);
  line-height: 1.6;
}

/* 官网不展示会员价格，价格与套餐一律以 App 内为准 —— 原 .plan-price /
   .plan-cur / .plan-period 规则已随价格数字一并移除。
   min-height 保证三张卡的权益列表起点对齐 */
.plan-anchor {
  min-height: 2.6em;
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line-1);
  color: var(--muted);
  font-size: var(--fs-caption);
  line-height: 1.65;
}

.plan-perks {
  flex: 1 1 auto;
  display: grid;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  list-style: none;
}

.plan-perks li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: var(--sp-3);
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.7;
}

.plan-perks li.is-locked {
  color: var(--muted-soft);
}

.tick {
  width: 16px;
  height: 16px;
  margin-top: .2em;
  color: rgb(var(--success-rgb));
}

.tick svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-card[data-tier="svip"] .tick {
  color: var(--tier-svip);
}

/* 不可用一律用灰破折号，不使用红叉 */
.dash {
  color: var(--muted-soft);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--text);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  box-shadow: var(--rim);
  transition:
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.plan-cta--featured {
  border-color: transparent;
  background: var(--grad-svip);
  color: var(--tier-svip-ink);
}

.plan-cta:hover {
  border-color: var(--line-brand);
}

.plan-cta--featured:hover {
  border-color: transparent;
  filter: brightness(1.06);
}

.plan-cta:focus-visible,
.compare-scroll:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ≤760px 变成横向 snap 滚动区，与 .compare-scroll 一样需要键盘可达 + 可见焦点。
   outline-offset 取负值，避免焦点环落到 contain:paint 的裁切区外被切掉。 */
.plan-grid:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}

/* 压下态：落回接触面 + rim 翻转为内凹 */
.plan-cta:active {
  scale: .985;
  box-shadow: var(--rim-pressed), var(--sh-0);
  transition-duration: var(--dur-fast);
}

/* ---------- 权益对照表 ---------- */

.compare-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  contain: paint;
  margin-bottom: var(--sp-8);
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  background: var(--surface-1);
  box-shadow: var(--rim), var(--sh-1);
}

.compare-table {
  width: 100%;
  min-width: 660px;
  border-collapse: separate;
  border-spacing: 0;
}

.compare-table th,
.compare-table td {
  padding: var(--sp-4) var(--sp-5);
  text-align: start;
  vertical-align: top;
  font-size: var(--fs-caption);
  line-height: 1.55;
  box-shadow: inset 0 -1px 0 var(--line-1);
}

.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg-card);
  color: var(--muted-strong);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-caps);
  white-space: nowrap;
  box-shadow: inset 0 -1px 0 var(--line-2);
}

/* 首列表头必须与被钉住的行标题列同时横向 sticky，否则横滚时行标题不动、
   它的列头滑走，行标题正上方顶着的是错误的列头。z-index 需高于两者。 */
.compare-table thead th:first-child {
  position: sticky;
  inset-inline-start: 0;
  top: 0;
  z-index: 3;
  background: var(--bg-card);
  box-shadow:
    inset 0 -1px 0 var(--line-2),
    6px 0 12px rgba(var(--ink-rgb), .45);
}

.compare-table thead th[data-tier="free"] { color: var(--tier-free); }
.compare-table thead th[data-tier="vip"] { color: var(--brand); }
.compare-table thead th[data-tier="svip"] { color: var(--tier-svip); }

.compare-table tbody th[scope="row"] {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background: var(--bg-card);
  color: var(--text);
  font-weight: var(--fw-medium);
  white-space: nowrap;
  box-shadow:
    inset 0 -1px 0 var(--line-1),
    6px 0 12px rgba(var(--ink-rgb), .45);
}

.compare-table td {
  color: var(--muted);
  font-variant-numeric: tabular-nums lining-nums;
}

.compare-table td[data-state="no"] {
  color: var(--muted-soft);
}

.compare-table td[data-state="best"] {
  color: var(--text);
  font-weight: var(--fw-bold);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  box-shadow: none;
}

.compare-table tbody tr:last-child th[scope="row"] {
  box-shadow: 6px 0 12px rgba(var(--ink-rgb), .45);
}

.compare-table tbody tr:hover td {
  background: rgba(var(--white-rgb), .02);
}

/* 窄屏滚动提示。刻意不在 .compare-scroll 上用 mask-image：那会把横向 sticky 的
   首列一起裁掉；也不在容器两侧压渐变覆盖层——左侧覆盖层正好压在被钉住的行标题
   列上，会把正文对比度压到 AA 以下。表格 min-width 为 660px（≤640px 收到
   600px），shell 在 700px 以下就不足以完整显示，故在该断点显式给出提示。 */
.compare-hint {
  display: none;
  margin-bottom: var(--sp-4);
  color: var(--muted-soft);
  font-size: var(--fs-caption);
  line-height: 1.7;
}

/* 707px = 表格 min-width 660px + 左右各 24px 的 --shell-gutter，即容器刚好装不下的临界宽度 */
@media (max-width: 707px) {
  .compare-hint {
    display: block;
  }
}

/* ---------- 福利条：刻意不做卡片，与定价卡形成密度落差 ---------- */

.perk-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
  list-style: none;
}

.perk-item {
  padding: var(--sp-5);
  border-top: 1px solid var(--line-1);
  background: none;
}

.perk-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: var(--sp-3);
  border: 1px solid var(--line-brand);
  border-radius: var(--r-sm);
  background: rgba(var(--brand-rgb), .07);
  color: var(--brand);
}

.perk-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* h3 这一层级全站只有一个含义：与 .plan-name / .flow-title 同用 --fs-h3，
   不再压到正文字号（那会让读屏的层级和视觉层级对不上）；
   line-height 也必须显式写——其余标题都是 1.4 / 1.45，'normal' 在中文下约 1.2。
   福利条与定价卡的密度落差改由「无卡片、只留 border-top」表达，而不是靠缩字号。 */
.perk-item h3 {
  margin-bottom: var(--sp-2);
  color: var(--text);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-h3);
  line-height: 1.45;
}

.perk-item p {
  color: var(--muted-soft);
  font-size: var(--fs-caption);
  line-height: 1.8;
}

.pricing-note {
  max-width: 82ch;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-1);
  color: var(--muted-soft);
  font-size: var(--fs-caption);
  line-height: 1.85;
}

/* ============================================================
   #faq —— 原生 details 手风琴，零 JS 依赖
   ============================================================ */

.faq-list {
  margin-bottom: var(--sp-6);
  border-top: 1px solid var(--line-1);
}

.faq-item {
  margin-inline: calc(var(--sp-4) * -1);
  padding-inline: var(--sp-4);
  border-bottom: 1px solid var(--line-1);
  border-radius: var(--r-md);
  transition: background var(--dur-base) var(--ease-out);
}

/* 展开 = 抬起 */
.faq-item[open] {
  background: var(--surface-1);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  cursor: pointer;
  list-style: none;
  color: var(--text);
  transition: color var(--dur-fast) var(--ease-out);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  color: inherit;
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-h3);
  line-height: 1.45;
}

/* 纯 CSS 雪佛龙 */
.faq-item summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-inline-end: 1.6px solid var(--brand);
  border-block-end: 1.6px solid var(--brand);
  rotate: 45deg;
  translate: 0 -2px;
  transition: rotate var(--dur-base) var(--ease-out);
}

.faq-item[open] summary::after {
  rotate: -135deg;
  translate: 0 2px;
}

.faq-item summary:hover {
  color: var(--brand-light);
}

.faq-item summary:active {
  filter: brightness(.92);
  transition-duration: var(--dur-fast);
}

/* summary 默认焦点环在 details 内表现不一致，显式补 */
.faq-item summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* 展开动画：Safari 17 以下不过渡（直接跳变），可接受 */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-base) var(--ease-out);
}

.faq-item[open] .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > p {
  max-width: 70ch;
  overflow: hidden;
  padding-bottom: var(--sp-5);
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.85;
}

.faq-more {
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-1);
  color: var(--muted-soft);
  font-size: var(--fs-caption);
  line-height: 1.8;
}

/* ============================================================
   页脚三列分组 —— 移动端触达新锚点的第二条通路
   ============================================================ */

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  align-items: start;
  gap: var(--sp-8);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: initial;
  gap: var(--sp-5);
}

.footer-col strong {
  display: block;
  margin-bottom: var(--sp-3);
  color: var(--muted-strong);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-caps);
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  display: block;
  padding-block: var(--sp-1);
  color: var(--muted-soft);
  font-size: var(--fs-caption);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--brand-light);
}

.footer-col a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.footer-shell > p {
  grid-column: 1 / -1;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-1);
  color: var(--muted-soft);
  font-size: var(--fs-caption);
}

/* ============================================================
   新板块入场编排（landing.js 的 IntersectionObserver 自动生效，无需改 JS）
   ============================================================ */

/* 同样走 translate，避免击穿 .flow-step:hover / .plan-card:hover 的 transform */
html.js-anim .mech-list > *,
html.js-anim .flow-list > *,
html.js-anim .plan-grid > *,
html.js-anim .faq-list > *,
html.js-anim .perk-row > * {
  opacity: 0;
  translate: 0 12px;
  transition:
    opacity var(--dur-slow) var(--ease-out),
    translate var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms);
}

html.js-anim .mech-list.visible > *,
html.js-anim .flow-list.visible > *,
html.js-anim .plan-grid.visible > *,
html.js-anim .faq-list.visible > *,
html.js-anim .perk-row.visible > * {
  opacity: 1;
  translate: none;
}

/* ============================================================
   新板块响应式：1120 / 900 / 760 / 640 / 380
   ============================================================ */

/* .section-heading 的两栏比例 / 单列降级已并入统一骨架，这里不再单独声明 */

@media (max-width: 1120px) {
  .plan-grid,
  .perk-row,
  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 2×2 时每行末尾那张卡右边没有下一张，横向连接线会画到栅格外面 */
  .flow-step:nth-child(2n)::after {
    display: none;
  }

  /* 两列布局一出现就必须处理主推卡：否则它被挤到第二行独占一格、右侧留空，
     还带着 -10px 抬起。这里让它横跨整行，而不是用 order 把它提到前面——
     后者会让视觉顺序与 DOM / 朗读顺序不一致。 */
  .plan-card--featured {
    grid-column: 1 / -1;
    transform: none;
  }
}

@media (max-width: 900px) {
  /* 单列后不再用 order 重排：视觉顺序必须与 DOM / 朗读顺序一致（WCAG 1.3.2），
     「常见做法 → 提米助手」本身就是这段论证的自然顺序。
     降权也不再用 opacity —— 它对整块生效，会把 .versus-foot 压到 AA 门槛线上；
     两列之间的主次已由 --brand 的描边、底色与阴影档位表达。 */
  .versus-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mech-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .mech-tag {
    grid-column: 2;
    justify-self: start;
    align-self: start;
    margin-top: var(--sp-2);
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }

  .footer-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-6);
  }
}

@media (max-width: 760px) {
  /* 定价卡改横向 snap 滑动，而不是三段竖排长滚。
     bleed 取 --sp-2（8px），小于最窄断点的 shell gutter（14px），不会造成 body 横滚。 */
  .plan-grid {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(268px, 82%);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--sp-2);
    margin-inline: calc(var(--sp-2) * -1);
    padding-inline: var(--sp-2);
    /* 抬高纵向 padding 给抬起量与 --sh-3 的环境影留出空间（原来只有 8px，
       主推卡的 0 34px 72px 被容器硬切，最高层级信号在手机上等于不存在）。
       margin-block 反向抵消，节奏与桌面端保持一致：净上边距 0、净下边距 --sp-8。 */
    padding-block: var(--sp-5) var(--sp-6);
    margin-block: calc(var(--sp-5) * -1) var(--sp-6);
    contain: paint;
  }

  /* 回到普通网格项：carousel 里 grid-column: 1 / -1 无意义 */
  .plan-card--featured {
    grid-column: auto;
  }

  .plan-card {
    scroll-snap-align: center;
  }

  .perk-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .section-heading {
    margin-bottom: var(--sp-6);
  }

  /* 收窄 hover 高亮的 gutter 溢出：移动端 shell 边距只有 16px，
     继续用 16px bleed 会让分隔线顶到屏幕边缘 */
  .mech-item,
  .faq-item {
    margin-inline: calc(var(--sp-2) * -1);
    padding-inline: var(--sp-2);
  }

  .mech-item {
    padding-block: var(--sp-5);
  }

  .versus-col,
  .honesty-note {
    padding: var(--sp-5);
  }

  .flow-list {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-4);
  }

  .flow-step {
    padding: var(--sp-5);
  }

  /* 移动端连接线转为竖向，保持流程感 */
  .flow-step:not(:last-child)::after {
    display: block;
    top: auto;
    bottom: calc(var(--sp-4) * -1);
    left: calc(var(--sp-5) + 22px);
    width: 1px;
    height: var(--sp-4);
    background: linear-gradient(180deg, rgba(var(--brand-rgb), .5), rgba(var(--brand-rgb), 0));
  }

  .plan-card {
    padding: var(--sp-5);
    border-radius: var(--r-lg);
  }

  .compare-table {
    min-width: 600px;
  }

  .compare-table th,
  .compare-table td {
    padding: var(--sp-3) var(--sp-4);
  }

  .faq-item summary {
    padding-block: var(--sp-4);
  }

  .faq-item summary h3 {
    font-size: var(--fs-body);
    font-weight: var(--fw-bold);
  }

  .faq-a > p {
    padding-bottom: var(--sp-4);
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-4);
  }

  /* 与既有移动端策略一致：只淡入、不做位移 */
  html.js-anim .mech-list > *,
  html.js-anim .flow-list > *,
  html.js-anim .plan-grid > *,
  html.js-anim .faq-list > *,
  html.js-anim .perk-row > * {
    translate: none;
    transition: opacity var(--dur-base) var(--ease-out);
  }
}

@media (max-width: 380px) {
  .mech-item {
    gap: var(--sp-3);
  }

  .plan-grid {
    grid-auto-columns: minmax(240px, 88%);
  }

  .footer-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 触控设备：hover 不做位移，改由 :active 提供反馈 ---------- */

@media (hover: hover) {
  .mech-item:hover {
    background: var(--surface-1);
  }

  /* 抬起 = 更靠近光源：受光渐晕同步提亮，与 .feature-card:hover 同一套参数 */
  .flow-step:hover {
    transform: translate3d(0, -4px, 0);
    border-color: var(--line-2);
    background:
      linear-gradient(180deg, rgba(var(--white-rgb), .075), rgba(var(--white-rgb), .03)),
      var(--bg-card);
    box-shadow: var(--rim-strong), var(--sh-2);
  }

  .plan-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-2);
    box-shadow: var(--rim-strong), var(--sh-2);
  }

  .plan-card--featured:hover {
    transform: translateY(-14px);
    border-color: transparent;
  }
}

/* ---------- hover 抬起量的断点修正（必须排在 @media (hover:hover) 之后） ----------
   ≤1120px 主推卡横跨整行、基础 transform 已归零，hover 不能再自己抬 -14px；
   ≤760px 的 .plan-grid 是 contain:paint 的横滚容器，抬起量统一压回 -4px。 */

@media (max-width: 1120px) {
  .plan-card--featured:hover {
    transform: none;
  }
}

@media (max-width: 760px) {
  .plan-card:hover,
  .plan-card--featured:hover {
    transform: translateY(-4px);
  }
}

/* ---------- 尊重 prefers-reduced-motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .faq-a,
  .faq-item summary::after,
  .flow-step,
  .plan-card {
    transition: none;
  }

  /* 只关掉过渡而留着位移，会让 hover 退化成没有过渡的瞬时跳变，比带动画更刺眼。
     位移必须一并中和：只改 :hover，让元素停在它自己的静置 transform 上。 */
  .flow-step:hover,
  .plan-card:hover {
    transform: none;
  }

  .plan-card--featured:hover {
    transform: translateY(-10px);
  }

  /* 强制吸附对前庭敏感用户不友好，降级为 proximity */
  .plan-grid {
    scroll-snap-type: x proximity;
  }

  .plan-cta:active {
    scale: 1;
    filter: brightness(.92);
    box-shadow: var(--rim-pressed), var(--sh-0);
  }

  html.js-anim .mech-list > *,
  html.js-anim .flow-list > *,
  html.js-anim .plan-grid > *,
  html.js-anim .faq-list > *,
  html.js-anim .perk-row > * {
    opacity: 1 !important;
    translate: none !important;
    transition: none !important;
  }
}

/* ≤1120px 主推卡的静置 transform 本身就是 none，hover 的中和值要跟着改 */
@media (prefers-reduced-motion: reduce) and (max-width: 1120px) {
  .plan-card--featured:hover {
    transform: none;
  }
}
