:root {
    --bg: #050805;
    --text: #7fdc84;
    --highlight: #ddd;
    --dim: #4e8751;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-snap-type: y proximity;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.column {
    width: min(760px, 100vw - 48px);
    margin: 0 auto;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 32px;
}

.nav {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.nav a {
    font-size: 14px;
    letter-spacing: 0.02em;
}

h1 {
    margin: 0;
    font-weight: 400;
    font-size: clamp(42px, 8vw, 68px);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--highlight);
}

h2 {
    margin: 0 0 20px;
    font-weight: 400;
    font-size: 28px;
    color: var(--highlight);
}

p {
    margin: 0 0 18px;
    font-size: 18px;
    max-width: 65ch;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 500;
    color: var(--highlight);
}

a {
    color: var(--highlight);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

a:focus-visible {
    outline: 1px solid var(--text);
    outline-offset: 3px;
}

.slide {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 0;
    scroll-snap-align: start;
}

.hero-subtitle {
    margin-top: 24px;
    font-size: 22px;
    line-height: 1.5;
}

.scroll-hint {
    position: relative;
    margin: 56px 0 0;
    padding-left: 24px;
    font-size: 14px;
    letter-spacing: 0.14em;
    color: var(--dim);
}

.scroll-hint::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--dim);
}

.scene-marker {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.14em;
    color: var(--dim);
}

ul {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 18px;
    max-width: 65ch;
}

li::before {
    content: ">";
    position: absolute;
    left: 0;
    font-weight: 500;
    color: var(--text);
}

.aside {
    font-size: 16px;
}

.refs {
    margin-top: 28px;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: var(--dim);
}

.refs a {
    color: var(--text);
}

.reading {
    padding: 72px 0;
    scroll-snap-align: start;
}

.reading li {
    font-size: 16px;
}

.site-footer {
    padding: 24px 0 80px;
}

.site-footer a {
    font-size: 14px;
    letter-spacing: 0.02em;
}

@media (max-width: 640px) {
    .column {
        width: calc(100vw - 32px);
    }

    .site-header {
        padding-top: 24px;
    }

    .slide {
        padding: 88px 0 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    li {
        font-size: 17px;
    }
}
