:root,
[data-bs-theme="dark"] {
    color-scheme: dark;
    --brb-bg: #05060a;
    --brb-surface: #0d101a;
    --brb-accent: #0aad87;
    --brb-accent-2: #2e9bd6;
    --brb-glow: rgba(10, 173, 135, 0.45);
    --brb-surface-2: #212637;
    --brb-text-muted: #bfbfbf;
    --brb-text-body: #e8e8e8;
    --brb-border: rgba(255, 255, 255, 0.08);
    --brb-navbar-bg: rgba(7, 8, 14, 0.7);
    --brb-navbar-bg-scrolled: rgba(7, 8, 14, 0.92);
    --brb-nav-link: rgba(255, 255, 255, 0.72);
    --brb-glass-bg: rgba(255, 255, 255, 0.04);
    --brb-glass-border: rgba(255, 255, 255, 0.08);
    --brb-grid-line: rgba(255, 255, 255, 0.025);
    --brb-footer-bg: rgba(7, 8, 14, 0.6);
    --brb-footer-link: rgba(255, 255, 255, 0.6);
}

[data-bs-theme="light"] {
    color-scheme: light;
    --brb-bg: #f3f5fa;
    --brb-surface: #ffffff;
    --brb-accent: #0aad87;
    --brb-accent-2: #1f84b8;
    --brb-glow: rgba(10, 173, 135, 0.28);
    --brb-surface-2: #e8edf5;
    --brb-text-muted: #5c6370;
    --brb-text-body: #1a1f2b;
    --brb-border: rgba(15, 23, 42, 0.1);
    --brb-navbar-bg: rgba(255, 255, 255, 0.88);
    --brb-navbar-bg-scrolled: rgba(255, 255, 255, 0.96);
    --brb-nav-link: rgba(26, 31, 43, 0.72);
    --brb-glass-bg: rgba(255, 255, 255, 0.92);
    --brb-glass-border: rgba(15, 23, 42, 0.1);
    --brb-grid-line: rgba(15, 23, 42, 0.04);
    --brb-footer-bg: rgba(255, 255, 255, 0.92);
    --brb-footer-link: rgba(26, 31, 43, 0.62);
}

html {
    font-size: 18px; /* larger base on phones; rem/Bootstrap text scales with this */
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: "Inter", "Noto Sans", system-ui, sans-serif;
    background-color: var(--brb-bg);
    overflow-x: clip;
}

/* Indic script fonts by selected language */
body.lang-hi,
body.lang-gbm,
body.lang-bho {
    font-family: "Noto Sans Devanagari", "Noto Sans", "Inter", system-ui, sans-serif;
}

body.lang-pa {
    font-family: "Noto Sans Gurmukhi", "Noto Sans", "Inter", system-ui, sans-serif;
}

body.lang-bn {
    font-family: "Noto Sans Bengali", "Noto Sans", "Inter", system-ui, sans-serif;
}

body.lang-or {
    font-family: "Noto Sans Oriya", "Noto Sans", "Inter", system-ui, sans-serif;
}

body.lang-gu {
    font-family: "Noto Sans Gujarati", "Noto Sans", "Inter", system-ui, sans-serif;
}

body.lang-te {
    font-family: "Noto Sans Telugu", "Noto Sans", "Inter", system-ui, sans-serif;
}

body.lang-ml {
    font-family: "Noto Sans Malayalam", "Noto Sans", "Inter", system-ui, sans-serif;
}

body.lang-kn {
    font-family: "Noto Sans Kannada", "Noto Sans", "Inter", system-ui, sans-serif;
}

/* Keep Latin headings expressive; body uses script-aware stack above */
h1, h2, h3, h4, h5, h6, .navbar-brand, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: "Plus Jakarta Sans", "Noto Sans Devanagari", "Noto Sans", system-ui, sans-serif;
    letter-spacing: -0.02em;
}

