/* Slowkeep site. Layout: left-aligned editorial column, product shown in live device frames; one sticky phone drives the tour.
   Tokens mirror apps/mobile/src/constants/mindgarden-theme.ts so the site and the app are one system. */
:root{
  --paper:#FAF9F7;--raised:#FFFFFF;--sunk:#F1F0EC;--ink:#161513;--muted:#67645C;--faint:#8C887F;--line:rgba(22,21,19,.1);
  --green:#2F9E58;--green-ink:#227A43;--leaf:#E6F4EA;--leaf-2:#8FCCA4;--mark:rgba(72,164,119,.3);--note:#326EA7;--note-soft:#EAF2FA;--warn:#B8620A;
  --frame:#1C1C1A;--frame-edge:#3A3A36;--btn:#161513;--btn-fg:#FAF9F7;--glass:rgba(250,249,247,.78);--dim:rgba(0,0,0,.22);--sheet:#EFEFF1;
  --shadow:0 40px 80px -40px rgba(40,38,30,.35),0 12px 30px -18px rgba(40,38,30,.25);
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Roboto,sans-serif;
  --serif:"New York",ui-serif,"Songti SC","Noto Serif SC","Source Han Serif SC",Georgia,serif;
  --ease:cubic-bezier(.23,1,.32,1);--sheet-ease:cubic-bezier(.32,.72,0,1);
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --paper:#0A0A0B;--raised:#17171A;--sunk:#141416;--ink:#F4F3F1;--muted:#A6A29A;--faint:#8A867F;--line:rgba(255,255,255,.1);
  --green:#3ECB70;--green-ink:#5ED68B;--leaf:#16301F;--leaf-2:#1F5C36;--mark:rgba(72,164,119,.4);--note:#88B9ED;--note-soft:#1D2D3D;--warn:#E08A3C;
  --frame:#2A2A2D;--frame-edge:#46464B;--btn:#F4F3F1;--btn-fg:#0A0A0B;--glass:rgba(10,10,11,.75);--dim:rgba(0,0,0,.5);--sheet:#1C1C1F;
  --shadow:0 40px 80px -40px rgba(0,0,0,.8),0 0 0 1px rgba(255,255,255,.04);color-scheme:dark}}
:root[data-theme="dark"]{
  --paper:#0A0A0B;--raised:#17171A;--sunk:#141416;--ink:#F4F3F1;--muted:#A6A29A;--faint:#8A867F;--line:rgba(255,255,255,.1);
  --green:#3ECB70;--green-ink:#5ED68B;--leaf:#16301F;--leaf-2:#1F5C36;--mark:rgba(72,164,119,.4);--note:#88B9ED;--note-soft:#1D2D3D;--warn:#E08A3C;
  --frame:#2A2A2D;--frame-edge:#46464B;--btn:#F4F3F1;--btn-fg:#0A0A0B;--glass:rgba(10,10,11,.75);--dim:rgba(0,0,0,.5);--sheet:#1C1C1F;
  --shadow:0 40px 80px -40px rgba(0,0,0,.8),0 0 0 1px rgba(255,255,255,.04);color-scheme:dark}

*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:84px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 var(--sans);font-synthesis:none;-webkit-font-smoothing:antialiased;overflow-x:hidden}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:60;background:var(--glass)}
a{color:inherit}
h1,h2,h3,h4,p{margin:0}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}
button{font:inherit;color:inherit}
.serif{font-family:var(--serif)}
::selection{background:var(--mark)}
:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:12px;top:-60px;z-index:99;background:var(--btn);color:var(--btn-fg);padding:10px 14px;border-radius:10px;text-decoration:none}
.skip:focus{top:calc(10px + env(safe-area-inset-top,0px))}
.sel{user-select:all}

.sec-in,.nav-in,.hero-in{width:100%;max-width:1200px;margin-inline:auto;padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:999px;font:600 15px/1 var(--sans);text-decoration:none;border:0;cursor:pointer;transition:transform .2s var(--ease),background .2s,opacity .2s}
.btn:active{transform:scale(.97)}
.btn-ink{background:var(--btn);color:var(--btn-fg)}
.btn-ink:hover{opacity:.86}
.btn-ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
.btn-ghost:hover{background:var(--sunk)}
.btn-sm{min-height:38px;padding:0 16px;font-size:14px}

/* nav */
.nav{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;background:var(--glass);-webkit-backdrop-filter:saturate(1.4) blur(18px);backdrop-filter:saturate(1.4) blur(18px);border-bottom:1px solid transparent;transition:border-color .3s}
.nav.scrolled{border-bottom-color:var(--line)}
.nav-in{height:64px;display:flex;align-items:center;gap:28px}
.brand{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink)}
.brand .sym{width:28px;height:28px}
.brand .wm{height:17px;width:auto}
.nav-links{display:flex;gap:26px;margin-left:12px}
.nav-links a{font-size:14px;color:var(--muted);text-decoration:none;transition:color .2s}
.nav-links a:hover{color:var(--ink)}
.nav-end{margin-left:auto;display:flex;align-items:center;gap:10px}
.lang{position:relative}
.lang-btn{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 12px;border:0;border-radius:999px;background:transparent;font-size:14px;color:var(--muted);cursor:pointer}
.lang-btn:hover,.lang-btn[aria-expanded="true"]{background:var(--sunk);color:var(--ink)}
.lang-pop{position:absolute;right:0;top:calc(100% + 6px);min-width:160px;padding:6px;border-radius:14px;background:var(--raised);box-shadow:var(--shadow),0 0 0 1px var(--line);display:flex;flex-direction:column}
.lang-pop button{border:0;background:none;text-align:left;padding:10px 12px;border-radius:9px;font-size:14px;cursor:pointer;display:flex;justify-content:space-between}
.lang-pop button:hover{background:var(--sunk)}
.lang-pop button[aria-checked="true"]::after{content:"✓";color:var(--green-ink)}
.lang-hint{position:fixed;z-index:70;left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:8px 8px 8px 16px;border-radius:999px;background:var(--btn);color:var(--btn-fg);font-size:14px;box-shadow:var(--shadow);max-width:calc(100% - 32px)}
.lang-hint button{border:0;border-radius:999px;background:var(--btn-fg);color:var(--btn);padding:8px 12px;font-weight:600;cursor:pointer;white-space:nowrap}
.lang-hint .lang-hint-x{background:transparent;color:var(--btn-fg);padding:6px 10px;font-size:18px;line-height:1}

/* hero */
.hero{padding-top:72px;overflow:hidden}
.hero-in{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:40px;align-items:center}
.status{display:inline-flex;align-items:center;gap:9px;font-size:14px;color:var(--muted);margin-bottom:28px}
.pulse{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 0 var(--mark);animation:pulse 2.4s infinite}
@keyframes pulse{70%{box-shadow:0 0 0 9px transparent}100%{box-shadow:0 0 0 0 transparent}}
.hero h1{font-size:clamp(46px,7.2vw,96px);line-height:.98;letter-spacing:-.05em;font-weight:700}
:lang(zh) .hero h1{line-height:1.12;letter-spacing:-.03em;font-size:clamp(42px,6.4vw,84px)}
.lead{margin-top:28px;font-size:19px;line-height:1.6;color:var(--muted);max-width:33em}
:lang(zh) .lead{font-size:18px;line-height:1.85}
.hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:36px}
.hero-cta.center{justify-content:center}
.fine{margin-top:18px;font-size:13px;color:var(--faint)}

