/* ============================================ */
/* MarketingFeatures (DL-2606) */
/* ============================================ */

.marketing-features {
    padding: 3rem 0;
    /* App.css sets no font-family on <body>, and Destyle resets elements, so
       the <dd> detail text falls back to the browser serif. Anchor the whole
       component to Barlow; the eyebrow/headline/term rules keep header font. */
    font-family: var(--body-font-family);
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .marketing-features {
        padding: 4.5rem 0;
    }
}

.marketing-features__wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* For tablet portrait up */
@media (min-width: 600px) {
    .marketing-features__wrapper {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.marketing-features__heading {
    margin-bottom: 2rem;
}

.marketing-features__eyebrow {
    color: var(--muted-fg);
    font-family: var(--header-font-family);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.marketing-features__headline {
    color: var(--primary-color);
    font-family: var(--header-font-family);
    font-weight: 500;
    font-size: 30px;
    line-height: 1.1;
    max-width: 22ch;
    text-wrap: balance;
}

/* For tablet portrait up */
@media (min-width: 600px) {
    .marketing-features__headline {
        font-size: 36px;
    }
}

.marketing-features__description {
    color: var(--black);
    font-size: 17px;
    line-height: 1.5;
    max-width: 52ch;
    margin-top: 0.75rem;
    text-wrap: pretty;
}

.marketing-features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 0;
}

/* For tablet portrait up */
@media (min-width: 600px) {
    .marketing-features__grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1.75rem;
        row-gap: 2rem;
    }
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .marketing-features__grid {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 2rem;
        row-gap: 2.25rem;
    }
}

.marketing-features__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: rgba(2, 80, 48, 0.06);
    color: var(--primary-color);
    margin-bottom: 0.9rem;
}

.marketing-features__icon svg {
    width: 22px;
    height: 22px;
}

.marketing-features__term {
    color: var(--gray);
    font-family: var(--header-font-family);
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 0.35rem;
}

.marketing-features__detail {
    color: var(--black);
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    text-wrap: pretty;
}
