/* ============================================================
   Ramsford AI Upgrade — Main Stylesheet
   Mobile-first, dark-navy + gold, clean + conversion-focused
   ============================================================ */

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

:root {
  --navy:     #0A1628;
  --navy-mid: #142035;
  --navy-lt:  #1e3a5f;
  --gold:     #F59E0B;
  --gold-lt:  #FCD34D;
  --white:    #FFFFFF;
  --gray-lt:  #F1F5F9;
  --gray:     #94A3B8;
  --text:     #1E293B;
  --muted:    #64748B;
  --green:    #22C55E;
  --red:      #EF4444;
  --radius:   8px;
  --shadow:   0 4px 24px rgba(0,0,0,0.12);
  --font:     'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
}

/* ---- Layout ---- */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 680px; }
.centered { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }
.mt-4 { margin-top: 3rem; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* ---- Navbar ---- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-icon { font-size: 1.25rem; }
.brand-name { color: var(--white); font-weight: 700; font-size: 1rem; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; padding: 8px; }
.nav-links { display: flex; list-style: none; align-items: center; gap: 1.5rem; }
.nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }

@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); padding: 1rem 20px 1.5rem; gap: 1rem; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links .btn-nav { display: block; text-align: center; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 10px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; cursor: pointer; text-decoration: none;
  border: 2px solid transparent; transition: all 0.2s; line-height: 1.4;
}
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); }
.btn-nav { background: var(--gold); color: var(--navy); border-color: var(--gold); padding: 8px 18px; font-size: 0.875rem; }
.btn-nav:hover { background: var(--gold-lt); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-xs { padding: 4px 10px; font-size: 0.75rem; }
.btn-full { display: block; width: 100%; text-align: center; }
.btn-danger { background: var(--red); color: #fff; border-color: var(--red); }
.btn-danger:hover { background: #dc2626; }
/* btn-outline on light bg */
section.section .btn-outline,
.faq-section .btn-outline,
.section-cta-inline .btn-outline {
  color: var(--navy); border-color: var(--navy-lt);
}
section.section .btn-outline:hover { background: var(--navy); color: #fff; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2547 60%, #1a3a6b 100%);
  padding: 80px 0 100px;
  text-align: center;
}
.hero-inner { max-width: 820px; margin: 0 auto; }
.hero-badge {
  display: inline-block; background: rgba(245,158,11,0.15); color: var(--gold);
  border: 1px solid rgba(245,158,11,0.3); border-radius: 20px;
  padding: 4px 16px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-headline {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: var(--white);
  line-height: 1.15; margin-bottom: 1.25rem;
}
.gradient-text {
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 640px; margin: 0 auto 2.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 1.25rem; }
.hero-note { font-size: 0.85rem; color: rgba(255,255,255,0.45); }

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 800; color: var(--navy); margin-bottom: 0.75rem; }
.section-sub { font-size: 1.05rem; color: var(--muted); margin-bottom: 2.5rem; max-width: 600px; }
.section-sub.centered { margin-left: auto; margin-right: auto; }

.band { padding: 80px 0; }
.band-dark { background: var(--navy); color: var(--white); }
.band-dark .section-title { color: var(--white); }
.band-dark p { color: rgba(255,255,255,0.7); }
.band-light { background: var(--gray-lt); }

/* ---- Pain grid ---- */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.pain-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 1.5rem; }
.pain-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.pain-card h3 { color: var(--gold); font-size: 1rem; margin-bottom: 0.5rem; }
.pain-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* ---- Features grid ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.feature-card { background: var(--gray-lt); border-radius: var(--radius); padding: 1.75rem; }
.feature-num { font-size: 0.75rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--navy); }
.feature-card p { color: var(--muted); font-size: 0.9rem; }

/* ---- Industries ---- */
.industry-list { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin: 1.5rem 0; }
.industry-tag { background: var(--white); border: 1px solid #E2E8F0; border-radius: 20px; padding: 8px 18px; font-size: 0.9rem; font-weight: 500; }

/* ---- Pricing teaser ---- */
.pricing-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.price-teaser-card { border: 1px solid #E2E8F0; border-radius: var(--radius); padding: 1.75rem; text-align: center; }
.price-teaser-card.featured { border-color: var(--gold); background: #FFFBEB; position: relative; }
.price-teaser-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.price-amount { font-size: 1.75rem; font-weight: 800; color: var(--navy-lt); margin-bottom: 0.5rem; }
.price-teaser-card p { font-size: 0.875rem; color: var(--muted); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy); font-size: 0.75rem; font-weight: 700;
  padding: 3px 14px; border-radius: 12px; white-space: nowrap;
}

/* ---- Trust grid ---- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.trust-item { text-align: center; }
.trust-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.trust-item h4 { color: var(--gold); font-size: 0.95rem; margin-bottom: 0.4rem; }
.trust-item p { color: rgba(255,255,255,0.65); font-size: 0.875rem; }

/* ---- Section CTA ---- */
.section-cta { background: var(--navy); text-align: center; }
.cta-inner { max-width: 600px; margin: 0 auto; }
.section-cta h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.section-cta p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.section-cta-inline { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }

/* ---- Page hero ---- */
.page-hero { background: var(--navy); padding: 60px 0; color: var(--white); text-align: center; }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }

/* ---- Pricing page ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.pricing-card { border: 1px solid #E2E8F0; border-radius: 12px; padding: 2rem; position: relative; }
.pricing-featured { border-color: var(--gold); background: #FFFBEB; }
.tier-name { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.tier-price { font-size: 2.5rem; font-weight: 800; color: var(--navy-lt); line-height: 1; margin-bottom: 0.25rem; }
.tier-sub { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.25rem; }
.tier-features { list-style: none; margin-bottom: 1.25rem; }
.tier-features li { padding: 0.4rem 0; font-size: 0.9rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.tier-features li:last-child { border-bottom: none; }
.tier-ideal { font-size: 0.8rem; color: var(--muted); border-top: 1px solid #E2E8F0; padding-top: 1rem; }

.addon-box { background: var(--gray-lt); border-radius: 12px; padding: 2rem; }
.addon-box h2 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.addon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.addon-grid ul { list-style: none; }
.addon-grid ul li { padding: 0.3rem 0; font-size: 0.9rem; }
.addon-grid ul li::before { content: '✓  '; color: var(--green); }

.pricing-note { background: #FEF9C3; border: 1px solid #FDE68A; border-radius: var(--radius); padding: 1rem 1.25rem; font-size: 0.9rem; margin-top: 2rem; }

.faq-section h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.25rem; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid #E2E8F0; border-radius: var(--radius); padding: 1.25rem; }
.faq-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.faq-item p { font-size: 0.9rem; color: var(--muted); }

/* ---- Forms ---- */
.form-card { background: var(--white); border: 1px solid #E2E8F0; border-radius: 12px; padding: 2rem; }
.form-section-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 1.5rem 0 1rem; }
.form-section-title:first-child { margin-top: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-group label { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid #CBD5E1; border-radius: var(--radius); padding: 10px 12px;
  font-family: var(--font); font-size: 0.95rem; transition: border-color 0.2s;
  background: #fff; color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--navy-lt); box-shadow: 0 0 0 3px rgba(30,58,95,0.1);
}
.form-group .demo-readonly { background: var(--gray-lt); color: var(--muted); cursor: default; }
.req { color: var(--red); }
.form-footer { margin-top: 1.5rem; }
.form-notice { font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }

/* ---- Alerts ---- */
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 1.25rem; }
.alert-error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.alert-warning { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }
.alert-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }

/* ---- Success box ---- */
.success-box { text-align: center; padding: 3rem 2rem; }
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.success-box h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }

