body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
    background-color: #fff;
}

/* Focus indicators */
a:focus, button:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Code blocks */
pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    border: 1px solid #ddd;
}

code {
    background-color: #f5f5f5;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: 'Courier New', Consolas, monospace;
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f5f5f5;
    font-weight: bold;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    margin-top: 30px;
    margin-bottom: 15px;
}

h1 {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

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

a:hover {
    text-decoration: underline;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    pre, code {
        background-color: #2d2d2d;
        border-color: #444;
    }
    
    th {
        background-color: #2d2d2d;
    }
    
    th, td {
        border-color: #444;
    }
    
    h1 {
        border-bottom-color: #444;
    }
}
