.pricing-page {
    background: var(--white);
}

.pricing-hero {
    display: grid;
    min-height: calc(100vh - 56px);
    place-items: center;
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--white) 0%, #fafafb 100%);
    text-align: center;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-hero-copy {
    width: min(100%, 1100px);
    margin: 0 auto;
    animation: heroFadeIn .9s cubic-bezier(.2, .8, .2, 1) .1s both;
}

.pricing-hero-copy.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.pricing-hero h1,
.price-section-heading h2,
.hardware-price-copy h2 {
    margin: 0;
    font-size: clamp(54px, 7vw, 96px);
    line-height: .98;
    letter-spacing: -.065em;
    text-wrap: balance;
}

.pricing-hero h1 span {
    color: rgba(29, 29, 31, .64);
}

.pricing-hero-copy>p:last-child {
    width: min(100%, 720px);
    margin: 34px auto 0;
    color: rgba(29, 29, 31, .64);
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.35;
    letter-spacing: -.025em;
}

.plans-section {
    padding: 145px 20px 120px;
    background: linear-gradient(180deg, #fafafb 0%, #f8f8f9 100%);
}

.price-section-heading,
.plans-grid,
.billing-note,
.roi-inner {
    width: min(100%, var(--page-width));
    margin-right: auto;
    margin-left: auto;
}

.price-section-heading {
    margin-bottom: 70px;
}

.price-section-heading h2,
.hardware-price-copy h2 {
    font-size: clamp(48px, 6.2vw, 82px);
}

.plans-section .price-section-heading h2,
.roi-section .price-section-heading h2 {
    font-size: clamp(68px, 6.2vw, 82px);
}

.hardware-price-copy h2,
.pricing-final-cta h2 {
    font-size: clamp(56px, 5vw, 64px);
}

.price-section-heading>p:last-child,
.hardware-price-copy>p:last-child {
    width: min(100%, 700px);
    margin: 28px 0 0;
    color: rgba(29, 29, 31, .62);
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.45;
    letter-spacing: -.02em;
}

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

.plan-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 760px;
    padding: 40px 34px 34px;
    border: 1px solid rgba(29, 29, 31, .1);
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(29, 29, 31, .06);
    flex-direction: column;
}

.plan-card-featured {
    color: var(--ink);
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 20px 55px rgba(29, 29, 31, .09);
}

.recommended-label {
    position: absolute;
    top: 20px;
    right: 22px;
    display: inline-flex;
    align-self: flex-start;
    margin: 0;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--white);
    background: var(--accent);
    font-size: 11px;
    font-weight: 600;
}

.plan-name {
    margin: 0;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -.025em;
}

.plan-description {
    min-height: 72px;
    margin: 16px 0 0;
    color: rgba(29, 29, 31, .64);
    font-size: 17px;
    line-height: 1.5;
}

.plan-card-featured .plan-description,
.plan-card-featured .plan-tax {
    color: rgba(29, 29, 31, .64);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 28px;
}

.plan-price>span {
    font-size: clamp(44px, 4.3vw, 60px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.065em;
    white-space: nowrap;
}

.plan-price .price-currency {
    position: relative;
    top: 0;
    display: inline-block;
    margin-left: .08em;
    font-size: .58em;
    letter-spacing: -.02em;
}

.plan-price small {
    color: rgba(29, 29, 31, .64);
    font-size: 15px;
}

.plan-card-featured .plan-price small {
    color: rgba(29, 29, 31, .64);
}

.plan-tax {
    margin: 12px 0 0;
    color: rgba(29, 29, 31, .64);
    font-size: 15px;
}

.plan-list {
    display: grid;
    margin: 38px 0 34px;
    padding: 30px 0 0;
    border-top: 1px solid rgba(29, 29, 31, .1);
    list-style: none;
    gap: 18px;
}

.plan-card-featured .plan-list {
    border-top-color: rgba(29, 29, 31, .1);
}

.plan-list li {
    position: relative;
    padding-left: 25px;
    color: rgba(29, 29, 31, .64);
    font-size: 16px;
    line-height: 1.45;
}

.plan-list li::before {
    position: absolute;
    top: .38em;
    left: 2px;
    width: 8px;
    height: 4px;
    border-bottom: 1.5px solid currentColor;
    border-left: 1.5px solid currentColor;
    content: "";
    transform: rotate(-45deg);
}

.plan-card-featured .plan-list li {
    color: rgba(29, 29, 31, .64);
}

.plan-list li>span,
.plan-list strong {
    color: var(--ink);
    font-weight: 600;
}

.plan-card-featured .plan-list li>span,
.plan-card-featured .plan-list strong {
    color: var(--ink);
}

.pricing-cta {
    margin-top: auto;
    font-size: 15px;
}

.plan-card-featured .pricing-cta {
    color: var(--white);
    background: var(--accent);
}

.billing-note {
    margin-top: 34px;
    color: rgba(29, 29, 31, .72);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.hardware-price-section {
    padding: 155px 20px;
    color: var(--ink);
    background: linear-gradient(180deg, #f8f8f9 0%, var(--soft) 100%);
}

.hardware-price-inner {
    display: grid;
    width: min(100%, var(--page-width));
    align-items: end;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .7fr);
    gap: 80px;
}

.hardware-price-copy>p:last-child {
    color: rgba(29, 29, 31, .64);
}

.hardware-price {
    display: flex;
    padding: 0 0 10px 48px;
    border-left: 1px solid rgba(29, 29, 31, .16);
    flex-direction: column;
}

.hardware-price>span {
    color: rgba(29, 29, 31, .64);
    font-size: 14px;
}

.hardware-price strong {
    margin-top: 8px;
    font-size: clamp(48px, 5.8vw, 76px);
    line-height: 1;
    letter-spacing: -.065em;
    white-space: nowrap;
}

.hardware-price .price-currency {
    display: inline-block;
    margin-left: .08em;
    font-size: .58em;
    letter-spacing: -.02em;
}

.hardware-price small {
    margin-top: 18px;
    color: rgba(29, 29, 31, .64);
    font-size: 13px;
    line-height: 1.5;
}

.roi-section {
    padding: 150px 20px 130px;
    background: linear-gradient(180deg, var(--soft) 0%, var(--white) 100%);
}

.roi-card {
    display: grid;
    padding: clamp(30px, 5vw, 62px);
    border: 1px solid rgba(29, 29, 31, .1);
    /* Frame matching other cards */
    border-radius: 30px;
    background: var(--white);
    grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
    gap: 72px;
}

.roi-control {
    align-self: center;
}

.roi-control-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 28px;
}


.roi-control label {
    font-size: 20px;
    font-weight: 600;
}

.roi-control output {
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.055em;
}

.roi-control input[type="range"] {
    width: 100%;
    height: 4px;
    appearance: none;
    border-radius: 999px;
    background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--range-progress, 24%), rgba(29, 29, 31, .12) var(--range-progress, 24%), rgba(29, 29, 31, .12) 100%);
    cursor: pointer;
}

