/*
 * AppKit PUBLIC home page (themes/appkit/home.blade.php). Loads after rm-public.css (tokens, navbar, buttons, footer, reveal helpers).
 * Sections: hero + floating stage, platform marquee, services bento, showcase tabs, how it works, why, API card, FAQ, CTA, and the static AppKit screen mockups (.pm-*).
 * Accent: var(--rm-accent) (Indigo by default). Theme: light by default, dark only under html.rm-pub-dark. The system colour scheme is NOT used.
 * MOTION: every transition, animation and keyframe is inside the prefers-reduced-motion: no-preference block at the END of this file.
 * The mockups are scaled with container query units: the font-size of .pm is a fraction of the frame, and everything inside is in em.
 */
:root {
    --pb-b1: color-mix(in srgb, var(--rm-accent) 26%, #FFFFFF);
    --pb-b2: color-mix(in srgb, #A58BFF 28%, #FFFFFF);
    --pb-b3: color-mix(in srgb, var(--rm-accent) 12%, #FFFFFF);
    --pm-page: #F4F5FA;
    --pm-surface: #FFFFFF;
    --pm-ink: #14151C;
    --pm-muted: #585D6C;
    --pm-line: #E6E7EE;
    --pm-in: #15803D;
    --pm-out: #B42318;
    --pm-ok-soft: #DCFCE7;
    --pm-ac-text: var(--rm-accent);
    --pm-hero: linear-gradient(160deg, var(--rm-accent) 0%, color-mix(in srgb, var(--rm-accent) 86%, #FFFFFF) 100%);
    --pm-card: linear-gradient(160deg, color-mix(in srgb, var(--rm-accent) 62%, #0B0D14) 0%, color-mix(in srgb, var(--rm-accent) 38%, #0B0D14) 100%);
}
html.rm-pub-dark {
    --pb-b1: color-mix(in srgb, var(--rm-accent) 40%, #0B0D14);
    --pb-b2: color-mix(in srgb, #A58BFF 30%, #0B0D14);
    --pb-b3: color-mix(in srgb, var(--rm-accent) 22%, #0B0D14);
    --pm-page: #0B0D14;
    --pm-surface: #161924;
    --pm-ink: #F2F3F7;
    --pm-muted: #A6ABBC;
    --pm-line: #262A37;
    --pm-in: #4ADE80;
    --pm-out: #F87171;
    --pm-ok-soft: #12351F;
    --pm-ac-text: color-mix(in srgb, var(--rm-accent) 55%, #FFFFFF);
    --pm-hero: linear-gradient(160deg, color-mix(in srgb, var(--rm-accent) 84%, #0B0D14) 0%, color-mix(in srgb, var(--rm-accent) 76%, #0B0D14) 100%);
}

/* ---------- Hero ---------- */
.pb-hero { position: relative; isolation: isolate; padding: 130px 0 40px; overflow: hidden; }
@media (min-width: 980px) { .pb-hero { padding: 160px 0 60px; } }
.pb-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pb-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--pb-line) 1px, transparent 1px), linear-gradient(90deg, var(--pb-line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.pb-blob { position: absolute; border-radius: 50%; filter: blur(70px); }
.pb-blob--1 { top: -140px; right: -120px; width: 520px; height: 520px; background: var(--pb-b1); opacity: 0.55; }
.pb-blob--2 { bottom: -80px; left: -120px; width: 380px; height: 380px; background: var(--pb-b2); opacity: 0.45; }
.pb-blob--3 { top: 40%; left: 45%; width: 300px; height: 300px; background: var(--pb-b3); opacity: 0.4; }
.pb-hero__grid { display: grid; align-items: center; gap: 56px; }
@media (min-width: 1080px) { .pb-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 40px; } }
.pb-hero__h1 { margin: 22px 0; font-size: clamp(44px, 6vw, 82px); }
.pb-rot { display: grid; height: 1.14em; margin-bottom: -0.1em; overflow: hidden; }
.pb-rot__w { grid-area: 1 / 1; justify-self: start; opacity: 0; }
.pb-rot__w.is-on { opacity: 1; }
.pb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pb-hero__actions--center { justify-content: center; }
.pb-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; color: var(--pb-muted); font-size: 14px; font-weight: 500; }
.pb-trust i { margin-right: 8px; color: var(--pb-ok); }
.pb-sample { margin-top: 28px; color: var(--pb-muted); font-family: var(--pb-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Hero stage: laptop + phone + floating cards ---------- */
.pb-stage { position: relative; height: clamp(420px, 60vw, 600px); }
@media (max-width: 1079px) { .pb-stage { width: 100%; max-width: 640px; margin: 0 auto; } }
/* No panel or card behind the devices: they float on the hero background (soft glow only). */
.pb-stage::before { content: ""; position: absolute; inset: 8% 0 4% 8%; z-index: 0; background: radial-gradient(closest-side, var(--pb-ac-soft), transparent 78%); opacity: 0.8; pointer-events: none; }
.pb-fl { position: absolute; z-index: 2; }
.pb-fl--laptop { left: -2%; bottom: 9%; width: 90%; }
.pb-fl--phone { right: -1%; top: 3%; }
.pb-fl--phone .pb-phone { transform: rotate(4deg); }
.pb-fl--c1 { left: 1%; top: 7%; }
.pb-fl--c2 { right: 4%; bottom: 0; }
.pb-fl--c3 { left: 4%; bottom: -3%; }
@media (max-width: 640px) {
    .pb-fl--laptop { left: -3%; width: 80%; bottom: 14%; }
    .pb-fl--phone .pb-phone { width: 124px; border-radius: 24px; padding: 5px; }
    .pb-fl--phone .pb-phone__screen { border-radius: 20px; }
    .pb-fl--c3 { display: none; }
    .pb-fl--c1 { top: 3%; }
    .pb-fl--c2 { right: 0; }
}
.pb-fcard { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--pb-line); border-radius: 18px; background: color-mix(in srgb, var(--pb-surface) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--pb-sh-lg); font-size: 13px; line-height: 1.3; }
.pb-fcard b { display: block; color: var(--pb-ink); font-weight: 700; }
.pb-fcard span:not(.pb-fcard__i) { color: var(--pb-muted); }
.pb-fcard__i { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--pb-ac-soft); color: var(--pb-ac-text); }
.pb-fcard__i--ok { background: var(--pb-ok-soft); color: var(--pb-ok); }

/* ---------- Hero slider: slide 1 = person photo, slide 2 = the device stage (rendered only when the photo file exists) ---------- */
.pb-slider { position: relative; }
.pb-slider { touch-action: pan-y; }
.pb-slides { overflow-x: clip; }
.pb-track { display: flex; }
.pb-slide { flex: 0 0 100%; min-width: 0; }
/* The person floats on the hero background: NO box (no background, border, radius or card shadow). The image file is opaque (no alpha channel), so its edges are faded out with a mask
   and a soft accent glow sits behind it; a transparent cut-out (webp/png with alpha) would replace the mask. */
.pb-person { position: relative; height: clamp(420px, 60vw, 600px); }
.pb-person::before { content: ""; position: absolute; inset: 10% 6% 0; background: radial-gradient(closest-side, var(--pb-ac-soft), transparent 80%); opacity: 0.9; pointer-events: none; }
@media (max-width: 1079px) { .pb-person { max-width: 640px; margin: 0 auto; } }
.pb-person picture, .pb-person img { position: relative; display: block; width: 100%; height: 100%; }
.pb-person img { object-fit: contain; object-position: center bottom; -webkit-mask-image: radial-gradient(ellipse 62% 66% at 50% 46%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 62% 66% at 50% 46%, #000 52%, transparent 100%); filter: drop-shadow(0 18px 28px rgba(14, 17, 32, 0.18)); }
.pb-dots { display: flex; justify-content: center; gap: 4px; margin-top: 14px; }
.pb-dots[hidden] { display: none; }
.pb-body .pb-dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.pb-dot i { display: block; width: 10px; height: 10px; border-radius: 99px; background: var(--pb-line2); }
.pb-body .pb-dot.is-on i { width: 28px; background: var(--pb-ac); }
.pb-body .pb-dot:hover i { background: var(--pb-ac-text); }

/* ---------- Device frames (plain CSS) ---------- */
.pb-laptop { position: relative; width: 100%; }
.pb-laptop__screen { position: relative; padding: 2.2% 2.2% 2.6%; border-radius: 16px 16px 4px 4px; background: #0D0F17; box-shadow: 0 0 0 1px #2A2D3A inset, var(--pb-sh-lg); }
.pb-laptop__screen::before { content: ""; position: absolute; top: 0.9%; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: #2B2F3E; transform: translateX(-50%); }
.pb-laptop__display { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--pm-page); }
.pb-laptop__base { position: relative; height: 14px; margin: 0 -6%; border-radius: 2px 2px 14px 14px; background: linear-gradient(180deg, #D9DBE3, #A9ADBA 70%, #8D91A0); }
.pb-laptop__base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 5px; border-radius: 0 0 8px 8px; background: #B9BCC8; transform: translateX(-50%); }
.pb-phone { position: relative; width: 230px; aspect-ratio: 9 / 19.2; padding: 9px; border-radius: 40px; background: #0D0F17; box-shadow: 0 0 0 1.5px #2B2F3E inset, 0 0 0 4px #DFE1E8, var(--pb-sh-lg); }
html.rm-pub-dark .pb-phone { box-shadow: 0 0 0 1.5px #2B2F3E inset, 0 0 0 4px #2A2E3B, var(--pb-sh-lg); }
.pb-phone--sm { width: 180px; padding: 7px; border-radius: 32px; }
.pb-phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 32px; background: var(--pm-page); }
.pb-phone--sm .pb-phone__screen { border-radius: 26px; }
.pb-phone__notch { position: absolute; top: 0; left: 50%; z-index: 5; width: 34%; height: 20px; border-radius: 0 0 14px 14px; background: #0D0F17; transform: translateX(-50%); }

/* ---------- AppKit screen mockups: .pb-scr is the container, .pm the screen ---------- */
.pb-scr { position: absolute; inset: 0; overflow: hidden; container-type: size; background: var(--pm-page); opacity: 0; visibility: hidden; }
.pb-scr.is-on { opacity: 1; visibility: visible; }
.pm { position: relative; isolation: isolate; width: 100%; height: 100%; font-size: calc(100cqw / 24.375); line-height: 1.3; color: var(--pm-ink); }
.pb-scr--desk .pm { width: 24.375em; margin: 0 auto; font-size: calc(100cqh / 26); }
.pm-band { position: relative; padding: 1.1em 1.1em 4.2em; color: #FFFFFF; }
.pm-band--short { padding-bottom: 2.6em; }
.pm-band--mid { padding-bottom: 3.4em; }
.pm-band::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; z-index: -1; width: 100cqw; margin-left: -50cqw; background: var(--pm-hero); }
.pm-hi { margin: 0.2em 0 0; font-size: 0.8em; opacity: 0.9; }
.pm-name { margin: 0; font-size: 1.3em; font-weight: 800; }
.pm-title { display: flex; align-items: center; gap: 0.6em; margin: 0.2em 0 0; font-size: 1.2em; font-weight: 800; }
.pm-card { display: grid; gap: 0.25em; margin-top: 0.9em; padding: 1em; border-radius: 1.1em; background: var(--pm-card); color: #FFFFFF; box-shadow: 0 0.6em 1.2em rgba(10, 12, 40, 0.28); }
.pm-lbl { font-size: 0.75em; opacity: 0.85; }
.pm-amt { font-size: 1.9em; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.pm-amt small { font-size: 0.55em; opacity: 0.8; }
.pm-pill { display: inline-flex; align-items: center; gap: 0.4em; justify-self: start; margin-top: 0.5em; padding: 0.5em 0.9em; border-radius: 99px; background: #FFFFFF; color: #14151C; font-size: 0.75em; font-weight: 700; }
.pm-sheet { position: relative; margin-top: -1.8em; padding: 1.1em; border-radius: 1.9em 1.9em 0 0; background: var(--pm-page); }
.pm-sheet--pad { display: grid; gap: 0.7em; align-content: start; }
.pm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6em; }
.pm-tile { display: grid; justify-items: center; gap: 0.4em; padding: 0.7em 0.2em; border: 1px solid var(--pm-line); border-radius: 1em; background: var(--pm-surface); font-size: 0.75em; }
.pm-tile b { font-weight: 600; }
.pm-ico { display: inline-grid; place-items: center; flex: none; width: 2.2em; height: 2.2em; border-radius: 0.7em; background: color-mix(in srgb, var(--rm-accent) 12%, var(--pm-surface)); color: var(--pm-ac-text); font-size: 1em; line-height: 1; }
.pm-ico--sm { width: 1.6em; height: 1.6em; }
.pm-h { margin: 1.1em 0 0.4em; font-size: 0.95em; font-weight: 800; letter-spacing: 0; }
.pm-row { display: flex; align-items: center; gap: 0.7em; padding: 0.5em 0; font-size: 0.85em; }
.pm-row--box { padding: 0.7em 0.8em; border: 1px solid var(--pm-line); border-radius: 1em; background: var(--pm-surface); }
.pm-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-v { font-weight: 700; }
.pm-v--in { color: var(--pm-in); }
.pm-v--out { color: var(--pm-out); }
.pm-chev { color: var(--pm-muted); font-size: 0.8em; }
.pm-chip { padding: 0.25em 0.7em; border-radius: 99px; font-size: 0.7em; font-weight: 700; }
.pm-chip--0 { background: var(--pm-ok-soft); color: var(--pm-in); }
.pm-chip--1 { background: color-mix(in srgb, var(--rm-accent) 14%, var(--pm-surface)); color: var(--pm-ac-text); }
.pm-chip--2 { background: var(--pm-line); color: var(--pm-muted); }
.pm-field { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; padding: 0.8em 0.9em; border: 1px solid var(--pm-line); border-radius: 0.9em; background: var(--pm-surface); font-size: 0.85em; }
.pm-fl--muted { color: var(--pm-muted); }
.pm-sum { display: flex; justify-content: space-between; padding: 0.2em 0.3em; font-size: 0.9em; }
.pm-sum b { font-weight: 800; }
.pm-cta { display: grid; place-items: center; padding: 0.85em; border-radius: 99px; background: var(--rm-accent); color: #FFFFFF; font-size: 0.9em; font-weight: 700; }
.pm-code { display: grid; gap: 0.2em; padding: 1em; border-radius: 1em; background: var(--pm-card); color: #FFFFFF; text-align: center; }
.pm-code b { font-size: 1.8em; letter-spacing: 0.12em; }
.pm-code span { font-size: 0.75em; opacity: 0.88; }

/* ---------- Platform marquee (static: two wrapped rows; the loop is below, in the motion block) ---------- */
.pb-marqsec { display: grid; gap: 14px; padding-top: 20px; }
.pb-marqsec__label { margin: 0 auto; padding: 0 var(--pb-gut); color: var(--pb-muted); font-family: var(--pb-mono); font-size: 13px; letter-spacing: 0.08em; text-align: center; text-transform: uppercase; }
.pb-marq { overflow: hidden; }
.pb-marq__track { display: flex; justify-content: center; }
.pb-marq__set { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0 var(--pb-gut); }
.pb-marq__set[aria-hidden="true"] { display: none; }
.pb-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--pb-line); border-radius: 999px; background: var(--pb-surface); box-shadow: var(--pb-sh-sm); font-size: 15px; font-weight: 600; white-space: nowrap; }
.pb-pill i { color: var(--pc); font-size: 16px; }
html.rm-pub-dark .pb-pill i { color: color-mix(in srgb, var(--pc) 45%, #FFFFFF); }
.pb-xmark { font-style: normal; font-weight: 800; font-size: 16px; }

/* ---------- Services bento ---------- */
.pb-bento { display: grid; grid-template-columns: 1fr; gap: var(--pb-gap); }
@media (min-width: 700px) { .pb-bento { grid-template-columns: repeat(2, 1fr); } .pb-card--feature { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .pb-bento { grid-template-columns: repeat(4, 1fr); } .pb-card--feature { grid-column: span 2; grid-row: span 2; } }
.pb-card--wide { grid-column: 1 / -1; }
/* "Coming soon" lines: a quiet badge, no link, no hover lift */
.pb-soon { display: inline-block; margin-top: 14px; padding: 5px 12px; border: 1px solid var(--pb-line2); border-radius: 999px; background: var(--pb-bg2); color: var(--pb-ink2); font-family: var(--pb-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.pb-card--dark .pb-soon { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.1); color: #FFFFFF; }
.pb-card { position: relative; padding: 28px; overflow: hidden; border: 1px solid var(--pb-line); border-radius: var(--pb-r); background: var(--pb-surface); }
.pb-card h3 { margin-bottom: 10px; font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.pb-card p { color: var(--pb-muted); font-size: 15px; }
.pb-ibox { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 16px; background: var(--pb-ac-soft); color: var(--pb-ac-text); font-size: 20px; }
.pb-ibox--glass { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.pb-body .pb-card__go { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--pb-line2); border-radius: 50%; color: var(--pb-ink2); font-size: 13px; }
.pb-body .pb-card__go:hover, .pb-body .pb-card__go:focus-visible { background: var(--pb-ink); color: var(--pb-bg); border-color: var(--pb-ink); }
.pb-card--dark { border-color: transparent; background: linear-gradient(160deg, color-mix(in srgb, var(--rm-accent) 22%, var(--pb-dk)) 0%, var(--pb-dk) 70%); color: #FFFFFF; }
.pb-card--dark p { color: rgba(255, 255, 255, 0.72); }
.pb-body .pb-card--dark .pb-card__go { border-color: rgba(255, 255, 255, 0.28); color: #FFFFFF; }
.pb-body .pb-card--dark .pb-card__go:hover, .pb-body .pb-card--dark .pb-card__go:focus-visible { background: #FFFFFF; color: #0E1120; border-color: #FFFFFF; }
.pb-card--feature { display: flex; flex-direction: column; min-height: 420px; padding: 0; }
.pb-card__body { padding: 28px; }
.pb-card__visual { position: relative; flex: 1; min-height: 240px; overflow: hidden; }
.pb-card__laptop { position: absolute; top: 10px; left: 28px; right: -60px; }
.pb-card--grad { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-color: transparent; background: var(--pb-grad-fill); color: #FFFFFF; }
.pb-card--grad p { color: rgba(255, 255, 255, 0.85); }
.pb-card--grad h3 { font-size: 26px; }
.pb-card--grad > div { flex: 1 1 280px; }
.pb-card__big { font-size: 34px; opacity: 0.9; }

/* ---------- Showcase ---------- */
.pb-showcase { overflow-x: clip; }
.pb-tabs-wrap { display: flex; justify-content: center; }
.pb-tabs { position: relative; display: inline-flex; gap: 6px; max-width: 100%; padding: 6px; overflow-x: auto; border: 1px solid var(--pb-line); border-radius: 999px; background: var(--pb-surface); box-shadow: var(--pb-sh-sm); scrollbar-width: none; }
.pb-tabs::-webkit-scrollbar { display: none; }
.pb-body .pb-tab { position: relative; z-index: 1; flex: none; padding: 10px 18px; border-radius: 999px; color: var(--pb-ink2); font-size: 14px; font-weight: 600; white-space: nowrap; }
.pb-body .pb-tab:hover { color: var(--pb-ink); }
.pb-body .pb-tab.is-on { background: var(--pb-ink); color: var(--pb-bg); }
.pb-tabs__pill { position: absolute; top: 6px; bottom: 6px; left: 0; z-index: 0; border-radius: 999px; background: var(--pb-ink); }
.pb-body .pb-tabs.has-pill .pb-tab.is-on { background: none; color: var(--pb-bg); }
.pb-showstage { position: relative; width: min(100%, 980px); margin: 48px auto 0; }
.pb-showstage__laptop { width: 82%; margin: 0 auto; }
.pb-showstage__phone { position: absolute; right: 2%; bottom: -8%; }
.pb-showstage__phone .pb-phone { width: min(210px, 24vw); }
@media (max-width: 760px) {
    .pb-showstage__laptop { width: 100%; }
    .pb-showstage__phone { right: -2%; bottom: -14%; }
    .pb-showstage__phone .pb-phone { width: 116px; padding: 5px; border-radius: 22px; }
    .pb-showstage__phone .pb-phone__screen { border-radius: 18px; }
}
.pb-showcap { display: grid; gap: 12px; justify-items: center; margin-top: 80px; text-align: center; }
.pb-showcap__item { display: grid; gap: 12px; justify-items: center; max-width: 560px; }
.pb-showcap__item[hidden] { display: none; }
.pb-showcap .pb-sample { margin-top: 4px; }

/* ---------- How it works + Why ---------- */
.pb-steps { display: grid; gap: var(--pb-gap); padding: 0; list-style: none; }
@media (min-width: 900px) { .pb-steps { grid-template-columns: repeat(4, 1fr); } }
.pb-step { padding: 28px; border: 1px solid var(--pb-line); border-radius: var(--pb-r); background: var(--pb-surface); }
.pb-step__n { display: flex; align-items: center; gap: 10px; margin-bottom: 40px; color: var(--pb-ac-text); font-family: var(--pb-mono); font-size: 13px; }
.pb-step__n::after { content: ""; flex: 1; height: 1px; background: var(--pb-line2); }
.pb-step h3 { margin-bottom: 10px; font-size: 24px; letter-spacing: -0.02em; }
.pb-step p { color: var(--pb-muted); font-size: 15px; }
.pb-section--soft { background: linear-gradient(180deg, transparent, var(--pb-bg2) 30%, var(--pb-bg2) 70%, transparent); }
.pb-why { display: grid; gap: var(--pb-gap); }
@media (min-width: 700px) { .pb-why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pb-why { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Business API ---------- */
.pb-apicard { display: grid; gap: 36px; align-items: center; padding: clamp(24px, 5vw, 56px); border: 1px solid var(--pb-line); border-radius: 32px; background: var(--pb-surface); box-shadow: var(--pb-sh); }
@media (min-width: 900px) { .pb-apicard { grid-template-columns: 1fr 1fr; gap: 56px; } }
.pb-apicard__copy { display: grid; gap: 18px; justify-items: start; }
.pb-checks { display: grid; gap: 10px; color: var(--pb-ink2); }
.pb-checks li { display: flex; gap: 12px; }
.pb-checks i { flex: none; margin-top: 5px; color: var(--pb-ok); font-size: 13px; }
.pb-code { margin: 0; overflow: hidden; border-radius: 20px; background: var(--pb-dk); color: #E5E7F5; box-shadow: var(--pb-sh-sm); }
.pb-code figcaption { padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: #B4B9CA; font-family: var(--pb-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.pb-code pre { margin: 0; padding: 18px; overflow-x: auto; font-family: var(--pb-mono); font-size: 13px; line-height: 1.7; }
.pb-code code { font-family: inherit; }
.pb-code__l { display: block; min-height: 1.7em; white-space: pre; }
.pb-code__l--c { color: #B4B9CA; }

/* ---------- FAQ ---------- */
.pb-faqgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; gap: clamp(32px, 5vw, 64px); }
.pb-faqhead { display: grid; gap: 18px; justify-items: start; }
@media (min-width: 980px) { .pb-faqhead { position: sticky; top: 120px; } }
.pb-faq { display: grid; gap: 14px; }
.pb-faq__item { overflow: hidden; border: 1px solid var(--pb-line); border-radius: 20px; background: var(--pb-surface); }
.pb-faq__item h3 { margin: 0; font-size: inherit; letter-spacing: 0; line-height: inherit; }
.pb-body .pb-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; min-height: 64px; padding: 22px clamp(18px, 3vw, 28px); color: var(--pb-ink); font-size: 17px; font-weight: 600; line-height: 1.4; text-align: left; }
.pb-faq__plus { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pb-bg2); font-size: 13px; }
.pb-faq__item.is-open .pb-faq__plus { background: var(--pb-ink); color: var(--pb-bg); transform: rotate(45deg); }
.pb-faq__a { display: grid; grid-template-rows: 1fr; }
.pb-faq__a > div { min-height: 0; overflow: hidden; }
.pb-faq__a p { max-width: 70ch; padding: 0 clamp(18px, 3vw, 28px) 26px; color: var(--pb-muted); line-height: 1.65; }
.pb-faq[data-ready] .pb-faq__item:not(.is-open) .pb-faq__a { grid-template-rows: 0fr; }
.pb-faq[data-ready] .pb-faq__item:not(.is-open) .pb-faq__a > div { visibility: hidden; }

/* ---------- CTA ---------- */
.pb-cta { position: relative; isolation: isolate; display: grid; justify-items: center; gap: 22px; padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px); overflow: hidden; border-radius: 40px; background: var(--pb-dk); color: #FFFFFF; text-align: center; }
.pb-cta h2 { max-width: 820px; }
.pb-cta .pb-lead { margin: 0 auto; color: rgba(255, 255, 255, 0.78); }
.pb-cta .pb-hero__actions { margin-top: 12px; }
.pb-eyebrow--glass { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); color: #FFFFFF; }
.pb-glow { position: absolute; z-index: -1; width: 700px; height: 700px; border-radius: 50%; filter: blur(90px); }
.pb-glow--1 { top: -380px; left: -120px; background: var(--rm-accent); opacity: 0.55; }
.pb-glow--2 { bottom: -460px; right: -160px; background: #7C5CFF; opacity: 0.4; }

/* =====================================================================================================================
 * MOTION. All of it is below. Visitors who ask for reduced motion see the same page, still and complete.
 * ===================================================================================================================== */
@media (prefers-reduced-motion: no-preference) {
    /* hero stage: clip reveal of the panel, then the pieces rise in (0.7-1.5s), then bob forever (5-7s) */
    .pb-fl { animation: pb-flin 0.9s var(--pb-ease) var(--d, 0s) both; }
    .pb-bob { animation: pb-bob 5s ease-in-out infinite; }
    .pb-bob--b { --bob: -12px; animation-duration: 6s; }
    .pb-bob--c { --bob: 8px; animation-duration: 7s; }

    /* rotating platform word: leaves up, next one comes from below, 0.7s */
    .pb-rot__w { transform: translateY(100%); transition: transform 0.7s var(--pb-ease), opacity 0.7s var(--pb-ease); }
    .pb-rot__w.is-on { transform: none; transition-delay: 0.15s; }
    .pb-rot__w.is-out { transform: translateY(-100%); opacity: 0; }

    /* hero slider: horizontal swipe, the track slides 0.6s (translateX is set by JS; the 4s auto-advance runs only when motion is allowed; the dots, arrows and swipe always work) */
    .pb-track { transition: transform 0.6s var(--pb-ease); }
    .pb-track.is-drag { transition: none; }
    .pb-dot i { transition: width 0.4s var(--pb-ease), background 0.3s; }

    /* cards: lift, icon tilts, arrow turns */
    .pb-card, .pb-step { transition: transform 0.5s var(--pb-ease), box-shadow 0.5s var(--pb-ease), border-color 0.3s; }
    .pb-card:hover, .pb-step:hover { transform: translateY(-6px); box-shadow: var(--pb-sh); }
    .pb-card:not(.pb-card--dark):not(.pb-card--grad):hover { border-color: transparent; }
    .pb-ibox { transition: transform 0.5s var(--pb-ease); }
    .pb-card:hover .pb-ibox { transform: rotate(-8deg) scale(1.08); }
    .pb-card__go { transition: background 0.4s var(--pb-ease), color 0.4s var(--pb-ease), transform 0.4s var(--pb-ease); }
    .pb-card:hover .pb-card__go { transform: rotate(45deg); }

    /* marquee: two rows, 48s and 56s, paused on hover */
    .pb-marq { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
    .pb-marq__track { justify-content: flex-start; width: max-content; animation: pb-marq 48s linear infinite; }
    .pb-marq--rev .pb-marq__track { animation-duration: 56s; animation-direction: reverse; }
    .pb-marq:hover .pb-marq__track { animation-play-state: paused; }
    .pb-marq__set, .pb-marq__set[aria-hidden="true"] { display: flex; flex-wrap: nowrap; gap: 14px; padding: 0 14px 0 0; }

    /* showcase: screens cross-fade (0.55s), tab pill slides, caption rises */
    .pb-scr { transition: opacity 0.55s var(--pb-ease), transform 0.55s var(--pb-ease), visibility 0s linear 0.55s; }
    .pb-scr:not(.is-on) { transform: scale(1.04); }
    .pb-scr.is-on { transition-delay: 0s; }
    .pb-tab { transition: color 0.3s; }
    .pb-tabs__pill { transition: transform 0.4s var(--pb-ease), width 0.4s var(--pb-ease); }
    .pb-showcap__item:not([hidden]) { animation: pb-rise 0.45s var(--pb-ease) backwards; }

    /* faq: height opens in 0.45s, the plus turns */
    .pb-faq__a { transition: grid-template-rows 0.45s var(--pb-ease); }
    .pb-faq__plus { transition: transform 0.4s var(--pb-ease), background 0.3s, color 0.3s; }
    .pb-faq__a > div { transition: visibility 0s linear 0.45s; }
    .pb-faq__item.is-open .pb-faq__a > div { transition-delay: 0s; }

    @keyframes pb-flin { from { opacity: 0; transform: translateY(36px) scale(0.97); } to { opacity: 1; transform: none; } }
    @keyframes pb-bob { 0%, 100% { transform: none; } 50% { transform: translateY(var(--bob, -8px)); } }
    @keyframes pb-marq { to { transform: translateX(-50%); } }
}
