/* Insure.Navy - Global Stylesheet v1.0 */

/* === CSS Variables === */
:root {
  --navy-primary:   #003366;
  --navy-dark:      #001a33;
  --navy-mid:       #004080;
  --gold-primary:   #C9A84C;
  --gold-light:     #E8C870;
  --white:          #FFFFFF;
  --off-white:      #F8F9FA;
  --text-primary:   #111827;
  --text-secondary: #374151;
  --text-muted:     #4B5563;
  --border:         #D1D5DB;
  --success:        #065F46;
  --danger:         #991B1B;

  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Inter', sans-serif;

  --max-width: 1200px;
  --radius:    6px;
  --shadow:    0 2px 8px rgba(0,0,0,0.1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-primary); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { color: var(--navy-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.25; color: var(--navy-dark); }
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 1.875rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
small { font-size: 0.875rem; }
.caption { font-size: 0.75rem; }

/* === Layout === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sidebar-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }

section { padding: 4rem 0; }
.section-alt { background: var(--off-white); }
.section-navy { background: var(--navy-primary); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-dark { background: var(--navy-dark); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-dark);
  border-bottom: 3px solid var(--gold-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.875rem; padding-bottom: 0.875rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700;
  color: var(--white); text-decoration: none;
}
.nav-logo:hover { text-decoration: none; opacity: 0.9; }
.logo-anchor { font-size: 1.5rem; }
.logo-navy { color: var(--gold-primary); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: rgba(255,255,255,0.9); font-size: 0.9375rem; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-primary); }
.nav-cta { margin-left: 1rem; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; background: none; border: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; border-radius: 2px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 280px;
  background: var(--navy-dark); z-index: 200; padding: 2rem 1.5rem;
  overflow-y: auto; box-shadow: -4px 0 20px rgba(0,0,0,0.4);
}
.mobile-nav.open { display: block; }
.mobile-nav-close { color: var(--white); font-size: 1.5rem; float: right; margin-bottom: 2rem; background: none; border: none; cursor: pointer; }
.mobile-nav a { display: block; color: var(--white); padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1rem; }
.mobile-nav a:hover { color: var(--gold-primary); }
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 190; }
.mobile-nav-overlay.open { display: block; }

/* === Footer === */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.8); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 2rem; }
.footer-grid strong { display: block; color: var(--gold-primary); font-family: var(--font-heading); font-size: 0.875rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.75rem; }
.footer-grid ul li { margin-bottom: 0.4rem; }
.footer-grid a { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.footer-grid a:hover { color: var(--gold-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.5); margin-bottom: 0.5rem; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--gold-primary); }
.footer-sister { color: rgba(255,255,255,0.7) !important; }
.footer-sister a { color: var(--gold-primary) !important; }

/* === Trust Bar === */
.trust-bar { background: var(--navy-mid); padding: 0.75rem 0; }
.trust-bar .container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.4rem; color: var(--white); font-size: 0.875rem; font-weight: 500; }
.trust-icon { font-size: 1rem; }

/* === Hero === */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 60%, var(--navy-mid) 100%);
  padding: 5rem 0 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M30 15c-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15zm0 4c6.075 0 11 4.925 11 11s-4.925 11-11 11S19 36.075 19 30s4.925-11 11-11z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-content { position: relative; max-width: 720px; }
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.125rem; margin-bottom: 1.75rem; max-width: 560px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badge { display: inline-block; background: var(--gold-primary); color: var(--navy-dark); font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; font-family: var(--font-heading); }

/* === Buttons === */
.btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 600; font-size: 0.9375rem; line-height: 1; transition: all 0.2s; text-decoration: none; text-align: center; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy-primary); color: var(--white); }
.btn-primary:hover { background: var(--navy-mid); color: var(--white); }
.btn-gold { background: var(--gold-primary); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy-dark); }
.btn-outline { border: 2px solid rgba(255,255,255,0.8); color: var(--white); background: transparent; }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-outline-navy { border: 2px solid var(--navy-primary); color: var(--navy-primary); background: transparent; }
.btn-outline-navy:hover { background: var(--navy-primary); color: var(--white); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; }
.btn-full { width: 100%; display: block; }

