/* 空杯记账官网 · 晨雾玻璃（方向 A，2026-10-05 用户选定）。配色取自产品日间主题：奶白底、樱粉、杏、薰衣草，紫藤点缀 */
:root {
  --bg: #fdf6f8; --text: #2f2429; --text2: #8c7b83; --text3: #b9a9b0;
  --accent: #ec7fa0; --accent-strong: #e2678d; --ai: #8d74cf; --good: #3faa7d;
  --blob1: #ffd3e1; --blob2: #ffe4d3; --blob3: #efe4ff;
  --card: rgba(255, 255, 255, .56); --card-solid: rgba(255, 255, 255, .78); --glass-border: rgba(255, 255, 255, .82); --sep: rgba(120, 70, 90, .1);
  --halo: rgba(190, 110, 140, .18);
  --cta: linear-gradient(180deg, #f7abc2, #e9789c);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; overflow-x: hidden; }
main { overflow-x: clip; } /* 首屏斜放的手机在小屏上会探出右边，裁掉，不让页面能横着滑 */
/* 中文只在标点、空格处换行（一句一句地折，不会把「天天」拆到两行）；一句话比一行还长时才在句中断。
   中文和数字、英文之间用的是不断行空格（&nbsp;），「1,274 笔」不会被拆开 */
body { word-break: keep-all; overflow-wrap: anywhere; }
p, li, .lede { text-wrap: pretty; }
h2, h3 { text-wrap: balance; }
.nw { white-space: nowrap; } /* 网址和后面的标点绑在一起，标点不会落到下一行开头 */
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 32px; }

/* ── 天空：四团光晕慢慢漂 + 细颗粒 ── */
.sky { position: fixed; inset: -10%; z-index: -2; pointer-events: none; }
.sky i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .9; animation: drift 18s ease-in-out infinite alternate; }
.sky i:nth-child(1) { width: 52vw; height: 52vw; left: -6vw; top: -10vw; background: var(--blob1); }
.sky i:nth-child(2) { width: 46vw; height: 46vw; right: -8vw; top: 8vh; background: var(--blob2); animation-delay: -6s; }
.sky i:nth-child(3) { width: 50vw; height: 50vw; left: 10vw; bottom: -18vw; background: var(--blob3); animation-delay: -12s; }
.sky i:nth-child(4) { width: 30vw; height: 30vw; right: 18vw; bottom: 4vh; background: var(--blob1); opacity: .6; animation-delay: -3s; }
@keyframes drift { to { transform: translate3d(4vw, 3vh, 0) scale(1.08); } }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .4 0 0 0 0 .45 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.glass { background: var(--card); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  box-shadow: 0 12px 40px var(--halo), inset 0 1px 0 rgba(255, 255, 255, .9); }

/* ── 顶栏 ── */
nav { position: fixed; top: max(14px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 20; width: min(1120px, calc(100% - 28px));
  height: 56px; padding: 0 10px 0 14px; border-radius: 28px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 4px 12px var(--halo); }
.links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; color: var(--text2); }
.links a:hover { color: var(--text); }
.nav-cta { height: 38px; padding: 0 18px; border-radius: 19px; display: flex; align-items: center; font-size: 14px; font-weight: 600; color: #fff; background: var(--cta);
  box-shadow: 0 6px 18px rgba(233, 120, 156, .35); }

