/* ═══════════════════════════════════════════════════════════
   Typography — The Balance Space
   ═══════════════════════════════════════════════════════════ */

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-on-surface);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--font-display);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 500;
  color: var(--color-on-surface);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

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

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

a:hover {
  text-decoration: underline;
}

small,
.text-caption {
  font-size: var(--font-size-xs);
  color: var(--color-on-surface-dim);
}

.text-brand {
  font-family: var(--font-display);
}
