* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(180deg, #000D16 0%, #041C2D 100%);
    background-attachment: fixed;
    color: #fff;
    font-family: "neulis-sans", sans-serif;
    font-size: 24px;
    font-weight: 400;
    padding: 0 24px;
    line-height: 1.5;
}

h1,
h2 {
    line-height: 1.2;
}

h1 {
    height: 0;
    width: 0;
    line-height: 0;
    overflow: hidden;
}

h2 {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 24px;
}

p {
    color: rgba(255, 255, 255, .5);
}

a {
    color: inherit;
    text-decoration: none;
    transition: .3s;
}

a:visited {
    color: inherit;
}

a span {
    display: inline-block;
    transition: transform .3s;
}

a:hover {
    color: #4380B2;
}

a:hover span {
    transform: translateX(5px);
}

.btn-primary {
    background-color: #fff;
    color: #041C2D;
    justify-self: flex-start;
    align-self: flex-start;
    border-radius: 100px;
    padding: 12px 48px;
    font-size: 24px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #4380B2;
    color: #fff;
}

img {
    max-width: 100%;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: auto;
    padding-top: 32px;
    margin-bottom: 60px;
}

header img {
    height: 56px;
}

header a {
    font-size: 24px;
    display: none;
}

main {
    overflow: hidden;
    width: 100%;
}

section {
    max-width: 1400px;
    width: 100%;
    margin: auto;
    margin-bottom: 120px;
}

.flex-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10%;
}

.hero div>* {
    width: 100%;
    margin-bottom: 32px;
}

.hero article {
    display: flex;
    flex-direction: column;
}

.hero article>* {
    margin-bottom: 32px;
}

.hero h2 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 48px;
}

.hero h3 {
    color: rgba(255, 255, 255, .5);
    max-width: 540px;
}

.hero a {
    margin-top: auto;
}

.hero figure {
    background: linear-gradient(90deg, #B6CEE6 0%, #7DA6C4 100%);
    position: relative;
    border-radius: 32px;
}

.hero figure img:nth-of-type(1) {
    width: 100%;
    border-radius: 32px;
}

.hero figure img:nth-of-type(2) {
    position: absolute;
    bottom: -24%;
    ;
    right: -24%;
}

.text-block {
    align-items: center;
    justify-content: flex-start;
}

.text-block h2 {
    width: 100%;
}

.text-block p {
    width: 100%;
}

.text-block img {
    position: absolute;
    right: 0;
    width: 24%;
}

.benefit {
    width: 80%;
    margin-bottom: 80px;
}

.benefit.right {
    text-align: right;
    margin-left: auto;
}

.benefit img {
    height: 88px;
    margin-bottom: 12px;
}

.benefit p {
    font-size: 20px;
    margin-top: 16px;
}

.step-container {
    display: flex;
    flex-direction: column;
}

.steps {
    display: grid;
    grid-template-columns: 20% 80%;
    grid-template-rows: min-content min-content;
    width: 100%;
    margin: 80px 0;
}

.steps.right {
    align-self: flex-end;
}

.steps p:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1/3;
    color: #4380B2;
    font-size: 100px;
    font-weight: 500;
    position: relative;
    top: -32px;
}

.steps h3 {
    font-size: 32px;
    font-weight: 500;
    grid-column: 2;
    grid-row: 1;
}

.steps p:nth-of-type(2) {
    grid-column: 2;
    grid-row: 2;
    font-size: 24px;
}

.steps:nth-of-type(4) img {
    display: none;
}

.color-block {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 8%;

    border-radius: 32px;
    color: #041C2D;
    background: linear-gradient(90deg, #B6CEE6 0%, #7DA6C4 100%);
}

.color-block p {
    color: #041C2D;
}

.color-block>* {
    text-align: center;
    margin: auto;
    margin-bottom: 24px;
    z-index: 1;
}

.color-block .mask {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url("../img/group.jpg");
    background-size: cover;
    background-position: center;
    opacity: .1;
    border-radius: 32px;
    z-index: 0;
}

@media screen and (min-width: 1200px) {
    body {
        font-size: 24px;
        padding: 0 48px;
    }

    h2 {
        font-size: 60px;
        margin-bottom: 0;
    }

    section {
        margin-bottom: 220px;
    }

    .flex-row {
        flex-direction: row;
        justify-content: space-between;
    }

    header {
        margin-bottom: 0;
    }

    header a {
        display: block;
    }

    .hero div {
        flex-direction: row;
    }

    .hero div>* {
        width: 50%;
    }

    .hero article>* {
        margin-bottom: 0;
    }

    .hero h2 {
        font-size: 72px;
        margin-bottom: 24px;
    }

    .text-block h2 {
        width: 30%;
    }

    .text-block p {
        width: 68%;
    }

    .benefit {
        width: 20%;
        margin-bottom: 0;
    }

    .benefit.right {
        text-align: left;
        margin-left: initial;
    }

    .steps {
        grid-template-columns: 10% 90%;
        width: 50%;
    }

    .steps:nth-of-type(4) img {
        display: block;
        position: absolute;
        left: -48px;
    }
}

@media screen and (min-width: 1500px) {
    body {
        font-size: 28px;
    }

    h2 {
        font-size: 72px;
    }

    .hero h2 {
        font-size: 88px;
    }
}