:root {
    --bg-color: #fdfbf7; /* Cream/light background */
    --text-color: #2c2a26; /* Dark charcoal/brown for readability */
    --heading-color: #1a1917;
    --accent-color: #d4af37; /* Gold accent for Adinkra theme */
    --border-color: #e5e0d8;
    --link-color: #b85b2e; /* Warm earth tone for links */
    --header-bg: #ffffff;
    --card-bg: #ffffff;
    --footer-bg: #1a1917;
    --footer-text: #fdfbf7;
    
    --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --container-width: 800px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background-color: var(--header-bg);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.site-header h1 {
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 8px;
    font-weight: 700;
    text-wrap: balance;
}

.site-header .subtitle {
    font-size: 1.125rem;
    color: #666;
    text-wrap: balance;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.75em;
    font-weight: 600;
    text-wrap: balance;
}

h2 {
    font-size: 1.75rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5em;
}

h3 {
    font-size: 1.25rem;
    margin-top: 1.5em;
}

p, blockquote, li {
    margin-bottom: 1.25em;
    text-wrap: pretty;
}

a {
    color: var(--link-color);
    text-decoration: underline;
    text-decoration-color: rgba(184, 91, 46, 0.3);
    text-underline-offset: 4px;
    transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

a:hover {
    text-decoration-color: var(--link-color);
}

ul, ol {
    margin-bottom: 1.25em;
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.5em;
}

strong {
    font-weight: 600;
}

/* Content Area */
.content {
    padding-top: 40px;
    padding-bottom: 60px;
}

.policy-header {
    margin-bottom: 3rem;
}

.policy-header h2 {
    border-bottom: none;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.last-updated {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.intro {
    font-size: 1.125rem;
}

/* Tables */
.table-container {
    width: 100%;
    overflow-x: auto; /* Horizontal scroll for mobile */
    margin-bottom: 1.5em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    background-color: var(--card-bg);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px; /* Ensures scrolling on very small screens */
}

th, td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

th {
    background-color: #f5f3ef;
    font-weight: 600;
    color: var(--heading-color);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    text-align: center;
    padding: 32px 0;
    font-size: 0.9rem;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 600px) {
    .site-header h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .content {
        padding-top: 24px;
        padding-bottom: 40px;
    }
}
