/* style.css */
:root {
    --background-color: #FFFFFF;
    --text-color: #212529;
    --primary-color: #2d2b4e;
    --sidebar-bg: #F8F9FA;
    --border-color: #DEE2E6;
    --code-bg: #E9ECEF;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    font-size: 18px;
}
.sidebar {
    width: 240px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    padding: 2rem;
    box-sizing: border-box;
    overflow-y: auto;
}
.sidebar-header {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}
.sidebar-header h1 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--text-color);
}
.sidebar-header span {
    font-size: 0.9rem;
    color: #6C757D;
}
.sidebar-logo {
    display: block;
    margin: -0.5rem auto 0.5rem;
    max-width: 80%;
    mix-blend-mode: multiply;
}
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar ul li a {
    display: block;
    padding: 0.1rem 0;
    color: #495057;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}
.sidebar ul li a:hover { color: var(--primary-color); }
.content {
    margin-left: 240px;
    padding: 2rem 4rem;
}
section {
    padding-top: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}
section:last-child { border-bottom: none; }
h2 {
    font-size: 2rem;
    margin-top: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    color: #2d2b4e;
}
h3 {
    font-size: 1.5rem;
    color: #343A40;
}
p, .content li { margin-bottom: 1rem; }
a {
    color: #184e75;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}
a:hover {
    color: #0278b3;
    text-decoration: none;
}
code {
    background-color: var(--code-bg);
    padding: 0.2em 0.4em;
    margin: 0;
    font-size: 85%;
    border-radius: 3px;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
pre {
    background-color: var(--code-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}
pre code {
    background-color: transparent;
    padding: 0;
    font-size: 100%;
}