/* BillPaid public site */
:root {
    --bp-brand: #6f3fc4;
    --bp-brand-dark: #5a2fa8;
    --bp-brand-soft: #f1ebfb;
    --bp-sky: #a98be0;
    --bp-ink: #241544;
    --bp-text: #5f5872;
    --bp-muted: #938ca6;
    --bp-line: #ece6f5;
    --bp-bg: #ffffff;
    --bp-bg-alt: #f8f5fd;
    --bp-radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bp-bg);
    color: var(--bp-text);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--bp-ink); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.bp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.bp-section { padding: 88px 0; }
.bp-section.alt { background: var(--bp-bg-alt); }
.bp-h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.2; margin-bottom: 14px; }
.bp-lead { font-size: 1.075rem; max-width: 560px; }
.bp-center { text-align: center; }
.bp-center .bp-lead { margin-left: auto; margin-right: auto; }

.bp-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: 999px;
    background: var(--bp-brand); color: #fff;
    font-weight: 700; font-size: .95rem; border: 0;
    transition: background .15s ease;
}
.bp-btn:hover { background: var(--bp-brand-dark); color: #fff; }
.bp-btn.ghost { background: transparent; color: var(--bp-brand); box-shadow: inset 0 0 0 1.5px var(--bp-brand); }
.bp-btn.ghost:hover { background: var(--bp-brand-soft); }
.bp-btn.sm { padding: 9px 18px; font-size: .875rem; }

/* ---------- Header ---------- */
.bp-header {
    position: sticky; top: 0; z-index: 50;
    background: #fff; border-bottom: 1px solid var(--bp-line);
}
.bp-header .bp-wrap { display: flex; align-items: center; height: 68px; gap: 28px; }
.bp-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--bp-ink); }
.bp-logo img { width: 36px; height: 36px; }
.bp-nav { display: flex; gap: 28px; margin-left: auto; }
.bp-nav a { font-weight: 600; font-size: .95rem; color: var(--bp-ink); }
.bp-nav a:hover { color: var(--bp-brand); }
.bp-menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.bp-menu-btn span { display: block; width: 22px; height: 2px; background: var(--bp-ink); margin: 5px 0; }
@media (max-width: 860px) {
    .bp-menu-btn { display: block; }
    .bp-header .bp-btn { display: none; }
    .bp-nav {
        display: none; position: absolute; top: 68px; left: 0; right: 0;
        flex-direction: column; gap: 0; background: #fff;
        border-bottom: 1px solid var(--bp-line); padding: 8px 20px 16px;
    }
    .bp-nav.open { display: flex; }
    .bp-nav a { padding: 12px 0; border-bottom: 1px solid var(--bp-line); }
    .bp-nav a.bp-nav-cta { display: block; border: 0; color: var(--bp-brand); }
}
@media (min-width: 861px) { .bp-nav a.bp-nav-cta { display: none; } }

/* ---------- Hero ---------- */
.bp-hero { padding: 72px 0 80px; background: var(--bp-bg-alt); overflow: hidden; }
.bp-hero .bp-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.bp-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 20px; }
.bp-hero h1 em { font-style: normal; color: var(--bp-brand); }
.bp-hero .bp-lead { font-size: 1.15rem; margin-bottom: 32px; }
.bp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bp-hero-note { margin-top: 28px; font-size: .9rem; color: var(--bp-muted); display: flex; gap: 22px; flex-wrap: wrap; }
.bp-hero-note b { color: var(--bp-ink); }
@media (max-width: 900px) {
    .bp-hero .bp-wrap { grid-template-columns: 1fr; }
    .bp-hero { padding: 48px 0 56px; }
}

