.about-page {
    --stat-red: #ef3340;
    --stat-text: #667085;
    --stat-border: #e7edf4;
    --stat-shadow: 0 8px 28px rgba(20, 33, 61, .06);
}

.about-stats {
    display: grid;
    width: min(100%, 1040px);
    margin: 36px auto 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.about-stat-card {
    position: relative;
    display: flex;
    min-height: 176px;
    padding: 26px 24px 22px;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    border: 1px solid var(--stat-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--stat-shadow);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.about-stat-card::after {
    position: absolute;
    right: -34px;
    bottom: -58px;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: rgba(239, 51, 64, .035);
    content: "";
    pointer-events: none;
}

.about-stat-card:hover {
    border-color: rgba(239, 51, 64, .2);
    box-shadow: 0 15px 34px rgba(20, 33, 61, .1);
    transform: translateY(-6px);
}

.about-stat-card__icon {
    display: block;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
}

.about-stat-card__number {
    display: flex;
    margin-top: 17px;
    align-items: baseline;
    color: var(--stat-red);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1;
    white-space: nowrap;
}

.about-stat-card__number small {
    margin-left: 2px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.about-stat-card p {
    margin: auto 0 0;
    color: var(--stat-text);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .about-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .about-stat-card {
        min-height: 156px;
        padding: 22px 18px 19px;
    }

    .about-stat-card__number {
        margin-top: 15px;
        font-size: 36px;
    }

    .about-stat-card__number small {
        font-size: 18px;
    }
}

@media (max-width: 380px) {
    .about-stats {
        gap: 10px;
    }

    .about-stat-card {
        min-height: 148px;
        padding: 19px 14px 17px;
    }

    .about-stat-card__number {
        font-size: 32px;
    }

    .about-stat-card p {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-stat-card {
        transition: none;
    }
}
