.steps {
    --margin-block: 40px;
    --text: white;
    --title-stripe-color: var(--basic-ultralight);

    background-color: black;
    padding-block: var(--margin-block);
}

h2.steps__title {
    color: var(--text);
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 5%;
    line-height: 1.16;
    max-width: 800px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    word-break: break-word;
}

h2.steps__title strong {
    font-weight: 600;
}

h2.steps__title::after {
    background-color: var(--title-stripe-color);
    bottom: -40px;
    content: '';
    height: 2px;
    left: 0;
    position: absolute;
    transition: .6s;
    width: 12px;
}

h2.steps__title.title_seen::after {
    width: 162px;
}

.steps__description {
    margin-top: 50px;
}

.steps__description p {
    color: var(--text);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 30px;
    max-width: 800px;
    position: relative;
    text-align: left;
}

.steps__items {
    margin-top: var(--margin-block);
}

.steps__item {
    --text: black;

    background-color: var(--basic-ultralight);
    border-radius: 3px;
    counter-increment: item;
    padding: 30px 20px;
    margin-top: 30px;
}

.steps__item__title {
    --size: 24px;

    color: var(--text);
    font-size: var(--size);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: calc(var(--size) * 0.5);
    margin-top: 0;
    text-align: left;
    text-wrap: balance;
}

.steps__item__title::before {
    align-items: center;
    background-color: white;
    border-radius: 50%;
    content: counter(item);
    display: flex;
    font-size: var(--size);
    font-weight: 300;
    height: calc(var(--size) * 1.5);
    justify-content: center;
    line-height: 1;
    margin-bottom: 20px;
    text-align: center;
    width: calc(var(--size) * 1.5);
}

.steps__item__description {
    color: var(--text);
}

.steps__item__description p {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 30px;
    max-width: 800px;
    position: relative;
    text-align: left;
}

.steps__cta {
    margin-top: 30px;
}

.steps__footer {
    margin-top: 30px;
    text-align: center;
}

.steps__footer .button {
    background-color: white;
    color: black;
    text-align: left;
}

.steps__footer .button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.steps__footer .button::after {
    background-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 17'%3E%3Cpath d='m1 15.142 7.071-7.07L1 1' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Mobile and up */
@media screen and (min-width: 480px) {

    h2.steps__title {
        font-size: 32px;
    }

}

/* Tablet and up */
@media screen and (min-width: 768px) {

    .steps {
        --margin-block: 60px;
    }

    h2.steps__title {
        font-size: 40px;
    }

    h2.steps__title::after {
        bottom: -40px;
        height: 3px;
    }

    .steps__description {
        margin-top: 60px;
    }

    .steps__description p {
        font-size: 22px;
    }

    .steps__item {
        padding: 60px 45px 80px 30px;
    }

    .steps__item__title {
        --size: 32px;
    }

}

/* Desktop and up */
@media screen and (min-width: 992px) {

    .steps {
        --margin-block: 100px;
    }

    h2.steps__title {
        font-size: 48px;
    }

    h2.steps__title::after {
        bottom: -70px;
        height: 3px;
    }

    .steps__description {
        margin-top: 90px;
    }

    .steps__description p {
        font-size: 24px;
    }

    .steps__items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .steps__item__title {
        --size: 40px;
    }

}
