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

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

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

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin: 0;
}

p {
    margin: 0;
}

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

a {
    color: inherit;
}

section[id] {
    scroll-margin-top: 88px;
}

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