:root {
    color-scheme: light;
    font-family: Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-width: 320px;
    background: #ffffff;
    color: #ffffff;
}

body {
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    display: flex;
    height: 82px;
    padding: 0 80px 0 40px;
    align-items: center;
    justify-content: space-between;
    background: #101f2a;
}

.site-brand {
    display: block;
    width: 120px;
    flex: none;
}

.site-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 62px;
    font-size: 15px;
    font-weight: 600;
}

.site-nav a {
    transition: opacity 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    opacity: 0.72;
}

.site-nav__login {
    margin-left: 8px;
    padding: 13px 23px;
    border-radius: 8px;
    background: #ffffff;
    color: #17232c;
}

.nav-toggle {
    display: none;
    padding: 8px;
    border: 0;
    background: transparent;
}

.nav-toggle__line {
    display: block;
    width: 26px;
    height: 2px;
    margin: 5px 0;
    background: #ffffff;
}

.hero {
    position: relative;
    height: 732px;
    overflow: hidden;
    background: #173140 url('../images/kb-kontur-forest-hero.png') center center / cover no-repeat;
}

.hero__shade {
    position: absolute;
    inset: 0;
    background: rgba(3, 24, 34, 0.32);
}

.hero__title {
    position: relative;
    display: flex;
    height: 100%;
    margin: 0;
    padding: 190px 0 0 106px;
    flex-direction: column;
    gap: 95px;
    font-size: 47px;
    font-weight: 700;
    line-height: 1;
}

.section-spacer {
    height: 62px;
    background: #ffffff;
}

.about {
    display: flex;
    min-height: 576px;
    padding: 134px 64px 80px;
    align-items: flex-start;
    justify-content: center;
    background: #1b3445;
    text-align: center;
}

.about__content {
    width: 100%;
}

.about h2 {
    margin: 0 0 55px;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
}

.about p {
    margin: 0 auto;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.55;
}

.about p + p {
    margin-top: 36px;
}

.site-footer {
    background: #000000;
}

.site-footer__main {
    display: flex;
    height: 229px;
    padding: 0 88px;
    align-items: center;
    justify-content: space-between;
}

.site-footer__brand img {
    display: block;
    width: 158px;
    height: auto;
}

.site-footer__brand:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

.social-links {
    display: flex;
    gap: 35px;
    align-items: center;
    color: #858585;
    font-size: 17px;
    font-weight: 700;
}

.social-links a {
    display: grid;
    min-width: 18px;
    height: 22px;
    place-items: center;
}

.social-links a:hover,
.social-links a:focus-visible {
    color: #ffffff;
}

.site-footer__legal {
    height: 28px;
    padding: 8px 88px 0;
    background: #ffffff;
    color: #242424;
    font-size: 12px;
}

@media (max-width: 80rem) {
    .site-header {
        padding-inline: 40px;
    }

    .hero__title {
        padding-left: 7.4vw;
    }

    .about p {
        font-size: 18px;
    }
}

@media (max-width: 48rem) {
    .site-header {
        position: relative;
        height: 72px;
        padding-inline: 24px;
    }

    .site-brand {
        width: 108px;
    }

    .nav-toggle {
        display: block;
        color: #ffffff;
    }

    .site-nav {
        position: absolute;
        z-index: 5;
        top: 72px;
        right: 0;
        left: 0;
        display: none;
        padding: 28px 24px;
        flex-direction: column;
        gap: 24px;
        background: #101f2a;
    }

    .site-nav--open {
        display: flex;
    }

    .site-nav__login {
        margin-left: 0;
    }

    .hero {
        height: min(620px, calc(100svh - 72px));
        min-height: 500px;
        background-position: 56% center;
    }

    .hero__title {
        padding: 110px 32px 0;
        gap: 105px;
        font-size: clamp(34px, 10vw, 46px);
    }

    .section-spacer {
        height: 32px;
    }

    .about {
        min-height: 0;
        padding: 72px 28px;
    }

    .about h2 {
        margin-bottom: 60px;
        font-size: 27px;
    }

    .about p {
        font-size: 17px;
        line-height: 1.6;
    }

    .about p + p {
        margin-top: 44px;
    }

    .desktop-break {
        display: none;
    }

    .site-footer__main {
        height: 180px;
        padding: 0 28px;
    }

    .site-footer__brand img {
        width: 125px;
    }

    .social-links {
        gap: 16px;
        font-size: 14px;
    }

    .site-footer__legal {
        height: auto;
        min-height: 32px;
        padding: 10px 28px;
        font-size: 10px;
    }
}
