.stats {
    max-width: 1120px;
    margin: 0 auto 96px;
    padding: 40px 5%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats .metric {
    text-align: center;
    padding: 8px 12px;
    border-right: 1px solid var(--border);
}

.stats .metric:last-child {
    border-right: none;
}

.stats .metric .value {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--green);
    line-height: 1;
    margin-bottom: 8px;
}

.stats .metric p {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
}

@media (max-width: 720px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 0;
        border-radius: var(--radius);
    }

    .stats .metric {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: 20px;
    }

    .stats .metric:nth-child(2n) {
        border-right: none;
    }

    .stats .metric:nth-last-child(-n+2) {
        border-bottom: none;
        padding-bottom: 8px;
    }
}
