/* ============================================================
   文艺指南 Artify 官网
   设计 token 全部走 CSS 自定义属性；硬阴影、零模糊；
   动画只用 transform / opacity。
   ============================================================ */

/* 字体：文件稍后放入，缺失时回退栈仍然好看 */
@font-face { font-family:"FangYuan"; src:url("assets/fonts/fangyuan-regular.woff2") format("woff2"); font-weight:400; font-display:swap; }
@font-face { font-family:"FangYuan"; src:url("assets/fonts/fangyuan-bold.woff2") format("woff2"); font-weight:700 900; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("assets/fonts/montserrat-black.woff2") format("woff2"); font-weight:900; font-display:swap; }

:root {
  --canvas:#9FAFF0;  --canvas-deep:#8999DC;  --paper:#FFF9EC;  --paper-2:#F3F0E8;
  --ink:#252527;     --ink-2:#4C4951;        --muted:#74717B;
  --lime:#CBEF72;    --aqua:#92DDD1;         --blue:#92A7ED;  --pink:#E98BCF;
  --yellow:#F1CE67;  --coral:#E99686;        --purple:#7F6F90; --lilac:#C8B9D6;

  --font-cn:"FangYuan","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  --font-num:"Montserrat",ui-monospace,monospace;

  --fs-display: clamp(40px,7vw,76px);
  --fs-h2: clamp(30px,4.6vw,54px);
  --fs-h3: clamp(20px,2.4vw,26px);
  --fs-body: 16px;
  --fs-caption: 13px;
  --fs-overline: 11px;

  /* 动效三档（对齐 App geometry.motion）：instant / grade / celebrate */
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);   /* enter：进场/俏皮 */
  --ease-out: cubic-bezier(0.22,1,0.36,1);          /* 揭示/退场 */
  --ease-pop: cubic-bezier(0.22,1.2,0.36,1);
  --dur-press: 200ms;
  --dur-enter: 450ms;
  --dur-celebrate: 800ms;
  --stagger: 70ms;                                  /* 统一交错步长 */

  --radius-card:16px; --radius-sm:12px; --radius-tag:8px; --radius-pill:999px;
  /* 2.5D 底部 ink 底座（对齐 App shadow25D）：0 横向偏移、同圆角，不是斜投影 */
  --shadow-lg:0 6px 0 var(--ink);
  --shadow:0 5px 0 var(--ink);
  --shadow-sm:0 4px 0 var(--ink);
  --shadow-xs:0 3px 0 var(--ink);
  --nav-h: 64px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-cn);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html.no-scroll, body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* 丝滑收尾：自包含的盒子做布局隔离，减少滚动时的布局/重排范围
   （只用 contain: layout，不用 paint，避免裁掉外部的 ink 底座） */
.shot, .card, .faq__item, .install__step, .case, .phone, .deck-preview, .toast { contain: layout; }

/* 低端设备降级：关掉纸纹、跑马灯、光标预览等重效果 */
html.perf-low .card::after,
html.perf-low .shot::after { display: none; }
html.perf-low .marquee__track { animation: none; }
html.perf-low .deck-preview { display: none; }

/* 吸顶偏移统一由 scroll-padding-top 负责（锚点与 scroll-snap 共用）；
   scroll-margin 会再叠加进 snap 偏移，这里必须归零。 */
section[id] { scroll-margin-top: 0; }

/* ---- 全屏滚动吸附：每节一屏，导航跳节，滚动时相邻节露一点边 ----
   用 proximity 而非 mandatory：现场题是靠长滚动跑道实现的，
   mandatory 会把它强行吸走。 */
html { scroll-snap-type: y proximity; scroll-padding-top: calc(var(--nav-h) + 2px); }
.hero, .theater, .scene, .feature, .download, .faq {
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  scroll-snap-align: start;
}
.hero, .theater, .download, .faq {
  display: flex; flex-direction: column; justify-content: center;
}
/* Lenis 接管滚动时关闭桌面吸附：惯性平滑与 proximity 吸附互相打架；移动端保持原生 */
@media (min-width: 861px) {
  html.lenis-on { scroll-snap-type: none; }
}

.icon { width: 20px; height: 20px; flex: none; color: var(--ink); stroke: currentColor; }

/* ---- 通用文字 ---- */
.overline {
  font-size: var(--fs-overline);
  letter-spacing: .22em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-2);
}
h2 { font-size: var(--fs-h2); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
/* 章节标题逐字揭示，两条互斥路径：
   - 无 GSAP：CSS 全程控制（初态沉底藏 → is-splitin 上浮揭出）
   - 有 GSAP：CSS 不给任何 transform/filter 初值，由 gsap.set 独占——
     否则 computed 矩阵会把百分比换算成 px 污染 gsap 的解析，词会卡在半途 */
h2 .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
h2 .word__in { display: inline-block; }
html:not(.gsap-motion) h2 .word__in {
  transform: translateY(112%); filter: blur(6px);
  transition: transform .55s var(--ease-spring), filter .5s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 22ms);
}
html:not(.gsap-motion) h2.is-splitin .word__in { transform: none; filter: blur(0); }
html:not(.js) h2 .word__in { transform: none; filter: blur(0); }
html.gsap-motion h2 .word__in { transition: none; }

/* 区块色块：每个功能区一个专属色，标题旁一枚小色块，形成有节奏的多色块品牌语言 */
.overline--swatch::before {
  content: ""; display: inline-block;
  width: 11px; height: 11px; margin-right: 10px;
  background: var(--sec, var(--aqua));
  border: 2px solid var(--ink); border-radius: 3px;
  vertical-align: -1px;
}
h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; }
.section-sub { margin-top: 16px; max-width: 46ch; color: var(--ink-2); }

/* ---- 排版精修：标题平衡断行、正文避免孤字、数字等宽对齐 ---- */
h1, h2, h3 { text-wrap: balance; }
.section-sub, .hero__sub, .download__lead, .legal__card p, .feature__copy p { text-wrap: pretty; }
.stat__num, .deck-count, .card__idx, .install__no, .step__no,
.nav__links a::before, .download__version, .hero__version, .sq__no { font-variant-numeric: tabular-nums; }

/* ---- 按钮 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  /* App 2.5D：按钮正下方一块同宽的 ink 实心底座（0 横向偏移、同圆角），不是斜投影 */
  box-shadow: 0 4px 0 rgba(37, 37, 39, .45);
  /* 只过渡 transform：按下不逐帧重绘阴影（阴影变化瞬时发生，一次绘制） */
  transition: transform var(--dur-press) var(--ease-out), background var(--dur-press) var(--ease-out);
  will-change: transform;
}
.btn--primary { background: var(--lime); box-shadow: 0 5px 0 var(--ink); }
.btn--ghost { background: var(--paper); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn--xl { min-height: 62px; padding: 0 36px; font-size: 19px; border-radius: var(--radius-card); }
/* hover 上层抬起（底座不动）；按下沉到贴近底座（对齐 App 的 translateY(3dp)+底座 1dp） */
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(4px) scale(.98); box-shadow: 0 1px 0 rgba(37, 37, 39, .45); }
.btn--primary:active { box-shadow: 0 1px 0 var(--ink); }
.btn__icon { width: 22px; height: 22px; }

