/* Typography — driven entirely by the tokens in tokens.css. */

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-normal);
}

h1,
h2,
h3,
h4 {
  color: var(--color-text);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  text-wrap: balance;
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-snug);
}

h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

p {
  color: var(--color-text-secondary);
  max-width: 68ch;
}

a {
  color: var(--color-link);
}

a:hover {
  text-decoration: underline;
}

code,
kbd,
samp,
pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

code {
  background: var(--color-surface-2);
  padding: 0.1em 0.35em;
  border-radius: var(--radius-sm);
}

pre {
  overflow-x: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-brand);
}

.lead {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

.text-gradient {
  background: linear-gradient(120deg, var(--color-brand), var(--color-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
