/* Base */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    line-height: 1.6;
}

.container {
    width: min(1100px, 90%);
    margin-inline: auto;
}


/* Navigation */

header {
    border-bottom: 1px solid #ddd;
}

nav {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav a {
    text-decoration: none;
}


/* Sections */

section {
    padding: 5rem 0;
}

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

h1 {
    max-width: 700px;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.05;
}


/* Mobile */

@media (max-width: 600px) {
    nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav {
        margin-top: 1rem;
    }
}