/* Explain: Podstawowe style dla strony, reset i typografia. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family: var(--font-body);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[x-cloak] {
    display: none !important;
}

[hidden] {
    display: none !important;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
}

::selection {
    background: var(--accent-soft);
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

.prose-story {
    color: var(--text-color);
    line-height: 1.85;
}

.prose-story p {
    margin: 0 0 1.1rem;
}

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

.prose-story ul,
.prose-story ol {
    margin: 0 0 1.1rem;
    padding-left: 1.25rem;
}

.prose-story ul {
    list-style: disc;
}

.prose-story ol {
    list-style: decimal;
}

.prose-story strong {
    font-weight: 600;
}

.prose-story em {
    font-style: italic;
}