/* ---- 滚动进度条（青柠细线） ---- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px;
  background: transparent; z-index: 60; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 100%;
  background: var(--lime);
  transform: scaleX(0); transform-origin: 0 50%;
}
/* 滚动驱动：支持 scroll() 时间轴的浏览器把进度条交给合成器，JS 不再逐帧写 */
@supports (animation-timeline: scroll()) {
  .progress span {
    transform: none;
    animation: progress-grow linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes progress-grow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}

/* ---- 导航 ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.nav__inner {
  width: min(100% - 32px, 1320px); margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav__brand { display: inline-flex; align-items: center; }
.nav__logo { height: 26px; width: auto; }
.nav__links { display: none; gap: 28px; }
.nav__links a {
  position: relative; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 4px 0;
}
/* 会滑动的 ink 指示条：一个元素在各导航项之间滑动，比每项各自下划线更有整体感 */
.nav__links { position: relative; }
.nav__ink {
  position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--ink);
  pointer-events: none;
  transition: transform .42s var(--ease-spring), width .42s var(--ease-spring);
}
.nav__links a { transition: color var(--dur-press) var(--ease-out); }
.nav__links a.is-active { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__cta { min-height: 44px; padding: 0 20px; }
.nav__burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border: 2px solid var(--ink); border-radius: var(--radius-sm);
  background: var(--paper); box-shadow: var(--shadow-xs);
  transition: transform var(--dur-press) var(--ease-out), box-shadow var(--dur-press) var(--ease-out);
}
.nav__burger:active { transform: translate(3px,3px); box-shadow: 0 0 0 var(--ink); }
.nav__icon--close { display: none; }
.nav.is-open .nav__icon--open { display: none; }
.nav.is-open .nav__icon--close { display: block; }

.nav__drawer {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  /* 从汉堡按钮位置圆形展开 */
  clip-path: circle(0% at calc(100% - 39px) 0);
  opacity: 0;
  transition: clip-path var(--dur-enter) var(--ease-out), opacity var(--dur-enter) var(--ease-out);
}
.nav__drawer[hidden] { display: none; }
.nav__drawer.is-visible { clip-path: circle(150% at calc(100% - 39px) 0); opacity: 1; }
.nav__drawer-links { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px 24px; }
.nav__drawer-links a {
  text-decoration: none; font-weight: 700; font-size: 18px;
  padding: 12px 4px; border-bottom: 2px solid var(--paper-2);
}
/* 抽屉内条目阶梯揭幕（laxspace 式） */
@keyframes drawer-stair { from { opacity: 0; transform: translateY(18px); } }
html.js .nav__drawer.is-visible .nav__drawer-links a { animation: drawer-stair .48s var(--ease-spring) backwards; }
html.js .nav__drawer.is-visible .nav__drawer-links a:nth-child(1) { animation-delay: .04s; }
html.js .nav__drawer.is-visible .nav__drawer-links a:nth-child(2) { animation-delay: .09s; }
html.js .nav__drawer.is-visible .nav__drawer-links a:nth-child(3) { animation-delay: .14s; }
html.js .nav__drawer.is-visible .nav__drawer-links a:nth-child(4) { animation-delay: .19s; }
html.js .nav__drawer.is-visible .nav__drawer-links a:nth-child(5) { animation-delay: .24s; }
html.js .nav__drawer.is-visible .nav__drawer-links a:nth-child(6) { animation-delay: .29s; }
html.js .nav__drawer.is-visible .nav__drawer-links a:nth-child(7) { animation-delay: .34s; }
html.js .nav__drawer.is-visible .nav__drawer-links a:nth-child(8) { animation-delay: .39s; }
html.js .nav__drawer.is-visible .nav__drawer-links a:nth-child(9) { animation-delay: .44s; }
.nav__drawer-links a.btn { border-bottom: 2px solid var(--ink); margin-top: 12px; }

/* ---- 装饰色块母题 ---- */
.blob { position: absolute; z-index: 0; pointer-events: none; }
.blob--star {
  background: var(--pink);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  transform: translate3d(var(--px,0), var(--py,0), 0) rotate(-12deg);
}
.blob--arc { background: var(--aqua); border: 2px solid var(--ink); border-radius: var(--radius-pill) var(--radius-pill) 0 0; transform: translate3d(var(--px,0), var(--py,0), 0); }
.blob--dot { background: var(--lime); border: 2px solid var(--ink); border-radius: 50%; transform: translate3d(var(--px,0), var(--py,0), 0); }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; background: var(--canvas); padding: clamp(48px,8vw,110px) 0 clamp(64px,9vw,120px); }
.hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(40px,6vw,72px); align-items: center; }
.hero__decor--star { width: 84px; height: 84px; top: 6%; left: 1.5%; }
.hero__decor--arc { width: 150px; height: 76px; bottom: 0; left: 8%; }
.hero__decor--dot { width: 42px; height: 42px; top: 16%; right: 8%; }
.hero__copy { position: relative; z-index: 1; }
.hero__title { font-size: var(--fs-display); line-height: 1.08; font-weight: 800; margin: 14px 0 0; letter-spacing: -.02em; }
.hero__line { display: block; }
/* 只有 JS 可用时才隐藏等待入场；无 JS 时标题必须直接可见 */
html.js /* 遮罩逐行上浮：每行包一层 overflow:hidden，内容从下方升起 */
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
html.js .hero__line-in { display: block; transform: translateY(112%); }
html.js .hero__title.is-in .hero__line-in {
  transform: none;
  transition: transform .8s var(--ease-spring);
  transition-delay: calc(var(--li, 0) * 110ms);
}
.hero__sub { margin-top: 24px; max-width: 40ch; font-size: 17px; color: var(--ink); }
/* 首屏左侧的三条实测说明：把空白填实，也是这个 App 最简洁的解释 */
.hero__facts { margin-top: 24px; display: grid; gap: 10px; max-width: 46ch; }
.hero__facts li {
  position: relative; padding-left: 22px;
  font-size: 14.5px; line-height: 1.68; color: var(--ink-2);
}
.hero__facts li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 9px; margin-top: -4px;
  background: var(--lime); border: 2px solid var(--ink); border-radius: 2px;
}
.hero__facts b { color: var(--ink); font-weight: 700; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__version { margin-top: 20px; font-family: var(--font-num); font-size: 14px; letter-spacing: .04em; color: var(--ink-2); }

/* 标题下的手绘青柠下划线 */
.hero__underline {
  display: block;
  width: min(280px, 56%);
  height: 14px; margin-top: 6px;
  fill: none; stroke: var(--lime); stroke-width: 6; stroke-linecap: round;
}
/* 标题逐行入场后，下划线再"画"出来，形成联动 */
html.js .hero__underline path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .hero__title.is-in + .hero__underline path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .62s var(--ease-out) .34s;
}
/* 首屏底部的滚动提示 */
.hero__cue {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: .18em; color: var(--ink-2); text-decoration: none;
}
.hero__cue-line { display: block; width: 2px; height: 24px; background: var(--ink-2); transform-origin: 50% 0; animation: cue-drop 1.7s var(--ease-out) infinite; }
@keyframes cue-drop {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.hero__media { display: flex; justify-content: center; perspective: 1200px; }
/* 视差 scrub 只碰外层包装；入场翻转作用于内层 #heroPhone，两层互不覆盖 */
.phone-wrap { will-change: transform; }
/* 入场等待态：仅 GSAP 路径由 motion.js 加上，时间线启动后由内联样式接管 */
html.js .phone--wait { opacity: 0; }
.phone {
  width: clamp(230px,60vw,312px);
  padding: 10px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  will-change: transform;
  /* 基础倾斜常驻（桌面视差在其上叠加） */
  transform: rotate(-3deg);
}
.phone__screen { position: relative; border: 2px solid var(--ink); border-radius: 30px; overflow: hidden; background: var(--paper-2); }
.phone__track { display: flex; transition: transform .55s var(--ease-out); }
.phone__track img { flex: 0 0 100%; width: 100%; height: auto; display: block; }
.phone__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 50%;
  background: var(--paper); box-shadow: var(--shadow-xs);
  opacity: .92; transition: opacity var(--dur-press) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.phone__arrow:hover { opacity: 1; }
.phone__arrow:active { transform: translateY(-50%) scale(.92); }
.phone__arrow--prev { left: 8px; }
.phone__arrow--next { right: 8px; }
.phone__arrow .icon { width: 16px; height: 16px; }
.phone__dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.phone__dot { width: 9px; height: 9px; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); cursor: pointer; transition: background var(--dur-press) var(--ease-out); }
.phone__dot.is-current { background: var(--lime); }

