:root {
    --bpa-blue: #0070f4;
    --bpa-blue-dark: #005dd0;
    --bpa-green: #0fd186;
    --bpa-ink: #0b2344;
    --bpa-body: #51647d;
    --bpa-line: #dce8f6;
    --bpa-soft: #f5f9ff;
    --bpa-white: #ffffff;
}

.bpa-pricing,
.bpa-pricing * {
    box-sizing: border-box;
}

.bpa-pricing {
    width: 100%;
    color: var(--bpa-ink);
    font-family: inherit;
}

.bpa-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    align-items: stretch;
}

.bpa-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 680px;
    flex-direction: column;
    padding: 38px 34px 34px;
    overflow: visible;
    border: 1px solid var(--bpa-line);
    border-radius: 24px;
    background: var(--bpa-white);
    box-shadow: 0 16px 45px rgba(11, 35, 68, .07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bpa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 58px rgba(11, 35, 68, .12);
}

.bpa-card.is-featured {
    border: 2px solid var(--bpa-blue);
    box-shadow: 0 22px 60px rgba(0, 112, 244, .15);
}

.bpa-badge {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    max-width: calc(100% - 40px);
    padding: 8px 20px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bpa-blue), var(--bpa-green));
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
    white-space: nowrap;
}

.bpa-card-head {
    min-height: 118px;
}

.bpa-card-head h3 {
    margin: 0 0 12px !important;
    color: var(--bpa-ink) !important;
    font-size: clamp(29px, 2.3vw, 36px) !important;
    font-weight: 760 !important;
    line-height: 1.15 !important;
    letter-spacing: -.035em;
}

.bpa-card-head p {
    margin: 0 !important;
    color: var(--bpa-body) !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

.bpa-price-block {
    min-height: 128px;
    margin-top: 18px;
}

.bpa-monthly-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    white-space: nowrap;
}

.bpa-monthly-price strong {
    color: var(--bpa-ink);
    font-size: clamp(38px, 3.5vw, 50px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.055em;
}

.bpa-card.is-featured .bpa-monthly-price strong {
    color: var(--bpa-blue);
}

.bpa-monthly-price span {
    color: #6b7d93;
    font-size: 15px;
    font-weight: 500;
}

.bpa-billing-total {
    margin: 13px 0 0 !important;
    color: #62748a !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.bpa-billing-total strong {
    color: var(--bpa-ink);
    font-weight: 700;
}

.bpa-saving {
    display: inline-flex;
    width: fit-content;
    margin: 9px 0 0 !important;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eafcf5;
    color: #087a53 !important;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 1.25 !important;
}

.bpa-saving.is-hidden {
    display: none;
}

.bpa-term-field {
    display: block;
    margin: 2px 0 18px;
}

.bpa-term-field > span {
    display: block;
    margin-bottom: 8px;
    color: var(--bpa-ink);
    font-size: 13px;
    font-weight: 650;
}

.bpa-term-field select {
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 42px 0 15px;
    border: 1px solid #cdddf0;
    border-radius: 12px;
    outline: 0;
    background-color: #fff;
    color: var(--bpa-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.bpa-term-field select:focus {
    border-color: var(--bpa-blue);
    box-shadow: 0 0 0 4px rgba(0, 112, 244, .1);
}

.bpa-cta {
    display: flex !important;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border: 1px solid #cdddf0;
    border-radius: 13px;
    background: #fff;
    color: var(--bpa-ink) !important;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none !important;
    transition: all .2s ease;
}

.bpa-cta:hover {
    border-color: var(--bpa-blue);
    color: var(--bpa-blue) !important;
    transform: translateY(-1px);
}

.bpa-card.is-featured .bpa-cta {
    border-color: var(--bpa-blue);
    background: linear-gradient(135deg, #0788ff 0%, var(--bpa-blue) 100%);
    box-shadow: 0 12px 28px rgba(0, 112, 244, .23);
    color: #fff !important;
}

.bpa-card.is-featured .bpa-cta:hover {
    background: var(--bpa-blue-dark);
    color: #fff !important;
}

.bpa-cta svg {
    flex: 0 0 auto;
    transition: transform .2s ease;
}

.bpa-cta:hover svg {
    transform: translateX(3px);
}

.bpa-divider {
    height: 1px;
    margin: 28px 0 23px;
    background: var(--bpa-line);
}

.bpa-features {
    display: grid;
    gap: 15px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.bpa-features li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0 !important;
    padding: 0 !important;
    color: #40536c;
    font-size: 15px;
    line-height: 1.5;
}

.bpa-features li::before {
    display: none !important;
}

.bpa-features svg {
    flex: 0 0 20px;
    margin-top: 1px;
    color: #08b978;
}

.bpa-pricing-footnotes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    margin-top: 28px;
    color: #5b6f87;
    font-size: 14px;
    line-height: 1.5;
}

.bpa-pricing-footnotes > span {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
}

.bpa-pricing-footnotes svg {
    flex: 0 0 19px;
    margin-top: 1px;
    color: var(--bpa-blue);
}

/* Registration bridge: integrates the selected annual term into the existing form. */
.bpa-register-summary {
    margin: -4px 0 20px;
    padding: 14px 16px;
    border: 1px solid #cfe1f8;
    border-radius: 10px;
    background: #f3f8ff;
    color: #40536c;
    font-size: 14px;
    line-height: 1.55;
}

.bpa-register-summary strong {
    color: var(--bpa-ink);
}

@media (max-width: 1120px) {
    .bpa-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bpa-card.is-featured {
        order: -1;
    }
}

@media (max-width: 767px) {
    .bpa-pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bpa-card,
    .bpa-card.is-featured {
        min-height: 0;
        padding: 34px 22px 26px;
    }

    .bpa-card-head,
    .bpa-price-block {
        min-height: 0;
    }

    .bpa-card-head h3 {
        font-size: 30px !important;
    }

    .bpa-price-block {
        margin: 24px 0 22px;
    }

    .bpa-monthly-price strong {
        font-size: 42px;
    }

    .bpa-pricing-footnotes {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bpa-card,
    .bpa-cta,
    .bpa-cta svg,
    .bpa-term-field select {
        transition: none !important;
    }
}

