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

html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: var(--focus); outline-offset: 2px; }
main:focus, h1:focus { outline: none; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
    position: fixed; top: var(--s2); left: var(--s2); z-index: 100;
    padding: var(--s3) var(--s4); border-radius: var(--r-control);
    background: var(--green); color: var(--green-ink); font-weight: 700; text-decoration: none;
    transform: translateY(-200%);
}
.skip:focus { transform: none; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