body.lang-pa h1, body.lang-pa h2, body.lang-pa h3, body.lang-pa h4, body.lang-pa h5, body.lang-pa h6,
body.lang-pa .display-1, body.lang-pa .display-2, body.lang-pa .display-3, body.lang-pa .display-4, body.lang-pa .display-5, body.lang-pa .display-6 {
    font-family: "Noto Sans Gurmukhi", "Plus Jakarta Sans", system-ui, sans-serif;
}

body.lang-bn h1, body.lang-bn h2, body.lang-bn h3, body.lang-bn h4, body.lang-bn h5, body.lang-bn h6,
body.lang-bn .display-1, body.lang-bn .display-2, body.lang-bn .display-3, body.lang-bn .display-4, body.lang-bn .display-5, body.lang-bn .display-6 {
    font-family: "Noto Sans Bengali", "Plus Jakarta Sans", system-ui, sans-serif;
}

body.lang-or h1, body.lang-or h2, body.lang-or h3, body.lang-or h4, body.lang-or h5, body.lang-or h6,
body.lang-or .display-1, body.lang-or .display-2, body.lang-or .display-3, body.lang-or .display-4, body.lang-or .display-5, body.lang-or .display-6 {
    font-family: "Noto Sans Oriya", "Plus Jakarta Sans", system-ui, sans-serif;
}

body.lang-gu h1, body.lang-gu h2, body.lang-gu h3, body.lang-gu h4, body.lang-gu h5, body.lang-gu h6,
body.lang-gu .display-1, body.lang-gu .display-2, body.lang-gu .display-3, body.lang-gu .display-4, body.lang-gu .display-5, body.lang-gu .display-6 {
    font-family: "Noto Sans Gujarati", "Plus Jakarta Sans", system-ui, sans-serif;
}

body.lang-te h1, body.lang-te h2, body.lang-te h3, body.lang-te h4, body.lang-te h5, body.lang-te h6,
body.lang-te .display-1, body.lang-te .display-2, body.lang-te .display-3, body.lang-te .display-4, body.lang-te .display-5, body.lang-te .display-6 {
    font-family: "Noto Sans Telugu", "Plus Jakarta Sans", system-ui, sans-serif;
}

body.lang-ml h1, body.lang-ml h2, body.lang-ml h3, body.lang-ml h4, body.lang-ml h5, body.lang-ml h6,
body.lang-ml .display-1, body.lang-ml .display-2, body.lang-ml .display-3, body.lang-ml .display-4, body.lang-ml .display-5, body.lang-ml .display-6 {
    font-family: "Noto Sans Malayalam", "Plus Jakarta Sans", system-ui, sans-serif;
}

body.lang-kn h1, body.lang-kn h2, body.lang-kn h3, body.lang-kn h4, body.lang-kn h5, body.lang-kn h6,
body.lang-kn .display-1, body.lang-kn .display-2, body.lang-kn .display-3, body.lang-kn .display-4, body.lang-kn .display-5, body.lang-kn .display-6 {
    font-family: "Noto Sans Kannada", "Plus Jakarta Sans", system-ui, sans-serif;
}

.brb-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--brb-text-muted);
    border: 1px solid var(--brb-border);
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    background: var(--brb-glass-bg);
}

.brb-lang-toggle:hover,
.brb-lang-toggle:focus-visible,
.brb-lang-toggle.show {
    color: var(--brb-text-body);
    border-color: rgba(10, 173, 135, 0.45);
    background: rgba(10, 173, 135, 0.08);
}