/* === Cards === */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.12); transform: translateY(-2px); }
.card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.card h3 { color: var(--navy-primary); margin-bottom: 0.5rem; }
.card p { color: var(--text-secondary); font-size: 0.9375rem; }
.card-link { margin-top: 1rem; display: inline-block; color: var(--gold-primary); font-weight: 600; font-size: 0.875rem; }
.card-link::after { content: ' →'; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

/* === Comparison Table === */
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; margin: 1.5rem 0; }
.comparison-table th { background: var(--navy-primary); color: var(--white); padding: 0.875rem 1rem; text-align: left; font-family: var(--font-heading); font-weight: 600; }
.comparison-table th:first-child { border-radius: var(--radius) 0 0 0; }
.comparison-table th:last-child { border-radius: 0 var(--radius) 0 0; }
.comparison-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--off-white); }
.comparison-table .winner { background: rgba(201,168,76,0.12); font-weight: 600; }
.comparison-table .feature-name { font-weight: 600; color: var(--text-secondary); }
.winner-badge { display: inline-block; background: var(--gold-primary); color: var(--navy-dark); font-size: 0.6875rem; font-weight: 700; padding: 0.125rem 0.5rem; border-radius: 999px; text-transform: uppercase; margin-left: 0.5rem; vertical-align: middle; }
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow); }