/* Phone mock (built in HTML, no stock image) */
.bp-phone {
    width: 300px; max-width: 100%; margin: 0 auto;
    background: #111; border-radius: 40px; padding: 12px;
    box-shadow: 0 30px 60px -20px rgba(80, 40, 150, .35);
}
.bp-screen { background: #fff; border-radius: 30px; overflow: hidden; }
.bp-screen-top { background: var(--bp-brand); color: #fff; padding: 22px 18px 18px; }
.bp-screen-top small { opacity: .8; font-size: .75rem; }
.bp-screen-top .bal { font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.bp-screen-body { padding: 16px; }
.bp-screen-title { font-size: .8rem; font-weight: 700; color: var(--bp-ink); margin-bottom: 12px; }
.bp-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px; margin-bottom: 16px; }
.bp-mini { text-align: center; font-size: .65rem; color: var(--bp-text); font-weight: 600; }
.bp-mini i { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 5px; border-radius: 12px; background: var(--bp-brand-soft); }
.bp-mini i img { width: 22px; height: 22px; }
.bp-txn { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--bp-line); font-size: .75rem; }
.bp-txn img { width: 30px; height: 30px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--bp-line); }
.bp-txn b { display: block; color: var(--bp-ink); font-size: .78rem; }
.bp-txn span.amt { margin-left: auto; font-weight: 700; color: var(--bp-ink); }
.bp-txn span.ok { display: block; color: #0f9d58; font-size: .68rem; font-weight: 600; }

/* ---------- Operators strip ---------- */
.bp-ops { padding: 36px 0; border-bottom: 1px solid var(--bp-line); }
.bp-ops .bp-wrap { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; justify-content: center; }
.bp-ops p { margin: 0; font-weight: 600; color: var(--bp-muted); font-size: .9rem; }
.bp-ops img { height: 34px; width: auto; filter: grayscale(1); opacity: .7; transition: .2s; }
.bp-ops img:hover { filter: none; opacity: 1; }
@media (max-width: 600px) {
    .bp-ops .bp-wrap { gap: 18px 22px; }
    .bp-ops p { flex-basis: 100%; text-align: center; }
    .bp-ops img { height: 26px; }
}

/* ---------- Services ---------- */
.bp-services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 44px; }
.bp-svc {
    background: #fff; border: 1px solid var(--bp-line); border-radius: var(--bp-radius);
    padding: 22px 12px; text-align: center; font-weight: 600; color: var(--bp-ink); font-size: .92rem;
    transition: border-color .15s, transform .15s;
}
.bp-svc:hover { border-color: var(--bp-brand); transform: translateY(-2px); }
.bp-svc i { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--bp-brand-soft); }
.bp-svc i img { width: 28px; height: 28px; }
@media (max-width: 960px) { .bp-services { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .bp-services { grid-template-columns: repeat(3, 1fr); gap: 10px; } .bp-svc { padding: 16px 6px; font-size: .8rem; } .bp-svc i { width: 46px; height: 46px; } }

/* ---------- Split feature rows ---------- */
.bp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bp-split + .bp-split { margin-top: 96px; }
.bp-split.flip > :first-child { order: 2; }
.bp-points { list-style: none; padding: 0; margin: 24px 0 0; }
.bp-points li { position: relative; padding-left: 32px; margin-bottom: 16px; }
.bp-points li::before {
    content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--bp-brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%236f3fc4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.bp-points b { color: var(--bp-ink); }
.bp-panel {
    background: var(--bp-bg-alt); border-radius: 24px; padding: 40px;
    display: grid; gap: 14px;
}
.bp-card {
    background: #fff; border-radius: 14px; padding: 18px 20px; border: 1px solid var(--bp-line);
    display: flex; align-items: center; gap: 14px;
}
.bp-card .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--bp-brand-soft); display: grid; place-items: center; }
.bp-card .ic img { width: 24px; height: 24px; }
.bp-card b { display: block; color: var(--bp-ink); }
.bp-card small { color: var(--bp-muted); }
.bp-card .tag { margin-left: auto; font-size: .78rem; font-weight: 700; color: #0f9d58; background: #e8f6ee; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 900px) {
    .bp-split { grid-template-columns: 1fr; gap: 36px; }
    .bp-split.flip > :first-child { order: 0; }
    .bp-split + .bp-split { margin-top: 64px; }
    .bp-panel { padding: 22px; }
}

/* ---------- Steps ---------- */
.bp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; counter-reset: step; }
.bp-step { background: #fff; border-radius: var(--bp-radius); padding: 28px; border: 1px solid var(--bp-line); }
.bp-step::before {
    counter-increment: step; content: counter(step);
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--bp-brand); color: #fff; font-weight: 800; margin-bottom: 18px;
}
.bp-step h3 { font-size: 1.1rem; }
.bp-step p { margin: 0; }
@media (max-width: 800px) { .bp-steps { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.bp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.bp-stats b { display: block; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--bp-ink); letter-spacing: -0.02em; }
.bp-stats span { font-size: .95rem; }
@media (max-width: 700px) { .bp-stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } }

