


:root {
    --bg: #111210;
    --surface: #1b1c19;
    --text: #eeeae2;
    --muted: #aaa79f;
    --accent: #d95e52;
    --line: #383934;

    --font-body: "Inter", "Helvetica Neue", sans-serif;
    --font-heading: "Georgia", serif;
    --font-mono: "Courier New", monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 50px 24px;

    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.75;

    -webkit-font-smoothing: antialiased;
}



p, h1, h2, h3, h4, ul {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--muted);
    margin-top: 0;
    margin-bottom: 25px;
    letter-spacing: 0.1px;
}



h1 {
    font-family: var(--font-heading);
    font-size: clamp(48px, 9vw, 88px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -3px;

    color: var(--text);

    margin-top: 70px;
    margin-bottom: 35px;
}

h2, h3, h4 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -0.8px;

    margin-top: 65px;
    margin-bottom: 22px;
}

h2 {
    font-size: clamp(29px, 5vw, 40px);
}

h3 {
    font-size: 25px;
}

h4 {
    font-size: 20px;
}


em {
    color: var(--accent);
    font-family: var(--font-heading);
    font-style: italic;
}

strong {
    color: var(--text);
    font-weight: 700;
}

ul {
    padding-left: 22px;
    margin-top: 25px;
    margin-bottom: 35px;

    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 2;
    letter-spacing: 0.5px;
    color: var(--muted);
}

li {
    padding-left: 5px;
    margin-bottom: 8px;
}

li::marker {
    color: var(--accent);
}


hr {
    max-width: 680px;
    border: none;
    border-top: 1px solid var(--line);
    margin: 55px auto;
}


::selection {
    background: var(--accent);
    color: white;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}


a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--text);
}

h2, h3, h4 {
    transition: color 0.3s ease;
}

h2:hover, h3:hover, h4:hover {
    color: var(--accent);
}



@media (max-width: 600px) {

    body {
        padding: 30px 20px;
        font-size: 16px;
    }

    h1 {
        letter-spacing: -1.5px;
        margin-top: 45px;
    }

    h2, h3, h4 {
        margin-top: 45px;
    }

    p {
        font-size: 16px;
        line-height: 1.75;
    }

    ul {
        font-size: 12px;
    }
}



@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
