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

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  line-height: 1.65;
  font-weight: 400;
}

h1,
h2,
h3,
.hero__title,
.category-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
  color: var(--color-ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.75rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
}

h3,
.card__title,
.category-card__title {
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  line-height: 1.2;
}

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

.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.6;
  color: var(--color-muted);
  max-width: var(--text-measure);
}

.eyebrow {
  margin: 0 0 var(--space-3);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-olive);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-terracotta-deep);
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

::selection {
  background: color-mix(in srgb, var(--color-honey) 45%, white);
  color: var(--color-ink);
}
