/* ===================================================
   Summary Section
   Title, subtitle, and two unit counters in secondary color.
   =================================================== */

body {
    font-family: polymath-display, sans-serif;
}

.summary-section {
    padding: 60px 0 10px;
    background-color: #FAFAFA;
}

/* Text Column */
.summary-section__text {
    text-align: center;
    margin-bottom: 40px;
}

.summary-section__title {
    font-family: polymath-display, sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-secondary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.summary-section__subtitle {
    font-size: 0.875rem;
    color: var(--color-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Units */
.summary-section__units {
    gap: 32px;
}

.summary-section__unit {
    text-align: center;
    flex: 0 0 auto;
}

.summary-section__unit-label {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.summary-section__unit-value {
    display: block;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1;
}

/* Phone - default styles above */

/* Tablet and up */
@media (min-width: 768px) {
    .summary-section {
        padding: 60px 0 10px;
    }

    .summary-section__text {
        text-align: left;
        margin-bottom: 0;
    }

    .summary-section__subtitle {
        margin-left: 0;
        max-width: 450px;
    }

    .summary-section__title {
        font-size: 2rem;
        max-width: 450px;
    }

    .summary-section__unit-value {
        font-size: 4rem;
    }
}

/* Desktop and up */
@media (min-width: 900px) {
    .summary-section {
        padding: 60px 60px 10px;
    }

    .summary-section__title {
        font-size: 2.25rem;
        max-width: 600px;
    }

    .summary-section__subtitle {
        max-width: 600px;
    }

    .summary-section__text {
        margin-bottom: 0;
    }

    .summary-section__units {
        justify-content: flex-end !important;
    }

    .summary-section__unit-value {
        font-size: 4.5rem;
    }
}