/* === Lead Magnet === */
.lead-magnet { border: 1px solid var(--border); border-left: 4px solid var(--gold-primary); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); margin: 2rem 0; }
.lm-header { background: var(--navy-primary); color: var(--white); padding: 1rem 1.5rem; }
.lm-header h3 { color: var(--white); font-size: 1rem; margin: 0; }
.lm-body { padding: 1.5rem; }
.lm-partial-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 0; border-bottom: 1px solid var(--border); }
.lm-partial-item:last-child { border-bottom: none; }
.lm-check { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.75rem; font-weight: 700; }
.lm-check.eligible { background: #D1FAE5; color: var(--success); }
.lm-check.ineligible { background: #FEE2E2; color: var(--danger); }
.lm-blur { filter: blur(4px); user-select: none; opacity: 0.6; }
.lm-gate { background: var(--off-white); border-top: 1px solid var(--border); padding: 1.25rem 1.5rem; }
.lm-gate-headline { font-weight: 600; color: var(--navy-primary); margin-bottom: 0.75rem; font-size: 0.9375rem; }
.lm-form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.lm-form input[type="email"] { flex: 1; min-width: 200px; padding: 0.625rem 0.875rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.9375rem; font-family: var(--font-body); }
.lm-form input[type="email"]:focus { outline: none; border-color: var(--navy-primary); box-shadow: 0 0 0 3px rgba(0,51,102,0.1); }
.lm-privacy { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.5rem; }
.lm-result { display: none; padding: 1.5rem; border-top: 1px solid var(--border); background: #F0FDF4; }
.lm-result.visible { display: block; }
.lm-result-item { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.lm-result-item:last-child { border-bottom: none; }

/* === CTA Banner === */
.cta-banner { background: var(--gold-primary); padding: 3rem 0; }
.cta-banner h3 { color: var(--navy-dark); font-size: 1.5rem; margin-bottom: 0.5rem; }
.cta-banner p { color: var(--navy-dark); margin-bottom: 1.25rem; opacity: 0.85; }
.cta-form { display: flex; gap: 0.5rem; max-width: 500px; flex-wrap: wrap; }
.cta-form input[type="email"] { flex: 1; min-width: 200px; padding: 0.75rem 1rem; border: none; border-radius: var(--radius); font-size: 1rem; font-family: var(--font-body); }
.cta-form input[type="email"]:focus { outline: none; box-shadow: 0 0 0 3px rgba(0,51,102,0.25); }

/* === Quick Answer Box === */
.quick-answer { border-left: 4px solid var(--gold-primary); background: var(--off-white); padding: 1rem 1.25rem; margin: 1.5rem 0; border-radius: 0 var(--radius) var(--radius) 0; }
.qa-label { display: block; color: var(--navy-primary); font-family: var(--font-heading); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4rem; }
.quick-answer p { color: var(--text-secondary); margin: 0; font-size: 0.9375rem; }

/* === Breadcrumb === */
.breadcrumb { padding: 0.75rem 0; border-bottom: 1px solid var(--border); margin-bottom: 0; }
.breadcrumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem; }
.breadcrumb li { display: flex; align-items: center; font-size: 0.875rem; color: var(--text-muted); }
.breadcrumb li + li::before { content: '>'; margin-right: 0.25rem; color: var(--border); }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--navy-primary); }

/* === Sidebar === */
.sidebar { position: sticky; top: 5rem; }
.sidebar-cta { background: var(--off-white); border: 1px solid var(--border); border-top: 3px solid var(--gold-primary); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; }
.affiliate-badge { display: inline-block; font-size: 0.6875rem; font-weight: 600; color: var(--text-muted); background: var(--border); padding: 0.125rem 0.5rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.sidebar-cta h4 { color: var(--navy-primary); margin-bottom: 0.4rem; }
.sidebar-cta p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 0.875rem; }
.sidebar-nav { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; }
.sidebar-nav h4 { color: var(--navy-primary); margin-bottom: 0.75rem; font-size: 0.9375rem; }
.sidebar-nav ul li { margin-bottom: 0.375rem; }
.sidebar-nav a { font-size: 0.875rem; color: var(--text-secondary); }
.sidebar-nav a:hover { color: var(--navy-primary); }

/* === FAQ Accordion === */
.faq-section { margin: 2rem 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  padding: 1rem 0; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  color: var(--text-primary); text-align: left; gap: 1rem;
}
.faq-question:hover { color: var(--navy-primary); }
.faq-icon { font-size: 1.25rem; color: var(--navy-primary); flex-shrink: 0; transition: transform 0.2s; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 0 1rem; color: var(--text-secondary); font-size: 0.9375rem; display: none; }
.faq-answer.open { display: block; }

/* === Forms === */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 500; margin-bottom: 0.4rem; font-size: 0.9375rem; color: var(--text-primary); }
.form-input { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; font-family: var(--font-body); color: var(--text-primary); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; }
.form-input:focus { outline: none; border-color: var(--navy-primary); box-shadow: 0 0 0 3px rgba(0,51,102,0.1); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23374151' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-hint { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.25rem; }
.form-error { font-size: 0.8125rem; color: var(--danger); margin-top: 0.25rem; }

/* === Radio/Checkbox Groups === */
.radio-group, .checkbox-group { display: flex; flex-direction: column; gap: 0.5rem; }
.radio-group.inline, .checkbox-group.inline { flex-direction: row; flex-wrap: wrap; }
.radio-option, .checkbox-option { display: flex; align-items: center; gap: 0.5rem; }
.radio-option input, .checkbox-option input { width: 18px; height: 18px; accent-color: var(--navy-primary); }
.btn-radio-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.btn-radio { padding: 0.5rem 1rem; border: 2px solid var(--border); border-radius: var(--radius); font-size: 0.9375rem; cursor: pointer; background: var(--white); color: var(--text-primary); transition: all 0.2s; }
.btn-radio:hover { border-color: var(--navy-primary); }
.btn-radio.selected { border-color: var(--navy-primary); background: var(--navy-primary); color: var(--white); }

/* === Affiliate Disclosure === */
.affiliate-disclosure { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.875rem 1rem; font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.affiliate-disclosure strong { color: var(--text-secondary); }
.affiliate-disclosure a { color: var(--navy-primary); }

/* === Location Cards === */
.location-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; box-shadow: var(--shadow); transition: box-shadow 0.2s; }
.location-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.location-card-header { display: flex; align-items: center; gap: 0.75rem; }
.location-flag { font-size: 1.5rem; }
.location-card h3 { font-size: 1rem; color: var(--navy-primary); margin: 0; }
.location-card .state-tag { font-size: 0.75rem; color: var(--text-muted); background: var(--off-white); padding: 0.125rem 0.5rem; border-radius: 999px; border: 1px solid var(--border); display: inline-block; }

/* === Rank Badge === */
.rank-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--navy-primary); color: var(--white); padding: 0.375rem 0.875rem; border-radius: var(--radius); font-family: var(--font-heading); font-size: 0.875rem; font-weight: 600; }
.rank-badge-gold { background: var(--gold-primary); color: var(--navy-dark); }

