/* Sophy 首页（home.html）。
   首页、更新记录、方案页共用。画面全部是 App 的真实截图（static/d/s/）：放进 Mac 窗口、iPad、iPhone 三种外框里，home.js 换截图、推拉镜头、在按钮的位置点一下。
   颜色跟 App 的 Material 风格走：白底、墨色字、一种橘色只用在“正在发生”的地方；截图后面那块淡彩的光取自 App 的录音条。
   动的只有 transform / opacity。 */
.home {
  --bg: #fbfbfa; --text: #141414; --text-2: #5e5e5e; --text-3: #8c8c8c; --faint: #b3b3b3;
  --ink: #141414; --on-ink: #fff; --hair: rgba(0, 0, 0, .07); --hair-2: rgba(0, 0, 0, .12);
  --surface: #fff; --chip: #f4f4f2; --stage: #f3f2ef; --bezel: #dddbd6; --bezel-edge: rgba(0, 0, 0, .14); --g1: #f8d9e6; --g2: #e6d9f8; --g3: #fde6d6;
  --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-cam: cubic-bezier(.32, .82, .24, 1);
  background: var(--bg); color: var(--text);
}
:root[data-mode="dark"] .home {
  --bg: #101011; --text: #f1f0ed; --text-2: #b5b3ae; --text-3: #8a8883; --faint: #5f5e5b;
  --ink: #f1f0ed; --on-ink: #141414; --hair: rgba(255, 255, 255, .08); --hair-2: rgba(255, 255, 255, .14);
  --surface: #1a1a1b; --chip: #232324; --stage: #1a1a1c; --bezel: #46464a; --bezel-edge: rgba(255, 255, 255, .12); --g1: #4a2f3c; --g2: #37304d; --g3: #4b3628;
}
.home::before, .home .cursor-glow { display: none; }
.home h1, .home h2, .home h3 { font-family: var(--font-ui); font-weight: 600; margin: 0; }
.home .note { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--text-3); }

