/* Explain: Base page styles, typography, and element defaults. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    color-scheme: light;
    scroll-behavior: smooth;
    text-rendering: geometricPrecision;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font-body);
    color: var(--text-color);
    font-feature-settings: "kern" 1, "liga" 1;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    color: var(--espresso-color);
}

p {
    line-height: 1.8;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    filter: sepia(0.22) saturate(1.12) contrast(1.05) brightness(1.02);
}

img.brand-logo {
    filter: none;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

select option {
    background-color: var(--surface-color);
    color: var(--text-color);
}

::selection {
    background: var(--secondary-color);
    color: var(--ivory-color);
}

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