    :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: #f5f8fa;
    color: var(--dark);
}

.products {
    width: min(1180px, calc(100% - 48px));
    margin: auto;

    padding: 110px 0;
}

.products__top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;

    margin-bottom: 55px;
}

.products__label {
    color: var(--gray);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
}

.products h1 {
    max-width: 650px;

    margin-top: 17px;

    font-size: clamp(42px, 5vw, 68px);
    line-height: .98;
    letter-spacing: -.055em;
}

.products h1 span {
    color: var(--gray);
}

.products__top > p {
    max-width: 330px;

    color: var(--gray);

    font-size: 15px;
    line-height: 1.65;
}

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

    border-top: 1px solid #d7e0e6;
    border-left: 1px solid #d7e0e6;
}

.product {
    position: relative;

    min-height: 280px;

    display: flex;
    flex-direction: column;

    padding: 28px;

    border-right: 1px solid #d7e0e6;
    border-bottom: 1px solid #d7e0e6;

    color: var(--dark);
    text-decoration: none;

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

.product:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-5px);
}

.product > span {
    color: var(--gray);

    font-size: 12px;
    font-weight: 800;
}

.product h2 {
    margin-top: auto;

    font-size: 24px;
    letter-spacing: -.03em;
}

.product p {
    margin-top: 10px;

    color: var(--gray);

    font-size: 13px;
    line-height: 1.5;
}

.product:hover p {
    color: rgba(255,255,255,.6);
}

.product b {
    position: absolute;

    top: 25px;
    right: 25px;

    font-size: 22px;
    font-weight: 400;

    transition: transform .3s ease;
}

.product:hover b {
    transform: translate(4px, -4px);
}

@media (max-width: 900px) {

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

    .products__top {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {

    .products {
        width: calc(100% - 32px);
        padding: 80px 0;
    }

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

    .product {
        min-height: 240px;
    }
}