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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.page-wrapper {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    gap: 60px;
}

.container {
    max-width: 650px;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

h2 {
    font-size: 1.5em;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

h3 {
    font-size: 1.2em;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

p {
    margin-bottom: 1em;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1em;
    margin-left: 2em;
}

li {
    margin-bottom: 0.3em;
}

code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: "SF Mono", Monaco, monospace;
    font-size: 0.9em;
}

pre {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1em;
}

pre code {
    padding: 0;
    background: none;
}

blockquote {
    border-left: 3px solid #ddd;
    padding-left: 20px;
    margin-left: 0;
    margin-bottom: 1em;
    color: #666;
}

footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9em;
    text-align: center;
}

.side-nav {
    position: fixed;
    top: 40px;
    right: 40px;
    text-align: right;
}

.nav-header {
    font-weight: 600;
    margin-bottom: 1em;
    font-size: 1em;
    color: #333;
}

.side-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-nav li {
    margin-bottom: 0.3em;
}

.side-nav a {
    color: #0066cc;
    text-decoration: none;
    font-size: 1em;
}

.side-nav a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .side-nav {
        display: none;
    }
}