/* 顶栏和按钮：文字导航，胶囊按钮 */
.home .site-head.scrolled { background: color-mix(in srgb, var(--bg) 84%, transparent); }
.home .head-nav { background: none; padding: 0; gap: 4px; }
.home .head-nav > a { font: 500 13.5px var(--font-ui); padding: 6px 10px; color: var(--text-3); white-space: nowrap; transition: color .2s; }
.home .head-nav > a:hover { color: var(--text); }
.home .head-nav .m-pill { display: none; }
.home .head-nav > a.active { background: none; box-shadow: none; color: var(--text); }
.home .pill { box-shadow: none; border: 1px solid var(--hair-2); background: var(--surface); border-radius: 999px; transition: border-color .2s, background .2s, color .2s, scale .5s var(--spring); }
.home .pill:hover { background: var(--surface); color: var(--text); box-shadow: none; border-color: var(--text); translate: none; }
.home .pill:active { scale: .96; transition-duration: .1s; }
.home .pill.ink { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.home .pill.ink:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.home .pill.flat { border-color: transparent; background: none; }
.home .theme-toggle { background: none; }
.home .me .fx-badge { font: 600 12px/1 var(--font-ui); font-style: normal; }

/* ---------- 标题里的字：光标靠近就换成一个 3D 小物件（home.js 把字拆成 .ch） ----------
   字的位置和宽度不变（旁边的字不会被挤开），字缩下去的同时物件弹出来，两个叠着换，中间没有空档；只动 transform / opacity */
.ch { display: inline-block; position: relative; }
/* 翻出来要快（字 0.07 秒退掉、物件 0.18 秒弹到位），收回去慢一点 */
.ch .g { display: inline-block; font-style: inherit; transition: transform .26s var(--ease-out), opacity .16s; }
.ch .o { position: absolute; left: 50%; top: 52%; width: 0; height: 0; font-size: .7em; font-style: normal; pointer-events: none; opacity: 0;
  transform: scale(.45) rotate(calc(var(--r, 0deg) + 18deg)); transition: transform .18s ease-in, opacity .13s; }
.ch.on .g { opacity: 0; transform: scale(.55); transition: transform .07s ease-in, opacity .05s; }
.ch.on .o { opacity: 1; transform: rotate(var(--r, 0deg)); transition: transform .18s cubic-bezier(.2, 1.5, .4, 1), opacity .03s; }
.m { position: absolute; left: -.8em; top: -.8em; width: 1.6em; height: 1.6em; background: center / contain no-repeat;
  animation: m-sway 2.2s ease-in-out infinite alternate paused; }
.ch.on .m { animation-play-state: running; }
@keyframes m-sway { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
/* 每个小物件是单独一张小图（static/d/o/0–15.webp，从 objects.webp 切出来的）。
   不再让很多元素共用一张大图再各自放大四倍取一格：那样每出现一种新尺寸浏览器都要把整张图重新缩放一遍，翻出来慢，别处用同一张图的物件还会跟着闪掉 */
.m[data-k="0"], .obj[data-k="0"]::before { background-image: url(d/o/0.webp); }
.m[data-k="1"], .obj[data-k="1"]::before { background-image: url(d/o/1.webp); }
.m[data-k="2"], .obj[data-k="2"]::before { background-image: url(d/o/2.webp); }
.m[data-k="3"], .obj[data-k="3"]::before { background-image: url(d/o/3.webp); }
.m[data-k="4"], .obj[data-k="4"]::before { background-image: url(d/o/4.webp); }
.m[data-k="5"], .obj[data-k="5"]::before { background-image: url(d/o/5.webp); }
.m[data-k="6"], .obj[data-k="6"]::before { background-image: url(d/o/6.webp); }
.m[data-k="7"], .obj[data-k="7"]::before { background-image: url(d/o/7.webp); }
.m[data-k="8"], .obj[data-k="8"]::before { background-image: url(d/o/8.webp); }
.m[data-k="9"], .obj[data-k="9"]::before { background-image: url(d/o/9.webp); }
.m[data-k="10"], .obj[data-k="10"]::before { background-image: url(d/o/10.webp); }
.m[data-k="11"], .obj[data-k="11"]::before { background-image: url(d/o/11.webp); }
.m[data-k="12"], .obj[data-k="12"]::before { background-image: url(d/o/12.webp); }
.m[data-k="13"], .obj[data-k="13"]::before { background-image: url(d/o/13.webp); }
.m[data-k="14"], .obj[data-k="14"]::before { background-image: url(d/o/14.webp); }
.m[data-k="15"], .obj[data-k="15"]::before { background-image: url(d/o/15.webp); }

/* ---------- 三种外框 ---------- */
.dev { position: relative; z-index: 1; }
.screen { position: relative; overflow: hidden; background: #fff; }
/* 换截图：新的一张叠在上面淡进来，旧的一张（.was）在下面留到淡完，中间不会发白 */
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; user-select: none; -webkit-user-select: none; }
.screen img.was { opacity: 1; }
.screen img.on { opacity: 1; z-index: 1; animation: frame-in .32s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes frame-in { from { opacity: 0; } }
.dev.mac { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--hair-2), 0 2px 6px rgba(0, 0, 0, .06), 0 50px 90px -50px rgba(0, 0, 0, .45); }
.dev.mac .screen { aspect-ratio: 1360 / 860; }
/* 平板和手机的黑边画在 .screen 的边框上，粗细和圆角按设备自己的宽度算（cqw）。
   不能用百分比内边距：那是按外层舞台的宽度算的，设备只占舞台一小块时黑边会粗好几倍 */
.dev.ipad, .dev.iphone { container-type: inline-size; }
.dev.ipad .screen { aspect-ratio: 2420 / 1668; border: 1.5cqw solid var(--bezel); border-radius: 4cqw; outline: 1px solid var(--bezel-edge); outline-offset: -1px; box-shadow: 0 40px 80px -44px rgba(0, 0, 0, .4); }
.dev.iphone .screen { aspect-ratio: 1206 / 2622; border: 2.6cqw solid var(--bezel); border-radius: 15cqw; outline: 1px solid var(--bezel-edge); outline-offset: -1px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
/* 截图铺满外框，不在外框里面动；推近时放大的是整台设备（见下面 .player .plat .dev） */
.cam { position: absolute; inset: 0; }
/* 点一下的那个圆点 */
.tap { position: absolute; z-index: 2; left: 50%; top: 50%; width: 4.6%; aspect-ratio: 1; margin: -2.3% 0 0 -2.3%; border-radius: 50%; pointer-events: none; opacity: 0;
  background: rgba(20, 20, 20, .26); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85), 0 4px 12px rgba(0, 0, 0, .2); }
.iphone .tap { width: 13%; margin: -6.5% 0 0 -6.5%; }
.tap.go { animation: tap .7s var(--ease-out) both; }
@keyframes tap { 0% { opacity: 0; transform: scale(1.9); } 28% { opacity: 1; transform: scale(1); } 46% { opacity: 1; transform: scale(.72); } 62% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
/* 截图后面的光 */
.glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(42% 60% at 18% 30%, var(--g1), transparent 70%), radial-gradient(40% 62% at 82% 22%, var(--g2), transparent 70%), radial-gradient(46% 56% at 56% 96%, var(--g3), transparent 72%); }

/* 页面两侧（内容区以外）的 3D 小物件，和标题里翻出来的是同一张图。物件自己慢慢浮动，底下一小块影子不动；
   滚动时各自错开一点（home.js 写 --sy，每个物件的 --k 不一样）。屏幕不够宽、两边放不下时不显示 */
.home main { position: relative; }
.sides { position: absolute; inset: 0; overflow: hidden; pointer-events: none; display: none; }
.obj { position: absolute; top: var(--y); width: var(--s); aspect-ratio: 1; rotate: var(--r); translate: 0 calc(var(--sy, 0) * var(--k) * -1px); will-change: translate; }
.obj.l { right: calc(50% + 620px + var(--x)); }
.obj.r { left: calc(50% + 620px + var(--x)); }
.obj::before { content: ""; position: absolute; inset: 0; background: center / contain no-repeat;
  animation: obj-float 5.5s ease-in-out var(--dl, 0s) infinite alternate; will-change: transform; }
.obj::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -16%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .14), transparent); }
@keyframes obj-float { from { transform: translateY(5%) rotate(-5deg); } to { transform: translateY(-9%) rotate(6deg); } }
.obj.far { display: none; }
@media (min-width: 1560px) { .sides { display: block; } }
@media (min-width: 2000px) { .obj.far { display: block; } }

