/* ====== styles.css ====== */
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
    max-width: 900px;
    margin: 24px auto;
    padding: 0 16px;
    line-height: 1.6;
    color: #222;
    background-color: #fff;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    color: #2c3e50;
}

h1 {
    font-size: 1.8em;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.3em;
}

h2 {
    font-size: 1.4em;
    margin-top: 1.2em;
    border-left: 4px solid #0066cc;
    padding-left: 8px;
    color: #34495e;
}

h3 {
    font-size: 1.2em;
    margin-top: 1em;
    color: #555;
}

p {
    margin: 0.75em 0;
}

ul, ol {
    margin: 0.75em 0 0.75em 1.5em;
}

small {
    display: block;
    margin-top: 2em;
    color: #666;
    font-size: 0.9em;
    text-align: center;
}

.package {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95em;
}

.package:last-child {
    border-bottom: none;
}

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

a:hover {
    text-decoration: underline;
}

pre {
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
    font-family: "Fira Code", Consolas, monospace;
    font-size: 0.85em;
    line-height: 1.4;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

code {
    font-family: "Fira Code", Consolas, monospace;
    background: #f2f2f2;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 0.9em;
}

.note {
    background: #fffbe6;
    border: 1px solid #f0e6a0;
    padding: 12px;
    border-radius: 8px;
    margin: 12px 0;
}

.warn {
    background: #ffecec;
    border: 1px solid #f5a2a2;
    padding: 12px;
    border-radius: 8px;
    margin: 12px 0;
}

@media (max-width: 600px) {
    body {
        font-size: 0.95em;
        padding: 0 12px;
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.2em;
    }

    pre {
        font-size: 0.8em;
        padding: 10px;
    }
}
