/* Explain: Base reset and typography defaults for the application. */
* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.12;
    margin: 0;
    letter-spacing: 0.005em;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

::selection {
    background: var(--accent-color);
    color: #16121d;
}

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

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: #2c2535;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

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