/* =================================
   Typography
   ================================= */

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text);
}

h1 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}


/* Paragraphs */
p {
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-base);
}

/* Links */
a {
    color: var(--color-primary);
    transition: color 0.2s ease;
}

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

/* Lists - Basic styling only */
ul, ol {
    margin: 0 0 var(--spacing-lg) 0;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: var(--line-height-base);
}

li:last-child {
    margin-bottom: 0;
}


/* Tables - Basic styling only */
table {
    width: 100%;
    margin: var(--spacing-lg) 0;
    border-collapse: collapse;
}

th, td {
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: left;
    border: 1px solid var(--color-border);
}

th {
    font-weight: 600;
    background-color: var(--color-gray-100);
}


/* Mobile responsive */
@media (max-width: 768px) {
    table {
        font-size: 0.875rem;
    }
    
    th, td {
        padding: 0.5rem 0.75rem;
    }
}

/* Text utilities */
.text-center {
    text-align: center;
}

.text-small {
    font-size: var(--font-size-small);
}

.text-large {
    font-size: var(--font-size-large);
}

.text-muted {
    color: var(--color-text-muted);
}

.font-weight-bold {
    font-weight: 700;
}

.font-weight-normal {
    font-weight: 400;
}