/* One readable typeface, light background, high contrast, no motion. */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

a { color: var(--accent); text-underline-offset: .15em; }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.25rem); line-height: 1.2; }
h3 { font-size: 1.3125rem; }
h4 { font-size: 1.05rem; }
p, ul, ol { margin: 0 0 1em; }

.container { width: min(100% - 32px, 1180px); margin-inline: auto; }
.prose { max-width: 66ch; }

