/* Explain: Base styles, resets, and default typography for the entire application. */
* {
    box-sizing: border-box;
}

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

html.a11y-large {
    font-size: 118%;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin: 0;
    font-weight: 600;
}

p {
    margin: 0;
}

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

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

button {
    font-family: inherit;
}

[x-cloak] {
    display: none !important;
}