/* =========================================================
   SOUVI 官网 · 第一轮（导航 + 开场 + 引子 + 第一章）
   米色纸张 + 墨黑 + 雾靛蓝；思源黑体 + Radio Canada
   ========================================================= */

:root {
  --paper:   #F6F1E7;   /* 纸张米：主背景 */
  --paper-2: #EFE8DA;   /* 深一号米：分区 */
  --card:    #FFFDF8;   /* 暖白：卡片 / 截图托底 */
  --ink:     #1B1A17;   /* 墨黑：标题、主按钮 */
  --text:    #55504A;   /* 正文 */
  --muted:   #6E685F;   /* 小号辅助文字（比方案的 #8A847A 深一点，保证 4.5:1） */
  --muted-l: #8A847A;   /* 只用在 18px 以上 */
  --line:    #E2D9C8;   /* 分割线 */
  --indigo:  #5A67A8;   /* 雾靛蓝：强调 */
  --indigo-d:#4A5795;
  --indigo-l:#E4E6F3;   /* 浅靛 */
  --mask:    #D6CCBA;   /* 打码 / 骨架色 */

  /* 字体文件都在 fonts/ 里（和软件用的是同一套），不连 Google，国内也能打开 */
  --sans: "Noto Sans SC Variable", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --num:  "Radio Canada", "Noto Sans SC Variable", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);       /* 先快后慢 */
  --t-fast: .22s;
  --t: .35s;
  --t-slow: .5s;

  --r-card: 18px;
  --r-win: 12px;

  --shadow-sm: 0 1px 2px rgba(92, 70, 38, .06), 0 6px 16px -6px rgba(92, 70, 38, .14);
  --shadow:    0 1px 2px rgba(92, 70, 38, .06), 0 14px 32px -10px rgba(92, 70, 38, .20), 0 44px 80px -30px rgba(92, 70, 38, .26);

  --nav-h: 64px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--paper);
  /* 设计稿纸：很淡的点阵 */
  background-image: radial-gradient(rgba(27, 26, 23, .07) 1px, transparent 1.3px);
  background-size: 24px 24px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: var(--indigo); text-decoration: none; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: .01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
/* 带逗号的标题分成两段，窄屏只在逗号处换行 */
.ph { display: inline-block; }
.num { font-family: var(--num); font-weight: 500; letter-spacing: .01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 99px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  font-weight: 500; font-size: 16px; white-space: nowrap;
  transition: transform var(--t) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
  will-change: transform;
}
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 0 6px 18px -8px rgba(27, 26, 23, .5); }
.btn-ink:hover { background: #2C2A26; box-shadow: 0 10px 24px -10px rgba(27, 26, 23, .55); }
.btn-ink:active { transform: scale(.97); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; min-height: 50px; }
.btn .num { font-weight: 600; }
.dot-sep { opacity: .5; margin: 0 2px; }
.btn-text {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px;
  color: var(--ink); font-weight: 500;
  transition: color var(--t-fast) var(--ease);
}
.btn-text span { transition: transform var(--t) var(--ease); }
.btn-text:hover { color: var(--indigo); }
.btn-text:hover span { transform: translateY(3px); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(246, 241, 231, .72);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(246, 241, 231, .85); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--num); font-weight: 600; font-size: 19px; letter-spacing: .14em; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border-radius: 99px;
  color: var(--ink); font-size: 15px; font-weight: 500;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav-link:hover, .dd.open .dd-btn { background: rgba(27, 26, 23, .06); }
.nav-link.soon { color: var(--muted); cursor: default; }
.nav-link.soon:hover { background: none; }
.chev { width: 14px; height: 14px; transition: transform var(--t) var(--ease); }
.dd.open .chev { transform: rotate(180deg); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* 下拉菜单 */
.dd { position: relative; }
.dd-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 260px; padding: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px) scale(.98); transform-origin: top center;
  transition: opacity var(--t-fast) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
}
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.dd-menu a {
  display: grid; grid-template-columns: 30px 1fr; align-items: baseline; column-gap: 4px;
  padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 500;
  transition: background-color var(--t-fast) var(--ease);
}
.dd-menu a .num { color: var(--indigo); font-size: 14px; }
.dd-menu a small { grid-column: 2; font-size: 13px; color: var(--muted); font-weight: 400; }
.dd-menu a:hover:not(.soon), .dd-menu a:focus-visible { background: var(--indigo-l); }
.dd-menu a.soon { color: var(--muted); cursor: default; }
.dd-menu a.soon .num { color: var(--muted-l); }

/* 汉堡 ↔ ×（图标形变） */
.burger { display: none; width: 44px; height: 44px; border-radius: 99px; position: relative; }
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ink); border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21.2px; }
.burger span:nth-child(3) { top: 26.4px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.2px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.2px) rotate(-45deg); }

/* 章节进度：窄屏在导航下 */
.progress-bar {
  display: none; height: 30px; align-items: center; justify-content: center; gap: 6px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.progress-bar span { display: inline-flex; align-items: center; gap: 5px; padding: 0 6px; transition: color var(--t) var(--ease); }
.progress-bar span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background-color var(--t) var(--ease), transform var(--t) var(--ease); }
.progress-bar span.on { color: var(--ink); font-weight: 500; }
.progress-bar span.on::before { background: var(--indigo); transform: scale(1.3); }
.nav.in-chapters .progress-bar { display: flex; }
.nav.in-chapters.menu-open .progress-bar { display: none; }

