/*
 * Bharat Refer - public landing + auth pages.
 *
 * Everything here is scoped under body.brp-body (or brp- classes), so the
 * member dashboard, admin and Connect keep theme.css exactly as it was.
 */

.brp-body {
    --brp-ink: #0d1b4c;
    --brp-text: #25314f;
    --brp-muted: #5d6987;
    --brp-line: #e2e8f2;
    --brp-soft: #f3f6fb;
    --brp-red: #ec3a1c;
    --brp-orange: #ff6a13;
    --brp-blue: #0b5bd3;
    --brp-blue-2: #1e74f3;
    --brp-green: #13a046;
    --brp-green-dark: #0f7a37;
    --brp-violet: #7a35ea;
    --brp-amber: #f39a00;
    --brp-pink: #e1266d;
    --brp-radius: 18px;
    --brp-shadow: 0 1px 2px rgba(16, 36, 84, .04), 0 12px 32px -12px rgba(16, 36, 84, .16);
    --brp-display: "Poppins", "Segoe UI", system-ui, -apple-system, "Nirmala UI", sans-serif;

    margin: 0;
    color: var(--brp-text);
    font-size: 14px;
    line-height: 1.45;
    background:
        radial-gradient(900px 500px at 8% 8%, rgba(255, 170, 80, .10), transparent 60%),
        radial-gradient(800px 520px at 92% 12%, rgba(40, 140, 255, .08), transparent 60%),
        radial-gradient(900px 600px at 50% 100%, rgba(40, 190, 100, .07), transparent 60%),
        #f7f9fd;
    -webkit-font-smoothing: antialiased;
}

.brp-body [hidden] { display: none !important; }
.brp-body *, .brp-body *::before, .brp-body *::after { box-sizing: border-box; }
.brp-body a { text-decoration: none; color: inherit; }
.brp-body img { max-width: 100%; }

