/* Typography + defaults that should feel consistent across pages. */

body {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  letter-spacing: 0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:where(h1, h2, h3, h4) {
  font-family: var(--font-serif);
  font-weight: 650;
  letter-spacing: -0.012em;
  color: var(--text);
}

:where(h2, h3) {
  letter-spacing: -0.01em;
}

:where(p) {
  max-width: var(--line);
}

:where(a) {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

:where(code) {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.muted {
  color: var(--muted);
}

.lede {
  margin: 0;
  max-width: var(--line);
  color: color-mix(in srgb, var(--text) 76%, var(--muted));
  font-size: var(--text-lg);
  line-height: 1.55;
}

.page-title {
  margin: 0 0 0.75rem;
  font-size: var(--text-xl);
  letter-spacing: -0.01em;
}