/* 章节进度：宽屏在左侧 */
.rail {
  position: fixed; left: 28px; top: 50%; z-index: 40;
  display: flex; flex-direction: column; gap: 18px;
  transform: translate(-12px, -50%); opacity: 0; pointer-events: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.rail.show { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.rail a { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; cursor: default; }
.rail a[href] { cursor: pointer; }
.rail i { width: 8px; height: 8px; border-radius: 50%; background: var(--mask); transition: transform var(--t) var(--ease), background-color var(--t) var(--ease); }
.rail span { opacity: 0; transform: translateX(-4px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.rail:hover span, .rail a.on span { opacity: 1; transform: none; }
.rail a.on { color: var(--ink); font-weight: 500; }
.rail a.on i { background: var(--indigo); transform: scale(1.4); }

/* ---------- 抽屉 ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 60; background: rgba(27, 26, 23, .28);
  opacity: 0; transition: opacity var(--t) var(--ease);
}
.scrim.show { opacity: 1; }
.drawer {
  position: fixed; z-index: 61; background: var(--card); box-shadow: var(--shadow);
  visibility: hidden; transition: transform var(--t-slow) var(--ease), visibility 0s linear var(--t-slow);
  overscroll-behavior: contain; overflow-y: auto;
}
.drawer.open { visibility: visible; transform: none !important; transition-delay: 0s; }
.drawer-menu {
  top: 0; right: 0; bottom: 0; width: min(86vw, 340px);
  padding: calc(var(--nav-h) + 8px) 20px 28px; display: flex; flex-direction: column; gap: 2px;
  transform: translateX(104%); border-radius: 20px 0 0 20px;
}
.drawer-label { font-size: 13px; color: var(--muted); padding: 0 12px 6px; }
.drawer-link {
  display: flex; align-items: baseline; gap: 10px; min-height: 48px; padding: 12px; border-radius: 12px;
  color: var(--ink); font-size: 17px; font-weight: 500;
}
.drawer-link .num { color: var(--indigo); font-size: 14px; width: 22px; }
.drawer-link small { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 400; }
.drawer-link.soon { color: var(--muted); }
.drawer-link.soon .num { color: var(--muted-l); }
a.drawer-link:active { background: var(--indigo-l); }
.drawer-menu .btn { margin-top: auto; }

.drawer-buy {
  top: 12px; right: 12px; bottom: 12px; width: 400px; border-radius: 22px; padding: 32px 28px;
  transform: translateX(calc(100% + 24px));
}
.drawer-close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 99px;
  display: grid; place-items: center; color: var(--ink);
  transition: background-color var(--t-fast) var(--ease), transform var(--t) var(--ease);
}
.drawer-close svg { width: 20px; height: 20px; }
.drawer-close:hover { background: rgba(27, 26, 23, .06); transform: rotate(90deg); }
.buy-head { display: flex; align-items: center; gap: 14px; }
.buy-head img { border-radius: 12px; }
.buy-name { font-family: var(--num); font-weight: 600; letter-spacing: .14em; color: var(--ink); }
.buy-price { color: var(--ink); }
.buy-price .num { font-size: 30px; font-weight: 600; margin-right: 4px; }
.buy-note { margin: 16px 0 22px; font-size: 15px; color: var(--muted); }
.buy-list { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.buy-list div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.buy-list dt { font-weight: 500; color: var(--ink); font-size: 15px; }
.buy-list dd { margin: 2px 0 0; font-size: 15px; }
.todo { color: #A0522D; }

/* ---------- 截图窗口框 ---------- */
.window {
  display: block; width: 100%;
  background: var(--card); padding: 6px; border-radius: calc(var(--r-win) + 4px);
  box-shadow: var(--shadow); position: relative;
}
.window img, .window .crop { border-radius: var(--r-win); }
button.window { cursor: zoom-in; text-align: left; }

/* 通用裁切：源图 1266×833，按源像素指定裁切区（--cx --cy --cw）和显示比例 --ar */
.crop {
  --sw: 1266; --cx: 0; --cy: 0; --cw: 1266; --ar: 1.5198;
  display: block; position: relative; overflow: hidden; aspect-ratio: var(--ar);
  background: var(--mask);
}
.crop img {
  position: absolute; max-width: none;
  width:  calc(100% * var(--sw) / var(--cw));
  left:   calc(-100% * var(--cx) / var(--cw));
  top:    calc(-100% * var(--cy) * var(--ar) / var(--cw));
  border-radius: 0;
}

/* 骨架屏：图片加载前米灰色块 + 微光扫过 */
.shot .crop::after, .stage::after, .spot-view::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(100deg, transparent 30%, rgba(255, 253, 248, .55) 50%, transparent 70%) 0 0 / 220% 100%,
    var(--mask);
  animation: shimmer 1.4s linear infinite;
  transition: opacity var(--t-slow) var(--ease);
}
.loaded .crop::after, .stage.loaded::after, .spot-view.loaded::after { opacity: 0; animation: none; }
@keyframes shimmer { from { background-position: 120% 0, 0 0; } to { background-position: -120% 0, 0 0; } }

/* ---------- 进场 ---------- */
.up { opacity: 0; transform: translateY(18px); animation: up var(--t-slow) var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms + 120ms); }
@keyframes up { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--rd, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   开场
   ========================================================= */
.hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 96px; overflow: hidden; }
.hero-glow {
  position: absolute; left: 0; top: 0; width: 760px; height: 760px; margin: -380px 0 0 -380px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(90, 103, 168, .26), rgba(90, 103, 168, .10) 55%, transparent 100%);
  filter: blur(10px);
  will-change: transform;
}
.hero-copy { position: relative; z-index: 1; text-align: center; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 99px;
  background: var(--indigo-l); color: var(--indigo-d); font-size: 15px; font-weight: 500;
}
.hero h1 { margin-top: 22px; font-size: clamp(38px, 5.2vw, 66px); line-height: 1.2; letter-spacing: .01em; }
.hero h1 .line { display: block; }
.lead, .hero-meta, .ch-sub, .bridge { text-wrap: balance; }
.lead { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); color: var(--text); }
.hero-cta { margin-top: 34px; display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-meta { margin-top: 22px; font-size: 14px; color: var(--muted); }
.nw { white-space: nowrap; }
.hero-meta i { font-style: normal; margin: 0 10px; color: var(--mask); }

.hero-stage {
  position: relative; z-index: 1; max-width: 1040px; margin: 64px auto 0; padding: 0 var(--gutter);
  perspective: 1600px;
}
.rise { opacity: 0; transform: translateY(70px); animation: up .9s var(--ease) .55s forwards; }
.hero-tilt { transform-style: preserve-3d; will-change: transform; }
.crop-hero .crop { --ar: 1.5198; }

/* =========================================================
   引子：三个痛点
   ========================================================= */
.band { background: var(--paper-2); }
.why { padding: 112px 0 120px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title { text-align: center; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3; }
.pains { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pain { perspective: 1000px; border-radius: var(--r-card); outline-offset: 6px; }
.pain-tilt { transform-style: preserve-3d; transition: transform var(--t) var(--ease); will-change: transform; }
.pain-inner { position: relative; height: 248px; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.face {
  position: absolute; inset: 0; border-radius: var(--r-card); padding: 28px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  display: flex; flex-direction: column;
}
.front { background: var(--card); box-shadow: var(--shadow-sm); border: 1px solid rgba(226, 217, 200, .7); }
.front h3 { margin-top: 18px; font-size: 24px; }
.front p { margin-top: 8px; }
.pain-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; color: var(--ink); }
.pain-icon svg { width: 22px; height: 22px; }
.back {
  transform: rotateY(180deg);
  background: var(--indigo-l); border: 1px solid #CDD1EA; box-shadow: var(--shadow-sm);
  justify-content: space-between;
}
.back-tag { font-family: var(--num); font-weight: 600; letter-spacing: .14em; font-size: 13px; color: var(--indigo-d); }
.back-text { color: var(--ink); font-size: 19px; line-height: 1.6; font-weight: 500; }
.back-link { color: var(--indigo-d); font-size: 15px; font-weight: 500; }
.back-link .num { margin-right: 4px; }
.pain.flipped .pain-inner { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) {
  .pain:hover .pain-inner, .pain:focus-visible .pain-inner { transform: rotateY(180deg); }
}

.answer {
  margin: 88px auto 0; max-width: 900px; text-align: center;
  font-size: clamp(24px, 3vw, 36px); line-height: 1.5; font-weight: 700; color: var(--ink);
}
.ans-pre { display: block; font-size: .62em; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.answer .w { color: #C2B9A6; transition: color .45s var(--ease); position: relative; white-space: nowrap; }
.answer .w::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px;
  background: var(--indigo); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.answer .w.lit { color: var(--ink); }
.answer .w.lit::after { transform: scaleX(1); }

/* =========================================================
   第一章 找得到
   ========================================================= */
.chapter { padding: 120px 0 112px; scroll-margin-top: 40px; }
.ch-head { text-align: center; max-width: 820px; margin: 0 auto; }
.ch-tag { display: inline-flex; align-items: baseline; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.ch-tag .num { font-size: 15px; color: var(--indigo); font-weight: 600; padding: 2px 10px; border-radius: 99px; background: var(--indigo-l); }
.ch-head h2 { margin-top: 18px; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.3; }
.ch-sub { margin-top: 16px; font-size: 18px; }

/* --- 1. 截图讲解：光标聚光灯 + 热点 --- */
.spot { margin: 64px auto 0; max-width: 1000px; }
.spot-view {
  position: relative; overflow: hidden; border-radius: var(--r-win); aspect-ratio: 1266 / 833;
  cursor: crosshair; touch-action: pan-y;
}
.spot-canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.spot-img { width: 100%; height: 100%; border-radius: 0; }
.spot-hs { z-index: 2; pointer-events: none; }
.spot-dim {
  --mx: 50%; --my: 50%; --r: 150px;
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(246, 241, 231, .66); /* 米色薄纱，不用墨黑压暗 */
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), transparent 0, transparent 55%, #000 100%);
          mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), transparent 0, transparent 55%, #000 100%);
}
.hs {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%;
  pointer-events: auto; cursor: help;
}
.hs::before { /* 实心点 */
  content: ""; position: absolute; inset: 8px; border-radius: 50%;
  background: var(--indigo); box-shadow: 0 0 0 3px var(--card), 0 2px 8px rgba(27, 26, 23, .35);
  transition: transform var(--t) var(--ease);
}
.hs::after { /* 呼吸圈 */
  content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 2px solid var(--card);
  animation: pulse 2.2s var(--ease) infinite;
}
.hs.on::before { transform: scale(1.25); }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.tip {
  position: absolute; z-index: 4; left: 0; top: 0; pointer-events: none;
  max-width: 260px; padding: 9px 14px; border-radius: 12px;
  background: var(--card); color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.45;
  box-shadow: var(--shadow);
  opacity: 0; transform: translate(-50%, calc(-100% - 22px)) scale(.94); transform-origin: bottom center;
  transition: opacity var(--t-fast) var(--ease), transform var(--t) var(--ease);
  white-space: nowrap;
}
.tip::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px;
  background: var(--card); transform: rotate(45deg); border-radius: 2px;
}
.tip.show { opacity: 1; transform: translate(-50%, calc(-100% - 18px)) scale(1); }
.tip.below { transform: translate(-50%, 22px) scale(.94); transform-origin: top center; }
.tip.below.show { transform: translate(-50%, 18px) scale(1); }
.tip.below::after { bottom: auto; top: -5px; }
.spot-zoom {
  position: absolute; right: 12px; bottom: 12px; z-index: 5; width: 44px; height: 44px; border-radius: 99px;
  display: grid; place-items: center; background: rgba(255, 253, 248, .92); color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), background-color var(--t-fast);
}
.spot-zoom svg { width: 18px; height: 18px; }
.spot-zoom:hover { transform: scale(1.08); background: var(--card); }
.spot-steps { display: none; }

/* --- 2. 聊天内搜索 --- */
.search {
  margin-top: 120px; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 56px; align-items: center;
}
.search-copy h3 { font-size: 28px; }
.search-copy > p { margin-top: 10px; }
.sd-bar { margin-top: 28px; display: flex; justify-content: center; }
.sd-pill {
  position: relative; display: flex; align-items: center; height: 48px;
  width: 136px; border-radius: 99px; background: var(--card);
  border: 1.5px solid var(--line); box-shadow: var(--shadow-sm);
  transition: width .5s var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.sd-pill[data-open="true"] { width: 100%; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(90, 103, 168, .14), var(--shadow-sm); }
.sd-open { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 99px; color: var(--muted); }
.sd-open svg { width: 18px; height: 18px; flex: none; color: var(--ink); }
.sd-ph { font-size: 15px; }
.sd-token {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px;
  background: var(--indigo-l); color: var(--indigo-d); font-size: 14px; font-weight: 500;
  animation: pop var(--t) var(--ease);
}
@keyframes pop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.sd-clear, .sd-cal-btn {
  flex: none; width: 40px; height: 40px; border-radius: 99px; display: grid; place-items: center; color: var(--text);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast);
}
.sd-cal-btn { margin-right: 4px; opacity: 0; transform: scale(.6); pointer-events: none; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), background-color var(--t-fast); }
.sd-pill[data-open="true"] .sd-cal-btn { opacity: 1; transform: none; pointer-events: auto; transition-delay: .2s, .2s, 0s; }
.sd-clear svg, .sd-cal-btn svg { width: 18px; height: 18px; }
.sd-clear:hover, .sd-cal-btn:hover { background: rgba(27, 26, 23, .06); color: var(--ink); }
.sd-cal-btn[aria-expanded="true"] { background: var(--indigo-l); color: var(--indigo-d); }

.sd-panel {
  margin-top: 14px; padding: 16px 18px 18px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.sd-pill[data-open="true"] ~ .sd-panel, .sd-bar:has(.sd-pill[data-open="true"]) + .sd-panel,
.sd-panel.show { opacity: 1; transform: none; pointer-events: auto; transition-delay: .18s; }
.sd-label { font-size: 13px; color: var(--muted); }
.tabs { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  min-height: 40px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--paper);
  font-size: 15px; color: var(--ink);
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast), transform var(--t) var(--ease);
}
.tab:hover { border-color: #CDD1EA; }
.tab:active { transform: scale(.96); }
.tab[aria-selected="true"] { background: var(--indigo-l); border-color: var(--indigo); color: var(--indigo-d); font-weight: 500; }

.sd-cal { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); animation: fadeup var(--t) var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cal-title { font-size: 15px; color: var(--ink); font-weight: 500; }
.cal-grid { margin-top: 8px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; font-family: var(--num); font-size: 14px; }
.cal-grid .wk { font-family: var(--sans); font-size: 12px; color: var(--muted); padding: 2px 0; }
.cal-grid .d { height: 34px; display: grid; place-items: center; color: #B4AB99; border-radius: 99px; }
.cal-grid .d.has { color: var(--ink); font-weight: 600; }
.cal-grid button.d { position: relative; color: var(--paper); background: var(--indigo); font-weight: 600; transition: transform var(--t) var(--ease); }
.cal-grid button.d::after { content: ""; position: absolute; inset: -3px; border-radius: 99px; border: 2px solid var(--indigo); animation: pulse 2.2s var(--ease) infinite; }
.cal-grid button.d:hover { transform: scale(1.08); }
.cal-grid button.d.done::after { display: none; }
.cal-hint { margin-top: 8px; font-size: 13px; color: var(--muted); }

.sd-stage { margin: 0; }
.stage { --ar: 1.5198; position: relative; overflow: hidden; border-radius: var(--r-win); aspect-ratio: var(--ar); background: var(--mask); }
.stage img {
  position: absolute; left: 0; top: 0; width: 100%; max-width: none; border-radius: 0;
  opacity: 0; transform: scale(1.012); transition: opacity .45s var(--ease), transform .5s var(--ease);
}
.stage img.on { opacity: 1; transform: none; z-index: 1; }
.ring {
  --cx: 0; --cy: 0; --cw: 1266;
  position: absolute; z-index: 2; pointer-events: none;
  left:   calc(100% * (1006 - var(--cx)) / var(--cw));
  top:    calc(100% * (368 - var(--cy)) * var(--ar) / var(--cw));
  width:  calc(100% * 186 / var(--cw));
  height: calc(100% * 50 * var(--ar) / var(--cw));
  border-radius: 16px; border: 2.5px solid var(--indigo);
  box-shadow: 0 0 0 6px rgba(90, 103, 168, .22);
  opacity: 0; transform: scale(1.25);
  transition: opacity var(--t) var(--ease), transform .5s var(--ease);
}
.ring.show { opacity: 1; transform: none; transition-delay: .25s; }
.stage-cap { margin-top: 16px; text-align: center; font-size: 15px; color: var(--muted); min-height: 1.65em; transition: opacity var(--t-fast); }
.stage-cap.swap { opacity: 0; }

/* --- 3. 小卡片 --- */
.mini-cards { margin-top: 120px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mini {
  background: var(--card); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 217, 200, .7);
  display: flex; flex-direction: column;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), opacity .5s var(--ease);
}
.mini.in:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini h3 { margin-top: 16px; font-size: 20px; }
.mini p { margin-top: 6px; font-size: 16px; }
.mini-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--indigo-l); color: var(--indigo-d); }
.mini-icon svg { width: 22px; height: 22px; }
.mini-thumb { display: block; width: 100%; border-radius: 10px; overflow: hidden; cursor: zoom-in; box-shadow: 0 0 0 1px var(--line); }
.mini-thumb .crop { border-radius: 10px; transition: transform var(--t) var(--ease); }
.mini-thumb:hover .crop { transform: scale(1.02); }
.mini-link {
  margin-top: auto; padding-top: 14px; align-self: flex-start; min-height: 44px;
  color: var(--indigo); font-weight: 500; display: inline-flex; align-items: center; gap: 4px;
}
.mini-link span { transition: transform var(--t) var(--ease); }
.mini-link:hover span { transform: translateX(3px); }