.hero-stage{position:relative;height:680px;display:flex;align-items:center;justify-content:center}
.slips{position:absolute;inset:0;pointer-events:none;z-index:3}
.slip{position:absolute;display:flex;align-items:center;gap:10px;padding:10px 14px 10px 10px;border-radius:14px;background:var(--raised);box-shadow:0 0 0 1px var(--line),0 18px 40px -22px rgba(40,38,30,.4);max-width:230px;animation:bob 7s ease-in-out infinite}
.slip span{display:flex;flex-direction:column;min-width:0}
.slip b{font:600 11px/1.3 var(--sans);color:var(--faint)}
.slip em{font:500 13.5px/1.35 var(--serif);font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.s-a{left:0;top:20%;transform:rotate(-4deg)}
.s-b{right:-2%;top:12%;transform:rotate(3deg);animation-delay:-2s}
.s-c{left:2%;bottom:24%;transform:rotate(3deg);animation-delay:-4s}
.s-d{right:0;bottom:14%;transform:rotate(-3deg);animation-delay:-5.5s}
@keyframes bob{50%{translate:0 -8px}}
.k{width:30px;height:30px;border-radius:8px;flex:none;display:block}
.k-art,.th-art{background:linear-gradient(160deg,#DDEBDD,#C3DCC5)}
.k-vid,.th-vid{background:linear-gradient(160deg,#334450,#1D262C)}
.k-pod,.th-pod{background:linear-gradient(160deg,#E2DCF0,#CBC0E6)}
.k-book,.th-book{background:linear-gradient(160deg,#EADFC8,#D9C7A3)}
.th-post{background:linear-gradient(160deg,#F3DCD3,#E5BFB0)}

/* ---------- device frame ---------- */
.device{position:relative;width:300px;height:624px;flex:none;border-radius:52px;padding:11px;background:var(--frame);box-shadow:inset 0 0 0 1.5px var(--frame-edge),var(--shadow);z-index:2}
.island{position:absolute;left:50%;top:21px;width:86px;height:25px;margin-left:-43px;border-radius:20px;background:#000;z-index:20}
.screen{position:relative;width:278px;height:602px;border-radius:42px;overflow:hidden;background:var(--a-bg)}

/* ---------- the app's own UI, drawn at real iPhone size (390 × 844 pt) and scaled into the frame ---------- */
:root{
  --a-bg:#FAF9F7;--a-surface:#FFFFFF;--a-muted:#F1F1EF;--a-text:#161513;--a-sub:#7A776E;--a-line:rgba(22,21,19,.1);
  --a-green:#2F9E58;--a-green-soft:#E6F4EA;--a-green-mid:#8FCCA4;--a-warn:#B8620A;--a-link:#007AFF;--a-note:#487FA8;
  --a-mark-y:rgba(216,175,36,.3);--a-gold:#D8AF24;--a-sheet:#F2F2F4;--a-dim:rgba(0,0,0,.25);
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --a-bg:#0A0A0B;--a-surface:#17171A;--a-muted:#1E1E21;--a-text:#F4F3F1;--a-sub:#918D88;--a-line:rgba(255,255,255,.09);
  --a-green:#3ECB70;--a-green-soft:#16301F;--a-green-mid:#1F5C36;--a-warn:#E08A3C;--a-link:#0A84FF;--a-note:#88B9ED;
  --a-mark-y:rgba(216,175,36,.36);--a-sheet:#1C1C1F;--a-dim:rgba(0,0,0,.55)}}
:root[data-theme="dark"]{
  --a-bg:#0A0A0B;--a-surface:#17171A;--a-muted:#1E1E21;--a-text:#F4F3F1;--a-sub:#918D88;--a-line:rgba(255,255,255,.09);
  --a-green:#3ECB70;--a-green-soft:#16301F;--a-green-mid:#1F5C36;--a-warn:#E08A3C;--a-link:#0A84FF;--a-note:#88B9ED;
  --a-mark-y:rgba(216,175,36,.36);--a-sheet:#1C1C1F;--a-dim:rgba(0,0,0,.55)}

.ui{position:absolute;left:0;top:0;width:390px;height:844px;transform:scale(.7128);transform-origin:0 0;background:var(--a-bg);color:var(--a-text);font:400 16px/24px var(--sans);letter-spacing:-.2px;overflow:hidden}
.ui p{margin:0}
.ui svg{display:block}
.ic{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ic.dots{stroke-width:3.2}
.sbar{position:absolute;left:0;right:0;top:0;height:54px;padding:18px 34px 0 48px;display:flex;justify-content:space-between;align-items:center;font:600 17px/1 var(--sans);letter-spacing:-.3px;z-index:15;color:var(--a-text)}
.sbar .sb-r{display:flex;gap:6px;align-items:center}
.sbar svg{height:12px;width:auto;fill:currentColor}
.v{position:absolute;inset:0;padding-top:54px;background:var(--a-bg);transition:transform .55s var(--ease),opacity .4s}
.hdr{display:flex;align-items:center;justify-content:space-between;padding:22px 20px 6px}
.hdr h3{margin:0;font:700 34px/41px var(--sans);letter-spacing:-.8px}
.hdr-ic{display:flex;gap:22px;color:var(--a-text)}
.hdr-ic .ic{width:26px;height:26px}

/* rows */
.rows{margin-top:10px}
.row{display:flex;align-items:center;gap:12px;padding-left:20px;overflow:hidden}
.row .mid{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;padding:16px 20px 16px 0;border-bottom:1px solid var(--a-line)}
.rt{font:600 17px/23px var(--sans);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rm{display:flex;align-items:center;gap:6px;font:400 13.5px/18px var(--sans);color:var(--a-sub);min-width:0}
.rm span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pf{width:16px;height:16px;border-radius:4.5px;flex:none;display:block}
.p-xhs{background:#FF2442}.p-yt{background:#FF0000}.p-pod{background:#9B5CE0}.p-sub{background:#FF6719}.p-bili{background:#FB7299}.p-wx{background:#07C160}
.ring-row{display:flex;align-items:center;gap:5px;font:400 13px/18px var(--sans);color:var(--a-sub);font-variant-numeric:tabular-nums}
.ring{width:15px;height:15px;transform:rotate(-90deg);flex:none}
.ring circle{fill:none;stroke-width:2}
.ring .rbg,.big-ring .rbg{stroke:var(--a-line)}
.ring .rfg,.big-ring .rfg{stroke:currentColor;stroke-linecap:round;transition:stroke-dasharray .45s var(--ease),stroke .3s}
.ring-row.warn{color:var(--a-warn)}
.ring-row.warn b{font-weight:700}

/* thumbnails (example art, no real images) */
.thumb{width:64px;height:64px;border-radius:12px;flex:none;display:flex;align-items:flex-start;justify-content:flex-start;overflow:hidden;position:relative;font-style:normal}
.thumb.sm{width:44px;height:44px;border-radius:9px}
.thumb.xs{width:34px;height:34px;border-radius:7px}
.thumb b{font:600 9.5px/1.25 var(--sans);padding:8px 7px;letter-spacing:0}
.thumb.sm b{font-size:6.5px;padding:5px}
.tx-post{background:linear-gradient(160deg,#FCE8E2,#F6D2C6);color:#6B3524}
.tx-quote{background:#D6F2EE;color:#2D5F59}
.tx-vid1{background:radial-gradient(circle at 70% 30%,#5A6B55,#1E2620 70%)}
.tx-vid2{background:linear-gradient(150deg,#F2D7A0 0%,#E58BA7 55%,#6C4CA0 100%)}
.tx-pod{background:linear-gradient(160deg,#F7E1F0,#E0CBEF);color:#6B2E78}
.thumb.play::after{content:"";position:absolute;inset:0;margin:auto;width:28px;height:28px;border-radius:50%;background:rgba(0,0,0,.45) no-repeat 55% 50%/11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0l10 6-10 6z' fill='white'/%3E%3C/svg%3E")}

/* tab bar */
.tabbar{position:absolute;left:0;right:0;bottom:0;height:96px;padding:10px 6px 0;display:grid;grid-template-columns:repeat(5,1fr);justify-items:center;align-items:start;background:var(--a-bg);border-top:1px solid var(--a-line);font:500 12.5px/1 var(--sans);color:var(--a-sub)}
.tabbar span{display:flex;flex-direction:column;align-items:center;gap:6px}
.tabbar .ic{width:27px;height:27px}
.tabbar .on{color:var(--a-text);font-weight:700}
.tabbar .plus{width:58px;height:58px;margin-top:-2px;border-radius:50%;background:var(--a-text);color:var(--a-bg);display:grid;place-items:center}
.tabbar .plus .ic{width:30px;height:30px;stroke-width:2}

/* typing */
.caret{display:inline-block;width:2px;height:20px;vertical-align:-4px;background:var(--a-green);animation:blink 1s steps(1) infinite;margin-left:1px}
@keyframes blink{50%{opacity:0}}
.tap{position:absolute;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:rgba(127,127,127,.38);opacity:0;transform:scale(.4);transition:opacity .25s,transform .3s;pointer-events:none;z-index:12}

/* ---------- hero loop ---------- */
.v-post{padding-top:54px}
.post-bar{display:flex;align-items:center;gap:10px;padding:10px 18px 12px;font:600 15px/1 var(--sans)}
.ico-chev{width:12px;height:12px;border:solid var(--a-text);border-width:0 0 2.2px 2.2px;transform:rotate(45deg);flex:none;margin-left:4px}
.ico-chev.r{transform:rotate(-135deg);margin:0 4px 0 0;border-color:var(--a-sub)}
.avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(140deg,#C9D9C2,#8FB49A)}
.follow{margin-left:auto;padding:6px 14px;border-radius:999px;border:1px solid #FF2442;color:#FF2442;font-size:13px}
.ico-share svg{width:24px;height:24px;fill:none;stroke:var(--a-text);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.post-art{height:400px;background:linear-gradient(165deg,#FCE8E2,#F2C7B8);display:flex;align-items:center;padding:0 36px;font:700 38px/1.15 var(--sans);color:#6B3524;letter-spacing:-.8px}
.post-body{padding:16px 18px}
.post-title{font:700 20px/27px var(--sans)}
.post-text{margin-top:8px!important;font:15.5px/24px var(--sans);color:var(--a-sub)}
.dim{position:absolute;inset:0;background:var(--a-dim);opacity:0;transition:opacity .35s;z-index:8}
.sheet{position:absolute;left:0;right:0;bottom:0;padding:16px 16px 40px;border-radius:30px 30px 0 0;background:var(--a-sheet);transform:translateY(105%);transition:transform .55s var(--sheet-ease);z-index:9}
.sh-head{display:flex;align-items:center;gap:12px;padding:4px 4px 16px;border-bottom:1px solid var(--a-line)}
.sh-head span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.sh-head b{font:600 15px/20px var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sh-head small{font-size:13px;color:var(--a-sub)}
.sh-x{width:30px;height:30px;border-radius:50%;background:var(--a-line)}
.sh-apps{display:grid;grid-template-columns:repeat(4,1fr);padding:20px 0 16px}
.sh-apps span{display:flex;flex-direction:column;align-items:center;gap:8px}
.sh-apps small{font-size:12px;color:var(--a-text)}
.app{width:64px;height:64px;border-radius:15px;display:grid;place-items:center;transition:transform .2s var(--ease),box-shadow .2s}
.a1{background:linear-gradient(#6FDB6A,#2FBF3E)}.a2{background:linear-gradient(#55A7FF,#1A73E8)}.a3{background:linear-gradient(#FFE27A,#F5C431)}
.ask{background:#FAF9F7;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.ask .sym{width:44px;height:44px}
.sh-list{display:flex;flex-direction:column;border-radius:14px;background:var(--a-surface);overflow:hidden}
.sh-list span{padding:15px 16px;font-size:16px}
.sh-list span+span{border-top:1px solid var(--a-line)}
.panel-sk{position:absolute;left:0;right:0;bottom:0;height:640px;padding:18px 20px;border-radius:30px 30px 0 0;background:var(--a-bg);transform:translateY(105%);transition:transform .55s var(--sheet-ease);z-index:10}
.pk-head{display:flex;align-items:center;justify-content:space-between}
.pk-head b{font:600 17px/1 var(--sans)}
.pk-x{width:34px;height:34px;border-radius:50%;background:var(--a-muted) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 1l10 10M11 1L1 11' stroke='%23888' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")}
.pk-save{padding:9px 18px;border-radius:999px;background:var(--a-text);color:var(--a-bg);font:600 15px/1 var(--sans);transition:transform .15s}
.pk-prev{display:flex;gap:12px;align-items:center;margin-top:22px;padding:12px;border-radius:16px;background:var(--a-muted)}
.pk-prev span{display:flex;flex-direction:column;gap:3px;min-width:0}
.pk-prev b{font:600 15px/20px var(--sans);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pk-prev small{font-size:13px;color:var(--a-sub)}
.pk-opts{display:flex;gap:10px;margin-top:14px}
.pk-chip{display:flex;align-items:center;gap:6px;padding:10px 14px;border-radius:12px;background:var(--a-muted);font:500 15px/1 var(--sans)}
.pk-chip .ic{width:19px;height:19px}
.pk-chip em{font-style:normal;font-weight:600;color:var(--a-sub)}
.pk-chip b{font-weight:500}
.pk-note{position:relative;margin-top:14px;min-height:110px;padding:14px;border-radius:14px;background:var(--a-muted);font-size:16px}
.pk-note .ph{position:absolute;left:14px;top:14px;color:var(--a-sub)}
.pk-note .caret{display:none}
.pk-done{position:absolute;inset:0;border-radius:30px 30px 0 0;background:var(--a-bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;font:600 18px/1 var(--sans);opacity:0;transition:opacity .3s}
.pk-done .tick{width:54px;height:54px}
.pk-done .tick::after{left:19px;top:12px;width:11px;height:22px;border-width:0 3.5px 3.5px 0}
.tick{width:18px;height:18px;border-radius:50%;background:var(--a-green);position:relative;flex:none;display:inline-block}
.tick::after{content:"";position:absolute;left:6px;top:3.5px;width:4.5px;height:8.5px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.v-inbox{transform:translateX(104%)}
.row-new{max-height:0;transition:max-height .6s var(--ease),background 1.4s}
.row-new .mid{border-bottom-color:transparent}
.tap-share{left:356px;top:79px}.tap-sk{left:240px;top:150px}.tap-save{left:334px;top:28px}

.hero-phone.f1 .tap-share{opacity:1;transform:scale(1)}
.hero-phone.f2 .tap-share{opacity:0;transform:scale(1.6)}
.hero-phone.f2 .dim{opacity:1}
.hero-phone.f2 .sheet{transform:none}
.hero-phone.f3 .tap-sk{opacity:1;transform:scale(1)}
.hero-phone.f3 .ask{transform:scale(.9);box-shadow:0 0 0 3px var(--a-green)}
.hero-phone.f4 .sheet{transform:translateY(105%)}
.hero-phone.f4 .panel-sk{transform:none}
.hero-phone.f5 .pk-note .ph{display:none}
.hero-phone.f5 .pk-note .caret{display:inline-block}
.hero-phone.f6 .tap-save{opacity:1;transform:scale(1)}
.hero-phone.f6 .pk-save{transform:scale(.92)}
.hero-phone.f7 .pk-done{opacity:1}
.hero-phone.f7 .tap-save{opacity:0}
.hero-phone.f8 .v-post{transform:translateX(-26%);opacity:0}
.hero-phone.f8 .v-inbox{transform:none}
.hero-phone.f9 .row-new{max-height:140px;background:var(--a-green-soft)}
.hero-phone.f9 .row-new .mid{border-bottom-color:var(--a-line)}
.hero-phone.f10 .row-new{background:transparent}

.hero-steps{list-style:none;margin:36px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.hero-steps li{display:flex;align-items:center;gap:12px;padding:8px 12px 8px 8px;border-radius:12px;color:var(--faint);font-size:15px;transition:color .3s,background .3s;width:max-content;max-width:100%}
.hero-steps li.on{color:var(--ink);background:var(--sunk)}
.hs-n{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font:600 12px/1 var(--sans);background:var(--sunk);color:var(--muted);transition:.3s;flex:none}
.hero-steps li.on .hs-n{background:var(--green);color:#fff}

/* ---------- tour screens ---------- */
.ts{position:absolute;inset:0;opacity:0;transition:opacity .45s;pointer-events:none}
.ts.on{opacity:1}
.dt-top{display:flex;align-items:center;justify-content:space-between;padding:8px 20px 10px;min-height:56px}
.dt-top .ic{width:26px;height:26px}
.dt-c{font:600 18px/1 var(--sans)}
.seg-pill{display:flex;padding:4px;border-radius:999px;background:var(--a-muted)}
.seg-pill b{padding:9px 22px;border-radius:999px;font:600 15px/1 var(--sans);color:var(--a-sub);transition:.3s}
.seg-pill b.on{background:var(--a-surface);color:var(--a-text);box-shadow:0 1px 3px rgba(0,0,0,.1)}
.dt-title{padding:8px 20px 0;font:700 26px/34px var(--sans);letter-spacing:-.5px}
.v-detail .rm{padding:8px 20px 0}
.dt-tag{padding:14px 20px 0;font-size:15px}
.dt-video{position:relative;margin:16px 20px 0;height:216px;border-radius:16px;background:linear-gradient(150deg,#F2D7A0 0%,#E58BA7 55%,#6C4CA0 100%);overflow:hidden}
.dv-play{position:absolute;inset:0;margin:auto;width:58px;height:58px;border-radius:14px;background:rgba(255,255,255,.85) no-repeat 56% 50%/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0l10 6-10 6z' fill='%23555'/%3E%3C/svg%3E")}
.dv-stats,.dv-dur{position:absolute;bottom:12px;font:500 13px/1 var(--sans);color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.4)}
.dv-stats{left:16px}.dv-dur{right:16px}
.dt-card{display:flex;align-items:center;gap:14px;margin:18px 20px 0;padding:16px;border-radius:18px;border:1px solid var(--a-line);background:var(--a-surface);transition:background .3s}
.dc-ic{width:46px;height:46px;border-radius:12px;background:var(--a-muted);display:grid;place-items:center}
.dt-card span{display:flex;flex-direction:column;gap:2px}
.dt-card b{font:600 19px/1.2 var(--sans)}
.dt-card small{font-size:14px;color:var(--a-sub)}
.v-trans{transform:translateX(104%)}
.mini-player{display:flex;align-items:center;gap:12px;margin:2px 20px 6px;padding:10px 14px;border-radius:14px;background:var(--a-muted)}
.mp-play{width:28px;height:28px;border-radius:50%;background:var(--a-text) no-repeat 56% 50%/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0l10 6-10 6z' fill='white'/%3E%3C/svg%3E")}
.mp-rail{flex:1;height:4px;border-radius:2px;background:var(--a-line);position:relative;overflow:hidden;display:block}
.mp-rail i{position:absolute;inset:0 auto 0 0;width:12%;background:var(--a-text);border-radius:2px;transition:width .7s var(--ease)}
.mp-t{font:500 13px/1 var(--sans);color:var(--a-sub);font-variant-numeric:tabular-nums}
.lines{padding:6px 20px 0;display:flex;flex-direction:column;gap:18px}
.lines p{font:400 18px/1.6 var(--sans);transition:background .4s;border-radius:6px}
.lines a{color:var(--a-link);text-decoration:underline;text-underline-offset:4px;font-variant-numeric:tabular-nums}
.tap-tr{left:200px;top:640px}
.tap-ts{left:42px;top:300px}
.ts-1.s1 .tap-tr{opacity:1;transform:scale(1)}
.ts-1.s2 .tap-tr{opacity:0}
.ts-1.s2 .dt-card{background:var(--a-muted)}
.ts-1.s3 .v-detail{transform:translateX(-26%);opacity:0}
.ts-1.s3 .v-trans{transform:none}
.ts-1.s4 .tap-ts{opacity:1;transform:scale(1)}
.ts-1.s5 .tap-ts{opacity:0;transform:scale(1.6)}
.ts-1.s5 .ln-hit{background:var(--a-green-soft)}
.ts-1.s5 .mp-rail i{width:27%}

.ts-2 .v-trans{transform:none}
.ts-2 .lines{padding-top:22px}
.mk{background:transparent;color:inherit;border-radius:3px;transition:background .45s}
.marker-pill{position:absolute;left:30px;top:118px;display:flex;align-items:center;gap:4px;padding:6px 8px;border-radius:30px;background:color-mix(in srgb,var(--a-surface) 86%,transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 6px 24px rgba(0,0,0,.16),0 0 0 1px var(--a-line);opacity:0;transform:translateY(6px) scale(.96);transition:.25s var(--ease);z-index:5}
.mc{width:44px;height:44px;display:grid;place-items:center}
.mc::before{content:"";width:24px;height:24px;border-radius:50%}
.mc.y::before{background:#D8AF24}.mc.g::before{background:#48A477}.mc.b::before{background:#639DE0}.mc.p::before{background:#D77EAB}
.mu,.mn{padding:0 14px;height:44px;display:grid;place-items:center;font:400 18px/1 var(--sans);border-left:1px solid var(--a-line)}
.mu{text-decoration:underline}
.tap-y{left:82px;top:142px}
.ts-2.s1 .mk{background:rgba(0,122,255,.22)}
.ts-2.s1 .marker-pill{opacity:1;transform:none}
.ts-2.s2 .tap-y{opacity:1;transform:scale(1)}
.ts-2.s3 .tap-y{opacity:0}
.ts-2.s3 .mk{background:var(--a-mark-y)}
.ts-2.s3 .marker-pill{opacity:0}
.ts-2 .v-note{transform:translateX(104%)}
.ts-2.s4 .v-trans{transform:translateX(-26%);opacity:0}
.ts-2.s4 .v-note{transform:none}
.nt-head{display:flex;align-items:center;justify-content:space-between;padding:10px 20px 0}
.nt-title{font:700 30px/38px var(--sans);letter-spacing:-.6px}
.nt-ed{padding:4px 20px 0;font-size:14px;color:var(--a-sub)}
.nt-rows{padding:8px 20px 14px;border-bottom:1px solid var(--a-line);margin:0 20px;padding-inline:0}
.nt-rows p{display:flex;align-items:center;gap:12px;height:48px;font-size:17px;color:var(--a-sub)}
.nt-rows em{font-style:normal;font-size:20px;width:24px;text-align:center}
.nt-rows .ic{width:22px;height:22px}
.nt-rows span{width:124px;flex:none;white-space:nowrap}
.nt-rows i{margin-left:auto;font-style:normal;color:var(--a-line);font-size:24px}
.nt-src{display:flex;align-items:center;gap:8px;min-width:0;flex:1;font-weight:400;color:var(--a-text)}
.nt-src u{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration-color:var(--a-line);text-underline-offset:5px}
.nt-body{padding:18px 20px 0;min-height:110px;font-size:18px;line-height:1.6}
.nt-hlh{padding:20px 20px 0;font:600 18px/1 var(--sans)}
.nt-hl{margin:16px 20px 0;padding:2px 0 2px 14px;border-left:3px solid var(--a-gold);color:var(--a-sub);font-size:17px}

.v-search{padding-top:64px}
.srch{display:flex;align-items:center;gap:8px;margin:0 20px;height:44px;padding:0 12px;border-radius:12px;background:var(--a-muted);color:var(--a-sub);font-size:17px}
.srch .ic{width:20px;height:20px}
.srch .typed{color:var(--a-text);white-space:nowrap}
.srch b{margin-left:auto;font-weight:400;color:var(--a-link);margin-right:-4px;padding-left:10px}
.sr{padding:6px 20px;opacity:0;transform:translateY(8px);transition:.5s var(--ease)}
.ts-3.s2 .sr{opacity:1;transform:none}
.sr-h{margin:22px 0 8px!important;font:600 13px/1 var(--sans);color:var(--a-sub)}
.sr-i{display:flex;gap:12px;padding:12px 14px;border-radius:14px;background:var(--a-surface);border:1px solid var(--a-line);margin-bottom:8px}
.sr-i>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.sr-i b{font:500 15.5px/1.4 var(--sans);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sr-i small{font-size:13px;color:var(--a-sub)}
.sr-i small em{font-style:normal;background:#FFEAB0;color:#29251B;border-radius:3px;padding:0 2px}
.sr-dot{width:10px;height:10px;border-radius:50%;flex:none;margin-top:7px}
.sr-dot.n{background:var(--a-note)}.sr-dot.y{background:var(--a-gold);border-radius:2px}

/* ---------- inbox section ---------- */
.inbox-sec{background:var(--paper)}
.inbox-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:center}
.inbox-copy>p{margin-top:24px;font-size:18px;color:var(--muted);max-width:30em}
.rules{margin:36px 0 0;display:flex;flex-direction:column}
.rules div{display:grid;grid-template-columns:76px 1fr;gap:16px;align-items:baseline;padding:16px 0;border-top:1px solid var(--line)}
.rules dt{font:300 46px/1 var(--sans);letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--green-ink)}
.rules dd{margin:0;display:flex;flex-direction:column;gap:2px}
.rules dd b{font-size:16px}
.rules dd span{font-size:14.5px;color:var(--muted)}
.sim{display:flex;flex-direction:column;gap:22px}
.sim-card{position:relative;padding:22px 0 22px;border-radius:24px;background:var(--a-bg);color:var(--a-text);box-shadow:var(--shadow);transition:transform .5s var(--ease);overflow:hidden}
.sim-where{padding:0 22px;font:700 24px/1.2 var(--sans);letter-spacing:-.4px;transition:color .3s}
.sim-row{display:flex;align-items:center;gap:14px;padding:10px 22px 0;transition:opacity .5s,filter .5s}
.sim-row .mid{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;padding-right:120px}
.sim-row .ring{color:var(--a-sub)}
.sim-card[data-state="late"] .ring-row,.sim-card[data-state="late"] .ring{color:var(--a-warn)}
.big-ring{position:absolute;right:22px;top:20px;width:104px;height:104px}
.big-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.big-ring circle{fill:none;stroke-width:9}
.big-ring .rfg{color:var(--a-green)}
.big-ring span{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.big-ring b{font:600 32px/1 var(--sans);font-variant-numeric:tabular-nums;letter-spacing:-1px}
.big-ring small{font-size:12px;color:var(--a-sub);margin-top:4px}
.sim-card[data-state="late"] .big-ring .rfg{color:var(--a-warn)}
.sim-card[data-state="recovery"] .sim-row{opacity:.45;filter:grayscale(1)}
.sim-card[data-state="recovery"] .big-ring .rfg{color:var(--a-sub)}
.sim-card[data-state="kept"] .sim-where{color:var(--a-green)}
.sim-msg{margin:16px 22px 0!important;min-height:3em;font-size:14.5px;color:var(--a-sub)}
.sim-actions{display:flex;gap:8px;margin:6px 22px 0}
.sim-card .btn-ink{background:var(--a-text);color:var(--a-bg)}
.sim-card .btn-ghost{color:var(--a-text);box-shadow:inset 0 0 0 1px var(--a-line)}
.sim-card.bump{animation:bump .5s var(--ease)}
@keyframes bump{40%{transform:translateY(-6px) scale(1.01)}}
.sim-range{display:flex;flex-direction:column;gap:10px;font-size:13px;color:var(--muted)}
.sim-range input{width:100%;accent-color:var(--green);height:28px;cursor:grab}
.ticks{display:flex;justify-content:space-between;font-size:12px;color:var(--faint)}
.ticks i{font-style:normal}

/* ---------- forest ---------- */
.forest-sec{padding-block:120px 80px}
.forest-frame{position:relative;height:min(620px,72vw);min-height:420px;border-radius:28px;overflow:hidden;background:#9cc4e4;box-shadow:var(--shadow)}
.forest-poster{position:absolute;inset:0;background:#9cc4e4 url(forest/poster-en.jpg) center/cover no-repeat;transition:opacity .6s}
.forest-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;transition:opacity .8s}
.forest-frame.live iframe{opacity:1}
.forest-frame.live .forest-poster{opacity:0}
.forest-go{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 10px 30px rgba(0,0,0,.25);z-index:2}
.forest-tip{position:absolute;left:0;right:0;bottom:18px;text-align:center;color:#fff;font-size:14px;text-shadow:0 1px 6px rgba(0,0,0,.35);z-index:2;pointer-events:none}
.forest-frame.live .forest-go,.forest-frame.live .forest-tip{display:none}
.forest-frame.loading .forest-go{opacity:.6;pointer-events:none}

/* ---------- journal ---------- */
.journal-sec{padding-block:120px;background:var(--paper)}
.jr-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:72px;align-items:center}
.jr-copy p{margin-top:24px;font-size:18px;color:var(--muted);max-width:30em}
.jr-copy .hint{font-size:14px;color:var(--faint);margin-top:16px}
.cal-nav{display:flex;align-items:center;justify-content:space-between;padding:22px 34px 8px;font:600 21px/1 var(--sans)}
.cal-dow,.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;padding:0 20px}
.cal-dow{padding-top:14px;padding-bottom:10px}
.cal-dow span{text-align:center;font-size:15px;color:var(--a-sub)}
.cal button{all:unset;height:41px;border-radius:9px;background:var(--a-muted);display:grid;place-items:center;font:500 17px/1 var(--sans);font-variant-numeric:tabular-nums;color:var(--a-text);cursor:pointer;position:relative}
.cal button.out{opacity:.35}
.cal button.l1{background:var(--a-green-soft)}
.cal button.l2{background:var(--a-green-mid)}
.cal button.l3{background:var(--a-green);color:#fff;font-weight:700}
.cal button.sel{box-shadow:0 0 0 2.5px var(--a-text)}
.cal button.today::after{content:"";position:absolute;bottom:6px;width:5px;height:5px;border-radius:50%;background:currentColor}
.cal button:focus-visible{outline:2px solid var(--a-green);outline-offset:2px}
.cal-legend{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:16px 22px 0;font-size:13.5px;color:var(--a-sub)}
.cal-legend span:first-child{margin-right:6px}
.cal-legend i{width:16px;height:16px;border-radius:4px;background:var(--a-muted)}
.cal-legend .l1{background:var(--a-green-soft)}.cal-legend .l2{background:var(--a-green-mid)}.cal-legend .l3{background:var(--a-green)}
.moon-card{display:flex;align-items:center;gap:14px;margin:14px 20px 0;padding:12px 16px;border-radius:20px;background:var(--a-green-soft)}
.mc-ic{width:46px;height:46px;border-radius:50%;background:var(--a-green);color:#fff;display:grid;place-items:center}
.mc-ic .ic{width:22px;height:22px}

.moon-card b{font:700 18px/1.3 var(--sans)}
.moon-card small{font-size:14px;color:var(--a-sub)}
.day-h{padding:16px 20px 10px;font:700 21px/1 var(--sans)}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 20px}
.tiles p{padding:14px 0 12px;border-radius:14px;background:var(--a-muted);display:flex;flex-direction:column;align-items:center;gap:6px}
.tiles small{font-size:14px;color:var(--a-sub)}
.tiles b{font:600 30px/1 var(--sans);font-variant-numeric:tabular-nums}

/* ---------- shelf ---------- */
.shelf-sec{padding-block:120px 100px}
.shelf-tabs{display:none}
.shelf-row{display:flex;justify-content:center;gap:40px;align-items:flex-start}
.shelf-row .device:nth-child(2){margin-top:48px}
.lib-tabs{display:flex;gap:26px;padding:16px 20px 0;border-bottom:1px solid var(--a-line);font:500 20px/1 var(--sans);color:var(--a-sub)}
.lib-tabs span{padding-bottom:14px}
.lib-tabs .on{color:var(--a-text);font-weight:700;box-shadow:inset 0 -3px 0 var(--a-text)}
.lib-bar{display:flex;align-items:center;justify-content:space-between;padding:14px 20px 0}
.seg2{display:flex;padding:4px;border-radius:999px;background:var(--a-muted);width:200px}
.seg2 b{flex:1;text-align:center;padding:9px 0;border-radius:999px;font:500 14.5px/1 var(--sans);color:var(--a-sub);font-variant-numeric:tabular-nums}
.seg2 b.on{background:var(--a-surface);color:var(--a-text);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.lib-ic{display:flex;gap:16px}
.lib-month{padding:18px 20px 10px;font:500 15px/1 var(--sans);color:var(--a-sub)}
.covers{display:grid;grid-template-columns:repeat(3,1fr);gap:22px 14px;padding:0 20px}
.covers>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.covers p{margin-top:8px!important;font:600 15px/1.25 var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.covers>div>small{font-size:13.5px;color:var(--a-sub)}
.cover{aspect-ratio:2/3;border-radius:3px 7px 7px 3px;padding:10px 9px;display:flex;flex-direction:column;justify-content:space-between;font-style:normal;box-shadow:inset 3px 0 0 rgba(0,0,0,.12),0 1px 3px rgba(0,0,0,.08);overflow:hidden}
.cover b{font:700 15px/1.12 var(--sans);letter-spacing:-.3px}
.cover small{font-size:9px;opacity:.75}
.cover.lg{width:132px;flex:none}
.cover.lg b{font-size:17px}
.cover.xs{width:34px;padding:0;flex:none}.cover.xs b,.cover.xs small{display:none}
.c1{background:#E8DFC6;color:#4A4232}
.c2{background:linear-gradient(180deg,#2B5AA8,#5C8FD6);color:#fff}
.c3{background:#1F2B24;color:#E9E4D3}
.c4{background:linear-gradient(180deg,#76B7C9 55%,#C8573E 55%);color:#173540}
.c5{background:#C93A35;color:#FBEFE6}
.c6{background:#D9D8D2;color:#1D1D1B}
.bk-head{display:flex;gap:16px;padding:6px 20px 0}
.bk-head>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.bk-t{font:700 24px/1.25 var(--sans)}
.bk-a,.bk-m{font-size:15px;color:var(--a-sub)}
.bk-m{display:flex;gap:8px;align-items:center}
.src-chip{padding:3px 9px;border-radius:999px;background:var(--a-green-soft);color:var(--a-green);font-size:13.5px}
.stars{color:var(--a-line);font-size:22px;letter-spacing:4px}
.bk-w{font-size:15px;color:var(--a-sub);text-decoration:underline;text-underline-offset:4px}
.seg3{display:flex;margin:18px 20px 0;padding:4px;border-radius:999px;background:var(--a-muted)}
.seg3 b{flex:1;text-align:center;padding:11px 0;border-radius:999px;font:500 15.5px/1 var(--sans);color:var(--a-sub)}
.seg3 b.on{background:var(--a-surface);color:var(--a-text);font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.bk-ch{padding:20px 22px 10px;font:500 14px/1 var(--sans);color:var(--a-sub)}
.hl-card{margin:0 20px;padding:16px 18px;border-radius:16px;border:1px solid var(--a-line);border-left:4px solid var(--a-gold);background:var(--a-surface);display:flex;flex-direction:column;gap:8px}
.hl-card p{font-size:17.5px;line-height:1.6}
.hl-card small{font-size:13.5px;color:var(--a-sub)}
.add-hl{position:absolute;left:20px;right:20px;bottom:34px;height:58px;border-radius:999px;background:var(--a-green);color:#fff;display:grid;place-items:center;font:600 18px/1 var(--sans)}
.rp-card{margin:4px 14px 14px;padding:18px;border-radius:22px;background:var(--a-muted)}
.rp-h{display:flex;align-items:center;justify-content:space-between}
.rp-h b{font:700 19px/1 var(--sans)}
.seg-mini{display:flex;padding:3px;border-radius:999px;background:var(--a-bg)}
.seg-mini i{font-style:normal;padding:7px 11px;border-radius:999px;font-size:13px;color:var(--a-sub)}
.seg-mini .on{background:var(--a-muted);color:var(--a-text);font-weight:600}
.rp-body{display:flex;align-items:center;gap:16px;margin-top:16px}
.donut{position:relative;width:130px;height:130px;flex:none}
.donut svg{width:100%;height:100%;transform:rotate(-90deg)}
.donut circle{fill:none;stroke-width:6.2}
.donut .d0{stroke:var(--a-line)}
.d1{stroke:#3D6D91;background:#3D6D91}.d2{stroke:#B5483E;background:#B5483E}.d3{stroke:#5E8F5A;background:#5E8F5A}.d4{stroke:#C49A3C;background:#C49A3C}.d5{stroke:#8E63AE;background:#8E63AE}.d6{stroke:#9A968C;background:#9A968C}
.donut span{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.donut b{font:700 30px/1 var(--sans)}
.donut small{font-size:13px;color:var(--a-sub);margin-top:4px}
.legend{list-style:none;margin:0;padding:0;flex:1;display:flex;flex-direction:column;gap:8px;min-width:0}
.legend li{display:flex;align-items:center;gap:8px;font-size:14.5px}
.legend i{width:12px;height:12px;border-radius:3px;flex:none}
.legend b{margin-left:auto;font-weight:500;font-variant-numeric:tabular-nums}
.bars{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.bars p{display:grid;grid-template-columns:34px 1fr 52px;grid-template-rows:auto auto;column-gap:12px;align-items:center}
.bars .cover{grid-row:1/3;aspect-ratio:2/3}
.bars span{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bars small{grid-row:1/3;grid-column:3;text-align:right;font-size:14px;color:var(--a-sub)}
.bar{height:8px;border-radius:4px;background:var(--a-line);overflow:hidden;display:block}
.bar i{display:block;height:100%;border-radius:4px;background:#3D6D91}
.bar .w1{width:100%}.bar .w2{width:70%}.bar .w3{width:52%}.bar .w4{width:48%}
.imports{text-align:center;margin-top:44px;font-size:15px;color:var(--muted)}
.imports b{color:var(--ink);font-weight:600}

/* platforms */
.plats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.plats li{padding-top:18px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:8px 10px;align-content:start}
.plats b{font-size:17px}
.plats p{grid-column:1/-1;font-size:14.5px;color:var(--muted)}
.chip{align-self:center;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;background:var(--sunk);color:var(--muted)}
.chip.ok{background:var(--leaf);color:var(--green-ink)}

/* tour layout */
.tour,.plat,.faq{padding-block:120px}
.sec-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:end;margin-bottom:56px}
.sec-head p{font-size:18px;color:var(--muted);max-width:32em}
h2{font-size:clamp(34px,4.6vw,58px);line-height:1.04;letter-spacing:-.04em;font-weight:700}
:lang(zh) h2{line-height:1.2;letter-spacing:-.02em}
.tour-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:start}
.tour-device-wrap{position:sticky;top:110px;display:flex;justify-content:center;padding-block:10px}
.steps{list-style:none;margin:0;padding:0}
.step{min-height:70vh;display:flex;flex-direction:column;justify-content:center;gap:14px;padding-block:20px;opacity:.32;transition:opacity .4s}
.step.on{opacity:1}
.step:first-child{min-height:56vh}
.step-btn{all:unset;display:inline-flex;align-items:center;gap:10px;font:600 14px/1 var(--sans);color:var(--green-ink);cursor:pointer;width:max-content;border-radius:8px}
.step-btn:focus-visible{outline:2px solid var(--green);outline-offset:4px}
.step-n{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--leaf);font-size:12px}
.step h3{font-size:clamp(26px,2.8vw,36px);line-height:1.15;letter-spacing:-.03em;font-weight:700;max-width:16em}
.step p{font-size:17px;color:var(--muted);max-width:28em}
.step .note-line{font-size:14px;color:var(--faint)}
.tour-cap{display:none}
.tour-cap h3{font-size:24px;line-height:1.2;letter-spacing:-.02em}
.tour-cap p{margin-top:8px;font-size:16px;color:var(--muted)}
.tour-cap .note-line{font-size:13.5px;color:var(--faint)}

/* faq / close / footer */
.faq{background:var(--paper);border-top:1px solid var(--line)}
.faq-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px}
.qa details{border-top:1px solid var(--line)}
.qa details:last-child{border-bottom:1px solid var(--line)}
.qa summary{list-style:none;cursor:pointer;padding:22px 40px 22px 0;font-size:18px;font-weight:600;position:relative}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:"";position:absolute;right:6px;top:50%;width:12px;height:12px;margin-top:-8px;border:solid var(--muted);border-width:0 2px 2px 0;transform:rotate(45deg);transition:transform .3s var(--ease)}
.qa details[open] summary::after{transform:rotate(225deg);margin-top:-2px}
.qa details p{padding:0 40px 24px 0;font-size:16px;color:var(--muted);max-width:38em}
.close{padding-block:130px 120px;text-align:center}
.close-in{display:flex;flex-direction:column;align-items:center;gap:28px}
.close .sym-lg{width:76px;height:76px}
.close h2{max-width:13em}
.mail{font-size:14px;color:var(--muted)}
.mail b{color:var(--ink);font-weight:600}
.foot{border-top:1px solid var(--line);padding-block:56px 32px;font-size:14px}
.foot-in{display:grid;grid-template-columns:1.2fr 1fr auto;gap:40px}
.foot-brand p{margin-top:12px;color:var(--muted)}
.foot-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.foot-cols div{display:flex;flex-direction:column;gap:10px}
.foot-cols p,.foot-lang>p{font-weight:600;margin-bottom:2px}
.foot-cols a{color:var(--muted);text-decoration:none}
.foot-cols a:hover{color:var(--ink)}
.seg{display:inline-flex;padding:3px;border-radius:999px;background:var(--sunk);margin-top:10px}
.seg button{border:0;background:none;padding:8px 14px;border-radius:999px;font-size:13px;color:var(--muted);cursor:pointer;min-height:34px}
.seg button[aria-pressed="true"]{background:var(--raised);color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.foot-legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:48px;padding-top:20px;border-top:1px solid var(--line);color:var(--faint);font-size:12.5px}

/* responsive */
@media (max-width:1100px){
  .nav-links{display:none}
  .shelf-row{gap:20px}
  .shelf-row .device{zoom:.86}
  .plats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .hero{padding-top:40px}
  .hero-in{grid-template-columns:1fr;gap:28px}
  .hero-stage{height:auto;padding-block:8px 0}
  .hero-steps{flex-direction:row;flex-wrap:wrap;margin-top:28px}
  .hero-steps li span:last-child{display:none}
  .hero-steps li.on span:last-child{display:inline}
  .sec-head{grid-template-columns:1fr;gap:16px;margin-bottom:36px}
  .tour,.inbox-sec,.plat,.faq,.journal-sec,.shelf-sec{padding-block:80px}
  .forest-sec{padding-block:80px 60px}
  .tour-grid{grid-template-columns:1fr;gap:24px}
  .tour-device-wrap{position:relative;top:0;order:3}
  .tour-cap{display:block;order:2}
  .steps{order:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .step{min-height:0!important;opacity:1;padding:0;gap:0}
  .step-btn{width:100%;box-sizing:border-box;padding:12px 10px;border-radius:14px;background:var(--sunk);color:var(--muted);font-size:13px;flex-direction:column;align-items:flex-start;gap:8px}
  .step.on .step-btn{background:var(--btn);color:var(--btn-fg)}
  .step.on .step-n{background:var(--green);color:#fff}
  .step h3,.step p{display:none}
  .inbox-grid,.faq-grid,.jr-grid{grid-template-columns:1fr;gap:40px}
  .jr-phone{margin-inline:auto}
  .shelf-tabs{display:flex;justify-content:center;gap:4px;margin:0 auto 24px;padding:4px;border-radius:999px;background:var(--sunk);width:max-content;max-width:100%}
  .shelf-tabs button{border:0;background:none;padding:9px 14px;border-radius:999px;font-size:14px;color:var(--muted);cursor:pointer;white-space:nowrap}
  .shelf-tabs button[aria-selected="true"]{background:var(--raised);color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.08)}
  .shelf-row .device{display:none;zoom:1;margin-top:0!important}
  .shelf-row .device.on{display:block}
  .foot-in{grid-template-columns:1fr}
}
@media (max-width:600px){
  .nav-in{gap:12px}
  .nav-end .btn-sm{padding:0 13px;font-size:13px}
  .lang-btn span{display:none}
  .lead{font-size:17px}
  .steps{grid-template-columns:1fr 1fr 1fr}
  .step-btn{font-size:12px;padding:10px 8px}
  .plats{grid-template-columns:1fr}
  .rules dt{font-size:38px}
  .rules div{grid-template-columns:58px 1fr}
  .sim-row .mid{padding-right:0}
  .big-ring{position:relative;right:auto;top:auto;margin:16px auto 0}
  .forest-frame{border-radius:20px;height:480px}
}
@media (max-width:360px){.device{zoom:.9}}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .track{animation:none;flex-wrap:wrap;justify-content:center;width:auto;row-gap:12px}
  .track span[aria-hidden]{display:none}
}
.inbox-grid>*,.jr-grid>*,.faq-grid>*,.tour-grid>*,.hero-in>*,.sec-head>*{min-width:0}
/* sources marquee */
.sources{margin-top:56px;padding-block:28px 36px;border-top:1px solid var(--line)}
.sources-cap{text-align:center;font-size:13px;color:var(--faint);margin-bottom:18px;padding-inline:16px}
.marquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.track{display:flex;width:max-content;gap:44px;animation:marq 46s linear infinite}
.track span{font:600 19px/1.2 var(--sans);letter-spacing:-.02em;color:var(--muted);white-space:nowrap}
.marquee:hover .track{animation-play-state:paused}
@keyframes marq{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.track{animation:none;flex-wrap:wrap;justify-content:center;width:auto;row-gap:12px}.track span[aria-hidden]{display:none}}
.moon-card>span:not(.ico-chev){flex:1;display:flex;flex-direction:column;gap:2px}
.lib-tabs{gap:22px;font-size:19px}

/* ---------- inbox rules: number and text centred on one row ---------- */
.rules div{grid-template-columns:72px 1fr;align-items:center;gap:20px;padding:20px 0}
.rules dt{font:600 40px/1 var(--sans);letter-spacing:-.03em;text-align:left}
.rules dd{gap:4px}
.rules dd b{font-size:16px;line-height:1.3}
.rules dd span{line-height:1.5}

/* ---------- content types: tabs on the left, a live view on the right ---------- */
.types{padding-block:110px 40px}
.ty2{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px;align-items:start}
.ty-tabs{display:flex;flex-direction:column;gap:4px}
.ty-tab{all:unset;box-sizing:border-box;position:relative;display:flex;gap:14px;align-items:flex-start;padding:14px 16px;border-radius:16px;cursor:pointer;transition:background .25s}
.ty-tab:hover{background:var(--sunk)}
.ty-tab.on{background:var(--sunk)}
.ty-tab:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.tt-ic{width:38px;height:38px;border-radius:10px;flex:none;display:grid;place-items:center;color:#fff}
.tt-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.tt-art{background:#6A8C73}.tt-vid{background:#8261BF}.tt-pod{background:#AF5C9C}.tt-img{background:#CE645B}.tt-book{background:#C49A3C}.tt-pdf{background:#C45656}
.tt-tx{display:flex;flex-direction:column;gap:4px;min-width:0;padding-top:8px}
.tt-tx b{font-size:17px;font-weight:600;color:var(--muted);transition:color .2s}
.ty-tab.on .tt-tx b,.ty-tab:hover .tt-tx b{color:var(--ink)}
.tt-tx small{font-size:14.5px;line-height:1.5;color:var(--muted);display:grid;grid-template-rows:0fr;overflow:hidden;transition:grid-template-rows .35s var(--ease),opacity .3s;opacity:0}
.ty-tab.on .tt-tx small{opacity:1}
.tt-tx small{max-height:0;transition:max-height .4s var(--ease),opacity .3s}
.ty-tab.on .tt-tx small{max-height:4.5em}
.tt-bar{position:absolute;left:68px;right:16px;bottom:8px;height:2px;border-radius:1px;background:transparent;overflow:hidden}
.ty-tab.on .tt-bar{background:var(--line)}
.tt-bar i{display:block;height:100%;width:0;background:var(--green)}
.ty-tab.on.run .tt-bar i{animation:ttbar var(--dur,6s) linear forwards}
.ty2.paused .ty-tab.on.run .tt-bar i{animation-play-state:paused}
@keyframes ttbar{to{width:100%}}

.ty-stage{position:relative;height:470px;border-radius:28px;background:var(--a-bg);color:var(--a-text);box-shadow:var(--shadow),0 0 0 1px var(--line);overflow:hidden}
.tp{position:absolute;inset:0;padding:30px 32px;opacity:0;transform:translateY(10px);transition:opacity .35s,transform .45s var(--ease);pointer-events:none;display:flex;flex-direction:column;gap:12px}
.tp.on{opacity:1;transform:none;pointer-events:auto}
.tp p{margin:0}
.tp .rm{font-size:13.5px}
.tp-title{font:700 26px/1.25 var(--sans);letter-spacing:-.5px}
.tp-title.sm{font-size:20px}
.tp-read{display:flex;flex-direction:column;gap:14px;margin-top:6px;font-size:17px;line-height:1.7}
.tp-read.sm{font-size:16px}
.tmk{background:linear-gradient(var(--a-mark-y),var(--a-mark-y)) no-repeat left/0% 100%;color:inherit;border-radius:3px;transition:background-size .9s var(--ease) .5s}
.tp.go .tmk{background-size:100% 100%}
.tp-pill{position:absolute;right:32px;top:124px;display:flex;align-items:center;gap:2px;padding:4px 6px;border-radius:26px;background:var(--a-surface);box-shadow:0 6px 24px rgba(0,0,0,.14),0 0 0 1px var(--a-line);opacity:0;transform:translateY(6px) scale(.96);transition:.3s var(--ease) 1.5s}
.tp.go .tp-pill{opacity:1;transform:none}
.tp-pill .mc{width:36px;height:36px}
.tp-pill .mc::before{width:20px;height:20px}
.tp-pill .mu,.tp-pill .mn{height:36px;padding:0 12px;font-size:15px}

.tp-video{position:relative;height:170px;margin:-30px -32px 4px;background:linear-gradient(150deg,#334450,#151B1F);flex:none}
.tp-video .dv-play{background-color:rgba(255,255,255,.88)}
.tp-video .dv-dur{position:absolute;right:16px;bottom:16px;color:#fff;font:500 13px/1 var(--sans)}
.tp-prog{position:absolute;left:0;right:0;bottom:0;height:4px;background:rgba(255,255,255,.25);display:block}
.tp-prog i{display:block;height:100%;width:3%;background:#fff;transition:width 6s linear}
.tp.go .tp-prog i{width:22%}
.tp-lines{display:flex;flex-direction:column;gap:4px}
.tp-lines p{display:flex;gap:10px;padding:6px 10px;margin-inline:-10px;border-radius:10px;font-size:16px;line-height:1.55;transition:background .4s}
.tp-lines a{color:var(--a-link);text-decoration:underline;text-underline-offset:3px;font-variant-numeric:tabular-nums;flex:none;min-width:40px}
.tp-lines p.cur{background:var(--a-green-soft)}

.tp-player{display:flex;gap:16px;align-items:center;padding:16px;border-radius:18px;background:var(--a-muted)}
.tp-art{width:76px;height:76px;border-radius:14px;flex:none;background:linear-gradient(160deg,#F7E1F0,#D9BDEB)}
.tp-player>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.tp-player b{font:600 15.5px/1.35 var(--sans);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tp-player small{font-size:13px;color:var(--a-sub)}
.tp-wave{display:flex;align-items:center;gap:3px;height:30px;margin-top:4px}
.tp-wave i{flex:1;border-radius:2px;background:var(--a-line);transition:background .3s}
.tp-wave i.p{background:#AF5C9C}
.tp .rd-lbl{margin:8px 0 0;font:600 12.5px/1 var(--sans);color:var(--a-sub)}

.tp-imgwrap{display:flex;gap:20px;align-items:stretch;flex:1;min-height:0}
.tp-pic{position:relative;width:44%;flex:none;border-radius:16px;background:#D6F2EE;color:#2D5F59;padding:22px 20px;display:flex;flex-direction:column;gap:12px;overflow:hidden}
.tp-pic b{font:700 24px/1.25 var(--sans)}
.tp-pic small{font-size:14px;line-height:1.5}
.tp-scan{position:absolute;left:0;right:0;top:0;height:2px;background:#2F9E58;box-shadow:0 0 14px 4px rgba(47,158,88,.4);opacity:0}
.tp.go .tp-scan{animation:scan2 1.4s var(--ease) .3s 1 forwards}
@keyframes scan2{0%{top:0;opacity:1}90%{top:calc(100% - 2px);opacity:1}100%{top:calc(100% - 2px);opacity:0}}
.tp-ocr{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:16px;border:1px solid var(--a-line);background:var(--a-surface);opacity:0;transform:translateX(10px);transition:.45s var(--ease) 1.6s}
.tp.go .tp-ocr{opacity:1;transform:none}
.tp-ocr .rd-lbl{margin:0}
.tp-ocr-t{font-size:16px;line-height:1.6}
.tp-copy{margin-top:auto!important;align-self:flex-start;padding:7px 14px;border-radius:999px;background:var(--a-muted);font:500 14px/1 var(--sans)}

.tp-bookh{display:flex;gap:18px}
.tp-bookh .cover.lg{width:104px}
.tp-bookh>div{display:flex;flex-direction:column;gap:6px;padding-top:6px}
.stars.on{color:#D8AF24;font-size:18px;letter-spacing:2px}
.tp-hls{display:flex;flex-direction:column;gap:12px;margin-top:6px}
.tp-hls .hl-card{margin:0;opacity:0;transform:translateY(12px);transition:.5s var(--ease)}
.tp-hls .hl-card p{font-size:16px}
.tp.go .tp-hls .hl-card{opacity:1;transform:none}
.tp.go .tp-hls .hl-card+.hl-card{transition-delay:.25s}

.tp-file{display:flex;gap:16px;align-items:center}
.tp-pdf{width:56px;height:70px;border-radius:8px;background:var(--a-surface);box-shadow:0 0 0 1px var(--a-line);display:flex;align-items:flex-end;padding:8px;font-style:normal}
.tp-pdf b{font:700 10px/1 var(--sans);color:#fff;background:#C45656;padding:4px 6px;border-radius:4px}
.tp-file>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.tp-file>div b{font:600 17px/1.3 var(--sans)}
.tp-file small{font-size:13.5px;color:var(--a-sub)}
.tp-pages{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:6px}
.tp-pages i{aspect-ratio:3/4;border-radius:8px;background:var(--a-surface) repeating-linear-gradient(transparent 0 14px,var(--a-line) 14px 18px) content-box;padding:16px 12px;box-shadow:0 0 0 1px var(--a-line);opacity:0;transform:translateY(10px);transition:.45s var(--ease)}
.tp.go .tp-pages i{opacity:1;transform:none}
.tp.go .tp-pages i:nth-child(2){transition-delay:.1s}.tp.go .tp-pages i:nth-child(3){transition-delay:.2s}.tp.go .tp-pages i:nth-child(4){transition-delay:.3s}
.ty-note{margin-top:28px;font-size:13.5px;color:var(--faint)}

@media (max-width:900px){
  .ty2{grid-template-columns:1fr;gap:18px}
  .ty-tabs{flex-direction:row;overflow-x:auto;scrollbar-width:none;gap:8px;margin-inline:calc(-1 * max(24px, env(safe-area-inset-left,0px)));padding-inline:max(24px, env(safe-area-inset-left,0px))}
  .ty-tabs::-webkit-scrollbar{display:none}
  .ty-tab{flex:none;padding:8px 14px 8px 8px;border-radius:999px;background:var(--sunk);align-items:center;gap:8px}
  .ty-tab.on{background:var(--btn)}
  .ty-tab.on .tt-tx b{color:var(--btn-fg)}
  .tt-ic{width:28px;height:28px;border-radius:50%}
  .tt-ic svg{width:17px;height:17px}
  .tt-tx{padding-top:0}
  .tt-tx b{font-size:14px;white-space:nowrap}
  .tt-tx small,.tt-bar{display:none}
  .ty-stage{height:440px;border-radius:22px}
  .tp{padding:22px 20px}
  .tp-video{margin:-22px -20px 4px;height:150px}
  .tp-pill{left:20px;top:auto;bottom:24px}
  .tp-imgwrap{flex-direction:column}
  .tp-pic{width:auto;padding:16px}
  .tp-pic b{font-size:19px}
  .tp-ocr{padding:12px}
  .tp-title{font-size:22px}
  .tp-read{font-size:16px}
}
@media (max-width:600px){.types{padding-block:80px 24px}}


/* =====================================================================
   Motion layer: margin notes, marker sweeps, word reveals,
   the gather scene, the screens gallery, parallax.
   Everything moves straight and eases out. Nothing tilts or bounces.
   ===================================================================== */
@font-face{font-family:"Slowkeep Hand";src:url("/assets/caveat-600.woff2") format("woff2");font-weight:600;font-display:swap;unicode-range:U+0000-00FF,U+2018-201F,U+2026}
:root{--hand:"Slowkeep Hand","Kaiti SC","STKaiti","KaiTi","Bradley Hand",cursive;--sweep:rgba(216,175,36,.38)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--sweep:rgba(216,175,36,.32)}}
:root[data-theme="dark"]{--sweep:rgba(216,175,36,.32)}
.hand{font-family:var(--hand);font-weight:600;letter-spacing:0}
:lang(zh) .hand{font-weight:400}

/* reading progress under the nav */
.read-progress{position:absolute;left:0;bottom:-1px;height:2px;width:100%;background:var(--green);transform-origin:0 50%;transform:scaleX(var(--rp,0));pointer-events:none}

/* marker sweep: the product's own gesture, used on a few phrases */
.sweep{background:linear-gradient(var(--sweep),var(--sweep)) no-repeat 0 88%/0% 42%;color:inherit;transition:background-size 1.1s var(--ease) .25s;border-radius:2px;padding:0 .05em}
.sweep.in{background-size:100% 42%}

/* hand-drawn arrows draw themselves in */
.arrow{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.arrow.draw path{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1s var(--ease) .2s}
.in .arrow.draw path,.arrow.draw.in path{stroke-dashoffset:0}
.anno{display:inline-flex;align-items:flex-start;gap:6px;color:var(--muted);font-size:22px;line-height:1.1}
.anno .hand{opacity:0;transform:translateY(6px);transition:opacity .5s,transform .6s var(--ease)}
.anno.in .hand{opacity:1;transform:none}
:lang(zh) .anno{font-size:19px}

/* word reveal on headings */
.rv .w{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.08em;margin-bottom:-.08em}
.rv .w>span{display:inline-block;transform:translateY(105%);transition:transform .8s var(--ease)}
.rv.in .w>span{transform:none}

/* scroll cue under the hero */
@keyframes cue-draw{0%{stroke-dashoffset:1}45%,75%{stroke-dashoffset:0}100%{stroke-dashoffset:-1}}

/* ---------- gather scene ---------- */
.gather{position:relative}
.g-sticky{position:relative;height:min(100vh,940px);height:min(100svh,940px);min-height:720px;overflow:hidden}
.g-head{position:absolute;left:0;right:0;top:calc(84px + 2vh);text-align:center;padding-inline:max(24px,env(safe-area-inset-left,0px));z-index:3;pointer-events:none}
.g-h{font-size:clamp(30px,3.6vw,48px)}
.g-sub{display:none}
.g-cards{position:absolute;inset:0;z-index:2}
.gc{position:absolute;left:0;top:0;width:var(--w,210px);border-radius:16px;background:var(--a-surface);color:var(--a-text);box-shadow:0 18px 40px -22px rgba(30,28,20,.38),0 0 0 1px var(--line);overflow:hidden;will-change:transform,opacity;transform-origin:50% 50%}
.gc-in{padding:12px 14px 13px;display:flex;flex-direction:column;gap:6px}
.gc-src{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--a-sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gc-src i{width:12px;height:12px;border-radius:3.5px;flex:none}
.gc-t{font:600 14px/1.35 var(--sans);letter-spacing:-.1px}
.gc-m{font-size:11.5px;color:var(--a-sub)}
.gc-media{display:block;position:relative}
.gk-video .gc-media{aspect-ratio:16/9}
.gk-video .gc-media::after{content:"";position:absolute;inset:0;margin:auto;width:30px;height:30px;border-radius:50%;background:rgba(0,0,0,.45) no-repeat 56% 50%/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0l10 6-10 6z' fill='white'/%3E%3C/svg%3E")}
.gk-post .gc-media{aspect-ratio:4/3;display:flex;align-items:flex-end;padding:12px;font:700 17px/1.2 var(--sans)}
.gc-lines{display:flex;flex-direction:column;gap:6px;margin-top:2px}
.gc-lines i{display:block;height:6px;border-radius:3px;background:var(--a-line)}
.gc-wave{display:flex;align-items:center;gap:2px;height:22px}
.gc-wave i{flex:1;border-radius:2px;background:var(--c,#9B5CE0);opacity:.7}
.gc-row{display:flex;gap:12px;align-items:center}
.gc-row .cover{width:46px;flex:none;padding:0}
.gc-row .cover b,.gc-row .cover small{display:none}
.gc-pdf{width:40px;height:50px;border-radius:6px;box-shadow:0 0 0 1px var(--a-line);display:flex;align-items:flex-end;padding:5px;flex:none}
.gc-pdf b{font:700 8px/1 var(--sans);color:#fff;background:#C45656;padding:3px 4px;border-radius:3px}
.g-phone-wrap{position:absolute;left:50%;top:60%;transform:translate(-50%,-50%) scale(var(--gs,1));z-index:1}
.g-phone{box-shadow:inset 0 0 0 1.5px var(--frame-edge),0 40px 90px -40px rgba(40,38,30,.45)}
.g-count{min-width:30px;height:30px;padding:0 10px;border-radius:999px;background:var(--a-muted);display:grid;place-items:center;font:600 15px/1 var(--sans);font-variant-numeric:tabular-nums;color:var(--a-text);transition:background .3s,color .3s}
.g-count.full{background:var(--a-green);color:#fff}
.g-row{max-height:0;opacity:0;overflow:hidden;transition:max-height .5s var(--ease),opacity .35s,background 1.2s}
.g-row.on{max-height:120px;opacity:1}
.g-row.flash{background:var(--a-green-soft)}
.g-row .thumb{width:58px;height:58px}
.rows[data-g-rows]{display:flex;flex-direction:column}
.g-more{order:1;padding:12px 20px;font:500 14px/1 var(--sans);color:var(--a-sub);opacity:0;transition:opacity .3s}
.g-more.on{opacity:1}
.g-anno{position:absolute;left:calc(100% + 14px);top:150px;width:230px;font-size:24px;flex-direction:row;align-items:center;gap:8px}
.g-anno .arrow{width:52px;height:22px;flex:none}
.gather.done .g-anno{opacity:0;transition:opacity .4s}

/* ---------- screens gallery ---------- */
.gallery{position:relative;padding-block:110px 90px;background:#141413;color:#F4F3F1;overflow:hidden}
.gallery h2{color:#F4F3F1}
.gl-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:44px}
.gl-anno{color:#B8B4AA;margin-left:auto;align-self:center}
.gl-anno .arrow{width:110px;height:28px;margin-top:10px}
.gl-nav{display:flex;gap:8px}
.gl-btn{width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:transparent;color:#F4F3F1;display:grid;place-items:center;cursor:pointer;transition:background .2s,border-color .2s}
.gl-btn:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.35)}
.gl-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gl-scroller{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;cursor:grab;outline:none;-webkit-overflow-scrolling:touch}
.gl-scroller::-webkit-scrollbar{display:none}
.gl-scroller.dragging{cursor:grabbing}
.gl-scroller.dragging .gl-item{pointer-events:none}
.gl-scroller:focus-visible{box-shadow:inset 0 0 0 2px var(--green)}
.gl-track{list-style:none;margin:0;display:flex;gap:36px;width:max-content;padding:10px max(24px,calc((100vw - 1200px)/2 + 24px)) 20px}
.gl-item{display:flex;flex-direction:column;align-items:center;gap:18px;user-select:none;-webkit-user-select:none}
.gl-item .device{display:block!important;margin:0!important;transform:none!important;box-shadow:inset 0 0 0 1.5px #3a3a36,0 30px 60px -30px rgba(0,0,0,.8);transition:transform .5s var(--ease)}
.gl-item .device *{pointer-events:none}
.gl-item:hover .device{transform:translateY(-6px)!important}
.gl-cap{font-size:15px;color:#B8B4AA;text-align:center}
.gl-cap b{display:block;color:#F4F3F1;font-weight:600;margin-bottom:2px}
.gl-progress{display:block;height:2px;border-radius:1px;background:rgba(255,255,255,.14);margin-top:26px;overflow:hidden}
.gl-progress i{display:block;height:100%;width:30%;background:#F4F3F1;transform-origin:0 50%;transform:translateX(var(--gp,0%))}
.gl-cursor{position:fixed;left:0;top:0;width:86px;height:86px;margin:-43px 0 0 -43px;border-radius:50%;background:#F4F3F1;color:#141413;display:grid;place-items:center;font:600 14px/1 var(--sans);pointer-events:none;z-index:40;transform:translate3d(var(--cx,-200px),var(--cy,-200px),0) scale(var(--cs,0));transition:transform .18s var(--ease)}
.gl-cursor.press{--cs:.82!important}
@media (hover:none),(max-width:900px){.gl-cursor,.gl-anno{display:none}.gl-scroller{cursor:auto;scroll-snap-type:x mandatory}.gl-item{scroll-snap-align:center}}

/* closing */
.close-anno{color:var(--muted);font-size:24px;margin-bottom:-8px}
:lang(zh) .close-anno{font-size:20px}
.close-h{font-size:clamp(44px,7.4vw,108px);line-height:1;letter-spacing:-.045em;max-width:12em}
:lang(zh) .close-h{line-height:1.2;letter-spacing:-.02em}

/* annotations placement */
.sim-anno{align-self:flex-start;margin:-4px 0 -14px 6px;font-size:22px}
.sim-anno .arrow{width:56px;height:40px;margin-top:8px}
.jr-anno{margin-top:22px}
.jr-anno .arrow{width:110px;height:36px;margin-top:4px}

@media (max-width:900px){
  .g-sticky{min-height:760px}
  .g-head{top:calc(72px + 1vh)}
  .g-sub{display:none}
  .g-anno{display:none}
  .gc{--w:168px!important}
  .gc-t{font-size:12.5px}
  .gc-in{padding:9px 10px 10px;gap:4px}
  .gl-head{flex-wrap:wrap;margin-bottom:28px}
  .gl-nav{display:none}
  .gallery{padding-block:80px 64px}
  .gl-track{gap:20px}
  .gl-item .device{zoom:.86}
}
@media (prefers-reduced-motion:reduce){
  .gather{height:auto}
  .g-sticky{position:relative;height:auto;padding-block:120px 80px;overflow:visible}
  .g-head{position:relative;top:0;margin-bottom:40px}
  .g-cards{display:none}
  .g-phone-wrap{position:relative;left:auto;top:auto;transform:none;display:flex;justify-content:center}
  .g-row{max-height:none;opacity:1}
  .rv .w>span,.anno .hand{transform:none;opacity:1}
  .arrow.draw path{stroke-dashoffset:0}
  .sweep{background-size:100% 42%}
}

/* journal: the note sits beside the phone and points at it */
.jr-stage{position:relative;justify-self:end}
.jr-anno{position:absolute;right:calc(100% + 4px);top:236px;width:max-content;flex-direction:row!important;align-items:center;gap:6px;margin:0}
.jr-anno .arrow{width:64px;height:36px;flex:none}
@media (max-width:900px){
  .jr-stage{justify-self:center;display:flex;flex-direction:column;align-items:center}
  .jr-anno{position:static;flex-direction:column!important;align-items:center;margin-bottom:6px}
  .jr-anno .arrow{width:46px;height:30px;transform:rotate(80deg)}
}

/* ---------- tour: pinned on wide screens, steps change in place ---------- */
.tour-ind{display:none}
@media (min-width:901px){
  .tour{height:340vh;padding-block:0;position:relative}
  .tour>.sec-in{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;justify-content:center;padding-top:64px;box-sizing:border-box}
  .tour .sec-head{margin-bottom:24px;align-items:end}
  .tour .sec-head h2{font-size:clamp(30px,3.4vw,46px)}
  .tour .sec-head p{font-size:16.5px}
  .tour-grid{align-items:center}
  .tour-device-wrap{position:relative;top:0;padding-block:0}
  .steps-col{display:flex;flex-direction:column;gap:30px;min-width:0}
  .tour-ind{display:flex;gap:6px;flex-wrap:wrap}
  .ti{all:unset;display:inline-flex;align-items:center;gap:8px;padding:8px 14px 8px 8px;border-radius:999px;font:500 14px/1 var(--sans);color:var(--muted);cursor:pointer;transition:background .3s,color .3s}
  .ti i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font:600 12px/1 var(--sans);font-style:normal;background:var(--sunk);transition:background .3s,color .3s}
  .ti:hover{color:var(--ink)}
  .ti.on{background:var(--sunk);color:var(--ink)}
  .ti.on i{background:var(--green);color:#fff}
  .ti:focus-visible{outline:2px solid var(--green);outline-offset:2px}
  .steps{position:relative;min-height:300px}
  .step,.step:first-child{position:absolute;left:0;right:0;top:0;min-height:0;padding:0;justify-content:flex-start;gap:16px;opacity:0;visibility:hidden;transition:opacity .35s,visibility 0s .35s}
  .step.on{opacity:1;visibility:visible;transition:opacity .35s}
  .step .step-btn{display:none}
  .step h3{font-size:clamp(28px,3vw,40px)}
  .step p{font-size:18px;line-height:1.65}
}
@media (min-width:901px) and (prefers-reduced-motion:reduce){
  .tour{height:auto;padding-block:120px}
  .tour>.sec-in{position:relative;height:auto;padding-top:0}
}
@media (max-width:900px){.steps-col{display:contents}}

/* ---------- step 3: ask your library ---------- */
.srch{font-size:16px}
.ask-row{display:flex;justify-content:flex-end;padding:10px 20px 0}
.ask-btn{display:inline-flex;align-items:center;gap:4px;padding:8px 13px;border-radius:999px;background:var(--a-muted);font:500 14px/1 var(--sans);color:var(--a-sub);transition:background .25s,color .25s}
.ts-3.s3 .ask-btn{background:var(--a-text);color:var(--a-bg)}
.ask-menu{position:absolute;right:20px;top:158px;width:230px;display:flex;flex-direction:column;border-radius:14px;background:var(--a-surface);box-shadow:0 14px 40px rgba(0,0,0,.18),0 0 0 1px var(--a-line);overflow:hidden;opacity:0;transform:translateY(-6px) scale(.97);transform-origin:top right;transition:opacity .25s,transform .3s var(--ease);z-index:4;pointer-events:none}
.ask-menu span{padding:13px 16px;font-size:16px;transition:background .25s}
.ask-menu span+span{border-top:1px solid var(--a-line)}
.ts-3.s3 .ask-menu,.ts-3.s4 .ask-menu{opacity:1;transform:none}
.ts-3.s4 .ask-menu .am-on{background:var(--a-muted)}
.ts-3.s5 .ask-menu{opacity:0;transition-duration:.18s}
.tap-ask{left:332px;top:136px}
.tap-comp{left:300px;top:226px}
.tap-cite{display:none}
.ts-3.s3 .tap-ask{opacity:1;transform:scale(1)}
.ts-3.s4 .tap-ask{opacity:0}
.ts-3.s4 .tap-comp{opacity:1;transform:scale(1)}
.ts-3.s5 .tap-comp{opacity:0;transform:scale(1.5)}
.ts-3 .sr{position:relative}
.ts-3.s5 .sr{opacity:0;transform:translateY(-8px);transition-duration:.3s}
.ans{position:absolute;left:0;right:0;top:162px;padding:0 20px;opacity:0;transform:translateY(8px);transition:opacity .35s,transform .45s var(--ease);pointer-events:none}
.ts-3.s5 .ans{opacity:1;transform:none}
.ans-mode{display:flex;align-items:center;gap:10px;font:500 13.5px/1 var(--sans);color:var(--a-sub);margin-bottom:10px!important}
.spin{width:14px;height:14px;border-radius:50%;border:2px solid var(--a-line);border-top-color:var(--a-sub);animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.ts-3.s6 .spin{opacity:0}
.ans-wait{font-size:15.5px;color:var(--a-sub);transition:opacity .25s}
.ts-3.s6 .ans-wait{opacity:0;height:0;overflow:hidden}
.ans-card{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:16px;background:var(--a-surface);border:1px solid var(--a-line);opacity:0;transform:translateY(8px);transition:opacity .35s,transform .45s var(--ease)}
.ts-3.s6 .ans-card{opacity:1;transform:none}
.ans-cap{font:600 12.5px/1.3 var(--sans);color:var(--a-sub)}
.ans-text{font-size:16.5px;line-height:1.62}
.as{opacity:0;transition:opacity .5s}
.ts-3.s6 .as{opacity:1}
.ts-3.s6 .ans-text .as:nth-child(2){transition-delay:.45s}
.ts-3.s6 .ans-text .as:nth-child(3){transition-delay:.9s}
.ts-3.s6 .ans-miss{transition-delay:1.25s}
.ts-3.s6 .ans-src{transition-delay:1.45s}
.cite{color:var(--a-link);font-size:12.5px;font-weight:700;margin-left:2px;border-radius:4px;padding:0 2px;transition:background .3s}
.ts-3.s7 .cite.c2{background:rgba(0,122,255,.14)}
.ans-miss{font-size:13.5px;color:var(--a-sub)}
.ans-src{border-top:1px solid var(--a-line);padding-top:4px;display:flex;flex-direction:column}
.ans-src p{display:flex;align-items:center;gap:10px;min-height:40px;margin:0 -8px!important;padding:0 8px;border-radius:10px;transition:background .4s}
.ans-src i{width:20px;height:20px;border-radius:6px;background:var(--a-muted);display:grid;place-items:center;font:700 11px/1 var(--sans);font-style:normal;color:var(--a-link);flex:none}
.ans-src b{flex:1;min-width:0;font:400 14.5px/1.3 var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ans-src small{font-size:12.5px;color:var(--a-sub);flex:none;max-width:40%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ts-3.s7 .ans-src .src2{background:var(--a-green-soft)}
.ai-chip{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;padding:5px 11px;border-radius:999px;background:var(--leaf);color:var(--green-ink);font:600 13px/1 var(--sans)}
@media (max-width:900px){.step .ai-chip{display:none}}
@media (prefers-reduced-motion:reduce){.spin{animation:none}}

/* embeds: one section per page, nothing pinned, no outer chrome */
.embed body{background:var(--paper)}
.embed .tour{height:auto;padding-block:56px}
.embed .tour>.sec-in{position:relative;height:auto;padding-top:0}
.embed .gather .g-sticky{height:100vh;min-height:0}
.embed .kit-hidden{position:absolute;left:-99999px;top:0;width:1200px;visibility:hidden}
