:root {
    --bg: #fafafa;
    --text: #1a1a1a;
    --muted: #666;
    --card-bg: #fff;
    --border: #e0e0e0;
    --accent-green: #1B5E20;
    --accent-blue: #1565C0;
    --accent-red: #650303;
    --accent-purple: #4338ca;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #121212;
        --text: #e0e0e0;
        --muted: #999;
        --card-bg: #1e1e1e;
        --border: #333;
        --accent-green: #4CAF50;
        --accent-blue: #42A5F5;
        --accent-red: #F54242;
        --accent-purple: #818cf8;
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding: 24px;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

a {
    color: var(--accent-green);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-green);
    color: white;
    padding: 8px 16px;
    z-index: 100;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.back-link:hover {
    color: var(--text);
}
