:root {
    --primary: #0d1b2a;
    --secondary: #1b263b;
    --accent: #f39c12;
    --text: #e1e1e1;
    --muted: #778da9;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background: var(--primary);
    background-image: radial-gradient(circle at top right, var(--secondary), var(--primary));
    color: var(--text);
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3 { font-family: 'Montserrat', sans-serif; color: #fff; }
a { color: inherit; }

.hero-title { font-size: 2rem; line-height: 1.25; }
@media (min-width: 640px) { .hero-title { font-size: 2.6rem; } }
@media (min-width: 900px) { .hero-title { font-size: 3.2rem; } }

/* Navigation */
nav {
    position: sticky; top: 0; z-index: 1000; background: rgba(13, 27, 42, 0.95); backdrop-filter: blur(12px);
    padding: 1rem; display: flex; flex-direction: column; align-items: center; border-bottom: 1px solid var(--glass-border);
}
@media (min-width: 768px) { nav { flex-direction: row; justify-content: space-between; padding: 1rem 2rem; } }
.logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 1rem; }
@media (min-width: 768px) { .logo-wrap { margin-bottom: 0; } }
.logo-img { height: 48px; width: auto; }
.logo-text { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.5px; color: #fff; }
.logo-text .accent { color: #f1c40f; }
.nav-links { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
@media (min-width: 768px) { .nav-links { gap: 2rem; } }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; }
.grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 12px; padding: 2.5rem; }
.card i { font-size: 2rem; color: var(--accent); margin-bottom: 1rem; }
.accent-text { color: var(--accent); font-weight: 700; }

.pitch-box { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 16px; padding: 1.5rem; margin: 2rem 0; }
.pitch-item { display: flex; gap: 15px; margin-bottom: 1.5rem; align-items: flex-start; }
.pitch-item i { color: var(--accent); font-size: 1.2rem; margin-top: 4px; }

.btn { display: inline-block; padding: 0.8rem 1.5rem; border-radius: 6px; font-weight: 700; text-decoration: none; text-align: center; color: #fff; }
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-outline { border: 2px solid var(--glass-border); color: #fff; }

footer { background: #08121d; padding: 3rem 1rem; text-align: center; margin-top: 4rem; font-size: 0.9rem; border-top: 1px solid var(--glass-border); color: var(--muted); }

/* Page titles (all non-homepage H1s) */
.page-title, .hero-banner h1 { font-size: 1.8rem; line-height: 1.3; margin-bottom: 0.75rem; }
@media (min-width: 640px) { .page-title, .hero-banner h1 { font-size: 2.1rem; } }
@media (min-width: 900px) { .page-title, .hero-banner h1 { font-size: 2.5rem; } }

/* About page */
.hero-banner { text-align: center; margin-bottom: 3.5rem; }
.hero-banner p { font-size: 1.15rem; color: var(--muted); max-width: 700px; margin: 0 auto; }

.badge {
    display: inline-block; background: rgba(243, 156, 18, 0.15); color: var(--accent);
    padding: 0.35rem 0.85rem; border-radius: 20px; font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 0.75rem;
    border: 1px solid rgba(243, 156, 18, 0.3);
}
.leader-tagline { color: var(--accent); font-size: 0.95rem; font-weight: 500; margin-top: -0.25rem; margin-bottom: 1rem; }

.founder-layout { display: flex; flex-direction: column; gap: 2rem; align-items: center; }
@media (min-width: 700px) { .founder-layout { flex-direction: row; align-items: flex-start; } }
.founder-photo {
    width: 220px; height: 220px; object-fit: cover; border-radius: 16px;
    border: 1px solid var(--glass-border); flex-shrink: 0;
}
.founder-info { flex: 1; }
.credentials-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.cred-item {
    display: flex; align-items: flex-start; gap: 12px; background: rgba(27, 38, 59, 0.4);
    border: 1px solid var(--glass-border); padding: 0.9rem 1.25rem; border-radius: 8px; font-size: 0.95rem;
}
.cred-item i { color: var(--accent); font-size: 1.1rem; margin-top: 4px; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.pillar-card { background: rgba(27, 38, 59, 0.4); border: 1px solid var(--glass-border); border-radius: 12px; padding: 2rem; }
.pillar-card i { color: var(--accent); font-size: 2rem; margin-bottom: 1rem; }
.pillar-card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.pillar-card p { color: var(--muted); font-size: 0.95rem; }

.cta-box {
    text-align: center; background: linear-gradient(180deg, rgba(27, 38, 59, 0.6) 0%, rgba(13, 27, 42, 0.8) 100%);
    border: 1px solid var(--accent); border-radius: 16px; padding: 3rem 2rem; margin-top: 3rem;
}
.cta-box .btn-primary:hover { transform: translateY(-2px); }

/* Credibility strip (index hero) */
.credibility-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 0.75rem 2rem; margin: 0 auto 3rem; color: var(--muted); font-size: 0.9rem;
}
.credibility-strip span { display: flex; align-items: center; gap: 0.5rem; }
.credibility-strip i { color: var(--accent); }

/* Process steps (How It Works) */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step { text-align: center; padding: 1.5rem; }
.process-step .step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; background: rgba(243, 156, 18, 0.15);
    border: 1px solid rgba(243, 156, 18, 0.3); color: var(--accent); font-weight: 800;
    font-family: 'Montserrat', sans-serif; margin-bottom: 1rem;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--muted); font-size: 0.9rem; }

/* Stat teaser (index -> faq.html) */
.stat-teaser {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
    background: var(--glass); border: 1px solid var(--glass-border); border-radius: 12px;
    padding: 1.5rem 2rem; margin-top: 3rem;
}
.stat-teaser p { margin: 0; }
.stat-teaser a { color: var(--accent); font-weight: 700; text-decoration: none; white-space: nowrap; }
.stat-teaser a:hover { text-decoration: underline; }

/* Stat grid (faq.html) */
.stat-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.stat-card { background: rgba(27, 38, 59, 0.4); border: 1px solid var(--glass-border); border-radius: 12px; padding: 1.75rem; text-align: center; }
.stat-number { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.25rem; color: var(--accent); }
.stat-card p { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }
.stat-source { display: block; margin-top: 0.75rem; font-size: 0.75rem; color: var(--muted); opacity: 0.8; }
.stat-source a { color: var(--muted); text-decoration: underline; }

/* FAQ */
.faq-item { margin-bottom: 1.5rem; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.faq-item p { color: var(--muted); }

/* Footer partner mention */
.footer-partners { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 0.75rem; }
.footer-partners img { height: 14px; width: auto; opacity: 0.8; }

/* Contact page */
.contact-container { display: flex; flex-direction: column; min-height: calc(100vh - 160px); }
/* Contact form (self-hosted, replaces Tally embed) */
.contact-form-card {
    background: var(--glass); border: 1px solid var(--glass-border); border-radius: 16px;
    padding: 2rem; margin-top: 1rem; max-width: 720px;
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
    font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 700;
    color: var(--text); letter-spacing: 0.2px;
}
.form-field .req { color: var(--accent); }
.form-field input,
.form-field textarea {
    background: rgba(8, 18, 29, 0.6); border: 1px solid var(--glass-border); border-radius: 8px;
    color: var(--text); font-family: 'Roboto', sans-serif; font-size: 0.95rem;
    padding: 0.75rem 0.9rem; transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #55688a; }
.form-field input:focus,
.form-field textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
}
.form-field .input-error { border-color: #e74c3c; box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12); }
.field-error { color: #ff8a7a; font-size: 0.8rem; }
.form-status { font-size: 0.9rem; border-radius: 8px; padding: 0.7rem 0.9rem; }
.form-status.info { background: rgba(93, 173, 226, 0.12); color: #8ecdf5; }
.form-status.error { background: rgba(231, 76, 60, 0.14); color: #ff9d90; }
.form-submit {
    align-self: flex-start; cursor: pointer; border: none; font-family: 'Montserrat', sans-serif;
    font-size: 1rem; transition: transform 0.15s ease, opacity 0.2s ease;
    padding: 0.9rem 2rem;
}
.form-submit:hover { transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: -0.4rem; }
.form-success { text-align: center; padding: 2.5rem 1rem; }
.form-success i { font-size: 3rem; color: var(--accent); margin-bottom: 1rem; }
.form-success h3 { margin-bottom: 0.6rem; }
.form-success p { color: var(--muted); max-width: 420px; margin: 0 auto; }

/* ============================================================
   Migrated from inline styles (2026-09)
   ============================================================ */

/* Footer (shared) */
.footer-tagline { color: var(--text); margin-bottom: 0.5rem; }
.footer-legal { margin-top: 0.5rem; font-size: 0.75rem; }
.footer-link { color: inherit; }

/* Small utilities */
.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-11 { font-size: 1.1rem; }
.btn-cta { margin-top: 1.5rem; }

/* Index hero */
.hero { padding: 5rem 0; text-align: center; }
.hero-title { margin-bottom: 1.5rem; }
.hero-lead { font-size: 1.2rem; line-height: 1.6; max-width: 780px; margin: 0 auto 1.5rem; }
.hero-sub { font-size: 1.05rem; line-height: 1.6; max-width: 780px; margin: 0 auto 1.5rem; color: var(--muted); }
.hero-scope { font-weight: 700; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.hero-cta-primary { padding: 1.2rem 2.5rem; font-size: 1.1rem; }
.hero-cta-outline { padding: 1.2rem 2.5rem; }

/* Section scaffolding */
.section-pad { padding: 4rem 0; }
.section-intro { font-size: 1.1rem; text-align: center; max-width: 800px; margin: 0 auto 3rem; color: var(--muted); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title-sm { text-align: center; margin-bottom: 0.5rem; }
.section-title-4 { text-align: center; margin: 4rem 0 2rem; }
.section-title-4b { text-align: center; margin: 4rem 0 0.5rem; }
.section-title-accent { text-align: center; margin-bottom: 1.5rem; color: var(--accent); }
.section-subtitle { text-align: center; color: var(--muted); max-width: 600px; margin: 0 auto; }
.section-subtitle-lg { max-width: 700px; }

/* Cards / grids */
.card-accent { background: rgba(243, 156, 18, 0.05); border-color: var(--accent); margin-bottom: 3rem; }
.grid-features { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.card-title { margin-bottom: 1rem; }

/* Index final pitch */
.final-cta { text-align: center; padding: 5rem 0; background: var(--glass); border-radius: 24px; margin-top: 4rem; border: 1px solid var(--glass-border); }
.final-cta-title { font-size: 2.2rem; margin-bottom: 1.5rem; }
.final-cta-text { font-size: 1.15rem; color: var(--muted); max-width: 700px; margin: 0 auto 2.5rem; }

/* About */
.lead-muted { margin-top: 1rem; color: var(--muted); }
.cta-text-muted { color: var(--muted); margin-top: 0.5rem; }

/* Contact */
.contact-lead { color: var(--text); margin-top: 1.25rem; font-weight: 700; }
.contact-sub { color: var(--muted); }
.checklist { margin-top: 0.5rem; color: var(--muted); padding-left: 1.2rem; list-style: none; }
.checklist li { margin-bottom: 0.4rem; }
.checklist i { color: var(--accent); font-size: 0.8rem; }
.contact-note { color: var(--muted); margin-top: 1.25rem; }
.email-link { color: var(--accent); font-weight: 700; }

/* FAQ */
.faq-item--last { margin-bottom: 0; }
.stat-teaser--center { justify-content: center; text-align: center; margin-top: 3rem; }

/* Federal */
.card-center-accent { text-align: center; border-color: var(--accent); }
.federal-title { color: var(--accent); margin-bottom: 1.5rem; }
.federal-body { margin: 2rem 0; text-align: left; }

/* Services */
.services-intro { max-width: 800px; color: var(--muted); margin-top: 1rem; }
.services-scope { font-weight: 700; margin-top: 1.5rem; margin-bottom: 3rem; }
.service-desc { margin-top: 0.75rem; color: var(--muted); font-size: 0.9rem; }
.info-box { margin-top: 3rem; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 12px; padding: 2rem; }
.info-box-title { margin-bottom: 0.75rem; }
.info-box-text { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.tech-list { color: var(--muted); font-size: 0.9rem; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.tech-list li { margin-bottom: 0.5rem; }
.services-cta { margin-top: 4rem; background: var(--glass); padding: 3rem; border-radius: 16px; border: 1px solid var(--accent); text-align: center; }
.services-cta-text { margin: 1.5rem 0; }

/* Privacy */
.policy-title { margin-bottom: 0.5rem; }
.policy-date { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.policy-h2 { font-size: 1.15rem; margin-top: 1.5rem; }
.policy-p { margin-top: 0.5rem; color: var(--muted); }

/* 404 page */
.notfound { text-align: center; padding: 6rem 0; }
.notfound-code {
    font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 5rem;
    line-height: 1; color: var(--accent); margin-bottom: 1rem;
}
.notfound-title { margin-bottom: 0.75rem; }
.notfound-text { color: var(--muted); max-width: 500px; margin: 0 auto 2.5rem; }
.notfound-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