/* === Step List === */
.step-list { counter-reset: steps; display: flex; flex-direction: column; gap: 1.5rem; }
.step-item { display: flex; gap: 1rem; align-items: flex-start; }
.step-number { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-primary); color: var(--navy-dark); font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-content h3 { margin-bottom: 0.25rem; font-size: 1.0625rem; }
.step-content p { color: var(--text-secondary); font-size: 0.9375rem; margin: 0; }

/* === Testimonials === */
.testimonial { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.testimonial-quote { font-size: 0.9375rem; color: var(--text-secondary); font-style: italic; margin-bottom: 1rem; line-height: 1.7; }
.testimonial-quote::before { content: '"'; font-size: 2rem; color: var(--gold-primary); line-height: 0; vertical-align: -0.625rem; margin-right: 0.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-mid); display: flex; align-items: center; justify-content: center; font-size: 1.125rem; }
.testimonial-name { font-weight: 600; font-size: 0.875rem; color: var(--text-primary); }
.testimonial-rank { font-size: 0.75rem; color: var(--text-muted); }

/* === Risk Score === */
.risk-score-display { text-align: center; padding: 2rem; }
.risk-score-number { font-size: 4rem; font-family: var(--font-heading); font-weight: 700; color: var(--navy-primary); line-height: 1; }
.risk-score-label { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.25rem; }
.risk-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.75rem; }
.risk-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--border); }
.risk-dot.filled { background: var(--gold-primary); }
.risk-dot.filled.danger { background: var(--danger); }

/* === Progress Bar === */
.progress-bar-track { background: var(--border); border-radius: 999px; height: 8px; margin: 0.5rem 0; }
.progress-bar-fill { background: var(--gold-primary); border-radius: 999px; height: 100%; transition: width 0.5s ease; }

/* === Quiz Steps === */
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-progress { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
.quiz-progress-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); transition: background 0.3s; }
.quiz-progress-dot.active { background: var(--gold-primary); }
.quiz-progress-dot.done { background: var(--navy-primary); }