.bridge { margin-top: 120px; text-align: center; font-size: clamp(22px, 2.6vw, 30px); color: var(--text); font-weight: 500; }
.bridge b { color: var(--ink); font-weight: 700; }
.next-stub {
  margin: 40px auto 0; max-width: 360px; padding: 18px; text-align: center; border-radius: var(--r-card);
  border: 1.5px dashed var(--mask); color: var(--muted); font-size: 16px;
}
.next-stub .num { color: var(--indigo); margin-right: 6px; }
.next-stub small { display: block; font-size: 13px; }

/* ---------- 手机底部购买条 ---------- */
.buybar { display: none; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal-scrim { position: absolute; inset: 0; background: rgba(27, 26, 23, .55); opacity: 0; transition: opacity var(--t) var(--ease); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal.open .modal-scrim { opacity: 1; }
.modal-body { position: relative; max-width: min(1266px, 94vw); max-height: 92vh; }
.modal-body img {
  max-width: min(1266px, 94vw); max-height: 88vh; width: auto; height: auto;
  border-radius: 12px; background: var(--card); padding: 6px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5);
  transform-origin: 0 0;
}
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 99px;
  display: grid; place-items: center; background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm);
  opacity: 0; transform: scale(.8); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.modal.open .modal-close { opacity: 1; transform: none; }
