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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-0)/1.55 var(--font-body);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); margin-top: var(--space-5); }

p { margin: 0 0 var(--space-3); max-width: var(--measure); }

a { color: var(--eucalypt); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

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

code { font-size: 0.92em; background: var(--eucalypt-soft); padding: 0 0.3em; border-radius: var(--radius-s); }

:focus-visible {
  outline: 3px solid var(--wattle);
  outline-offset: 2px;
}

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

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

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--wattle); color: #000; padding: var(--space-2) var(--space-4);
}
.skip:focus { left: var(--space-2); z-index: 10; }

.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

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