/* ---------- 首屏 ---------- */
.hm { max-width: 1240px; margin: 0 auto; padding: 104px 28px 0; text-align: center; }
.hm-text { display: flex; flex-direction: column; align-items: center; }
.hm-title { font-size: clamp(34px, 5.5vw, 78px); line-height: 1.14; letter-spacing: -.035em; max-width: 13em; text-wrap: balance; cursor: default; }
.hm-lead { margin: 24px 0 0; max-width: 30em; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.7; color: var(--text-2); text-wrap: balance; }
.hm-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.hm-actions .pill { will-change: transform; }
.hm-stage { position: relative; margin: 88px auto 0; padding: 5% 9% 0; border-radius: 28px; background: var(--stage); overflow: hidden; perspective: 1800px; }
.hm-stage .dev { translate: calc(var(--mx, 0) * var(--d, 1) * -9px) calc(var(--my, 0) * var(--d, 1) * -7px + var(--sy, 0) * var(--d, 1) * -26px); will-change: translate, transform; }
.hm-stage .ipad { --d: 1; margin-bottom: -7%; }
.hm-stage .iphone { --d: 2.4; position: absolute; right: 5.5%; bottom: -9%; width: 17.5%; }
.hm .note { margin-top: 16px; }
/* 打开页面时的一次入场：字一个个升起来，说明和按钮跟上，平板从下面立起来，手机最后滑进来。整段一秒出头 */
.js .fx-in .ch { opacity: 0; }
.js .fx-in:not(.lit) { color: transparent; }
.js .fx-in { transition: color .25s .15s; }
.fx-in.lit .ch { animation: ch-in .5s var(--ease-out) both; animation-delay: calc(var(--k) * 14ms); }
@keyframes ch-in { from { opacity: 0; transform: translateY(.4em); } to { opacity: 1; } }
.js .hm-lead, .js .hm-actions, .js .hm .note { animation: rise .5s var(--ease-out) .15s both; }
.js .hm-actions { animation-delay: .22s; }
.js .hm .note { animation-delay: .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.js .hm-stage { animation: stage-in .6s var(--ease-out) .1s both; }
@keyframes stage-in { from { opacity: 0; transform: translateY(24px); } }
.js .hm-stage .ipad { animation: pad-in .9s var(--spring-soft) .2s both; transform-origin: 50% 100%; }
@keyframes pad-in { from { opacity: 0; transform: translateY(16%) rotateX(12deg) scale(.95); } }
.js .hm-stage .iphone { animation: phone-in .8s var(--spring) .4s both; }
@keyframes phone-in { from { opacity: 0; transform: translate(30%, 22%) rotate(7deg); } }
.home .reveal.in { animation-duration: .55s; }

/* ---------- 版块：小字是功能名（.kicker），大字是它解决的事 ---------- */
.sec { max-width: 1180px; margin: 0 auto; padding: 190px 28px 0; }
.sec-head { margin-bottom: 52px; }
.kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 18px; font-size: 19px; font-weight: 600; letter-spacing: -.005em; color: var(--accent-ink); }
.kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.sec h2 { width: fit-content; max-width: 15em; cursor: default; font-size: clamp(31px, 4.7vw, 62px); line-height: 1.12; letter-spacing: -.038em; text-wrap: balance; }
.duo-text h2 { font-size: clamp(30px, 3.5vw, 46px); }
.split h2 { font-size: clamp(27px, 2.7vw, 36px); }
.sec-head p:not(.note):not(.kicker), .duo-text > p:not(.note):not(.kicker) { margin: 20px 0 0; max-width: 36em; font-size: 17px; line-height: 1.8; color: var(--text-2); text-wrap: pretty; }
.sec-head .note { margin-top: 14px; max-width: 30em; }
.sec > .note { margin-top: 22px; }

