/*
 * RAISE - Site Styles
 *
 * Kali ❤️‍🔥 [User Advocate]: Clean, readable, nothing distracting from content.
 * Athena 🦉 [Reviewer]: Minimal CSS, easy to maintain.
 * Klea 👁️ [Accessibility]: Good contrast ratios, readable font sizes.
 * Klea 👁️ [Performance]: No external fonts, minimal file size.
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #fafafa;
    --bg-alt: #fff;
    --accent: #2a5ada;
    --border: #e0e0e0;
    --max-width: 720px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

/* Layout */
header, main, footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
header {
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 3rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-ampersand {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Main content */
main {
    min-height: 60vh;
    padding-bottom: 4rem;
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--accent);
}

/* Lists */
ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Code */
code {
    font-family: 'SF Mono', Consolas, Monaco, monospace;
    font-size: 0.9em;
    background: var(--bg-alt);
    padding: 0.15em 0.4em;
    border-radius: 3px;
    border: 1px solid var(--border);
}

pre {
    background: var(--bg-alt);
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid var(--border);
    overflow-x: auto;
    margin-bottom: 1.25rem;
}

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

/* Blockquotes */
blockquote {
    border-left: 3px solid var(--border);
    padding-left: 1rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

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

th, td {
    padding: 0.75rem;
    border: 1px solid var(--border);
    text-align: left;
}

th {
    background: var(--bg-alt);
    font-weight: 600;
}

/* Footer */
footer {
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Home page specific */
.hero {
    text-align: center;
    padding: 3rem 0 4rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.3rem;
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero .subtitle {
    margin-bottom: 0.25rem;
}

.hero .ampersand-hero {
    font-size: 4rem;
    font-weight: 200;
    color: var(--text-light);
    margin: 0.5rem 0 1rem;
    line-height: 1;
}

.hero .tagline {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Status badge */
.status {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-alt);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    border: 1px solid var(--border);
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 2.25rem;
    }
}
