:root {
    --bg: #ffffff;
    --text: #1a1a1c;
    --sidebar-bg: #f9f9f9;
    --border: #e5e5e5;
    --accent: #6366f1;
    --secondary-text: #666;
}

body.dark {
    --bg: #1a1a1c;
    --text: #f4f4f5;
    --sidebar-bg: #131415;
    --border: #2a2a2c;
    --secondary-text: #a1a1aa;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    position: sticky;
    top: 0;
    background: var(--bg);
    padding: 10px 0;
    z-index: 100;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.back-btn:hover {
    opacity: 0.7;
}

.theme-toggle {
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    padding: 8px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--secondary-text);
    font-size: 0.9rem;
    margin-bottom: 50px;
}

.content section {
    margin-bottom: 40px;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--accent);
}

p {
    margin-bottom: 15px;
    color: var(--text);
    opacity: 0.9;
}

ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

strong {
    font-weight: 600;
}

.footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--secondary-text);
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    .container { padding-top: 20px; }
}
