/* ============================================
   NEXUS — Typography (Win95 System Fonts)
   ============================================ */

/* ── Font Families ── */

:root {
  --font-heading: Tahoma, 'MS Sans Serif', Arial, sans-serif;
  --font-body: Tahoma, 'MS Sans Serif', Arial, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;
  --font-number: Tahoma, 'MS Sans Serif', Arial, sans-serif;
}

/* ── Type Scale ── */

body {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  font-weight: 600;
}

h5 {
  font-size: 1rem;
  font-weight: 600;
}

h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
}

p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

small {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

strong {
  font-weight: 700;
  color: var(--text-primary);
}

code, pre {
  font-family: var(--font-mono);
}

code {
  font-size: 0.875em;
  background: var(--surface-2);
  padding: 0.1em 0.3em;
  color: var(--primary);
  border: 1px solid #333;
}

pre {
  font-size: 0.8125rem;
  background: var(--surface-1);
  padding: var(--space-md);
  border: 3px solid;
  border-color: #000000 #505050 #505050 #000000;
  overflow-x: auto;
  line-height: 1.5;
}

pre code {
  background: none;
  padding: 0;
  border: none;
}

.text-gradient {
  color: var(--primary);
}

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

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