.roi-control input[type="range"]::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    appearance: none;
    border: 5px solid var(--white);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 2px 10px rgba(29, 29, 31, .22);
}

.roi-control input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 5px solid var(--white);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 2px 10px rgba(29, 29, 31, .22);
}

.roi-result {
    display: flex;
    padding-left: 52px;
    border-left: 1px solid rgba(29, 29, 31, .12);
    flex-direction: column;
}

.roi-result p {
    margin: 0;
    color: rgba(29, 29, 31, .64);
    font-size: 16px;
}

.roi-result strong {
    margin-top: 18px;
    font-size: clamp(50px, 6vw, 78px);
    line-height: .95;
    letter-spacing: -.065em;
}

.roi-result>span {
    margin-top: 14px;
    color: rgba(29, 29, 31, .64);
    font-size: 17px;
}

.roi-details {
    display: grid;
    padding-top: 34px;
    border-top: 1px solid rgba(29, 29, 31, .1);
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.roi-details div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.roi-details-title {
    margin: 0 0 4px;
    color: rgba(29, 29, 31, .72);
    font-size: 18px;
    font-weight: 600;
    grid-column: 1 / -1;
}

.roi-details span {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -.035em;
}

.roi-details small {
    color: rgba(29, 29, 31, .64);
    font-size: 16px;
}

.roi-disclaimer {
    max-width: 920px;
    margin: 28px auto 0;
    color: rgba(29, 29, 31, .64);
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

.pricing-final-cta {
    background: var(--white);
}

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

    .plan-card {
        min-height: 0;
        padding: 40px;
    }

    .plan-description {
        min-height: 0;
    }

    .plan-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 30px;
    }

    .pricing-cta {
        width: auto;
        align-self: flex-start;
        padding-right: 28px;
        padding-left: 28px;
    }
}

@media (max-width: 820px) {

    .pricing-hero {
        min-height: 74vh;
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .plans-section,
    .hardware-price-section,
    .roi-section {
        padding-top: 110px;
        padding-bottom: 110px;
    }

    .hardware-price-inner,
    .roi-card {
        grid-template-columns: 1fr;
    }

    .hardware-price-inner {
        gap: 70px;
    }

    .hardware-price {
        padding: 34px 0 0;
        border-top: 1px solid rgba(255, 255, 255, .16);
        border-left: 0;
    }

    .roi-card {
        gap: 50px;
    }

    .roi-result {
        padding: 38px 0 0;
        border-top: 1px solid rgba(29, 29, 31, .12);
        border-left: 0;
    }
}

@media (max-width: 560px) {

    .pricing-hero,
    .plans-section,
    .hardware-price-section,
    .roi-section {
        padding-right: 18px;
        padding-left: 18px;
    }


    .pricing-hero h1 {
        font-size: clamp(46px, 13vw, 66px);
    }

    .pricing-hero-copy>p:last-child {
        font-size: 21px;
    }

    .hardware-price-inner {
        gap: 32px;
    }

    .hardware-price {
        padding-top: 24px;
    }

    .plans-section .price-section-heading h2,
    .roi-section .price-section-heading h2 {
        font-size: clamp(52px, 14vw, 64px);
    }

    .hardware-price-copy h2,
    .pricing-final-cta h2 {
        font-size: clamp(44px, 12vw, 56px);
    }

    .plan-card {
        padding: 32px 26px 26px;
        border-radius: 22px;
    }

    .plan-price>span {
        font-size: 48px;
    }

    .plan-list {
        grid-template-columns: 1fr;
    }

    .pricing-cta {
        width: 100%;
    }

    .roi-card {
        border-radius: 22px;
    }

    .roi-control input[type="range"] {
        height: 56px;
        padding: 26px 0;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100% 4px;
    }

    .roi-details {
        grid-template-columns: 1fr;
    }
}
}