.brb-lang-toggle-label {
    font-size: 0.72rem;
    font-weight: 500;
    max-width: 7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brb-lang-menu {
    min-width: 16rem;
    max-height: min(70vh, 28rem);
    overflow-y: auto;
}

.brb-lang-menu .dropdown-item.active {
    color: var(--brb-text-body);
    background: rgba(10, 173, 135, 0.12);
}

.brb-lang-glyph {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: rgba(10, 173, 135, 0.12);
    color: var(--brb-accent);
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* User-entered name/email must stay Latin / English */
input[lang="en"],
textarea[lang="en"],
.input-english {
    font-family: "Inter", "Noto Sans", system-ui, sans-serif !important;
}
@media (max-width: 575.98px) {
    .container {
        --bs-gutter-x: 2.5rem; /* 1.25rem each side */
    }
}

@media (min-width: 576px) {
    .container {
        max-width: calc(100% - var(--bs-gutter-x));
    }
}

@media (min-width: 992px) {
    .container {
        max-width: calc(100% - 2.5rem);
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: calc(100% - 3rem);
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1440px;
    }
}

/* Prose width utilities (Bootstrap mw-* pattern) */
.mw-prose-sm { max-width: 32.5rem; }
.mw-prose-md { max-width: 50rem; }
.mw-prose { max-width: 80rem; }
.mw-prose-copy { max-width: 38.75rem; }
.mw-prose-lg { max-width: 42.5rem; }
.mw-prose-xl { max-width: 43.75rem; }
.mw-prose-2xl { max-width: 45rem; }
.mw-display { max-width: 47.5rem; }
.mw-sidebar { max-width: 17.5rem; }
.mw-form { max-width: 28rem; }

h1, h2, h3, h4, h5, h6, .navbar-brand, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    letter-spacing: -0.02em;
}

/* Ambient background grid + glow */
.site-bg-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(circle at 15% 10%, rgba(10, 173, 135, 0.09), transparent 38%),
        radial-gradient(circle at 85% 0%, rgba(10, 173, 135, 0.08), transparent 45%),
        linear-gradient(var(--brb-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--brb-grid-line) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
    pointer-events: none;
}

[data-bs-theme="light"] .site-bg-grid {
    display: none;
}

/* Accent text — solid logo green (no gradient) */
.text-gradient {
    color: var(--brb-accent);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
}

/* Brand mark */
.brand-mark {
    width: 2.1rem;
    height: 2.1rem;
    background: var(--brb-accent);
    color: #fff;
    box-shadow: 0 0 18px var(--brb-glow);
}

/* Navbar */
.site-navbar {
    background-color: var(--brb-navbar-bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--brb-border);
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Shrink-on-scroll: reduce padding + logo so the bar itself gets shorter */
.site-navbar.navbar-scrolled {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    background-color: var(--brb-navbar-bg-scrolled);
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.15);
}

[data-bs-theme="dark"] .site-navbar.navbar-scrolled {
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
}

.brb-theme-logo {
    line-height: 0;
}

.brb-theme-logo__light {
    display: none;
}

[data-bs-theme="light"] .brb-theme-logo__dark {
    display: none;
}

[data-bs-theme="light"] .brb-theme-logo__light {
    display: block;
}

.brand-logo {
    height: 46px;
    width: auto;
    transition: height 0.3s ease;
}

.site-navbar.navbar-scrolled .brand-logo {
    height: 36px;
}

.site-navbar .nav-link {
    color: var(--brb-nav-link);
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
    color: var(--brb-text-body);
}

/* Keep one clean row once the navbar is expanded; tighten mid-desktop widths */
@media (min-width: 1200px) {
    .site-navbar > .container {
        flex-wrap: nowrap;
    }

    .site-navbar .navbar-collapse {
        flex-wrap: nowrap;
        align-items: center;
    }

    .site-navbar .navbar-nav {
        flex-wrap: nowrap;
        align-items: center;
    }

    .site-navbar .navbar-nav .nav-link {
        padding-left: 0.45rem;
        padding-right: 0.45rem;
        font-size: 1rem;
    }

    .site-navbar .btn.rounded-pill {
        white-space: nowrap;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
        font-size: 0.875rem;
    }

    .site-navbar .d-flex.align-items-center {
        flex-wrap: nowrap;
        flex-shrink: 0;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .site-navbar .navbar-nav .nav-link {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
        font-size: 0.95rem;
    }

    .site-navbar .btn.rounded-pill {
        padding-left: 0.7rem;
        padding-right: 0.7rem;
        font-size: 0.8125rem;
    }

    .brand-logo {
        height: 40px;
    }
}

/* Glow button — solid logo green (no gradient) */
.btn-glow {
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--brb-accent);
    --bs-btn-disabled-border-color: transparent;
    color: #fff;
    border: none;
    background: var(--brb-accent);
    box-shadow: 0 8px 24px -6px var(--brb-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.btn-glow:hover,
.btn-glow:focus {
    color: #fff;
    background: var(--brb-accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -4px var(--brb-glow);
}

.btn-glow:disabled,
.btn-glow.disabled {
    color: #fff;
    background: var(--brb-accent);
    border: none;
    box-shadow: 0 8px 24px -6px var(--brb-glow);
    opacity: 0.7;
    transform: none;
}

/* Glass surfaces */
.glass-card {
    background: var(--brb-glass-bg);
    border: 1px solid var(--brb-glass-border);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover {
    /*transform: translateY(-6px);*/
    border-color: rgba(10, 173, 135, 0.5);
    box-shadow: 0 20px 40px -20px var(--brb-glow);
}

/* Feature / icon chips */
.icon-chip {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
    flex-shrink: 0;
    font-size: 1.35rem;
    background: rgba(10, 173, 135, 0.12);
    color: var(--brb-accent);
    border: 1px solid rgba(10, 173, 135, 0.25);
}

/* Section glow divider behind hero visual */
.hero-orb {
    background: radial-gradient(circle, rgba(10, 173, 135, 0.2), transparent 65%);
    filter: blur(30px);
    opacity: 0.6;
}

/* Step connector number */
.step-number {
    width: 3.25rem;
    height: 3.25rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    background: var(--brb-accent);
    color: #fff;
    box-shadow: 0 0 18px var(--brb-glow);
}

/* Final CTA practice flow (boxes + arrows) */
.cta-practice-flow {
    gap: 0.35rem;
    max-width: 72rem;
    margin-inline: auto;
}

.cta-practice-box {
    background: var(--brb-glass-bg);
    border: 1px solid var(--brb-glass-border);
}

.cta-practice-box .step-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.95rem;
}

.cta-practice-arrow {
    color: var(--brb-accent);
    font-size: 1.25rem;
    min-height: 1.75rem;
    padding-block: 0.15rem;
}

@media (min-width: 992px) {
    .cta-practice-flow {
        gap: 0.25rem;
    }

    .cta-practice-arrow {
        min-width: 1.75rem;
        padding-inline: 0.15rem;
        padding-block: 0;
    }
}

/* Footer */
.site-footer {
    background-color: var(--brb-footer-bg);
    border-color: var(--brb-border) !important;
}

.footer-link {
    color: var(--brb-footer-link);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--brb-text-body);
}

/* Scroll-to-top button */
.scroll-top-btn {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1040;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    border: none;
    border-radius: 50%;
    background: var(--brb-accent);
    box-shadow: 0 8px 24px -6px var(--brb-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover,
.scroll-top-btn:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px -4px var(--brb-glow);
    color: #fff;
}

/* Focus visibility */
.btn:focus-visible,
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(10, 173, 135, 0.35);
    border-color: var(--brb-accent);
}

/* Placeholder: hex + opacity (replaces Bootstrap rgba(--bs-secondary-color)).
   Keep ::placeholder and ::-moz-placeholder in separate rules — a browser that
   does not recognize one selector drops the entire comma-separated rule. */
.form-control::placeholder {
    color: #9d9d9d;
    opacity: 0.75;
    font-size: 14px;
}

.form-control::-moz-placeholder {
    color: #0a85ff;
    opacity: 0.75;
}

[data-bs-theme="light"] .form-control::placeholder {
    color: rgb(56, 56, 56, 0.50);
    opacity: 0.75;
    font-size: 14px;
}

[data-bs-theme="light"] .form-control::-moz-placeholder {
    color: #212529;
    opacity: 0.75;
}

/* Native select popups follow the theme (color-scheme handles Chromium; this covers Firefox) */
.form-select option {
    background-color: var(--brb-surface);
    color: var(--brb-text-body);
}

/* Navbar features dropdown on glass theme (pure CSS, opens on hover) */
.features-dropdown {
    background: var(--brb-navbar-bg-scrolled);
    border: 1px solid var(--brb-border);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.5);
    min-width: 14rem;
    padding: 0.5rem;
}

.learn-dropdown {
    min-width: 18rem;
    max-height: min(70vh, 32rem);
    overflow-y: auto;
}

@media (min-width: 1200px) {
    .dropdown-hover .dropdown-menu {
        display: none;
        top: 100%;
        margin-top: 0;
    }

    .dropdown-hover:hover > .dropdown-menu,
    .dropdown-hover:focus-within > .dropdown-menu {
        display: block;
    }
}

/* On mobile (collapsed navbar) there is no hover: show items as a plain indented list */
@media (max-width: 1199.98px) {
    .dropdown-hover .dropdown-menu {
        display: block;
        position: static;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
        padding: 0 0 0 1rem;
    }
}

.features-dropdown .dropdown-item {
    color: var(--brb-nav-link);
    border-radius: 0.75rem;
    font-weight: 500;
}

.features-dropdown .dropdown-item:hover,
.features-dropdown .dropdown-item:focus {
    color: var(--brb-text-body);
    background: rgba(10, 173, 135, 0.1);
}

/* FAQ accordion on glass theme */
.faq-accordion .accordion-item {
    background: var(--brb-glass-bg);
    border: 1px solid var(--brb-glass-border);
    backdrop-filter: blur(8px);
}

.faq-accordion .accordion-button {
    background: transparent;
    color: var(--brb-text-body);
    font-weight: 600;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--brb-accent);
}

.faq-accordion .accordion-button::after {
    filter: grayscale(1) brightness(1.6);
}

[data-bs-theme="light"] .faq-accordion .accordion-button::after {
    filter: none;
}

.faq-accordion .accordion-body {
    color: var(--brb-text-muted);
}

/* Marquee for ticker-like accent */
.stat-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hero eyebrow: Bootstrap .badge is nowrap by default — allow wrap on narrow screens */
#start-free-trial .badge.text-wrap {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
}

