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

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

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

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.35;
    color: var(--text-color);
}

p {
    margin: 0;
}

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

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

button,
input,
select,
textarea {
    font-family: var(--font-body);
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--primary-soft);
    color: var(--primary-hover);
}

.is-hidden {
    display: none !important;
}

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