/* Reset + base typography + layout primitives.
   Restrained by design: no animations, no shadows, no gradients. */

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

html {
  font-size: 17px;
}

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--color-ink);
  background: var(--color-paper);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 var(--space-3);
}

h1 {
  font-size: 1.9rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.35rem;
  letter-spacing: -0.005em;
}

h3 {
  font-size: 1.1rem;
}

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

a {
  color: var(--color-clay);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Utilities */

.kicker {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-muted);
  margin: 0 0 var(--space-2);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.prose {
  max-width: var(--measure);
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  a {
    color: inherit;
    text-decoration: underline;
  }
}
