/* Shared base styles — body, layout container, header shell, footer, card shell.
   Page-specific CSS (forms, grids, hero sections, etc.) stays inline per page. */

:root {
    --color-bg-start: #0f172a;
    --color-bg-mid: #1e3a8a;
    --color-bg-end: #0f172a;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-border: rgba(71, 85, 105, 0.5);
    --color-border-accent: rgba(96, 165, 250, 0.3);
    --color-card-bg: rgba(30, 41, 59, 0.4);
    --color-header-bg: rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--color-bg-start) 0%, var(--color-bg-mid) 50%, var(--color-bg-end) 100%);
    color: var(--color-text);
    min-height: 100vh;
    line-height: 1.6;
}

p { line-height: 1.7; margin-bottom: 12px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

header {
    background: var(--color-header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-accent);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Pages that narrow .container for readability (landing/blog) still need the
   full-width header row so header-left has room and doesn't wrap the h1. */
header .container { max-width: 1200px; }

.header-content { padding: 16px 0; display: flex; align-items: center; gap: 16px; justify-content: space-between; max-width: 1200px; margin: 0 auto; }
.header-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.header-titles { min-width: 0; }
.header-titles h1 { font-size: 30px; font-weight: bold; background: linear-gradient(to right, #bfdbfe, #a5f3fc, #bfdbfe); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.header-titles .subtitle { color: rgba(191, 219, 254, 0.7); font-size: 14px; margin-top: 4px; }
@media (max-width: 480px) {
    .header-content { flex-direction: row; align-items: center; gap: 10px; padding: 12px 0; }
    .header-titles h1 { font-size: 18px; }
    .header-titles .subtitle { display: none; }
}

footer {
    margin-top: 48px;
    padding: 24px 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
    border-top: 1px solid var(--color-border);
}
footer p { margin: 8px 0; }

.faq-item {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}
