/* Typography Styles */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--text-primary);
}

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

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

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

p {
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

/* Code styles */
code, pre {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  background: var(--bg-code);
  border-radius: var(--radius-sm);
}

code {
  padding: 0.125rem 0.375rem;
  color: var(--accent-primary);
}

pre {
  padding: var(--space-4);
  overflow-x: auto;
  line-height: var(--leading-relaxed);
}

pre code {
  padding: 0;
  background: none;
  color: var(--text-primary);
}

/* Links */
a {
  color: var(--accent-primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-hover);
}

/* Text utilities */
.text-muted {
  color: var(--text-secondary);
}

.text-tertiary {
  color: var(--text-tertiary);
}

.highlight {
  color: var(--accent-primary);
  position: relative;
}

/* Responsive typography */
@media (min-width: 1024px) {
  h1 {
    font-size: var(--text-5xl);
  }

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

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