/* ---- 数据条 ---- */
.stats { background: var(--paper-2); border-bottom: 2px solid var(--ink); }
.stats__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px 16px; padding: clamp(40px,6vw,64px) 0; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num { font-family: var(--font-num); font-weight: 900; font-size: clamp(34px,6vw,52px); line-height: 1; letter-spacing: -.02em; }
.stat__label { font-size: 14px; color: var(--ink-2); }

/* ---- 概念卡剧场 ---- */
.theater { background: var(--paper); padding: clamp(22px,2.4vw,34px) 0; }
.theater .section-head { margin-bottom: clamp(18px,2.6vw,34px); }
.section-head { margin-bottom: clamp(40px,6vw,64px); }
/* 统一的章节标题模板：标签 → 标题 → 副文，间距固定 */
.section-head .overline,
.download__copy > .overline { margin-bottom: 14px; }

/* isolation: isolate 把卡片的 z-index 关在这一层里，
   否则卡片会盖住吸顶导航和微课浮层（曾经的两个线上 bug） */
.deck-stage { position: relative; isolation: isolate; min-height: clamp(370px,48vh,460px); display: grid; place-items: center; margin-inline: auto; width: min(100%, 640px); touch-action: pan-y; }
.deck { position: absolute; inset: 0; }
.card {
  width: clamp(250px,74vw,300px);
  aspect-ratio: 340 / 480;
  padding: 24px;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  transition: transform .42s var(--ease-out), opacity .42s var(--ease-out);
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}
.deck--enhanced .card {
  position: absolute; left: 50%; top: 50%; cursor: grab;
  transform: translate(-50%,-50%) translate(var(--x,0), var(--y,0)) rotate(var(--r,0deg)) scale(var(--s,1));
  opacity: var(--o, 1);
}
.deck--enhanced.is-dragging .card { cursor: grabbing; }

/* 发牌入场：五张卡从右侧滑入、逐张叠到前一张上（重叠效果） */
.deck-stage.is-dealing .card {
  animation: card-deal .72s var(--ease-spring) backwards;
  animation-delay: calc(var(--i, 0) * 110ms);
}
@keyframes card-deal {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%)
               translate(calc(var(--x, 0px) + 170px), var(--y, 0px))
               rotate(calc(var(--r, 0deg) + 8deg)) scale(calc(var(--s, 1) * .94));
  }
  /* 落地先过冲一点再归位，形成回弹 */
  72% {
    opacity: 1;
    transform: translate(-50%, -50%)
               translate(var(--x, 0px), calc(var(--y, 0px) - 7px))
               rotate(calc(var(--r, 0deg) - 1deg)) scale(calc(var(--s, 1) * 1.025));
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%)
               translate(var(--x, 0px), var(--y, 0px))
               rotate(var(--r, 0deg)) scale(var(--s, 1));
  }
}
.card.is-dragging { cursor: grabbing; box-shadow: 9px 12px 0 var(--ink); }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__idx { font-family: var(--font-num); font-weight: 900; font-size: 20px; letter-spacing: .04em; color: var(--ink-2); }
.card__tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  background: var(--aqua);
  border: 2px solid var(--ink);
  border-radius: var(--radius-tag);
  font-size: 12px; font-weight: 700;
}
.card__name { margin-top: 28px; font-size: clamp(30px,7vw,40px); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.card__def { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.card__meta { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; color: var(--ink-2); }
.card__meter { display: inline-flex; align-items: center; gap: 7px; }
.card__meter em { font-style: normal; }
.card__dots { display: inline-flex; gap: 3px; }
.card__dots i { width: 6px; height: 6px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); }
.card__dots i.on { background: var(--lime); }
.card__prompt { margin-top: 8px; font-size: 14px; font-weight: 700; }

.hint {
  position: absolute; top: 50%; left: 50%; z-index: 5;
  padding: 8px 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 15px;
  opacity: 0;
  pointer-events: none;
}
.hint--right { background: var(--lime); transform: translate(-50%,-50%) rotate(-6deg) translateX(70px); }
.hint--left { background: var(--yellow); transform: translate(-50%,-50%) rotate(6deg) translateX(-70px); }

.deck-blob { z-index: 0; }
.deck-blob--a { width: 52px; height: 52px; left: 3%; top: 20%; }
.deck-blob--b { width: 150px; height: 74px; right: 2%; bottom: 14%; transform: translate3d(var(--px,0), var(--py,0), 0) rotate(180deg); }

.deck-progress { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.deck-count { font-family: var(--font-num); font-weight: 900; font-size: 17px; letter-spacing: .06em; }
/* 编号翻滚：切换概念卡时数字从下滑入 */
.deck-count.is-roll { animation: count-roll .42s var(--ease-spring); }
@keyframes count-roll {
  from { transform: translateY(58%); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.deck-dots { display: inline-flex; gap: 8px; }
.dot { width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); transition: background var(--dur-press) var(--ease-out); }
.dot.is-current { background: var(--lime); }
.deck-actions { display: flex; justify-content: center; gap: 14px; margin-top: 22px; }

/* 无 JS 兜底列表 */
.fallback-cards { margin-top: 48px; display: grid; gap: 16px; }
.fallback-cards li { padding: 20px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); }
.fallback__idx { font-family: var(--font-num); font-weight: 900; color: var(--muted); }
.fallback-cards h3 { margin: 6px 0 8px; }
.fallback__meta { margin-top: 10px; font-size: var(--fs-caption); color: var(--muted); }

/* ---- 现场题：sticky 左栏 + 步骤点亮 ---- */
.scene { background: var(--paper); padding: clamp(64px,9vw,120px) 0; border-top: 2px solid var(--ink); }
.scene__grid { display: grid; gap: 40px; }
.scene__aside { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.scene__cue { display: none; margin-top: 18px; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.scene__viewport { min-width: 0; }
.steps { display: grid; gap: 20px; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  opacity: .45;
  transition: opacity var(--dur-enter) var(--ease-out), background var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out);
}
.step.is-lit { opacity: 1; background: var(--paper); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
/* 五步依次往上滑入；墨水加强（is-lit）保持不变 */
.steps.is-dealt .step { animation: step-in .62s var(--ease-spring) backwards; animation-delay: calc(var(--i, 0) * 95ms); }
@keyframes step-in {
  from { opacity: 0; transform: translateY(46px); }
}
.step__no {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px;
  border: 2px solid var(--ink); border-radius: 12px;
  background: var(--paper-2);
  font-family: var(--font-num); font-weight: 900; font-size: 18px; line-height: 1; color: var(--ink);
  transition: background var(--dur-enter) var(--ease-out);
}
.step.is-lit .step__no { background: var(--step-accent, var(--lime)); }
/* 五步各一色，横向推进时形成色谱 */
.steps .step:nth-child(1) { --step-accent: var(--blue); }
.steps .step:nth-child(2) { --step-accent: var(--aqua); }
.steps .step:nth-child(3) { --step-accent: var(--yellow); }
.steps .step:nth-child(4) { --step-accent: var(--pink); }
.steps .step:nth-child(5) { --step-accent: var(--lime); }
.step__body h3 { font-size: 20px; }
.step__body p { margin-top: 6px; color: var(--ink-2); }

/* 桌面端：钉住 + 横向推进（ScrollTrigger 式）。
   .scene 由 JS 撑高成滚动跑道，.scene__frame 吸附在视口内，
   五步在 .scene__viewport 里横向平移；移动端 / 减动效退回上面的纵向列表。 */
.scene--pinned { padding: 0; }
.scene--pinned .scene__frame {
  position: sticky; top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  overflow: hidden;
}
.scene--pinned .scene__grid {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  align-items: center;
}
.scene--pinned .scene__aside { position: static; }
.scene--pinned #sceneTitle { font-size: clamp(30px, 3.4vw, 46px); }
.scene--pinned .scene__cue { display: block; }
.scene--pinned .scene__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 84%, transparent 100%);
}
.scene--pinned .steps {
  display: flex; flex-wrap: nowrap; gap: 24px;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
}
.scene--pinned .step {
  flex: 0 0 auto;
  width: min(330px, 27vw);
  min-height: 200px;
  align-items: flex-start;
}
.scene--pinned .steps.is-dealt .step { animation: none; }
/* 步骤图标：右上角线稿，点亮着墨——给素卡一个可扫描的视觉锚 */
.step { position: relative; }
.step__icon {
  position: absolute; top: 18px; right: 18px;
  width: 30px; height: 30px;
  color: var(--muted); opacity: .38;
  transition: color var(--dur-enter) var(--ease-out), opacity var(--dur-enter) var(--ease-out);
}
.step.is-lit .step__icon { color: var(--ink); opacity: 1; }

/* ---- 概念长廊：three.js 3D 走廊 ---- */
.corridor-sec { background: var(--paper); padding: clamp(40px,5vw,72px) 0; }
.corridor {
  position: relative; width: min(100%, 900px); margin-inline: auto;
  aspect-ratio: 16 / 9; max-height: 58vh;
  border: 2px solid var(--ink); border-radius: var(--radius-card);
  box-shadow: var(--shadow); overflow: hidden;
  background: linear-gradient(180deg, var(--canvas) 0%, var(--canvas-deep) 100%);
}
.corridor canvas { display: block; width: 100%; height: 100%; }
.corridor__fallback { display: none; margin: 0; padding: 24px; text-align: center; color: var(--ink-2); font-weight: 700; }
.corridor.is-fallback canvas { display: none; }
.corridor.is-fallback .corridor__fallback { display: grid; place-items: center; height: 100%; }

/* ---- 功能交替段 ---- */
.features { background: var(--paper); padding: clamp(64px,9vw,120px) 0; }
.feature { display: grid; gap: 32px; align-items: center; margin-bottom: clamp(56px,8vw,100px); }
.feature:last-child { margin-bottom: 0; }
/* 文案列标题提到准 h2 级：在 540px 高的媒体旁保持存在感 */
.feature__copy h3 { margin: 14px 0 22px; font-size: clamp(24px,2.6vw,34px); }
.ticks { display: grid; gap: 14px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; font-size: 16.5px; }
.tick__icon { width: 22px; height: 22px; margin-top: 3px; color: var(--ink); }
/* 文案列收尾的小箭头链接：把列底"压"住，避免文案悬在媒体中腰 */
.feature__cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 26px; font-weight: 800; font-size: 15.5px;
  text-decoration: none; color: var(--ink);
  border-bottom: 3px solid var(--lime);
  transition: gap var(--dur-press) var(--ease-out);
}
.feature__cta:hover { gap: 14px; }
.feature__media { display: flex; justify-content: center; }
.shot {
  width: clamp(240px,68vw,320px);
  border: 2px solid var(--ink); border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg); overflow: hidden; background: var(--paper-2);
}
/* 只作用于直接子图：识宝/藏宝阁里的图是嵌套的，不能被这条规则改掉高度 */
.shot > img { width: 100%; height: auto; }