/* 一组截图：上面是标签（正在放的那个，顶上的线跟着进度走），下面是设备 */
.tabs-line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin-bottom: 40px; }
.tabs-line.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tabs-line.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tabs-line button { all: unset; box-sizing: border-box; position: relative; cursor: pointer; padding: 16px 0 2px; display: flex; flex-direction: column; gap: 6px; color: var(--text-3); -webkit-tap-highlight-color: transparent; transition: color .3s; }
.tabs-line button::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair-2); }
.tabs-line i { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--text); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); will-change: transform; opacity: 0; transition: opacity .3s; }
.tabs-line .on i { opacity: 1; }
.tabs-line b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; transition: color .3s, translate .5s var(--spring); }
.tabs-line span { font-size: 13.5px; line-height: 1.65; }
.tabs-line .on { color: var(--text-2); }
.tabs-line .on b, .tabs-line button:hover b { color: var(--text); }
.tabs-line button:not(.on):hover b { translate: 3px 0; }
.tabs-line button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.plat { position: relative; padding: 5% 0 5%; border-radius: 28px; background: var(--stage); overflow: hidden; }
.plat .ipad { width: 76%; margin: 0 auto; transition: translate .7s var(--ease-cam); }
.plat .mac { width: 84%; margin: 0 auto; }
.plat .iphone.side { position: absolute; right: 4.5%; bottom: -3%; width: 16.5%; transition: translate .7s var(--ease-cam), opacity .35s; }
/* 这一段没有手机的截图时，手机退到台子外面，平板回到正中 */
.player.with-phone .ipad { translate: -6.5% 0; }
/* 推近：整台设备连外框一起放大、平移（home.js 写 --z / --tx / --ty），超出台子的部分被台子裁掉 */
.player .plat .dev { transform-origin: 0 0; will-change: transform; transform: translate3d(var(--tx, 0%), var(--ty, 0%), 0) scale(var(--z, 1));
  transition: transform .85s cubic-bezier(.45, 0, .15, 1), translate .7s var(--ease-cam), opacity .35s; }
