.pricing-page {
    background: var(--cream);
    color: var(--forest2);
}

.pricing-container {
    width: min(100% - 32px, 1280px);
    margin-inline: auto;
}

.pricing-narrow-container {
    width: min(100% - 32px, 896px);
    margin-inline: auto;
}

.section-kicker {
    margin: 0;
    color: var(--leaf);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.section-kicker--light {
    color: var(--mint);
}

.section-title {
    margin: 12px 0 0;
    color: var(--forest2);
    font-size: 30px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.035em;
}

.section-description {
    max-width: 768px;
    margin: 0;
    color: #3f3f46;
    font-size: 18px;
    line-height: 1.75;
}

.pricing-section__head {
    margin-bottom: 48px;
}

.pricing-section__head--split {
    display: grid;
    gap: 24px;
}

.pricing-section__head--center {
    text-align: center;
}


/* Hero */

.pricing-hero {
    position: relative;
    overflow: hidden;
}

.pricing-hero__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(64px);
    pointer-events: none;
}

.pricing-hero__glow--right {
    top: -160px;
    right: 0;
    width: 512px;
    height: 512px;
    background: rgba(47, 125, 75, .20);
}

.pricing-hero__glow--left {
    bottom: 0;
    left: 0;
    width: 320px;
    height: 320px;
    background: rgba(167, 243, 208, .30);
}

.pricing-hero__inner {
    position: relative;
    display: grid;
    gap: 48px;
    padding-top: 96px;
    padding-bottom: 96px;
}

.pricing-hero__title {
    max-width: 1024px;
    margin: 16px 0 0;
    color: var(--forest2);
    font-size: 38px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.04em;
}

.pricing-hero__text {
    max-width: 768px;
    margin: 24px 0 0;
    color: #3f3f46;
    font-size: 18px;
    line-height: 1.75;
}

.pricing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.pricing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 16px 28px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.pricing-button:hover {
    transform: translateY(-4px);
}

.pricing-button--primary {
    background: var(--forest);
    color: var(--white);
    box-shadow: var(--shadow-card);
}

.pricing-button--secondary {
    border: 1px solid rgba(11, 51, 38, .10);
    background: rgba(255, 255, 255, .70);
    color: var(--forest2);
    box-shadow: 0 1px 3px rgba(16, 32, 24, .08);
    backdrop-filter: blur(14px);
}

.pricing-button--light {
    background: var(--white);
    color: var(--forest2);
}

.pricing-button--light:hover {
    background: #d1fae5;
}

.pricing-preview {
    position: relative;
}

.pricing-preview__window {
    padding: 24px;
    border: 1px solid rgba(11, 51, 38, .10);
    border-radius: 40px;
    background: rgba(255, 255, 255, .65);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
}

.pricing-preview__dots {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.pricing-preview__dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.pricing-preview__dots span:nth-child(1) {
    background: #fca5a5;
}

.pricing-preview__dots span:nth-child(2) {
    background: #fde047;
}

.pricing-preview__dots span:nth-child(3) {
    background: #86efac;
}

.pricing-preview__content {
    display: grid;
    gap: 16px;
}

.pricing-preview__line {
    width: 66.666%;
    height: 36px;
    border-radius: 999px;
    background: #d1fae5;
}

.pricing-preview__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    align-items: end;
}

.pricing-preview__cards div {
    border-radius: 24px;
}

.pricing-preview__cards div:nth-child(1) {
    height: 176px;
    background: #ecfdf5;
}

.pricing-preview__cards div:nth-child(2) {
    height: 208px;
    background: var(--forest);
}

.pricing-preview__cards div:nth-child(3) {
    height: 176px;
    background: var(--cream);
}

.pricing-preview__small-line {
    width: 100%;
    height: 16px;
    border-radius: 999px;
    background: #f4f4f5;
}

.pricing-preview__small-line--short {
    width: 83.333%;
}

.pricing-preview__badge {
    position: absolute;
    right: -12px;
    bottom: -24px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .80);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
}

.pricing-preview__badge strong {
    display: block;
    color: var(--forest2);
    font-size: 24px;
    line-height: 1.1;
    font-weight: 900;
}

.pricing-preview__badge span {
    color: #52525b;
    font-size: 14px;
    font-weight: 800;
}


/* Plans */

.pricing-section {
    padding: 80px 0;
}

.pricing-plans {
    display: grid;
    gap: 28px;
}

.pricing-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid rgba(11, 51, 38, .10);
    border-radius: 32px;
    background: rgba(255, 255, 255, .65);
    color: var(--forest2);
    box-shadow: 0 1px 3px rgba(16, 32, 24, .08);
    backdrop-filter: blur(14px);
    transition: transform .3s ease, box-shadow .3s ease;
}

.pricing-plan:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.pricing-plan--featured {
    border-color: var(--leaf);
    background: var(--forest);
    color: var(--white);
    box-shadow: var(--shadow-card);
}

.pricing-plan__badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--white);
    color: var(--forest2);
    font-size: 12px;
    font-weight: 900;
}

