:root {
    color-scheme: light;
    --background: #f7f7f4;
    --text: #242521;
    --muted: #6a6c65;
    --rule: #d9d9d3;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--background);
}

body {
    min-height: 100svh;
    margin: 0;
    background: var(--background);
    color: var(--text);
}

.page {
    display: grid;
    align-items: center;
    width: min(100%, 48rem);
    min-height: 100svh;
    margin: 0 auto;
    padding: clamp(2rem, 8vw, 5rem);
}

h1 {
    margin: 0 0 0.6rem;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    font-size: clamp(2.35rem, 7vw, 3.5rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1;
}

.role {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.statement {
    max-width: 34ch;
    margin: clamp(3rem, 8vh, 5rem) 0 2.25rem;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    font-size: clamp(1.3rem, 3vw, 1.65rem);
    line-height: 1.4;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

a {
    color: var(--text);
    text-decoration-color: var(--rule);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.3rem;
}

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

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

.about {
    width: 100%;
    padding: 3rem 0;
}

.back {
    display: inline-block;
    margin-bottom: clamp(3rem, 8vh, 5rem);
    color: var(--muted);
    font-size: 0.9rem;
}

.about h1 {
    margin-bottom: 2rem;
}

.introduction {
    max-width: 42rem;
    margin: 0 0 3rem;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    line-height: 1.5;
}

.facts {
    margin: 0;
    border-bottom: 1px solid var(--rule);
}

.fact {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 1.5rem;
    border-top: 1px solid var(--rule);
    padding: 1.25rem 0;
}

.fact dt {
    color: var(--muted);
    font-size: 0.9rem;
}

.fact dd {
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 520px) {
    .fact {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --background: #1c1d1a;
        --text: #ecece7;
        --muted: #a4a69d;
        --rule: #383a34;
    }
}
