:root {
    --bg: #1e1f22;
    --surface: #2a2b2f;
    --text: rgba(255, 255, 255, 0.8);
    --muted: rgba(255, 255, 255, 0.55);
    --border: rgba(255, 255, 255, 0.08);
}

.window {
    text-align: left;
}

.window-contents {
    color: var(--text);
    font-family: "JetBrains Mono", monospace;
    line-height: 1.65;
    max-width: 900px;
    margin: 0 auto;


    h1, h2 {
        font-family: "Space Mono", monospace;
        color: rgba(255, 255, 255, 0.9);
        letter-spacing: -0.02em;
        margin-top: 0.5rem;
        margin-bottom: 0.25rem;
    }

    h3, h4, h5, h6 {
        font-family: "JetBrains Mono", monospace;
        color: rgba(255, 255, 255, 0.85);
        margin-top: 0.25rem;
        margin-bottom: 0.125rem;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.39rem; }
    h3 { font-size: 1.15rem; }
    h4 { font-size: 1.03rem; }
    h5 { font-size: 0.9rem; }
    h6 { font-size: 0.81rem; }

    p {
        margin: 0.75rem 0;
        font-size: 0.85rem;
    }

    a {
        color: #7aa2f7;
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

    small, .muted {
        color: var(--muted);
    }

    ul, ol {
        padding-left: 1.5rem;
        margin: 1rem 0;
        font-size: 0.85rem;
    }

    li {
        margin: 0.4rem 0;
    }

    code {
        background: rgba(255, 255, 255, 0.06);
        padding: 0.15rem 0.35rem;
        border-radius: 4px;
        font-size: 0.8em;
        font-family: "JetBrains Mono", monospace;
    }

    pre {
        background: var(--surface);
        padding: 1rem;
        border-radius: 10px;
        overflow-x: auto;
        border: 1px solid var(--border);
        margin: 1.2rem 0;
    }

    pre code {
        background: none;
        padding: 0;
        font-size: 0.8rem;
        display: block;
    }

    blockquote {
        border-left: 3px solid rgba(255, 255, 255, 0.2);
        margin: 1rem 0;
        padding: 0.5rem 1rem;
        color: var(--muted);
        background: rgba(255, 255, 255, 0.03);
        border-radius: 6px;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        margin: 1rem 0;
        font-size: 0.8rem;
    }

    th, td {
        border: 1px solid var(--border);
        padding: 0.6rem;
    }

    th {
        background: rgba(255, 255, 255, 0.05);
        text-align: left;
    }

    hr {
        border: none;
        border-top: 1px solid var(--border);
        margin: 2rem 0;
    }
}