/* 识宝 + 藏宝阁同一幕：窄屏上下堆叠，桌面并排；两件等比收缩以放进一屏 */
.feature__media--shibao {
  display: grid; grid-template-columns: 1fr;
  justify-items: center; align-items: center; gap: 18px;
}
.feature__media--shibao .shot { width: min(100%, clamp(240px, 68vw, 320px)); }
@media (min-width: 1024px) {
  .feature__media--shibao {
    grid-template-columns: 1fr 1fr;
    gap: clamp(14px, 1.6vw, 24px);
  }
  .feature__media--shibao .shot { width: 100%; }
}

/* 功能区块：图文分开做，别整块一起淡入 */
.feature__media > * {
  opacity: 0; transform: translateX(38px) rotate(2.5deg);
  transition: opacity .5s var(--ease-out) .14s, transform .8s var(--ease-spring) .14s;
}
.feature.reveal.is-in .feature__media > * { opacity: 1; transform: none; }
/* 截图本身用"窗口"遮罩展开（只裁内层图，不裁外框的 ink 底座） */
html.js .feature__media .shot > img { clip-path: inset(11% 0 11% 0); transition: clip-path .72s var(--ease-out) .18s; }
html.js .feature.reveal.is-in .feature__media .shot > img { clip-path: inset(0); }
.feature--reverse .feature__media > * { transform: translateX(-38px) rotate(-2.5deg); }
.feature--reverse.reveal.is-in .feature__media > * { transform: none; }

/* 三条要点逐条划线入场 */
.feature .ticks li {
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-spring);
}
.feature.reveal.is-in .ticks li { opacity: 1; transform: none; }
.feature.reveal.is-in .ticks li:nth-child(1) { transition-delay: .22s; }
.feature.reveal.is-in .ticks li:nth-child(2) { transition-delay: .30s; }
.feature.reveal.is-in .ticks li:nth-child(3) { transition-delay: .38s; }

/* ---- 文艺助手：真实截图 + 对话气泡动画 ---- */
/* 气泡约定与 App 代码一致：我 = 水青靠右；助手 = 纸色靠左 + 上方小字 */
.ai { position: relative; }
.ai__shot { display: block; width: 100%; height: auto; }
.ai__chat {
  position: absolute; left: 0; right: 0; top: 12%; bottom: 9%;
  display: flex; flex-direction: column; gap: 9px;
  padding: 2% 6%;
  background: var(--canvas);   /* 与截图底色同色，用来盖住原气泡 */
  overflow: hidden;
}
.ai__row { display: flex; flex-direction: column; opacity: 0; transform: translateY(14px) scale(.95); }
.ai__row--user { align-items: flex-end; }
.ai__row--bot { align-items: flex-start; }
.ai__who { margin: 0 0 3px 2px; font-size: 9px; font-weight: 700; color: var(--muted); }
.ai__bubble {
  max-width: 84%;
  padding: 9px 12px;
  border: 2px solid var(--ink);
  border-radius: 13px;
  font-size: 12.5px; line-height: 1.65;
  color: var(--ink);
}
.ai__bubble--user { background: var(--aqua); border-bottom-right-radius: 4px; }
.ai__bubble--bot { background: var(--paper); border-bottom-left-radius: 4px; }

/* 依次弹入：我 -> 思考 -> 回答 -> 补充 */
.ai__row { transition: opacity .36s var(--ease-out), transform .5s var(--ease-spring); }
.ai.is-step1 .ai__row[data-ai="1"],
.ai.is-step2 .ai__row[data-ai="2"],
.ai.is-step3 .ai__row[data-ai="3"],
.ai.is-step4 .ai__row[data-ai="4"] { opacity: 1; transform: none; }
/* 回答出来时，思考气泡让位并收掉占位，别留空隙 */
.ai__row[data-ai="2"] {
  overflow: hidden; max-height: 120px;
  transition: opacity .36s var(--ease-out), transform .5s var(--ease-spring),
              max-height .32s var(--ease-out) .1s, margin .32s var(--ease-out) .1s;
}
.ai.is-step3 .ai__row[data-ai="2"] {
  opacity: 0; transform: translateY(-6px) scale(.96);
  max-height: 0; margin-top: -9px;
}

/* 思考中的三个点 */
.ai__typing { display: inline-flex; align-items: center; gap: 5px; padding: 12px 13px; }
.ai__typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-2); opacity: .32;
  animation: ai-dot 1.1s ease-in-out infinite;
}
.ai__typing span:nth-child(2) { animation-delay: .16s; }
.ai__typing span:nth-child(3) { animation-delay: .32s; }
@keyframes ai-dot {
  0%, 100% { opacity: .3; transform: translateY(0); }
  50%      { opacity: 1;  transform: translateY(-3px); }
}

