*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button, input[type="submit"] { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.02; }
h1 { font-size: clamp(3rem, 6.2vw, 6.8rem); font-weight: 500; }
h2 { font-size: clamp(2.25rem, 4vw, 4.6rem); font-weight: 500; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.8rem); font-weight: 500; }
p { max-width: 65ch; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.site-container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: var(--gutter); }
.section-space { padding-block: clamp(5rem, 10vw, var(--space-8)); }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 100; top: 1rem; left: 1rem; background: var(--color-canvas); padding: 0.75rem 1rem; }
.entry-content { font-size: 1.1rem; }
.entry-content > * { max-width: var(--reading-width); margin-inline: auto; }
.entry-content > .alignwide { max-width: 72rem; }
.entry-content > .alignfull { max-width: none; }
.entry-content h2, .entry-content h3 { margin-top: 2.5em; }
.entry-content a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 0.2em; }

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