html {
    height: 100%;
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

main {
    flex: 1;
}

.header,
main,
footer {
    position: relative;
    z-index: 2;
}

::selection {
    background: var(--accent);
    color: var(--btn-primary);
}