/* Minimal, conflict-free typography utilities for Algo Nexus */
:root {
  --ax-fs-2xl: clamp(2rem, 5vw + 0.5rem, 3.25rem);
  --ax-fs-xl: clamp(1.75rem, 2.5vw + 1rem, 3rem);
  --ax-fs-lg: clamp(1.125rem, 1.2vw + 0.9rem, 1.25rem);
  --ax-fs-md: 1rem;
  --ax-fs-sm: 0.9375rem;
}

.ax-measure { max-width: 65ch; margin-inline: auto; }
.ax-prose p { margin: 0 0 1em 0; }
.ax-prose h2, .ax-prose h3 { margin: 1.25em 0 0.5em; }

.ax-text { font-size: var(--ax-fs-md); line-height: 1.7; }
.ax-text-lg { font-size: var(--ax-fs-lg); line-height: 1.6; }
.ax-text-sm { font-size: var(--ax-fs-sm); line-height: 1.6; }

.ax-heading-1 { font-size: var(--ax-fs-2xl); line-height: 1.1; letter-spacing: -0.01em; }
.ax-heading-2 { font-size: var(--ax-fs-xl); line-height: 1.15; letter-spacing: -0.01em; }
