/* ── SEO249.com Global Stylesheet ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg:       #09111F;
  --bg2:      #0E1929;
  --surface:  #111D2E;
  --border:   rgba(255,255,255,0.07);
  --text:     #C8D8EC;
  --muted:    #7A8BA8;
  --white:    #FFFFFF;
  --accent:   #3D7EFF;
  --accent2:  #7B61FF;
  --green:    #22C55E;
  --amber:    #F59E0B;
  --red:      #EF4444;
  --font-display: 'Syne', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --radius:   12px;
  --max-w:    1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── CONTAINER ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── SECTIONS ── */
section { padding: 100px 0; }

/* ── NAV ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.15); }
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links .nav-cta {
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 8px;
  margin-left: 8px;
}
.nav-links .nav-cta:hover { background: #2D6EEF; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .2s;
  z-index: 200;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: #334155 !important;
  border-radius: 6px;
}
.dropdown a:hover { background: #f0f4ff; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #334155;
  border-radius: 2px;
  transition: .3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 99;
  flex-direction: column;
  padding: 16px;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  border-radius: 8px;
}
.mobile-nav a:hover { background: #f0f4ff; color: var(--accent); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 144px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(61,126,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(123,97,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -3px;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p {
  font-size: 19px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(61,126,255,0.3);
  background: rgba(61,126,255,0.08);
  color: var(--accent);
  margin-bottom: 24px;
}

/* Page hero (non-home) */
.page-hero {
  padding: 164px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(61,126,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #2D6EEF; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-amber { background: var(--amber); color: #000; }
.btn-amber:hover { background: #D97706; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #16A34A; }

/* ── SECTION LABELS ── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 640px;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num span { font-size: 28px; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0.5px; }

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(61,126,255,0.3); transform: translateY(-3px); }
.card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.card p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.card ul { list-style: none; padding: 0; }
.card ul li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card ul li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.card ul li:last-child { border-bottom: none; }
.card-icon { font-size: 36px; margin-bottom: 20px; display: block; }

/* ── INCLUDED GRID ── */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── PATH CARDS ── */
.path-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  transition: border-color .2s;
}
.path-card:hover { border-color: rgba(61,126,255,0.3); }
.path-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin: 16px 0 12px;
}
.path-card p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 20px; }
.path-card ul { list-style: none; padding: 0; margin-bottom: 28px; }
.path-card ul li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.path-card ul li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.path-card ul li:last-child { border-bottom: none; }
.path-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(245,158,11,0.12);
  color: var(--amber);
}
.path-card.agency .path-badge { background: rgba(61,126,255,0.12); color: var(--accent); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(61,126,255,0.3); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-q:hover { color: var(--accent); }
.chevron { font-size: 20px; transition: transform .3s; flex-shrink: 0; color: var(--muted); }
.faq-item.open .chevron { transform: rotate(180deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 28px 24px; font-size: 16px; color: var(--muted); line-height: 1.75; }

/* ── COMPARE GRID ── */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 50px; }
.compare-col { border-radius: 16px; padding: 40px; }
.compare-col h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}
.compare-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.compare-col ul li { font-size: 15px; display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.compare-col.theirs { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.2); }
.compare-col.theirs h4 { color: #EF4444; }
.compare-col.theirs ul li::before { content: '✕'; color: #EF4444; font-weight: 700; flex-shrink: 0; }
.compare-col.ours { background: rgba(61,126,255,0.06); border: 1px solid rgba(61,126,255,0.2); }
.compare-col.ours h4 { color: var(--accent); }
.compare-col.ours ul li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ── TIMELINE ── */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 36px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 11px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -30px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg2);
  z-index: 1;
}
.timeline-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.timeline-item ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.timeline-item ul li { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.timeline-item ul li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, #0d1f3a 0%, #09111F 60%, #130d29 100%);
  border-top: 1px solid rgba(61,126,255,0.15);
  border-bottom: 1px solid rgba(61,126,255,0.15);
  padding: 100px 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); }
.cta-section p { color: var(--muted); font-size: 18px; max-width: 580px; margin: 0 auto 40px; line-height: 1.75; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: start;
  padding-top: 60px;
}
.contact-info { }
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(61,126,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-item-value { font-size: 16px; color: var(--text); }
.contact-item-value a { color: var(--accent); text-decoration: none; }
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 50px;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}

/* ── ABOUT PAGE ── */
.about-hero {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(61,126,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-content h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}
.about-content p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
}
.about-photo-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}
.about-photo-box h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin: 16px 0 4px;
}
.about-photo-box p { color: var(--muted); font-size: 14px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.about-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(61,126,255,0.1);
  color: var(--accent);
  border: 1px solid rgba(61,126,255,0.2);
}