/* ---- 识宝：手机屏 UI（与其他截图同尺寸同比例） ---- */
.shibao { position: relative; }
.sb {
  position: relative;
  aspect-ratio: 1080 / 2400;
  overflow: hidden;
  background: var(--ink);
}
/* 背景：同一张展厅照放大 + 高斯模糊，把注意力交给中间的清晰区；
   亮度保持接近纸面，避免一大块脏灰蓝压住整段 */
.sb__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.28);
  filter: blur(14px) saturate(.95) brightness(.82);
}

/* 中间的清晰取景区：识别、描边、抠图都在这里发生 */
.sb__view {
  position: absolute; left: 50%; top: 40%;
  width: 80%;
  aspect-ratio: 1200 / 900;
  transform: translate(-50%, -50%);
  overflow: hidden;
  border: 2px solid var(--paper);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .38);
  transition: top .62s var(--ease-spring), box-shadow .5s var(--ease-out);
}
/* 抠完图：清晰区上移，给下面的讲解卡腾位置（要抬到讲解卡上沿 35% 之上） */
.shibao.is-lifted .sb__view { top: 20%; box-shadow: 0 14px 34px rgba(0, 0, 0, .42); }
.sb__scene {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .5s var(--ease-out);
}
/* 抠完图：原照片淡出，只剩抠好的画 */
.shibao.is-cutting .sb__scene { opacity: 0; }

.sb__cutwrap {
  position: absolute;
  left: 29.333%; top: 14.667%; width: 46.667%; height: 77.778%;
  transform-origin: 88% 4%;
  transition: transform .62s var(--ease-spring), opacity .45s var(--ease-out), filter .45s var(--ease-out);
}
.sb__cut { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .55s var(--ease-out); }
.shibao.is-cutting .sb__cut { opacity: 1; }
/* 抠好的画往上浮起来，像从照片里被拿出来 */
.shibao.is-lifted .sb__cutwrap {
  transform: translateY(-15%) scale(1.07);
  filter: drop-shadow(5px 7px 0 var(--ink));
}

.sb__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sb__glow, .sb__ray, .sb__ink, .sb__white {
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.05s var(--ease-out), opacity .4s var(--ease-out);
}
.sb__glow { stroke: var(--lime); stroke-width: 30; opacity: 0; }
.sb__ray { stroke: var(--lime); stroke-width: 9; opacity: 0; }
.sb__ink { stroke: var(--ink); stroke-width: 13; }
.sb__white { stroke: #fff; stroke-width: 4.5; }
.shibao.is-tracing .sb__ray { stroke-dashoffset: 0; opacity: 1; }
.shibao.is-tracing .sb__glow { stroke-dashoffset: 0; opacity: .2; transition-delay: .12s; }
.shibao.is-inking .sb__ink { stroke-dashoffset: 0; transition-delay: .12s; }
.shibao.is-inking .sb__white { stroke-dashoffset: 0; transition-delay: .3s; }
.shibao.is-cutting .sb__ray,
.shibao.is-cutting .sb__glow { opacity: 0; }

/* 取景框 */
.sb__finder { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease-out); }
.shibao.is-viewfinder .sb__finder { opacity: 1; }
.sb__corner { position: absolute; width: 16px; height: 16px; border: 2px solid var(--paper); }
.sb__corner--tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; border-radius: 5px 0 0 0; }
.sb__corner--tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; border-radius: 0 5px 0 0; }
.sb__corner--bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; border-radius: 0 0 0 5px; }
.sb__corner--br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; border-radius: 0 0 5px 0; }
.sb__scanline {
  position: absolute; left: 6%; right: 6%; height: 2px;
  background: var(--lime); border-radius: 2px;
  box-shadow: 0 0 12px 3px rgba(203, 239, 114, .55);
  opacity: 0; top: 8%;
}
.shibao.is-scanning .sb__scanline { opacity: 1; animation: shibao-scan 1.1s var(--ease-out) forwards; }
@keyframes shibao-scan {
  from { top: 8%; opacity: 0; }
  20%  { opacity: 1; }
  to   { top: 88%; opacity: 0; }
}
.sb__badge {
  position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%) scale(.8);
  padding: 3px 10px;
  background: var(--lime);
  border: 2px solid var(--ink); border-radius: var(--radius-pill);
  font-size: 10px; font-weight: 700;
  opacity: 0; transition: opacity .3s var(--ease-out), transform .45s var(--ease-spring);
}
.shibao.is-viewfinder .sb__badge { opacity: 1; transform: translateX(-50%) scale(1); }

/* 藏宝阁 chip */
.sb__vault {
  position: absolute; top: 10px; right: 10px;
  display: flex; align-items: center; gap: 6px;
  padding: 4px 9px;
  background: var(--paper);
  border: 2px solid var(--ink); border-radius: var(--radius-pill);
  font-size: 10px; font-weight: 700;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-spring);
}
.shibao.is-viewfinder .sb__vault { opacity: 1; transform: none; }
.sb__vault-count { font-family: var(--font-num); font-weight: 900; font-size: 12px; }
.shibao.is-vaulting .sb__vault { transform: scale(1.12); }

/* 讲解卡：抠完图后从下滑入，占下半屏，内部可滚 */
.sb__sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 65%;
  padding: 11px 12px 12px;
  background: var(--paper);
  border-top: 2px solid var(--ink);
  border-radius: 14px 14px 0 0;
  overflow: hidden;              /* 不要滚动条 */
  transform: translateY(var(--sy, 200%));
  transition: transform .55s var(--ease-spring);
}
.shibao.is-lifted .sb__sheet { --sy: 0px; }
.shibao.is-dragging-sheet .sb__sheet { transition: none; }
.sb__sheet-head { padding-bottom: 6px; border-bottom: 2px solid var(--paper-2); }
.sb__sheet-name { font-size: 15px; font-weight: 800; }
.sb__sheet-meta { margin-top: 2px; font-size: 10.5px; color: var(--muted); }
.sb__sec {
  margin-top: 9px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-spring);
  transition-delay: var(--d, 0ms);
}
.shibao.is-lifted .sb__sec { opacity: 1; transform: none; }
.sb__sec-t { font-size: 9.5px; font-weight: 800; letter-spacing: .06em; color: var(--purple); }
.sb__sec-b { margin-top: 1px; font-size: 10.5px; line-height: 1.5; color: var(--ink-2); }
.sb__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.sb__tags span {
  padding: 2px 7px;
  background: var(--paper-2);
  border: 2px solid var(--ink); border-radius: var(--radius-tag);
  font-size: 10px; font-weight: 700;
}
/* 重放：手机框左上角的小圆钮，不再是通栏大按钮 */
.shibao__replay {
  position: absolute; top: 10px; left: 10px; z-index: 6;
  width: 28px; height: 28px; min-height: 0; padding: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.shibao__replay .icon { width: 15px; height: 15px; }

/* 收尾：抠图从手机飞向书柜的临时层（JS 用 getBoundingClientRect 定位） */
.sb__fly {
  position: fixed; z-index: 120;
  transform-origin: 0 0;
  pointer-events: none;
  filter: drop-shadow(5px 7px 0 var(--ink));
  will-change: transform;
  transition: transform .62s var(--ease-spring);
}

@media (prefers-reduced-motion: reduce) {
  .sb__scanline { animation: none; }
}

/* ---- clip-path 揭示（trevornoah）：按钮从右往左刷出，导航项逐个刷出 ---- */
/* 揭示不再用 clip-path：它会把按钮外部的 ink 底座一起裁掉。
   改用透明度 + 上浮 + 轻微缩放的揭示，底座完整保留。 */
html.js .btn--reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-spring); }
html.js .btn--reveal.is-in { opacity: 1; transform: none; transition: transform var(--dur-press) var(--ease-out), background var(--dur-press) var(--ease-out); }
html.js .nav__links a { clip-path: inset(0 100% 0 0); transition: clip-path .55s var(--ease-out); }
html.js .nav.is-ready .nav__links a { clip-path: inset(0 0 0 0); }
html.js .nav.is-ready .nav__links a:nth-child(2) { transition-delay: .07s; }
html.js .nav.is-ready .nav__links a:nth-child(3) { transition-delay: .14s; }
html.js .nav.is-ready .nav__links a:nth-child(4) { transition-delay: .21s; }
html.js .nav.is-ready .nav__links a:nth-child(5) { transition-delay: .28s; }
html.js .nav.is-ready .nav__links a:nth-child(6) { transition-delay: .35s; }
html.js .nav.is-ready .nav__links a:nth-child(7) { transition-delay: .42s; }

