/* Explain: Base reset, typography, focus, and smooth page defaults. */
* {
    box-sizing: border-box;
}

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

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
}

h1,
h2,
h3,
.brand-mark {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

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

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

button {
    font-family: inherit;
}

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

::selection {
    background: var(--champagne-color);
    color: var(--espresso-color);
}

.section-anchor {
    scroll-margin-top: 10rem;
}