:root {

    --background: #f4f4f0;
    --surface: #ffffff;

    --text: #111111;
    --muted: #70706b;

    --border: #d8d8d2;

    --max-width: 1440px;

    --font:
            Inter,
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            sans-serif;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    background: var(--background);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}


a {

    color: inherit;

    text-decoration: none;

}


button {

    font-family: inherit;

}


.site-header {

    padding: 25px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);
}

.site-header nav a {
    position: relative;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .14em;
}

.site-header nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 1px;

    background: var(--text);

    transition: width .25s ease;
}

.site-header nav a:hover::after {
    width: 100%;
}


.logo {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--text);

    color: var(--background);

    font-weight: 700;

    font-size: 13px;

}


.site-header nav {

    display: flex;

    gap: 30px;

}


.site-header nav a {

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .12em;

}


.site-header nav a:hover {

    opacity: .5;

}


main {
    max-width: var(--max-width);
    width: 100%;
    margin: auto;
    flex: 1;
}


.hero-label,
.label {

    display: block;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: .14em;

    text-transform: uppercase;

    color: var(--text);

}


footer {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 30px 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
}


footer div {

    display: flex;

    gap: 25px;

}


@media (max-width: 700px) {

    .site-header {

        padding: 20px;

    }


    .site-header nav {

        gap: 15px;

    }


    .site-header nav a {

        font-size: 9px;

    }


    footer {

        padding: 25px 20px;

        flex-direction: column;

        gap: 20px;

    }

}