/* ---- 编号索引（laxspace）：导航项前面带 01…06 ---- */
.nav__links { counter-reset: navno; }
.nav__links a::before {
  counter-increment: navno;
  content: counter(navno, decimal-leading-zero);
  margin-right: 7px;
  font-family: var(--font-num); font-weight: 900;
  font-size: 10px; letter-spacing: .04em;
  color: var(--muted);
}
.nav__links a.is-active::before { color: var(--ink); }

/* ---- 开屏：纸片从中间撕开（itomdev） ---- */
.intro__half { position: absolute; inset: 0; background: var(--canvas); z-index: 0; }
.intro__half--l {
  z-index: 2;
  clip-path: polygon(0 0, 53% 0, 47% 11%, 54% 23%, 46% 35%, 53% 47%, 47% 59%, 54% 71%, 46% 83%, 52% 100%, 0 100%);
}
.intro__half--r {
  clip-path: polygon(53% 0, 100% 0, 100% 100%, 52% 100%, 46% 83%, 54% 71%, 47% 59%, 53% 47%, 46% 35%, 54% 23%, 47% 11%);
}
/* 撕裂处 1px 墨边：把左半片的锯齿轮廓右移 1px 当作墨线，
   压在右半片之上、左半片之下，于是只有缝上那 1px 露出来 */
.intro__half--edge {
  z-index: 1;
  background: var(--ink);
  transform: translateX(1px);
  clip-path: polygon(0 0, 53% 0, 47% 11%, 54% 23%, 46% 35%, 53% 47%, 47% 59%, 54% 71%, 46% 83%, 52% 100%, 0 100%);
}
.intro__inner, .intro__hint { position: relative; z-index: 3; }
.intro.is-leaving .intro__half--l { transform: translateX(-102%); transition: transform .86s var(--ease-out); }
.intro.is-leaving .intro__half--edge { transform: translateX(calc(-102% + 1px)); transition: transform .86s var(--ease-out); }
.intro.is-leaving .intro__half--r { transform: translateX(102%); transition: transform .86s var(--ease-out); }
.intro.is-leaving .intro__inner, .intro.is-leaving .intro__hint { opacity: 0; transition: opacity .28s var(--ease-out); }

/* ---- 识宝描边：手绘感（itomdev）---- */
.sb__ink { stroke-linejoin: round; stroke-linecap: round; opacity: .94; }
.sb__white { stroke-linejoin: round; stroke-linecap: round; }

/* ---- 藏宝阁：手机比例 + 纸板书架（本站 UI 语言） ---- */
.case { position: relative; }
/* 藏宝阁是识宝旁边的一屏手机界面，与识宝手机同比例 */
.case__room {
  position: relative;
  aspect-ratio: 1080 / 2400;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--canvas) 0%, var(--canvas-deep) 100%);
  overflow: hidden;
}
.case__bar {
  display: flex; align-items: center; justify-content: space-between;
  margin: 12px 12px 0;
  padding: 9px 12px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xs);
  font-size: 12px; font-weight: 700;
}
.case__count { color: var(--ink-2); }
.case__count b { font-family: var(--font-num); font-weight: 900; font-size: 15px; color: var(--ink); }

/* 书架：纸面柜体 + 墨色搁板，尽量占满手机屏 */
.case__shelf {
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-start;
  margin: 12px;
  padding: 14px 14px 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.case__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; align-items: end; }
.case__row--empty { align-items: stretch; }

.piece { margin: 0; opacity: 0; transform: translateY(-14px) scale(.96); }
.piece img {
  display: block; width: 100%; height: auto;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 5px;
  box-shadow: var(--shadow-xs);
  transition: transform .42s var(--ease-spring);
}
.piece:hover img { transform: translateY(-5px) rotate(-.8deg); }
/* 画作"上色"揭示时的湿边光带（GSAP 驱动 x/opacity） */
.piece__wet {
  position: absolute; top: 6%; bottom: 20%; left: 0; width: 4px;
  background: var(--lime); border-radius: 2px;
  filter: blur(1.5px); opacity: 0; pointer-events: none; z-index: 3;
}
.piece figcaption {
  margin-top: 5px; text-align: center;
  font-size: 9px; color: var(--muted);
}

