* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;

    background: #ffffff;
    color: #111111;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;

    display: grid;
    grid-template-rows:
        82px
        minmax(0, 1fr)
        68px;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* Header */

.header {
    width: 100%;
    height: 82px;

    padding:
        0 clamp(
            28px,
            5vw,
            76px
        );

    background: #111111;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
    z-index: 100;
}

.logo {
    color: #ffffff;

    text-decoration: none;

    font-size: 15px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: 4.2px;

    user-select: none;
}


/* Hamburger */

.menu-button {
    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    display: flex;
    flex-direction: column;

    align-items: flex-end;
    justify-content: center;

    gap: 5px;

    cursor: pointer;
}

.menu-button span {
    width: 20px;
    height: 1px;

    display: block;

    background: #ffffff;

    transform-origin: center;

    transition:
        transform 180ms ease,
        opacity 140ms ease;
}

.menu-button.active span:first-child {
    transform:
        translateY(6px)
        rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:last-child {
    transform:
        translateY(-6px)
        rotate(-45deg);
}


/* Menu */

.site-menu {
    position: fixed;

    top: 89px;

    right: clamp(
        28px,
        5vw,
        76px
    );

    width: 220px;

    padding: 7px;

    background: #111111;

    border: 1px solid #2a2a2a;

    border-radius: 11px;

    box-shadow:
        0 16px 36px rgba(
            0,
            0,
            0,
            0.16
        );

    z-index: 200;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
        translateY(-7px)
        scale(0.985);

    transform-origin: top right;

    transition:
        opacity 160ms ease,
        visibility 160ms ease,
        transform 160ms ease;
}

.site-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform:
        translateY(0)
        scale(1);
}

.site-menu a {
    display: block;

    padding:
        12px 13px;

    color: #ffffff;

    text-decoration: none;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.35;

    transition:
        background 140ms ease;
}

.site-menu a:hover {
    background: #1d1d1d;
}


/* Main */

.main {
    width: 100%;
    min-width: 0;
    min-height: 0;

    display: flex;

    align-items: center;
    justify-content: center;
}

.hero {
    width: min(
        calc(100% - 56px),
        1200px
    );

    height: 100%;

    padding:
        60px 0;

    display: flex;

    align-items: center;
    justify-content: center;
}

.hero-content {
    width: 100%;

    max-width: 1050px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.hero h1 {
    max-width: 1050px;

    color: #050505;

    font-size: clamp(
        68px,
        8vw,
        118px
    );

    font-weight: 800;

    line-height: 0.94;

    letter-spacing: 0.2px;

    text-wrap: balance;
}

.description {
    max-width: 530px;

    margin-top: 30px;

    color: #666666;

    font-size: clamp(
        14px,
        1.1vw,
        16px
    );

    line-height: 1.65;
}

.explore {
    width: fit-content;

    margin-top: 25px;

    padding-bottom: 7px;

    color: #111111;

    text-decoration: none;

    border-bottom: 1px solid #111111;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    font-size: 14px;

    font-weight: 700;

    line-height: 1;

    transition:
        opacity 160ms ease;
}

.explore:hover {
    opacity: 0.62;
}

.explore-arrow {
    display: inline-block;

    font-size: 18px;

    font-weight: 400;

    line-height: 1;

    transition:
        transform 220ms cubic-bezier(
            0.2,
            0.8,
            0.2,
            1
        );
}

.explore:hover .explore-arrow {
    transform:
        translate(
            5px,
            -4px
        );
}


/* Footer */

.footer {
    width: 100%;
    height: 68px;

    padding:
        0 clamp(
            28px,
            5vw,
            76px
        );

    background: #111111;

    color: #ffffff;

    display: flex;

    align-items: center;
    justify-content: space-between;
}

.footer-status,
.footer-brand {
    color: #ffffff;

    font-size: 11px;

    line-height: 1.4;
}

.footer-status {
    font-weight: 400;
}

.footer-brand {
    font-weight: 700;

    letter-spacing: 0.9px;
}


/* Tablet */

@media (max-width: 900px) {

    .header {
        height: 76px;
    }

    .hero {
        width: min(
            calc(100% - 52px),
            800px
        );
    }

    .hero h1 {
        font-size: clamp(
            60px,
            8.8vw,
            90px
        );
    }

}


/* Mobile */

@media (max-width: 700px) {

    body {
        grid-template-rows:
            68px
            minmax(0, 1fr)
            60px;
    }

    .header {
        height: 68px;

        padding:
            0 6%;
    }

    .logo {
        font-size: 13px;

        letter-spacing: 3.8px;
    }

    .menu-button {
        width: 42px;
        height: 42px;
    }

    .menu-button span {
        width: 19px;
    }

    .site-menu {
        top: 74px;

        right: 6%;

        width: 195px;
    }

    .site-menu a {
        padding:
            11px 12px;

        font-size: 13px;
    }

    .hero {
        width: 88%;

        padding:
            45px 0
            50px;
    }

    .hero h1 {
        max-width: 100%;

        font-size: clamp(
            46px,
            12.6vw,
            72px
        );

        line-height: 0.95;

        letter-spacing: 0.05px;
    }

    .description {
        max-width: 390px;

        margin-top: 23px;

        font-size: 13px;

        line-height: 1.65;
    }

    .explore {
        margin-top: 21px;

        font-size: 12px;
    }

    .explore-arrow {
        font-size: 16px;
    }

    .footer {
        height: 60px;

        padding:
            0 6%;
    }

    .footer-status,
    .footer-brand {
        font-size: 9px;
    }

}


/* Small phones */

@media (max-width: 420px) {

    body {
        grid-template-rows:
            66px
            minmax(0, 1fr)
            56px;
    }

    .header {
        height: 66px;
    }

    .hero {
        width: 88%;

        padding:
            38px 0
            44px;
    }

    .hero h1 {
        font-size: clamp(
            40px,
            12.1vw,
            56px
        );

        line-height: 0.96;

        letter-spacing: 0;
    }

    .description {
        max-width: 320px;

        margin-top: 20px;

        font-size: 12px;
    }

    .explore {
        margin-top: 18px;

        font-size: 11px;
    }

    .explore-arrow {
        font-size: 15px;
    }

    .site-menu {
        top: 71px;

        width: 180px;
    }

    .site-menu a {
        font-size: 12px;
    }

    .footer {
        height: 56px;
    }

    .footer-status,
    .footer-brand {
        font-size: 8px;
    }

}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .menu-button span,
    .site-menu,
    .explore-arrow {
        transition: none;
    }

}