/**
 * AI Mirror Pages - Minimal Stylesheet
 * 
 * Simple, clean typography and spacing for AI-friendly pages
 */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body.ai-mirror-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
    background: #fff;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Main content container */
.ai-content {
    max-width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 1.5em 0 0.75em;
    line-height: 1.3;
    font-weight: 600;
    color: #222;
}

h1 {
    font-size: 2.25rem;
    margin-top: 0;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin: 0 0 1.25rem;
}

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

a:hover {
    color: #004499;
}

/* Lists */
ul, ol {
    margin: 0 0 1.25rem 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem 0;
}

/* Blockquotes */
blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #ddd;
    background: #f9f9f9;
    font-style: italic;
}

/* Code */
code {
    background: #f4f4f4;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9em;
}

pre {
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

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

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

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

th {
    background: #f4f4f4;
    font-weight: 600;
}

/* Dividers */
hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2rem 0;
}

/* Sections and divs - minimal styling */
section, div {
    margin-bottom: 1rem;
}

/* Strong and emphasis */
strong, b {
    font-weight: 600;
}

em, i {
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body.ai-mirror-page {
        padding: 1rem 0.75rem;
    }
    
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}