/* ── 首屏 ── */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; padding-top: 120px; padding-bottom: 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 17px; font-size: 13px; color: var(--accent-strong); font-weight: 500; }
.eyebrow b { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(236, 127, 160, .18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(236, 127, 160, 0); } }
h1 { margin: 22px 0; font-size: clamp(44px, 5.4vw, 80px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; }
h1 .ln { white-space: nowrap; }
.grad { background: linear-gradient(100deg, #e2678d 0%, #c879b8 45%, #8d74cf 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.lede { max-width: 30em; margin: 0; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.75; color: var(--text2); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { height: 54px; padding: 0 26px; border-radius: 27px; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; transition: transform .2s; }
.btn:active { transform: scale(.97); }
.btn.primary { color: #fff; background: var(--cta); box-shadow: 0 14px 34px rgba(233, 120, 156, .4), inset 0 1px 0 rgba(255, 255, 255, .4); }
/* 首屏三个卖点：大数字 + 一行小字（快 / 稳 / 私），2026-10-06 */
.proof { display: flex; gap: 36px; margin: 38px 0 0; padding-top: 26px; border-top: 1px solid var(--sep); }
.proof div { min-width: 0; }
.proof dt { font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; white-space: nowrap;
  background: linear-gradient(160deg, #f19ab6, #e2678d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof div:last-child dt { background-image: linear-gradient(160deg, #c3b2f2, #8d74cf); }
.proof dt small { font-size: .5em; font-weight: 600; letter-spacing: 0; }
.proof dd { margin: 10px 0 0; font-size: 13px; color: var(--text2); }

.stage { position: relative; height: min(720px, 86vh); perspective: 1600px; }
.stage .phone { --pw: min(300px, 42vw); }
.stage .front { left: 50%; top: 50%; translate: -38% -50%; transform: rotateY(-14deg) rotateX(4deg) rotateZ(-2deg); animation: float 7s ease-in-out infinite; z-index: 2; }
.stage .back { left: 50%; top: 50%; translate: -96% -46%; transform: rotateY(-20deg) rotateX(4deg) rotateZ(-6deg) scale(.86); opacity: .92; animation: float 7s ease-in-out -3.5s infinite; }
@keyframes float { 50% { margin-top: -14px; } }
.phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.banner { position: absolute; z-index: 3; left: 50%; top: 9%; translate: -30% 0; width: min(330px, 46vw); padding: 12px 14px; border-radius: 22px;
  display: grid; grid-template-columns: 38px 1fr auto; gap: 2px 10px; align-items: center; animation: banner 6s var(--ease) infinite; }
.banner img { grid-row: span 2; width: 38px; height: 38px; border-radius: 10px; }
.banner strong { font-size: 14px; }
.banner small { font-size: 12px; color: var(--text3); }
.banner p { grid-column: 2 / span 2; margin: 0; font-size: 13px; color: var(--text2); }
.banner p b { color: var(--text); }
@keyframes banner { 0%, 8% { opacity: 0; transform: translateY(-26px) scale(.96); } 16%, 70% { opacity: 1; transform: none; } 82%, 100% { opacity: 0; transform: translateY(-18px) scale(.98); } }

/* ── 小节通用 ── */
section { position: relative; }
.sec { padding-top: 60px; padding-bottom: 120px; }
.sec-head { margin-bottom: 40px; }
.kicker { font: 600 12px/1 var(--mono); letter-spacing: .2em; color: var(--accent-strong); }
h2 { margin: 14px 0 0; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.02em; line-height: 1.2; }
h2 .dim { color: var(--text3); }
.sec-head p { max-width: 36em; margin: 14px 0 0; font-size: 17px; line-height: 1.75; color: var(--text2); }

/* ── 各节的大玻璃块 ── */
.block { padding: 40px; border-radius: 32px; }
.panel-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
/* 顶栏跟着滚动亮起当前章节（窄屏在 logo 旁显示章节名），底下一条阅读进度线（2026-10-05 用户选的方式 2） */
.links a { position: relative; transition: color .3s; }
.links a.on { color: var(--text); }
.links a::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 4px; height: 4px; border-radius: 50%; translate: -50% 0;
  background: var(--accent); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s var(--ease); }
.links a.on::after { opacity: 1; transform: none; }
.nav-progress { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; border-radius: 1px;
  background: linear-gradient(90deg, #f7abc2, #e2678d 50%, #8d74cf); transform-origin: left; transform: scaleX(var(--p, 0)); opacity: .85; }
.chapter { display: none; font-size: 13px; color: var(--text2); white-space: nowrap; }
.chapter b { font: 600 12px/1 var(--mono); color: var(--accent-strong); margin-right: 6px; }
.chapter.swap { animation: chapter-in .45s var(--ease); }
@keyframes chapter-in { from { opacity: 0; transform: translateY(6px); } }
/* 快：四步，和左边手机里的动画同步高亮 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 14px 16px; border-radius: 18px; transition: background .3s, box-shadow .3s; }
.steps li b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: var(--accent-strong); background: rgba(236, 127, 160, .12); transition: background .3s, color .3s; }
.steps li strong { display: block; font-size: 16px; margin-top: 6px; }
.steps li span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.7; color: var(--text2); }
.steps li.on { background: rgba(255, 255, 255, .75); box-shadow: 0 6px 24px var(--halo); }
.steps li.on b { background: var(--cta); color: #fff; }
.note { margin-top: 22px; padding: 14px 16px; border-radius: 16px; font-size: 14px; line-height: 1.7; color: var(--text2); background: rgba(255, 255, 255, .5); }
.note b { color: var(--text); }

/* 快：手机里的演示（10 秒一轮）。场景都叠在屏幕里，靠同一条时间轴切换 */
.flowphone { position: relative; height: 640px; }
.flowphone .phone { --pw: 290px; left: 50%; top: 0; translate: -50% 0; }
.flowphone .shots > * { position: absolute; inset: 0; }
.flowphone :is(.s-pay, .s-dash, .flash, .thumb, .ocr, .sheet, .row1, .dialog, .typed, .fbanner, .press) { animation-duration: 10s; animation-iteration-count: infinite; animation-timing-function: var(--ease); animation-fill-mode: both; animation-play-state: paused; }
.s-pay { background: #f6f7f9; display: flex; flex-direction: column; align-items: center; padding-top: 16cqw; font-family: var(--sans); animation-name: f-pay; }
.s-pay .ok { width: 17cqw; height: 17cqw; border-radius: 50%; background: #3cb371; display: grid; place-items: center; color: #fff; font-size: 9cqw; font-weight: 700; }
.s-pay .t { margin-top: 5cqw; font-size: 5cqw; color: #333; }
.s-pay .amt { position: relative; margin-top: 3cqw; font-size: 11cqw; font-weight: 700; color: #111; letter-spacing: -0.02em; }
.s-pay .who { margin-top: 2cqw; font-size: 3.6cqw; color: #888; }
.s-pay .rows { width: 82%; margin-top: 10cqw; border-top: 1px solid #e6e6e9; }
.s-pay .rows div { display: flex; justify-content: space-between; padding: 3.4cqw 0; font-size: 3.6cqw; color: #888; border-bottom: 1px solid #eeeef1; }
.s-pay .rows div span:last-child { color: #333; }
.s-pay .done { margin-top: auto; margin-bottom: 14cqw; width: 60%; height: 11cqw; border-radius: 6cqw; display: grid; place-items: center; font-size: 4.2cqw; color: #3cb371; border: 1px solid #3cb371; }
.ocr { inset: auto !important; left: 50% !important; top: 47cqw !important; translate: -50% 0; width: 44cqw; height: 15cqw; border-radius: 3cqw; border: .6cqw solid var(--accent); box-shadow: 0 0 0 100vmax rgba(47, 36, 41, .18);
  animation-name: f-ocr; }
.ocr::after { content: "认出金额 ¥32"; position: absolute; left: 50%; top: calc(100% + 2.4cqw); translate: -50% 0; white-space: nowrap; padding: 1.4cqw 3cqw; border-radius: 4cqw; font: 600 3.4cqw/1 var(--sans); color: #fff; background: var(--accent-strong); }
.flash { background: #fff; animation-name: f-flash; }
.thumb { inset: 6% 8% 14% 8% !important; border-radius: 4cqw; overflow: hidden; border: 1.2cqw solid #fff; box-shadow: 0 6cqw 12cqw rgba(0, 0, 0, .25); background: #f6f7f9; transform-origin: 6% 96%; animation-name: f-thumb; }
.thumb::before { content: ""; position: absolute; left: 50%; top: 14%; translate: -50% 0; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #3cb371; }
.sheet { inset: auto 0 0 0 !important; padding: 5cqw 4cqw 8cqw; border-radius: 6cqw 6cqw 0 0; background: rgba(250, 248, 249, .97); box-shadow: 0 -4cqw 14cqw rgba(0, 0, 0, .18); font-family: var(--sans); animation-name: f-sheet; }
.sheet .h { text-align: center; font-size: 3.8cqw; color: #888; margin-bottom: 3cqw; }
.sheet .opt { display: flex; align-items: center; gap: 3cqw; padding: 3.2cqw 4cqw; font-size: 4.4cqw; color: #222; border-radius: 3cqw; background: #fff; margin-top: 1.4cqw; }
.sheet .opt.row1 { animation-name: f-row1; }
.dialog { inset: auto 8% 38% 8% !important; padding: 5cqw; border-radius: 5cqw; background: rgba(250, 248, 249, .98); box-shadow: 0 6cqw 20cqw rgba(0, 0, 0, .25); font-family: var(--sans); animation-name: f-dialog; }
.dialog .h { font-size: 4.2cqw; font-weight: 600; text-align: center; }
.dialog .in { margin-top: 3.6cqw; height: 10cqw; padding: 0 3cqw; border-radius: 2.4cqw; background: #fff; border: 1px solid #e3dde0; display: flex; align-items: center; font-size: 4.2cqw; }
.dialog .typed { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; animation-name: f-type; animation-timing-function: steps(2, end) !important; }
.dialog .caret { width: .5cqw; height: 5cqw; background: var(--accent-strong); margin-left: .4cqw; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.s-dash { animation-name: f-dash; }
.s-dash img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fbanner { inset: 2.4cqw 3cqw auto 3cqw !important; z-index: 3; padding: 3cqw 3.6cqw; border-radius: 5cqw; display: grid; grid-template-columns: 9cqw 1fr; gap: .6cqw 2.6cqw; align-items: center;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 4cqw 12cqw rgba(0, 0, 0, .14); font-family: var(--sans); animation-name: f-banner; }
.flowphone .fbanner img { position: static; grid-row: span 2; width: 9cqw; height: 9cqw; border-radius: 2.4cqw; }
.fbanner strong { font-size: 3.6cqw; }
.fbanner span { font-size: 3.4cqw; color: #666; }
.press { position: absolute; left: -7px; top: 22%; width: 6px; height: 13%; border-radius: 3px; background: var(--accent); box-shadow: 0 0 0 0 rgba(236, 127, 160, .6); animation-name: f-press; }
.press::after { content: "按一下"; position: absolute; right: 14px; top: 50%; translate: 0 -50%; white-space: nowrap; padding: 6px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; color: #fff; background: var(--accent-strong); }
@keyframes f-pay { 0%, 74% { opacity: 1; } 79%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes f-press { 0%, 12% { opacity: 0; transform: translateX(-6px); } 14%, 20% { opacity: 1; transform: none; box-shadow: 0 0 0 8px rgba(236, 127, 160, 0); } 23%, 100% { opacity: 0; transform: none; } }
@keyframes f-flash { 0%, 19.9% { opacity: 0; } 20.2% { opacity: 1; } 23%, 100% { opacity: 0; } }
@keyframes f-thumb { 0%, 20% { opacity: 0; transform: scale(1); } 21% { opacity: 1; transform: scale(1); } 26%, 33% { opacity: 1; transform: scale(.3); } 36%, 100% { opacity: 0; transform: scale(.3); } }
@keyframes f-ocr { 0%, 25% { opacity: 0; transform: scale(1.15); } 28%, 36% { opacity: 1; transform: none; } 39%, 100% { opacity: 0; } }
@keyframes f-sheet { 0%, 38% { transform: translateY(110%); } 43%, 58% { transform: none; } 62%, 100% { transform: translateY(110%); } }
@keyframes f-row1 { 0%, 48% { background: #fff; color: #222; } 50%, 60% { background: var(--accent); color: #fff; } 61%, 100% { background: #fff; color: #222; } }
@keyframes f-dialog { 0%, 61% { opacity: 0; transform: scale(.94); } 63%, 72% { opacity: 1; transform: none; } 74%, 100% { opacity: 0; transform: scale(.98); } }
@keyframes f-type { 0%, 64% { width: 0; } 68%, 100% { width: 2.2em; } }
@keyframes f-dash { 0%, 76% { opacity: 0; } 80%, 95% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes f-banner { 0%, 74% { opacity: 0; transform: translateY(-130%); } 77%, 92% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-130%); } }

/* 稳：大数字 + 「万一我不做了」 */
.bignums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bignum { padding: 22px 20px; border-radius: 22px; background: rgba(255, 255, 255, .55); }
.bignum b { display: block; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.03em; line-height: 1; background: linear-gradient(160deg, #f19ab6, #e2678d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bignum span { display: block; margin-top: 10px; font-size: 13px; color: var(--text2); }
.story { margin: 28px 0 0; font-size: 17px; line-height: 1.85; }
.ifgone { margin-top: 26px; padding: 24px 26px; border-radius: 24px; background: rgba(255, 255, 255, .6); }
.ifgone h4 { margin: 0 0 12px; font-size: 16px; }
.ifgone ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ifgone li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.75; color: var(--text2); }
.ifgone li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-strong); font-weight: 700; }
.ifgone li b { color: var(--text); }
.repo { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .75); }
.repo .gh { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #2f2429; color: #fff; font-weight: 700; }
.repo div { flex: 1; font-size: 14px; }
.repo small { display: block; color: var(--text2); font-size: 12px; margin-top: 2px; }

/* 私：数据流向图 + 两列清单 */
.flowmap { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 10px; padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, .6); }
.node { padding: 12px 16px; border-radius: 16px; background: #fff; text-align: center; font-size: 14px; font-weight: 600; box-shadow: 0 4px 16px var(--halo); }
.node small { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; color: var(--text2); }
.wire { position: relative; height: 2px; background: linear-gradient(90deg, rgba(141, 116, 207, .2), rgba(141, 116, 207, .6), rgba(141, 116, 207, .2)); }
.wire::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--ai); box-shadow: 0 0 10px var(--ai); animation: packet 2.4s linear infinite; }
.wire span { position: absolute; left: 50%; top: -24px; translate: -50% 0; white-space: nowrap; font-size: 11px; color: var(--ai); font-weight: 600; }
@keyframes packet { from { left: 0; } to { left: calc(100% - 8px); } }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.list { padding: 24px 24px 20px; border-radius: 24px; background: rgba(255, 255, 255, .6); }
.list h4 { margin: 0 0 14px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.list ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.list li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.75; color: var(--text2); }
.list li b { color: var(--text); }
.list.yes li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.list.say li::before { content: "i"; position: absolute; left: 2px; top: 4px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font: 700 11px/1 Georgia, serif; color: #fff; background: var(--ai); }
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.keys div { padding: 16px 18px; border-radius: 18px; background: rgba(141, 116, 207, .08); font-size: 14px; line-height: 1.7; color: var(--text2); }
.keys b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }

/* ── 看什么：左边手机钉住，右边一段段往下滚，手机里跟着换屏 ── */
.tour { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.tour-phone { position: sticky; top: 12vh; height: 76vh; }
.tour-phone .phone { --pw: min(330px, 34vh); left: 50%; top: 50%; translate: -50% -50%; }
.tour-phone .shots img { opacity: 0; transition: opacity .6s ease; }
.tour-phone .shots img.on { opacity: 1; }
.tour-steps { padding: 18vh 0 20vh; }
.tour-step { min-height: 54vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .5s; }
.tour-step.on { opacity: 1; }
.tour-step .n { font: 600 12px/1 var(--mono); color: var(--accent-strong); letter-spacing: .2em; }
.tour-step h3 { margin: 12px 0 10px; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.02em; }
.tour-step p { margin: 0; max-width: 26em; font-size: 17px; line-height: 1.8; color: var(--text2); }
.tour-step .inline { display: none; }

/* ── 怎么开始 ── */
.start { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 40px; border-radius: 32px; }
.start.main { background: linear-gradient(160deg, rgba(255, 255, 255, .8), rgba(255, 236, 243, .7)); box-shadow: 0 0 0 2px rgba(236, 127, 160, .5), 0 20px 60px var(--halo); }
.start .tag { display: inline-block; padding: 5px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; color: var(--accent-strong); background: rgba(236, 127, 160, .12); }
.start h3 { margin: 16px 0 6px; font-size: 26px; }
.start > p { margin: 0 0 20px; color: var(--text2); line-height: 1.7; }
.start ol { margin: 0 0 26px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.start ol li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 15px; line-height: 1.7; }
.start ol li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--accent-strong); background: rgba(236, 127, 160, .12); }
/* 领邀请码：没领 / 领到了 / 领完了 三种状态 */
.claim { padding: 30px 28px; border-radius: 26px; text-align: center; background: rgba(255, 255, 255, .72); box-shadow: 0 10px 34px var(--halo), inset 0 1px 0 #fff; }
.claim > div { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.claim > div[hidden] { display: none; }
.claim-title { margin: 0; font-size: 17px; font-weight: 600; }
.claim-left { margin: 0; font-size: 13px; color: var(--text2); }
.claim .btn { justify-content: center; min-width: 220px; }
.claim .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.code-row { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(236, 127, 160, .45); }
.code { font: 700 24px/1 var(--mono); letter-spacing: .08em; color: var(--accent-strong); }
.copy { height: 36px; padding: 0 14px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--accent-strong); background: rgba(236, 127, 160, .12); }
.claim-got .code-row { animation: code-in .6s var(--ease); }
@keyframes code-in { from { opacity: 0; transform: scale(.92); } }
.oss-line { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--text2); }
.oss-line a, .faq a, .ifgone a { color: var(--accent-strong); font-weight: 600; }

/* ── 事实卡：一句话说清楚空杯记账（给人看，也方便搜索引擎和 AI 助手直接引用） ── */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; padding: 30px 36px; border-radius: 30px; }
.facts div { display: grid; grid-template-columns: 6.5em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--sep); }
.facts dt { font-size: 14px; font-weight: 600; color: var(--accent-strong); }
.facts dd { margin: 0; font-size: 15px; line-height: 1.75; color: var(--text2); }
.facts dd b { color: var(--text); font-weight: 600; }

/* ── 常见问题、页脚 ── */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { padding: 0 24px; border-radius: 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-strong); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; font-size: 15px; line-height: 1.8; color: var(--text2); }
footer { padding: 50px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--sep); }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot-grid .brand { font-size: 17px; }
.foot-grid .tagline { margin: 10px 0 0; font-size: 14px; color: var(--text2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: var(--text2); }
.foot-links a:hover { color: var(--text); }
.fine { margin-top: 28px; font-size: 12px; color: var(--text3); line-height: 1.8; }

/* ── 进场 ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── 窄屏 ── */
@media (max-width: 960px) {
  .panel-grid { grid-template-columns: 1fr; }
  .flowphone { height: 600px; }
  .bignums { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .links { display: none; }
  nav { gap: 12px; }
  .chapter:not(:empty) { display: block; padding-left: 12px; border-left: 1px solid var(--sep); }
  .nav-cta { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 104px; padding-bottom: 20px; min-height: auto; }
  .proof { gap: 22px; margin-top: 30px; padding-top: 22px; }
  .stage { height: 560px; margin-top: 10px; }
  .stage .phone { --pw: 220px; }
  .stage .front { translate: -30% -50%; }
  .stage .back { translate: -92% -46%; }
  .banner { width: 260px; translate: -50% 0; top: 2%; }
  .sec { padding-top: 40px; padding-bottom: 90px; }
  .block { padding: 26px 20px; border-radius: 26px; }
  .flowphone { height: 560px; }
  .flowphone .phone { --pw: 250px; }
  .press::after { right: auto; left: -2px; top: auto; bottom: calc(100% + 8px); translate: 0 0; }
  .lists, .keys { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; padding: 14px 20px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .flowmap { grid-template-columns: 1fr; justify-items: center; gap: 30px; }
  .wire { width: 2px; height: 34px; background: linear-gradient(180deg, rgba(141, 116, 207, .2), rgba(141, 116, 207, .6), rgba(141, 116, 207, .2)); }
  .wire::after { left: -3px !important; top: 0; animation-name: packet-v; }
  .wire span { left: 14px; top: 50%; translate: 0 -50%; }
  @keyframes packet-v { from { top: 0; } to { top: calc(100% - 8px); } }
  .tour { grid-template-columns: 1fr; gap: 0; }
  .tour-phone { display: none; }
  .tour-steps { padding: 0; display: grid; gap: 70px; }
  .tour-step { min-height: 0; opacity: 1; }
  .tour-step .inline { display: block; position: relative; height: 460px; margin-top: 26px; }
  .tour-step .inline .phone { --pw: 212px; left: 50%; translate: -50% 0; }
  .start { grid-template-columns: 1fr; gap: 24px; padding: 26px 20px; }
  .claim { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .flowphone .s-dash, .flowphone .fbanner { opacity: 1; transform: none; }
  .flowphone :is(.s-pay, .flash, .thumb, .ocr, .dialog, .press) { opacity: 0; }
  .flowphone .sheet { transform: translateY(110%); }
}

/* ── 教程页（/guide/，由 tools/guides.py 生成）：文章排版 ── */
.article { max-width: 760px; padding-top: 120px; padding-bottom: 100px; }
.crumbs { margin: 0 0 18px; font-size: 13px; color: var(--text3); }
.crumbs a { color: var(--text2); }
.article h1 { font-size: clamp(32px, 4.2vw, 48px); margin: 0 0 12px; line-height: 1.2; }
.article .meta { margin: 0 0 30px; font-size: 13px; color: var(--text3); }
.article h2 { margin: 46px 0 16px; font-size: 24px; }
.article p, .article li { font-size: 16px; line-height: 1.9; color: #4a3b42; }
.answer { padding: 22px 26px; border-radius: 24px; }
.answer > b { display: block; margin-bottom: 6px; font-size: 13px; color: var(--accent-strong); letter-spacing: .08em; }
.answer .ans { font-size: 16px; line-height: 1.9; color: var(--text); }
.answer .ans b { color: var(--accent-strong); }
.path { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0; }
.path span { padding: 4px 11px; border-radius: 10px; font-size: 14px; background: #fff; box-shadow: 0 2px 8px var(--halo-soft, rgba(190, 110, 140, .08)); }
.path i { font-style: normal; color: var(--text3); }
.howto { margin: 0; padding: 0; list-style: none; counter-reset: h; display: grid; gap: 14px; }
.howto li { counter-increment: h; position: relative; padding: 16px 18px 16px 60px; border-radius: 18px; background: rgba(255, 255, 255, .6); }
.howto li::before { content: counter(h); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff; background: var(--cta); }
.howto li b { color: var(--text); }
.article .qa { margin-top: 12px; padding: 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, .5); }
.article .qa h3 { margin: 0 0 4px; font-size: 16px; }
.article .qa p { margin: 0; font-size: 15px; }
.article a:not(.btn) { color: var(--accent-strong); font-weight: 600; }
.shot { position: relative; height: 560px; margin: 26px 0; }
.shot .phone { --pw: 250px; left: 50%; translate: -50% 0; }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 50px; padding: 24px 28px; border-radius: 26px; }
.cta-box p { margin: 0; font-size: 16px; color: var(--text); }
.related { margin-top: 30px; }
.related h2 { font-size: 18px; margin: 0 0 12px; }
.related ul { margin: 0; padding-left: 20px; }
.guide-list { display: grid; gap: 16px; margin-top: 10px; }
.guide-list a { display: block; padding: 22px 26px; border-radius: 24px; color: inherit !important; font-weight: 400 !important; transition: transform .3s var(--ease); }
.guide-list a:hover { transform: translateY(-2px); }
.guide-list h2 { margin: 0 0 6px; font-size: 20px; }
.guide-list p { margin: 0; font-size: 15px; color: var(--text2); }
@media (max-width: 860px) { .article { padding-top: 100px; } .answer, .cta-box { padding: 18px 20px; } .howto li { padding-left: 54px; } }
