/* assets/css/typography.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  word-break: normal;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.5rem, 5vw, 5.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h4 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.25rem; }

p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  margin-bottom: 1.5rem;
  max-width: 65ch;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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