.player .plat .dev.slow { transition: transform 3.4s cubic-bezier(.35, 0, .45, 1), translate .7s var(--ease-cam), opacity .35s; }
.player:not(.with-phone) .iphone.side { translate: 60% 30%; opacity: 0; }

.facts { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 28px; font-size: 13.5px; line-height: 1.7; color: var(--text-3); }
.facts b { display: block; margin-bottom: 4px; font-size: 14.5px; font-weight: 600; color: var(--text); }

.duo { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.4fr); gap: 64px; align-items: center; }
.duo.rev { grid-template-columns: minmax(0, 1.4fr) minmax(0, .82fr); }
.duo.rev .duo-text { order: 2; }
.duo .plat .ipad { width: 86%; }
.duo .player.with-phone .ipad { width: 80%; translate: -8% 0; }
.duo .plat .iphone.side { width: 19%; right: 3.5%; }
.plain { list-style: none; margin: 26px 0 20px; padding: 0; display: grid; gap: 16px; font-size: 14.5px; line-height: 1.7; color: var(--text-2); }
.plain b { display: block; margin-bottom: 2px; font-size: 15.5px; font-weight: 600; color: var(--text); }

/* 左边标题、右边内容 */
.split { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 80px; align-items: start; }
.split > .sec-head { position: sticky; top: 100px; margin: 0; }

.flow { border-radius: 20px; background: var(--surface); border: 1px solid var(--hair); box-shadow: 0 30px 60px -44px rgba(0, 0, 0, .3); padding: 10px 24px 14px; }
.flow-head { display: flex; justify-content: flex-end; align-items: center; height: 52px; border-bottom: 1px solid var(--hair); }
.switch { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.switch button { all: unset; cursor: pointer; width: 46px; height: 28px; border-radius: 999px; background: var(--chip); box-shadow: inset 0 0 0 1px var(--hair-2); position: relative; transition: background .25s; }
.switch button i { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .22); transition: translate .6s var(--spring); }
.switch button[aria-checked="true"] { background: var(--accent); }
.switch button[aria-checked="true"] i { translate: 18px 0; }
.switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.flow-cols, .flow-rows li { display: grid; grid-template-columns: 96px 1fr 1fr; gap: 12px; align-items: center; }
.flow-cols { padding: 14px 0 4px; font-size: 12.5px; color: var(--text-3); }
.flow-rows { list-style: none; margin: 0; padding: 0; }
.flow-rows li { padding: 12px 0; border-top: 1px solid var(--hair); font-size: 14px; }
.flow-rows b { font-weight: 500; }
.flow-rows .here, .flow-rows .there { width: fit-content; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; line-height: 1.3; }
.flow-rows .here { background: var(--chip); }
.flow-rows .there { border: 1px dashed var(--hair-2); color: var(--text-3); transition: background .25s, color .25s, border-color .25s; }
.flow-rows .there.sent { border: 1px solid var(--accent); background: var(--accent); color: #fff; animation: sent .7s var(--spring); }
@keyframes sent { from { translate: -40px 0; scale: .7; opacity: 0; } }

.qa-list { border-top: 1px solid var(--hair-2); }
.qa { border-bottom: 1px solid var(--hair-2); }
.qa > button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 2px;
  font: 500 17px/1.45 var(--font-ui); letter-spacing: -.01em; color: var(--text); -webkit-tap-highlight-color: transparent; }
