/* =============================================================================
   Landing page (index.html). Page sections and their live product scenes.
   Shared tokens, sky, nav, cards, FAQ, closing row and footer: css/site.css.
   Modal styles: css/checkout.css. Motion: js/landing.js.
   ============================================================================= */

/* Scene surfaces on the site palette: card (L1) < art stage < window < inner element. */
:root {
    --ld-stage: var(--art-bg);
    --ld-win: var(--surface-solid, #ffffff);
    --ld-el: var(--surface);
    --ld-el-2: var(--surface-2);
    --ld-gold: linear-gradient(180deg, #FFD84A, #FFC800 50%, #F7B000);
    --ld-glow: 0 6px 18px -4px rgba(255,190,0,0.55);
    --gauge-a: #FFE066;
    --gauge-b: #FFC800;
    --gauge-c: #F29B00;
    --spark: #FFB300;
}
:root[data-theme="dark"] { --ld-win: var(--surface); }
/* Inside a window the inner elements step up one level. */
:root[data-theme="dark"] .ld-win, :root[data-theme="dark"] .ld-dash, :root[data-theme="dark"] .ld-stk-row, :root[data-theme="dark"] .ux-soc, :root[data-theme="dark"] .ux-scr, :root[data-theme="dark"] .ux-prc { --ld-el: var(--surface-2); --ld-el-2: var(--surface-3); }
.ld-lab { display: block; font: 800 11px/1 'Manrope', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.ld-mono, .ld-roll.mono { font-family: 'IBM Plex Mono', monospace; }
.ld-caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: -0.2em; background: var(--accent-ink); animation: ldCaret 1s steps(1) infinite; }
@keyframes ldCaret { 50% { opacity: 0; } }
/* Loops only run while their section is on screen (landing.js toggles .ld-run). */
.ld-anim:not(.ld-run), .ld-anim:not(.ld-run) *, .ld-anim:not(.ld-run)::before, .ld-anim:not(.ld-run)::after, .ld-anim:not(.ld-run) *::before, .ld-anim:not(.ld-run) *::after { animation-play-state: paused !important; }
/* Fixed-size stages: a value ticking inside never re-lays out the page around it. */
.ld-fx, .ld-ss, .ux, .pl-art, .pl-feed { contain: layout paint; }

/* Rolling value: the old text slides up and out while the new one slides in. */
.ld-roll { position: relative; display: inline-block; overflow: hidden; vertical-align: bottom; white-space: nowrap; }
.ld-roll > span { display: block; transition: transform .45s cubic-bezier(.3,.8,.25,1), opacity .45s ease; }
.ld-roll > span.out { position: absolute; left: 0; right: 0; top: 0; transform: translateY(-100%); opacity: 0; }
.ld-roll > span.pre { position: absolute; left: 0; right: 0; top: 0; transform: translateY(100%); opacity: 0; transition: none; }

/* Segmented control used inside scenes, with a sliding gold thumb. */
.ld-seg { position: relative; display: flex; padding: 4px; gap: 2px; border-radius: 12px; background: var(--well); box-shadow: var(--well-in); border: 1px solid var(--line); }
.ld-seg > span { position: relative; z-index: 1; flex: 1 1 auto; min-width: 0; padding: 9px 8px; border-radius: 9px; text-align: center; white-space: nowrap; font: 700 12.5px/1 'Manrope', sans-serif; color: var(--ink-2); transition: color .3s ease; }
.ld-seg > span.on { color: #101114; }
.ld-thumb { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 9px; background: var(--ld-gold); box-shadow: var(--ld-glow), inset 0 1px 0 rgba(255,255,255,0.5); transition: transform .5s cubic-bezier(.3,.8,.25,1), width .5s cubic-bezier(.3,.8,.25,1); pointer-events: none; }
.ld-seg.sm > span { padding: 8px 10px; font-size: 12px; }

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */
.lp-hero { position: relative; padding: 150px 0 40px; overflow: hidden; }
.lp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.lp-h1 { margin: 0 0 34px; font: 800 72px/1.02 'Manrope', sans-serif; letter-spacing: -0.04em; text-wrap: balance; }
.lp-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.lp-hero-btns .btn { padding: 18px 32px; font-size: 17px; }
.hero-orb { position: absolute; right: -8%; top: 50%; width: 620px; height: 620px; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,200,0,0.30), rgba(255,200,0,0.12) 45%, transparent 70%); pointer-events: none; animation: orb 10s ease-in-out infinite alternate; }
@keyframes orb { to { transform: translateY(-46%) scale(1.08); } }

/* Hero credential demo: one grid per row, label column then the control. */
.lp-demo { container-type: inline-size; padding: 24px 24px 22px; border-radius: 22px; box-shadow: var(--hi), var(--shadow-lg); }
.lp-demo-top { display: flex; align-items: center; gap: 7px; margin: -4px 0 18px; }
.lp-demo-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.lp-demo-top span { margin-left: auto; font: 700 12px/1 'Manrope', sans-serif; color: var(--mute); }
.lp-demo-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 12px; margin-bottom: 12px; }
.lp-demo-row .lab { font: 700 11px/1 'Manrope', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.lp-demo .mode-toggle { position: relative; display: flex; flex-wrap: nowrap; width: 100%; box-sizing: border-box; padding: 4px; gap: 2px; border-radius: 12px; background: var(--well); box-shadow: var(--well-in); border: 1px solid var(--line); }
.lp-demo .mode-btn { position: relative; z-index: 1; flex: 1 1 auto; min-width: 0; text-align: center; white-space: nowrap; padding: 8px 9px; border-radius: 9px; font-size: 12.5px; transition: color .25s ease; }
.lp-demo .mode-btn:hover { background: transparent; }
.lp-demo .mode-toggle .thumb { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 9px; background: var(--ld-gold); box-shadow: 0 4px 14px -2px rgba(255,190,0,0.55), inset 0 1px 0 rgba(255,255,255,0.5); transition: transform .38s cubic-bezier(.3,.8,.25,1), width .38s cubic-bezier(.3,.8,.25,1), height .38s ease; pointer-events: none; }
.lp-demo .mode-toggle.has-thumb .mode-btn.active { background: transparent; box-shadow: none; color: #101114; }
@container (max-width: 420px) {
    .lp-demo-row { grid-template-columns: minmax(0, 1fr); gap: 9px; margin-bottom: 16px; }
    .lp-demo .mode-btn { padding: 10px 6px; font-size: 12.5px; }
}
@container (max-width: 360px) {
    #demoPools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.lp-demo-out { margin-top: 16px; background: var(--well); box-shadow: var(--well-in); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
.sfx { display: inline-block; vertical-align: top; overflow: hidden; white-space: nowrap; opacity: 0; transition: width .42s cubic-bezier(.3,.8,.25,1), opacity .32s ease; }
.sfx:not(.on) { width: 0; }
.sfx.on { opacity: 1; }
.sfx-t { display: inline-block; }
.sfx-t.swap { animation: sfxSwap .45s ease; }
@keyframes sfxSwap { 0% { opacity: 0.15; transform: translateY(5px); filter: blur(2px); } 100% { opacity: 1; transform: none; filter: none; } }
.lp-demo-out .cred { display: flex; align-items: baseline; gap: 12px; }
.lp-demo-out .k { flex: 0 0 38px; font: 700 10.5px/1.4 'Manrope', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.lp-demo-out .v { flex: 1; min-width: 0; font: 500 12.5px/1.45 'IBM Plex Mono', monospace; color: var(--ink); white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.lp-demo-out .v.is-over.at-start { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.lp-demo-out .v.is-over.at-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%); mask-image: linear-gradient(90deg, transparent, #000 18%); }
.lp-demo-out .v.is-over:not(.at-start):not(.at-end) { -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.lp-demo-out .v::-webkit-scrollbar { display: none; }
.lp-demo-out .p { color: var(--accent-ink); }
.lp-demo-foot { margin-top: 14px; }
.lp-demo-foot .btn { width: 100%; padding: 13px 18px; font-size: 15px; }
/* Autoplay pointer: moves to an option and clicks it until the visitor touches the card. */
.ld-cursor { position: absolute; left: 0; top: 0; z-index: 6; width: 22px; height: 22px; pointer-events: none; opacity: 0; transition: transform .42s cubic-bezier(.3,.8,.25,1), opacity .25s ease; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.35)); }
.ld-cursor.on { opacity: 1; }
.ld-cursor svg { display: block; width: 100%; height: 100%; fill: #fff; stroke: #101114; stroke-width: 1.5; stroke-linejoin: round; }
.ld-cursor::after { content: ""; position: absolute; left: -6px; top: -8px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #FFC800; opacity: 0; }
.ld-cursor.click::after { animation: ldClick .45s ease-out; }
.ld-cursor.click svg { animation: ldPress .25s ease; }
@keyframes ldClick { 0% { opacity: 0.95; transform: scale(0.3); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes ldPress { 50% { transform: scale(0.82); } }

.ld-spark { display: block; width: calc(100% + 28px); height: 58px; margin: auto -14px -10px; }
.ld-spark .ar { fill: url(#ldSparkFill); }
.ld-spark .ln { fill: none; stroke: var(--spark); stroke-width: 2; stroke-linejoin: round; }

/* Stats: count-up numbers with a small live scene each. */
.lp-stats { margin-top: 20px; }
.lp-stats .lp-stat { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px 22px 22px 24px; }
.ld-ss { position: relative; width: 100%; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--ld-stage); border: 1px solid var(--line); overflow: hidden; }
.ld-ss .ld-roll { height: 18px; font: 600 13px/18px 'IBM Plex Mono', monospace; color: var(--ink); }
.ld-ss .ld-roll.cc { height: 32px; font: 800 26px/32px 'Manrope', sans-serif; letter-spacing: -0.02em; min-width: 44px; text-align: center; }
.ld-ss .ld-roll.cc > span { color: var(--accent-text); }
.ld-ss-ip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.ld-ss-ip i { display: block; width: 110px; height: 4px; border-radius: 99px; background: var(--ld-el-2); overflow: hidden; }
.ld-ss-ip i::before { content: ""; display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--g-cta); transform-origin: 0 50%; transform: scaleX(0); }
.ld-ss-ip i.run::before { animation: ldFill .85s linear forwards; }
@keyframes ldFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* five pool icons; the gold tile slides by --i (set from JS), no layout reads */
.ld-pt { --s: 32px; --g: 6px; position: relative; display: flex; gap: var(--g); }
.ld-pt > span { position: relative; z-index: 1; width: var(--s); height: var(--s); display: grid; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.ld-pt > span.on { background: transparent; }
.ld-pt svg { width: 16px; height: 16px; fill: none; stroke: var(--mute); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s ease; }
.ld-pt > span.on svg { stroke: #101114; }
.ld-pt-th { position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); border-radius: 9px; background: var(--ld-gold); box-shadow: var(--ld-glow), inset 0 1px 0 rgba(255,255,255,0.5); transform: translateX(calc(var(--i) * (var(--s) + var(--g)))); transition: transform .5s cubic-bezier(.3,.8,.25,1); }
.ld-ss-chat { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.ld-ss-chat span { display: flex; align-items: center; gap: 4px; height: 20px; padding: 0 9px; border-radius: 10px; width: fit-content; }
.ld-ss-chat .q { margin-right: 44px; background: color-mix(in srgb, var(--ink) 14%, transparent); animation: ldChatQ 2.6s ease-in-out infinite; }
.ld-ss-chat .a { margin-left: 44px; background: var(--ld-gold); animation: ldChatA 2.6s ease-in-out infinite; }
.ld-ss-chat .q i { width: 40px; height: 5px; border-radius: 3px; background: var(--mute); opacity: 0.6; }
.ld-ss-chat .a i { width: 5px; height: 5px; border-radius: 50%; background: #101114; animation: ldDot 1s ease-in-out infinite; }
.ld-ss-chat .a i:nth-child(2) { animation-delay: .15s; } .ld-ss-chat .a i:nth-child(3) { animation-delay: .3s; }
@keyframes ldDot { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-3px); opacity: 1; } }
@keyframes ldChatQ { 0%, 8% { opacity: 0; transform: translateY(6px); } 16%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes ldChatA { 0%, 24% { opacity: 0; transform: translateY(6px) scale(0.9); } 32%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: translateY(-6px); } }

/* ---------------------------------------------------------------------------
   3 steps: auto-advancing tabs, each with its own scene.
   --------------------------------------------------------------------------- */
.ld-steps { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); padding: 10px; gap: 10px; }
.ld-steps-nav { display: grid; gap: 8px; align-content: center; padding: 14px; }
.ld-step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: center; width: 100%; padding: 22px 22px 24px; border: 1px solid transparent; border-radius: 16px; background: transparent; color: inherit; text-align: left; cursor: pointer; overflow: hidden; font: inherit; transition: background .3s ease, border-color .3s ease; }
.ld-step:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.ld-step.on { background: var(--ld-el); border-color: var(--line-2); }
.ld-step .n { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font: 800 19px/1 'Manrope', sans-serif; background: var(--ld-el-2); color: var(--ink-2); transition: background .3s ease, color .3s ease, box-shadow .3s ease; }
.ld-step.on .n { background: var(--g-cta); color: #101114; box-shadow: 0 8px 24px rgba(255,180,0,0.35); }
.ld-step b { display: block; font: 800 21px/1.2 'Manrope', sans-serif; letter-spacing: -0.02em; }
.ld-step small { display: block; margin-top: 7px; font: 500 15.5px/1.55 'Manrope', sans-serif; color: var(--ink-2); }
.ld-step small b { display: inline; font-size: inherit; letter-spacing: 0; color: var(--ink); }
.ld-step .prog { position: absolute; left: 22px; right: 22px; bottom: 10px; height: 3px; border-radius: 99px; background: var(--line); overflow: hidden; opacity: 0; transition: opacity .3s ease; }
.ld-step.on .prog { opacity: 1; }
.ld-step .prog::before { content: ""; display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--g-cta); transform: scaleX(0); transform-origin: 0 50%; }
.ld-step.on .prog::before { animation: ldProg var(--dur, 3000ms) linear forwards; animation-play-state: paused; }
.ld-steps.run .ld-step.on .prog::before { animation-play-state: running; }
@keyframes ldProg { to { transform: scaleX(1); } }
.ld-stage { position: relative; min-height: 460px; border-radius: 16px; overflow: hidden; background: var(--ld-stage); border: 1px solid var(--line); }
.ld-pane { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.98); transition: opacity .3s ease, transform .4s cubic-bezier(.2,.8,.2,1), visibility 0s linear .3s; }
.ld-pane.on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .4s cubic-bezier(.2,.8,.2,1), visibility 0s; }
.ld-win { width: 100%; max-width: 440px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--ld-win); box-shadow: var(--shadow-lg); padding: 24px; }
.ld-win .ld-lab { margin: 0 0 9px; }
.ld-win .ld-seg + .ld-lab { margin-top: 18px; }
/* pane 1: speed */
.ld-gauge { position: relative; display: grid; place-items: center; margin-top: 18px; padding-top: 6px; }
.ld-gauge svg { width: 250px; height: 140px; overflow: visible; }
.ld-gauge .bg, .ld-gauge .fg, .ld-gauge .fr { fill: none; stroke-width: 14; stroke-linecap: round; }
.ld-gauge .bg { stroke: var(--ld-el-2); }
.ld-gauge .fg { stroke: url(#ldGaugeGrad); stroke-dasharray: 314.2; stroke-dashoffset: 314.2; transition: stroke-dashoffset .5s cubic-bezier(.3,.8,.25,1); filter: drop-shadow(0 0 8px rgba(255,180,0,0.45)); }
.ld-gauge .fr { stroke: var(--green); stroke-dasharray: 314.2; stroke-dashoffset: 314.2; transition: stroke-dashoffset .5s cubic-bezier(.3,.8,.25,1), opacity .4s ease; opacity: 0.9; }
.ld-gauge-v { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; }
.ld-gauge-v strong { display: block; font: 800 44px/1 'Manrope', sans-serif; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.ld-gauge-v small { font: 700 13px/1 'Manrope', sans-serif; color: var(--ink-2); }
.ld-free { position: absolute; right: 0; top: 0; padding: 7px 10px; border-radius: 8px; background: var(--green-soft); color: var(--green); border: 1px solid rgba(22,163,95,0.3); font: 800 12.5px/1 'Manrope', sans-serif; opacity: 0; transform: translateY(8px) scale(0.9); transition: opacity .4s ease, transform .45s cubic-bezier(.3,.8,.25,1); }
.ld-free.on { opacity: 1; transform: none; }
/* pane 2: pay */
.ld-pay-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font: 800 15px/1.2 'Manrope', sans-serif; }
.ld-pay-top span { font: 700 13px/1 'Manrope', sans-serif; color: var(--ink-2); }
.ld-pay-total { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0; }
.ld-pay-amt { display: flex; align-items: baseline; gap: 10px; }
.ld-pay-amt s { font: 700 17px/1 'Manrope', sans-serif; color: var(--mute); }
.ld-pay-save { margin-left: auto; font: 700 13.5px/1 'Manrope', sans-serif; color: var(--green); white-space: nowrap; opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .35s cubic-bezier(.3,.8,.25,1); }
.ld-pay-save b { font: 800 16px/1 'Manrope', sans-serif; color: inherit; }
.ld-pay-st.done .ld-pay-save { opacity: 1; transform: none; }
.ld-pay-total strong { font: 800 46px/1 'Manrope', sans-serif; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.ld-pay-btn { display: grid; place-items: center; height: 52px; border-radius: 12px; background: var(--ld-gold); color: #101114; font: 800 16px/1 'Manrope', sans-serif; box-shadow: 0 8px 24px rgba(255,200,0,0.32); transition: transform .18s ease, box-shadow .3s ease, filter .3s ease; }
.ld-pay-btn.press { transform: scale(0.96); box-shadow: 0 3px 10px rgba(255,200,0,0.3); filter: brightness(0.96); }
.ld-pay-st { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px; border-radius: 12px; background: var(--ld-el); border: 1px solid var(--line); opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .45s cubic-bezier(.3,.8,.25,1), border-color .4s ease; }
.ld-pay-st.on { opacity: 1; transform: none; }
.ld-pay-st.done { border-color: rgba(22,163,95,0.4); }
.ld-pring { position: relative; flex: none; width: 38px; height: 38px; }
.ld-pring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ld-pring circle { fill: none; stroke-width: 4; }
.ld-pring .bg { stroke: var(--ld-el-2); }
.ld-pring .fg { stroke: #FFB300; stroke-linecap: round; stroke-dasharray: 100.5; stroke-dashoffset: 100.5; transition: stroke-dashoffset .7s cubic-bezier(.4,0,.2,1), stroke .3s ease; }
.ld-pay-st.done .ld-pring .fg { stroke: var(--green); }
.ld-pring .ck { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(0.6); transition: opacity .3s ease, transform .35s cubic-bezier(.3,.8,.25,1); }
.ld-pring .ck svg { width: 18px; height: 18px; transform: none; }
.ld-pring .ck path { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ld-pay-st.done .ck { opacity: 1; transform: none; }
.ld-pay-st b { font: 800 15px/1.2 'Manrope', sans-serif; }
.ld-pay-st.done b { color: var(--green); }
/* pane 3: delivery */
.ld-in { display: flex; align-items: center; gap: 0; height: 46px; margin: 0 0 16px; padding: 0 8px 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--ld-el); overflow: hidden; }
.ld-in.focus { border-color: #FFB300; box-shadow: 0 0 0 4px var(--accent-soft); }
.ld-in > span:first-child { flex: 0 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: clip; font: 500 13px/1 'IBM Plex Mono', monospace; color: var(--ink); }
.ld-copy { flex: none; padding: 8px 11px; border-radius: 8px; background: var(--ld-el-2); color: var(--ink-2); font: 800 12px/1 'Manrope', sans-serif; transition: background .3s ease, color .3s ease; }
.ld-copy.on { background: var(--accent); color: #101114; }
.ld-pane[data-pane="2"] { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.ld-pane[data-pane="2"] > * { grid-area: 1 / 1; min-width: 0; }
.ld-login { max-width: 380px; transition: opacity .28s ease, transform .35s cubic-bezier(.3,.8,.25,1); }
.ld-login.out { opacity: 0; transform: scale(0.94) translateY(-10px); pointer-events: none; }
.ld-login-h { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font: 800 17px/1 'Manrope', sans-serif; letter-spacing: -0.01em; }
.ld-login-h img { width: 30px; height: 30px; border-radius: 8px; }
.ld-login .ld-pay-btn { height: 48px; font-size: 15px; }
/* A small copy of /dashboard: plan, time left, live throughput, credentials (password masked). */
.ld-dash { width: 100%; max-width: 560px; display: grid; grid-template-columns: 48px minmax(0, 1fr); border-radius: 18px; border: 1px solid var(--line-2); background: var(--ld-win); box-shadow: var(--shadow-lg); overflow: hidden; opacity: 0; transform: translateY(18px) scale(0.95); transition: opacity .32s ease, transform .42s cubic-bezier(.2,.8,.2,1); }
.ld-dash.on { opacity: 1; transform: none; }
.ld-dash-side { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; border-right: 1px solid var(--line); background: var(--ld-el); }
.ld-dash-side img { width: 26px; height: 26px; border-radius: 7px; margin-bottom: 6px; }
.ld-dash-side i { width: 22px; height: 22px; border-radius: 7px; background: var(--ld-el-2); }
.ld-dash-side i.on { background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255,179,0,0.6); }
.ld-dash-main { min-width: 0; display: grid; gap: 10px; padding: 14px; }
.ld-dash-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 800 16px/1 'Manrope', sans-serif; letter-spacing: -0.01em; }
.ld-dash-top code { padding: 6px 9px; border-radius: 8px; background: var(--ld-el); border: 1px solid var(--line); font: 500 11px/1 'IBM Plex Mono', monospace; color: var(--ink-2); white-space: nowrap; }
.ld-dash-plan { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; padding: 14px; border-radius: 12px; background: var(--ld-el); border: 1px solid var(--line); }
.ld-dash-plan .pl, .ld-dash-plan .tl { min-width: 0; }
.ld-dash-plan strong { display: block; margin-top: 8px; font: 800 16px/1.15 'Manrope', sans-serif; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-dash-plan .tl strong { font-size: 26px; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.ld-dash-plan .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.ld-dash-plan .chips span { padding: 5px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--ld-el-2); color: var(--ink); font: 800 10.5px/1 'Manrope', sans-serif; white-space: nowrap; }
.ld-dash-plan .chips .free { background: var(--green-soft); color: var(--green); border-color: rgba(22,163,95,0.3); }
.ld-dash-plan .bar { display: block; height: 6px; margin-top: 10px; border-radius: 99px; background: var(--ld-el-2); overflow: hidden; }
.ld-dash-plan .bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--g-cta); transform-origin: 0 50%; transform: scaleX(0); transition: transform .7s cubic-bezier(.3,.8,.25,1); }
.ld-dash-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px; }
.ld-dash-tile { display: flex; flex-direction: column; min-width: 0; padding: 12px 12px 0; border-radius: 12px; background: var(--ld-el); border: 1px solid var(--line); overflow: hidden; }
.ld-dash-tile strong { margin-top: 8px; font: 800 24px/1 'Manrope', sans-serif; letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ld-dash-tile strong small { font-size: 11.5px; font-weight: 700; letter-spacing: 0; color: var(--ink-2); }
.ld-dash-tile .ld-spark { width: calc(100% + 24px); height: 44px; margin: auto -12px 0; padding-top: 8px; }
.ld-dash-cred { display: grid; gap: 6px; min-width: 0; }
.ld-dash-cred > div { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 10px; border-radius: 9px; background: var(--ld-el); border: 1px solid var(--line); }
.ld-dash-cred .k { flex: 0 0 34px; font: 800 9.5px/1 'Manrope', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.ld-dash-cred code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 11.5px/1.2 'IBM Plex Mono', monospace; color: var(--ink); }
.ld-d-in { opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .38s cubic-bezier(.3,.8,.25,1); }
.ld-dash.on .ld-d-in { opacity: 1; transform: none; }
.ld-dash.on .ld-dash-plan { transition-delay: .06s; }
.ld-dash.on .ld-dash-tile { transition-delay: .16s; }
.ld-dash.on .ld-dash-cred { transition-delay: .26s; }

/* ---------------------------------------------------------------------------
   Features: six cards, each with a working mini mock.
   --------------------------------------------------------------------------- */
.ld-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ld-feat { display: flex; flex-direction: column; padding: 12px; min-width: 0; }
.ld-fx { position: relative; height: 212px; border-radius: 14px; background: var(--ld-stage); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; padding: 18px; }
.ld-feat-t { padding: 20px 12px 12px; }
.ld-feat h3 { margin: 0 0 8px; font: 800 21px/1.25 'Manrope', sans-serif; letter-spacing: -0.02em; }
.ld-feat p { margin: 0; font: 500 15.5px/1.6 'Manrope', sans-serif; color: var(--ink-2); }
.ld-feat p b { color: var(--ink); font-weight: 800; }
/* odometer */
.ld-odo-w { display: grid; justify-items: center; gap: 12px; }
.ld-odo { position: relative; display: flex; align-items: flex-end; height: 50px; font: 800 44px/50px 'Manrope', sans-serif; letter-spacing: -0.03em; }
.ld-odo .d { position: relative; display: inline-block; width: 0.62em; height: 50px; overflow: hidden; text-align: center; }
.ld-odo .d > span { display: block; transition: transform .6s cubic-bezier(.3,.8,.25,1); }
.ld-odo .d > span i { display: block; height: 50px; font-style: normal; }
.ld-odo .c { display: inline-block; width: 0.26em; text-align: center; }
.ld-odo { color: var(--accent-text); }
.ld-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--ld-win); border: 1px solid var(--line-2); box-shadow: var(--shadow); font: 700 12.5px/1 'Manrope', sans-serif; }
.ld-chip .ld-roll { height: 16px; font: 500 12.5px/16px 'IBM Plex Mono', monospace; min-width: 112px; }
.ld-chip .new { padding: 4px 7px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); font: 800 10.5px/1 'Manrope', sans-serif; }
/* success ring */
.ld-rate { display: flex; align-items: center; gap: 22px; width: 100%; justify-content: center; }
.ld-rring { position: relative; flex: none; width: 128px; height: 128px; display: grid; place-items: center; }
.ld-rring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ld-rring circle { fill: none; stroke-width: 10; }
.ld-rring .bg { stroke: var(--ld-el-2); }
.ld-rring .fg { stroke: url(#ldGaugeGrad); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 1.4s cubic-bezier(.3,.8,.25,1); filter: drop-shadow(0 0 8px rgba(255,180,0,0.5)); }
.ld-rring strong { position: relative; font: 800 26px/1 'Manrope', sans-serif; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ld-ticks { display: grid; grid-template-columns: repeat(6, 14px); gap: 5px; }
.ld-ticks i { width: 14px; height: 14px; border-radius: 4px; background: var(--ld-el-2); transition: background .35s ease, box-shadow .35s ease, transform .35s ease; }
.ld-ticks i.ok { background: var(--ld-gold); box-shadow: 0 0 8px rgba(255,190,0,0.4); }
.ld-ticks i.hit { transform: scale(1.25); }
/* pool switcher */
.ld-pools-fx { width: 100%; max-width: 380px; display: grid; gap: 10px; }
.ld-pools-fx .ld-seg > span { padding: 9px 4px; font-size: 11.5px; }
.ld-pu { display: block; padding: 10px 12px; border-radius: 10px; background: var(--ld-el); border: 1px solid var(--line); font: 500 12.5px/1.2 'IBM Plex Mono', monospace; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.ld-pu .p { color: var(--accent-ink); }
.ld-px { display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 9px; border-radius: 12px; background: var(--ld-win); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.ld-px.new { animation: ldPxNew .9s ease; }
@keyframes ldPxNew { from { border-color: rgba(255,179,0,0.8); } }
.ld-px .ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--accent-soft); }
.ld-px .ic svg { width: 17px; height: 17px; fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ld-px .ic.pop { animation: ldPop .42s cubic-bezier(.2,.9,.3,1.3); }
.ld-px .t { flex: 1; min-width: 0; display: grid; gap: 5px; }
.ld-px .t .ld-roll { width: 100%; height: 16px; font: 500 13px/16px 'IBM Plex Mono', monospace; color: var(--ink); }
.ld-px .t .ld-roll.s { height: 14px; font: 700 11.5px/14px 'Manrope', sans-serif; color: var(--mute); }
.ld-px .r { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.ld-px strong { font: 800 13px/1 'Manrope', sans-serif; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ld-px .ok { padding: 3px 6px; border-radius: 6px; background: var(--green-soft); color: var(--green); font: 800 10.5px/1 'Manrope', sans-serif; }
/* sticky / rotating */
.ld-stk { width: 100%; max-width: 320px; display: grid; gap: 14px; }
.ld-stk .ld-seg { width: 220px; justify-self: center; }
.ld-stk-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--ld-win); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.ld-stk-row .ld-roll { height: 18px; font: 500 13.5px/18px 'IBM Plex Mono', monospace; }
.ld-stk-row strong { font: 800 15px/1 'Manrope', sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ld-stk-bar { height: 6px; border-radius: 99px; background: var(--ld-el-2); overflow: hidden; }
.ld-stk-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--g-cta); transform-origin: 0 50%; transition: transform 1s linear; }
/* unlimited */
.ld-unl { width: 100%; max-width: 340px; display: grid; gap: 10px; }
.ld-unl-row { display: flex; align-items: baseline; justify-content: space-between; }
.ld-unl-row strong { font: 800 20px/1 'Manrope', sans-serif; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ld-flow { height: 10px; border-radius: 99px; background: var(--ld-el-2); overflow: hidden; margin-bottom: 6px; }
.ld-flow i { position: relative; display: block; height: 100%; width: 100%; border-radius: inherit; overflow: hidden; box-shadow: 0 0 14px rgba(255,190,0,0.5); }
/* Stripes move as a layer (transform), one stripe period per loop. */
.ld-flow i::before, .pl-speed .bar i::before { content: ""; position: absolute; top: 0; bottom: 0; left: -56px; right: 0; background: repeating-linear-gradient(110deg, #FFD84D 0 14px, #FFB300 14px 28px) 0 0 / 56px 100%; animation: ldFlow .9s linear infinite; }
.ld-flow.b i { opacity: 0.85; }
.ld-flow.b i::before { animation-duration: 1.4s; }
@keyframes ldFlow { to { transform: translateX(56px); } }
.ld-unl-cap { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px dashed var(--line-2); font: 700 13px/1 'Manrope', sans-serif; color: var(--ink-2); }
.ld-unl-cap b { font: 800 18px/1 'Manrope', sans-serif; letter-spacing: -0.02em; }
/* protocols */
.ld-proto { width: 100%; max-width: 380px; display: grid; gap: 10px; }
.ld-proto .ld-seg { width: 200px; justify-self: center; }
.ld-line { display: block; padding: 13px 14px; border-radius: 12px; background: var(--ld-win); border: 1px solid var(--line-2); box-shadow: var(--shadow); font: 500 12.5px/1.45 'IBM Plex Mono', monospace; color: var(--ink-2); white-space: normal; word-break: break-all; min-height: 64px; }
.ld-line b { color: var(--accent-ink); font-weight: 600; }
.ld-line.swap { animation: sfxSwap .45s ease; }
.ld-fmts { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.ld-fmts span { padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--ld-el); font: 500 11px/1 'IBM Plex Mono', monospace; color: var(--mute); transition: background .3s ease, color .3s ease, border-color .3s ease; }
.ld-fmts span.on { background: var(--accent-soft); border-color: rgba(255,179,0,0.45); color: var(--accent-ink); }

/* ---------------------------------------------------------------------------
   Countries
   --------------------------------------------------------------------------- */
.geo { padding: 30px 30px 24px; border-radius: 26px; overflow: hidden; }
.geo::before { content: ""; position: absolute; left: 50%; top: 42%; width: 80%; height: 90%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255,180,0,0.12), transparent); pointer-events: none; }
.geo-map { position: relative; max-width: 1060px; margin: 0 auto; }
.geo canvas { position: relative; display: block; width: 100%; }
/* Pins sit on the map by percent (lon/lat); only transform and opacity animate. */
.geo-pins { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 120 / 53; pointer-events: none; }
.geo-pin { position: absolute; width: 0; height: 0; }
.geo-pin .lb { position: absolute; left: 0; bottom: 9px; display: flex; align-items: center; gap: 7px; padding: 5px 9px 5px 5px; border-radius: 9px; background: var(--ld-win); border: 1px solid var(--line-2); box-shadow: var(--shadow); white-space: nowrap; font: 700 12px/1 'Manrope', sans-serif; color: var(--ink); opacity: 0; transform: translate(-50%, 8px) scale(0.9); transform-origin: 50% 100%; transition: opacity .3s ease, transform .45s cubic-bezier(.2,.9,.3,1.25); }
.geo-pin .lb::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 7px; background: var(--line-2); }
.geo-pin.in .lb { opacity: 1; transform: translate(-50%, 0) scale(1); }
.geo-pin .lb b { padding: 4px 5px; border-radius: 5px; background: var(--accent-soft); color: var(--accent-ink); font: 800 10.5px/1 'Manrope', sans-serif; }
.geo-pin .lb em { font: 700 11px/1 'Manrope', sans-serif; font-style: normal; color: var(--mute); font-variant-numeric: tabular-nums; }
.geo-pin.ex { z-index: 2; }
.geo-pin.ex .lb { background: var(--ld-gold); border-color: rgba(230,160,0,0.9); color: #101114; box-shadow: var(--ld-glow); }
.geo-pin.ex .lb { left: 12px; bottom: auto; top: 0; transform: translate(-6px, -50%) scale(0.9); transform-origin: 0 50%; }
.geo-pin.ex.l .lb { left: auto; right: 12px; transform: translate(6px, -50%) scale(0.9); transform-origin: 100% 50%; }
.geo-pin.ex.in .lb { transform: translate(0, -50%) scale(1); }
.geo-pin.ex .lb::after { left: auto; right: 100%; top: 50%; width: 8px; height: 1px; background: #E6A000; }
.geo-pin.ex.l .lb::after { right: auto; left: 100%; }
.geo-pin.ex .lb b { background: rgba(16,17,20,0.12); color: #101114; }
.geo-pin.ex .lb em { color: rgba(16,17,20,0.62); }
.geo-pin.you { z-index: 1; }
.geo-pin.you .lb { padding: 6px 10px; background: var(--ink); border-color: transparent; color: var(--bg); }
.geo-pin.you .lb::after { background: var(--ink); opacity: 0.5; }
.geo-pin.you.hide .lb { opacity: 0; transform: translate(-50%, 8px) scale(0.9); }
.geo-read { position: absolute; left: 0; bottom: 5%; z-index: 3; width: 272px; padding: 16px; border-radius: 16px; background: var(--ld-win); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.geo-read-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.geo-read .ld-roll.nm { height: 26px; margin-top: 10px; font: 800 22px/26px 'Manrope', sans-serif; letter-spacing: -0.02em; width: 100%; }
.geo-read .geo-city { display: block; width: 100%; height: 16px; margin-top: 6px; font: 700 12.5px/16px 'Manrope', sans-serif; color: var(--mute); }
.geo-kv { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.geo-kv .ld-roll { height: 16px; font: 500 12.5px/16px 'IBM Plex Mono', monospace; }
.geo-kv strong { font: 800 13px/16px 'Manrope', sans-serif; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.geo-user { display: block; margin-top: 10px; padding: 9px 10px; border-radius: 9px; background: var(--ld-el); border: 1px solid var(--line); font: 500 12px/1.2 'IBM Plex Mono', monospace; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.geo-user .p { color: var(--accent-ink); }
.geo-cc { padding: 5px 8px; border-radius: 7px; background: var(--ld-gold); color: #101114; font: 800 12px/1 'Manrope', sans-serif; min-width: 32px; text-align: center; }
/* Two rows of countries drifting in opposite directions; a click shows that country. */
.geo-strip { position: relative; display: grid; gap: 10px; margin: 22px -30px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.geo-row { display: flex; width: max-content; animation: geoMarq var(--dur, 80s) linear infinite; }
.geo-row.rev { animation-direction: reverse; }
.geo-strip:hover .geo-row { animation-play-state: paused; }
@keyframes geoMarq { to { transform: translateX(-50%); } }
.geo-row span { flex: none; display: inline-flex; align-items: center; gap: 8px; margin-right: 8px; padding: 8px 13px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--ld-el); font: 700 13.5px/1 'Manrope', sans-serif; color: var(--ink-2); cursor: pointer; transition: border-color .3s ease, color .3s ease, background .3s ease; }
.geo-row span:hover { border-color: rgba(255,179,0,0.55); color: var(--ink); }
.geo-row span.on { background: var(--accent-soft); border-color: rgba(255,179,0,0.7); color: var(--ink); }
.geo-row b { padding: 4px 5px; border-radius: 5px; background: var(--accent-soft); color: var(--accent-ink); font: 800 10.5px/1 'Manrope', sans-serif; }

/* ---------------------------------------------------------------------------
   Pools: one scene. The tabs pick a pool; the stage shows how its traffic
   behaves (mixed field, fast lanes, homes, server racks, IPv6 decoder).
   --------------------------------------------------------------------------- */
.pl { padding: 10px; border-radius: 24px; }
.pl-tabs { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 5px; border-radius: 17px; background: var(--well); box-shadow: var(--well-in); border: 1px solid var(--line); }
.pl-thumb { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 13px; background: var(--ld-gold); box-shadow: 0 8px 22px -6px rgba(255,180,0,0.6), inset 0 1px 0 rgba(255,255,255,0.55); transition: transform .45s cubic-bezier(.3,.8,.25,1), width .45s cubic-bezier(.3,.8,.25,1); pointer-events: none; }
.pl-tab { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; height: 56px; padding: 0 12px; border: 0; border-radius: 13px; background: transparent; color: var(--ink-2); font: 800 16px/1 'Manrope', sans-serif; letter-spacing: -0.01em; cursor: pointer; overflow: hidden; transition: color .3s ease; }
.pl-tab svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pl-tab span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-tab:hover { color: var(--ink); }
.pl-tab.on { color: #101114; }
.pl-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pl-tabs:not(.has-thumb) .pl-tab.on { background: var(--ld-gold); }
.pl-tab .prog { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 99px; background: rgba(16,17,20,0.14); overflow: hidden; opacity: 0; transition: opacity .3s ease; }
.pl-tab .prog::before { content: ""; display: block; height: 100%; border-radius: inherit; background: #101114; transform: scaleX(0); transform-origin: 0 50%; }
.pl.auto .pl-tab.on .prog { opacity: 0.55; }
.pl.auto .pl-tab.on .prog::before { animation: ldProg var(--dur, 4200ms) linear forwards; animation-play-state: paused; }
.pl.auto.ld-run .pl-tab.on .prog::before { animation-play-state: running; }

.pl-body { display: grid; grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr); gap: 10px; margin-top: 10px; }
.pl-info { display: flex; flex-direction: column; justify-content: center; gap: 30px; min-width: 0; padding: 26px 22px 26px 24px; }
.pl-panes { display: grid; }
.pl-pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s ease, transform .4s cubic-bezier(.2,.8,.2,1), visibility 0s linear .3s; }
.pl-pane.on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease .05s, transform .4s cubic-bezier(.2,.8,.2,1) .05s, visibility 0s; }
.pl-pane .ic { margin-bottom: 22px; }
.pl-pane h3 { margin: 0; font: 800 42px/1.05 'Manrope', sans-serif; letter-spacing: -0.04em; }
.pl-pane p { margin: 14px 0 0; font: 500 17px/1.6 'Manrope', sans-serif; color: var(--ink-2); max-width: 400px; }
.pl-pane p b { color: var(--ink); font-weight: 800; }
.pl-user { min-width: 0; }
.pl-user .ld-lab { margin-bottom: 9px; }
.pl-user code { display: flex; align-items: center; height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid #FFB300; box-shadow: 0 0 0 4px var(--accent-soft); background: var(--ld-el); font: 500 14.5px/1 'IBM Plex Mono', monospace; color: var(--ink); white-space: nowrap; overflow: hidden; }
.pl-user em { font-style: normal; font-weight: 600; color: var(--accent-text); }

.pl-stage { position: relative; min-width: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 14px; border-radius: 18px; background: var(--ld-stage); border: 1px solid var(--line); overflow: hidden; }
.pl-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pl-kpis > div { min-width: 0; padding: 12px 14px; border-radius: 12px; background: var(--ld-win); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pl-kpis strong { display: block; margin-top: 8px; font: 800 22px/26px 'Manrope', sans-serif; letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pl-kpis #plMs { color: var(--accent-text); }
.pl-kpis .ld-roll { height: 26px; width: 100%; }
.pl-kpis .ld-roll > span { font-size: 20px; }

.pl-art { position: relative; height: 196px; border-radius: 14px; background: var(--ld-win); border: 1px solid var(--line); overflow: hidden; }
.pl-sc { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transform: scale(0.97); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s; }
.pl-sc.on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s; }
.pl-glyph { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Full: the whole pool, homes and servers side by side, exits lighting up. */
.pl-field { width: 100%; height: 141px; display: grid; grid-template-columns: repeat(auto-fill, minmax(28px, 1fr)); grid-auto-rows: 30px; gap: 7px; overflow: hidden; }
.pl-field i { position: relative; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--ld-el); color: var(--mute); transition: background .5s ease, color .5s ease, box-shadow .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.pl-field i svg { width: 16px; height: 16px; }
.pl-field i.d { color: color-mix(in srgb, var(--ink) 38%, transparent); }
.pl-field i.hot { background: var(--ld-gold); color: #101114; box-shadow: 0 0 0 3px var(--accent-soft), 0 6px 16px -4px rgba(255,180,0,0.7); transform: translateY(-2px); transition-duration: .12s; }

/* Fast: three lanes, requests fly end to end, latency sits far under the 1000 ms line. */
.pl-fast { width: 100%; display: grid; gap: 14px; padding: 0 6px; }
.pl-lanes { display: grid; gap: 12px; }
.pl-lane { position: relative; display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 10px; }
.pl-lane .end { width: 34px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--ld-el); color: var(--ink-2); font: 800 10px/1 'Manrope', sans-serif; letter-spacing: 0.04em; }
.pl-lane .end svg { width: 15px; height: 15px; }
.pl-lane .end.ok { color: var(--green); transition: background .2s ease; }
.pl-lane .end.ok.hit { background: var(--green-soft); }
.pl-lane .trk { position: relative; height: 6px; border-radius: 99px; background: var(--ld-el-2); overflow: hidden; }
.pl-shot { position: absolute; left: 0; top: 0; width: 90px; height: 100%; border-radius: 99px; background: linear-gradient(90deg, rgba(255,200,0,0), #FFC800 70%, #FFF3B0); box-shadow: 0 0 14px rgba(255,190,0,0.9); animation: plShot var(--t, .42s) cubic-bezier(.55,0,.25,1) forwards; }
@keyframes plShot { from { transform: translateX(-90px); } to { transform: translateX(var(--w, 400px)); } }
.pl-scale { position: relative; padding-top: 4px; }
.pl-scale .bar { position: relative; height: 10px; border-radius: 99px; background: var(--ld-el-2); overflow: hidden; }
.pl-scale .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), color-mix(in srgb, var(--green) 55%, #FFC800)); transform-origin: 0 50%; transform: scaleX(0.2); transition: transform .35s cubic-bezier(.3,.8,.25,1); }
.pl-scale .lim { position: absolute; right: 0; top: 0; bottom: 0; width: 2px; background: var(--red); }
.pl-scale .lab { display: flex; justify-content: space-between; margin-top: 8px; font: 700 11.5px/1 'Manrope', sans-serif; color: var(--mute); }
.pl-scale .lab b { color: var(--red); font-weight: 800; }

/* Residential: a street of homes; the exit home lights up with its connection. */
.pl-street { position: relative; width: 100%; height: 100%; }
.pl-street .ground { position: absolute; left: 4%; right: 4%; bottom: 22px; height: 2px; border-radius: 2px; background: var(--line-2); }
.pl-homes { position: absolute; left: 4%; right: 4%; bottom: 23px; display: flex; align-items: flex-end; justify-content: space-between; }
.pl-home { position: relative; color: color-mix(in srgb, var(--ink) 30%, transparent); transition: color .45s ease, filter .45s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.pl-home svg { display: block; }
.pl-home .pl-glyph { fill: var(--ld-el); stroke-width: 1.6; transition: fill .45s ease; }
.pl-home .win { fill: color-mix(in srgb, var(--ink) 12%, transparent); stroke: none; transition: fill .45s ease; }
.pl-home.hot { color: #E59400; filter: drop-shadow(0 8px 16px rgba(255,170,0,0.45)); transform: translateY(-4px); }
.pl-home.hot .pl-glyph { fill: color-mix(in srgb, #FFC800 22%, var(--ld-win)); }
.pl-home.hot .win { fill: #FFC800; }
.pl-tag-bub { position: absolute; left: 0; top: 0; z-index: 2; padding: 8px 11px; border-radius: 10px; background: var(--ld-win); border: 1px solid rgba(255,179,0,0.55); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); white-space: nowrap; font: 700 12px/1 'Manrope', sans-serif; color: var(--ink); transition: transform .45s cubic-bezier(.3,.8,.25,1), opacity .3s ease; }
.pl-tag-bub small { display: block; margin-top: 5px; font: 500 11.5px/1 'IBM Plex Mono', monospace; color: var(--ink-2); }

/* Datacenter: racks at full tilt and a speed bar that stays pinned. */
.pl-dc { width: 100%; display: grid; gap: 14px; }
.pl-racks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pl-rack { display: grid; gap: 4px; padding: 7px; border-radius: 10px; background: var(--ld-el); border: 1px solid var(--line); }
.pl-rack i { position: relative; display: flex; align-items: center; gap: 6px; height: 13px; padding: 0 5px; border-radius: 4px; background: var(--ld-el-2); overflow: hidden; }
.pl-rack i::before { content: ""; flex: none; width: 9px; height: 5px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 22%, transparent); }
.pl-rack i::after { content: ""; flex: 1; height: 4px; border-radius: 2px; background: var(--ld-gold); transform-origin: 0 50%; animation: plAct var(--sp, .5s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
@keyframes plAct { from { transform: scaleX(0.35); opacity: 0.55; } to { transform: scaleX(1); opacity: 1; } }
.pl-speed { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.pl-speed .bar { height: 12px; border-radius: 99px; background: var(--ld-el-2); overflow: hidden; }
.pl-speed .bar i { position: relative; display: block; width: 96%; height: 100%; border-radius: inherit; overflow: hidden; box-shadow: 0 0 14px rgba(255,190,0,0.5); }
.pl-speed .bar i::before { animation-duration: .45s; }
/* A pool's stage stops moving while another pool is shown. */
.pl-sc:not(.on) *, .pl-sc:not(.on) *::before, .pl-sc:not(.on) *::after { animation-play-state: paused !important; }

/* IPv6: eight hextets decode one after another. */
.pl-v6 { display: grid; justify-items: center; gap: 14px; width: 100%; }
.pl-hex { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 560px; }
.pl-hex span { position: relative; display: grid; place-items: center; height: 58px; border-radius: 11px; background: var(--ld-el); border: 1px solid var(--line); font: 600 16px/1 'IBM Plex Mono', monospace; color: var(--ink-2); transition: background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.pl-hex span.on { background: var(--accent-soft); border-color: rgba(255,179,0,0.6); color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.pl-hex span.done { color: var(--ink); }
.pl-v6-bar { width: 100%; max-width: 560px; height: 6px; border-radius: 99px; background: var(--ld-el-2); overflow: hidden; }
.pl-v6-bar i { display: block; height: 100%; border-radius: inherit; background: var(--g-cta); transform-origin: 0 50%; transform: scaleX(0); transition: transform .35s cubic-bezier(.3,.8,.25,1); }

/* Exit feed shared by every pool. */
.pl-feed { position: relative; height: 150px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.pl-row { position: absolute; left: 0; right: 0; top: 0; height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 8px; border-radius: 11px; background: var(--ld-win); border: 1px solid var(--line); white-space: nowrap; transition: transform .38s cubic-bezier(.3,.8,.25,1), opacity .38s ease, border-color .6s ease, box-shadow .6s ease; }
.pl-row.new { border-color: rgba(255,179,0,0.6); box-shadow: 0 0 0 3px var(--accent-soft); transition-duration: .38s, .38s, .15s, .15s; }
.pl-row .ty { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--accent-soft); color: var(--accent-text); }
.pl-row .ty.d { background: var(--ld-el-2); color: var(--ink-2); }
.pl-row .ty svg { width: 16px; height: 16px; }
.pl-row code { flex: none; min-width: 0; font: 500 13px/1 'IBM Plex Mono', monospace; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.pl-row .nw { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 600 12.5px/1 'Manrope', sans-serif; color: var(--mute); }
.pl-row .ms { flex: none; font: 800 12.5px/1 'Manrope', sans-serif; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pl-row .ms.q { color: var(--green); }
.pl-row .st { flex: none; padding: 5px 7px; border-radius: 6px; background: var(--green-soft); color: var(--green); font: 800 10.5px/1 'Manrope', sans-serif; }

:root[data-theme="dark"] .pl-art, :root[data-theme="dark"] .pl-row { --ld-el: var(--surface-2); --ld-el-2: var(--surface-3); }

/* ---------------------------------------------------------------------------
   Use cases: small tiles, each with a looping scene.
   --------------------------------------------------------------------------- */
.uses { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.use { padding: 10px 10px 20px; text-align: center; display: grid; justify-items: stretch; gap: 16px; overflow: hidden; }
.use h3 { font: 800 16px/1.3 'Manrope', sans-serif; margin: 0; letter-spacing: -0.01em; padding: 0 6px; }
.ux { position: relative; height: 118px; border-radius: 12px; background: var(--ld-stage); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.ux * { box-sizing: border-box; }
/* account creation */
.ux-acc { display: flex; gap: 8px; }
.ux-acc i { position: relative; width: 26px; height: 34px; border-radius: 13px 13px 7px 7px; background: var(--ld-el-2); animation: uxPop 4.8s cubic-bezier(.3,.8,.25,1) infinite; }
.ux-acc i::before { content: ""; position: absolute; left: 50%; top: -14px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: inherit; }
.ux-acc i { background: var(--ld-gold); box-shadow: 0 0 12px rgba(255,190,0,0.35); }
.ux-acc i:nth-child(2) { animation-delay: .3s; } .ux-acc i:nth-child(3) { animation-delay: .6s; } .ux-acc i:nth-child(4) { animation-delay: .9s; }
.ux-acc { margin-top: 14px; }
@keyframes uxPop { 0%, 6% { opacity: 0; transform: translateY(10px) scale(0.6); } 16%, 70% { opacity: 1; transform: none; } 82%, 100% { opacity: 0; transform: translateY(10px) scale(0.6); } }
/* social */
.ux-soc { position: relative; width: 84%; padding: 10px; border-radius: 10px; background: var(--ld-win); border: 1px solid var(--line); display: grid; gap: 6px; }
.ux-soc s { display: block; height: 6px; border-radius: 3px; background: var(--ld-el-2); text-decoration: none; }
.ux-soc s:nth-child(2) { width: 70%; }
.ux-soc .hrt { display: flex; align-items: center; gap: 6px; margin-top: 2px; font: 800 12px/1 'Manrope', sans-serif; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ux-soc svg { width: 14px; height: 14px; fill: #FFB300; }
.ux-soc .ux-ad { position: absolute; top: 8px; right: 8px; padding: 3px 6px; border-radius: 5px; background: var(--accent-soft); color: var(--accent-ink); font: 800 9.5px/1 'Manrope', sans-serif; font-style: normal; letter-spacing: 0.04em; }
.ux-soc s:first-of-type { width: 62%; }
/* price monitoring */
.ux-prc { width: 84%; padding: 10px; border-radius: 10px; background: var(--ld-win); border: 1px solid var(--line); display: grid; gap: 8px; }
.ux-prc div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.ux-prc s { display: block; height: 6px; border-radius: 3px; background: var(--ld-el-2); text-decoration: none; }
.ux-prc div:nth-child(2) s { width: 78%; } .ux-prc div:nth-child(3) s { width: 64%; }
.ux-prc b { min-width: 48px; text-align: right; font: 800 12px/1 'Manrope', sans-serif; font-variant-numeric: tabular-nums; color: var(--ink-2); transition: color .3s ease; }
.ux-prc b.dn { color: var(--green); } .ux-prc b.up { color: var(--accent-ink); }
/* automation */
.ux-auto { width: 80%; display: grid; gap: 9px; }
.ux-auto div { display: grid; grid-template-columns: 14px 1fr; gap: 8px; align-items: center; }
.ux-auto b { width: 14px; height: 14px; border-radius: 4px; background: var(--ld-el-2); animation: uxCheck 4.5s ease infinite; }
.ux-auto i { display: block; height: 7px; border-radius: 99px; background: var(--ld-el-2); overflow: hidden; }
.ux-auto i::before { content: ""; display: block; height: 100%; border-radius: inherit; background: var(--g-cta); transform-origin: 0 50%; animation: uxBar 4.5s ease infinite; }
.ux-auto div:nth-child(2) b, .ux-auto div:nth-child(2) i::before { animation-delay: .5s; }
.ux-auto div:nth-child(3) b, .ux-auto div:nth-child(3) i::before { animation-delay: 1s; }
@keyframes uxBar { 0% { transform: scaleX(0); } 30%, 70% { transform: scaleX(1); } 95%, 100% { transform: scaleX(0); } }
@keyframes uxCheck { 0%, 26% { background: var(--ld-el-2); } 34%, 70% { background: var(--green); } 80%, 100% { background: var(--ld-el-2); } }
/* scraping */
.ux-scr { position: relative; width: 78%; height: 78px; padding: 10px; border-radius: 10px; background: var(--ld-win); border: 1px solid var(--line); display: grid; gap: 7px; align-content: start; overflow: hidden; }
.ux-scr s { display: block; height: 6px; border-radius: 3px; background: var(--ld-el-2); text-decoration: none; }
.ux-scr s:nth-child(2) { width: 75%; } .ux-scr s:nth-child(3) { width: 88%; } .ux-scr s:nth-child(4) { width: 60%; }
.ux-scr::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px; background: linear-gradient(180deg, transparent, rgba(255,200,0,0.45), transparent); animation: uxScan 2.6s ease-in-out infinite alternate; }
@keyframes uxScan { from { transform: translateY(-8px); } to { transform: translateY(70px); } }
/* seo */
.ux-seo { display: flex; align-items: flex-end; gap: 7px; height: 70px; }
.ux-seo i { width: 14px; border-radius: 4px 4px 2px 2px; background: var(--ld-gold); transform-origin: 50% 100%; animation: uxGrow 3.2s cubic-bezier(.3,.8,.25,1) infinite alternate; box-shadow: 0 0 10px rgba(255,190,0,0.3); }
.ux-seo i:nth-child(1) { height: 22%; } .ux-seo i:nth-child(2) { height: 40%; animation-delay: .15s; } .ux-seo i:nth-child(3) { height: 55%; animation-delay: .3s; } .ux-seo i:nth-child(4) { height: 78%; animation-delay: .45s; } .ux-seo i:nth-child(5) { height: 100%; animation-delay: .6s; }
@keyframes uxGrow { from { transform: scaleY(0.2); opacity: 0.5; } to { transform: scaleY(1); opacity: 1; } }

/* Closing card: stopwatch sweep instead of the static bolt. */
.lp-end .deco.watch .sw { stroke-dasharray: 94.3; stroke-dashoffset: 94.3; transform: rotate(-90deg); transform-origin: 32px 36px; animation: ldWatch 6s ease-in-out infinite alternate; stroke-width: 7; stroke-linecap: butt; }
@keyframes ldWatch { to { stroke-dashoffset: 22; } }

/* ---------------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .ld-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uses { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
    .lp-hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .lp-h1 { font-size: 54px; }
    .hero-orb { right: -30%; top: 70%; }
    .ld-steps { grid-template-columns: 1fr; }
    .pl-body { grid-template-columns: minmax(0, 1fr); }
    .pl-pane p { max-width: none; }
    .geo-read { position: relative; left: auto; bottom: auto; width: auto; max-width: 420px; margin: 18px auto 0; box-shadow: var(--shadow); }
}
@media (max-width: 720px) {
    .lp-hero { padding: 186px 0 40px; }
    .lp-h1 { font-size: 40px; margin-bottom: 28px; }
    .lp-hero-btns .btn { flex: 1; text-align: center; padding: 17px 12px; }
    .lp-demo { padding: 22px 18px 20px; }
    .lp-demo-out { margin-top: 18px; padding: 16px; }
    .lp-demo-out .v { font-size: 11.5px; }
    .lp-demo-out .k { flex-basis: 34px; }
    .ld-spark { height: 44px; }
    .lp-stats { margin-top: 12px; }
    .lp-stats .lp-stat { grid-template-columns: 1fr; }
    .lp-stats .lp-stat { gap: 14px; padding: 18px 16px 16px; }
    .lp-stat .ld-ss { height: 48px; border-radius: 12px; }
    .ld-pt { --s: 22px; --g: 3px; }
    .ld-pt > span, .ld-pt-th { border-radius: 6px; }
    .ld-pt svg { width: 12px; height: 12px; }
    .ld-ss .ld-roll { font-size: 11.5px; }
    .ld-ss-ip i { width: 80px; }
    .ld-ss .ld-roll.cc { font-size: 24px; }
    .ld-steps { padding: 6px; }
    .ld-steps-nav { padding: 4px; gap: 4px; }
    .ld-step { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 14px 20px; }
    .ld-step .n { width: 40px; height: 40px; border-radius: 12px; font-size: 17px; }
    .ld-step b { font-size: 18px; }
    .ld-step small { font-size: 14.5px; }
    .ld-step .prog { left: 14px; right: 14px; bottom: 8px; }
    .ld-stage { min-height: 440px; }
    .ld-dash { grid-template-columns: minmax(0, 1fr); }
    .ld-dash-side { display: none; }
    .ld-dash-main { padding: 12px; gap: 8px; }
    .ld-dash-plan { gap: 12px; padding: 12px; }
    .ld-dash-plan { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
    .ld-dash-plan strong { font-size: 13.5px; }
    .ld-dash-plan .tl strong { font-size: 22px; }
    .ld-dash-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .ld-dash-tile { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; padding: 10px 12px 0; }
    .ld-dash-tile .ld-spark { flex: 0 0 calc(100% + 24px); height: 34px; padding-top: 4px; }
    .ld-dash-cred > div { padding: 8px 10px; }
    .ld-pay-save { display: none; }
    .ld-pane { padding: 16px 12px; }
    .ld-win { padding: 18px 16px; }
    .ld-seg > span { padding: 9px 4px; font-size: 11.5px; }
    .ld-gauge svg { width: 210px; height: 118px; }
    .ld-gauge-v strong { font-size: 36px; }
    .ld-free { font-size: 11.5px; padding: 6px 8px; }
    .ld-pay-total strong { font-size: 38px; }
    .ld-win { min-width: 0; }
    .ld-pay-total { align-items: flex-end; }
    .ld-pay-amt { flex-direction: column; align-items: flex-end; gap: 6px; }
    .ld-pay-amt s { font-size: 15px; }
    .ld-pay-top { flex-wrap: wrap; row-gap: 6px; }
    .ld-pay-top span { white-space: nowrap; }
    .ld-feats { grid-template-columns: 1fr; gap: 14px; }
    .ld-feat { padding: 8px; }
    .ld-fx { height: 200px; padding: 14px; }
    .ld-feat-t { padding: 18px 10px 12px; }
    .ld-feat h3 { font-size: 19px; }
    .ld-odo { font-size: 38px; }
    .ld-rring { width: 112px; height: 112px; }
    .geo { padding: 16px 10px 18px; border-radius: 20px; }
    .geo-strip { margin: 18px -10px 0; gap: 8px; }
    .geo-row span { padding: 7px 11px 7px 7px; font-size: 12.5px; }
    .geo-pin .lb { gap: 5px; padding: 3px 6px 3px 3px; border-radius: 7px; font-size: 10.5px; bottom: 7px; }
    .geo-pin .lb b { padding: 3px 4px; font-size: 9.5px; }
    .geo-pin .lb em, .geo-pin .lb .c { display: none; }
    .geo-pin.you .lb { padding: 4px 7px; }
    .pl { padding: 6px; border-radius: 20px; }
    .pl-tabs { display: flex; gap: 2px; padding: 4px; border-radius: 15px; overflow-x: auto; scrollbar-width: none; }
    .pl-tabs::-webkit-scrollbar { display: none; }
    .pl-tabs { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 22px), transparent); }
    .pl-tab { flex: none; height: 48px; gap: 8px; padding: 0 14px; font-size: 14.5px; border-radius: 11px; }
    .pl-thumb { border-radius: 11px; }
    .pl-tab svg { width: 18px; height: 18px; }
    .pl-tab .prog { left: 12px; right: 12px; bottom: 5px; }
    .pl-body { margin-top: 6px; gap: 6px; }
    .pl-info { gap: 18px; padding: 18px 14px 16px; }
    .pl-pane h3 { font-size: 30px; }
    .pl-pane p { margin-top: 10px; font-size: 15.5px; }
    .pl-user code { height: 46px; font-size: 13px; }
    .pl-stage { padding: 10px; gap: 8px; border-radius: 16px; }
    .pl-kpis { gap: 6px; }
    .pl-kpis > div { padding: 10px; }
    .pl-kpis strong { font-size: 17px; line-height: 22px; margin-top: 6px; }
    .pl-kpis .ld-roll { height: 22px; }
    .pl-kpis .ld-roll > span { font-size: 15px; }
    .pl-art { height: 184px; }
    .pl-sc { padding: 12px; }
    .pl-field { height: 147px; grid-template-columns: repeat(auto-fill, minmax(26px, 1fr)); gap: 6px; grid-auto-rows: 30px; }
    .pl-hex { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pl-hex span { height: 40px; font-size: 14px; }
    .pl-pane .ic { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; }
    .pl-racks { gap: 6px; }
    .pl-rack { padding: 5px; }
    .pl-rack i { height: 11px; }
    .pl-row { gap: 9px; padding: 0 9px 0 6px; }
    .pl-row code { font-size: 12px; }
    .pl-row .nw { font-size: 11.5px; }
    .pl-row .st { display: none; }
    .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .ux { height: 104px; }
}
@media (prefers-reduced-motion: reduce) {
    .ld-cursor { display: none; }
    .lp-col.best::after, .lp-col-btn, .lp-col-btn::after, .lp-col-chip::after, .lp-col-save::after, .lp-col-price .big { animation: none !important; }
    .ld-dash, .ld-d-in, .ld-login, .lp-included li, .lp-included .ck, .lp-included .ck path { transition: none !important; }
    .pl-thumb, .pl-pane, .pl-sc, .pl-row, .pl-field i, .pl-home, .pl-tag-bub, .pl-scale .bar i, .pl-hex span { transition: none !important; }
    .pl-rack i::after, .pl-speed .bar i::before, .ld-flow i::before, .lp-col-badge::after, .lp-col-chip { animation: none !important; }
    .pl-tab .prog { display: none; }
    .hero-orb, .lp-col.pop::after, .ld-caret, .ld-flow i, .ld-ss *, .ux *, .ux::after, .ux *::before, .ux *::after, .lp-end .deco.watch .sw { animation: none !important; }
    .ld-pane, .ld-pane.on, .ld-roll > span, .ld-thumb, .lp-speed .thumb, .ld-gauge .fg, .ld-gauge .fr, .ld-rring .fg { transition: none !important; }
    .ld-step .prog { display: none; }
    .ux-acc i, .ux-auto i::before, .ux-seo i { opacity: 1; transform: none; }
    .ux-auto b { background: var(--green); }
    .ld-ss-chat .q, .ld-ss-chat .a { opacity: 1; transform: none; }
    .geo-row { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
    .geo-row + .geo-row { display: none; }
    .geo-strip { -webkit-mask-image: none; mask-image: none; }
    .geo-pin .lb, .ld-pt-th { transition: none !important; }
}

/* ---------------------------------------------------------------------------
   Glass dark (html.glass): orange instead of gold, a frosted demo card with an
   orange light running round it and a warm light behind it.
   --------------------------------------------------------------------------- */
:root.glass[data-theme="dark"] {
    --ld-gold: linear-gradient(180deg, #FFB547 0%, #FF9A0A 52%, #F27A00 100%);
    --ld-glow: 0 6px 18px -4px rgba(255,140,0,0.55);
    --ld-stage: radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,0.055), rgba(255,255,255,0) 70%), #060607;
    --ld-win: #141416;
    --ld-el: #141416;
    --ld-el-2: #1b1b1e;
    --gauge-a: #FFB547;
    --gauge-b: #FF9A0A;
    --gauge-c: #F27A00;
    --spark: #FF9F0A;
}
:root.glass[data-theme="light"] {
    --ld-gold: linear-gradient(180deg, #FFB547 0%, #FF9A0A 52%, #F27A00 100%);
    --ld-glow: 0 6px 18px -4px rgba(255,140,0,0.45);
    --ld-stage: radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,0.9), rgba(255,255,255,0) 70%), #f5f5f7;
    --ld-win: #ffffff;
    --ld-el: #f5f5f7;
    --ld-el-2: #ececf0;
    --gauge-a: #FFB547;
    --gauge-b: #FF9A0A;
    --gauge-c: #F27A00;
    --spark: #FF9A0A;
}
:root.glass[data-theme="dark"] .ld-win, :root.glass[data-theme="dark"] .ld-dash, :root.glass[data-theme="dark"] .ld-stk-row, :root.glass[data-theme="dark"] .ux-soc, :root.glass[data-theme="dark"] .ux-scr, :root.glass[data-theme="dark"] .ux-prc { --ld-el: #1b1b1e; --ld-el-2: #232327; }
/* Type on orange */
:root.glass[data-theme] .ld-seg > span.on, :root.glass[data-theme] .lp-demo .mode-toggle.has-thumb .mode-btn.active, :root.glass[data-theme] .ld-step.on .n, :root.glass[data-theme] .ld-pay-btn, :root.glass[data-theme] .ld-copy.on, :root.glass[data-theme] .geo-pin.ex .lb, :root.glass[data-theme] .geo-pin.ex .lb b, :root.glass[data-theme] .geo-cc, :root.glass[data-theme] .pl-tab.on, :root.glass[data-theme] .pl-field i.hot { color: #1A0E00; }
:root.glass[data-theme] .ld-pt > span.on svg { stroke: #1A0E00; }
:root.glass[data-theme] .ld-ss-chat .a i, :root.glass[data-theme] .pl-tab .prog::before { background: #1A0E00; }

/* Hero: the demo card in frosted glass over a warm light. */
:root.glass[data-theme] .hero-orb { left: 50%; right: auto; top: 50%; width: 660px; height: 600px; transform: translate(-50%, -50%); background: var(--gl-warm); animation: none; }
:root.glass[data-theme] .lp-demo { border-color: transparent; background: var(--gl-hi) border-box, var(--gl-fill) border-box; box-shadow: var(--gl-in), var(--gl-drop); }
/* The edge catches light at two corners only. */
:root.glass[data-theme] .lp-demo::before { content: ""; position: absolute; inset: -1px; z-index: 1; border-radius: inherit; padding: 1px; pointer-events: none; background: var(--gl-rims); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
:root.glass[data-theme] .lp-demo .ring-fx { padding: 2px; }
:root.glass[data-theme] .lp-demo .ring-fx > i { background: conic-gradient(transparent 0deg, transparent 228deg, rgba(255,181,71,0) 240deg, rgba(255,196,110,0.95) 292deg, #FF8A00 322deg, rgba(255,138,0,0) 348deg); animation-duration: 8s; }
:root.glass[data-theme] .lp-demo .mode-toggle, :root.glass[data-theme] .lp-demo-out { background: var(--gl-well); border-color: var(--gl-well-line); box-shadow: var(--gl-well-in); }
:root.glass[data-theme] .lp-demo .mode-toggle .thumb { box-shadow: 0 4px 14px -2px rgba(255,140,0,0.55), inset 0 1px 0 rgba(255,255,255,0.45); }
:root.glass[data-theme] .ld-cursor::after { border-color: #FF9F0A; }
/* A shine crosses the glass once every 8 s. */
.pf-sheen { display: none; }
:root.glass[data-theme] .pf-sheen { display: block; position: absolute; inset: 0; z-index: 1; border-radius: inherit; overflow: hidden; pointer-events: none; }
:root.glass[data-theme] .pf-sheen b { position: absolute; top: -20%; bottom: -20%; left: 0; width: 24%; background: linear-gradient(100deg, transparent 0%, var(--gl-sheen) 50%, transparent 100%); transform: translateX(-160%) skewX(-18deg); animation: pfSheen 8s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes pfSheen { 0%, 76% { transform: translateX(-160%) skewX(-18deg); } 100% { transform: translateX(520%) skewX(-18deg); } }

/* Scenes: gold accents become orange. */
:root.glass[data-theme] .ld-step.on .n { box-shadow: 0 8px 24px rgba(255,130,0,0.35); }
:root.glass[data-theme="dark"] .ld-gauge .fg, :root.glass[data-theme="dark"] .ld-rring .fg { filter: drop-shadow(0 0 8px rgba(255,140,0,0.35)); }
:root.glass[data-theme] .ld-pay-btn { box-shadow: 0 8px 24px rgba(255,130,0,0.32); }
:root.glass[data-theme] .ld-pay-btn.press { box-shadow: 0 3px 10px rgba(255,130,0,0.3); }
:root.glass[data-theme] .ld-pring .fg { stroke: #FF9F0A; }
:root.glass[data-theme] .ld-in.focus, :root.glass[data-theme] .pl-user code { border-color: #FF9F0A; }
:root.glass[data-theme] .ld-dash-side i.on { box-shadow: inset 0 0 0 1px rgba(255,150,10,0.6); }
:root.glass[data-theme] .ld-ticks i.ok { box-shadow: 0 0 8px rgba(255,140,0,0.4); }
:root.glass[data-theme] .ld-px.new { animation-name: ldPxNewG; }
@keyframes ldPxNewG { from { border-color: rgba(255,150,10,0.8); } }
:root.glass[data-theme] .ld-flow i, :root.glass[data-theme] .pl-speed .bar i { box-shadow: 0 0 14px rgba(255,140,0,0.45); }
:root.glass[data-theme] .ld-flow i::before, :root.glass[data-theme] .pl-speed .bar i::before { background: repeating-linear-gradient(110deg, #FFB547 0 14px, #FF8A00 14px 28px) 0 0 / 56px 100%; }
:root.glass[data-theme] .ld-fmts span.on { border-color: rgba(255,150,10,0.45); }
:root.glass[data-theme] .geo::before { background: radial-gradient(closest-side, rgba(255,130,0,0.1), transparent); }
:root.glass[data-theme] .geo-pin.ex .lb { border-color: rgba(255,150,10,0.9); }
:root.glass[data-theme] .geo-pin.ex .lb b { background: rgba(26,14,0,0.12); }
:root.glass[data-theme] .geo-row span:hover { border-color: rgba(255,150,10,0.55); }
:root.glass[data-theme] .geo-row span.on { border-color: rgba(255,150,10,0.7); }
:root.glass[data-theme] .pl-thumb { box-shadow: 0 8px 22px -6px rgba(255,130,0,0.6), inset 0 1px 0 rgba(255,255,255,0.45); }
:root.glass[data-theme] .pl-field i.hot { box-shadow: 0 0 0 3px var(--accent-soft), 0 6px 16px -4px rgba(255,130,0,0.7); }
:root.glass[data-theme] .pl-shot { background: linear-gradient(90deg, rgba(255,140,0,0), #FF9F0A 70%, #FFE0B8); box-shadow: 0 0 14px rgba(255,140,0,0.9); }
:root.glass[data-theme] .pl-scale .bar i { background: linear-gradient(90deg, var(--green), color-mix(in srgb, var(--green) 55%, #FF9F0A)); }
:root.glass[data-theme] .pl-home.hot { color: #FF8A00; filter: drop-shadow(0 8px 16px rgba(255,130,0,0.45)); }
:root.glass[data-theme] .pl-home.hot .pl-glyph { fill: color-mix(in srgb, #FF9F0A 22%, var(--ld-win)); }
:root.glass[data-theme] .pl-home.hot .win { fill: #FF9F0A; }
:root.glass[data-theme] .pl-tag-bub { border-color: rgba(255,150,10,0.55); }
:root.glass[data-theme] .pl-hex span.on { border-color: rgba(255,150,10,0.6); }
:root.glass[data-theme] .pl-row.new { border-color: rgba(255,150,10,0.6); }
:root.glass[data-theme] .ux-acc i { box-shadow: 0 0 12px rgba(255,140,0,0.35); }
:root.glass[data-theme] .ux-soc svg { fill: #FF9F0A; }
:root.glass[data-theme] .ux-scr::after { background: linear-gradient(180deg, transparent, rgba(255,150,10,0.45), transparent); }
:root.glass[data-theme] .ux-seo i { box-shadow: 0 0 10px rgba(255,140,0,0.3); }
@media (prefers-reduced-motion: reduce) {
    :root.glass[data-theme] .pf-sheen b { animation: none; }
}

/* Glass dark: shapes and spacing of the forum poster. */
:root.glass[data-theme] .lp-demo { border-radius: 28px; }
:root.glass[data-theme] :is(.ld-fx, .ld-stage, .ld-ss) { border-radius: 20px; }
:root.glass[data-theme] .ld-stage { border-color: transparent; }
:root.glass[data-theme] .lp-stats { margin-top: 64px; }
:root.glass[data-theme] .ld-rring svg, :root.glass[data-theme] .ld-gauge svg { overflow: visible; }
:root.glass[data-theme] .geo::before { background: radial-gradient(closest-side, rgba(255,130,0,0.04), transparent); }
:root.glass[data-theme] .geo, :root.glass[data-theme] .pl { border-radius: 28px; }
:root.glass[data-theme] .ld-line { word-break: normal; overflow-wrap: anywhere; }
:root.glass[data-theme] .lp-demo-top { display: none; }
.geo-cc.pop { animation: ldPop .42s cubic-bezier(.2,.9,.3,1.3); }
@keyframes ldPop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: none; } }
/* Paid: the ring turns green around a white check (ink on white). */
:root.glass[data-theme] .ld-pay-st.done .ld-pring .fg { stroke: var(--green); }
:root.glass[data-theme] .ld-pring .ck path { stroke: var(--ink); }
/* 99.5% success ring: orange ring, ink figure (the steps gauge stays white in dark). */
:root.glass[data-theme] .ld-rring .fg { stroke: #FF9F0A; filter: drop-shadow(0 0 8px rgba(255,130,0,0.45)); }
:root.glass[data-theme] .ld-rring strong { color: var(--ink); -webkit-text-fill-color: currentColor; background: none; }
