/* base.css — Design tokens, reset, typography */
:root {
    --bg: #0a0a0a;
    --surface: #141414;
    --border: #262626;
    --text: #fafafa;
    --text-muted: #a1a1aa;
    --accent: #10b981;
    --accent-secondary: #8b5cf6;
    --accent-glow: rgba(16, 185, 129, 0.2);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #34d399; text-decoration: underline; }

code {
    background: var(--bg);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
}

h1, h2, h3, h4 {
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.3;
}

p { margin-bottom: 1rem; }

/* Site nav */
.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.site-nav .logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.site-nav .logo:hover { color: #34d399; text-decoration: none; }

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); text-decoration: none; }

/* Footer */
.site-footer {
    text-align: center;
    padding: 1.25rem 0 1rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
    padding-top: 1.25rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.site-footer p { margin-bottom: 0.25rem; }

.site-footer a { color: var(--accent); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.legal-links { margin-top: 0.5rem; font-size: 0.75rem; }

.joke { font-style: italic; color: var(--accent-secondary); }
.highlight { color: var(--text); }