.qa > button span { transition: translate .5s var(--spring); }
.qa > button:hover span { translate: 5px 0; }
.qa > button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 8px; }
.qa svg { width: 18px; height: 18px; flex: none; color: var(--text-3); transition: rotate .6s var(--spring), color .2s; }
.qa.open svg { rotate: 180deg; color: var(--text); }
.qa-a > div { overflow: hidden; min-height: 0; }
.qa-a p { margin: 0; padding: 0 48px 24px 2px; max-width: 44em; font-size: 15px; line-height: 1.85; color: var(--text-2); }
.qa-a a { color: var(--accent-ink); }
.js .qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-cam); }
.js .qa.open .qa-a { grid-template-rows: 1fr; }
.js .qa-a p { opacity: 0; translate: 0 -8px; transition: opacity .25s, translate .5s var(--ease-cam); }
.js .qa.open .qa-a p { opacity: 1; translate: 0 0; transition-delay: .1s; }

.dl { padding-bottom: 150px; }
.dl .dl-card { max-width: 900px; margin: 0; border-radius: 20px; border: 1px solid var(--hair); background: var(--surface); box-shadow: 0 30px 60px -44px rgba(0, 0, 0, .3); -webkit-backdrop-filter: none; backdrop-filter: none; }
.dl .formula-mini { border-radius: 12px; transform: none; box-shadow: none; }
.dl .note { margin-top: 22px; }
.home .footer { max-width: none; padding: 28px; }