/* ---------- FAQ ---------- */
.bp-faq { max-width: 820px; margin: 40px auto 0; }
.bp-faq details { border-bottom: 1px solid var(--bp-line); }
.bp-faq summary {
    list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
    font-weight: 700; color: var(--bp-ink); font-size: 1.05rem;
}
.bp-faq summary::-webkit-details-marker { display: none; }
.bp-faq summary::after {
    content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
    border-right: 2px solid var(--bp-ink); border-bottom: 2px solid var(--bp-ink); transform: rotate(45deg); transition: transform .2s;
}
.bp-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.bp-faq details p { padding: 0 0 22px; margin: 0; }

/* ---------- CTA band ---------- */
.bp-cta { background: var(--bp-brand); color: #fff; border-radius: 28px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.bp-cta h2 { color: #fff; margin-bottom: 8px; }
.bp-cta p { color: rgba(255,255,255,.85); margin: 0; }
.bp-cta .bp-btn { background: #fff; color: var(--bp-brand); }
.bp-cta .bp-btn:hover { background: var(--bp-brand-soft); }
.bp-cta .bp-store { display: inline-flex; align-items: center; gap: 10px; }
.bp-cta .bp-store img { width: 22px; height: 22px; }
@media (max-width: 600px) { .bp-cta { padding: 36px 24px; } }

/* ---------- Footer ---------- */
.bp-footer { background: #fff; color: #4a4458; padding: 56px 0 28px; font-size: .82rem; border-top: 1px solid var(--bp-line); }
.bp-footer .grid { display: grid; grid-template-columns: 1.1fr repeat(5, 1fr); gap: 28px; }
.bp-footer h4 { color: #1a1a1a; font-size: .88rem; font-weight: 600; margin-bottom: 14px; }
.bp-footer h4.mt { margin-top: 22px; }
.bp-footer ul { list-style: none; padding: 0; margin: 0; }
.bp-footer li { margin-bottom: 10px; }
.bp-footer a:hover { color: var(--bp-brand); }
.bp-footer .bp-logo { color: var(--bp-brand); align-self: start; font-size: 1.15rem; }
.bp-footer .bp-logo img { width: 30px; height: 30px; }
.bp-dl { display: inline-block; border: 1.5px solid #1a1a1a; border-radius: 8px; padding: 7px 14px; font-weight: 700; color: #1a1a1a; text-transform: uppercase; font-size: .75rem; }
.bp-dl:hover { background: #1a1a1a; color: #fff !important; }
.bp-footer .bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--bp-line); text-align: center; font-size: .8rem; color: #6b6480; }
.bp-footer .legal { margin: 0 0 6px; font-style: italic; }
.bp-footer .legal b { color: #1a1a1a; font-style: normal; }
@media (max-width: 960px) { .bp-footer .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .bp-footer .grid { grid-template-columns: 1fr 1fr; } .bp-footer .bp-logo { grid-column: 1 / -1; } }

/* PhonePe-style header */
.bp-header { background: #fff; box-shadow: none; border-bottom: 1px solid #e6e6ea; backdrop-filter: none; }
.bp-header .bp-wrap { height: 72px; }
.bp-logo { color: var(--bp-brand); }
@media (min-width: 861px) {
    .bp-nav { margin: 0 auto; gap: 40px; }
    .bp-nav a { text-transform: uppercase; font-weight: 400; font-size: .82rem; color: #1a1a1a; letter-spacing: .01em; }
}

/* ---------- Inner pages (policies) ---------- */
.page-header { background: var(--bp-bg-alt); padding: 64px 0 56px; border-bottom: 1px solid var(--bp-line); }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; }
.page-header p { font-size: 1.1rem; margin: 0; }
.page-header svg, .hero-wave { display: none !important; }
.policy-card { background: #fff; border: 1px solid var(--bp-line); border-radius: 20px; padding: clamp(24px, 4vw, 48px); }
.policy-card h2 { font-size: 1.3rem; margin-top: 2rem; }
.policy-card h2:first-of-type { margin-top: 0; }
.policy-card p, .policy-card ul { line-height: 1.8; }
.policy-card a { color: var(--bp-brand); font-weight: 600; }
.policy-card a:hover { text-decoration: underline; }
.policy-card table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.policy-card th, .policy-card td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--bp-line); }
.policy-card thead { background: var(--bp-bg-alt); }

/* ---------- Soft purple theme (PhonePe-style layout) ---------- */
.bp-hero {
    position: relative; padding: 88px 0 96px;
    background: linear-gradient(160deg, #f4eefd 0%, #ece3fb 45%, #fbf8ff 100%);
}
.bp-hero::before, .bp-hero::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none;
}
.bp-hero::before { width: 420px; height: 420px; background: #d8c6f6; top: -120px; right: -80px; }
.bp-hero::after { width: 320px; height: 320px; background: #fbe1ec; bottom: -140px; left: -60px; }
.bp-hero .bp-wrap { position: relative; z-index: 1; }
.bp-hero h1 em { background: linear-gradient(90deg, #6f3fc4, #a46bd8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bp-hero-note span { background: #fff; padding: 6px 14px; border-radius: 999px; box-shadow: 0 2px 10px rgba(111,63,196,.08); }
.bp-btn { box-shadow: 0 8px 20px -8px rgba(111,63,196,.55); }
.bp-btn.ghost { background: #fff; box-shadow: inset 0 0 0 1.5px #d9cbf3; }
.bp-btn.ghost:hover { background: var(--bp-brand-soft); }
.bp-phone { background: #2b1652; border-radius: 44px; box-shadow: 0 40px 80px -30px rgba(80,40,150,.45); }
.bp-screen-top { background: linear-gradient(135deg, #7b4bd0, #a17ae0); }
.bp-ops { background: #fff; border-bottom: 0; }

/* Pastel product tiles */
.bp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; text-align: left; }
.bp-tile {
    border-radius: 28px; padding: 32px 28px 28px; display: flex; flex-direction: column; min-height: 280px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.bp-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(60,30,120,.35); }
.bp-tile h3 { font-size: 1.35rem; margin-bottom: 8px; }
.bp-tile p { margin-bottom: 20px; }
.bp-tile .ic { width: 60px; height: 60px; border-radius: 18px; background: rgba(255,255,255,.75); display: grid; place-items: center; margin-bottom: 22px; }
.bp-tile .ic img { width: 30px; height: 30px; }
.bp-tile .more { margin-top: auto; font-weight: 700; color: var(--bp-brand); }
.bp-tile .more::after { content: " →"; }
.bp-tile.lav { background: #efe7fc; }
.bp-tile.peach { background: #fdeee6; }
.bp-tile.mint { background: #e5f6ef; }
@media (max-width: 900px) { .bp-tiles { grid-template-columns: 1fr; } .bp-tile { min-height: 0; } }

/* Services grid */
.bp-svc { border-color: transparent; background: #fff; box-shadow: 0 4px 18px -10px rgba(60,30,120,.25); }
.bp-svc:hover { border-color: #d9cbf3; }
.bp-services .bp-svc:nth-child(4n+1) i { background: #efe7fc; }
.bp-services .bp-svc:nth-child(4n+2) i { background: #fdeee6; }
.bp-services .bp-svc:nth-child(4n+3) i { background: #e5f6ef; }
.bp-services .bp-svc:nth-child(4n+4) i { background: #e8f0fd; }
#services { background: var(--bp-bg-alt); }

/* Feature panels */
.bp-panel { background: linear-gradient(150deg, #f1e9fd, #fbf7ff); border-radius: 32px; }
.bp-split.flip .bp-panel { background: linear-gradient(150deg, #e7f6f0, #f7fcfa); }
.bp-card { border-color: transparent; box-shadow: 0 6px 20px -12px rgba(60,30,120,.25); border-radius: 18px; }
.bp-section.alt { background: #fff; }

/* Steps */
.bp-step { border-color: transparent; background: var(--bp-bg-alt); border-radius: 24px; }
.bp-step::before { background: linear-gradient(135deg, #7b4bd0, #a17ae0); }

/* Stats band */
.bp-stats > div { background: var(--bp-bg-alt); border-radius: 24px; padding: 28px 12px; }
.bp-stats b { color: var(--bp-brand); }
@media (min-width: 701px) { .bp-split .bp-stats { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.bp-faq details { background: #fff; border: 1px solid var(--bp-line); border-radius: 18px; padding: 0 22px; margin-bottom: 12px; }
.bp-faq details[open] { background: var(--bp-bg-alt); border-color: #e2d7f5; }

/* CTA */
.bp-cta { background: linear-gradient(120deg, #6f3fc4 0%, #9a6ad9 100%); border-radius: 32px; position: relative; overflow: hidden; }
.bp-cta::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.12); right: -80px; top: -120px; }
.bp-cta > * { position: relative; z-index: 1; }

/* ---------- Hero art: app mockups + floating cards ---------- */
.bp-hero > .bp-wrap > div:first-child > * { animation: bpUp .8s cubic-bezier(.2,.7,.2,1) both; }
.bp-hero > .bp-wrap > div:first-child > :nth-child(2) { animation-delay: .1s; }
.bp-hero > .bp-wrap > div:first-child > :nth-child(3) { animation-delay: .2s; }
.bp-hero > .bp-wrap > div:first-child > :nth-child(4) { animation-delay: .3s; }
.bp-hero-art { position: relative; height: 560px; }
.bp-blob {
    position: absolute; inset: 40px 20px; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
    background: linear-gradient(140deg, #dccbf7, #f6e6f3); animation: bpMorph 12s ease-in-out infinite;
}
.bp-device {
    position: absolute; width: 250px; padding: 9px; border-radius: 38px; background: #2b1652;
    box-shadow: 0 40px 70px -30px rgba(60,25,120,.55);
}
.bp-device img { border-radius: 30px; width: 100%; height: 470px; object-fit: cover; object-position: top; }
.bp-device.front { left: 50%; top: 20px; margin-left: -150px; z-index: 2; animation: bpIn 1s .2s both, bpFloat 6s 1.2s ease-in-out infinite; }
.bp-device.back { left: 50%; top: 60px; margin-left: -10px; transform: rotate(8deg) scale(.88); opacity: .95; animation: bpInBack 1s .4s both; }
.bp-float {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.95); backdrop-filter: blur(6px); padding: 10px 14px 10px 10px; border-radius: 16px;
    box-shadow: 0 14px 30px -14px rgba(60,25,120,.4); font-size: .78rem; line-height: 1.3; white-space: nowrap;
}
.bp-float b { display: block; color: var(--bp-ink); font-size: .82rem; }
.bp-float small { color: var(--bp-muted); }
.bp-float img { width: 34px; height: 34px; object-fit: contain; }
.bp-float .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; }
.bp-float .dot.ok { background: #2fb67c; }
.bp-float .dot.coin { background: linear-gradient(135deg, #f7c548, #f29b38); }
.bp-float.f1 { top: 70px; left: 0; animation: bpPop .6s 1s both, bpBob 5s 1.6s ease-in-out infinite; }
.bp-float.f2 { top: 280px; right: 0; animation: bpPop .6s 1.3s both, bpBob 5.5s 1.9s ease-in-out infinite reverse; }
.bp-float.f3 { bottom: 40px; left: 10px; animation: bpPop .6s 1.6s both, bpBob 6s 2.2s ease-in-out infinite; }
@media (max-width: 900px) {
    .bp-hero-art { height: 500px; max-width: 420px; margin: 0 auto; width: 100%; }
    .bp-device { width: 220px; }
    .bp-device img { height: 410px; }
    .bp-device.front { margin-left: -130px; }
    .bp-float.f2 { right: -4px; }
}
@media (max-width: 400px) { .bp-device.back { display: none; } .bp-device.front { margin-left: -110px; } }

@keyframes bpUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bpIn { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes bpInBack { from { opacity: 0; transform: translateX(-40px) rotate(0) scale(.88); } to { opacity: .95; transform: rotate(8deg) scale(.88); } }
@keyframes bpFloat { 50% { transform: translateY(-14px); } }
@keyframes bpBob { 50% { transform: translateY(-10px); } }
@keyframes bpPop { from { opacity: 0; transform: scale(.6) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes bpMorph { 50% { border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%; transform: rotate(6deg); } }

/* Operator marquee */
.bp-ops { padding: 36px 0; text-align: center; }
.bp-ops > p { margin: 0 0 20px; }
.bp-marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.bp-marquee-track { display: flex; gap: 56px; width: max-content; animation: bpScroll 30s linear infinite; }
.bp-marquee:hover .bp-marquee-track { animation-play-state: paused; }
.bp-marquee-track img { height: 38px; width: auto; flex: none; filter: grayscale(1); opacity: .6; transition: .2s; }
.bp-marquee-track img:hover { filter: none; opacity: 1; }
@keyframes bpScroll { to { transform: translateX(calc(-50% - 28px)); } }

/* Illustration + vertical steps */
.bp-illus { position: relative; }
.bp-illus::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, #ece2fb 0%, transparent 70%); }
.bp-illus img { position: relative; width: 100%; max-width: 520px; margin: 0 auto; animation: bpFloat 7s ease-in-out infinite; }
.bp-steps.vertical { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
.bp-steps.vertical .bp-step { display: grid; grid-template-columns: 36px 1fr; column-gap: 18px; padding: 22px; }
.bp-steps.vertical .bp-step::before { grid-row: span 2; margin: 0; }
.bp-steps.vertical .bp-step h3 { margin-bottom: 4px; }

/* Scroll reveal (only when JS enabled it) */
.bp-anim .bp-reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.bp-anim .bp-reveal.in { opacity: 1; transform: none; }
.bp-tile .ic, .bp-svc i { transition: transform .25s ease; }
.bp-tile:hover .ic, .bp-svc:hover i { transform: scale(1.1) rotate(-6deg); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Convenience section */
.bp-conv { background: linear-gradient(180deg, #fff 0%, #faf7fe 100%); }
.bp-conv-art { max-width: 520px; margin: 0 auto; width: 100%; }
.bp-eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--bp-brand); background: var(--bp-brand-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }

/* ---------- Pinned "secure payments" slider ---------- */
.bp-pin { padding: 40px 0; }
.bp-pin.is-pinned { height: 320vh; padding: 0; }
.bp-pin.is-pinned .bp-pin-sticky { position: sticky; top: 68px; height: calc(100vh - 68px); display: flex; align-items: center; }
.bp-pin-sticky > .bp-wrap { width: 100%; }
.bp-pin-box {
    display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center;
    background: linear-gradient(135deg, #efe7fc 0%, #f8f3ff 60%, #fdf1ec 100%);
    border-radius: 32px; padding: 48px; overflow: hidden;
}
.bp-pin-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.bp-pin-app { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 12px; margin: 24px 0; box-shadow: 0 8px 24px -16px rgba(60,25,120,.4); }
.bp-pin-appic { width: 52px; height: 52px; border-radius: 14px; background: var(--bp-brand-soft); display: grid; place-items: center; flex: none; }
.bp-pin-appic img { width: 34px; height: 34px; }
.bp-pin-app b { display: block; color: var(--bp-ink); }
.bp-pin-app small { color: var(--bp-muted); }
.bp-pin-view { overflow: hidden; min-width: 0; padding: 14px 0 30px; margin: -14px 0 -30px; }
.bp-pin-track { position: relative; display: flex; gap: 20px; will-change: transform; transition: transform .12s linear; }
.bp-slide {
    flex: 0 0 300px; background: #fff; border-radius: 26px; padding: 24px 22px;
    box-shadow: 0 16px 40px -28px rgba(60,25,120,.45); transition: transform .35s ease, box-shadow .35s ease;
}
.bp-slide.on { transform: translateY(-8px); box-shadow: 0 26px 50px -26px rgba(60,25,120,.55); }
.bp-slide h6 { font-size: 1.15rem; margin: 0 0 8px; }
.bp-slide svg { width: 100%; height: auto; display: block; margin: 4px 0 12px; }
.bp-slide p { margin: 0; font-size: .95rem; }
.bp-pin-dots { display: flex; gap: 6px; margin-top: 22px; }
.bp-pin-dots i { width: 8px; height: 8px; border-radius: 99px; background: #d9cbf3; transition: width .3s, background .3s; }
.bp-pin-dots i.on { width: 26px; background: var(--bp-brand); }
@media (max-width: 900px) {
    .bp-pin-box { grid-template-columns: 1fr; padding: 28px 20px; gap: 8px; }
    .bp-pin-view { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; margin: 0 -20px; padding: 10px 20px 4px; scrollbar-width: none; }
    .bp-pin-view::-webkit-scrollbar { display: none; }
    .bp-slide { flex-basis: 260px; scroll-snap-align: start; }
    .bp-pin-dots { display: none; }
}
