:root {
    color-scheme: light dark;
    --bg: #ffffff;
    --text: #000000;
    --muted: #222222;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000000;
        --text: #ffffff;
        --muted: #e8e8e8;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1;
}

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

a:hover {
    opacity: 0.65;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.5rem, 4vw, 2.64rem) clamp(1.25rem, 5vw, 4.8rem);
    z-index: 1;
}

.site-title {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: clamp(1.375rem, 2.4vw, 2.125rem);
    line-height: 1.4;
    white-space: nowrap;
}

.site-nav {
    font-size: 1rem;
    line-height: 1;
}

.intro {
    padding: clamp(7rem, 16vw, 12rem) clamp(1.25rem, 10.6vw, 12.66rem) clamp(4rem, 8vw, 6rem);
}

.intro h1 {
    max-width: 16em;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: clamp(2rem, 5.2vw, 4.375rem);
    line-height: 1.23;
}

.intro-body {
    max-width: 46rem;
    margin-top: clamp(3rem, 8vw, 5.5rem);
}

.intro-body p {
    color: var(--muted);
    font-size: clamp(1.05rem, 1.6vw, 1.5625rem);
    line-height: 1.8;
    margin-bottom: 1.15em;
}

.intro-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .site-title {
        white-space: normal;
    }
}