/* ---------- 更新记录、方案与价格：和首页同一套字、线、卡片 ---------- */
.pg { max-width: 1040px; margin: 0 auto; padding: 96px 28px 150px; }
.pg-head { margin-bottom: 64px; }
.pg-title { width: fit-content; cursor: default; font-size: clamp(34px, 5vw, 64px); line-height: 1.12; letter-spacing: -.038em; }
.pg-head > p:not(.kicker) { margin: 20px 0 0; max-width: 34em; font-size: 17px; line-height: 1.8; color: var(--text-2); animation: rise .5s var(--ease-out) .15s both; }
.pg .timeline > li { grid-template-columns: 168px minmax(0, 1fr); gap: 32px; padding: 34px 0; border-top: 1px solid var(--hair-2); }
.pg .timeline .when { gap: 6px; }
.pg .timeline .when .mono { font: 600 22px/1.2 var(--font-ui); letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.pg .timeline > li:first-child .when .mono { color: var(--accent-ink); }
.pg .timeline .when small { font-size: 13px; color: var(--text-3); }
.pg .timeline h3 { margin: 2px 0 12px; font: 600 19px/1.4 var(--font-ui); letter-spacing: -.02em; }
.pg .timeline ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; line-height: 1.75; color: var(--text-2); }
.pg .timeline ul li { position: relative; padding-left: 16px; }
.pg .timeline ul li::before { content: ""; position: absolute; left: 0; top: .82em; width: 6px; height: 1.5px; background: var(--faint); }
.pg .beta { margin-left: 6px; padding: 2px 8px; border-radius: 999px; font: 600 11.5px var(--font-ui); color: var(--accent-ink); background: var(--accent-soft); vertical-align: 2px; }
.pg .dl-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pg .empty { padding: 34px 0; border-top: 1px solid var(--hair-2); color: var(--text-3); }
.pg .plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; }
.pg .plan { position: relative; padding: 26px 26px 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--hair); box-shadow: 0 30px 60px -44px rgba(0, 0, 0, .3); transition: translate .5s var(--spring), border-color .2s; }
.pg .plan:hover { translate: 0 -4px; border-color: var(--hair-2); }
.pg .plan header { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; }
.pg .plan h2 { font-size: 17px; letter-spacing: -.015em; }
.pg .plan .tag { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--text-2); background: var(--chip); }
.pg .plan.hl { border-color: var(--text); box-shadow: 0 0 0 1px var(--text), 0 30px 60px -40px rgba(0, 0, 0, .4); }
.pg .plan.hl .tag { color: #fff; background: var(--accent); }
.pg .plan.mine { background: var(--chip); }
.pg .plan .price { margin: 18px 0 20px; font: 600 clamp(30px, 3.4vw, 40px)/1.1 var(--font-ui); letter-spacing: -.035em; color: var(--text); font-variant-numeric: tabular-nums; }
.pg .plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--hair); display: grid; gap: 9px; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.pg .plan ul b { font: 600 15.5px var(--font-ui); color: var(--text); font-variant-numeric: tabular-nums; }
.pg .facts { margin-top: 44px; grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- 登录、账户、绑定手机号、支付、提示这几张小页面（base.html）：一张实心白卡片，和首页同一套字、线、按钮 ---------- */
.home .solo { position: relative; padding: 76px 16px 130px; }
.home .solo-card { position: relative; z-index: 1; padding: 38px 38px 32px; border-radius: 20px; border: 1px solid var(--hair); background: var(--surface);
  box-shadow: 0 30px 60px -44px rgba(0, 0, 0, .3); -webkit-backdrop-filter: none; backdrop-filter: none; animation: rise .5s var(--ease-out) both; }
.home .solo-card::before, .home .solo-card::after { display: none; }
.home .solo-card .h2 { font: 600 clamp(27px, 3vw, 34px)/1.15 var(--font-ui); letter-spacing: -.036em; margin: 0 0 20px; }
.home .solo-card .h3 { font: 600 17px/1.35 var(--font-ui); letter-spacing: -.015em; }
.home .solo-card .h2 + p { margin: -8px 0 4px; font-size: 14.5px; line-height: 1.75; color: var(--text-2); }
.home .solo-card .tabs { background: var(--chip); }
.home .solo-card .tabs > a { transition: color .2s; }
.home .solo-card .tabs > .active, .home .solo-card .m-pill { background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.home .solo-card .tabs.m-has-pill > .active { background: transparent; box-shadow: none; }
.home .solo-card .tabs > .active { font-weight: 600; }
.home .solo-card .seg + .seg { margin-top: 8px; }
.home .solo-card label.field { font-weight: 600; color: var(--text); }
.home .solo-card input:not([type=hidden]):not([type=checkbox]):not([type=radio]), .home .solo-card select { background-color: var(--surface); border-color: var(--hair-2); box-shadow: none; }
.home .solo-card input:focus, .home .solo-card select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.home .solo-card .pill:disabled { opacity: .45; }
.home .solo-card .sso .pill:not(:disabled):hover { border-color: var(--text); }
.home .solo-card .notice { background: var(--chip); border-color: transparent; border-radius: 14px; }
.home .solo-card .notice.error { background: var(--surface); border: 1.5px solid var(--text); }
.home .solo-card .fx-badge { font: 600 18px/1 var(--font-ui); font-style: normal; background: var(--chip); border-color: transparent; }
.home .solo-card .fx { font-family: var(--font-ui); font-style: normal; font-weight: 600; letter-spacing: -.02em; }
.home .solo-card .client-tag { font-weight: 600; color: var(--accent-ink); }
.home .solo-card .devices li, .home .solo-card .acct-form { animation-duration: .3s; animation-delay: 0s; }
.home .solo-card .dev-ico { background: var(--chip); }
@media (max-width: 600px) { .home .solo { padding-top: 32px; } .home .solo-card { padding: 28px 22px 24px; } }

/* 版块标题旁边的小物件：只在窄屏显示（宽屏有页面两侧那一排） */
.obj-inline { display: none; position: absolute; right: 2px; top: -22px; width: 52px; aspect-ratio: 1; rotate: var(--r, 0deg); pointer-events: none;
  background: center / contain no-repeat; animation: obj-float 5.5s ease-in-out var(--dl, 0s) infinite alternate; }
.obj-inline[data-k="0"] { background-image: url(d/o/0.webp); }
.obj-inline[data-k="1"] { background-image: url(d/o/1.webp); }
.obj-inline[data-k="2"] { background-image: url(d/o/2.webp); }
.obj-inline[data-k="3"] { background-image: url(d/o/3.webp); }
.obj-inline[data-k="4"] { background-image: url(d/o/4.webp); }
.obj-inline[data-k="5"] { background-image: url(d/o/5.webp); }
.obj-inline[data-k="6"] { background-image: url(d/o/6.webp); }
.obj-inline[data-k="7"] { background-image: url(d/o/7.webp); }
.obj-inline[data-k="8"] { background-image: url(d/o/8.webp); }
.obj-inline[data-k="9"] { background-image: url(d/o/9.webp); }
.obj-inline[data-k="10"] { background-image: url(d/o/10.webp); }
.obj-inline[data-k="11"] { background-image: url(d/o/11.webp); }
.obj-inline[data-k="12"] { background-image: url(d/o/12.webp); }
.obj-inline[data-k="13"] { background-image: url(d/o/13.webp); }
.obj-inline[data-k="14"] { background-image: url(d/o/14.webp); }
.obj-inline[data-k="15"] { background-image: url(d/o/15.webp); }
.kicker { position: relative; }
.ch { -webkit-tap-highlight-color: transparent; }
@media (max-width: 980px) {
  .obj-inline { display: block; }
  .hm { padding-top: 56px; }
  .sec { padding-top: 130px; }
  .duo, .duo.rev, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split > .sec-head { position: static; }
  .duo.rev .duo-text { order: 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs-line.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
}
@media (max-width: 640px) {
  .hm, .sec, .pg { padding-left: 16px; padding-right: 16px; }
  .pg { padding-top: 56px; }
  .pg .timeline > li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pg .facts { grid-template-columns: minmax(0, 1fr); }
  .hm-lead { font-size: 15.5px; }
  /* 手机：首屏只放一台 iPhone，放大到看得清；下面露出去的一截被台子裁掉 */
  .hm-stage { padding: 9% 0 0; border-radius: 20px; margin-top: 44px; }
  .hm-stage .ipad { display: none; }
  .hm-stage .iphone { position: relative; right: auto; bottom: auto; width: 66%; margin: 0 auto -34%; }
  /* 手机：各段演示只放 iPhone 的截图，居中、放大到看得清；iPad 不显示 */
  .plat { border-radius: 20px; padding: 8% 0; }
  .plat:has(.iphone) .ipad { display: none; }
  .plat .iphone.side, .duo .plat .iphone.side, .player:not(.with-phone) .iphone.side { position: relative; right: auto; bottom: auto; width: 68%; margin: 0 auto; translate: none; opacity: 1; }
  /* 视频导入只有电脑版：手机上还是 Mac 窗口，推近时整个窗口放大到能看清弹窗 */
  .plat .mac { width: 90%; }
  .plat:has(.mac) { padding: 16% 0; }
  .sec { padding-top: 104px; }
  .sec h2, .duo-text h2 { font-size: 31px; }
  .kicker { padding-right: 60px; }
  .tabs-line { gap: 0 14px; }
  .tabs-line span { display: none; }
  .tabs-line b { font-size: 15px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .flow { padding: 6px 16px 10px; }
  .flow-cols, .flow-rows li { grid-template-columns: 72px 1fr 1fr; gap: 8px; }
  .qa-a p { padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { animation: none !important; transition: none !important; }
  .js .fx-in .ch { opacity: 1; }
  .js .fx-in:not(.lit) { color: inherit; }
}
