/* ============================================
   AUHMS Marketing Site — Base Typography
   ============================================ */

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

h1 {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  letter-spacing: var(--tracking-tighter);
}

h2 {
  font-size: var(--text-4xl);
  letter-spacing: var(--tracking-tight);
}

h3 {
  font-size: var(--text-2xl);
  letter-spacing: var(--tracking-tight);
}

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

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

h6 {
  font-size: var(--text-md);
  font-weight: var(--font-semibold);
}

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

p + p {
  margin-top: var(--space-4);
}

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

strong, b {
  font-weight: var(--font-semibold);
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 0.125em 0.375em;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  color: var(--gray-800);
}

mark {
  background: var(--color-primary-subtle);
  color: var(--color-primary-active);
  padding: 0.125em 0.25em;
  border-radius: var(--radius-xs);
}

hr {
  border: none;
  border-top: 1px solid var(--border-default);
  margin: var(--space-8) 0;
}

blockquote {
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-6);
  font-size: var(--text-xl);
  color: var(--gray-700);
  font-style: italic;
  line-height: var(--leading-relaxed);
}

/* Responsive typography */
@media (max-width: 1024px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-xl); }
  blockquote { font-size: var(--text-lg); }
}

@media (max-width: 768px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-lg); }
}

@media (max-width: 480px) {
  h1 { font-size: var(--text-2xl); }
  h2 { font-size: var(--text-xl); }
}