.pricing-plan__subtitle {
    margin: 0;
    color: var(--leaf);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.pricing-plan--featured .pricing-plan__subtitle {
    color: var(--mint);
}

.pricing-plan__name {
    margin: 16px 0 0;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 900;
}

.pricing-plan__price {
    margin: 20px 0 0;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 900;
}

.pricing-plan__description {
    margin: 20px 0 0;
    color: #52525b;
    line-height: 1.7;
}

.pricing-plan--featured .pricing-plan__description {
    color: rgba(255, 255, 255, .72);
}

.pricing-plan__features {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.pricing-plan__features li {
    display: flex;
    gap: 12px;
    color: #3f3f46;
    font-weight: 800;
}

.pricing-plan--featured .pricing-plan__features li {
    color: rgba(255, 255, 255, .86);
}

.pricing-plan__features span:first-child {
    color: var(--leaf);
}

.pricing-plan--featured .pricing-plan__features span:first-child {
    color: var(--mint);
}

.pricing-plan__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: 16px 24px;
    border-radius: 999px;
    background: var(--forest);
    color: var(--white);
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    transition: transform .25s ease, background-color .25s ease;
}

.pricing-plan__features+.pricing-plan__cta {
    margin-top: 32px;
}

.pricing-plan__cta:hover {
    transform: translateY(-4px);
    background: var(--forest2);
}

.pricing-plan--featured .pricing-plan__cta {
    background: var(--white);
    color: var(--forest2);
}

.pricing-plan--featured .pricing-plan__cta:hover {
    background: #d1fae5;
}


/* Custom solutions */

.custom-solutions-section {
    padding: 96px 0;
    background: rgba(255, 255, 255, .70);
}

.custom-solutions {
    display: grid;
    gap: 24px;
}

.custom-solution-card {
    padding: 28px;
    border: 1px solid rgba(11, 51, 38, .10);
    border-radius: 32px;
    background: rgba(248, 244, 232, .70);
    box-shadow: 0 1px 3px rgba(16, 32, 24, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.custom-solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.custom-solution-card h3 {
    margin: 0;
    color: var(--forest2);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 900;
}

.custom-solution-card__price {
    display: block;
    margin: 16px 0 0;
    color: var(--leaf);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
}

.custom-solution-card p:not(.custom-solution-card__price) {
    margin: 16px 0 0;
    color: #52525b;
    line-height: 1.7;
}

.custom-solution-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--leaf);
    font-weight: 900;
    text-decoration: none;
    transition: gap .25s ease;
}

.custom-solution-card a:hover {
    gap: 12px;
}


/* Included */

.included-section {
    padding: 96px 0;
}

.included-grid {
    display: grid;
    gap: 24px;
}

.included-card {
    padding: 28px;
    border: 1px solid rgba(11, 51, 38, .10);
    border-radius: 32px;
    background: rgba(255, 255, 255, .65);
    box-shadow: 0 1px 3px rgba(16, 32, 24, .08);
    backdrop-filter: blur(14px);
    transition: transform .3s ease, box-shadow .3s ease;
}

.included-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.included-card__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: #d1fae5;
    font-size: 24px;
}

.included-card h3 {
    margin: 0;
    color: var(--forest2);
    font-size: 20px;
    font-weight: 900;
}

.included-card p {
    margin: 12px 0 0;
    color: #52525b;
    line-height: 1.7;
}


/* FAQ */

.pricing-faq-section {
    padding: 96px 0;
    background: rgba(236, 253, 245, .70);
}

.pricing-faq-list {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

.pricing-faq-item {
    padding: 24px;
    border: 1px solid rgba(11, 51, 38, .10);
    border-radius: 28px;
    background: rgba(255, 255, 255, .70);
    box-shadow: 0 1px 3px rgba(16, 32, 24, .08);
    backdrop-filter: blur(14px);
}

.pricing-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
    color: var(--forest2);
    font-weight: 900;
}

.pricing-faq-item summary::-webkit-details-marker {
    display: none;
}

.pricing-faq-item__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--sage);
    color: var(--forest);
    transition: transform .25s ease;
}

.pricing-faq-item[open] .pricing-faq-item__icon {
    transform: rotate(45deg);
}

.pricing-faq-item p {
    margin: 16px 0 0;
    color: #52525b;
    line-height: 1.7;
}


/* CTA */

.pricing-cta-section {
    padding: 96px 0;
}

.pricing-cta {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 40px;
    background: var(--forest);
    color: var(--white);
    box-shadow: var(--shadow-card);
}

.pricing-cta__glow {
    position: absolute;
    top: -96px;
    right: -96px;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: rgba(47, 125, 75, .25);
    filter: blur(64px);
}

.pricing-cta__content {
    position: relative;
    max-width: 768px;
}

.pricing-cta h2 {
    margin: 16px 0 0;
    color: var(--white);
    font-size: 38px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.04em;
}

.pricing-cta p:not(.section-kicker) {
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 18px;
    line-height: 1.75;
}

.pricing-cta .pricing-button {
    margin-top: 32px;
}


/* Existing animation helpers */

.float {
    animation: priceFloat 7s ease-in-out infinite;
}

@keyframes priceFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* Responsive */

@media (min-width: 768px) {
    .section-title {
        font-size: 48px;
    }

    .pricing-hero__title {
        font-size: 60px;
    }

    .custom-solutions {
        grid-template-columns: repeat(3, 1fr);
    }

    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-cta {
        padding: 64px;
    }

    .pricing-cta h2 {
        font-size: 60px;
    }
}

@media (min-width: 1024px) {
    .pricing-hero__inner {
        grid-template-columns: 1fr .9fr;
        align-items: center;
    }

    .pricing-section__head--split {
        grid-template-columns: .8fr 1.2fr;
        align-items: end;
    }

    .pricing-plans {
        grid-template-columns: repeat(3, 1fr);
    }

    .included-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 640px) {
    .pricing-preview__badge {
        right: 8px;
    }

    .pricing-preview__cards div:nth-child(1),
    .pricing-preview__cards div:nth-child(3) {
        height: 132px;
    }

    .pricing-preview__cards div:nth-child(2) {
        height: 156px;
    }

    .pricing-plan,
    .custom-solution-card,
    .included-card {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .float,
    .reveal,
    .pricing-button,
    .pricing-plan,
    .custom-solution-card,
    .included-card {
        animation: none !important;
        transition: none !important;
    }
}