/* Ported verbatim from MKT-342 mockup CSS (commission-benchmark-page-1-standalone.html).
   Uses the site's real design tokens (--color-*, --var-*, --h2, --label-lg, etc.) —
   see page-level assets/styles.css for the small set of tokens added for this page. */

.section-head {
    display: flex;
    flex-direction: column;
    gap: var(--var-12);
    max-width: 800px;
    margin: 0 0 var(--section-gap);
}

/* Separates the two topic blocks living in one section (engine + how it works). */
.section-head--divider {
    margin-top: var(--space-section-sm);
}

.section-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--h2);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-heading);
}

.section-lead {
    margin: 0;
    font-size: var(--label-lg);
    line-height: 1.5;
    color: var(--color-body);
}

/* ---- Inside the benchmark engine — stat cards ---- */
.engine__stats {
    display: flex;
    gap: var(--var-40);
    align-items: stretch;
    margin-bottom: var(--var-64);
}

.estat {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--var-140);
    padding: var(--var-40);
    background: var(--color-2nd-bg);
    border: var(--var-1) solid var(--color-stroke);
}

.estat__icon {
    width: var(--var-64);
    height: var(--var-64);
    line-height: 0;
}

.estat__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.estat__meta {
    display: flex;
    flex-direction: column;
    gap: var(--var-6);
}

.estat__num {
    font-family: 'Konstant Grotesk', var(--font-display);
    font-weight: 400;
    font-size: var(--h4);
    line-height: 1.15;
    color: var(--color-1st-fg);
}

.estat__label {
    font-size: var(--label-lg);
    line-height: 1.4;
    color: var(--color-2nd-fg);
}

.caution {
    margin: 0;
}

.caution p {
    margin: 0;
    font-size: var(--label-lg);
    line-height: 1.6;
    color: var(--color-body);
}

/* ---- How it works — icon-led feature columns ---- */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--var-40);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--var-16);
}

.step__icon {
    display: block;
    width: var(--var-32);
    height: var(--var-32);
    color: var(--color-1st-brd);
}

.step__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.step__text {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--label-lg);
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-body);
}

.step__text strong {
    color: var(--color-1st-fg);
    font-weight: 700;
}

.hiw-cta {
    margin-top: var(--section-gap);
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .engine__stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--var-8);
    }

    .estat {
        gap: var(--var-60);
        padding: var(--var-24);
    }

    .estat__icon {
        width: var(--var-40);
        height: var(--var-40);
    }

    .estat__num {
        font-size: 22px;
    }
}