.case__board {
  height: 9px;
  margin: 7px -6px 12px;
  background: var(--ink);
  border-radius: 3px;
}
.slot {
  display: block;
  aspect-ratio: 4 / 5;
  border: 2px dashed rgba(37, 37, 39, .3);
  border-radius: 5px;
}
.case.is-in .piece {
  opacity: 1; transform: none;
  transition: opacity .4s var(--ease-out) calc(var(--i, 0) * 160ms),
              transform .68s var(--ease-spring) calc(var(--i, 0) * 160ms);
}
/* 飞入落位：第一幅作品轻微回弹，像刚被摆上架 */
.case.is-landed .piece:first-child { animation: piece-land .64s var(--ease-spring) both; }
@keyframes piece-land {
  0% { transform: translateY(-16px) scale(.9); }
  55% { transform: translateY(3px) scale(1.04); }
  100% { transform: none; }
}
.case__hint {
  padding: 0 16px 16px;
  text-align: center;
  font-size: 10.5px; line-height: 1.5;
  color: var(--ink-2);
}
/* 藏宝阁说明：并入识宝页后补回这段描述 */
.shelf-col { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shelf-desc { max-width: 32ch; text-align: center; font-size: 13px; line-height: 1.75; color: var(--ink-2); }

/* ---- 关键词跑马灯 ---- */
.marquee { overflow: hidden; background: var(--paper-2); border-block: 2px solid var(--ink); }
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
/* 每个词是一张微微歪斜的贴纸：四色轮换，延续全站描边色块语言 */
.marquee__group { display: flex; align-items: center; gap: 18px; padding: 14px 18px; white-space: nowrap; font-size: clamp(18px,2.6vw,26px); font-weight: 800; }
.marquee__group span {
  padding: 3px 16px;
  background: var(--paper);
  border: 2px solid var(--ink); border-radius: var(--radius-tag);
  box-shadow: var(--shadow-xs);
  transform: rotate(-1.2deg);
}
.marquee__group span:nth-child(4n+2) { background: var(--aqua); transform: rotate(1.1deg); }
.marquee__group span:nth-child(4n+3) { background: var(--yellow); transform: rotate(-.7deg); }
.marquee__group span:nth-child(4n+4) { background: var(--pink); transform: rotate(.9deg); }
.marquee__group b { font-family: var(--font-num); color: var(--muted); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- 下载区 ---- */
.download { background: var(--canvas); padding: clamp(64px,9vw,120px) 0; }
.download__grid { display: grid; gap: 40px; align-items: center; }
.download__copy h2 { margin-bottom: 28px; }
.download__version { margin-top: 18px; font-family: var(--font-num); font-size: 14px; letter-spacing: .04em; color: var(--ink-2); }
.download__lead { margin-top: 16px; margin-bottom: 26px; max-width: 34ch; font-size: 17px; color: var(--ink); }
.download__copy h2 { margin-bottom: 0; }
.download__note { margin-top: 10px; color: var(--ink-2); }

/* 下载入口：Android 可下载，iOS 待上架（虚线边＝还没开放，但不显得像坏了） */
.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.dl-pending {
  display: inline-flex; align-items: center;
  min-height: 62px; padding: 0 26px;
  border: 2px dashed var(--ink);
  border-radius: var(--radius-card);
  color: var(--ink-2);
  font-size: 17px; font-weight: 700;
  box-shadow: 0 4px 0 rgba(37, 37, 39, .22);
}
.download__qr { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.qr-card { padding: 14px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-card); box-shadow: var(--shadow-lg); }
.qr-card img { width: clamp(150px,42vw,190px); height: auto; }
.qr-cap { font-weight: 700; }

.install__steps { display: grid; gap: 16px; margin-top: clamp(44px,6vw,72px); }
.install__step {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px;
  background: var(--paper); border: 2px solid var(--ink);
  border-radius: var(--radius-card); box-shadow: var(--shadow-sm);
  transition: transform var(--dur-press) var(--ease-out), box-shadow var(--dur-press) var(--ease-out);
}
.install__step:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.install__no {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px;
  border: 2px solid var(--ink); border-radius: 12px;
  background: var(--lime);
  font-family: var(--font-num); font-weight: 900; font-size: 18px; line-height: 1;
}
.install__step:nth-child(2) .install__no { background: var(--aqua); }
.install__step:nth-child(3) .install__no { background: var(--yellow); }
.install__step p { font-weight: 700; }

/* ---- 常见问题 ---- */
.faq { background: var(--paper); padding: clamp(40px,5vw,68px) 0; }
.faq h2 { margin-bottom: 0; }
/* 两栏：标题列吸左，手风琴占满右列——窄卡排满宽右栏，不再右侧留白 */
.faq .wrap { display: grid; gap: 40px; align-items: start; }
@media (min-width: 768px) {
  .faq .wrap { grid-template-columns: .82fr 1.18fr; gap: clamp(48px,5vw,80px); }
  .faq .section-head { position: sticky; top: calc(var(--nav-h) + 48px); margin-bottom: 0; }
}
.faq__list { display: grid; gap: 14px; max-width: 840px; }
.faq__item {
  background: var(--paper); border: 2px solid var(--ink);
  border-radius: var(--radius-card); box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform var(--dur-press) var(--ease-out), box-shadow var(--dur-press) var(--ease-out), border-color var(--dur-press) var(--ease-out);
}
.faq__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.faq__item[open] { box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px; font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "→"; font-family: var(--font-num); color: var(--ink);
  transition: transform var(--dur-press) var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(90deg); }
.faq__item p { padding: 0 22px 20px; color: var(--ink-2); }

/* ---- 页脚 ---- */
.footer { background: var(--paper-2); border-top: 2px solid var(--ink); padding: clamp(36px,5vw,56px) 0 40px; }
/* 品牌收尾：超大空心主张字，一站到底的最后记忆点 */
.footer__giant {
  text-align: center; user-select: none;
  font-size: clamp(64px, 13vw, 170px);
  font-weight: 800; line-height: 1; letter-spacing: .04em;
  color: var(--canvas);
  -webkit-text-stroke: 2px var(--ink);
  margin-bottom: clamp(28px,4vw,44px);
}
.footer__inner { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer__brand img { height: 22px; width: auto; opacity: .85; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a { text-decoration: none; font-weight: 700; font-size: 15px; }
.footer__links a:hover { text-decoration: underline; }
.footer__copy { font-size: var(--fs-caption); color: var(--muted); }

/* ---- 进微课庆祝层（自由区） ---- */
.course-overlay {
  position: fixed; inset: 0;
  /* 必须高于吸顶导航(50)、进度条(60)与概念卡(卡片内部 z-index 100，已由 isolate 限制在 deck 内) */
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(137,153,220,.28);
  overflow-y: auto;                 /* 面板比屏幕高时可以滚动 */
  overflow-x: hidden;               /* flash 庆祝圆 scale(30) 会撑出横向滚动，必须裁掉 */
  overscroll-behavior: contain;     /* 不要带着后面的页面一起滚 */
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: opacity var(--dur-enter) var(--ease-out), visibility 0s linear var(--dur-enter);
}
.course-overlay.is-open { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity var(--dur-enter) var(--ease-out), visibility 0s; }
.course-flash {
  position: absolute; top: 50%; left: 50%;
  width: 60px; height: 60px; margin: -30px 0 0 -30px;
  background: var(--lime); border-radius: 50%;
  transform: scale(0);
  pointer-events: none;
}
.course-overlay.is-open .course-flash { animation: flash var(--dur-celebrate) var(--ease-out) forwards; }
@keyframes flash {
  0% { transform: scale(0); opacity: 1; }
  55% { transform: scale(30); opacity: 1; }
  100% { transform: scale(30); opacity: 0; }
}
.course-panel {
  position: relative; z-index: 1;
  margin: auto;                     /* 与 flex 居中配合：短则居中，长则从顶部可滚 */
  width: min(100%, 460px);
  padding: 32px;
  background: var(--paper);
  border: 2px solid var(--ink); border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(.92); opacity: 0;
}
/* ---- FLIP 微课转场：真卡克隆（fixed, z 210 > 浮层 200）飞向面板，落定后面板淡入接管 ---- */
.card--flip-clone {
  transform: none !important;       /* 源卡带着 CSS 变量的位移/旋转，克隆必须归零 */
  aspect-ratio: auto !important;    /* 宽高由 gsap 逐帧驱动（卡片长成面板），卡片比例必须松开 */
  transition: none !important;
  opacity: 1 !important;
  box-shadow: 0 18px 0 var(--ink);  /* 起飞厚度；落点由 gsap 过渡到面板的 0 6px 0 */
}
.course-overlay--flipped .course-panel { transform: none; opacity: 0; transition: none; }
.course-overlay--flipped.is-shown .course-panel { opacity: 1; transition: opacity .18s var(--ease-out); }
.course-overlay.is-open .course-panel {
  transform: none; opacity: 1;
  transition: transform var(--dur-celebrate) var(--ease-spring) 120ms, opacity var(--dur-enter) var(--ease-out) 120ms;
}
.course-close {
  position: absolute; top: 14px; right: 14px;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink); border-radius: var(--radius-sm);
  background: var(--paper); box-shadow: var(--shadow-xs);
  transition: transform var(--dur-press) var(--ease-out), box-shadow var(--dur-press) var(--ease-out);
}
.course-close:active { transform: translate(3px,3px); box-shadow: 0 0 0 var(--ink); }
/* 9×9 像素点亮钮（laxspace 式）：X 由点阵构成，悬停时对角扫过点亮 */
.pxgrid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 1px; width: 27px; height: 27px; }
.pxgrid i { background: var(--ink); opacity: .14; border-radius: 1px; transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), background .18s var(--ease-out); }
.pxgrid i.on { opacity: 1; }
.pxgrid i.lit { background: var(--lime); opacity: 1; transform: scale(1.15); }
.course-name { margin: 14px 0 14px; font-size: clamp(30px,7vw,42px); font-weight: 800; line-height: 1.1; }
.course-def { font-size: 17px; color: var(--ink-2); }
.course-meta { margin-top: 16px; font-family: var(--font-num); font-size: var(--fs-caption); color: var(--muted); }
.course-hint { margin-top: 18px; font-size: 14px; color: var(--muted); }
.course-cta { margin-top: 22px; width: 100%; }

/* ---- 桌面墨点光标（可选，仅精细指针） ---- */
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 90;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: var(--ink); border-radius: 50%;
  pointer-events: none; opacity: 0;
  transition: opacity var(--dur-press) var(--ease-out);
}

