/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Light mode (default) */
:root {
    --bg-primary: #f5f3f0;
    --bg-secondary: #ffffff;
    --bg-hover: #e8e6e3;
    --text-primary: #2d2d2d;
    --text-secondary: #5a5a5a;
    --accent: #0066cc;
    --border: #d4d1cd;
    --table-header-bg: #e8e6e3;
}

/* Dark mode - automatically when user has dark mode enabled in OS */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0d1117;
        --bg-secondary: #161b22;
        --bg-hover: #1c2128;
        --text-primary: #c9d1d9;
        --text-secondary: #8b949e;
        --accent: #58a6ff;
        --border: #30363d;
        --table-header-bg: #21262d;
    }
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: monospace;
    font-size: 16px;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Rest of your CSS stays the same... */
a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

p, ul, ol {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

nav {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

main {
    margin-top: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-secondary);
}

th, td {
    text-align: left;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
}

th {
    background: var(--table-header-bg);
    font-weight: bold;
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

tr:hover {
    background: var(--bg-hover);
}

tbody td {
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    body {
        padding: 1rem 0.5rem;
        font-size: 14px;
    }
    
    th, td {
        padding: 0.5rem;
        font-size: 0.85em;
    }
}

img {
    max-width: 100%;
    height: auto;
}
