.pricing {
    padding-block: clamp(36px, 5.5vw, 80px) clamp(54px, 6vw, 90px);
    background: var(--surface-tint);
}

.pricing-heading {
    max-width: 655px;
    margin-bottom: clamp(26px, 3.5vw, 46px);
    animation: enter .55s ease both;
}

.pricing-heading h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.pricing-heading p { font-size: clamp(15px, 1.5vw, 18px); }

.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.plan {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: clamp(19px, 2.45vw, 34px);
    border: 1px solid var(--divider);
    border-radius: 14px;
    background: var(--surface);
}

.plan-featured {
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
}

.plan h2 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.015em;
}

.plan-price {
    margin-top: 17px;
    font-size: clamp(25px, 3.4vw, 46px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.035em;
    font-variant-numeric: tabular-nums;
}

.plan-price-custom { font-size: clamp(22px, 2.9vw, 39px); }

.plan-price span {
    display: block;
    margin-top: 5px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
}

.plan-team {
    margin-top: 12px;
    font-weight: 600;
}

.plan-features {
    margin: 22px 0 26px;
    padding: 20px 0 0 1.1em;
    border-top: 1px solid var(--divider);
    font-size: 14px;
    line-height: 1.55;
}

.plan-featured .plan-features { border-color: #a3b6d5; }
.plan-features li + li { margin-top: 10px; }
.plan-features a { text-decoration: underline; text-underline-offset: 3px; }
.plan-features a:hover { color: #fff0ce; }

.plan-button {
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding: 12px 15px;
    font-size: 14px;
    white-space: normal;
}

.plan-button-secondary {
    border: 1px solid var(--blue);
    color: var(--blue-dark);
    background: var(--surface);
}

.plan-button-secondary:hover { background: var(--surface-tint); }
.plan-featured :focus-visible, .pricing-contact :focus-visible { outline-color: #fff; }
.pricing-faq h2 + p, .pricing-contact h2 + p { margin-top: 14px; }
.pricing-contact h2 + p { max-width: 475px; }
.pricing-contact button { border: 0; }
.pricing-contact-action { max-width: 270px; }
#pricing-chat-status:not(:empty) { margin-top: 12px; }

@media (min-width: 821px) {
    .plan-price { min-height: calc(clamp(25px, 3.4vw, 46px) * 1.12 + 22.25px); }
}

@media (min-width: 821px) and (max-width: 1050px) {
    .plan-price { min-height: calc(clamp(25px, 3.4vw, 46px) * 1.12 + 39.5px); }
}

@media (max-width: 820px) {
    .plans { grid-template-columns: 1fr; }
    .plan-price { font-size: clamp(30px, 6vw, 40px); }
    .plan-features { margin-block: 16px 20px; padding-top: 14px; }
    .plan-button { align-self: flex-start; }
}

@media (max-width: 700px) {
    .pricing-contact-action { max-width: none; }
}
