.pricing {
    max-width: 1280px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 55, 42, .05);
}

.price-card.featured {
    border-color: #1f8c68;
    background: var(--deep);
    color: #fff;
    box-shadow: 0 24px 55px rgba(9, 45, 35, .2);
    transform: translateY(-10px);
}

.popular {
    position: absolute;
    top: 0;
    right: 20px;
    padding: 7px 12px;
    border-radius: 0 0 9px 9px;
    background: var(--lime);
    color: var(--deep);
    font-size: .64rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.plan-top {
    min-height: 55px;
}

.plan-top span,
.plan-top small,
.pricing-extras span,
.pricing-extras strong {
    display: block;
}

.plan-top span {
    font: 800 1.45rem Manrope, sans-serif;
    letter-spacing: -.04em;
}

.plan-top small {
    margin-top: 3px;
    color: var(--muted);
    font-size: .72rem;
}

.featured .plan-top small,
.featured .employee-limit,
.featured .annual,
.featured .price small {
    color: #b8ccc5;
}

.employee-limit {
    margin: 22px 0 7px;
    color: var(--green);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 3px;
    min-height: 60px;
}

.price > span {
    font: 700 1.1rem Manrope;
}

.price b {
    font: 800 2.55rem Manrope;
    letter-spacing: -.07em;
}

.price small {
    color: var(--muted);
    font-size: .68rem;
}

.price.custom {
    align-items: center;
}

.price.custom b {
    font-size: 2.25rem;
}

.annual {
    min-height: 40px;
    margin: 4px 0 20px;
    color: var(--muted);
    font-size: .68rem;
}

.price-card ul {
    flex: 1;
    list-style: none;
    margin: 0 0 27px;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
}

.featured ul {
    border-color: rgba(255, 255, 255, .13);
}

.price-card li {
    position: relative;
    margin: 0 0 11px;
    padding-left: 20px;
    color: #4e625b;
    font-size: .75rem;
}

.featured li {
    color: #d2e2dc;
}

.price-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 900;
}

.featured li::before {
    color: var(--lime);
}

.price-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid #cbd9d2;
    border-radius: 9px;
    color: var(--ink);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    transition: .2s;
}

.price-button:hover {
    border-color: var(--green);
    background: var(--mint);
}

.featured .price-button {
    border-color: var(--lime);
    background: var(--lime);
    color: var(--deep);
}

.featured .price-button:hover {
    background: #cbf7a2;
}

.pricing-extras {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 36px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #eef5f1;
}

.pricing-extras div {
    padding: 4px 18px;
    border-right: 1px solid #d3e1da;
}

.pricing-extras div:last-child {
    border: 0;
}

.pricing-extras span {
    color: var(--green);
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.pricing-extras strong {
    margin: 5px 0;
    font: 800 1rem Manrope;
}

.pricing-extras p {
    margin: 0;
    color: var(--muted);
    font-size: .7rem;
}

.pricing-note {
    max-width: 820px;
    margin: 17px auto 0;
    color: var(--muted);
    font-size: .69rem;
    text-align: center;
}

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

    .price-card.featured {
        transform: none;
    }
}

@media (max-width: 700px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card {
        padding: 26px 22px;
    }

    .pricing-extras {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .pricing-extras div {
        padding: 12px 8px;
        border-right: 0;
        border-bottom: 1px solid #d3e1da;
    }

    .pricing-extras div:last-child {
        border: 0;
    }

    .pricing-note {
        text-align: left;
    }
}
