:root {
    --accent: #4b8241;
    --bg: #fdfdfc;
    --surface: #ffffff;
    --text: #1c1e1b;
    --text-muted: #5c6159;
    --border: #e3e5e0;
}

@media (prefers-color-scheme: dark) {
    :root {
        --accent: #56b83f;
        --bg: #141613;
        --surface: #1b1e1a;
        --text: #e8eae5;
        --text-muted: #9ba296;
        --border: #2c302a;
    }
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.page {
    max-width: 38rem;
    margin: 0 auto;
    padding: 5rem 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Hero */

.mark {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    user-select: none;
}

.hero h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.tagline {
    margin: 0.5rem 0 0;
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* About */

main {
    flex: 1;
    margin-top: 3.5rem;
}

.about h2 {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.about p {
    margin: 0 0 1.125rem;
}

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

/* Links */

a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--accent);
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Footer */

footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.9375rem;
    color: var(--text-muted);
}

footer nav {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}

footer a {
    color: var(--text-muted);
}

.copyright {
    margin: 0.75rem 0 0;
}

@media (max-width: 480px) {
    .page {
        padding-top: 3.5rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }
}