.brp-i { width: 1.15em; height: 1.15em; flex: none; vertical-align: middle; }
.brp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tone helpers ---------- */
.tone-text-red { color: var(--brp-red); }
.tone-text-orange { color: var(--brp-orange); }
.tone-text-blue { color: var(--brp-blue); }
.tone-text-green { color: var(--brp-green); }
.tone-text-violet { color: var(--brp-violet); }
.tone-text-amber { color: #d88400; }
.tone-text-pink { color: var(--brp-pink); }

.brp-badge {
    --tone-a: #3b8cff; --tone-b: #0b55d0;
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-grid; place-items: center; flex: none;
    color: #fff;
    background: linear-gradient(145deg, var(--tone-a), var(--tone-b));
    box-shadow: 0 8px 16px -8px var(--tone-b), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.brp-badge .brp-i { width: 19px; height: 19px; }
.brp-badge.is-xs { width: 22px; height: 22px; }
.brp-badge.is-xs .brp-i { width: 12px; height: 12px; }
.brp-badge.is-sm { width: 32px; height: 32px; }
.brp-badge.is-sm .brp-i { width: 16px; height: 16px; }
.brp-badge.is-lg { width: 46px; height: 46px; }
.brp-badge.is-lg .brp-i { width: 22px; height: 22px; }
.brp-badge.brt-orange, .brt-orange > .brp-badge { --tone-a: #ff8f45; --tone-b: #ef4a10; }
.brp-badge.brt-red { --tone-a: #ff6a5c; --tone-b: #e3262a; }
.brp-badge.brt-green { --tone-a: #44d27a; --tone-b: #0f913d; }
.brp-badge.brt-blue { --tone-a: #4593ff; --tone-b: #0a53cf; }
.brp-badge.brt-violet { --tone-a: #a66cff; --tone-b: #6625dd; }
.brp-badge.brt-amber { --tone-a: #ffcb45; --tone-b: #f08a00; }
.brp-badge.brt-pink { --tone-a: #ff6aa3; --tone-b: #d3175c; }

/* ---------- header ---------- */
.brp-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid #e9eef6;
}
.brp-header-inner {
    max-width: 1440px; margin: 0 auto; height: 64px; padding: 0 24px;
    display: flex; align-items: center; gap: 24px;
}
.brp-logo img { display: block; height: 44px; width: auto; }
.brp-nav { flex: 1; display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 42px); }
.brp-nav a {
    position: relative; font-weight: 600; font-size: 14px; color: #1b2647;
    padding: 21px 2px; transition: color .15s;
}
.brp-nav a:hover { color: var(--brp-red); }
.brp-nav a.is-active { color: var(--brp-red); }
.brp-nav a.is-active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 13px;
    height: 3px; border-radius: 3px; background: var(--brp-red);
}
.brp-header-actions { display: flex; align-items: center; gap: 12px; }
.brp-lang {
    display: inline-flex; align-items: center; gap: 8px;
    border: 0; background: none; cursor: pointer;
    font: 600 13.5px/1 inherit; color: #1b2647; padding: 8px 6px;
}
.brp-lang .brp-i { width: 19px; height: 19px; color: #26324f; }
.brp-lang .brp-lang-caret { width: 16px; height: 16px; }
.brp-hbtn {
    display: inline-flex; align-items: center; gap: 9px;
    height: 38px; padding: 0 14px; border-radius: 9px;
    font-weight: 700; font-size: 13.5px; border: 1.5px solid;
    transition: background .15s, transform .15s;
}
.brp-hbtn .brp-i { width: 17px; height: 17px; }
.brp-hbtn.is-blue { color: var(--brp-blue); border-color: #3b7fe3; background: #f4f8ff; }
.brp-hbtn.is-blue:hover { background: #e7f0ff; }
.brp-hbtn.is-green { color: var(--brp-green-dark); border-color: #39b464; background: #f1fbf4; }
.brp-hbtn.is-green:hover { background: #e2f6e8; }
.brp-burger {
    display: none; width: 44px; height: 44px; border-radius: 10px;
    border: 1px solid var(--brp-line); background: #fff; color: var(--brp-ink); cursor: pointer;
    align-items: center; justify-content: center;
}
.brp-burger .brp-i { width: 22px; height: 22px; }
.brp-mobile-menu {
    position: absolute; left: 12px; right: 12px; top: calc(100% + 6px);
    background: #fff; border: 1px solid var(--brp-line); border-radius: 18px;
    box-shadow: 0 24px 50px -20px rgba(16, 36, 84, .35); padding: 8px;
}
.brp-mobile-menu > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 14px; border-radius: 12px; font-weight: 600; color: var(--brp-ink);
}
.brp-mobile-menu > a.is-active { color: var(--brp-red); background: #fff4ef; }
.brp-mobile-menu > a .brp-i { color: #9aa6c0; }
.brp-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 6px 6px; }

/* ---------- shared layout ---------- */
.brp-main { max-width: 1440px; margin: 18px auto 0; padding: 0 24px 24px; }
.brp-card {
    background: #fff; border: 1px solid #edf1f8; border-radius: var(--brp-radius);
    box-shadow: var(--brp-shadow); padding: 22px;
}
.brp-display {
    font-family: var(--brp-display); font-weight: 800; color: var(--brp-ink);
    font-size: clamp(28px, 2.9vw, 44px); line-height: 1.08; letter-spacing: -.02em; margin: 0;
}
.brp-display.is-sm { font-size: clamp(24px, 2vw, 32px); }
.brp-lede { margin: 10px 0 0; font-size: 14.5px; color: #26324f; max-width: 34ch; }
.brp-lede.is-lg { font-size: clamp(14.5px, 1.1vw, 16.5px); line-height: 1.38; max-width: 30ch; }
.brp-pill {
    display: inline-block; vertical-align: middle; margin-left: 10px;
    font: 600 12.5px/1 "Segoe UI", system-ui, sans-serif; letter-spacing: 0;
    padding: 6px 11px; border-radius: 999px;
}
.brp-pill.is-orange { color: #d4520e; background: #fff0e4; }

/* ---------- buttons ---------- */
.brp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 42px; padding: 0 18px; border-radius: 9px; border: 1.5px solid transparent;
    font: 700 14px/1 inherit; cursor: pointer; white-space: nowrap;
    transition: transform .12s ease, box-shadow .15s ease, background .15s ease, opacity .15s;
}
.brp-btn .brp-i { width: 17px; height: 17px; }
.brp-btn:active:not(:disabled) { transform: translateY(1px); }
.brp-btn.is-lg { height: 46px; font-size: 15px; border-radius: 10px; padding: 0 20px; }
.brp-btn.is-sm { height: 34px; font-size: 13px; padding: 0 12px; }
.brp-btn.is-block { display: flex; width: 100%; }
.brp-btn.is-grow { flex: 1; }
.brp-btn.is-orange { color: #fff; background: linear-gradient(180deg, #ff7b22, #ef4410); box-shadow: 0 10px 22px -10px #ef4410; }
.brp-btn.is-orange:hover { box-shadow: 0 14px 26px -10px #ef4410; }
.brp-btn.is-blue { color: #fff; background: linear-gradient(180deg, #2179f5, #0a4fcf); box-shadow: 0 10px 22px -10px #0a4fcf; }
.brp-btn.is-blue:hover { box-shadow: 0 14px 26px -10px #0a4fcf; }
.brp-btn.is-blue-outline { color: var(--brp-blue); background: #fff; border-color: #2f78e6; }
.brp-btn.is-blue-outline:hover { background: #f2f7ff; }
.brp-btn.is-green-outline { color: var(--brp-green-dark); background: #f1fbf4; border-color: #39b464; }
.brp-btn.is-ghost { color: var(--brp-ink); background: var(--brp-soft); border-color: var(--brp-line); }
.brp-btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.brp-btn.is-busy { pointer-events: none; opacity: .8; }
.brp-btn.is-busy::before {
    content: ""; width: 16px; height: 16px; border-radius: 50%;
    border: 2.5px solid currentColor; border-right-color: transparent;
    animation: brp-spin .7s linear infinite;
}
@keyframes brp-spin { to { transform: rotate(360deg); } }

.brp-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brp-blue); font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.brp-link .brp-i { width: 18px; height: 18px; }
.brp-link.is-underline { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- checks + lists ---------- */
.brp-checks { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 12px; }
.brp-checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--brp-ink); font-size: 14px; }
.brp-checks li > .brp-i {
    width: 22px; height: 22px; padding: 4px; border-radius: 50%; stroke-width: 3;
    color: #fff; background: linear-gradient(145deg, #3ccf72, #0f913d);
}
.brp-checks.is-story { margin: 20px 0 0; gap: 11px; }
.brp-checks.is-story li { font-size: clamp(14px, 1vw, 15.5px); font-weight: 500; }

/* ---------- hero illustration ---------- */
.brp-art { position: relative; min-height: 330px; }
.brp-art-glow {
    position: absolute; left: 50%; top: 46%; width: 76%; aspect-ratio: 1; transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 214, 120, .55) 0%, rgba(255, 190, 90, .22) 45%, rgba(255, 255, 255, 0) 70%);
}
.brp-wave { position: absolute; left: -6%; right: -6%; bottom: 0; width: 112%; height: 34%; }
.brp-art-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.brp-art-photo {
    width: 74%; height: 84%; object-fit: cover; border-radius: 28px;
    box-shadow: 0 24px 40px -24px rgba(16, 36, 84, .5); position: relative; z-index: 1;
}

.brp-phone {
    position: relative; z-index: 2; width: 172px; height: 316px; border-radius: 28px;
    background: #fff; border: 9px solid #1a2442;
    box-shadow: 0 30px 50px -24px rgba(10, 30, 80, .55), inset 0 0 0 1px #e8edf6;
    transform: rotate(-5deg); margin-bottom: 36px;
}
.brp-phone-notch { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 64px; height: 15px; border-radius: 0 0 12px 12px; background: #1a2442; }
.brp-phone-screen { padding: 22px 9px 9px; display: flex; flex-direction: column; gap: 5px; height: 100%; overflow: hidden; border-radius: 20px; }
.brp-phone-logo { width: 104px; margin: 0 auto 4px; display: block; }
.brp-phone-row {
    display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 9px; white-space: nowrap; min-width: 0;
    background: #f5f8fd; border: 1px solid #edf1f8; font-weight: 700; font-size: 10.5px; color: var(--brp-ink);
}
.brp-phone.is-otp { width: 184px; height: 290px; }
.brp-phone.is-otp .brp-phone-screen { align-items: center; justify-content: center; gap: 14px; text-align: center; color: var(--brp-ink); }
.brp-art-stars { display: flex; gap: 6px; }
.brp-art-stars i { width: 22px; height: 26px; border-radius: 6px; background: #eef3fb; border: 1px solid #d9e3f2; position: relative; }
.brp-art-stars i::after { content: "*"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 18px/1 Arial; color: var(--brp-ink); padding-top: 6px; }
.brp-art-ok { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #44d27a, #0f913d); }
.brp-art-ok .brp-i { width: 24px; height: 24px; stroke-width: 3; }

.brp-art-shield {
    position: absolute; right: 12%; bottom: 20%; z-index: 3;
    width: 96px; height: 110px; display: grid; place-items: center; color: #fff;
    clip-path: path("M48 0 L96 18 L96 56 C96 86 72 102 48 110 C24 102 0 86 0 56 L0 18 Z");
    background: linear-gradient(160deg, #46d77f, #0e8a3a);
    filter: drop-shadow(0 16px 20px rgba(14, 138, 58, .4));
}
.brp-art-shield .brp-i { width: 38px; height: 38px; }
.brp-art-shield.brt-blue { background: linear-gradient(160deg, #5aa2ff, #0b4fcf); }
.brp-art-shield.is-inline { position: relative; right: auto; bottom: auto; width: 74px; height: 86px; clip-path: path("M37 0 L74 14 L74 44 C74 67 55 80 37 86 C19 80 0 67 0 44 L0 14 Z"); }
.brp-art-shield.is-inline .brp-i { width: 30px; height: 30px; }
.brp-art-shield.is-big {
    position: relative; right: auto; bottom: auto; width: 172px; height: 198px;
    clip-path: path("M86 0 L172 31 L172 100 C172 154 129 184 86 198 C43 184 0 154 0 100 L0 31 Z");
    margin-bottom: 40px;
}
.brp-art-shield.is-big .brp-i { width: 70px; height: 70px; stroke-width: 1.8; }

.brp-art-menu {
    position: relative; z-index: 2; width: min(300px, 70%); background: #fff; border-radius: 22px;
    box-shadow: 0 30px 50px -26px rgba(10, 30, 80, .5); padding: 16px; display: grid; gap: 9px;
    border: 1px solid #edf1f8; margin-bottom: 40px; transform: rotate(-2deg);
}
.brp-art-menu-head { display: flex; align-items: center; gap: 10px; color: var(--brp-ink); font-family: var(--brp-display); font-size: 15px; padding-bottom: 6px; border-bottom: 1px solid #eef2f8; }
.brp-art-menu-row { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--brp-ink); padding: 6px 4px; }
.brp-art-menu-row > span:not(.brp-badge):not(.brp-art-tick) { flex: 1; }
.brp-art-menu-row > .brp-i { color: #9aa6c0; }
.brp-art-tick { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #cfd8e8; display: grid; place-items: center; color: transparent; }
.brp-art-tick .brp-i { width: 15px; height: 15px; stroke-width: 3; }
.brp-art-menu-row.is-done .brp-art-tick { border-color: transparent; color: #fff; background: linear-gradient(145deg, #44d27a, #0f913d); }

.brp-coin { position: absolute; z-index: 3; width: 64px; height: 64px; filter: drop-shadow(0 8px 10px rgba(200, 120, 0, .35)); }
.brp-coin.c1 { left: 14%; bottom: 20%; width: 58px; height: 58px; transform: rotate(-14deg); }
.brp-coin.c2 { right: 18%; bottom: 13%; width: 50px; height: 50px; transform: rotate(12deg); }
.brp-coin.c3 { left: 30%; top: 8%; width: 32px; height: 32px; opacity: .9; }
.brp-gift { position: absolute; z-index: 3; left: 4%; bottom: 7%; width: 88px; height: 88px; filter: drop-shadow(0 12px 14px rgba(15, 120, 60, .3)); }

.brp-bubble {
    position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
    background: #fff; border-radius: 14px; padding: 7px 12px 7px 7px; max-width: 196px;
    box-shadow: 0 14px 30px -14px rgba(16, 36, 84, .35); border: 1px solid #eef2f8;
}
.brp-bubble b { display: block; font-family: var(--brp-display); font-weight: 700; font-size: 12.5px; color: var(--brp-ink); line-height: 1.15; }
.brp-bubble small { display: block; font-size: 11px; color: var(--brp-muted); line-height: 1.25; margin-top: 2px; }
.brp-bubble.p1 { left: 52%; top: 2%; }
.brp-bubble.p2 { right: 0; top: 24%; }
.brp-bubble.p3 { left: 0; top: 38%; }
.brp-bubble.p4 { right: 2%; top: 50%; }
.brp-bubble.p5 { right: 6%; top: 72%; }

.brp-ribbon {
    position: absolute; z-index: 5; left: 50%; bottom: 4%; transform: translateX(-42%);
    background: #fff; border: 4px solid #23b04f; border-radius: 999px; padding: 8px 26px;
    font-family: var(--brp-display); font-weight: 800; color: var(--brp-green-dark);
    font-size: clamp(14px, 1.2vw, 19px); line-height: 1.12; text-align: center; white-space: nowrap;
    box-shadow: 0 16px 30px -16px rgba(15, 122, 55, .55), inset 0 -3px 0 #e8f8ee;
}
.brp-ribbon strong { font-size: 1.55em; color: #129141; vertical-align: -2px; }

/* ---------- landing ---------- */
.brp-landing {
    display: grid; gap: 18px;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr) minmax(0, .84fr);
    grid-template-areas:
        "left center app"
        "users users vendor"
        "how how how";
}
.brp-landing > .brp-alert { grid-column: 1 / -1; margin: 0; }
.brp-l-left { grid-area: left; position: relative; overflow: hidden; padding-bottom: 0; display: flex; flex-direction: column; background: linear-gradient(165deg, #fff 0%, #fffaf2 55%, #f3fbf6 100%); }
.brp-l-left .brp-art { flex: 1; min-height: 360px; margin: 10px -22px 0; }
.brp-l-left .brp-art-stage { place-items: start center; padding-top: 4px; }
.brp-l-left .brp-bubble { max-width: 156px; }
.brp-l-left .brp-bubble.p1 { left: auto; right: 3%; top: 0; }
.brp-l-left .brp-bubble.p2 { right: 3%; top: 21%; }
.brp-l-left .brp-bubble.p3 { left: 3%; top: 3%; }
.brp-l-left .brp-bubble.p4 { right: 3%; top: 42%; }
.brp-l-left .brp-bubble.p5 { left: 3%; top: 27%; }
.brp-l-left .brp-phone { width: 142px; height: 258px; margin: 0; }
.brp-l-left .brp-phone-logo { width: 88px; }
.brp-l-left .brp-phone-row { font-size: 9px; padding: 3px 5px; gap: 5px; }
.brp-l-left .brp-phone-row .brp-badge.is-xs { width: 18px; height: 18px; }
.brp-l-left .brp-phone-screen { padding: 18px 7px 7px; gap: 4px; }
.brp-l-left .brp-gift { bottom: 9%; }
.brp-l-left .brp-coin.c3 { left: 44%; top: auto; bottom: 34%; }

.brp-l-center { grid-area: center; display: flex; flex-direction: column; }
.brp-mini-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.brp-mini-brand i { width: 46px; height: 16px; transform: skewX(-24deg); background: linear-gradient(180deg, #ff8a1d 0 33%, #fff 33% 66%, #1aa64d 66%); border-radius: 3px; box-shadow: 0 0 0 1px #f0f2f7; }
.brp-mini-brand b { font-family: var(--brp-display); font-style: italic; font-weight: 800; font-size: 19px; color: var(--brp-red); }
.brp-mini-brand b span { color: var(--brp-blue); }
.brp-l-center .brp-display { font-size: clamp(24px, 2.25vw, 36px); }
.brp-benefits { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.brp-benefits li { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid #edf1f8; border-radius: 14px; background: #fff; min-width: 0; }
.brp-benefits b { display: block; font-size: 13px; color: var(--brp-ink); line-height: 1.2; }
.brp-benefits small { display: block; font-size: 11.5px; color: var(--brp-muted); line-height: 1.25; margin-top: 2px; }
.brp-cta-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: auto; }
.brp-cta-row .brp-btn { padding: 0 10px; font-size: 14.5px; }

.brp-l-app {
    grid-area: app; position: relative; overflow: hidden; min-height: 360px;
    background: linear-gradient(160deg, #f3f8ff 0%, #eef6ff 55%, #f1faf4 100%);
}
.brp-app-copy { position: relative; z-index: 2; max-width: 56%; }
.brp-app-copy h2 { font-family: var(--brp-display); font-weight: 800; font-size: clamp(19px, 1.5vw, 25px); line-height: 1.15; color: #0e3f9c; margin: 0 0 12px; }
.brp-app-copy p { margin: 0 0 14px; font-size: 14.5px; font-weight: 600; color: var(--brp-ink); }
.brp-app-art { position: absolute; right: 4%; top: 6%; bottom: 0; width: 54%; display: grid; place-items: center; }
.brp-app-art .brp-phone { transform: rotate(8deg); width: 170px; height: 304px; margin-bottom: 24px; }
.brp-app-art .brp-phone-row { font-size: 10px; }
.brp-app-art .brp-phone-logo { width: 96px; }
.brp-app-art .brp-coin.c1 { left: -8%; bottom: 10%; }
.brp-app-art .brp-coin.c2 { right: -6%; bottom: 22%; }
.brp-app-tag {
    position: absolute; left: 26px; bottom: 30px; z-index: 3; max-width: 44%;
    font-family: var(--brp-display); font-weight: 800; font-style: italic; font-size: 16px; line-height: 1.15;
    color: var(--brp-ink); transform: rotate(-4deg);
}

.brp-l-users { grid-area: users; display: flex; flex-direction: column; }
.brp-l-users .brp-user-grid { flex: 1; }
.brp-sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.brp-sec-head h2 { margin: 0; font-family: var(--brp-display); font-weight: 800; font-size: clamp(19px, 1.5vw, 24px); color: var(--brp-red); line-height: 1.15; }
.brp-sec-head p { margin: 4px 0 0; color: #34405f; font-size: 14px; }
.brp-sec-head.is-compact h2 { font-size: clamp(18px, 1.35vw, 21px); color: var(--brp-blue); }
.brp-sec-head.is-compact p { font-size: 13.5px; color: var(--brp-muted); }
.brp-user-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.brp-user-card { text-align: center; padding: 18px 12px 16px; border-radius: 16px; border: 1px solid transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.brp-user-card .brp-badge { margin: 0 auto 12px; }
.brp-user-card h3 { margin: 0 0 6px; font-family: var(--brp-display); font-weight: 700; font-size: 14px; line-height: 1.2; color: var(--brp-ink); }
.brp-user-card p { margin: 0; font-size: 12.5px; color: var(--brp-muted); }
.brp-user-card.brt-orange { background: #fff6ef; border-color: #ffe6d4; } .brp-user-card.brt-orange h3 { color: #d24a0d; }
.brp-user-card.brt-blue { background: #f1f6ff; border-color: #dce8fd; } .brp-user-card.brt-blue h3 { color: var(--brp-blue); }
.brp-user-card.brt-green { background: #effaf3; border-color: #d3f0dd; } .brp-user-card.brt-green h3 { color: var(--brp-green-dark); }
.brp-user-card.brt-violet { background: #f6f1ff; border-color: #e7dcfd; } .brp-user-card.brt-violet h3 { color: var(--brp-violet); }
.brp-user-card.brt-amber { background: #fff9ec; border-color: #fdeccb; } .brp-user-card.brt-amber h3 { color: #c47a00; }
.brp-user-card.brt-pink { background: #fff1f6; border-color: #fbdbe8; } .brp-user-card.brt-pink h3 { color: var(--brp-pink); }

.brp-l-vendor { grid-area: vendor; display: flex; flex-direction: column; gap: 14px; }
.brp-vendor-card { flex: 1; display: flex; flex-direction: column; }
.brp-vendor-card .brp-checks { margin: 4px 0 18px; }
.brp-vendor-card .brp-btn { margin-top: auto; }
.brp-vendor-trust { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #effaf2; border-color: #cdeed6; box-shadow: none; }
.brp-vendor-trust b { font-family: var(--brp-display); font-weight: 700; font-size: 14px; color: var(--brp-ink); }
.brp-vendor-trust p { margin: 2px 0 0; font-size: 13px; color: var(--brp-muted); }
.brp-shield-mark {
    width: 46px; height: 52px; flex: none; display: grid; place-items: center; color: #fff;
    clip-path: path("M23 0 L46 9 L46 27 C46 41 35 48 23 52 C11 48 0 41 0 27 L0 9 Z");
    background: linear-gradient(160deg, #46d77f, #0e8a3a);
}
.brp-shield-mark .brp-i { width: 24px; height: 24px; stroke-width: 2.5; }

.brp-l-how { grid-area: how; padding: 20px 22px; }
.brp-how-head { text-align: center; margin-bottom: 14px; }
.brp-how-head h2 { margin: 0; font-family: var(--brp-display); font-weight: 800; font-size: clamp(18px, 1.4vw, 22px); color: var(--brp-ink); }
.brp-how-head p { margin: 2px 0 0; color: var(--brp-muted); font-size: 14px; }
.brp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.brp-steps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; }
.brp-steps li:not(:last-child)::after {
    content: ""; position: absolute; right: -24px; top: 50%; width: 12px; height: 12px;
    border-top: 3px solid #2f6fdb; border-right: 3px solid #2f6fdb; transform: translateY(-50%) rotate(45deg); border-radius: 2px;
}
.brp-steps b { display: block; font-family: var(--brp-display); font-weight: 700; font-size: 14px; line-height: 1.2; }
.brp-steps p { margin: 3px 0 0; font-size: 12.5px; color: var(--brp-muted); }
.brp-step-n { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 800 14px/1 var(--brp-display); }
.brp-steps > li.brt-orange { background: #fff6ef; } .brp-steps .brt-orange b { color: #d24a0d; } .brp-steps .brt-orange .brp-step-n { background: #f05a14; }
.brp-steps > li.brt-blue { background: #f1f6ff; } .brp-steps .brt-blue b { color: var(--brp-blue); } .brp-steps .brt-blue .brp-step-n { background: var(--brp-blue); }
.brp-steps > li.brt-green { background: #effaf3; } .brp-steps .brt-green b { color: var(--brp-green-dark); } .brp-steps .brt-green .brp-step-n { background: var(--brp-green); }
.brp-steps > li.brt-violet { background: #f6f1ff; } .brp-steps .brt-violet b { color: var(--brp-violet); } .brp-steps .brt-violet .brp-step-n { background: var(--brp-violet); }

/* ---------- auth pages ---------- */
.brp-auth {
    display: grid; gap: 22px; align-items: start;
    grid-template-columns: minmax(0, 1.3fr) minmax(400px, .74fr);
}
.brp-auth.is-wide-card { grid-template-columns: minmax(0, 1.1fr) minmax(500px, .9fr); }
.brp-auth-story { position: relative; min-height: 560px; padding: 26px 0 24px 6px; display: flex; flex-direction: column; }
.brp-auth-story > :not(.brp-art) { position: relative; z-index: 6; max-width: 46%; }
.brp-auth-story > .brp-art { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; }
.brp-auth-story .brp-lede { margin-top: 18px; }
@media (min-width: 1201px) {
    /* The art spans the whole story so the tricolour sweep runs edge to edge;
       only its centrepiece and labels sit to the right of the text. */
    .brp-auth-story > :not(.brp-art) { max-width: 40%; }
    .brp-auth-story > .brp-art { inset: 0; width: auto; }
    .brp-auth-story .brp-art-stage { left: 40%; }
    .brp-auth-story .brp-art-glow { left: 70%; width: 52%; }
    .brp-auth-story .brp-wave { height: 22%; -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 30%, #000 52%); mask-image: linear-gradient(90deg, transparent 0, transparent 30%, #000 52%); }
    .brp-auth-story .brp-display { font-size: clamp(30px, 2.8vw, 44px); }
    .brp-auth-story .brp-bubble.p1 { left: 56%; top: 2%; }
    .brp-auth-story .brp-bubble.p2 { left: auto; right: 0; top: 21%; }
    .brp-auth-story .brp-bubble.p3 { left: 40%; top: 45%; }
    .brp-auth-story .brp-bubble.p4 { right: 1%; top: 47%; }
    .brp-auth-story .brp-bubble.p5 { right: 4%; top: 67%; }
    .brp-auth-story .brp-ribbon { left: 70%; transform: translateX(-50%); }
    .brp-auth-story .brp-gift { left: 2%; bottom: 7%; }
    .brp-auth-story .brp-coin.c1 { left: 8%; bottom: 30%; }
    .brp-auth-story .brp-coin.c3 { left: 18%; top: 14%; }
}
.brp-feature-list { list-style: none; margin: 22px 0 18px; padding: 0; display: grid; gap: 16px; }
.brp-feature-list li { display: flex; align-items: center; gap: 16px; }
.brp-feature-list b { display: block; font-family: var(--brp-display); font-weight: 700; font-size: 15.5px; color: var(--brp-ink); }
.brp-feature-list p { margin: 2px 0 0; color: var(--brp-muted); font-size: 13.5px; }
.brp-motto {
    margin-top: auto; display: flex; align-items: center; gap: 16px; background: #fff;
    border-radius: 20px; padding: 16px 22px; box-shadow: var(--brp-shadow); border: 1px solid #edf1f8;
    max-width: 62% !important;
}
.brp-motto b { font-family: var(--brp-display); font-weight: 800; font-size: clamp(14px, 1.15vw, 17px); color: var(--brp-green-dark); line-height: 1.2; }
.brp-motto b span { color: var(--brp-ink); }

.brp-auth-card {
    background: #fff; border: 1px solid #edf1f8; border-radius: 20px; box-shadow: var(--brp-shadow);
    padding: 26px 28px 22px;
}
.brp-card-head { text-align: center; margin-bottom: 16px; }
.brp-card-head h2 { margin: 0; font-family: var(--brp-display); font-weight: 800; font-size: clamp(22px, 1.8vw, 28px); color: var(--brp-ink); line-height: 1.15; letter-spacing: -.01em; }
.brp-card-head p { margin: 6px 0 0; font-size: 14px; color: #34405f; }
.brp-card-head.is-left { text-align: left; }
.brp-card-head.has-badge { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.brp-card-head.has-icon { display: flex; gap: 18px; align-items: center; }
.brp-head-icon { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--brp-blue); background: #eaf2ff; }
.brp-head-icon .brp-i { width: 26px; height: 26px; }
.brp-bonus-badge {
    flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 14px 10px 8px;
    border: 1.5px solid #bfe8cb; background: #f1fbf4; border-radius: 16px;
    font-family: var(--brp-display); font-weight: 700; font-size: 12.5px; line-height: 1.15; color: var(--brp-ink);
}
.brp-bonus-badge .brp-gift { position: static; width: 44px; height: 44px; filter: none; }
.brp-bonus-badge strong { font-size: 19px; color: var(--brp-green-dark); }
.brp-masked { margin: 12px 0 0 !important; font-family: var(--brp-display); font-weight: 800; font-size: 23px !important; color: var(--brp-blue) !important; letter-spacing: .02em; }
.brp-channel { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 14px !important; color: var(--brp-muted) !important; }

.brp-role-tabs { display: grid; grid-template-columns: 1fr 1fr; border-radius: 14px; overflow: hidden; background: #edf3fc; margin-bottom: 14px; }
.brp-role-tabs a {
    display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 6px 10px;
    font-weight: 700; font-size: 14.5px; color: var(--brp-ink); border-bottom: 3px solid transparent; transition: background .15s;
}
.brp-role-tabs a .brp-i { width: 20px; height: 20px; }
.brp-role-tabs a:not(.is-active) .brp-i { color: var(--brp-blue); }
.brp-role-tabs a.is-active { background: #fff1ea; color: var(--brp-red); border-bottom-color: var(--brp-red); }
.brp-role-tabs a:not(.is-active):hover { background: #e3ecfa; }
.brp-tab-2l { display: flex; flex-direction: column; line-height: 1.15; }
.brp-tab-2l small { font-weight: 500; font-size: 11.5px; color: var(--brp-muted); }
.brp-role-hint { display: flex; align-items: center; gap: 8px; margin: -4px 0 12px; font-size: 13.5px; color: var(--brp-muted); }
.brp-role-hint a { color: var(--brp-blue); font-weight: 700; }
.brp-role-chip { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 600; color: var(--brp-muted); font-size: 14px; }

.brp-method-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border: 1px solid var(--brp-line); border-radius: 14px; margin-bottom: 8px; }
.brp-method-tabs a { display: flex; align-items: center; justify-content: center; gap: 9px; height: 38px; border-radius: 9px; font-weight: 600; font-size: 14px; color: #33405f; }
.brp-method-tabs a .brp-i { width: 18px; height: 18px; color: #6b7894; }
.brp-method-tabs a.is-active { background: #dfeeff; color: var(--brp-blue); font-weight: 700; }
.brp-method-tabs a.is-active .brp-i { color: var(--brp-blue); }

.brp-form { margin: 0; }
.brp-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.brp-form.is-locked { opacity: .55; }
.brp-field { margin-top: 12px; min-width: 0; }
.brp-field > label, .brp-label { display: block; font-weight: 600; font-size: 13.5px; color: var(--brp-ink); margin: 12px 0 6px; }
.brp-field > label { margin-top: 0; }
.brp-field > label .req { color: var(--brp-red); font-style: normal; }
.brp-optional { font-weight: 400; color: var(--brp-muted); }
.brp-input {
    height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px;
    border: 1.5px solid #d4dcea; border-radius: 9px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.brp-input > .brp-i { width: 18px; height: 18px; color: #7b88a5; }
.brp-input:focus-within { border-color: var(--brp-blue-2); box-shadow: 0 0 0 4px rgba(30, 116, 243, .12); }
.brp-input.is-invalid { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .1); }
.brp-input.is-valid { border-color: #34b765; }
.brp-input input, .brp-input select {
    flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
    font: 500 14px/1 inherit; color: var(--brp-ink); padding: 0;
}
.brp-input input::placeholder { color: #8d98b2; font-weight: 400; }
.brp-input input[readonly] { color: var(--brp-muted); }
.brp-prefix { font-weight: 700; color: var(--brp-ink); padding-right: 10px; border-right: 1px solid var(--brp-line); }
.brp-eye { border: 0; background: none; color: #6b7894; cursor: pointer; padding: 6px; display: grid; place-items: center; border-radius: 8px; }
.brp-eye:hover { background: var(--brp-soft); }
.brp-eye .brp-i { width: 18px; height: 18px; }
.brp-input.is-cc { padding-right: 8px; gap: 8px; }
.brp-input.is-cc select { font-weight: 700; cursor: pointer; }
.brp-flag { display: grid; grid-template-rows: repeat(3, 1fr); width: 24px; height: 17px; border-radius: 3px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px #e5e9f0; }
.brp-flag i:nth-child(1) { background: #ff9933; }
.brp-flag i:nth-child(2) { background: #fff; position: relative; }
.brp-flag i:nth-child(2)::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; border-radius: 50%; border: 1px solid #1c3f94; transform: translate(-50%, -50%); }
.brp-flag i:nth-child(3) { background: #138808; }
.brp-field-msg { display: flex; align-items: center; gap: 6px; min-height: 16px; margin-top: 5px; font-size: 12px; color: var(--brp-muted); }
.brp-field-msg .brp-i { width: 16px; height: 16px; }
.brp-field-msg.is-red, .brp-field-msg.is-bad { color: #d92d20; }
.brp-field-msg.is-ok { color: var(--brp-green-dark); }
.brp-field-msg:empty { min-height: 0; margin: 0; }

.brp-row { display: grid; gap: 14px; }
.brp-row.is-cc { grid-template-columns: 124px minmax(0, 1fr); }
.brp-row.is-split { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; margin-top: 18px; }
.brp-row.is-email { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); align-items: center; margin-top: 4px; }
.brp-row.is-email .brp-field { margin-top: 0; }
.brp-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.brp-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.brp-inline .brp-btn { height: 44px; }

.brp-check { display: inline-flex; align-items: center; gap: 9px; margin: 12px 0; font-size: 13.5px; color: var(--brp-ink); cursor: pointer; user-select: none; }
.brp-check input { width: 17px; height: 17px; accent-color: var(--brp-blue); margin: 0; flex: none; }
.brp-check.is-terms { align-items: flex-start; margin: 18px 0; }
.brp-check.is-terms a { color: var(--brp-blue); text-decoration: underline; text-underline-offset: 2px; }
.brp-row.is-split .brp-check { margin: 0; }

.brp-mandatory { display: flex; align-items: center; gap: 7px; margin: 10px 0; font-weight: 600; color: #d92d20; font-size: 13.5px; }
.brp-mandatory .brp-i { width: 19px; height: 19px; color: #fff; fill: #e5372b; stroke: #fff; }
.brp-mandatory.is-center { justify-content: center; }
.brp-note { display: flex; align-items: center; gap: 10px; margin: 10px 0; padding: 10px 13px; border-radius: 10px; font-size: 13px; line-height: 1.4; }
.brp-note > .brp-i { width: 21px; height: 21px; flex: none; }
.brp-note.is-blue { background: #eef5ff; border: 1px solid #d6e5fb; color: #23345f; }
.brp-note.is-blue > .brp-i { color: #fff; fill: var(--brp-blue); stroke: #fff; }
.brp-note.is-tight { margin: 0; padding: 8px 11px; font-size: 12px; }
.brp-note.is-tight > .brp-i { width: 19px; height: 19px; }
.brp-note a { color: var(--brp-blue); font-weight: 700; text-decoration: underline; }

.brp-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; color: var(--brp-blue); font-size: 13.5px; }
.brp-divider::before, .brp-divider::after { content: ""; flex: 1; height: 1px; background: var(--brp-line); }
.brp-divider.is-text { color: var(--brp-ink); font-size: 14px; margin-top: 16px; }
.brp-divider.is-text a { color: var(--brp-blue); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; margin-left: 6px; }

.brp-links { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 14px 0 4px; padding-top: 12px; border-top: 1px solid var(--brp-line); }
.brp-links a { display: inline-flex; align-items: center; gap: 7px; color: var(--brp-blue); font-weight: 600; font-size: 13.5px; }
.brp-links a .brp-i { width: 18px; height: 18px; }
.brp-links > span { width: 1px; height: 24px; background: var(--brp-line); }
.brp-small-center { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 10px 0; font-size: 13.5px; text-align: center; flex-wrap: wrap; }
.brp-small-center.is-muted { color: var(--brp-muted); font-size: 12.5px; }
.brp-small-center.is-muted .brp-i { color: var(--brp-blue); }

.brp-trust {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; margin-top: 12px;
    padding: 9px 14px; border-radius: 12px; background: #effaf2; border: 1px solid #cdeed6;
    font-weight: 600; font-size: 12.5px; color: var(--brp-ink);
}
.brp-trust > .brp-i { width: 18px; height: 18px; color: #fff; fill: var(--brp-green); stroke: #fff; }
.brp-trust i { font-style: normal; color: var(--brp-green); }

.brp-alert { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 13px; line-height: 1.4; }
.brp-alert > .brp-i { width: 20px; height: 20px; margin-top: 1px; }
.brp-alert.is-error { background: #fff1f0; border: 1px solid #ffd3cd; color: #b42318; }
.brp-alert.is-success { background: #eefaf2; border: 1px solid #c6ecd3; color: #137a3c; }
.brp-alert.is-test { background: #fff8e6; border: 1px solid #fde3a7; color: #8a5a00; }
.brp-alert.is-test small { font-weight: 500; opacity: .8; }

.brp-note.is-blue + .brp-alert, .brp-role-tabs + .brp-alert { margin-top: 4px; }

/* OTP */
.brp-otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 14px 0 12px; }
.brp-otp input {
    width: 100%; height: 52px; border: 1.5px solid #d4dcea; border-radius: 10px; background: #fbfcfe;
    text-align: center; font: 700 22px/1 var(--brp-display); color: var(--brp-ink); outline: 0; padding: 0;
    transition: border-color .12s, box-shadow .12s, background .12s; -moz-appearance: textfield;
}
.brp-otp input:focus { border-color: var(--brp-blue-2); background: #fff; box-shadow: 0 0 0 4px rgba(30, 116, 243, .14); }
.brp-otp input.is-filled { border-color: #8fb3ec; background: #f5f9ff; }
.brp-otp.is-error input { border-color: #e5484d; animation: brp-shake .3s; }
@keyframes brp-shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.brp-otp.is-sm { gap: 10px; margin: 0; }
.brp-otp.is-sm input { height: 46px; font-size: 19px; }
.brp-otp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.brp-otp-resend { display: grid; gap: 2px; font-size: 13.5px; color: var(--brp-muted); }
.brp-otp-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--brp-muted); margin-bottom: 4px; }
.brp-otp-meta a { text-decoration: underline; text-underline-offset: 3px; }
.brp-expiry { margin: 0 0 14px; font-size: 12.5px; color: var(--brp-muted); }
.brp-expiry.is-expired { display: flex; align-items: center; gap: 6px; color: #b42318; font-weight: 600; }
.brp-auth-card form + form { margin-top: 12px; }

.brp-stepper { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--brp-line); border-radius: 12px; margin-bottom: 12px; }
.brp-stepper.is-plain { border: 0; padding: 4px 0 8px; }
.brp-stepper > div { display: flex; align-items: center; gap: 10px; }
.brp-stepper > div > span { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--brp-display); color: #8a95ad; background: #e8edf5; }
.brp-stepper > div.is-done > span { color: #fff; background: linear-gradient(145deg, #44d27a, #0f913d); }
.brp-stepper > div.is-done > span .brp-i { width: 16px; height: 16px; stroke-width: 3; }
.brp-stepper > div.is-current > span { color: #fff; background: linear-gradient(145deg, #3d8cff, #0a53cf); }
.brp-stepper small { display: block; font-size: 11.5px; color: var(--brp-muted); }
.brp-stepper b { display: block; font-size: 13.5px; color: var(--brp-ink); font-weight: 600; }
.brp-stepper > div.is-current b { color: var(--brp-blue); }
.brp-stepper > i { flex: 0 1 70px; height: 2px; background: #d9e1ee; }

/* complete account */
.brp-verified-banner { display: flex; align-items: center; gap: 12px; padding: 11px 14px; margin-bottom: 14px; border-radius: 12px; background: #eaf8ee; border: 1px solid #bfe8cb; }
.brp-verified-dot { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #44d27a, #0f913d); }
.brp-verified-dot .brp-i { width: 19px; height: 19px; stroke-width: 3; }
.brp-verified-banner b { display: block; font-family: var(--brp-display); font-weight: 700; font-size: 15px; color: var(--brp-green-dark); }
.brp-verified-banner p { margin: 2px 0 0; font-size: 13px; color: #3a4766; }
.brp-readonly { display: flex; align-items: center; gap: 12px; padding: 11px 14px; margin: 4px 0 12px; border-radius: 12px; background: #f1f5fc; border: 1px solid #e0e8f4; }
.brp-readonly > .brp-i { width: 22px; height: 22px; color: var(--brp-blue); }
.brp-readonly small { display: block; color: var(--brp-muted); font-size: 12px; }
.brp-readonly b { display: flex; align-items: center; gap: 8px; font-family: var(--brp-display); font-size: 16.5px; color: var(--brp-ink); }
.brp-readonly.is-compact { padding: 10px 14px; }
.brp-readonly.is-compact b { font-size: 16px; }
.brp-readonly > .brp-link { margin-left: auto; }
.brp-ok-dot { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; background: var(--brp-green); }
.brp-ok-dot .brp-i { width: 13px; height: 13px; stroke-width: 3.5; }
.brp-lock-chip { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px; background: #e2e8f2; font-weight: 600; font-size: 13.5px; color: #3a4766; }

/* feature strip */
.brp-strip {
    grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    background: #fff; border: 1px solid #edf1f8; border-radius: 18px; box-shadow: var(--brp-shadow); padding: 14px 6px;
}
.brp-strip.count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brp-strip article { display: flex; align-items: center; gap: 12px; padding: 4px 16px; min-width: 0; }
.brp-strip article + article { border-left: 1px solid var(--brp-line); }
.brp-strip b { display: block; font-family: var(--brp-display); font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.brp-strip p { margin: 3px 0 0; font-size: 12.5px; color: var(--brp-muted); line-height: 1.35; }

/* footer */
.brp-footer { margin-top: 26px; background: #fff; border-top: 1px solid #e9eef6; }
.brp-footer-inner { max-width: 1440px; margin: 0 auto; padding: 18px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 13.5px; color: var(--brp-muted); }
.brp-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.brp-footer nav a:hover { color: var(--brp-blue); }
.brp-footer-trust { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brp-green-dark); }

/* ---------- responsive ---------- */
@media (max-width: 1400px) {
    .brp-user-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .brp-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brp-cta-row { grid-template-columns: 1fr 1fr; }
    .brp-cta-row .brp-btn:last-child { grid-column: 1 / -1; }
    .brp-auth-story > :not(.brp-art) { max-width: 50%; }
    .brp-bubble { max-width: 190px; }
    .brp-bubble small { display: none; }
}

@media (max-width: 1200px) {
    .brp-landing {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "center center" "left app" "users users" "how how" "vendor vendor";
    }
    .brp-l-vendor { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: stretch; }
    .brp-auth, .brp-auth.is-wide-card { grid-template-columns: minmax(0, 1fr) minmax(420px, 520px); }
    .brp-auth-story > :not(.brp-art) { max-width: 100%; }
    .brp-auth-story > .brp-art { position: relative; width: auto; min-height: 340px; margin-top: 16px; }
    .brp-auth-story { min-height: 0; }
    .brp-motto { max-width: 100% !important; margin-top: 18px; }
    .brp-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
    .brp-strip article:nth-child(4) { border-left: 0; }
    .brp-steps { gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brp-steps li:nth-child(2)::after { display: none; }
}

@media (max-width: 1024px) {
    .brp-nav { display: none; }
    .brp-burger { display: inline-flex; }
    .brp-header-actions { margin-left: auto; }
}

@media (max-width: 900px) {
    .brp-main { padding: 0 16px 20px; margin-top: 14px; }
    .brp-header-inner { padding: 0 16px; height: 64px; gap: 12px; }
    .brp-logo img { height: 40px; }
    .brp-auth, .brp-auth.is-wide-card { grid-template-columns: minmax(0, 1fr); }
    /* The form is what someone opening Login came for - it goes first. */
    .brp-auth-card { order: -1; padding: 24px 18px 20px; border-radius: 20px; }
    .brp-auth-story { padding: 10px 4px 0; }
    .brp-auth-story .brp-display { font-size: clamp(26px, 7vw, 34px); }
    .brp-landing { grid-template-columns: minmax(0, 1fr); grid-template-areas: "center" "left" "users" "how" "app" "vendor"; }
    .brp-l-vendor { grid-template-columns: minmax(0, 1fr); }
    .brp-card { padding: 20px 18px; }
    .brp-l-left .brp-art { margin: 6px -18px 0; }
    .brp-user-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brp-strip { grid-template-columns: minmax(0, 1fr); padding: 6px 4px; }
    .brp-strip.count-3 { grid-template-columns: minmax(0, 1fr); }
    .brp-strip article { padding: 12px 14px; }
    .brp-strip article + article { border-left: 0; border-top: 1px solid var(--brp-line); }
    .brp-footer-inner { padding: 16px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
    .brp-body { font-size: 13.5px; }
    .brp-hide-sm { display: none !important; }
    .brp-lang span { display: none; }
    .brp-lang .brp-lang-caret { display: none; }
    .brp-hbtn { height: 36px; padding: 0 11px; font-size: 13px; }
    .brp-logo img { height: 34px; }
    .brp-benefits { grid-template-columns: minmax(0, 1fr); }
    .brp-cta-row { grid-template-columns: minmax(0, 1fr); }
    .brp-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .brp-steps li::after { display: none; }
    .brp-sec-head { align-items: flex-start; }
    .brp-sec-head .brp-pill { margin: 8px 0 0; display: table; }
    .brp-l-app { min-height: 380px; }
    .brp-app-copy { max-width: 60%; }
    .brp-app-tag { display: none; }
    .brp-grid-2, .brp-row.is-email, .brp-row.is-cc { grid-template-columns: minmax(0, 1fr); }
    .brp-row.is-cc { gap: 0; }
    .brp-row.is-cc .brp-field:first-child { display: none; }
    .brp-row.is-split { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .brp-card-head.has-badge { flex-direction: column; }
    .brp-role-tabs a { font-size: 13.5px; min-height: 44px; gap: 7px; }
    .brp-role-tabs a .brp-i { width: 18px; height: 18px; }
    .brp-method-tabs a { font-size: 13.5px; }
    .brp-otp { gap: 8px; }
    .brp-otp input { height: 48px; font-size: 20px; }
    .brp-otp-row { grid-template-columns: minmax(0, 1fr); }
    .brp-otp.is-sm input { height: 44px; }
    .brp-inline { grid-template-columns: minmax(0, 1fr); }
    .brp-links { gap: 14px; flex-wrap: wrap; }
    .brp-stepper { gap: 8px; padding: 10px; }
    .brp-stepper > div > span { width: 34px; height: 34px; font-size: 15px; }
    .brp-stepper b { font-size: 13.5px; }
    .brp-stepper > i { flex-basis: 24px; }
    .brp-masked { font-size: 21px !important; }
    .brp-auth-story > .brp-art { min-height: 330px; }
    .brp-bubble { padding: 6px 10px 6px 6px; border-radius: 14px; max-width: 160px; }
    .brp-bubble .brp-badge { width: 32px; height: 32px; }
    .brp-bubble .brp-badge .brp-i { width: 16px; height: 16px; }
    .brp-bubble b { font-size: 12px; }
    .brp-bubble.p4, .brp-bubble.p5 { display: none; }
    .brp-ribbon { font-size: 13.5px; padding: 7px 16px; border-width: 3px; transform: translateX(-50%); }
    .brp-gift { width: 76px; height: 76px; }
    .brp-coin.c1 { width: 52px; height: 52px; }
    .brp-phone { transform: rotate(-4deg) scale(.86); }
    .brp-art-shield.is-big { width: 172px; height: 198px; clip-path: path("M86 0 L172 31 L172 100 C172 154 129 184 86 198 C43 184 0 154 0 100 L0 31 Z"); }
    .brp-art-shield.is-big .brp-i { width: 70px; height: 70px; }
    .brp-feature-list b { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .brp-body *, .brp-body *::before, .brp-body *::after { animation: none !important; transition: none !important; }
}
.brp-check.is-attn { color: #b42318; } .brp-check.is-attn input { outline: 2px solid #e5484d; outline-offset: 2px; }
@media (min-width: 1201px) {
    .brp-auth.is-wide-card .brp-auth-story .brp-display { font-size: clamp(28px, 2.6vw, 40px); }
    .brp-auth.is-wide-card .brp-auth-story > :not(.brp-art) { max-width: 42%; }
    .brp-auth.is-wide-card .brp-auth-story .brp-art-stage { left: 42%; }
    .brp-auth.is-wide-card .brp-auth-story .brp-bubble.p3 { left: 38%; top: 50%; }
    .brp-auth.is-wide-card .brp-bubble small { display: none; }
}
@media (min-width: 1201px) {
    .brp-art.is-complete .brp-bubble.p3 { left: 38%; top: 64%; }
}
.brp-phone-row > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.brp-vendor-card .brp-checks { gap: 9px; }
