:root {
    color-scheme: light dark;
    --page: #f3f6fb;
    --text: #182336;
    --muted: #495a74;
    --link: #164ab2;
    --line: #cbd6e8;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

@media (prefers-color-scheme: dark) {
    :root {
        --page: #101721;
        --text: #eef3fc;
        --muted: #b5c5dd;
        --link: #9ec3ff;
        --line: #35455d;
    }
}

body {
    margin: 0;
    background: var(--page);
    color: var(--text);
}

header, main, footer {
    max-width: 46rem;
    padding-inline: 1.25rem;
    margin-inline: auto;
}

header, footer {
    padding-block: 1.15rem;
}

header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 1.4rem;
    row-gap: 0.4rem;
    border-bottom: 1px solid var(--line);
}

main {
    padding-block: 2rem;
}

h1, h2, h3 {
    line-height: 1.25;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.04em;
    margin: 0 0 0.65rem;
}

h2 {
    margin-top: 2rem;
}

h3 {
    margin-top: 1.45rem;
}

a {
    color: var(--link);
    text-underline-offset: 0.15em;
    overflow-wrap: anywhere;
}

a:focus-visible {
    outline: 2px solid var(--link);
    outline-offset: 0.22rem;
}

.meta, footer {
    color: var(--muted);
}

.translation, footer {
    border-top: 1px solid var(--line);
    padding-top: 1.6rem;
}

.translation {
    margin-top: 2.6rem;
}

.icp-filing {
    text-align: center;
}
