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

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

body {
    overflow-x: hidden;
    margin: 0;
    background: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

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

h1 {
    font-size: clamp(2.1rem, 4.8vw, 3.3rem);
}

h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

p {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

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

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