/*----------------------------------------
    Membership Pricing
        - Header band
        - Plan cards
        - Full feature comparison table
-----------------------------------------*/

.q2u-pricing {
    font-family: Poppins, sans-serif;
}

/* Header */

.q2u-pricing__header {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4.5rem;
    background-color: #faf7f0;
    text-align: center;
}

.q2u-pricing__glow {
    position: absolute;
    top: -240px;
    left: 50%;
    width: 620px;
    height: 620px;
    margin-left: -310px;
    border-radius: 50%;
    background-color: #f4eedd;
    opacity: 0.7;
    pointer-events: none;
}

.q2u-pricing__header .container {
    position: relative;
}

.q2u-pricing__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 7px 14px;
    border: 1px solid #eee;
    border-radius: 0.3rem;
    background-color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #333;
}

.q2u-pricing__eyebrow svg {
    stroke: var(--q2u-primary, #cfad3c);
}

.q2u-pricing__title {
    margin: 0 0 1.2rem;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.3px;
    color: #333;
}

.q2u-pricing__lede {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.7rem;
    line-height: 1.7;
    color: #666;
    text-wrap: pretty;
}

.q2u-pricing__coupon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 2.4rem;
    padding: 12px 20px;
    border: 1px solid #e3d9bb;
    border-radius: 0.5rem;
    background-color: #fff;
    font-size: 1.4rem;
    color: #333;
}

.q2u-pricing__coupon strong {
    color: var(--q2u-primary-dark, #c09c35);
}

/* Plan cards */

.q2u-plans {
    padding: 5rem 0 2rem;
    background-color: #fff;
}

.q2u-plans__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.q2u-plan {
    display: flex;
    flex-direction: column;
    padding: 28px 26px 30px;
    border: 1px solid #eee;
    border-radius: 0.5rem;
    background-color: #fff;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.q2u-plan:hover {
    transform: translateY(-4px);
    border-color: #e3d9bb;
    box-shadow: 0 16px 34px rgba(51, 51, 51, 0.12);
}

.q2u-plan--current {
    border-color: var(--q2u-primary, #cfad3c);
    box-shadow: 0 12px 30px rgba(51, 51, 51, 0.1);
}

.q2u-plan__flag {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 5px 10px;
    border-radius: 0.3rem;
    background-color: var(--q2u-primary, #cfad3c);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #fff;
}

.q2u-plan__name {
    margin: 0 0 6px;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
}

.q2u-plan__blurb {
    margin: 0 0 20px;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #666;
    text-wrap: pretty;
}

.q2u-plan__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 2px;
}

.q2u-plan__amount {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    color: #333;
}

.q2u-plan__period {
    font-size: 1.4rem;
    font-weight: 500;
    color: #666;
}

.q2u-plan__was {
    margin-bottom: 4px;
    font-size: 1.4rem;
    color: #999;
}

.q2u-plan__was del {
    margin-right: 6px;
}

.q2u-plan__note {
    margin: 0 0 22px;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #666;
}

.q2u-plan__features {
    margin: 0 0 26px;
    padding: 22px 0 0;
    border-top: 1px solid #eee;
    list-style: none;
}

.q2u-plan__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 11px;
    font-size: 1.3rem;
    line-height: 1.5;
    color: #333;
}

.q2u-plan__features li:last-child {
    margin-bottom: 0;
}

.q2u-plan__features li svg {
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--q2u-primary-dark, #c09c35);
}

.q2u-plan__features li.is-excluded {
    color: #999;
}

.q2u-plan__features li.is-excluded svg {
    stroke: #ccc;
}

.q2u-plan__cta {
    margin-top: auto;
}

.q2u-plan__cta .btn,
.q2u-plan__cta form {
    width: 100%;
    margin: 0;
}

.q2u-plan__cta .btn {
    display: block;
    text-align: center;
}

/* Comparison table */

.q2u-compare {
    padding: 4rem 0 6rem;
    background-color: #fff;
}

.q2u-compare__title {
    margin: 0 0 0.8rem;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.2px;
    color: #333;
}

.q2u-compare__lede {
    margin: 0 0 2.6rem;
    font-size: 1.5rem;
    color: #666;
}

.q2u-compare__scroll {
    overflow-x: auto;
    border: 1px solid #eee;
    border-radius: 0.5rem;
}

.q2u-compare table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 1.4rem;
}

.q2u-compare th,
.q2u-compare td {
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: middle;
}

.q2u-compare thead th {
    position: sticky;
    top: 0;
    background-color: #faf7f0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.q2u-compare thead th:not(:first-child),
.q2u-compare td:not(:first-child) {
    width: 130px;
    text-align: center;
}

.q2u-compare thead th span {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    color: #666;
}

.q2u-compare__group td {
    background-color: #fafafa;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #666;
}

.q2u-compare tbody tr:last-child td {
    border-bottom: 0;
}

.q2u-compare__yes {
    color: var(--q2u-primary-dark, #c09c35);
}

.q2u-compare__no {
    color: #ccc;
}

/* lg and down */

@media (max-width: 1199px) {
    .q2u-plans__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .q2u-pricing__header {
        padding: 3.6rem 0 3.2rem;
    }

    .q2u-pricing__title {
        font-size: 3.2rem;
    }

    .q2u-pricing__lede {
        font-size: 1.6rem;
    }

    .q2u-plans {
        padding: 3.6rem 0 1.6rem;
    }

    .q2u-compare {
        padding: 3rem 0 4.5rem;
    }

    .q2u-compare__title {
        font-size: 2.4rem;
    }
}

/* Phone */

@media (max-width: 767px) {
    .q2u-pricing__title {
        font-size: 2.6rem;
    }

    .q2u-plans__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .q2u-plan {
        padding: 22px 20px 24px;
    }

    .q2u-plan__amount {
        font-size: 3.2rem;
    }
}