/* === Alert / Notice === */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin: 1rem 0; font-size: 0.9375rem; }
.alert-info { background: #EFF6FF; border-left: 4px solid #3B82F6; color: #1E3A5F; }
.alert-warning { background: #FFFBEB; border-left: 4px solid var(--gold-primary); color: #78350F; }
.alert-success { background: #F0FDF4; border-left: 4px solid #22C55E; color: var(--success); }
.alert-danger { background: #FEF2F2; border-left: 4px solid #EF4444; color: var(--danger); }
.alert strong { font-weight: 600; }

/* === BAH Table === */
.bah-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.bah-table th { background: var(--navy-primary); color: var(--white); padding: 0.625rem 1rem; text-align: left; font-family: var(--font-heading); font-size: 0.875rem; }
.bah-table td { padding: 0.625rem 1rem; border-bottom: 1px solid var(--border); }
.bah-table tr:nth-child(even) td { background: var(--off-white); }
.bah-table tr:last-child td { border-bottom: none; }

/* === Section Headings === */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-secondary); font-size: 1.0625rem; margin: 0; }
.section-header.left { text-align: left; margin-left: 0; }

/* === Page Header (inner pages) === */
.page-header { background: linear-gradient(135deg, var(--navy-dark), var(--navy-primary)); padding: 3rem 0 2.5rem; }
.page-header h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.0625rem; margin: 0; }

/* === Stat Block === */
.stat-block { text-align: center; }
.stat-number { font-size: 2.5rem; font-family: var(--font-heading); font-weight: 700; color: var(--gold-primary); line-height: 1; }
.stat-label { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.25rem; }

/* === Checklist === */
.checklist { list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 0.625rem; padding: 0.375rem 0; font-size: 0.9375rem; color: var(--text-secondary); }
.checklist li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; margin-top: 0.125rem; }
.checklist.gaps li::before { content: '!'; color: var(--danger); background: #FEE2E2; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.6875rem; }

/* === Utilities === */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-navy { color: var(--navy-primary); }
.text-gold { color: var(--gold-primary); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.font-heading { font-family: var(--font-heading); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.tag { display: inline-block; background: var(--off-white); border: 1px solid var(--border); color: var(--text-muted); font-size: 0.75rem; padding: 0.125rem 0.5rem; border-radius: 999px; }
.tag-navy { background: rgba(0,51,102,0.08); border-color: rgba(0,51,102,0.2); color: var(--navy-primary); }
.tag-gold { background: rgba(201,168,76,0.15); border-color: rgba(201,168,76,0.3); color: #7A5C1A; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.d-block { display: block; }

/* === Tool Page === */
.tool-container { max-width: 760px; margin: 0 auto; }
.tool-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.tool-section-title { font-size: 0.75rem; font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 1rem; }
.nav-steps { display: flex; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.nav-step { flex: 1; text-align: center; padding: 0.75rem; font-size: 0.8125rem; font-weight: 600; background: var(--off-white); color: var(--text-muted); border-right: 1px solid var(--border); }
.nav-step:last-child { border-right: none; }
.nav-step.active { background: var(--navy-primary); color: var(--white); }
.nav-step.done { background: var(--success); color: var(--white); }

/* === Slider === */
input[type="range"] { width: 100%; height: 6px; accent-color: var(--navy-primary); }
.range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }

/* === Bar Chart === */
.bar-chart { margin: 1.5rem 0; }
.bar-chart-row { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 0.875rem; }
.bar-chart-label { font-size: 0.875rem; color: var(--text-secondary); min-width: 120px; }
.bar-chart-bar-wrap { flex: 1; background: var(--off-white); border-radius: 999px; height: 24px; overflow: hidden; }
.bar-chart-bar { height: 100%; border-radius: 999px; display: flex; align-items: center; padding-left: 0.5rem; font-size: 0.75rem; font-weight: 600; color: var(--white); transition: width 0.6s ease; }
.bar-chart-bar.current { background: var(--text-muted); }
.bar-chart-bar.optimized { background: var(--success); }
.bar-chart-value { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); min-width: 60px; text-align: right; }

/* === Responsive === */
@media (max-width: 1024px) {
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  section { padding: 2.5rem 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 3rem 0 2.5rem; }
  .trust-bar .container { justify-content: flex-start; gap: 1rem; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { display: none; }
  .comparison-table { font-size: 0.875rem; }
  .comparison-table th, .comparison-table td { padding: 0.625rem 0.75rem; }
  .cta-form { flex-direction: column; }
  .lm-form { flex-direction: column; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.625rem; }
  .container { padding: 0 1rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; }
  .stat-number { font-size: 2rem; }
  .bar-chart-label { min-width: 80px; font-size: 0.75rem; }
  .btn-radio-group { gap: 0.375rem; }
  .btn-radio { font-size: 0.875rem; padding: 0.4rem 0.75rem; }
}
