/* src/frontend/styles/core/typography.css */
/* Typography styles - ÉMERGENCE V7.0 */

/* Base typography */
body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--line-height-normal);
    color: var(--color-text);
}

/* Headings */
h1 {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: var(--text-2xl);
    font-weight: var(--weight-semibold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-md);
}

/* Paragraphs */
p {
    margin-bottom: var(--space-md);
}

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

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

/* Code */
code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: var(--color-bg-tertiary);
    padding: 0.125rem 0.25rem;
    border-radius: var(--radius-sm);
}

pre {
    font-family: var(--font-mono);
    background: var(--color-bg-secondary);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

/* Strong */
strong {
    font-weight: var(--weight-semibold);
}

/* Small text */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }