/* 有朋宣发页：参照 Apple 产品页——白与浅灰交替、超大标题、真实界面做主角、滚动时逐段出现 */
html:has(body.promo), body.promo { height: auto; overflow: auto; }
body.promo { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); scroll-behavior: smooth; }
body.promo * { box-sizing: border-box; }
/* 页面自己的样式不进入手机里的 App 界面（.yp），手机里的画面和 App 一致 */
.promo a:not(.yp *) { color: inherit; text-decoration: none; }

/* 导航 */
.pnav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 54px; padding: 0 max(20px, calc((100vw - 1100px) / 2)); background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.pbrand { display: flex; align-items: center; gap: 10px; }
.pbrand img { height: 28px; width: auto; }
.pbrand b { font-family: var(--display); font-size: 18px; letter-spacing: .04em; }
.plinks { display: flex; gap: 26px; font-size: 13.5px; color: var(--ink-2); }
.plinks a:hover { color: var(--ink); }
.pcta { border: 0; background: var(--ink); color: #fff; font-size: 13px; padding: 7px 14px; border-radius: 999px; }
@media (max-width: 760px) { .plinks { display: none; } }

/* 首屏 */
.p-hero { text-align: center; padding: 64px 20px 90px; background: radial-gradient(60% 50% at 20% 10%, rgba(98,232,196,.18), transparent 70%), radial-gradient(60% 50% at 85% 30%, rgba(184,129,252,.18), transparent 70%); }
.p-heroym { display: flex; justify-content: center; margin-bottom: 18px; }
.p-heroym .ym { height: clamp(150px, 26vw, 260px); width: auto; }
.p-hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 7.4vw, 88px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 18px; }
.p-hero .p-sub { font-size: clamp(17px, 2vw, 22px); line-height: 1.6; color: var(--ink-3); max-width: 760px; margin: 0 auto 28px; }
.p-herobtns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pbtn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 26px; font-size: 17px; font-weight: 600; }
.pbtn.dark { background: var(--ink); color: #fff; }
.pbtn.light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.p-heroen { margin-top: 26px; color: var(--ink-4); font-size: 15px; letter-spacing: .02em; }

/* 通用段落 */
.sec { padding: clamp(80px, 12vw, 140px) 20px; }
.sec.soft { background: var(--bg); }
.sec.black { background: #000; color: #F5F5F7; text-align: center; }
.h { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.12; letter-spacing: -.025em; text-align: center; margin: 0 auto 56px; max-width: 1000px; }
.h3 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; margin: 90px 0 8px; }
.center { text-align: center; }
.p-big { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.6vw, 44px); letter-spacing: -.02em; margin: 80px auto 26px; }
.lead2 { color: var(--ink-3); font-size: clamp(16px, 1.8vw, 20px); margin: -34px auto 40px; }
.lead2.after-h3 { margin-top: 0; }
.quote { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 6vw, 76px); letter-spacing: .04em; margin: 0; }
.qsrc { color: #86868B; font-size: 17px; margin: 18px 0 70px; }
.qline { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4.2vw, 52px); background: linear-gradient(115deg, #62E8C4, #8FB4F7 50%, #B881FC); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* 数字 */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; text-align: center; }
.numc b { display: block; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(52px, 7vw, 96px); letter-spacing: -.045em; line-height: 1; background: linear-gradient(115deg, #3ED9AE, #7FA6F5 50%, #A66BF7); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.numc span { display: block; font-size: 18px; font-weight: 600; margin-top: 16px; }
.numc small { display: block; font-size: 13px; color: var(--ink-4); margin-top: 6px; }
@media (max-width: 760px) { .nums { grid-template-columns: 1fr; gap: 56px; } }

/* 两群人 */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1100px; margin: 0 auto; }
.need { border-radius: 30px; padding: 36px 34px 34px; background: #fff; box-shadow: var(--shadow); }
.need.p { background: linear-gradient(170deg, #fff 55%, var(--purple-soft)); }
.need.m { background: linear-gradient(170deg, #fff 55%, var(--mint-soft)); }
.need .ny .ym { height: 130px; width: auto; }
.need h3 { font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; letter-spacing: -.015em; margin: 22px 0 12px; }
.need p { color: var(--ink-3); font-size: 16px; line-height: 1.7; margin: 0; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.mapbox { max-width: 980px; margin: 0 auto; }
.mapbox svg { width: 100%; height: auto; display: block; }

/* 前后对比 */
.ba { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; gap: 10px; max-width: 1000px; margin: 0 auto; }
.bcol { border-radius: 28px; padding: 30px 32px; }
.bcol.before { background: var(--bg); color: var(--ink-3); }
.bcol.after { background: linear-gradient(140deg, var(--mint-soft), var(--purple-soft)); }
.bcol .tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; padding: 4px 12px; border-radius: 999px; background: #fff; }
.bcol ul { margin: 18px 0 0; padding-left: 20px; font-size: 18px; line-height: 2; }
.bcol.after ul { color: var(--ink); font-weight: 500; }
.barrow { font-size: 36px; text-align: center; color: var(--ink-4); }
@media (max-width: 760px) { .ba { grid-template-columns: 1fr; } .barrow { transform: rotate(90deg); } }

/* 滚动时手机跟着换屏 */
.sticky-wrap { position: relative; display: grid; grid-template-columns: minmax(300px, 460px) 1fr; gap: 40px; max-width: 1100px; margin: 0 auto; padding: 40px 20px 120px; }
.sticky-phone { position: sticky; top: 74px; height: calc(100vh - 100px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sp-phone { position: relative; width: 418px; height: 872px; border-radius: 62px; padding: 14px; background: linear-gradient(145deg, #2C2C2E, #0B0B0C); box-shadow: 0 40px 100px rgba(0,0,0,.2), inset 0 0 0 2px #3A3A3C; transform: scale(var(--pk, .78)); transform-origin: top center; margin-bottom: calc(-872px * (1 - var(--pk, .78))); flex: none; }
.sp-phone .scr { width: 390px; height: 844px; border-radius: 48px; overflow: hidden; position: relative; background: var(--bg); }
.sp-phone .scr .yp { pointer-events: none; }
.sp-phone .island { position: absolute; top: 24px; left: 50%; width: 112px; height: 32px; margin-left: -56px; border-radius: 16px; background: #000; z-index: 99; }
.sp-cap { margin-top: 16px; font-size: 13px; color: var(--ink-4); }
.feat-steps { padding: 20vh 0 30vh; }
.fstep { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s; }
.fstep.on { opacity: 1; }
.fstep .fk { font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--mint-deep); }
.fstep:nth-child(odd) .fk { color: var(--purple-deep); }
.fstep h3:not(.yp *) { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.12; letter-spacing: -.025em; margin: 12px 0 18px; }
.fstep p:not(.yp *) { font-size: 19px; line-height: 1.7; color: var(--ink-3); margin: 0; max-width: 520px; }
@media (max-width: 860px) {
  .sticky-wrap { grid-template-columns: 1fr; }
  .sticky-phone { top: 54px; height: 64vh; z-index: 2; background: rgba(255,255,255,.9); }
  .feat-steps { padding-top: 0; }
  .fstep { min-height: 60vh; }
}

/* 界面总览 */
.tabs { display: flex; justify-content: center; gap: 6px; background: #fff; border-radius: 999px; padding: 5px; width: max-content; margin: 0 auto 30px; box-shadow: var(--shadow); }
.tabs button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-3); }
.tabs button.on { background: var(--ink); color: #fff; }
.rail { display: flex; gap: 22px; overflow-x: auto; padding: 10px max(20px, calc((100vw - 1100px) / 2)) 30px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rcell { flex: none; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; cursor: zoom-in; border: 0; background: none; padding: 0; }
.rcell .mini { width: 230px; height: 480px; border-radius: 38px; padding: 8px; background: #1C1C1E; box-shadow: 0 18px 40px rgba(0,0,0,.14); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.rcell:hover .mini { transform: translateY(-8px); }
.rcell .mini .ms { width: 390px; height: 844px; transform: scale(.5487); transform-origin: top left; border-radius: 56px; overflow: hidden; background: var(--bg); pointer-events: none; }
.rcell > b { font-size: 15px; }
.rcell > span { font-size: 13px; color: var(--ink-3); margin-top: -8px; max-width: 220px; text-align: center; }
.walk { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; max-width: 1100px; margin: 0 auto; }
.wphone { display: flex; flex-direction: column; align-items: center; }
.wl { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 10px; }
.sp-phone.sm { --pk: .66; }
.wmid { text-align: center; }
.wcap { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; letter-spacing: -.015em; min-height: 3em; }
.wcap small { display: block; margin-top: 10px; font-size: .56em; font-weight: 500; line-height: 1.55; letter-spacing: 0; color: var(--ink-3); }
.wbtns { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.wbtns button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 28px; line-height: 1; }
.wbtns span { font-variant-numeric: tabular-nums; color: var(--ink-3); min-width: 60px; }
@media (max-width: 980px) { .walk { grid-template-columns: 1fr 1fr; } .wmid { grid-column: 1 / -1; grid-row: 1; } }

/* 安全 */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; }
.tcard { border-radius: 24px; padding: 24px; background: var(--bg); }
.tcard b { font-family: var(--display); font-size: 24px; display: flex; align-items: center; gap: 10px; }
.tcard b::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.tcard.red b { color: var(--r-red); } .tcard.orange b { color: var(--r-orange); } .tcard.green b { color: var(--r-green); } .tcard.gray b { color: var(--r-gray); }
.tcard p { font-size: 15px; color: var(--ink); line-height: 1.6; margin: 12px 0 8px; }
.tcard span { font-size: 13.5px; color: var(--ink-3); line-height: 1.6; }
.p-promise { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2.4vw, 28px); margin-top: 50px; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr 1fr; } }

/* 已上线 */
.arch { max-width: 1100px; margin: 0 auto 50px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.arch img { width: 100%; display: block; }
.qrs { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.qrs .q { background: #fff; border-radius: 26px; padding: 22px; width: 250px; text-align: center; box-shadow: var(--shadow); }
.qrs .q img { width: 200px; height: 200px; margin: 0 auto; }
.qrs .q b { display: block; margin-top: 10px; font-size: 16px; }
.qrs .q span { font-size: 12px; color: var(--ink-3); word-break: break-all; }

/* 结尾 */
.pfoot { text-align: center; padding: 110px 20px 70px; background: radial-gradient(60% 60% at 50% 0%, rgba(98,232,196,.14), transparent 70%), #fff; }
.pfy .ym { height: 150px; width: auto; margin: 0 auto; }
.vision { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 48px); line-height: 1.25; letter-spacing: -.02em; margin: 26px 0 30px; }
.pfoot .small { color: var(--ink-4); font-size: 13px; }

/* 弹层 */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.72); display: none; align-items: center; justify-content: center; padding: 30px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal.on { display: flex; }
.mbox { max-width: min(1200px, 96vw); max-height: 92vh; display: flex; align-items: center; justify-content: center; }
.mbox iframe { width: min(1200px, 92vw); aspect-ratio: 16 / 9; border: 0; border-radius: 18px; background: #000; }
.mbox .bigphone { --pk: .9; }
.mbox .qrbig { background: #fff; border-radius: 28px; padding: 30px; display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.mclose { position: fixed; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 28px; line-height: 1; }
/* ---- 排版修正（10 月 2 日） ---- */
/* 1. body 原来是 overflow:auto，自成一个滚动容器，导航栏和“手机随滚动换屏”的吸顶都不生效。改成不滚动，只裁掉横向溢出。 */
body.promo { overflow: visible; overflow-x: clip; }
/* 2. 窄屏：418px 宽的手机外框把单列撑宽，右侧文字被裁掉。列宽改为可收缩；窄屏上手机不吸顶（吸顶会挡住大半屏），保持原来的样子。 */
@media (max-width: 860px) {
  .sticky-wrap { grid-template-columns: minmax(0, 1fr); }
  .sticky-phone { position: relative; top: auto; height: auto; padding-bottom: 24px; }
  .sticky-phone .sp-phone { transform: none; margin: 0; zoom: var(--pk, .78); }
}
/* 3. “一步步走一遍”：两部手机并排时超出屏幕，中间的说明和翻页按钮跑到屏幕外。手机按实际显示大小占位，窄屏再缩小。 */
@media (max-width: 1180px) {
  .walk .sp-phone.sm { transform: none; margin: 0; zoom: .66; }
}
@media (max-width: 980px) {
  .walk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .walk { gap: 18px 12px; }
  .walk .sp-phone.sm { zoom: .4; }
}
