* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Aptos, Inter, "Segoe UI", sans-serif;
    line-height: 1.7;
    font-size: 1rem;
    background: #1e1e1e;
    color: #eee;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

@media (prefers-color-scheme: light) {
    body {
        background: #eee;
        color: #1e1e1e;
    }
}

.container {
    width: 100%;
    max-width: 798px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
}

footer {
    margin-top: 2rem;
}

@media screen and (max-width: 450px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    nav {
        gap: 1.5rem;
    }
}

nav {
    display: flex;
    gap: 2rem;
    align-items: baseline;
}

hr {
    border: 0;
    height: 0;
    margin: 2rem 0;
    border-bottom: 1px solid #666;
}

h1 {
    font-size: inherit;
    font-weight: 800;
}

p + p {
    margin-top: 1rem;
}

section + section {
    margin-top: 2rem;
}

a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #888;
    transition: text-decoration-color 0.2s;
}

a:hover, a:focus {
    text-decoration-color: currentColor;
}