/* Bootstrap badges — readable site-wide size */
.badge {
    --bs-badge-font-size: 15px;
    font-size: var(--bs-badge-font-size);
}

.badge.small {
    font-size: 15px;
}

/* Feature page image frame */
.feature-image-frame {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 320px;
}

.feature-image {
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.feature-image-placeholder {
    min-height: 320px;
    background: rgba(10, 173, 135, 0.08);
}

.feature-check {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.85rem;
    background: rgba(10, 173, 135, 0.15);
    color: var(--brb-accent);
    border: 1px solid rgba(10, 173, 135, 0.3);
}

.otp-input {
    letter-spacing: 0.35em;
    font-size: 0.90rem !important;
}


.textlight {
    color: var(--brb-text-muted);
}

.textsuccess {
    color: #52c590;
}

.textdanger {
    color: #f7a8a8;
}

[data-bs-theme="light"] .textsuccess {
    color: #1f8a4c;
}

[data-bs-theme="light"] .textdanger {
    color: #c0392b;
}

.brb-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--brb-text-muted);
    border: 1px solid var(--brb-border);
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    background: var(--brb-glass-bg);
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.brb-theme-toggle:hover,
.brb-theme-toggle:focus-visible {
    color: var(--brb-text-body);
    border-color: rgba(10, 173, 135, 0.45);
    background: rgba(10, 173, 135, 0.08);
}

