/* ============================================
   TYPOGRAPHY
   ============================================ */

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700&display=swap');

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

/* Body text */
p {
    margin-bottom: 1rem;
}

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

/* Colors */
.text-muted { color: var(--color-text-secondary); }
.text-tertiary { color: var(--color-text-tertiary); }
.text-primary { color: var(--color-text-primary); }
.text-success { color: var(--color-green); }
.text-error { color: var(--color-red); }
.text-warning { color: var(--color-yellow); }
.text-info { color: var(--color-blue); }
.text-purple { color: var(--color-purple); }
.text-teal { color: var(--color-teal); }

/* Weights */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Logo font */
.font-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Code - inline */
code {
    display: inline-block;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    color: var(--color-brand-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

code:hover {
    background: var(--color-brand-primary-10);
    border-color: var(--color-brand-primary);
}

/* Code - block */
pre {
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    padding: 1rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
}

pre code {
    display: block;
    background: none;
    border: none;
    padding: 0;
    cursor: text;
}

pre code:hover {
    background: none;
    border-color: transparent;
}

/* Light theme */
[data-theme="light"] code {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #000000;
}

[data-theme="light"] code:hover {
    background: #f0f0f0;
    border-color: #000000;
}