/* ---- Thank you page ---- */
.ty-icon { font-size: 4rem; margin-bottom: 1rem; }
.ty-sub { font-size: 1.05rem; color: var(--muted); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.ty-what-next { background: var(--gray-lt); border-radius: var(--radius); padding: 1.5rem; max-width: 480px; margin: 0 auto 2rem; text-align: left; }
.ty-what-next h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.ty-what-next ol { padding-left: 1.25rem; }
.ty-what-next li { padding: 0.3rem 0; font-size: 0.9rem; }
.ty-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---- Contact page ---- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; }
@media (max-width: 760px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.contact-list { list-style: none; }
.contact-list li { padding: 0.5rem 0; font-size: 0.95rem; }
.contact-cta-block { background: var(--gray-lt); border-radius: var(--radius); padding: 1.25rem; margin-top: 1.5rem; }
.contact-cta-block h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.contact-cta-block p { font-size: 0.875rem; color: var(--muted); }

/* ---- Demo gate ---- */
.demo-gate-body { background: var(--navy); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.demo-gate { width: 100%; max-width: 440px; padding: 2rem 20px; }
.demo-gate-logo { text-align: center; margin-bottom: 2rem; }
.demo-gate-logo a { color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.demo-gate-card { background: var(--white); border-radius: 16px; padding: 2.5rem; }
.demo-gate-card h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.demo-gate-card > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.code-input { font-size: 1.1rem !important; letter-spacing: 0.08em; text-align: center; text-transform: uppercase; }
.gate-footer { margin-top: 1.5rem; text-align: center; font-size: 0.85rem; color: var(--muted); }
.gate-footer p { margin-bottom: 0.3rem; }
.gate-footer a { color: var(--navy-lt); }

/* ---- Demo live ---- */
.demo-live-body { background: #F8FAFC; min-height: 100vh; }
.demo-nav { background: var(--navy); padding: 0; }
.demo-nav .nav-inner { min-height: 52px; }
.demo-badge { background: var(--gold); color: var(--navy); font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 4px; letter-spacing: 0.08em; }

.demo-app { padding: 2rem 0 4rem; }
.demo-step { display: none; }
.demo-step.active { display: block; }
.demo-step-inner { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.demo-step-wide { max-width: 920px; }

.demo-title { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 0.75rem; }
.demo-sub { font-size: 1rem; color: var(--muted); margin-bottom: 2.5rem; }

.demo-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.demo-back { background: none; border: none; color: var(--navy-lt); font-size: 0.9rem; cursor: pointer; font-weight: 600; padding: 0; }
.demo-back:hover { color: var(--navy); }
.demo-progress { flex: 1; }
.demo-step-label { font-size: 0.8rem; font-weight: 600; color: var(--muted); display: block; margin-bottom: 4px; }
.progress-bar { height: 4px; background: #E2E8F0; border-radius: 2px; }
.progress-fill { height: 100%; background: var(--gold); border-radius: 2px; transition: width 0.4s; }

.demo-panel { background: var(--white); border: 1px solid #E2E8F0; border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; }
.demo-nav-row { display: flex; justify-content: flex-end; }

/* Industry selector */
.industry-selector { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.industry-btn {
  background: var(--white); border: 2px solid #E2E8F0; border-radius: 12px;
  padding: 1.25rem 1rem; cursor: pointer; text-align: center; transition: all 0.2s;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--font); font-size: 0.875rem; font-weight: 600; color: var(--text);
}
.industry-btn:hover { border-color: var(--gold); background: #FFFBEB; }
.ind-icon { font-size: 1.75rem; }

/* Chat */
.chat-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #E2E8F0; }
.chat-avatar { width: 40px; height: 40px; background: var(--navy-lt); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.chat-name { font-weight: 700; font-size: 0.95rem; }
.chat-status { font-size: 0.75rem; color: var(--green); }
.chat-messages { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.chat-msg { max-width: 75%; padding: 10px 14px; border-radius: 12px; font-size: 0.9rem; line-height: 1.5; }
.chat-msg-ai { background: var(--gray-lt); color: var(--text); align-self: flex-start; border-radius: 4px 12px 12px 12px; }
.chat-msg-user { background: var(--navy-lt); color: var(--white); align-self: flex-end; border-radius: 12px 4px 12px 12px; }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.quick-reply-btn { background: none; border: 1.5px solid var(--navy-lt); border-radius: 20px; padding: 5px 14px; font-size: 0.8rem; font-family: var(--font); color: var(--navy-lt); cursor: pointer; transition: all 0.2s; }
.quick-reply-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.chat-input-row { display: flex; gap: 0.5rem; }
.chat-input-row input { flex: 1; }
.chat-send { background: var(--gold); border: none; border-radius: var(--radius); padding: 10px 16px; font-weight: 700; font-family: var(--font); cursor: pointer; color: var(--navy); }

/* Lead form demo */
.lead-captured-badge { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; padding: 10px 14px; border-radius: var(--radius); font-size: 0.875rem; font-weight: 600; margin-top: 1rem; }

/* Appointment */
.appt-header { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.appt-prompt { background: var(--gray-lt); padding: 10px 14px; border-radius: 4px 12px 12px 12px; font-size: 0.9rem; }
.appt-slots { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.appt-slot { background: #fff; border: 2px solid #CBD5E1; border-radius: var(--radius); padding: 10px 18px; font-family: var(--font); font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.appt-slot:hover, .appt-slot.selected { border-color: var(--gold); background: #FFFBEB; }
.appt-confirmation { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: var(--radius); padding: 1rem; }
.confirm-badge { font-weight: 700; color: #166534; margin-bottom: 0.4rem; }
.confirm-details { font-size: 0.875rem; color: #166534; }

/* Follow-up / email preview */
.email-preview { border: 1px solid #E2E8F0; border-radius: var(--radius); overflow: hidden; }
.email-header { background: var(--gray-lt); padding: 0.75rem 1rem; display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; border-bottom: 1px solid #E2E8F0; }
.email-body { padding: 1rem; font-size: 0.9rem; line-height: 1.7; }
.email-body p { margin-bottom: 0.75rem; }
.email-sent-badge { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; padding: 8px 14px; font-size: 0.8rem; font-weight: 600; margin-top: 1rem; border-radius: var(--radius); }

/* Score */
.score-panel { display: flex; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.score-display { text-align: center; flex-shrink: 0; }
.score-circle { position: relative; width: 120px; height: 120px; margin: 0 auto 0.5rem; }
.score-svg { width: 100%; height: 100%; }
.score-number { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 1.75rem; font-weight: 800; color: var(--navy); }
.score-label { font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.score-breakdown { flex: 1; min-width: 200px; }
.score-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.85rem; }
.score-row > span:first-child { min-width: 160px; }
.score-bar-wrap { flex: 1; height: 8px; background: #E2E8F0; border-radius: 4px; overflow: hidden; }
.score-bar-fill { height: 100%; background: var(--gold); border-radius: 4px; transition: width 1s; }
.score-val { font-weight: 600; font-size: 0.8rem; min-width: 50px; }
.score-val.low { color: var(--red); }
.score-val.medium { color: #F59E0B; }
.score-val.good { color: var(--green); }

.payment-rec { margin-top: 1rem; }
.payment-rec h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.payment-rec p { font-size: 0.9rem; color: var(--muted); }

/* Final step */
.demo-final { text-align: center; }
.demo-final-icon { font-size: 4rem; margin-bottom: 1rem; }
.demo-final h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }
.demo-final > p { font-size: 1rem; color: var(--muted); margin-bottom: 1.5rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.final-score-summary { text-align: left; max-width: 500px; margin: 0 auto 2rem; }
.final-score-summary h4 { font-size: 1rem; margin-bottom: 0.75rem; }
.final-score-summary ul { list-style: none; }
.final-score-summary li { padding: 0.4rem 0; font-size: 0.9rem; }
.final-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 1rem; }
.final-note { font-size: 0.8rem; color: var(--muted); }

/* ---- Footer ---- */
.footer { background: var(--navy); padding: 60px 0 40px; }
.footer-inner { text-align: center; }
.footer .brand-name { color: var(--white); }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin: 0.75rem 0 1.25rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin-bottom: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-legal { font-size: 0.75rem; color: rgba(255,255,255,0.3); max-width: 600px; margin: 0 auto; }

/* ---- Responsive tweaks ---- */
@media (max-width: 600px) {
  .hero { padding: 60px 0 70px; }
  .section, .band { padding: 60px 0; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .score-panel { flex-direction: column; }
  .score-row > span:first-child { min-width: 110px; }
}
