:root {
    --font-sans: "Inter", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", "Fira Code", monospace;
    --font-serif: "Georgia", "Times New Roman", serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --weight-light: 300;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-black: 900;
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: var(--weight-normal);
    line-height: var(--leading-normal);
    color: #111827;
    background-color: #f9fafb;
}

h1 {
    font-size: var(--text-5xl);
    font-weight: var(--weight-black);
    line-height: var(--leading-none);
    letter-spacing: var(--tracking-tighter);
    color: #0f172a;
}

h2 {
    font-size: var(--text-4xl);
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: #0f172a;
}

h3 {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    line-height: var(--leading-snug);
    color: #1f2937;
}

h4 {
    font-size: var(--text-2xl);
    font-weight: var(--weight-semibold);
    line-height: var(--leading-snug);
    color: #1f2937;
}

h5 {
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
    color: #374151;
}

h6 {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    color: #374151;
}

p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: #4b5563;
}

small {
    font-size: var(--text-sm);
    color: #6b7280;
}

strong {
    font-weight: var(--weight-bold);
    color: #111827;
}

em {
    font-style: italic;
    color: #374151;
}

blockquote {
    font-size: var(--text-xl);
    font-style: italic;
    font-weight: var(--weight-light);
    color: #6b7280;
    border-left: 4px solid #e5e7eb;
    padding-left: 1.5rem;
}

code {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    background-color: #f3f4f6;
    color: #be185d;
    border-radius: 4px;
    padding: 0.125rem 0.375rem;
}

pre {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    background-color: #1f2937;
    color: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
}

.display-text {
    font-size: var(--text-5xl);
    font-weight: var(--weight-black);
    letter-spacing: var(--tracking-tighter);
    line-height: var(--leading-none);
    background-color: #0f172a;
    color: #f9fafb;
    border-radius: 12px;
}

.caption {
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: #9ca3af;
}

.overline {
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: #6b7280;
}
