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

[hidden] {
    display: none !important;
}

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

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

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

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

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

p {
    margin: 0;
}