/* Explain: Base reset and typography defaults with modern, elegant styles. */
* {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

/* Elegancka typografia: serif o wysokim kontraście, bez wersalików */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.1;
}

::selection {
    background: var(--primary-color);
    color: #08080a;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--background-color);
}
::-webkit-scrollbar-thumb {
    background: var(--surface-light);
    border: 2px solid var(--background-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}