/* Typography — headings, body text, eyebrows, section titles */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: "opsz" 96;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--text);
}

h1 {
  font-size: clamp(3rem, 7vw + 1rem, 6.25rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
}
h2 {
  font-size: clamp(2.25rem, 4vw + 1rem, 4rem);
}
h3 {
  font-size: clamp(1.3rem, 0.8vw + 1rem, 1.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-soft);
}

/* The emphasised word in every headline carries the lime spark */
h1 em,
h2 em {
  font-style: normal;
  color: var(--lime);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet-bright);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.section__title {
  max-width: 18ch;
  margin-bottom: 2.75rem;
  text-wrap: balance;
}

/* Pulls up under the title, whose margin is sized for content, not for a lede */
.section__lede {
  max-width: 58ch;
  margin: -1.25rem 0 3rem;
  font-size: clamp(1rem, 0.4vw + 0.92rem, 1.15rem);
}

.link {
  color: var(--lime);
  text-underline-offset: 0.2em;
}
