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

html {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-body);
  background: var(--color-canvas);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
}

/* Type scale — weight is never bolder than 500. Emphasis comes from size and
   color-block contrast, not boldness (see DESIGN.md's Haas/Airtable rules). */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 var(--space-md);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 500; }

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

.lede {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 620px;
}

.narrow {
  max-width: 780px;
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  padding-left: 1.25em;
}

li {
  margin-bottom: var(--space-xs);
}

.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-section) var(--space-xxl);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
  .page-container {
    padding: var(--space-xl) var(--space-md);
  }
}
