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

html {
    background: var(--background-color);
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text-color);
    background: var(--background-color);
    text-rendering: optimizeLegibility;
}

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

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

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

img,
svg {
    max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
