/* ==========================================================================
   Mopad 官网 · style.css
   霜雾极简：雾面浅青底 · 流动丝线 · 中文在上 / 英文小字在下 · 细线与留白
   ========================================================================== */
:root {
  --ink: #34414b;
  --ink-2: #56646e;
  --muted: #8a979f;
  --faint: #b3bfc5;
  --hair: rgba(52, 65, 75, .13);
  --hair-2: rgba(52, 65, 75, .07);
  --accent: #4c82a3;
  --accent-soft: rgba(76, 130, 163, .13);
  --glass: rgba(255, 255, 255, .42);
  --glass-line: rgba(255, 255, 255, .78);
  --font: "Avenir Next", "Avenir", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, monospace;
  --nav-h: 56px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: #e9f0f2; font-size: 15px; line-height: 1.9; letter-spacing: .02em; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; letter-spacing: inherit; }
ol, ul { list-style: none; }
code { font-family: var(--mono); font-size: .88em; background: rgba(52, 65, 75, .06); padding: 1px 6px; border-radius: 5px; letter-spacing: 0; }
::selection { background: rgba(76, 130, 163, .22); }

html[lang^="en"] .zh, html:not([lang^="en"]) .en { display: none !important; }

/* ---------- 雾面背景 ---------- */
.mist { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 60% at 28% 18%, #f8fbfb 0%, rgba(248, 251, 251, 0) 70%),
    radial-gradient(60% 60% at 86% 88%, #d6e3e7 0%, rgba(214, 227, 231, 0) 70%),
    linear-gradient(165deg, #f1f6f7 0%, #e6eef1 55%, #dce7eb 100%); }
#silk { position: absolute; inset: 0; width: 100%; height: 100%; }
.grain { position: absolute; inset: 0; opacity: .2; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .2  0 0 0 0 .26  0 0 0 0 .3  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- 文字体系 ---------- */
.duo { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; font-weight: 400; }
.duo .cn { font-size: clamp(25px, 3vw, 36px); letter-spacing: .16em; padding-left: .16em; line-height: 1.7; color: var(--ink); font-weight: 400; }
.duo .lat { font-size: clamp(12.5px, 1.05vw, 14px); letter-spacing: .04em; line-height: 1.6; color: var(--ink-2); }
.duo.xl .cn { font-size: clamp(30px, 3.7vw, 46px); }
.duo.xl .lat { font-size: clamp(13px, 1.15vw, 15px); }
.duo.sm { align-items: flex-start; text-align: left; gap: 4px; }
.duo.sm .cn { font-size: 26px; letter-spacing: .3em; padding-left: 0; }
.duo.left { align-items: flex-start; text-align: left; }
.duo.left .cn { padding-left: 0; }
.idx { text-align: center; font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; display: flex; justify-content: center; align-items: center; gap: 16px; }
.idx::before, .idx::after { content: ""; width: 28px; height: 1px; background: var(--hair); }
.idx.left::before { display: none; }
.idx.left { justify-content: flex-start; }
.body { color: var(--ink-2); font-size: 15px; line-height: 2.05; }
.narrow { max-width: 580px; margin: 34px auto 0; text-align: center; }
.k { color: var(--accent); }
.hint { text-align: center; font-size: 12px; letter-spacing: .14em; color: var(--muted); margin-top: 22px; }
.hint.left { text-align: left; }
.label { font-size: 12px; letter-spacing: .22em; color: var(--muted); margin-bottom: 22px; }
.label.center { text-align: center; }
.meta { font-size: 12px; letter-spacing: .14em; color: var(--muted); text-align: center; margin-top: 22px; }

/* ---------- 按钮 ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 28px; border-radius: 999px; border: 1px solid rgba(52, 65, 75, .32); color: var(--ink); font-size: 13px; letter-spacing: .16em; background: rgba(255, 255, 255, .32); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .4s var(--ease), color .4s, border-color .4s; white-space: nowrap; }
.pill:hover, .pill.solid { background: var(--ink); color: #f2f6f7; border-color: var(--ink); }
.pill.solid:hover { background: #24303a; }
.pill.sm { padding: 4px 14px; font-size: 11.5px; letter-spacing: .12em; }
.quiet { font-size: 13px; letter-spacing: .16em; color: var(--ink-2); padding-bottom: 3px; border-bottom: 1px solid var(--hair); transition: border-color .3s, color .3s; }
.quiet:hover { color: var(--ink); border-color: var(--ink); }
.cta { display: flex; gap: 30px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 52px; }

/* ---------- 导航 ---------- */
.nav { position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4vw, 48px); transition: background .5s, border-color .5s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(238, 244, 246, .62); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--hair-2); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 13.5px; letter-spacing: .22em; color: var(--ink); }
.brand img { width: 22px; height: 22px; }
.nav-r { display: flex; align-items: center; gap: 28px; font-size: 12px; letter-spacing: .16em; color: var(--ink-2); }
.nav-r a:hover { color: var(--ink); }
.lang { display: inline-flex; align-items: center; gap: 4px; color: var(--faint); }
.lang button { color: var(--muted); padding: 2px 3px; font-size: 12px; }
.lang button.on { color: var(--ink); }
.lang i { font-style: normal; }

/* ---------- 首屏 ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: var(--nav-h) 24px 60px; }
.hero-in { text-align: center; transform: translateY(-4vh); }
.mark { display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .5em; color: var(--muted); margin-bottom: 46px; }
.mark img { width: 26px; height: 26px; opacity: .92; }
.cue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .34em; color: var(--muted); }
.cue i { width: 1px; height: 52px; background: linear-gradient(var(--muted), rgba(138, 151, 159, 0)); transform-origin: top; animation: drip 2.6s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- 区块 ---------- */
.sec { position: relative; padding: 190px clamp(20px, 5vw, 60px) 40px; max-width: 1240px; margin: 0 auto; }

/* 触控表面 */
.surface { width: clamp(190px, 21vw, 270px); aspect-ratio: 420 / 720; margin: 70px auto 0; touch-action: pan-y; }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 56px; max-width: 900px; margin: 110px auto 0; }
.figures > div { border-top: 1px solid var(--hair); padding-top: 26px; }
.figures b { display: block; font-size: 54px; font-weight: 300; letter-spacing: -.01em; line-height: 1; color: var(--ink); }
.figures b small { font-size: 14px; margin-left: 8px; letter-spacing: .08em; color: var(--ink-2); font-weight: 400; }
.figures .t { display: block; margin-top: 18px; font-size: 14px; letter-spacing: .14em; }
.figures p { font-size: 13px; color: var(--muted); line-height: 1.85; margin-top: 4px; }

/* ---------- 手势 · 滚动叙事 ---------- */
.story { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: clamp(40px, 6vw, 90px); margin-top: 60px; }
.stage { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-top: var(--nav-h); }
.chapters { grid-column: 1; grid-row: 1; }
.ch { min-height: 150vh; padding: 16vh 0 8vh; opacity: .28; transition: opacity .7s var(--ease); }
.ch:last-child { min-height: 115vh; }
.ch.on { opacity: 1; }
.ch-in { position: sticky; top: max(calc(var(--nav-h) + 24px), 16vh); }
.ch-no { font-size: 11px; letter-spacing: .3em; color: var(--muted); margin-bottom: 16px; }
.ch .item { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--hair); }
.ch .item h4 { font-size: 15px; font-weight: 500; letter-spacing: .1em; }
.ch .item p { font-size: 14px; color: var(--ink-2); line-height: 1.95; margin-top: 8px; }
.ch .item p.eq { color: var(--muted); font-size: 12.5px; letter-spacing: .06em; margin-top: 6px; }
.ch .item p.eq::before { content: "≈ "; color: var(--faint); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.seg button { font-size: 12px; letter-spacing: .06em; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--hair); color: var(--ink-2); background: rgba(255, 255, 255, .35); transition: all .3s; }
.seg button:hover { border-color: rgba(52, 65, 75, .3); }
.seg button.on { background: var(--ink); color: #f2f6f7; border-color: var(--ink); }

.stage-in { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.stage-mouse { width: clamp(120px, 12vw, 170px); flex: none; aspect-ratio: 420 / 720; }
.stage-cap { text-align: center; font-size: 13px; letter-spacing: .12em; color: var(--ink-2); min-height: 1.9em; }
.stage-nav { display: flex; justify-content: center; gap: 26px; }
.stage-nav button { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .16em; color: var(--muted); transition: color .3s; }
.stage-nav button.on { color: var(--ink); }
.stage-nav i { display: block; width: 56px; height: 1px; background: var(--hair); position: relative; overflow: hidden; }
.stage-nav i b { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ink); }
.foot-note { text-align: center; font-size: 12.5px; letter-spacing: .08em; color: var(--muted); margin-top: 40px; }

/* 模拟 Mac 窗口 */
.mwin { position: relative; flex: 1; max-width: 520px; aspect-ratio: 680 / 470; border-radius: 12px; overflow: hidden; background: #f4f5f6; color: #1d1d1f; container-type: inline-size; box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 30px 70px rgba(52, 84, 104, .18), 0 6px 18px rgba(52, 84, 104, .08); letter-spacing: 0; line-height: 1.4; }
.mwin .tb { position: relative; z-index: 3; height: 8.6%; display: flex; align-items: center; gap: 1.3%; padding: 0 2.6%; background: rgba(236, 238, 240, .92); border-bottom: 1px solid #e0e2e5; }
.mwin .tb i { width: 1.9%; aspect-ratio: 1; border-radius: 50%; background: #ff5f57; }
.mwin .tb i:nth-child(2) { background: #febc2e; }
.mwin .tb i:nth-child(3) { background: #28c840; }
.mwin .tb span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.2cqw; font-weight: 600; color: #4a4a4f; }
.scene { position: absolute; left: 0; right: 0; top: 8.6%; bottom: 0; opacity: 0; transition: opacity .45s var(--ease); }
.scene.show { opacity: 1; z-index: 1; }
.files { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4cqw 1cqw; padding: 6cqw 5cqw; }
.file { display: flex; flex-direction: column; align-items: center; gap: 1.2cqw; font-size: 2cqw; }
.file .fi { width: 13cqw; height: 10.5cqw; display: grid; place-items: center; border-radius: 1.4cqw; transition: background .15s; }
.file .fi svg { width: 10cqw; height: 8.4cqw; }
.file .nm { padding: .1cqw 1.1cqw; border-radius: .8cqw; transition: all .15s; white-space: nowrap; }
.file.sel .fi { background: rgba(0, 0, 0, .07); }
.file.sel .nm { background: #2f7cf6; color: #fff; }
.ctx { position: absolute; left: 44%; top: 30%; width: 34%; background: rgba(250, 250, 251, .97); border-radius: 1.4cqw; padding: .8cqw; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .18), 0 3cqw 7cqw rgba(0, 0, 0, .18); font-size: 1.9cqw; transform-origin: 0 0; opacity: 0; transform: scale(.94); transition: opacity .15s, transform .2s var(--ease); }
.ctx.show { opacity: 1; transform: none; }
.ctx div { padding: .7cqw 1.5cqw; border-radius: .7cqw; }
.ctx div.hl2 { background: #2f7cf6; color: #fff; }
.ctx hr { border: 0; border-top: 1px solid #e3e3e6; margin: .6cqw 1cqw; }
.cursor { position: absolute; left: 41%; top: 26%; width: 3.4cqw; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.apps { background: radial-gradient(ellipse at 50% 0%, #6f8796, #2d3b46 75%); color: #fff; padding: 3.4cqw 6cqw; }
.apps .search { width: 36%; margin: 0 auto 3.6cqw; height: 4.4cqw; border-radius: 2.2cqw; background: rgba(255, 255, 255, .16); font-size: 1.9cqw; display: flex; align-items: center; justify-content: center; gap: .8cqw; color: rgba(255, 255, 255, .75); }
.agrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2.6cqw 1cqw; transform: scale(1.08); transition: transform .6s var(--ease); }
.apps.show .agrid { transform: none; }
.app { display: flex; flex-direction: column; align-items: center; gap: .9cqw; font-size: 1.65cqw; color: rgba(255, 255, 255, .9); white-space: nowrap; }
.app b { width: 8.2cqw; height: 8.2cqw; border-radius: 2cqw; display: grid; place-items: center; box-shadow: 0 1cqw 2.4cqw rgba(0, 0, 0, .25); }
.app b svg { width: 4.2cqw; height: 4.2cqw; }
.mc { background: linear-gradient(160deg, #7d97a6, #33495a); }
.mc .w, .desk .w { position: absolute; border-radius: 1.2cqw; background: #f6f7f8; box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .25); transition: all .7s var(--ease); overflow: hidden; }
.mc .w::before, .desk .w::before { content: ""; position: absolute; inset: 0 0 auto; height: 13%; background: #e5e7ea; }
.mc .w::after, .desk .w::after { content: ""; position: absolute; left: 10%; right: 25%; top: 28%; height: 50%; background: repeating-linear-gradient(#dfe2e6 0 6%, transparent 6% 18%); }
.mc .w1 { left: 18%; top: 14%; width: 50%; height: 58%; } .mc .w2 { left: 26%; top: 20%; width: 50%; height: 58%; }
.mc .w3 { left: 22%; top: 28%; width: 50%; height: 58%; } .mc .w4 { left: 32%; top: 32%; width: 50%; height: 58%; }
.mc.show .w1 { left: 6%; top: 24%; width: 40%; height: 32%; } .mc.show .w2 { left: 54%; top: 24%; width: 40%; height: 32%; }
.mc.show .w3 { left: 6%; top: 62%; width: 40%; height: 30%; } .mc.show .w4 { left: 54%; top: 62%; width: 40%; height: 30%; }
.mc .spaces { position: absolute; left: 0; right: 0; top: 3%; height: 13%; display: flex; gap: 3%; justify-content: center; align-items: center; opacity: 0; transition: opacity .5s .15s; }
.mc.show .spaces { opacity: 1; }
.mc .spaces span { width: 12%; height: 70%; border-radius: .8cqw; background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.spot { background: linear-gradient(165deg, #dfe8ec, #c8d6dc); }
.spot-bar { position: absolute; left: 15%; right: 15%; top: 22%; height: 12%; border-radius: 2cqw; background: rgba(255, 255, 255, .94); box-shadow: 0 2cqw 6cqw rgba(30, 50, 60, .2); display: flex; align-items: center; gap: 2cqw; padding: 0 3cqw; font-size: 3cqw; color: #8a8a8f; transform: scale(.94); opacity: 0; transition: all .45s var(--ease); }
.spot-bar svg { width: 3.6cqw; height: 3.6cqw; color: #8a8a8f; }
.spot.show .spot-bar { transform: none; opacity: 1; }
.caret { width: 2px; height: 42%; background: #2f7cf6; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.spot-res { position: absolute; left: 15%; right: 15%; top: 37%; display: grid; gap: 1.4cqw; opacity: 0; transform: translateY(1cqw); transition: all .5s .15s var(--ease); }
.spot.show .spot-res { opacity: 1; transform: none; }
.spot-res li { height: 6cqw; border-radius: 1.4cqw; background: rgba(255, 255, 255, .6); }
.spot-res li:nth-child(2) { width: 80%; } .spot-res li:nth-child(3) { width: 64%; }
.desk { background: radial-gradient(60% 70% at 30% 30%, #f3f7f8, transparent 70%), linear-gradient(160deg, #cfdde3, #a9bfc9); }
.desk .d1 { left: 12%; top: 12%; width: 46%; height: 62%; } .desk .d2 { left: 36%; top: 24%; width: 48%; height: 60%; }
.desk.show .d1 { left: -42%; } .desk.show .d2 { left: 95%; }
.dicons { position: absolute; right: 7%; top: 8%; display: grid; gap: 3cqw; opacity: 0; transition: opacity .5s .3s; }
.desk.show .dicons { opacity: 1; }
.dicons i { width: 8cqw; height: 6.4cqw; border-radius: .9cqw; background: linear-gradient(#8cc0f2, #5aa6f5); }
.photo { overflow: hidden; background: #d9c7b0; }
.photo .img { position: absolute; inset: 0; transform-origin: 50% 55%; }
.photo .img.step { transition: transform .18s var(--ease); }
.keys { position: absolute; right: 4%; bottom: 5%; display: flex; gap: 1cqw; opacity: 0; transition: opacity .2s; }
.keys span { min-width: 5.4cqw; height: 5.4cqw; border-radius: 1.2cqw; background: rgba(255, 255, 255, .92); color: #1d1d1f; font-weight: 600; font-size: 2.4cqw; display: grid; place-items: center; padding: 0 1.2cqw; box-shadow: 0 .4cqw 0 rgba(0, 0, 0, .15); }
.calm-pill { position: absolute; left: 50%; top: 6%; transform: translateX(-50%); background: rgba(30, 40, 48, .72); color: #fff; font-size: 1.9cqw; padding: 1cqw 2.2cqw; border-radius: 999px; opacity: 0; transition: opacity .2s; white-space: nowrap; }

/* ---------- 设置 ---------- */
.setrow { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; margin-top: 100px; }
.more li { position: relative; border-top: 1px solid var(--hair); padding: 18px 0 20px 18px; cursor: pointer; outline: none; }
.more li::before { content: ""; position: absolute; left: 0; top: 22px; width: 1px; height: 0; background: var(--accent); transition: height .45s var(--ease); }
.more li.on::before { height: calc(100% - 44px); }
.more h4 { font-size: 15px; font-weight: 500; letter-spacing: .1em; transition: color .3s; }
.more li.on h4 { color: var(--accent); }
.more p { font-size: 13px; color: var(--ink-2); line-height: 1.9; margin-top: 4px; }
.more p.chips { font-size: 12px; color: var(--muted); margin-top: 8px; }
.desk2 { position: relative; display: flex; flex-direction: column; align-items: center; }
.menubar { width: 470px; max-width: 100%; height: 28px; border-radius: 9px; background: rgba(255, 255, 255, .5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px var(--glass-line); display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 0 12px; font-size: 12px; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 18px; position: relative; z-index: 5; }
.mb-icon { width: 26px; height: 22px; border-radius: 5px; display: grid; place-items: center; color: var(--ink); transition: background .2s; }
.mb-icon svg { width: 16px; height: 16px; }
.mb-icon:hover, .menubar.open .mb-icon { background: rgba(52, 65, 75, .1); }
.mb-drop { position: absolute; right: 8px; top: 31px; width: 220px; padding: 5px; border-radius: 10px; background: rgba(250, 251, 252, .96); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15), 0 16px 40px rgba(30, 50, 60, .18); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: all .2s var(--ease); color: #1d1d1f; font-size: 13px; letter-spacing: 0; }
.menubar.open .mb-drop { opacity: 1; transform: none; pointer-events: auto; }
.mb-drop button { width: 100%; display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 5px; text-align: left; }
.mb-drop button:hover { background: #2f7cf6; color: #fff; }
.mb-drop button i { width: 14px; font-style: normal; font-size: 11px; }
.mb-drop button.chk i::before { content: "✓"; }
.mb-drop kbd { margin-left: auto; font-family: inherit; font-size: 12px; opacity: .5; }
.mb-drop hr { border: 0; border-top: 1px solid #e3e3e6; margin: 4px 6px; }

.uiwin { width: 470px; border-radius: 14px; overflow: hidden; background: #ececee; position: relative; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15), 0 30px 80px rgba(52, 84, 104, .2), 0 8px 24px rgba(52, 84, 104, .08); text-align: left; letter-spacing: 0; line-height: 1.4; transition: opacity .3s; }
.uiwin .tbar { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; position: relative; }
.uiwin .tbar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.uiwin .tbar i:nth-child(2) { background: #febc2e; } .uiwin .tbar i:nth-child(3) { background: #28c840; }
.uiwin .tbar span { position: absolute; left: 0; right: 0; text-align: center; font-size: 13px; font-weight: 600; color: #4a4a4f; }
.uiwin .scroll { position: relative; height: 580px; overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.ui { font-size: 13px; color: #1d1d1f; padding: 4px 20px 26px; }
.ui .card2 { background: #f7f7f8; border-radius: 12px; transition: box-shadow .4s; }
.ui .head { display: flex; align-items: center; gap: 16px; padding: 14px 20px; }
.ui .head h3 { font-size: 22px; font-weight: 700; }
.ui .ok { display: flex; align-items: center; gap: 6px; color: #6e6e73; font-size: 12.5px; margin-top: 3px; }
.ui .ok i { width: 7px; height: 7px; border-radius: 50%; background: #34c759; display: inline-block; }
.ui .last { font-size: 11px; color: #86868b; margin-top: 5px; }
.ui .sec2 { font-size: 13px; font-weight: 600; margin: 18px 0 8px 10px; }
.ui .foot { font-size: 11px; color: #86868b; margin: 7px 10px 0; line-height: 1.5; }
.ui .row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; position: relative; border-radius: 10px; transition: box-shadow .4s, background .4s; }
.ui .row::before { content: ""; position: absolute; left: 46px; right: 12px; top: 0; height: 1px; background: #e2e2e5; }
.ui .card2 > .row:first-child::before, .ui .card2 > .sub:first-child > .row:first-child::before { display: none; }
.ui .ib { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; flex: none; }
.ui .ib svg { width: 14px; height: 14px; }
.ui .lb { flex: 1; min-width: 0; }
.ui .lb b { font-weight: 500; font-size: 13px; display: block; }
.ui .lb small { font-size: 10.5px; color: #86868b; display: block; margin-top: 1px; }
.ui .row.sl { display: block; }
.ui .row.sl .top { display: flex; align-items: center; gap: 10px; }
.ui .bar { display: flex; align-items: center; gap: 8px; margin: 8px 0 2px 34px; font-size: 10.5px; color: #86868b; }
.ui .bar span { width: 26px; text-align: center; }
.ui input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #b9b9be var(--v, 50%), #dedee1 var(--v, 50%)); outline: none; cursor: pointer; }
.ui input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 13px; border-radius: 7px; background: #fff; box-shadow: 0 .5px 2.5px rgba(0, 0, 0, .35); }
.ui input[type=range]::-moz-range-thumb { width: 20px; height: 13px; border: 0; border-radius: 7px; background: #fff; box-shadow: 0 .5px 2.5px rgba(0, 0, 0, .35); }
.ui .sub { display: block; }
.ui .sub.hidden { display: none; }
.ui .perm { display: flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 8px 14px; }
.ui .perm i { width: 8px; height: 8px; border-radius: 50%; background: #34c759; flex: none; }
.ui .perm small { color: #86868b; margin-left: auto; font-size: 11px; text-align: right; }
.ui .glow { box-shadow: 0 0 0 2px rgba(76, 130, 163, .55), 0 0 0 7px rgba(76, 130, 163, .14); }
.sw { width: 38px; height: 23px; border-radius: 12px; background: #dcdcde; position: relative; flex: none; cursor: pointer; transition: background .25s; }
.sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: left .28s cubic-bezier(.3, 1.4, .5, 1); }
.sw.on { background: #34c759; }
.sw.on::after { left: 17px; }
.pick { font-size: 12.5px; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 3px 4px 3px 8px; border-radius: 6px; }
.pick:hover { background: #e6e6e9; }
.pick em { font-style: normal; width: 18px; height: 18px; border-radius: 50%; background: #e1e1e4; display: grid; place-items: center; font-size: 9px; color: #555; }
.mini-btn { font-size: 11.5px; padding: 3px 10px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15), 0 .5px 1px rgba(0, 0, 0, .1); white-space: nowrap; }
.toast { position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 16px); background: rgba(30, 40, 48, .86); color: #fff; font-size: 12.5px; padding: 8px 14px; border-radius: 999px; opacity: 0; transition: all .35s; white-space: nowrap; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 工作原理 ---------- */
.flow { display: grid; grid-template-columns: 1fr 80px 1fr 80px 1fr; align-items: center; max-width: 920px; margin: 0 auto; }
.fnode { text-align: center; padding: 20px 12px; border-radius: 18px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.fnode b { display: block; font-size: 14px; font-weight: 500; letter-spacing: .1em; }
.fnode small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 4px; letter-spacing: .04em; }
.fline { height: 1px; background: var(--hair); position: relative; }
.fline::after { content: ""; position: absolute; top: -2.5px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: travel 2.6s linear infinite; }
.fline + .fnode + .fline::after { animation-delay: 1.3s; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 6px); opacity: 0; } }
@keyframes travelY { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 6px); opacity: 0; } }
.outs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 920px; margin: 16px auto 0; }
.outs > div { text-align: center; font-size: 12.5px; color: var(--ink-2); padding: 12px 10px; border-radius: 14px; border: 1px dashed var(--hair); letter-spacing: .04em; }

/* ---------- 下载 ---------- */
#download { text-align: center; }
.dl-icon { width: 76px; height: 76px; margin: 0 auto 34px; filter: drop-shadow(0 14px 30px rgba(52, 84, 104, .22)); }
.sha { display: block; margin: 30px auto 0; font-size: 11px; letter-spacing: .14em; color: var(--muted); line-height: 2; transition: color .3s; }
.sha code { background: none; padding: 0; font-size: 11px; word-break: break-all; }
.sha:hover { color: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 56px; max-width: 1020px; margin: 0 auto; text-align: left; }
.steps li { border-top: 1px solid var(--hair); padding-top: 24px; }
.steps .n { font-size: 40px; font-weight: 300; color: var(--faint); line-height: 1; letter-spacing: .02em; }
.steps h4 { font-size: 16px; font-weight: 500; letter-spacing: .14em; margin-top: 18px; }
.steps p { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.95; }
.code { position: relative; margin-top: 14px; padding: 10px 64px 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 1px var(--glass-line); overflow-x: auto; white-space: nowrap; }
.code code { background: none; padding: 0; font-size: 11.5px; color: var(--ink-2); }
.copy { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 11px; letter-spacing: .08em; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--hair); color: var(--ink-2); background: rgba(255, 255, 255, .6); }

/* ---------- 问答 ---------- */
.faq-wrap { display: grid; grid-template-columns: 280px 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; max-width: 1020px; margin: 0 auto; }
.faq-head { position: sticky; top: 140px; }
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 15.5px; letter-spacing: .08em; position: relative; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; transform: translateY(-50%); background: linear-gradient(currentColor, currentColor) center / 11px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 11px no-repeat; color: var(--muted); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .ans { height: 0; overflow: hidden; transition: height .5s var(--ease); }
.faq .ans-in { padding: 0 30px 26px 0; color: var(--ink-2); font-size: 14px; line-height: 2; }
.road { max-width: 1020px; margin: 150px auto 0; text-align: center; }

/* ---------- 页脚 ---------- */
footer { padding: 170px 24px 60px; text-align: center; color: var(--muted); font-size: 12.5px; letter-spacing: .1em; }
footer .made { font-size: 13.5px; letter-spacing: .2em; color: var(--ink-2); }
footer .count { display: none; margin-top: 8px; }
footer .count b { font-weight: 500; color: var(--accent); }
footer .links { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
footer .links a:hover { color: var(--ink); }
footer .thanks { margin-top: 28px; font-size: 11.5px; line-height: 2.1; color: var(--faint); letter-spacing: .06em; }
footer .thanks a { color: var(--muted); }
footer .thanks a:hover { color: var(--ink); }

/* ---------- 进场：雾中显影 ---------- */
.rv { opacity: 0; filter: blur(10px); transform: translateY(14px); transition: opacity 1.4s var(--ease), filter 1.4s var(--ease), transform 1.4s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; filter: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; filter: none; transform: none; transition: none; }
  .cue i, .fline::after, .caret { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1060px) {
  .uiwin { zoom: .9; }
  .menubar { width: 423px; }
}
@media (max-width: 860px) {
  .nav-r .hide-m { display: none; }
  .nav-r { gap: 18px; }
  .sec { padding-top: 140px; }
  .figures, .steps { grid-template-columns: 1fr; gap: 0; }
  .figures { text-align: center; max-width: 360px; }
  .figures > div { padding-bottom: 26px; }

  .story { display: block; margin-top: 40px; }
  .stage { position: sticky; top: var(--nav-h); height: auto; z-index: 6; padding: 14px 20px 14px; margin: 0 calc(-1 * clamp(20px, 5vw, 60px)); gap: 10px;
    background: rgba(236, 243, 245, .86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--hair-2); }
  .stage-mouse { width: 84px; }
  .stage-in { gap: 16px; }
  .stage-cap { font-size: 12px; min-height: 1.6em; }
  .stage-nav { gap: 14px; }
  .stage-nav i { width: 44px; }
  .ch { min-height: 115vh; padding: 8vh 0 6vh; }
  .ch-in { position: static; }
  .ch:last-child { min-height: 90vh; }



  .setrow { grid-template-columns: 1fr; margin-top: 60px; }
  .desk2 { order: -1; scroll-margin-top: calc(var(--nav-h) + 12px); }
  .uiwin { zoom: .76; }
  .menubar { width: 357px; }

  .flow { grid-template-columns: 1fr; gap: 0; max-width: 340px; }
  .fline { height: 36px; width: 1px; justify-self: center; }
  .fline::after { left: -2.5px; top: 0; animation-name: travelY; }
  .outs { grid-template-columns: 1fr; max-width: 340px; }

  .faq-wrap { grid-template-columns: 1fr; gap: 30px; }
  .faq-head { position: static; }
}
@media (max-width: 420px) {
  .uiwin { zoom: .68; }
  .menubar { width: 320px; }
  .brand { font-size: 12.5px; }
}
