

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats__grid.stats__grid::before,
.stats__grid.stats__grid::after {
    content: none;
}

.stats__item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 var(--spacing-lg);
    text-align: center;

    container-type: inline-size;
}

.stats__item:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.stats__value {
    margin: 0 0 var(--spacing-xs);
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1;

    font-size: clamp(1.75rem, 1rem + 2vw, 3rem);
    font-size: min(clamp(1.75rem, 1rem + 2vw, 3rem), 16cqi);
    color: var(--accent);
}

.stats__label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
}

@media (max-width: 767px) {
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: var(--spacing-lg);
    }

    .stats__item:nth-child(odd) {
        border-left: none;
    }

    .stats__item:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: var(--spacing-lg);
    }
}
