/* Deliberately minimal. Each client gets its own visual identity on top of
   this; what lives here is only what SEO and accessibility require. */

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

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

body {
  margin: 0;
  background: var(--paper, #fbfaf8);
  color: var(--ink, #191817);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

main { display: block; }

img, video { max-width: 100%; height: auto; }

a { color: var(--accent, #1f5f4f); }

:focus-visible { outline: 2px solid var(--accent, #1f5f4f); outline-offset: 2px; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 0.75rem;
  background: var(--paper, #fff);
  z-index: 10;
}

.site-header,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  max-width: 68rem;
  margin-inline: auto;
  padding: 1.25rem 1.5rem;
}

.site-header nav { display: flex; gap: 1.25rem; }

.wordmark { font-weight: 650; text-decoration: none; }

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid color-mix(in srgb, var(--muted, #6b6862) 25%, transparent);
  color: var(--muted, #6b6862);
  font-size: 0.9375rem;
}

.prose {
  max-width: 42rem;
  margin-inline: auto;
  padding: 2rem 1.5rem 0;
}

.prose h1 { font-size: 2.25rem; line-height: 1.15; text-wrap: balance; margin-bottom: 0.5rem; }
.prose h2 { font-size: 1.5rem; line-height: 1.25; text-wrap: balance; margin-top: 2.5rem; }
.prose h3 { font-size: 1.1875rem; margin-top: 2rem; }

.prose table { width: 100%; border-collapse: collapse; }
.prose :where(pre, table) { overflow-x: auto; }

.meta { color: var(--muted, #6b6862); font-size: 0.9375rem; }

.index { max-width: 42rem; margin-inline: auto; padding: 2rem 1.5rem 0; }
.index ul { list-style: none; padding: 0; display: grid; gap: 1.5rem; }
.index a { font-size: 1.125rem; font-weight: 600; text-decoration: none; }
.index a:hover { text-decoration: underline; }
