/*
 * The Developers page: the animated "start to end" story (.dv-show), the two
 * ways to connect, the video and the real examples. Own sheet, loaded by
 * views/site/developers.php after the site sheets; uses the pu-base tokens.
 * Everything in the stage is laid out on a fixed canvas (1280x720, or 640x900
 * on narrow screens) that dev-page.js scales to fit.
 */
.dv-page{--dv-ink:var(--ink,#0d1526);--dv-gold:var(--gold,#c39a4e);--dv-line:var(--line,#e6e8ee);--dv-muted:var(--muted,#667085);--dv-ok:var(--ok,#067647);--dv-ok-bg:var(--ok-bg,#ecfdf3);--dv-mono:var(--mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace)}
.dv-wrap{width:min(1200px,100% - 32px);margin-inline:auto}
.dv-page h1,.dv-page h2,.dv-page h3{letter-spacing:-.01em}

/* ---------- hero ---------- */
.dv-hero{padding:clamp(28px,5vw,56px) 0 clamp(24px,4vw,40px);background:radial-gradient(120% 70% at 50% 0,var(--gold-soft,#f3e9d5) 0,rgba(243,233,213,0) 60%)}
.dv-hero-copy{text-align:center;max-width:760px;margin:0 auto clamp(20px,3vw,32px)}
.dv-crumbs{display:flex;justify-content:center;gap:8px;font-size:13px;color:var(--dv-muted);margin:0 0 12px;padding:0;list-style:none}
.dv-crumbs li+li::before{content:"/";margin-inline-end:8px;color:var(--faint,#8a94a6)}
.dv-crumbs a{color:inherit;text-decoration:none}
.dv-hero h1{font-size:clamp(30px,5.2vw,52px);line-height:1.15;margin:0 0 12px}
.dv-lede{font-size:clamp(16px,2vw,19px);color:var(--ink-soft,#344054);margin:0 0 20px}
.dv-hero-cta{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.dv-hero-cta .pu-btn svg{width:18px;height:18px}

/* ---------- the stage ---------- */
.dv-show{position:relative}
.dv-frame{position:relative;overflow:hidden;border-radius:clamp(16px,2.4vw,28px);background:linear-gradient(180deg,#fff 0,#f7f8fb 100%);border:1px solid var(--dv-line);box-shadow:var(--shadow-lg,0 24px 56px -24px rgba(13,21,38,.3));aspect-ratio:16/9}
.dv-show.is-portrait .dv-frame{aspect-ratio:640/900}
.dv-show:not(.is-ready) .dv-frame{display:none}
.dv-canvas{position:absolute;left:0;top:0;width:1280px;height:720px;transform-origin:0 0;font-size:18px;line-height:1.45;color:var(--dv-ink);overflow:hidden}
.is-portrait .dv-canvas{width:640px;height:900px}
.dv-canvas *{box-sizing:border-box}
.dv-canvas::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(13,21,38,.07) 1px,transparent 1.2px);background-size:26px 26px;mask-image:linear-gradient(180deg,transparent 0,#000 30%,#000 80%,transparent);-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 30%,#000 80%,transparent)}
.dv-scene{position:absolute;inset:0;opacity:0;visibility:hidden}
.dv-ic{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.dv-canvas .pu-mark{width:100%;height:100%;display:block;color:var(--dv-ink)}
.dv-canvas .pu-mark-coin{fill:var(--dv-gold)}
.dv-canvas img{display:block}

/* caption */
.dv-cap{position:absolute;top:34px;inset-inline:60px;display:flex;align-items:center;justify-content:center;gap:20px}
.dv-cap h3{margin:0;font-size:42px;line-height:1.15;font-weight:700}
.dv-cap p{margin:6px 0 0;font-size:23px;color:var(--dv-muted)}
.dv-num{flex:none;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:var(--dv-ink);color:#fff;font-size:28px;font-weight:700;box-shadow:0 0 0 6px var(--gold-soft,#f3e9d5)}
.dv-cap-plain{justify-content:center;text-align:center}
.is-portrait .dv-cap{top:28px;inset-inline:30px;gap:16px;justify-content:flex-start}
.is-portrait .dv-cap h3{font-size:34px}
.is-portrait .dv-cap p{font-size:21px}
.is-portrait .dv-num{width:50px;height:50px;font-size:24px}

.dv-vis{position:absolute;top:170px;bottom:26px;inset-inline:40px;display:flex;align-items:center;justify-content:center}
.is-portrait .dv-vis{top:180px;bottom:28px;inset-inline:28px}
.dv-duo{gap:0}
.is-portrait .dv-duo{flex-direction:column}

/* shared bits */
.dv-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 22px;border-radius:12px;background:var(--dv-ink);color:#fff;font-weight:700;font-size:17px;white-space:nowrap}
.dv-btn .dv-ic{font-size:22px}
.dv-btn-block{display:flex;width:100%}
.dv-btn-ghost{background:#fff;color:var(--dv-ink);border:1.5px solid var(--dv-line)}
.dv-btn.is-press{transform:scale(.96);filter:brightness(1.25)}
.dv-pill{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:999px;font-size:15px;font-weight:700;white-space:nowrap}
.dv-pill .dv-ic{font-size:16px;stroke-width:2.6}
.is-wait{background:var(--warn-bg,#fffaeb);color:var(--warn,#b54708);border:1px solid var(--warn-line,#fedf89)}
.is-ok.dv-pill{background:var(--dv-ok-bg);color:var(--dv-ok);border:1px solid var(--ok-line,#abefc6)}
.dv-mini-logo{width:24px;height:24px;display:inline-block}

/* phone */
.dv-phone{position:relative;width:340px;height:470px;border-radius:42px;background:#fff;border:10px solid var(--dv-ink);box-shadow:0 30px 60px -28px rgba(13,21,38,.45);overflow:hidden;flex:none}
.dv-phone::before{content:"";position:absolute;top:8px;left:50%;width:90px;height:22px;margin-left:-45px;border-radius:12px;background:var(--dv-ink);z-index:2}
.dv-phone-top{display:flex;align-items:center;justify-content:center;gap:8px;height:68px;padding-top:26px;font-size:16px;letter-spacing:.04em}
.dv-screen{position:absolute;top:68px;inset-inline:0;bottom:0;padding:10px 22px 22px;display:flex;flex-direction:column;gap:12px}
.dv-screen h4{margin:0 0 4px;font-size:24px;text-align:center}
.dv-signup label,.dv-field{display:flex;flex-direction:column;gap:4px;font-size:14px;color:var(--dv-muted)}
.dv-signup label i,.dv-field i{font-style:normal;height:46px;border:1.5px solid var(--dv-line);border-radius:12px;padding:0 14px;display:flex;align-items:center;color:var(--dv-ink);font-size:16px;background:#fff;white-space:nowrap;overflow:hidden}
.dv-signup .dv-btn{margin-top:10px}
.dv-kyc{align-items:center;justify-content:center;gap:18px}
.dv-idcard{position:relative;width:236px;height:150px;border-radius:18px;background:linear-gradient(135deg,#f9f3e6,#efe3c8);border:1.5px solid var(--gold-line,#e8d5ac);display:flex;align-items:center;gap:14px;padding:0 20px;overflow:hidden;color:var(--gold-deep,#8a6b30)}
.dv-idcard>.dv-ic{font-size:76px;stroke-width:1.4}
.dv-idlines{display:flex;flex-direction:column;gap:9px;flex:1}
.dv-idlines i{height:9px;border-radius:5px;background:rgba(138,107,48,.28)}
.dv-idlines i:nth-child(2){width:70%}.dv-idlines i:nth-child(3){width:50%}
.dv-scan{position:absolute;inset-inline:0;top:0;height:40px;background:linear-gradient(180deg,rgba(195,154,78,0),rgba(195,154,78,.55));border-bottom:2px solid var(--dv-gold)}
.dv-kyc .dv-pill{height:40px;font-size:18px;padding:0 18px;position:absolute;bottom:64px}
.dv-verified .dv-ic{font-size:22px}
.is-portrait .dv-s-account .dv-phone{transform:scale(1.2)}

/* windows */
.dv-win{border-radius:18px;overflow:hidden;box-shadow:0 30px 60px -30px rgba(13,21,38,.5);flex:none}
.dv-win-bar{height:42px;display:flex;align-items:center;gap:7px;padding:0 16px;background:#141e33;color:#a9b4c8;font-size:14px}
.dv-win-bar>i{width:11px;height:11px;border-radius:50%;background:#ff5f57}
.dv-win-bar>i:nth-child(2){background:#febc2e}.dv-win-bar>i:nth-child(3){background:#28c840}
.dv-win-bar span{margin-inline-start:12px;display:inline-flex;align-items:center;gap:7px;padding:3px 12px;border-radius:8px;background:rgba(255,255,255,.07);white-space:nowrap;overflow:hidden}
.dv-win-light{background:#fff;border:1px solid var(--dv-line)}
.dv-win-light .dv-win-bar{background:#f1f3f7;color:var(--dv-muted)}
.dv-win-light .dv-win-bar span{background:#fff;border:1px solid var(--dv-line)}

/* keys */
.dv-s-keys .dv-win{width:940px}
.is-portrait .dv-s-keys .dv-win{width:100%}
.dv-keys-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:24px}
.is-portrait .dv-keys-grid{grid-template-columns:1fr;gap:16px;padding:18px}
.dv-card{border:1px solid var(--dv-line);border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:14px;min-height:300px;background:#fff}
.is-portrait .dv-card{min-height:0;padding:16px;gap:12px}
.dv-card-h{display:flex;align-items:center;gap:10px;font-size:20px}
.dv-card-h .dv-ic{font-size:26px;color:var(--dv-gold)}
.dv-secret{border-radius:14px;background:var(--dv-ok-bg);border:1px solid var(--ok-line,#abefc6);padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.dv-secret small{font-size:14px;color:var(--dv-ok);font-weight:700}
.dv-secret code{font-family:var(--dv-mono);font-size:17px;color:var(--dv-ink);white-space:nowrap;overflow:hidden}
.dv-secret em{font-style:normal;font-size:13px;color:var(--dv-muted)}

/* paths (video) */
.dv-paths{display:flex;gap:36px;align-items:stretch}
.dv-path{width:470px;border-radius:24px;background:#fff;border:1.5px solid var(--dv-line);padding:28px;display:flex;flex-direction:column;gap:16px;box-shadow:var(--shadow,0 14px 34px -18px rgba(13,21,38,.24))}
.dv-path-h{display:flex;align-items:center;gap:12px;font-size:28px}
.dv-path-h .dv-ic{font-size:34px;color:var(--dv-gold)}
.dv-path ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.dv-path li{display:flex;align-items:center;gap:14px;font-size:22px;font-weight:600}
.dv-path li>span{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--page,#f4f5f8);font-size:18px;flex:none}
.dv-path li.is-ok>span{background:var(--dv-ok);color:#fff}
.dv-path li.is-ok>span .dv-ic{font-size:22px;stroke-width:2.8}
.dv-path small{color:var(--dv-muted);font-size:17px}
.dv-path p{margin:0;font-size:22px;color:var(--ink-soft,#344054)}
.dv-path.is-api{background:var(--dv-ink);color:#fff;border-color:var(--dv-ink)}
.dv-path.is-api p{color:#c9d1df}
.dv-path-go{margin-top:auto;display:inline-flex;align-items:center;gap:10px;align-self:flex-start;height:52px;padding:0 22px;border-radius:14px;background:var(--dv-gold);color:var(--dv-ink);font-weight:700;font-size:20px}
[dir="rtl"] .dv-path-go .dv-ic,[dir="rtl"] .dv-redirect::after{transform:scaleX(-1)}

/* terminal */
.dv-term{width:700px;background:#0d1526;color:#d6deeb;align-self:center}
.dv-s-invoice .dv-term{height:440px}
.dv-s-hook .dv-term{height:480px;display:flex;flex-direction:column}
.is-portrait .dv-term{width:100%}
.is-portrait .dv-s-invoice .dv-term{height:440px}
.is-portrait .dv-s-hook .dv-term{height:500px}
.dv-code{margin:0;padding:16px 22px 6px;font-family:var(--dv-mono);font-size:15px;line-height:1.62;white-space:pre;overflow:hidden;direction:ltr;text-align:left;color:#d6deeb}
.is-portrait .dv-code{font-size:13px;padding:14px 16px 6px}
.dv-code .k{color:#f3c97a}.dv-code .u{color:#9ecbff}.dv-code .s{color:#a5e3a1}.dv-code .p{color:#c4a7ff}.dv-code .c{color:#8a94a6}.dv-code .ok{color:#4ade80;font-weight:700}
.dv-out{border-top:1px dashed rgba(255,255,255,.12);margin-top:6px;padding-top:12px}
.dv-code .hl{border-radius:5px;transition:none}
.dv-code .hl.is-on{background:rgba(195,154,78,.35);box-shadow:0 0 0 3px rgba(195,154,78,.35);color:#fff}
.dv-caret{display:inline-block;width:.55em;height:1.1em;vertical-align:-.18em;background:#f3c97a;margin-inline-start:1px}
.dv-check{border-top:1px dashed rgba(255,255,255,.12);margin-top:4px;padding-top:12px}
.dv-sigok{display:flex;align-items:center;gap:10px;margin:8px 22px 0;padding:10px 14px;border-radius:12px;background:rgba(74,222,128,.14);color:#86efac;font-weight:700;font-size:17px}
.dv-sigok .dv-ic{font-size:22px;stroke-width:2.8}
.dv-orders{margin:auto 22px 20px;border-radius:14px;background:#fff;color:var(--dv-ink);padding:12px 16px}
.dv-orders small{color:var(--dv-muted);font-size:13px}
.dv-order{position:relative;display:flex;align-items:center;gap:16px;margin-top:6px;height:48px;padding:0 14px;border-radius:12px;background:var(--page,#f4f5f8);font-size:17px}
.dv-order b{margin-inline-start:auto}
.dv-order .dv-pill{min-width:110px;justify-content:center}
.dv-order [data-dv="st1"]{position:absolute;inset-inline-end:14px}
.dv-order.is-paid{background:var(--dv-ok-bg);box-shadow:inset 0 0 0 1.5px var(--ok-line,#abefc6)}
.is-portrait .dv-sigok,.is-portrait .dv-orders{margin-inline:16px}

/* PAYUNIT node and wire */
.dv-wire{flex:1;min-width:60px;height:3px;align-self:center;background:repeating-linear-gradient(90deg,var(--gold-line,#e8d5ac) 0 10px,transparent 10px 18px)}
.is-portrait .dv-wire{flex:none;width:3px;height:44px;min-width:0;background:repeating-linear-gradient(180deg,var(--gold-line,#e8d5ac) 0 10px,transparent 10px 18px)}
.dv-node{width:290px;align-self:center;border-radius:24px;background:#fff;border:1.5px solid var(--dv-line);box-shadow:var(--shadow,0 14px 34px -18px rgba(13,21,38,.24));padding:26px 22px;display:flex;flex-direction:column;align-items:center;gap:10px;flex:none}
.dv-node>b{font-size:22px;letter-spacing:.05em}
.dv-node-mark{width:68px;height:68px;padding:12px;border-radius:20px;background:var(--page,#f4f5f8)}
.dv-node.is-pulse{box-shadow:0 0 0 8px rgba(195,154,78,.18),var(--shadow,0 14px 34px -18px rgba(13,21,38,.24))}
.dv-mini-inv{width:100%;border-radius:16px;border:1px solid var(--dv-line);padding:12px;display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:6px}
.dv-mini-inv small{color:var(--dv-muted);font-size:14px}
.dv-mini-inv strong{font-size:26px}
.is-portrait .dv-node{width:100%;flex-direction:row;flex-wrap:wrap;padding:16px 20px;gap:14px;justify-content:flex-start}
.is-portrait .dv-node-mark{width:56px;height:56px;padding:10px}
.is-portrait .dv-mini-inv{width:auto;flex:1;margin:0;flex-direction:row;justify-content:space-between;padding:10px 14px}
.is-portrait .dv-mini-inv strong{font-size:20px}

.dv-packet{position:absolute;left:0;top:0;z-index:5;padding:9px 16px;border-radius:999px;background:var(--dv-gold);color:var(--dv-ink);font-family:var(--dv-mono);font-size:15px;font-weight:700;white-space:nowrap;box-shadow:0 10px 24px -8px rgba(138,107,48,.7);opacity:0;pointer-events:none}
.dv-packet.is-ok{background:#16a34a;color:#fff;box-shadow:0 10px 24px -8px rgba(6,118,71,.7)}

/* checkout */
.dv-store{width:380px}
.dv-store-in{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px}
.dv-store-ic{width:64px;height:64px;border-radius:18px;background:var(--page,#f4f5f8);display:grid;place-items:center;font-size:34px;color:var(--dv-gold)}
.dv-store-in>div{text-align:center}
.dv-store-in small{display:block;color:var(--dv-muted);font-size:16px}
.dv-store-in b{font-size:30px}
.dv-store .dv-btn{width:100%}
.dv-redirect{flex:1;min-width:110px;align-self:center;display:flex;flex-direction:column;align-items:center;gap:8px;font-family:var(--dv-mono);font-size:15px;color:var(--gold-deep,#8a6b30)}
.dv-redirect span{white-space:nowrap;max-width:200px;overflow:hidden;text-overflow:ellipsis;direction:ltr}
.dv-redirect::after{content:"";width:100%;max-width:150px;height:14px;background:var(--dv-gold);clip-path:polygon(0 40%,calc(100% - 12px) 40%,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,calc(100% - 12px) 60%,0 60%)}
.dv-co{height:500px}
.dv-co .dv-screen{gap:8px;padding:6px 18px 18px}
.dv-payee{display:flex;align-items:center;gap:10px}
.dv-avatar{width:40px;height:40px;border-radius:12px;background:var(--gold-soft,#f3e9d5);color:var(--gold-deep,#8a6b30);display:grid;place-items:center;font-weight:700;font-size:18px}
.dv-payee small{display:block;font-size:12px;color:var(--dv-muted);line-height:1.2}
.dv-payee b{font-size:17px}
.dv-tick{color:var(--dv-ok);font-size:18px;display:flex;stroke-width:2.6}
.dv-amount{border-radius:14px;background:var(--page,#f4f5f8);padding:8px 14px;display:flex;justify-content:space-between;align-items:center}
.dv-amount small{font-size:13px;color:var(--dv-muted)}
.dv-amount b{font-size:28px}
.dv-amount em{font-style:normal;color:var(--dv-gold);font-size:18px}
.dv-choose{font-size:13px;color:var(--dv-muted);font-weight:700}
.dv-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.dv-m{height:40px;border-radius:10px;border:1.5px solid var(--dv-line);display:flex;align-items:center;justify-content:center;gap:4px;background:#fff;overflow:hidden}
.dv-m img{width:auto;height:20px;max-width:70px}
.dv-m small{font-size:12px;font-weight:700;color:var(--ink-soft,#344054)}
.dv-m.is-pu{grid-column:1/-1;justify-content:flex-start;gap:10px;padding:0 12px;font-size:15px}
.dv-m-pu{width:24px;height:24px}
.dv-m-stack{flex-direction:column;gap:2px}
.dv-m-logos{display:flex;align-items:center;gap:5px}
.dv-m-stack img{height:13px;max-width:none}
.dv-m-stack small{font-size:10px;line-height:1}
.dv-m-wide{grid-column:span 2}
.dv-m.is-on{border-color:var(--dv-gold);box-shadow:0 0 0 3px rgba(195,154,78,.25);background:#fffcf5}
.dv-paybtn{height:44px;margin-top:auto}
.dv-paid{align-items:center;justify-content:center;text-align:center;gap:8px}
.dv-paid b{font-size:34px}
.dv-paid small{color:var(--dv-muted)}
.dv-bigcheck{width:96px;height:96px;border-radius:50%;background:var(--dv-ok);color:#fff;display:grid;place-items:center;font-size:56px;box-shadow:0 0 0 12px var(--dv-ok-bg)}
.dv-bigcheck .dv-ic{stroke-width:2.6}
.is-portrait .dv-s-pay .dv-store{width:100%}
.is-portrait .dv-store-in{flex-direction:row;padding:14px 18px;gap:14px}
.is-portrait .dv-store-in>div{text-align:start;flex:1}
.is-portrait .dv-store .dv-btn{width:auto}
.is-portrait .dv-store-ic{width:52px;height:52px;font-size:28px}
.is-portrait .dv-redirect{flex:none;min-width:0;height:40px;flex-direction:row}
.is-portrait .dv-redirect::after{display:none}
.is-portrait .dv-co{height:470px;width:330px}

/* balance */
.dv-bal{position:relative;width:500px;border-radius:28px;background:#fff;border:1.5px solid var(--dv-line);box-shadow:var(--shadow-lg,0 24px 56px -24px rgba(13,21,38,.3));padding:34px 36px 26px;text-align:center}
.dv-bal>small{font-size:20px;color:var(--dv-muted)}
.dv-bal-num{font-size:84px;font-weight:800;line-height:1.1;margin:4px 0 14px;font-variant-numeric:tabular-nums}
.dv-bal-num em{font-style:normal;color:var(--dv-gold);font-size:46px}
.dv-bal dl{margin:0;display:flex;flex-direction:column;gap:8px;text-align:start}
.dv-bal dl>div{display:flex;justify-content:space-between;align-items:center;font-size:20px;padding:10px 16px;border-radius:12px;background:var(--page,#f4f5f8)}
.dv-bal dt{color:var(--ink-soft,#344054)}
.dv-bal dd{margin:0;font-weight:700}
.dv-bal .is-net{background:var(--dv-ok-bg);color:var(--dv-ok)}
.dv-bal .is-net dt{color:var(--dv-ok)}
.dv-bal-note{margin:12px 0 0;font-size:15px;color:var(--dv-muted)}
.dv-toast{position:absolute;top:-30px;inset-inline:40px;display:flex;align-items:center;gap:10px;height:54px;padding:0 18px;border-radius:16px;background:var(--dv-ink);color:#fff;font-size:17px;box-shadow:0 20px 40px -18px rgba(13,21,38,.6)}
.dv-toast .dv-ic{font-size:22px;color:var(--dv-gold)}
.dv-toast b{margin-inline-start:auto;color:#86efac}
.is-portrait .dv-bal{width:100%;margin-top:30px}

/* intro / end (video) */
.dv-intro{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px}
.dv-intro-mark{width:110px;height:110px;padding:20px;border-radius:30px;background:#fff;border:1.5px solid var(--dv-line);box-shadow:var(--shadow-lg,0 24px 56px -24px rgba(13,21,38,.3))}
.dv-intro-word{font-size:28px;letter-spacing:.12em;margin-top:6px}
.dv-intro h3{font-size:56px;line-height:1.15;margin:16px 0 0}
.dv-intro p{font-size:28px;color:var(--dv-muted);margin:4px 0 0}
.dv-intro-dots{display:flex;gap:18px;list-style:none;padding:0;margin:26px 0 0}
.dv-intro-dots span{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid var(--gold-line,#e8d5ac);font-weight:700;font-size:22px}
.dv-end-url{margin-top:22px;font-family:var(--dv-mono);font-size:24px;padding:12px 24px;border-radius:14px;background:var(--dv-ink);color:#fff}

/* cursor */
.dv-cursor{position:absolute;left:0;top:0;z-index:9;width:34px;height:34px;opacity:0;pointer-events:none}
.dv-cursor svg{width:34px;height:34px;fill:var(--dv-ink);stroke:#fff;stroke-width:1.6;stroke-linejoin:round;filter:drop-shadow(0 4px 6px rgba(13,21,38,.35))}
.dv-cursor i{position:absolute;left:-14px;top:-14px;width:36px;height:36px;border-radius:50%;border:3px solid var(--dv-gold);opacity:0}

/* controls (page) */
.dv-controls{display:flex;align-items:center;gap:12px;margin-top:14px}
.dv-rail{flex:1;display:grid;grid-template-columns:repeat(6,1fr);gap:8px;list-style:none;margin:0;padding:0}
.dv-rail button{width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:8px 10px 10px;border-radius:12px;border:1px solid var(--dv-line);background:#fff;color:var(--ink-soft,#344054);font:inherit;font-size:14px;font-weight:600;cursor:pointer;text-align:start}
.dv-rail button:hover{border-color:var(--gold-line,#e8d5ac)}
.dv-rail button:focus-visible,.dv-ctl:focus-visible{outline:none;box-shadow:var(--focus,0 0 0 3px rgba(195,154,78,.32))}
.dv-rail button[aria-pressed="true"]{border-color:var(--dv-gold);color:var(--dv-ink)}
.dv-rail-n{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--page,#f4f5f8);font-size:13px;flex:none}
[aria-pressed="true"]>.dv-rail-n{background:var(--dv-ink);color:#fff}
.dv-rail-t{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dv-rail-bar{flex-basis:100%;height:3px;border-radius:2px;background:var(--page-2,#eceef3);overflow:hidden}
.dv-rail-bar i{display:block;height:100%;width:0;background:var(--dv-gold)}
.dv-buttons{display:flex;gap:8px;flex:none}
.dv-ctl{height:48px;min-width:48px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:12px;border:1px solid var(--dv-line);background:#fff;color:var(--dv-ink);font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.dv-ctl svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.dv-ctl .dv-i-play{display:none;fill:currentColor;stroke:none}
.dv-show.is-paused .dv-ctl .dv-i-play{display:block}
.dv-show.is-paused .dv-ctl .dv-i-pause{display:none}
.dv-show.is-ended [data-dv-replay]{background:var(--dv-ink);color:#fff;border-color:var(--dv-ink)}
.dv-show:not(.is-ready) .dv-controls{display:none}
.dv-sr{margin:0;padding-inline-start:20px;font-size:15px}
.dv-show.is-ready .dv-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:760px){
  .dv-controls{flex-direction:column;align-items:stretch}
  .dv-rail{grid-template-columns:repeat(3,1fr)}
  .dv-buttons{justify-content:center}
}

/* ---------- sections ---------- */
.dv-sec{padding:clamp(36px,6vw,72px) 0}
.dv-sec-paper{background:#fff;border-block:1px solid var(--dv-line)}
.dv-h2{font-size:clamp(24px,3.4vw,34px);line-height:1.2;margin:0 0 8px;text-align:center}
.dv-sub{text-align:center;color:var(--dv-muted);margin:0 auto 26px;max-width:640px}
.dv-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media (max-width:760px){.dv-two{grid-template-columns:1fr}}
.dv-way{border-radius:22px;padding:24px;background:#fff;border:1px solid var(--dv-line);box-shadow:var(--shadow-sm,0 1px 2px rgba(13,21,38,.05));display:flex;flex-direction:column;gap:14px}
.dv-way.is-dark{background:var(--dv-ink);color:#fff;border-color:var(--dv-ink)}
.dv-way-h{display:flex;align-items:center;gap:12px}
.dv-way-h i{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--gold-soft,#f3e9d5);color:var(--gold-deep,#8a6b30);flex:none}
.dv-way.is-dark .dv-way-h i{background:rgba(195,154,78,.2);color:var(--dv-gold)}
.dv-way-h i svg{width:26px;height:26px}
.dv-way h3{margin:0;font-size:22px}
.dv-way p{margin:0;color:var(--dv-muted)}
.dv-way.is-dark p{color:#c9d1df}
.dv-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.dv-chips li{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:var(--page,#f4f5f8);font-weight:600;font-size:15px}
.dv-way.is-dark .dv-chips li{background:rgba(255,255,255,.08)}
.dv-chips b{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--dv-ink);font-size:13px;flex:none}
.dv-chips li.is-ok b{background:var(--dv-ok);color:#fff}
.dv-chips svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.dv-way .pu-btn{align-self:flex-start;margin-top:auto}
.dv-way small{color:var(--dv-muted)}

.dv-video{max-width:960px;margin:0 auto}
.dv-video video{display:block;width:100%;height:auto;aspect-ratio:16/9;border-radius:clamp(14px,2vw,24px);background:var(--dv-ink);box-shadow:var(--shadow-lg,0 24px 56px -24px rgba(13,21,38,.3))}
.dv-video p{text-align:center;color:var(--dv-muted);font-size:14px;margin:10px 0 0}
.dv-video p a{color:inherit}

.dv-steps{display:flex;flex-direction:column;gap:22px;counter-reset:dv}
.dv-step{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:22px;align-items:start}
@media (max-width:900px){.dv-step{grid-template-columns:minmax(0,1fr)}}
.dv-step-copy h3{margin:0 0 6px;font-size:20px;display:flex;align-items:center;gap:10px}
.dv-step-copy h3 span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--dv-ink);color:#fff;font-size:15px;flex:none}
.dv-step-copy p{margin:0 0 8px;color:var(--ink-soft,#344054)}
.dv-step-copy ul{margin:0;padding-inline-start:18px;color:var(--dv-muted);font-size:14px}
.dv-step-copy code,.dv-step-copy bdi{font-family:var(--dv-mono);font-size:.92em;background:var(--page,#f4f5f8);padding:1px 6px;border-radius:6px}
.dv-console{min-width:0;border-radius:16px;background:#0d1526;color:#d6deeb;overflow:hidden;box-shadow:var(--shadow,0 14px 34px -18px rgba(13,21,38,.24))}
.dv-console+.dv-console{margin-top:12px}
.dv-console-h{display:flex;align-items:center;gap:6px;padding:8px 10px 8px 14px;background:#141e33}
.dv-console-h b{font-size:13px;color:#a9b4c8;margin-inline-end:auto;font-family:var(--dv-mono)}
.dv-tab{height:32px;padding:0 12px;border-radius:8px;border:0;background:transparent;color:#a9b4c8;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.dv-tab[aria-selected="true"]{background:rgba(255,255,255,.1);color:#fff}
.dv-copy{height:32px;padding:0 10px;border-radius:8px;border:1px solid rgba(255,255,255,.14);background:transparent;color:#d6deeb;font:inherit;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.dv-copy svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dv-console pre{margin:0;padding:14px 16px 16px;font-family:var(--dv-mono);font-size:13px;line-height:1.6;overflow:auto;direction:ltr;text-align:left;white-space:pre;-webkit-user-select:text;user-select:text;max-height:520px}
.dv-console pre *{-webkit-user-select:text;user-select:text}
.dv-console details summary{cursor:pointer;padding:10px 16px;color:#a9b4c8;font-size:13px;border-top:1px solid rgba(255,255,255,.08)}
.dv-note{display:flex;gap:10px;align-items:flex-start;margin-top:10px;padding:12px 14px;border-radius:12px;background:var(--info-bg,#eff8ff);color:var(--info,#175cd3);font-size:14px}
@media (prefers-reduced-motion:reduce){.dv-show *{transition:none!important;animation:none!important}}
.dv-more{margin-top:28px;margin-bottom:0}
.dv-idcard.is-ok{border-color:var(--ok-line,#abefc6);background:linear-gradient(135deg,#f3fbf6,#e3f6ea);color:var(--dv-ok)}
