<style>

.css-start {}

:root {
    color-scheme: dark;
    --bg: #0b1220;
    --surface: #111a2b;
    ...
}
:root {
    color-scheme: dark;
    --bg: #0b1220;
    --surface: #111a2b;
    --surface-strong: #17233a;
    --text: #f3f6fb;
    --muted: #c3ccda;
    --border: #32415a;
    --accent: #7dd3fc;
    --accent-strong: #bae6fd;
    --focus: #ffd166;
    --download-bg: #163a52;
    --download-border: #7dd3fc;
    --max-content: 78ch;
}

* {
    box-sizing: border-box;
}

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

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.72;
}

#content {
    flex: 1;
    width: min(var(--max-content), calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 3rem;
    overflow-wrap: break-word;
}

h1,
h2,
h3 {
    color: var(--text);
    line-height: 1.25;
    text-wrap: balance;
}

h1 {
    margin: 0 0 1.5rem;
    font-size: clamp(2rem, 5vw, 2.8rem);
}

h2 {
    margin: 2.6rem 0 0.8rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--border);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
}

#content > h2:first-of-type {
    margin-top: 2rem;
}

h3 {
    margin: 1.6rem 0 0.6rem;
    font-size: 1.18rem;
}

p {
    margin: 0.8rem 0;
}

/* W obecnym HTML-u <br> rozdziela krótkie bloki tekstu.
   Ten odstęp daje im trochę oddechu bez przebudowy treści na <p>. */
#content > br {
    display: block;
    content: "";
    margin-top: 0.35rem;
}

a {
    color: var(--accent);
    text-decoration-thickness: 0.1em;
    text-underline-offset: 0.16em;
}

a:hover {
    color: var(--accent-strong);
    text-decoration-thickness: 0.16em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
    border-radius: 0.2rem;
}

h2 a,
h3 a {
    color: inherit;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 0.09em;
}

h2 a:hover,
h3 a:hover {
    color: var(--accent-strong);
}

.dl {
    display: inline-block;
    margin: 0.8rem 0 0.2rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--download-border);
    border-radius: 0.45rem;
    background: var(--download-bg);
    color: var(--text);
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.dl:hover {
    background: var(--surface-strong);
    color: var(--accent-strong);
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

h3 .dl {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    line-height: inherit;
    text-decoration: underline;
    text-decoration-color: var(--accent);
}

h3 .dl:hover {
    background: transparent;
    color: var(--accent-strong);
}

ul,
ol {
    margin: 0.8rem 0 1.1rem;
    padding-left: 1.6rem;
}

li + li {
    margin-top: 0.3rem;
}

::marker {
    color: var(--accent);
}

details {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--accent);
    background: var(--surface);
}

summary {
    width: fit-content;
    cursor: pointer;
    color: var(--accent-strong);
    font-weight: 700;
}

details[open] summary {
    margin-bottom: 0.7rem;
}

details > :last-child {
    margin-bottom: 0;
}

.site-nav {
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.site-nav-inner {
    width: min(72rem, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0.7rem 0;
}

.nav-toggle {
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.45rem;
    background: var(--surface-strong);
    color: var(--text);
    font: inherit;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.nav-toggle:hover {
    border-color: var(--accent);
}

.nav {
    display: none;
}

.nav.open {
    display: block;
}

.nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
    margin: 0.8rem 0 0.2rem;
    padding: 0;
    list-style: none;
}

.nav li {
    margin: 0;
}

.nav a {
    display: inline-block;
    padding: 0.35rem 0;
    font-weight: 600;
}

footer {
    width: min(var(--max-content), calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.2rem 0 2rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
}

.footer-meta {
    margin: 0;
}

@media (max-width: 40rem) {
    #content {
        width: min(var(--max-content), calc(100% - 1.4rem));
        padding-top: 1.4rem;
    }

    .site-nav-inner {
        width: calc(100% - 1.4rem);
    }

    .nav ul {
        display: block;
        margin-top: 0.7rem;
    }

    .nav li + li {
        margin-top: 0.25rem;
    }

    .nav a {
        display: block;
        padding: 0.45rem 0;
    }

    h1 {
        font-size: clamp(1.75rem, 9vw, 2.25rem);
    }

    h2 {
        margin-top: 2.2rem;
        font-size: 1.3rem;
    }

    .dl {
        max-width: 100%;
    }
}
#formularz {
    margin: 1.8rem 0;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.6rem;
}

#formularz label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.35rem;
    color: var(--text);
    font-weight: 700;
}

#formularz input[type="email"],
#formularz input[type="text"],
#formularz textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.45rem;
    background: var(--bg);
    color: var(--text);
    font: inherit;
}

#formularz textarea {
    min-height: 10rem;
    resize: vertical;
}

#formularz input:focus-visible,
#formularz textarea:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

#formularz .g-recaptcha {
    margin-top: 1.2rem;
}

#formularz #submit {
    margin-top: 1.2rem;
    padding: 0.65rem 1rem;
    border: 1px solid var(--download-border);
    border-radius: 0.45rem;
    background: var(--download-bg);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

#formularz #submit:hover {
    background: var(--surface-strong);
    color: var(--accent-strong);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }
}
</style>