/* Minimal modern reset */

*, *::before, *::after { box-sizing: border-box; }

/* Block horizontal overflow at the root so no descendant can create a
   viewport-wide sideways scroll. */
html, body { overflow-x: hidden; }

html { text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }

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

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }

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

button { background: none; border: 0; padding: 0; cursor: pointer; }

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

table { border-collapse: collapse; border-spacing: 0; }

[hidden] { display: none !important; }

/* Accessibility */
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
    position: fixed; top: var(--s-2); left: var(--s-2);
    z-index: var(--z-modal);
    background: var(--c-fg); color: var(--c-bg);
    padding: var(--s-2) var(--s-4);
    width: auto; height: auto; clip: auto;
}

:focus-visible { outline: 2px solid var(--c-fg); outline-offset: 2px; }
