/* Only the dedicated Upgrade and homepage pricing sections use this treatment. */
@font-face {
    font-family: 'Montserrat Pricing';
    src: url('/static/fonts/Montserrat-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

.eq-checkout--triple {
    --eq-max: 1320px;
    font-family: Montserrat, Inter, system-ui, sans-serif;
}
.eq-checkout--triple.eq-checkout--standalone {
    min-height: 0;
    overflow: clip;
    background: radial-gradient(circle at 8% 1%, rgba(0,203,239,.15), transparent 30rem),
                linear-gradient(180deg, #fff 0%, #f7fbff 80%, #fff 100%);
}
.eq-checkout--triple .eq-upgrade-hero {
    padding: 27px 0 4px;
}
.eq-checkout--triple .eq-upgrade-copy h1 {
    max-width: 1150px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(2.4rem, 4.35vw, 4.05rem);
    font-weight: 950;
    line-height: 1.08;
}
.eq-checkout--triple .eq-pricing-section {
    padding: 11px 0 29px;
}
.eq-checkout--triple .eq-triple-shell {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}
.eq-checkout--triple .eq-triple-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.eq-checkout--triple .eq-triple-intro {
    color: #2469ae;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.eq-checkout--triple .eq-triple-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 21px;
    align-items: stretch;
}
.eq-checkout--triple .eq-triple-card {
    padding: 30px;
    min-height: 0;
    border-radius: 28px;
    border: 1px solid rgba(27, 97, 163, .18);
    background: linear-gradient(180deg, #ffffff 0%, #f0f6fd 100%);
    color: #0a2340;
    box-shadow: 0 14px 36px rgba(14, 57, 103, .09);
}
.eq-checkout--triple .eq-triple-card--preferred {
    border: 2px solid #2b83c5;
    padding: 29px;
    background: linear-gradient(180deg, #f8fcff 0%, #e3f1fe 100%);
    box-shadow: 0 18px 44px rgba(23, 101, 179, .13);
}
.eq-checkout--triple .eq-triple-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}
.eq-checkout--triple .eq-triple-card .eq-plan-eyebrow {
    margin: 0;
    border-color: rgba(27, 97, 163, .18);
    background: rgba(35, 118, 186, .07);
    color: #27699e;
}
.eq-checkout--triple .eq-triple-value-badge {
    padding: 8px 12px;
    border: 1px solid rgba(36, 112, 178, .18);
    border-radius: 999px;
    background: #e0efff;
    color: #1d5c98;
    font-size: .75rem;
    font-weight: 800;
    white-space: nowrap;
}
.eq-checkout--triple .eq-triple-card .eq-plan-title {
    font-size: clamp(1.5rem, 2.1vw, 1.95rem);
    color: #0a2340;
}
.eq-checkout--triple .eq-triple-card .eq-triple-price {
    min-height: 0;
    margin: 22px 0 18px;
    font-size: clamp(2.25rem, 3.25vw, 3rem);
    white-space: nowrap;
    color: #091e38;
}
.eq-checkout--triple .eq-triple-card .eq-triple-price .month-text {
    color: #435e7d;
    opacity: 1;
}
.eq-checkout--triple .eq-triple-card .eq-triple-price .smaller-text {
    display: block;
    margin-top: 8px;
    font-size: .86rem;
    white-space: normal;
    color: #546c86;
}
.eq-checkout--triple .eq-triple-card .eq-divider {
    margin-bottom: 23px;
    background: linear-gradient(90deg, rgba(30, 104, 178, .20), transparent);
}
.eq-checkout--triple .eq-triple-card .eq-feature-list {
    gap: 13px;
    margin: 0 0 24px;
}
.eq-checkout--triple .eq-triple-card .eq-feature-list li {
    font-size: .88rem;
    line-height: 1.5;
    color: #283f59;
}
.eq-checkout--triple .eq-triple-card .eq-feature-list li::before {
    background: #1e75bd;
    color: #ffffff;
}
.eq-checkout--triple .eq-triple-cta {
    margin: auto 0 0;
    min-height: 54px;
    background: #1466ae;
    color: #ffffff;
    box-shadow: 0 9px 20px rgba(23, 101, 179, .14);
}
.eq-checkout--triple .eq-triple-cta:disabled { opacity: .68; cursor: wait; }
.eq-checkout--triple .eq-triple-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.eq-checkout--triple .eq-triple-footer .eq-stripe-bar { margin-top: 0; }
.eq-checkout--triple .eq-triple-footer a {
    color: #1a60ab;
    font-size: .82rem;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.eq-checkout--triple .eq-triple-runtime-form { display: none !important; }
.eq-checkout--triple .eq-table-section {
    border-top: 1px solid rgba(26,96,171,.12);
    padding-top: 42px;
    background: #fff;
}
.eq-home #eq-pricing .eq-section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.1;
}
.eq-home #eq-pricing > .eq-shell > .eq-section-heading { margin-bottom: 16px; }
@media (max-width: 980px) {
    .eq-checkout--triple .eq-triple-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .eq-checkout--triple .eq-triple-card--preferred { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .eq-checkout--triple .eq-upgrade-hero { padding: 30px 0 9px; }
    .eq-checkout--triple .eq-upgrade-copy h1 { font-size: clamp(2.15rem, 8.3vw, 2.9rem); }
    .eq-checkout--triple .eq-pricing-section { padding: 14px 0 30px; }
    .eq-checkout--triple .eq-triple-shell { padding: 0; border-radius: 0; }
    .eq-checkout--triple .eq-triple-controls { margin-bottom: 14px; }
    .eq-checkout--triple .eq-triple-intro { font-size: .68rem; }
    .eq-checkout--triple .eq-currency-wrap { width: auto; gap: 7px; font-size: .75rem; }
    .eq-checkout--triple .eq-currency-wrap select { min-width: 80px; height: 40px; }
    .eq-checkout--triple .eq-triple-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
    .eq-checkout--triple .eq-triple-card--preferred { grid-column: auto; }
    .eq-checkout--triple .eq-triple-card { padding: 26px; border-radius: 24px; }
    .eq-checkout--triple .eq-triple-card--preferred { padding: 25px; }
    .eq-checkout--triple .eq-triple-card .eq-triple-price { margin: 16px 0; }
    .eq-checkout--triple .eq-triple-card .eq-feature-list { margin-bottom: 21px; }
}

/* Focused refinements for the shared Upgrade and homepage pricing cards. */
.eq-checkout--triple .eq-triple-grid {
    gap: 22px;
}
.eq-checkout--triple .eq-triple-card {
    border: 1.5px solid rgba(30, 102, 173, .39);
    box-shadow: 0 9px 26px rgba(9, 40, 76, .075),
                0 0 0 1px rgba(255,255,255,.88) inset;
}
.eq-checkout--triple .eq-triple-card--preferred {
    border: 2px solid #1877c1;
    box-shadow: 0 13px 34px rgba(17, 93, 169, .12),
                0 0 0 1px rgba(255,255,255,.8) inset;
}
.eq-checkout--triple .eq-upgrade-copy h1 {
    max-width: 1280px;
    font-size: clamp(2.39rem, 4.6vw, 4.23rem);
    line-height: 1.13;
    letter-spacing: -.052em;
    overflow: visible;
}
.eq-checkout--triple .eq-upgrade-title-accent {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 .12em .07em;
    letter-spacing: -.045em;
    line-height: 1.15;
    overflow: visible;
}
.eq-checkout--triple .eq-triple-footer {
    justify-content: center;
    gap: 16px 28px;
    margin-top: 15px;
}
.eq-checkout--triple .eq-triple-footer .eq-currency-wrap {
    width: auto;
    margin: 0;
}
/* Override the older white button from premium_checkout.css (more specific). */
.eq-checkout--triple .eq-plan-card-premium .eq-plan-button.eq-triple-cta {
    background: #1769b7;
    color: #fff;
    border: 1px solid #1769b7;
    box-shadow: 0 9px 24px rgba(23,105,183,.19);
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.eq-checkout--triple .eq-plan-card-premium .eq-plan-button.eq-triple-cta:not(:disabled):hover {
    background: #0f548f;
    border-color: #0f548f;
    box-shadow: 0 12px 28px rgba(15,84,143,.24);
}
.eq-checkout--triple .eq-plan-card-premium .eq-plan-button.eq-triple-cta:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 3px;
}
.eq-checkout--triple .eq-plan-card-premium .eq-plan-button.eq-triple-cta:disabled {
    opacity: .68;
    cursor: wait;
}
@media (max-width: 980px) {
    .eq-checkout--triple .eq-triple-grid { gap: 18px; }
}
@media (max-width: 640px) {
    .eq-checkout--triple .eq-upgrade-copy h1 { font-size: clamp(2.3rem, 8.6vw, 3rem); }
    .eq-checkout--triple .eq-upgrade-title-accent { padding-inline: .07em; }
    .eq-checkout--triple .eq-triple-grid { gap: 15px; }
    .eq-checkout--triple .eq-triple-footer { gap: 12px 18px; }
}

/* Refinements: calm typography, compact six-benefit cards and inline value badge. */
.eq-checkout--triple .eq-triple-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 33px;
}
.eq-checkout--triple .eq-triple-card .eq-plan-title {
    margin: 0;
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.2;
}
.eq-checkout--triple .eq-triple-caption {
    margin: 6px 0 0;
    color: #455c78;
    font-size: .77rem;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
}
.eq-checkout--triple .eq-triple-card .eq-triple-price,
.eq-checkout--triple .eq-triple-card .eq-triple-price [data-eq-total-price] {
    font-family: 'Montserrat Pricing', 'Montserrat', sans-serif;
    font-weight: 500;
}
.eq-checkout--triple .eq-triple-card .eq-triple-price {
    margin: 16px 0 14px;
    letter-spacing: -.04em;
}
.eq-checkout--triple .eq-triple-card .eq-feature-list {
    gap: 8px;
    margin-bottom: 18px;
}
@media (max-width: 640px) {
    .eq-checkout--triple .eq-triple-caption { font-size: .72rem; }
    .eq-checkout--triple .eq-triple-title-row { min-height: 32px; }
}

/* Readable, balanced pricing hierarchy, limited to the two three-card placements. */
.eq-checkout--triple .eq-triple-card .eq-triple-price .month-text {
    font-weight: 500;
}
.eq-checkout--triple .eq-triple-card .eq-triple-price .smaller-text {
    font-weight: 500;
}
.eq-checkout--triple .eq-triple-card .eq-feature-list li {
    font-weight: 500;
}
.eq-checkout--triple .eq-triple-card .eq-feature-list li::before {
    width: 18px;
    height: 18px;
    top: 2px;
    font-size: 10px;
}
.eq-checkout--triple .eq-triple-savings {
    display: block;
    margin-top: 3px;
    color: #1769b7;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
    white-space: normal;
}
@media (max-width: 640px) {
    .eq-checkout--triple .eq-triple-card { padding: 24px; }
    .eq-checkout--triple .eq-triple-card--preferred { padding: 23px; }
    .eq-checkout--triple .eq-upgrade-copy h1 {
        font-size: clamp(2.1rem, 7.9vw, 2.77rem);
    }
}