.brb-theme-toggle-label {
    font-size: 0.72rem;
    font-weight: 500;
}

[data-bs-theme="light"] .btn-outline-light {
    --bs-btn-color: #1a1f2b;
    --bs-btn-border-color: rgba(15, 23, 42, 0.2);
    --bs-btn-hover-color: #1a1f2b;
    --bs-btn-hover-bg: rgba(15, 23, 42, 0.05);
    --bs-btn-hover-border-color: rgba(15, 23, 42, 0.28);
}

/* Pricing page billing period toggle */
.billing-toggle {
    background: var(--brb-glass-bg);
    border: 1px solid var(--brb-border);
    border-radius: 999px;
    padding: 0.35rem;
    gap: 0.25rem;
}

.billing-toggle .btn {
    border: 1px solid transparent;
    color: var(--brb-text-muted);
    font-weight: 500;
    border-radius: 999px !important;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.billing-toggle .btn:hover {
    color: var(--brb-text-body);
    background: rgba(10, 173, 135, 0.08);
    border-color: rgba(10, 173, 135, 0.2);
}

.billing-toggle .btn-check:checked + .btn {
    color: #fff;
    border-color: transparent;
    background: var(--brb-accent);
    box-shadow: 0 8px 24px -6px var(--brb-glow);
    transform: translateY(-1px);
}

.billing-toggle .btn-check:checked + .btn .stat-pill {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff !important;
}

/* Destination chooser (post-signup / post-login) */
.destination-card {
    appearance: none;
    -webkit-appearance: none;
    color: inherit;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    background: var(--brb-glass-bg);
}

.destination-card:hover,
.destination-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(10, 173, 135, 0.5) !important;
    box-shadow: 0 20px 40px -20px var(--brb-glow);
    color: inherit;
}

