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

:root {
    --bg: #0a0a0a;
    --surface: #141414;
    --text: #e5e5e5;
    --text-muted: #888;
    --accent: #ff6b35;
    --font: "SF Pro Display", -apple-system, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    background: var(--surface);
    padding: 2rem;
    position: fixed;
    height: 100vh;
    border-right: 1px solid #222;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 0.5rem;
}

.sidebar a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: block;
    padding: 0.5rem 0;
}

.sidebar a:hover,
.sidebar a.active {
    color: var(--accent);
}

.content {
    margin-left: 240px;
    padding: 4rem;
    max-width: 800px;
    width: 100%;
}

article h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

article h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--accent);
}

article p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

article a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border 0.2s;
}

article a:hover {
    border-bottom-color: var(--accent);
}

article code {
    background: var(--surface);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.9em;
}

article pre {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

article blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 1.5rem 0;
}

article ul, article ol {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-muted);
}

article li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .content {
        margin-left: 0;
        padding: 2rem;
    }
}
