/* Explain: Base HTML element resets and default typography styles. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.scroll-lock {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.005em;
    text-wrap: balance;
}

p {
    margin: 0;
}

a {
    color: inherit;
}

img,
video {
    max-width: 100%;
}

ul,
ol {
    margin: 0;
}

button {
    font-family: inherit;
}

::selection {
    background: var(--metallic-silver);
    color: #111214;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0D0E10;
}

::-webkit-scrollbar-thumb {
    background: #34383E;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4E535A;
}

:focus-visible {
    outline: 2px solid var(--metallic-silver);
    outline-offset: 3px;
}