.destination-card:focus-visible {
    outline: 2px solid var(--brb-accent);
    outline-offset: 3px;
}

.destination-card.is-preferred {
    border-color: rgba(10, 173, 135, 0.55) !important;
    box-shadow: 0 0 0 1px rgba(10, 173, 135, 0.35), 0 20px 40px -20px var(--brb-glow);
}

.destination-card__cta {
    transition: gap 0.2s ease;
}

.destination-card:hover .destination-card__cta,
.destination-card:focus-visible .destination-card__cta {
    gap: 0.65rem;
}

.destination-card .form-check-input {
    cursor: pointer;
}

/* Learn pages */
.section-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    font-weight: 600;
}

.brb-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.brb-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.brb-reveal--delay { transition-delay: 0.1s; }
.brb-reveal--delay-2 { transition-delay: 0.2s; }
.brb-reveal--delay-3 { transition-delay: 0.3s; }

.section-tint {
    background: linear-gradient(180deg, transparent, rgba(10, 173, 135, 0.05) 50%, transparent);
}

[data-bs-theme="light"] .section-tint {
    background: linear-gradient(180deg, transparent, rgba(10, 173, 135, 0.05) 50%, transparent);
}

.list-check li {
    position: relative;
    padding-left: 1.1rem;
}

.list-check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--brb-accent);
}

.cta-panel {
    background:
        radial-gradient(circle at top right, rgba(10, 173, 135, 0.1), transparent 35%),
        radial-gradient(circle at bottom left, rgba(46, 155, 214, 0.08), transparent 40%),
        var(--brb-glass-bg);
}

[data-bs-theme="light"] .cta-panel {
    background:
        radial-gradient(circle at top right, rgba(10, 173, 135, 0.08), transparent 35%),
        radial-gradient(circle at bottom left, rgba(31, 132, 184, 0.06), transparent 40%),
        rgba(255, 255, 255, 0.96);
}

.font-15 { 
    font-size: 15px !important;
}
.font-16 { 
    font-size: 16px !important;
}
.font-17 {
    font-size: 17px !important;
}
.font-18 {
    font-size: 18px !important;
}
.font-19 {
    font-size: 19px !important;
}

@media (max-width: 767.98px) {
    .font-15 { font-size: 16px !important; }
    .font-16 { font-size: 17.5px !important; }
    .font-17 { font-size: 18.5px !important; }
    .font-18 { font-size: 19.5px !important; }
    .font-19 { font-size: 20.5px !important; }

    .small,
    small {
        font-size: 0.9375rem; /* ~17px at 18px root — default .small feels tiny on phones */
    }
}