.modal-close svg { width: 20px; height: 20px; }
body.locked { overflow: hidden; }

/* =========================================================
   通用：分区、小字、线框按钮、截图卡、涟漪、成功反馈、轻提示
   ========================================================= */
.chapter.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ch-tag-plain { padding: 2px 12px; border-radius: 99px; background: var(--indigo-l); color: var(--indigo-d); font-weight: 600; }
.small { margin-top: 10px; font-size: 15px; color: var(--muted); }
.btn-line { background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-line:hover { border-color: #CDD1EA; }
.btn-line:active, .btn-indigo:active, .btn-danger:active { transform: scale(.97); }
.btn-indigo { background: var(--indigo); color: #fff; box-shadow: 0 6px 18px -8px rgba(90, 103, 168, .6); }
.btn-indigo:hover { background: var(--indigo-d); }
.btn-danger { background: var(--card); color: #B03A2E; border: 1px solid #E8C4BE; }
.btn-danger:hover { background: #FBEDEA; }
.btn svg { width: 18px; height: 18px; }
.btn-reset { font-size: 15px; color: var(--muted); }

.fig { display: block; width: 100%; text-align: left; cursor: zoom-in; }
.fig .window { padding: 5px; }
.fig .crop { transition: transform var(--t) var(--ease); }
.fig:hover .crop { transform: scale(1.015); }
.fig-cap { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }

/* 点击涟漪 */
.ripple-host { position: relative; overflow: hidden; isolation: isolate; }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
  background: currentColor; opacity: .18; transform: scale(0);
  animation: ripple .5s var(--ease) forwards;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* 成功反馈：图标换成 ✓ */
.ok-host .i-ok, .copy-btn .i-ok { display: none; }
.ok-host.ok .i-ico, .copy-btn.ok .i-copy { display: none; }
.ok-host.ok .i-ok, .copy-btn.ok .i-ok { display: block; animation: pop var(--t) var(--ease); }
.i-ok { stroke-width: 2.2; }

/* 轻提示 */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90;
  padding: 10px 18px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: 15px;
  box-shadow: var(--shadow); pointer-events: none;
  opacity: 0; transform: translate(-50%, 12px); transition: opacity var(--t-fast) var(--ease), transform var(--t) var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 左右排版 */
.split { margin-top: 120px; display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; align-items: center; }
.split-rev .split-copy { order: 0; }
.split-copy h3 { font-size: 28px; }
.split-copy > p:not(.small) { margin-top: 10px; }

/* =========================================================
   第二章 留得住
   ========================================================= */
.fmt { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 56px; align-items: start; }
.fmt-top { display: flex; align-items: center; gap: 22px; }
.fmt-top h3 { font-size: 28px; }
.fmt-note { margin-top: 4px; color: var(--muted); font-size: 15px; }
.doc { position: relative; flex: none; width: 96px; height: 120px; color: var(--ink); transition: transform var(--t) var(--ease); }
.doc-shape { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--card); stroke-width: 2; filter: drop-shadow(0 8px 14px rgba(92, 70, 38, .16)); }
.doc-glyph {
  position: absolute; left: 0; right: 0; top: 44px; text-align: center;
  font-family: var(--num); font-weight: 600; font-size: 24px; color: var(--ink);
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}
.doc-tag {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  padding: 1px 8px; border-radius: 6px; background: var(--indigo); color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap;
}
.doc.morph .doc-glyph { transform: scale(.4) rotate(-20deg); opacity: 0; }
.doc.morph { transform: rotate(-4deg) scale(.96); }
.fmt-groups { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.pills { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 44px; padding: 0 20px; border-radius: 99px; border: 1px solid var(--line); background: var(--card);
  font-size: 16px; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast), color var(--t-fast), transform var(--t) var(--ease);
}
.pill:active { transform: scale(.96); }
.pill[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.files { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; min-height: 76px; }
.file {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.file .f-ico { width: 34px; height: 40px; flex: none; border-radius: 6px; display: grid; place-items: center; background: var(--indigo-l); color: var(--indigo-d); font-family: var(--num); font-weight: 600; font-size: 11px; }
.file b { display: block; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.3; }
.file small { font-size: 13px; color: var(--muted); }
button.file { cursor: zoom-in; text-align: left; transition: border-color var(--t-fast), transform var(--t) var(--ease); }
button.file:hover { border-color: var(--indigo); transform: translateY(-2px); }
button.file small::after { content: " · 点开看"; color: var(--indigo); }
.file.enter { animation: fileIn var(--t) var(--ease); }
.file.leave { animation: fileOut .22s var(--ease) forwards; }
@keyframes fileIn { from { opacity: 0; transform: scale(.85) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fileOut { to { opacity: 0; transform: scale(.85); } }
.fmt-shot { max-width: 420px; justify-self: end; width: 100%; }

/* 自动备份 */
.bk-btns { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bk-demo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bk-col { background: var(--card); border-radius: var(--r-card); padding: 18px; box-shadow: var(--shadow-sm); border: 1px solid rgba(226, 217, 200, .7); min-height: 290px; }
.bk-souvi { border-color: #CDD1EA; }
.bk-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; color: var(--ink); font-size: 15px; }
.bk-count { font-size: 14px; color: var(--indigo-d); }
.bk-count .num { font-size: 20px; font-weight: 600; }
.bk-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bk-list li {
  height: 26px; border-radius: 10px; background: var(--mask); width: var(--w, 70%);
  transition: opacity .3s var(--ease), transform .35s var(--ease), height .35s var(--ease), margin .35s var(--ease);
}
.bk-list:empty::after { content: "已经删掉了"; display: block; padding: 40px 0; text-align: center; font-size: 14px; color: var(--muted); animation: fadeup .4s var(--ease); }
.bk-list li.me { align-self: flex-end; background: #CDD1EA; }
.bk-list li.new { animation: fileIn .35s var(--ease); }
.bk-list li.gone { opacity: 0; transform: translateX(-24px); height: 0; margin-top: -8px; }
.bk-shot { grid-column: 1 / -1; }
.roll { display: inline-block; min-width: 1ch; }

/* 外部导入与合并 */
.split-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
.split-rev .split-copy { order: 2; }
.split-rev .mg-demo { order: 1; }
.split-copy .btn { margin-top: 22px; }
.mg-track { position: relative; height: 64px; display: flex; gap: 120px; justify-content: center; transition: gap .5s var(--ease); }
.mg-demo.merged .mg-track { gap: 0; }
.mg-seg {
  position: relative; flex: 0 1 260px; height: 14px; margin-top: 34px; border-radius: 99px;
  display: flex; justify-content: space-around; align-items: center;
  transition: border-radius .5s var(--ease);
}
.mg-seg span { position: absolute; left: 0; right: 0; top: -30px; text-align: center; font-size: 14px; color: var(--muted); white-space: nowrap; transition: opacity var(--t); }
.mg-seg i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .85); }
.mg-old { background: #C9A57A; }
.mg-new { background: var(--indigo); }
.mg-demo.merged .mg-old { border-radius: 99px 0 0 99px; }
.mg-demo.merged .mg-new { border-radius: 0 99px 99px 0; }
.mg-cap { margin-top: 10px; text-align: center; font-size: 15px; color: var(--ink); font-weight: 500; min-height: 1.65em; }
.mg-shots { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }

/* 任务中心小卡 */
.task { position: relative; padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.task-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink); font-weight: 500; }
.task-bar { margin-top: 8px; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.task-bar i { display: block; height: 100%; width: 0; background: var(--indigo); border-radius: 99px; }
.task-ok {
  position: absolute; right: -8px; top: -8px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--indigo); color: #fff; box-shadow: var(--shadow-sm);
  transform: scale(0); transition: transform var(--t) cubic-bezier(.34, 1.56, .64, 1);
}
.task-ok svg { width: 16px; height: 16px; stroke-width: 2.4; }
.task.done .task-ok { transform: scale(1); }

/* =========================================================
   第三章 看得懂
   ========================================================= */
.stats { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: center; }
.stat-n { color: var(--ink); line-height: 1.1; }
.stat-n .num { font-size: clamp(48px, 6vw, 80px); font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat-n small { margin-left: 6px; font-size: 20px; font-weight: 500; color: var(--text); }
.stat-l { margin-top: 8px; font-size: 16px; color: var(--text); }
.stats-note { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }

.carousel { position: relative; margin-top: 88px; }
.car-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))) 34px;
  margin: 0 calc(50% - 50vw);
  scrollbar-width: none; overscroll-behavior-x: contain; perspective: 1200px;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track.dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.car-card { flex: 0 0 min(560px, 78vw); margin: 0; scroll-snap-align: center; cursor: zoom-in; user-select: none; }
.car-tilt { background: var(--card); border-radius: var(--r-card); padding: 8px 8px 0; box-shadow: var(--shadow); transition: transform var(--t) var(--ease); transform-style: preserve-3d; }
.car-tilt .crop { border-radius: 12px; }
.car-tilt figcaption { padding: 12px 10px 14px; font-size: 15px; color: var(--ink); font-weight: 500; }
.car-nav { display: flex; align-items: center; justify-content: center; gap: 16px; }
.car-btn { width: 44px; height: 44px; border-radius: 99px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform var(--t) var(--ease); }
.car-btn:hover { transform: scale(1.06); }
.car-btn svg { width: 20px; height: 20px; }
.car-dots { display: flex; gap: 8px; }
.car-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--mask); transition: width var(--t) var(--ease), background-color var(--t); }
.car-dots i.on { width: 20px; background: var(--indigo); }
.swipe-dots { display: none; } /* 只在手机上显示，见 760px 断点 */
/* 自定义光标：只在轮播区出现 */
.drag-cursor {
  position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none;
  width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500;
  opacity: 0; transform: scale(.4); transition: opacity var(--t-fast) var(--ease), transform var(--t) var(--ease);
}
.drag-cursor.show { opacity: .92; transform: scale(1); }
.drag-cursor.down { transform: scale(.85); }
@media (hover: hover) and (pointer: fine) {
  .carousel.has-cursor .car-track, .carousel.has-cursor .car-card { cursor: none; }
}

.read-grid { margin-top: 96px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.lk-input { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--paper); color: var(--muted); font-size: 15px; }
.lk-input svg { width: 18px; height: 18px; color: var(--ink); }
.lookup h3 { margin-top: 18px; }
.honest h3 { display: flex; align-items: center; gap: 6px; }
.info { position: relative; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 99px; color: var(--indigo); cursor: help; }
.info svg { width: 20px; height: 20px; }
.info-tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; width: max-content; max-width: 220px;
  padding: 9px 14px; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 400; line-height: 1.5; text-align: left;
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px) scale(.96); transform-origin: bottom center;
  transition: opacity var(--t-fast) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
}
.info-tip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--ink); }
.info:hover .info-tip, .info:focus-visible .info-tip, .info.open .info-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }

