/* Explain: Base page behavior, typography, and accessibility defaults */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
    scroll-padding-top: 8.75rem;
}

body {
    overflow-x: hidden;
    text-rendering: geometricPrecision;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent-color) 72%, white);
    outline-offset: 3px;
}
