.ui-h1,
.ui-h2,
.ui-h3 {
  margin-block: 0;
  font-family: var(--font-display);
  color: var(--color-green);
}

.ui-h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--weight-bold);
  line-height: var(--lh-display);
  letter-spacing: -.045em;
}

.ui-h1--category { font-size: var(--font-size-h1); }

.ui-h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--weight-bold);
  line-height: var(--lh-display);
  letter-spacing: -.045em;
}

.ui-h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--weight-bold);
  line-height: var(--lh-heading);
}

.ui-eyebrow {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--weight-semibold);
  letter-spacing: .22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ui-lead {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--font-size-lead);
  line-height: var(--lh-body);
}

.ui-text {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: var(--lh-body);
}

.ui-text-muted {
  color: var(--color-text-muted);
  font-family: var(--font-body);
}

.ui-text-sm {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  line-height: var(--lh-small);
}

.ui-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--weight-semibold);
  line-height: 1.2;
}

.ui-accent { color: var(--color-pink); }

.ui-handnote {
  color: #6b8997;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-style: italic;
}

/* Element + utility selectors keep page-specific selectors from creating a
   second typography system while still allowing layout modifiers to set width. */
h1.ui-h1,
h2.ui-h2,
h3.ui-h3 {
  margin-block: 0;
  font-family: var(--font-display);
  color: var(--color-green);
}

h1.ui-h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--weight-bold);
  line-height: var(--lh-display);
  letter-spacing: -.045em;
}

h1.ui-h1.ui-h1--category { font-size: var(--font-size-h1); }

h2.ui-h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--weight-bold);
  line-height: var(--lh-display);
  letter-spacing: -.045em;
}

h3.ui-h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--weight-bold);
  line-height: var(--lh-heading);
}

@media (max-width: 767px) {
  .ui-eyebrow { font-size: 11px; }
}