.report { margin-top: 120px; display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; align-items: center; }
.report-copy h3 { font-size: 28px; }
.report-copy .sd-label { margin-top: 8px; font-size: 15px; }
.themes { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; }
.themes button {
  width: 36px; height: 36px; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 0 0 3px var(--ring, transparent), 0 0 0 0 var(--paper), 0 0 0 0 var(--c);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.themes button:hover { transform: scale(1.12); }
.themes button[aria-checked="true"] { box-shadow: inset 0 0 0 3px var(--ring, transparent), 0 0 0 3px var(--paper), 0 0 0 5px var(--c); transform: scale(1.06); }
.theme-name { margin-top: 10px; font-size: 15px; color: var(--ink); font-weight: 500; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); transform: translateY(-2px); }
.report-pages { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.report-pages .fig-cap { font-size: 13px; margin-top: 6px; }
.cover-wrap { position: relative; padding: 28px; border-radius: 28px; background: var(--tint, #DCDDEC); transition: background-color .5s var(--ease); }
.cover-win { padding: 6px; }
.cover { position: relative; border-radius: 12px; overflow: hidden; }
.cover .crop { border-radius: 12px; }
.cover .layer { position: absolute; inset: 0; animation: coverIn .5s var(--ease) forwards; }
@keyframes coverIn { from { clip-path: circle(0% at var(--ox, 0%) var(--oy, 50%)); } to { clip-path: circle(150% at var(--ox, 0%) var(--oy, 50%)); } }

/* =========================================================
   第四章 分享卡
   ========================================================= */
.sharecard { margin: 64px auto 0; max-width: 960px; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: center; }
.sc-stage {
  --cx: 533; --cy: 100; --cw: 500; --ar: .833;
  position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: var(--ar); background: var(--mask);
}
.sc-stage img {
  position: absolute; max-width: none;
  width:  calc(100% * 1266 / var(--cw));
  left:   calc(-100% * var(--cx) / var(--cw));
  top:    calc(-100% * var(--cy) * var(--ar) / var(--cw));
  opacity: 0; transition: opacity .4s var(--ease);
}
.sc-stage img.on { opacity: 1; z-index: 1; }
.switches { list-style: none; margin: 0; padding: 0; background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow-sm); border: 1px solid rgba(226, 217, 200, .7); }
.switches li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 0 18px; color: var(--ink); font-weight: 500; }
.switches li + li { border-top: 1px solid var(--line); }
.switch { position: relative; flex: none; width: 52px; height: 32px; border-radius: 99px; background: #D9D2C4; transition: background-color var(--t) var(--ease); }
.switch i { position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(27, 26, 23, .25); transition: transform var(--t) var(--ease); }
.switch[aria-checked="true"] { background: var(--indigo); }
.switch[aria-checked="true"] i { transform: translateX(20px); }
.sc-ctrl .small { margin-top: 14px; }
.sc-btns { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   放心
   ========================================================= */
.local { margin: 64px auto 0; max-width: 960px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 0; align-items: center; }
.pc {
  position: relative; z-index: 1; padding: 30px; border-radius: 28px; border: 2px solid var(--ink); background: var(--card);
  box-shadow: var(--shadow);
}
.pc-title { font-weight: 700; color: var(--ink); font-size: 20px; }
.pc-items { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pc-items span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 8px; border-radius: 16px; background: var(--paper); color: var(--ink); font-weight: 500; font-size: 15px; }
.pc-items svg { width: 28px; height: 28px; }
.pc-note { margin-top: 16px; font-size: 15px; color: var(--muted); text-align: center; }
.lines { position: relative; display: flex; flex-direction: column; gap: 12px; padding-left: 40px; }
.lines-title { font-size: 14px; color: var(--muted); padding-left: 4px; }
.net {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px 0 18px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 500; text-align: left;
  transition: border-color var(--t-fast), transform var(--t) var(--ease);
}
.net small { font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.net::before { /* 细线连到「你的电脑」 */
  content: ""; position: absolute; right: 100%; top: 50%; width: 42px; border-top: 1.5px dashed var(--ink);
}
.net i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--indigo); flex: none; }
.net:hover, .net[aria-expanded="true"] { border-color: var(--indigo); }
.net-tip {
  position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); z-index: 5;
  padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 400; line-height: 1.55;
  opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.97); transform-origin: top left;
  transition: opacity var(--t-fast) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
}
.net[aria-expanded="true"] .net-tip { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .net:hover .net-tip { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}

.demos { margin-top: 112px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.demo h3 { font-size: 24px; }
.demo > p { margin-top: 6px; min-height: 3.3em; }
.lock-win, .wipe-win { margin-top: 20px; }
.lock-stage, .wipe-stage { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1.335; background: #F4F4F6; }
.lock-app, .wipe-app { position: absolute; inset: 0; }
.lock-app .crop, .wipe-app .crop { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.lock-app { opacity: 0; transition: opacity .4s var(--ease); }
.lock-app::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,253,248,.6) 50%, transparent 70%) 0 0 / 220% 100%, var(--mask); animation: shimmer 1.2s linear infinite; transition: opacity .4s var(--ease); }
.lock-stage.open .lock-app { opacity: 1; }
.lock-stage.open.ready .lock-app::after { opacity: 0; animation: none; }
.lock-card { position: absolute; inset: 0; margin: 0; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.lock-card .crop { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.lock-stage.open .lock-card { opacity: 0; transform: scale(.97); pointer-events: none; }
.lock-input {
  position: absolute; left: 7.42%; top: 47.2%; width: 85.15%; height: 12.5%;
  box-sizing: border-box; margin: 0; padding: 0 3%; border-radius: 8px; border: 2px solid #5A62B4; background: #fff;
  font: 500 15px var(--sans); color: var(--ink); outline: none;
}
.lock-input::placeholder { color: #8B8697; font-weight: 400; }
.lock-input:focus { box-shadow: 0 0 0 4px rgba(90, 103, 168, .2); }
.lock-btn { position: absolute; left: 7.42%; top: 63.3%; width: 85.15%; height: 12.2%; border-radius: 8px; }
.lock-btn:focus-visible { outline-offset: 2px; }
.lock-err {
  position: absolute; left: 0; right: 0; top: 79%; height: 9%; display: grid; place-items: center;
  background: #fff; color: #C0392B; font-size: 14px; font-weight: 500; opacity: 0; transition: opacity var(--t-fast);
}
.lock-err.show { opacity: 1; }
.lock-card.shake .lock-input { animation: shake .42s cubic-bezier(.36, .07, .19, .97); border-color: #C0392B; }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); } }
#lock-reset { margin-top: 8px; }

.wipe-app { transition: opacity .4s var(--ease), filter .4s var(--ease); }
.wipe-stage.wiped .wipe-app { opacity: 0; filter: blur(6px); }
.wipe-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--ink); font-weight: 500; animation: fadeup .45s var(--ease); }
.wipe-empty img { border-radius: 14px; }
.wipe-btns { margin-top: 16px; display: flex; gap: 10px; }
.wipe-dialog { position: relative; width: min(560px, 92vw); }
.wipe-tag { margin-bottom: 12px; text-align: center; color: #fff; font-weight: 500; font-size: 15px; text-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.wipe-dialog .window { transform: scale(.94); opacity: 0; transition: transform var(--t) var(--ease), opacity var(--t-fast); }
.wipe-modal.open .wipe-dialog .window { transform: none; opacity: 1; }
.wipe-shot { position: relative; border-radius: 12px; overflow: hidden; }
.wipe-hit { position: absolute; top: 76.3%; height: 14.2%; border-radius: 8px; transition: box-shadow var(--t-fast); }
.wipe-hit:hover { box-shadow: 0 0 0 3px rgba(90, 103, 168, .35); }
.wipe-cancel { left: 53.1%; width: 13.5%; }
.wipe-go { left: 68.75%; width: 25.4%; }

.mini-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* =========================================================
   开始用
   ========================================================= */
.plats { margin: 56px auto 0; max-width: 960px; display: flex; gap: 20px; }
.plat {
  --mx: 50%; --my: 50%;
  position: relative; flex: 1 1 0; overflow: hidden; min-height: 168px; padding: 26px 28px; border-radius: 22px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
  background: var(--card); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm);
  transition: flex-grow .5s var(--ease), border-color var(--t), box-shadow var(--t), transform var(--t) var(--ease);
}
.plat::before { /* 光标聚光灯 */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(90, 103, 168, .16), transparent 70%);
  transition: opacity var(--t) var(--ease);
}
.plat:hover::before { opacity: 1; }
.plat[aria-selected="true"] { flex-grow: 1.6; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(90, 103, 168, .12), var(--shadow); }
.plat-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--ink); margin-bottom: 10px; }
.plat-ico svg { width: 26px; height: 26px; }
.plat[aria-selected="true"] .plat-ico { background: var(--indigo); color: #fff; }
.plat-name { font-size: 26px; font-weight: 700; color: var(--ink); }
.plat-sub { font-size: 15px; color: var(--muted); }
.plat-panels { max-width: 960px; margin: 28px auto 0; }
.plat-panel { animation: fadeup .4s var(--ease); }
.req { font-size: 15px; color: var(--ink); font-weight: 500; padding: 0 4px; }
.mac-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mac-box { background: var(--card); border-radius: var(--r-card); padding: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.mac-must { border: 1.5px solid #E3B27A; background: #FFF8EC; }
.mac-box h4 { margin: 0; font-size: 18px; color: var(--ink); }
.mac-box ul { margin: 12px 0 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.mac-box p { margin-top: 12px; font-size: 15px; }
.start-note { margin-top: 32px; text-align: center; font-size: 15px; color: var(--muted); }
.start-note a { margin-left: 8px; font-weight: 500; }

/* 折叠展开（步骤 + 常见问题） */
.acc { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.acc-item { background: var(--card); border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color var(--t); }
.acc-item.open { border-color: #CDD1EA; }
.acc-btn { width: 100%; min-height: 60px; padding: 12px 18px; display: flex; align-items: center; gap: 14px; text-align: left; color: var(--ink); font-weight: 500; font-size: 17px; border-radius: 16px; }
.acc-q { flex: 1; }
.acc-chev { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform var(--t) var(--ease); }
.acc-item.open .acc-chev { transform: rotate(180deg); color: var(--indigo); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t) var(--ease); }
.acc-body > div { overflow: hidden; }
.acc-body p { padding: 0 18px 18px; }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.step-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo-l); color: var(--indigo-d); font-weight: 600; font-size: 15px; }
.step-ico { flex: none; width: 22px; height: 22px; color: var(--muted); }
.step-ico svg { width: 22px; height: 22px; }
.steps .acc-body p { padding-left: 98px; }

/* 常见问题 */
.wrap-narrow { max-width: 820px; }
.faq-list { margin-top: 48px; }

/* =========================================================
   购买
   ========================================================= */
.pricing { padding-top: 120px; }
.price-card {
  margin: 0 auto; max-width: 520px; padding: 44px 40px 36px; border-radius: 28px; text-align: center;
  background: var(--card); box-shadow: var(--shadow); border: 1px solid rgba(226, 217, 200, .7);
}
.price-card > img { margin: 0 auto; border-radius: 18px; }
.price-name { margin-top: 14px; font-family: var(--num); font-weight: 600; letter-spacing: .16em; color: var(--ink); font-size: 18px; }
.price { margin-top: 10px; color: var(--ink); line-height: 1; }
.price .cur { font-size: 30px; font-weight: 500; vertical-align: top; margin-right: 4px; }
.price .num { font-size: 88px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-sub { margin-top: 8px; font-size: 18px; color: var(--ink); font-weight: 500; }
.price-pts { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--text); }
.price-btns { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.price-btns .btn { min-width: 180px; }
.price-dl { margin-top: 20px; font-size: 14px; color: var(--muted); }
.send-pc { display: none; }

/* 购买抽屉内容 */
.buy-steps { list-style: none; counter-reset: bs; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.buy-steps li { counter-increment: bs; position: relative; padding: 14px 16px 14px 50px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font-size: 15px; }
.buy-steps li::before { content: counter(bs); position: absolute; left: 14px; top: 14px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo-l); color: var(--indigo-d); font-family: var(--num); font-weight: 600; font-size: 13px; }
.bs-title { font-weight: 500; color: var(--ink); margin-bottom: 2px !important; }
.copy-row { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.copy-btn { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn.ok { border-color: var(--indigo); color: var(--indigo-d); }

/* =========================================================
   页尾（墨黑收尾）
   ========================================================= */
.foot { background: var(--ink); color: #BDB6A8; padding: 72px 0 40px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.foot-name { font-family: var(--num); font-weight: 600; letter-spacing: .16em; color: var(--paper); }
.foot-line { color: var(--paper); font-size: 18px; font-weight: 500; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { color: #E8E1D3; min-height: 44px; display: inline-flex; align-items: center; transition: color var(--t-fast); }
.foot-links a:hover { color: #fff; }
.legal { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(246, 241, 231, .14); display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.75; max-width: 860px; }
.foot-ver { margin-top: 28px; font-size: 13px; color: #A39C8F; }

/* =========================================================
   宽屏才显示左侧进度条，否则用导航下的进度条
   ========================================================= */
@media (max-width: 1379px) {
  .rail { display: none; }
}
@media (min-width: 1380px) {
  .nav.in-chapters .progress-bar { display: none; }
}

/* =========================================================
   平板
   ========================================================= */
@media (max-width: 980px) {
  .search { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .search-copy { max-width: 520px; margin: 0 auto; width: 100%; text-align: center; }
  .sd-panel { text-align: left; }
  .pains { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
  .mini-cards { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* =========================================================
   手机（主入口）：单栏、16px 边距
   ========================================================= */
@media (max-width: 760px) {
  :root { --gutter: 16px; --nav-h: 56px; }
  body { font-size: 16px; background-size: 20px 20px; }

  .nav-links { display: none; }
  .nav-right { margin-left: auto; gap: 4px; }
  .burger { display: block; }
  .nav .btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
  .brand { font-size: 17px; }

  .hero { padding: calc(var(--nav-h) + 40px) 0 64px; }
  .eyebrow { font-size: 14px; }
  .hero h1 { font-size: 28px; line-height: 1.35; margin-top: 18px; letter-spacing: 0; }
  .lead { font-size: 16px; margin-top: 14px; }
  .hero-cta { flex-direction: column; gap: 6px; margin-top: 26px; }
  .hero-cta .btn { width: 100%; }
  .hero-meta { font-size: 13px; line-height: 1.8; }
  .hero-meta i { margin: 0 6px; }
  .hero-stage { margin-top: 40px; perspective: none; }
  .hero-glow { width: 520px; height: 520px; margin: -260px 0 0 -260px; animation: drift 14s ease-in-out infinite alternate; left: 50%; top: 62%; }
  /* 手机不缩小整个窗口：只裁出聊天区做特写 */
  .crop-hero .crop { --cx: 515; --cy: 30; --cw: 425; --ar: .8; }
  .hero-tilt { animation: float 6s ease-in-out infinite; }

  .why { padding: 72px 0 80px; }
  .sec-title { font-size: 26px; }
  .pains { margin-top: 32px; gap: 16px; }
  .pain-inner { height: 200px; }
  .face { padding: 22px; }
  .front h3 { font-size: 22px; margin-top: 14px; }
  .back-text { font-size: 18px; }
  .answer { margin-top: 56px; font-size: 22px; }

  .chapter { padding: 72px 0 72px; }
  .ch-head h2 { font-size: 28px; }
  .ch-sub { font-size: 16px; }

  /* 热点讲解：随滚动从一个热点移到下一个 */
  .spot { margin-top: 36px; }
  .spot-view { aspect-ratio: auto; height: 320px; cursor: zoom-in; }
  .spot-canvas { width: 880px; height: auto; aspect-ratio: 1266 / 833; }
  .spot-img { height: auto; }
  .spot-dim { --r: 120px; transition: none; }
  .tip { white-space: normal; max-width: 240px; text-align: center; }
  .spot-steps { display: flex; justify-content: center; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
  .spot-steps li { width: 6px; height: 6px; border-radius: 99px; background: var(--mask); transition: width var(--t) var(--ease), background-color var(--t); }
  .spot-steps li.on { width: 20px; background: var(--indigo); }

  .search { margin-top: 72px; }
  .search-copy h3 { font-size: 24px; }
  .sd-bar { margin-top: 20px; }
  /* 手机：每张结果图裁出对应的局部 */
  .stage { --ar: 1.05; }
  .stage img {
    width:  calc(100% * 1266 / var(--cw));
    left:   calc(-100% * var(--cx) / var(--cw));
    top:    calc(-100% * var(--cy) * var(--ar) / var(--cw));
  }
  .ring { --cx: 600; --cy: 110; --cw: 650; }
  .sd-stage .window { cursor: zoom-in; }

  .mini-cards { margin-top: 72px; gap: 16px; }
  .mini { padding: 22px; }

  /* 第二章三张小卡片：横排，左右滑，露出下一张的边 */
  .mini-swipe {
    display: flex; gap: 12px; max-width: none;
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 14px; scroll-padding: 0 var(--gutter);
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .mini-swipe::-webkit-scrollbar { display: none; }
  .mini-swipe > .mini { flex: 0 0 84%; scroll-snap-align: start; opacity: 1; transform: none; }
  .swipe-dots { display: flex; justify-content: center; margin-top: 2px; }
  .bridge { margin-top: 72px; font-size: 22px; }

  /* 底部购买条（滚过开场后出现） */
  .buybar {
    display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45;
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 20px; border-radius: 99px;
    background: rgba(255, 253, 248, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: var(--shadow); border: 1px solid var(--line);
    transform: translateY(140%); transition: transform var(--t-slow) var(--ease);
  }
  .buybar.show { transform: none; }
  .buybar p { color: var(--ink); font-size: 15px; }
  .buybar .num { font-size: 20px; font-weight: 600; margin-right: 2px; }
  .buybar .btn { min-height: 44px; }
  main { padding-bottom: 72px; }

  /* 购买抽屉从底部拉出 */
  .drawer-buy {
    top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 88vh;
    border-radius: 22px 22px 0 0; padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
    transform: translateY(104%);
  }
  .drawer-buy::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line); }

  /* 弹窗：全屏 */
  .modal-body { max-width: 100vw; max-height: 100vh; width: 100%; overflow: auto; }
  .modal-body img { max-width: 100%; max-height: none; width: 100%; border-radius: 8px; padding: 3px; }
}

/* ---------- 新增各节：平板 ---------- */
@media (max-width: 980px) {
  .fmt, .split, .split-rev, .report, .sharecard, .local { grid-template-columns: minmax(0, 1fr); }
  .split-rev .split-copy, .split-rev .mg-demo { order: 0; }
  .fmt-shot { justify-self: center; }
  .read-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
  .mini-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
  .demos { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
  .sharecard { max-width: 520px; }
  .lines { padding-left: 0; margin-top: 28px; }
  .net::before { display: none; }
  .local .pc::after { /* 竖向细线 */
    content: ""; position: absolute; left: 50%; top: 100%; height: 30px; border-left: 1.5px dashed var(--ink);
  }
}

/* ---------- 新增各节：手机 ---------- */
@media (max-width: 760px) {
  .split, .fmt, .report, .sharecard, .local, .demos { margin-top: 72px; }
  .split { gap: 28px; }
  .split-copy h3, .fmt-top h3, .report-copy h3 { font-size: 24px; }
  .fmt { margin-top: 40px; gap: 32px; }
  .doc { width: 72px; height: 90px; }
  .doc-glyph { top: 32px; font-size: 19px; }
  .doc-tag { bottom: 10px; font-size: 11px; }
  /* 格式胶囊：横向滑动 */
  .fmt-groups { flex-direction: row; overflow-x: auto; gap: 18px; margin: 22px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 6px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); }
  .fmt-shot { max-width: 300px; }
  .fmt-groups::-webkit-scrollbar { display: none; }
  .fmt-group { flex: none; scroll-snap-align: start; }
  .pills { flex-wrap: nowrap; }
  /* 文件卡片：竖排 */
  .files { flex-direction: column; }
  .file { width: 100%; }
  .bk-demo { gap: 10px; }
  .bk-col { min-height: 250px; padding: 14px; }
  .bk-head { font-size: 14px; flex-wrap: wrap; }
  .bk-list { min-height: 0; }
  /* 两段时间线：上下排列 */
  .mg-track { flex-direction: column; align-items: center; height: auto; gap: 44px; padding-top: 4px; }
  .mg-seg { flex: none; width: 82%; margin-top: 26px; }
  .mg-demo.merged .mg-track { gap: 0; }
  .mg-demo.merged .mg-old { border-radius: 99px 99px 0 0; }
  .mg-demo.merged .mg-new { border-radius: 0 0 99px 99px; }
  .mg-demo.merged .mg-new span { opacity: 0; }
  .mg-shots { grid-template-columns: minmax(0, 1fr); }
  .mini-4 { grid-template-columns: minmax(0, 1fr); max-width: 520px; }

  .stats { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 40px; }
  .stat-n .num { font-size: 56px; }
  .carousel { margin-top: 56px; }
  .car-track { gap: 14px; padding: 6px var(--gutter) 24px; scroll-padding: 0 var(--gutter); }
  .car-card { flex-basis: 84%; scroll-snap-align: start; }  /* 露出下一张的一小截 */
  .car-btn { display: none; }
  .read-grid { margin-top: 64px; gap: 16px; }
  .report { gap: 28px; }
  .cover-wrap { padding: 14px; border-radius: 22px; order: -1; }
  .report-copy { text-align: left; }

  .sharecard { gap: 24px; margin-top: 36px; }
  .sc-card { max-width: 240px; margin: 0 auto; width: 100%; }
  .switches li { min-height: 48px; }
  .sc-ctrl .small { margin-top: 10px; }
  .sc-btns { margin-top: 14px; }
  .sc-btns .btn { flex: 1; }

  .local { margin-top: 40px; }
  .pc { padding: 22px; border-radius: 22px; }
  .pc-items span { padding: 14px 4px; font-size: 14px; }
  .demos { gap: 56px; }
  .demo > p { min-height: 0; }
  .lock-input { font-size: 16px; } /* 手机上不放大页面 */

  .plats { position: sticky; top: calc(var(--nav-h) + 32px); z-index: 4; margin-top: 32px; gap: 6px; padding: 5px; border-radius: 99px; background: rgba(239, 232, 218, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); }
  .plat { min-height: 46px; padding: 0 12px; border-radius: 99px; flex-direction: row; align-items: center; justify-content: center; gap: 8px; box-shadow: none; border: 0; background: transparent; }
  .plat[aria-selected="true"] { flex-grow: 1; background: var(--card); box-shadow: var(--shadow-sm); }
  .plat::before, .plat-sub { display: none; }
  .plat-ico { width: 26px; height: 26px; margin: 0; background: transparent !important; color: inherit !important; }
  .plat-ico svg { width: 20px; height: 20px; }
  .plat-name { font-size: 16px; font-weight: 600; }
  .mac-grid { grid-template-columns: minmax(0, 1fr); }
  .acc-btn { font-size: 16px; padding: 10px 14px; gap: 10px; }
  .steps .acc-body p { padding-left: 86px; }

  .pricing { padding-top: 72px; }
  .price-card { padding: 32px 20px 28px; border-radius: 22px; }
  .price .num { font-size: 72px; }
  .price-btns { flex-direction: column; }
  .price-btns .btn { width: 100%; }
  .send-pc { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 28px; text-align: center; color: var(--muted); font-size: 15px; }
  .send-pc .btn { width: 100%; max-width: 520px; }

  .foot { padding: 56px 0 calc(100px + env(safe-area-inset-bottom)); }
  .foot-links { gap: 0 18px; }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom)); } /* 在底部购买条上方 */
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes drift { 0% { transform: translate(-40px, -30px); } 100% { transform: translate(50px, 30px); } }

/* =========================================================
   减少动态效果：只保留淡入
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .up, .rise { animation: fade .4s ease forwards !important; transform: none !important; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  .reveal { transform: none; transition: opacity .4s ease; }
  .hero-tilt, .pain-tilt, .spot-canvas { transform: none !important; animation: none !important; transition: none !important; }
  .hero-glow { animation: none !important; }
  .btn, .mini, .tab, .drawer, .dd-menu, .sd-pill, .ring, .stage img, .tip, .modal-body img { transform: none !important; }
  .drawer { transition: opacity .25s ease, visibility 0s linear .25s; opacity: 0; }
  .drawer.open { opacity: 1; transition: opacity .25s ease; }
  /* 翻面改成淡入淡出 */
  .pain-inner { transform: none !important; }
  .back { transform: none; opacity: 0; transition: opacity .3s ease; }
  .front { transition: opacity .3s ease; }
  .pain:hover .back, .pain:focus-visible .back, .pain.flipped .back { opacity: 1; }
  .hs::after, .cal-grid button.d::after { display: none; }
  .switch i, .plat, .car-tilt, .doc, .doc-glyph, .mg-track, .mg-seg, .bk-list li, .acc-body, .acc-chev, .task-ok,
  .themes button, .net-tip, .info-tip, .toast, .wipe-dialog .window, .fig .crop, .car-btn, .pill, .chev { transition: none !important; transform: none !important; }
  .switch[aria-checked="true"] i { transform: translateX(20px) !important; }
  .acc-item.open .acc-chev { transform: rotate(180deg) !important; }
  .info:hover .info-tip, .info:focus-visible .info-tip, .info.open .info-tip { transform: translate(-50%, 0) !important; }
  .toast { transform: translate(-50%, 0) !important; transition: opacity .25s ease !important; }
  .drag-cursor { display: none; }
  .shot .crop::after, .stage::after, .spot-view::after { animation: none; }
}
.buy-link { color: var(--indigo-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