/* ---- 概念卡：光标跟随的小卡预览（仅桌面精细指针） ---- */
.deck-preview {
  position: fixed; top: 0; left: 0; z-index: 80;
  width: 116px;
  padding: 11px 13px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-300px, -300px, 0) rotate(-6deg);
  transition: opacity .22s var(--ease-out);
  will-change: transform, opacity;
}
.deck-preview.is-on { opacity: 1; }
.deck-preview__idx { display: block; font-family: var(--font-num); font-weight: 900; font-size: 12px; letter-spacing: .05em; color: var(--muted); }
.deck-preview__name { display: block; margin-top: 3px; font-weight: 800; font-size: 15px; line-height: 1.2; }
.deck-preview__hint { display: block; margin-top: 7px; font-size: 10px; font-weight: 700; color: var(--ink-2); }
/* 只在「有悬停 + 精细指针」下启用；触屏设备由 JS 决定根本不创建元素，
   这里再兜一层，双保险 */
.deck-preview { display: none; }
@media (hover: hover) and (pointer: fine) { .deck-preview { display: block; } }

/* ---- 成就吐司：纸卡 + 青柠印戳 + 钩号描出 ---- */
.toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 150;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px 11px 11px;
  background: var(--paper);
  border: 2px solid var(--ink); border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  transform: translateY(16px) rotate(-1.5deg);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-spring);
}
.toast.is-on { opacity: 1; transform: translateY(0) rotate(-1.5deg); pointer-events: auto; cursor: pointer; }
.toast__seal { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--lime); color: var(--ink); }
.toast__seal svg { width: 19px; height: 19px; }
.toast__tick { stroke-dasharray: 1; stroke-dashoffset: 1; }
.toast.is-on .toast__tick { stroke-dashoffset: 0; transition: stroke-dashoffset .34s var(--ease-out) .18s; }
.toast__body { display: flex; flex-direction: column; line-height: 1.35; }
.toast__body b { font-size: 13px; }
.toast__body span { font-size: 12px; color: var(--ink-2); }
@media (max-width: 559px) { .toast { left: 18px; right: 18px; } }

/* ---- 滚入揭示（错峰） ---- */
html.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js .reveal.is-in { opacity: 1; transform: none; }
/* 无 JS：揭示层与步骤全部直接可见，开屏不再拦截整页 */
html:not(.js) .step { opacity: 1; }
html:not(.js) .intro { display: none; }

/* ============================================================
   断点：768 / 1440
   ============================================================ */
@media (min-width: 768px) {
  body { font-size: 17px; }
  .stats__grid { grid-template-columns: repeat(4,1fr); }
  .scene__grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature--reverse .feature__copy { order: 2; }
  .feature--reverse .feature__media { order: 1; }
  .download__grid { grid-template-columns: 1.2fr .8fr; gap: 64px; }
  .install__steps { grid-template-columns: repeat(3,1fr); }
  .install__step { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer__copy { order: 3; }
}

/* 桌面端：hero 改两栏，保证手机进首屏 */
@media (min-width: 1024px) {
  .nav__links { display: flex; gap: 22px; }
  .nav__burger, .nav__drawer { display: none; }
  .hero { padding: clamp(48px,5vw,84px) 0 clamp(48px,5vw,88px); }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: clamp(32px,4vw,64px); }
  .hero__media { justify-content: flex-end; }
  .phone { width: clamp(240px,34vw,300px); }
}

@media (min-width: 1440px) {
  :root { --wrap: 1240px; }
}

/* 单列布局下标题列不再吸顶，否则会压在下面五张步骤卡上 */
@media (max-width: 767px) {
  .scene__aside { position: static; }
  /* 移动端关掉 scroll-snap：吸附会把页面往回拽，翻不到页脚 */
  html { scroll-snap-type: none; }
  /* 移动端隐藏首屏装饰色块，避免压住副标题文字 */
  .hero__decor { display: none; }
  /* 现场题在窄屏不做钉住横推，也不做横向吸附：五步就是普通纵向列表 */
}

@media (max-width: 559px) {
  .nav__cta { display: none; }
}

/* ============================================================
   开屏页：一张会自己撕开的纸
   ============================================================ */
.intro {
  position: fixed; inset: 0; z-index: 300;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(24px, 5vw, 48px);
  padding: 32px;
  background: var(--canvas);
  overflow: hidden;
}
.intro.is-leaving {
  transform: translateY(-101%);
  transition: transform .72s var(--ease-out);
}
.intro__inner {
  display: flex; align-items: center;
  gap: clamp(24px, 5vw, 64px);
  text-align: left;
}
.intro__logo {
  width: clamp(150px, 26vw, 300px);
  height: auto;
  opacity: 0;
  transform: translateX(-56px);
}
.intro__text { position: relative; padding-left: clamp(18px, 3vw, 32px); }
.intro__rule {
  position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 2px; background: var(--ink);
  transform: scaleY(0); transform-origin: 50% 0;
}
.intro__title {
  font-size: clamp(38px, 7vw, 84px);
  font-weight: 800; line-height: 1.06; letter-spacing: -.02em;
  opacity: 0; transform: translateX(56px);
}
.intro__sub {
  margin-top: 10px;
  font-size: clamp(13px, 1.5vw, 17px);
  color: var(--ink-2);
  opacity: 0; transform: translateX(56px);
}
.intro__hint {
  font-size: 13px; letter-spacing: .16em; color: var(--ink-2);
  opacity: 0;
}

/* 入场编排：字标 → 竖线 → 标题 → 副句 → 提示 */
.intro.is-in .intro__logo { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .62s var(--ease-spring); }
.intro.is-in .intro__rule { transform: scaleY(1); transition: transform .5s var(--ease-out) .18s; }
.intro.is-in .intro__title { opacity: 1; transform: none; transition: opacity .45s var(--ease-out) .26s, transform .58s var(--ease-spring) .26s; }
.intro.is-in .intro__sub { opacity: 1; transform: none; transition: opacity .45s var(--ease-out) .4s, transform .58s var(--ease-spring) .4s; }
.intro.is-in .intro__hint { opacity: 1; transition: opacity .6s var(--ease-out) .7s; }

body.intro-open { overflow: hidden; }

@media (max-width: 640px) {
  .intro__inner { flex-direction: column; align-items: flex-start; }
  .intro__text { padding-left: 0; padding-top: 18px; }
  .intro__rule { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 2px; transform-origin: 0 50%; }
  .intro.is-in .intro__rule { transform: scaleX(1); transition: transform .5s var(--ease-out) .18s; }
}

/* ============================================================
   法律页（隐私政策 / 用户协议）
   ============================================================ */
.legal { background: var(--canvas); padding: clamp(32px,5vw,64px) 0 clamp(64px,8vw,96px); }
.legal__card {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(26px,4vw,58px);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
}
.legal__card h1 { font-size: clamp(30px,4vw,44px); font-weight: 800; line-height: 1.15; }
.legal__meta { margin-top: 10px; font-family: var(--font-num); font-size: 14px; letter-spacing: .04em; color: var(--muted); }
.legal__card h2 { margin-top: 42px; font-size: clamp(19px,2.2vw,24px); font-weight: 800; }
.legal__card h2:first-of-type { margin-top: 32px; }
.legal__card p { margin-top: 12px; line-height: 1.85; color: var(--ink-2); }
.legal__card ul { margin: 4px 0 0; }
.legal__card li { position: relative; margin-top: 10px; padding-left: 20px; line-height: 1.85; color: var(--ink-2); }
.legal__card li::before {
  content: ""; position: absolute; left: 4px; top: .82em;
  width: 6px; height: 6px; margin-top: -3px;
  background: var(--ink); border-radius: 50%;
}
.legal__card strong { color: var(--ink); font-weight: 700; }
.legal__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* ============================================================
   降低动效偏好：飞行、旋转、视差、跑马灯全部退化
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .hero__title .char { opacity: 1; transform: none; }
  .step { opacity: 1; }
  .marquee__track { animation: none; }
  .hero__cue-line { animation: none; }
  .course-flash { display: none; }
  .cursor-dot { display: none; }
  .deck-preview { display: none; }
}
