*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--olive-800);
  line-height: 1.35;
  margin: 0 0 var(--space-2);
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 var(--space-2); }
a { color: var(--bark-600); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--bark-700); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--bark-600); outline-offset: 3px; border-radius: 2px; }
button, input, textarea, select { font: inherit; color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0.5rem;
  background: var(--paper); padding: 0.4rem 0.8rem; z-index: 10;
  font-family: var(--font-ui);
}
.skip-link:focus { left: 0.5rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

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