/* ── FOOTER ── */
footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .nav-logo img { height: 140px !important; }
.footer-brand p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.75;
  margin-top: 20px;
  max-width: 280px;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1e293b;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: #64748b;
  text-decoration: none;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { color: #64748b; font-size: 13px; }
.footer-bottom a { color: #64748b; font-size: 13px; text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ── ANIMATIONS ── */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.animate.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  section { padding: 70px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: auto; padding: 110px 0 70px; }
  .hero h1 { font-size: clamp(36px, 8vw, 54px); letter-spacing: -2px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .included-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .compare-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .included-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-actions { flex-direction: column; align-items: center; }
  #navbar { padding: 0 20px; }
}

/* ============================================================
   MOBILE FIXES (added 2026-05-13)
   Targets inline-styled elements with !important so the media
   query wins against the inline style attribute.
   ============================================================ */

/* NAVBAR — shrink padding and logo on phones, guarantee the hamburger
   stays inside the viewport even if something elsewhere causes overflow. */
@media (max-width: 900px) {
  html, body { overflow-x: hidden; }
  #navbar { padding: 0 16px !important; height: 76px !important; }
  #navbar .nav-logo img { height: 60px !important; width: auto !important; max-width: 180px; }
  .nav-toggle {
    margin-left: auto !important;
    flex-shrink: 0 !important;
    z-index: 101;
    padding: 10px !important;
  }
  /* Make the hamburger lines visible (background black on white nav) */
  .nav-toggle span {
    width: 26px;
    height: 3px;
    background: #334155;
    display: block;
    border-radius: 2px;
  }
  /* Hero pages reserve nav height for fixed nav; tighten the offset */
  .page-hero { padding-top: 96px !important; }
}
@media (max-width: 480px) {
  #navbar { padding: 0 12px !important; height: 64px !important; }
  #navbar .nav-logo img { height: 48px !important; }
}

/* TRUST STRIP — inline as 5-col grid, overflows on phones.
   Stack to 3 cols below tablet, 2 cols on phones. */
@media (max-width: 900px) {
  [style*="grid-template-columns:repeat(5,1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 520px) {
  [style*="grid-template-columns:repeat(5,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* 3-COL INLINE GRIDS — ROI calculator results, about page columns, etc.
   Catches both `1fr 1fr 1fr` and `repeat(3, 1fr)` syntaxes. Stack on phones. */
@media (max-width: 700px) {
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr 1fr"],
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* WIDE 2-COL INLINE GRIDS — about page side-by-side blocks with large gaps
   (gap:80px etc) crush on phones. Stack 2-col grids that have gap >= 40px. */
@media (max-width: 600px) {
  [style*="grid-template-columns:1fr 1fr"][style*="gap:80px"],
  [style*="grid-template-columns: 1fr 1fr"][style*="gap:80px"],
  [style*="grid-template-columns:1fr 1fr"][style*="gap:60px"],
  [style*="grid-template-columns: 1fr 1fr"][style*="gap:60px"],
  [style*="grid-template-columns:1fr 1fr"][style*="gap:48px"],
  [style*="grid-template-columns: 1fr 1fr"][style*="gap:48px"] {
    grid-template-columns: 1fr !important;
  }
}

/* STICKY BOTTOM BAR — wraps to ~150px tall on phones, eats screen real estate.
   On mobile: hide the prompt text and the audience switcher pill (both
   are non-essential). Keep just the CTA buttons (last child div). */
@media (max-width: 760px) {
  #sticky-bar {
    padding: 8px 12px !important;
    gap: 8px !important;
  }
  /* Hide the "Ready to get started?" prompt (always 1st child div) */
  #sticky-bar > div:first-child {
    display: none !important;
  }
  /* Hide the "Viewing as:" audience switcher (only present on business/agency pages, 2nd child div) */
  #sticky-bar > div:nth-child(2):not(:last-child) {
    display: none !important;
  }
  /* Keep CTAs centered and full-width-ish */
  #sticky-bar > div:last-child {
    width: 100%;
    justify-content: center;
  }
  #sticky-bar > div:last-child .btn {
    padding: 9px 14px !important;
    font-size: 13px !important;
  }
}

/* ===== Audience color themes (added 2026-06-02) ===== */
/* Default :root above = Business royal blue. Body class overrides per audience. */
body.audience-business {
  --accent:  #3D7EFF;
  --accent2: #7B61FF;
}
body.audience-agency {
  --accent:  #D946EF;
  --accent2: #C026D3;
}
body.audience-client {
  --accent:  #16A34A;
  --accent2: #15803D;
}

/* ===== Gray theme — from business/index.html sample, 2026-06-27 ===== */
/* ===== Tile alternation — NUCLEAR explicit colors ===== */

/* DARK TILE: every text descendant is white */
.tile-dark { color: #FFFFFF !important; background: #0d1929 !important; }
.tile-dark *,
.tile-dark h1, .tile-dark h2, .tile-dark h3, .tile-dark h4, .tile-dark h5, .tile-dark h6,
.tile-dark p, .tile-dark span, .tile-dark div, .tile-dark li, .tile-dark strong,
.tile-dark em, .tile-dark figcaption, .tile-dark label { color: #FFFFFF !important; }
.tile-dark .section-label, .tile-dark .hero-eyebrow, .tile-dark .path-badge { color: var(--accent) !important; }
.tile-dark a:not(.btn-primary):not(.nav-cta):not([style*="background:#3D7EFF"]):not([style*="background:#3d7eff"]):not([style*="background:#A757FF"]):not([style*="background:#a757ff"]):not([style*="background:#7B61FF"]):not([style*="background:#7b61ff"]):not([style*="background:var(--accent)"]):not([style*="background: var(--accent)"]):not([style*="background:var(--accent2)"]) { color: var(--accent) !important; }
.tile-dark p.muted, .tile-dark .muted, .tile-dark .section-sub, .tile-dark .stat-label,
.tile-dark figcaption { color: #B8C5DA !important; }

/* LIGHT TILE: every text descendant is dark navy */
.tile-light { color: #0d1929 !important; background: #E2E8F0 !important; }
.tile-light h1, .tile-light h2, .tile-light h3, .tile-light h4, .tile-light h5, .tile-light h6,
.tile-light p, .tile-light span, .tile-light li, .tile-light strong, .tile-light em,
.tile-light figcaption, .tile-light label { color: #0d1929 !important; }
.tile-light .section-label, .tile-light .hero-eyebrow { color: var(--accent) !important; }
.tile-light a:not(.btn-primary):not(.nav-cta):not([style*="background:#3D7EFF"]):not([style*="background:#3d7eff"]):not([style*="background:#A757FF"]):not([style*="background:#a757ff"]):not([style*="background:#7B61FF"]):not([style*="background:#7b61ff"]):not([style*="background:var(--accent)"]):not([style*="background: var(--accent)"]):not([style*="background:var(--accent2)"]) { color: var(--accent) !important; }
.tile-light p.muted, .tile-light .muted, .tile-light .section-sub { color: #5A6B85 !important; }

/* DARK CARDS INSIDE LIGHT TILE → white text override */
.tile-light .card, .tile-light .card *,
.tile-light .path-card, .tile-light .path-card *,
.tile-light .pricing-card, .tile-light .pricing-card *,
.tile-light .faq-item, .tile-light .faq-item *,
.tile-light .contact-form, .tile-light .contact-form *,
.tile-light .about-photo-box, .tile-light .about-photo-box *,
.tile-light .entity-fact-table, .tile-light .entity-fact-table *,
.tile-light .variant-card, .tile-light .variant-card *,
.tile-light .fit-card, .tile-light .fit-card *,
.tile-light .criterion-box, .tile-light .criterion-box *,
.tile-light .method-callout, .tile-light .method-callout *,
.tile-light [style*="background:#0d1929"], .tile-light [style*="background:#0d1929"] *,
.tile-light [style*="background:#0E1929"], .tile-light [style*="background:#0E1929"] *,
.tile-light [style*="background:#09111F"], .tile-light [style*="background:#09111F"] *,
.tile-light [style*="background:#111D2E"], .tile-light [style*="background:#111D2E"] *,
.tile-light [style*="background:var(--surface)"], .tile-light [style*="background:var(--surface)"] *,
.tile-light [style*="#132035"], .tile-light [style*="#132035"] *,
.tile-light [style*="#091529"], .tile-light [style*="#091529"] *,
.tile-light [style*="#0f2040"], .tile-light [style*="#0f2040"] * { color: #FFFFFF !important; }

.tile-light .card a:not(.btn-primary), .tile-light .path-card a:not(.btn-primary),
.tile-light .faq-item a, .tile-light .pricing-card a { color: var(--accent) !important; }
.tile-light .card .section-label, .tile-light .path-card .path-badge,
.tile-light .pricing-card .section-label { color: var(--accent) !important; }
.tile-light .card .muted, .tile-light .card .section-sub,
.tile-light .path-card .muted, .tile-light .path-card .section-sub,
.tile-light .pricing-card .muted, .tile-light .faq-item .faq-a-inner { color: #B8C5DA !important; }

/* STATS BAR — sibling div, treat as dark surface */
body.theme-light .stats-bar { background: #0d1929 !important; color: #FFFFFF !important; }
body.theme-light .stats-bar *, .stats-bar div, .stats-bar span { color: #FFFFFF !important; }
body.theme-light .stats-bar .stat-label { color: #B8C5DA !important; }
body.theme-light .stats-bar .stat-num span { color: var(--accent) !important; }

/* Buttons — keep their own colors */
.tile-light .btn-primary, .tile-light .nav-cta,
.tile-dark .btn-primary, .tile-dark .nav-cta { color: #FFFFFF !important; }
.tile-light .btn-outline, .tile-dark .btn-outline { color: inherit !important; }

/* .cta-section is a sibling div with hardcoded dark gradient — treat as dark surface */
body.theme-light .cta-section { color: #FFFFFF !important; }
body.theme-light .cta-section *, .cta-section h1, .cta-section h2, .cta-section h3, .cta-section p,
body.theme-light .cta-section span, .cta-section div, .cta-section li, .cta-section strong { color: #FFFFFF !important; }
body.theme-light .cta-section .section-label, .cta-section .hero-eyebrow { color: var(--accent) !important; }
body.theme-light .cta-section p, .cta-section .section-sub { color: #B8C5DA !important; }
body.theme-light .cta-section .btn-primary { color: #FFFFFF !important; }
body.theme-light .cta-section .btn-outline { color: #FFFFFF !important; border-color: rgba(255,255,255,0.2) !important; }

/* Inline dark-gradient testimonial boxes inside light tiles */
.tile-light [style*="linear-gradient(135deg,#0f2040"],
.tile-light [style*="linear-gradient(135deg, #0f2040"],
.tile-light [style*="linear-gradient(135deg,#091529"],
.tile-light [style*="#0f2040"],
.tile-light [style*="#091529"] { color: #FFFFFF !important; }
.tile-light [style*="linear-gradient(135deg,#0f2040"] *,
.tile-light [style*="linear-gradient(135deg, #0f2040"] *,
.tile-light [style*="#0f2040"] *,
.tile-light [style*="#091529"] * { color: #FFFFFF !important; }

/* Hero = dark slate gray background (stands out from light gray body) with white text */
body.theme-light .hero { background: #334155 !important; }
body.theme-light .hero h1 { color: #FFFFFF !important; }
body.theme-light .hero h1 em { color: var(--accent) !important; }
body.theme-light .hero .hero-eyebrow { color: var(--accent) !important; }
body.theme-light .hero p, .hero .hero-actions p { color: #CBD5E1 !important; }
body.theme-light .hero .btn-primary, .hero .btn-primary * { color: #FFFFFF !important; }
body.theme-light .hero .btn-outline { color: #FFFFFF !important; border-color: rgba(255,255,255,0.30) !important; }

.tile-light .section-title { color: var(--accent) !important; }
body.theme-light .cta-section .section-title { color: var(--accent) !important; }

/* But section-titles INSIDE dark cards/elements stay white */
.tile-light .card .section-title,
.tile-light .path-card .section-title,
.tile-light .pricing-card .section-title,
.tile-light .faq-item .section-title,
.tile-light [style*="#0f2040"] .section-title,
.tile-light [style*="background:#0d1929"] .section-title { color: #FFFFFF !important; }

/* Links styled as buttons (inline background:#3D7EFF) keep WHITE text */
.tile-dark a[style*="background:#3D7EFF"],
.tile-light a[style*="background:#3D7EFF"],
body.theme-light .cta-section a[style*="background:#3D7EFF"],
.tile-dark a[style*="background:#3d7eff"],
.tile-light a[style*="background:#3d7eff"],
body.theme-light .cta-section a[style*="background:#3d7eff"],
body.theme-light a[style*="background:#3D7EFF"][style*="color:#fff"],
body.theme-light a[style*="background:#3D7EFF"][style*="color:#FFF"],
body.theme-light a[style*="background:#3D7EFF"][style*="color:#FFFFFF"],
body.theme-light a[style*="background:#3D7EFF"][style*="color:#ffffff"] { color: #FFFFFF !important; }
body.theme-light a[style*="background:#3D7EFF"] * { color: #FFFFFF !important; }

a[style*="background:#A757FF"], a[style*="background:#a757ff"],
a[style*="background:#7B61FF"], a[style*="background:#7b61ff"] { color: #FFFFFF !important; }
a[style*="background:#A757FF"] *, a[style*="background:#a757ff"] *,
a[style*="background:#7B61FF"] *, a[style*="background:#7b61ff"] * { color: #FFFFFF !important; }

/* Buttons using CSS variables for bg (var(--accent), var(--accent2)) keep WHITE text */
a[style*="background:var(--accent)"],
a[style*="background: var(--accent)"],
a[style*="background:var(--accent2)"] { color: #FFFFFF !important; }
a[style*="background:var(--accent)"] *,
a[style*="background: var(--accent)"] *,
a[style*="background:var(--accent2)"] * { color: #FFFFFF !important; }
/* Same exclusion in the .tile-light link-color override */
