/**
 * Landing Plans Block Styles
 *
 * Section shell for the pricing cards. The design tokens live here, on the
 * section, so a card dropped anywhere else still inherits them and a featured
 * card can override only --plan-card-accent from its own inline style.
 */

.landing-plans-block {
    --plan-accent: #5956E4;
    --plan-accent-tint: #F0EEFD;
    --plan-ink: #1A1852;
    --plan-ink-muted: #3D3A72;
    --plan-ink-light: #54517A;
    --plan-surface: #FFFFFF;
    --plan-border: #DDD9FB;
    --plan-radius: 24px;

    padding: 80px 0;
    background-color: #F4F3FE;
    font-family: "Manrope", sans-serif;
}

/* -- Intro ------------------------------------------------------------- */

.landing-plans-block__intro {
    text-align: center;
    margin-bottom: 104px;
}

.landing-plans-block__eyebrow {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--plan-accent);
}

.landing-plans-block__title {
    max-width: 560px;
    margin: 0 auto 16px;
    font-family: "Manrope", sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--plan-ink);
}

.landing-plans-block__title-accent {
    color: var(--plan-accent);
}

.landing-plans-block__description {
    margin: 0 auto;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--plan-ink-muted);
}

.landing-plans-block__description p {
    margin: 0;
}

/* -- Grid -------------------------------------------------------------- */

.landing-plans-block__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.landing-plans-block__note {
    margin: 40px auto 0;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--plan-ink-light);
}

/* -- Stacked / accordion layout ---------------------------------------- */

@media (max-width: 991px) {
    .landing-plans-block {
        --plan-radius: 16px;

        padding: 56px 0;
    }

    .landing-plans-block__intro {
        margin-bottom: 32px;
    }

    .landing-plans-block__eyebrow {
        margin-bottom: 18px;
        font-size: 12px;
    }

    .landing-plans-block__title {
        /* Let the accent reflow mid-line, as the mobile design does. */
        max-width: 100%;
        margin-bottom: 13px;
        font-size: 28px;
        line-height: 1.15;
    }

    .landing-plans-block__description {
        font-size: 16px;
    }

    .landing-plans-block__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        /* 5px either side on top of the container's 15px, so the cards sit
           20px off the edge of a phone screen as the design has them. */
        max-width: 490px;
        padding: 0 5px;
    }

    .landing-plans-block__note {
        max-width: 340px;
        margin-top: 40px;
    }
}

@media (max-width: 575px) {
    .landing-plans-block {
        padding: 48px 0;
    }

    .landing-plans-block__note {
        max-width: 330px;
        margin-top: 46px;
        font-size: 13px;
    }
}
