:root {
    --dark: #263746;
    --dark-2: #405365;
    --gray: #667585;
    --light: #d9e7f0;
    --light-2: #c7dce9;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family:inherit;

    background: var(--dark);
    color: var(--white);
}

.stats {
    padding: 80px 24px;
}

.stats__grid {
    width: min(1180px, 100%);
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid rgba(255,255,255,.16);
}

.stat {
    min-height: 250px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 28px;

    border-right: 1px solid rgba(255,255,255,.16);

    transition:
        background .3s ease,
        transform .3s ease;
}

.stat:first-child {
    border-left: 1px solid rgba(255,255,255,.16);
}

.stat:hover {
    background: rgba(217,231,240,.06);
    transform: translateY(-5px);
}

.stat__number {
    color: var(--light-2);

    font-size: 17px;
    font-weight: 800;
    letter-spacing: .04em;
}

.stat h2 {
    margin-bottom: 10px;

    font-size: 21px;
    letter-spacing: -.02em;
}

.stat p {
    max-width: 220px;

    color: rgba(255,255,255,.58);

    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 900px) {

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

    .stat {
        border-bottom: 1px solid rgba(255,255,255,.16);
    }
}

@media (max-width: 560px) {

    .stats {
        padding: 60px 16px;
    }

    .stats__grid {
        grid-template-columns: 1fr;
    }

    .stat,
    .stat:first-child {
        border-left: 1px solid rgba(255,255,255,.16);
    }
}
