/*
  Lead Oracle visual treatment for Service Convert.
  This file intentionally changes presentation only. All existing HTML, copy, section order,
  controls, form fields, and JavaScript remain in public/index.html.
*/
:root {
  --lo-blue: #0583f9;
  --lo-blue-hover: #0573dc;
  --lo-blue-soft: #e9f4ff;
  --lo-ink: #111827;
  --lo-copy: #64748b;
  --lo-rule: #e5e7eb;
  --lo-wash: #f8fafc;
  --lo-star: #f6b916;
}

body[data-theme],
body[data-theme="royal"],
body[data-theme="orange"],
body[data-theme="crimson"],
body[data-theme="emerald"] {
  --hero-bg: #ffffff;
  --hero-glow: rgba(5, 131, 249, 0);
  --cta-bg: var(--lo-blue);
  --cta-hover: var(--lo-blue-hover);
  --cta-text: #ffffff;
  --cta-glow: rgba(5, 131, 249, .18);
  --accent-bright: var(--lo-blue);
  --accent-soft-bg: var(--lo-blue-soft);
  --accent-soft-border: #b9ddff;
  --accent-light-text: #0878df;
  --accent-badge-bg: #edf7ff;
  --accent-badge-border: #c5e4ff;
  --callout-color: var(--lo-blue);
}

html { background: #fff; }
body {
  background: #fff !important;
  color: var(--lo-ink) !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.55;
}

/* Admin controls retain their place and behavior, but adopt a quiet, white control bar. */
#adminPreviewToolbar {
  background: #fff !important;
  border-bottom: 1px solid var(--lo-rule) !important;
  color: #475569 !important;
  box-shadow: 0 1px 5px rgba(15, 23, 42, .04);
}
#adminPreviewToolbar [class*="bg-slate-950"],
#adminPreviewToolbar [class*="bg-slate-900"],
#adminPreviewToolbar [class*="bg-slate-800"] {
  background: #fff !important;
}
#adminPreviewToolbar [class*="border-slate-"] { border-color: #dbe3ec !important; }
#adminPreviewToolbar [class*="text-slate-300"],
#adminPreviewToolbar [class*="text-slate-400"] { color: #64748b !important; }
#adminPreviewToolbar select {
  color: #334155 !important;
  background-color: #fff !important;
  border-color: #d7e0ea !important;
  box-shadow: none !important;
}
#adminPreviewToolbar button:not(.bg-amber-400):not(.bg-blue-600),
#adminPreviewToolbar .bg-slate-800 {
  color: #64748b !important;
  background: #fff !important;
}
#adminPreviewToolbar button.bg-amber-400,
#adminPreviewToolbar button.bg-blue-600 {
  color: #fff !important;
  background: var(--lo-blue) !important;
  border-color: var(--lo-blue) !important;
  box-shadow: none !important;
}
#adminPreviewToolbar label { color: #64748b !important; }
#rotateProgressBar { background: var(--lo-blue) !important; }

/* Hero: matching the clean, centered Lead Oracle reading column. */
#salesFunnelView > header.theme-hero-bg {
  padding-top: 3.1rem !important;
  padding-bottom: 3.25rem !important;
  color: var(--lo-ink) !important;
  background: #fff !important;
  border-color: transparent !important;
}
#salesFunnelView > header .theme-hero-glow { display: none !important; }
#salesFunnelView > header .max-w-4xl { max-width: 57rem !important; }
#salesFunnelView > header .bg-slate-900\/90 {
  background: #fff !important;
  border-color: #dce5ee !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}
#salesFunnelView > header .text-white,
#salesFunnelView > header #headlineGuaranteed,
#salesFunnelView > header #headlinePrice { color: var(--lo-ink) !important; }
#salesFunnelView > header .text-slate-300,
#salesFunnelView > header .text-slate-400 { color: var(--lo-copy) !important; }
#salesFunnelView > header strong { color: var(--lo-ink) !important; }
#salesFunnelView > header .theme-logo-mark {
  background: var(--lo-blue) !important;
  color: #fff !important;
  border-radius: .45rem !important;
}
#salesFunnelView > header .service-convert-lockup {
  line-height: 1 !important;
}
#salesFunnelView > header .service-convert-logo {
  width: 2.55rem !important;
  height: 2.55rem !important;
  flex: 0 0 2.55rem;
  display: block;
  object-fit: contain;
}
#salesFunnelView > header .service-convert-lockup > span {
  font-size: 1.1rem !important;
  line-height: 1 !important;
  letter-spacing: -.04em !important;
}
#salesFunnelView > header .theme-guaranteed-pill {
  color: #0878df !important;
  background: #eff8ff !important;
  border-color: #cce7ff !important;
}
#salesFunnelView > header .theme-callout {
  color: #64748b !important;
  font-size: clamp(.9rem, 2.8vw, 1rem) !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  line-height: 1.45 !important;
  text-transform: none !important;
}
#salesFunnelView > header .theme-callout #heroAudience {
  color: #334155 !important;
  font-style: normal !important;
  text-decoration-color: #bfdbfe !important;
}
#salesFunnelView > header h1 {
  max-width: 53rem !important;
  margin-bottom: 1.15rem !important;
  font-family: "Inter Tight", "Inter", Arial, sans-serif !important;
  font-size: clamp(2.15rem, 4.25vw, 3.7rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.045em !important;
  line-height: 1.1 !important;
}
#salesFunnelView > header .theme-accent-text,
#salesFunnelView > header .text-amber-400 { color: var(--lo-blue) !important; }
#salesFunnelView > header .theme-accent-text { text-decoration-color: #a9d8ff !important; }
#salesFunnelView > header .theme-cta-btn {
  min-width: min(100%, 28rem);
  color: #fff !important;
  background: var(--lo-blue) !important;
  border-radius: .45rem !important;
  box-shadow: 0 3px 0 rgba(2, 94, 182, .17) !important;
}
#salesFunnelView > header .theme-cta-btn:hover { background: var(--lo-blue-hover) !important; }
#salesFunnelView > header .cta-pulse { animation: none !important; }
#salesFunnelView > header .iclosed-booking {
  width: 100%;
  max-width: 56rem;
  scroll-margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid #dbe4ee;
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 35, 60, .10);
}
#salesFunnelView > header .border-t { border-color: var(--lo-rule) !important; }
#salesFunnelView > header .mt-10 { margin-top: 2rem !important; }

/* Shared sales funnel presentation: white canvas, hairline rules, soft blue, readable ink. */
#salesFunnelView section { border-color: var(--lo-rule) !important; }
#salesFunnelView section.theme-hero-bg {
  color: var(--lo-ink) !important;
  background: #fff !important;
}
#salesFunnelView section.theme-hero-bg .theme-hero-glow { display: none !important; }
#salesFunnelView .bg-slate-50 { background: var(--lo-wash) !important; }
#salesFunnelView .bg-white { background: #fff !important; }
#salesFunnelView .bg-slate-900,
#salesFunnelView .bg-slate-900\/90,
#salesFunnelView .bg-slate-950,
#salesFunnelView .bg-slate-950\/90 { background: #fff !important; }
#salesFunnelView [class*="border-slate-"] { border-color: #e1e7ee !important; }
#salesFunnelView .text-white,
#salesFunnelView .text-slate-900,
#salesFunnelView .text-slate-950 { color: var(--lo-ink) !important; }
#salesFunnelView .text-slate-200,
#salesFunnelView .text-slate-300,
#salesFunnelView .text-slate-400,
#salesFunnelView .text-slate-500,
#salesFunnelView .text-slate-600 { color: var(--lo-copy) !important; }
#salesFunnelView .text-blue-700,
#salesFunnelView .text-blue-900,
#salesFunnelView .text-blue-950,
#salesFunnelView .text-blue-600,
#salesFunnelView .theme-light-accent { color: #0878df !important; }
#salesFunnelView .text-amber-400,
#salesFunnelView .text-amber-300,
#salesFunnelView .text-amber-500 { color: #0878df !important; }
#salesFunnelView .text-emerald-400 { color: #11a46d !important; }
#salesFunnelView .theme-light-badge,
#salesFunnelView .theme-guaranteed-pill {
  color: #0878df !important;
  background: #edf7ff !important;
  border-color: #c9e6ff !important;
}
#salesFunnelView h2,
#salesFunnelView h3,
#salesFunnelView summary { font-family: "Inter Tight", "Inter", Arial, sans-serif !important; }
#salesFunnelView h2 {
  font-size: clamp(1.9rem, 3.55vw, 3rem) !important;
  letter-spacing: -.045em !important;
  line-height: 1.14 !important;
}
#salesFunnelView h3 { letter-spacing: -.025em !important; }
#salesFunnelView .serp-shadow {
  box-shadow: 0 3px 12px rgba(15, 23, 42, .04) !important;
}
#salesFunnelView .rounded-3xl { border-radius: .8rem !important; }
#salesFunnelView .rounded-2xl { border-radius: .65rem !important; }
#salesFunnelView .rounded-xl { border-radius: .5rem !important; }
#salesFunnelView .rounded-full { border-radius: 999px !important; }
#salesFunnelView .theme-cta-btn {
  color: #fff !important;
  background: var(--lo-blue) !important;
  border-radius: .45rem !important;
  box-shadow: 0 3px 0 rgba(2, 94, 182, .17) !important;
}
#salesFunnelView .theme-cta-btn:hover { background: var(--lo-blue-hover) !important; }
#salesFunnelView .cta-pulse { animation: none !important; }
#salesFunnelView .bg-blue-50,
#salesFunnelView .bg-blue-50\/40,
#salesFunnelView .bg-blue-50\/70 { background: #eff8ff !important; }
#salesFunnelView .bg-blue-500\/10,
#salesFunnelView .bg-blue-500\/15,
#salesFunnelView .bg-blue-600\/10 { background: #edf7ff !important; }
#salesFunnelView .border-blue-200,
#salesFunnelView .border-blue-200\/80,
#salesFunnelView .border-blue-400\/30,
#salesFunnelView .border-blue-500\/20 { border-color: #c6e4ff !important; }

/* Cards and comparison table: Lead Oracle's flat, open cards with a clear blue winning column. */
#salesFunnelView .grid.md\:grid-cols-3 > .bg-slate-50,
#salesFunnelView .grid.md\:grid-cols-3 > .bg-slate-900,
#salesFunnelView .grid.md\:grid-cols-3 > .bg-slate-900\/90 {
  background: #fff !important;
  border: 1px solid #e4eaf1 !important;
  box-shadow: none !important;
}
#salesFunnelView .grid.md\:grid-cols-3 > div > .bg-blue-600\/10 {
  color: var(--lo-blue) !important;
  background: #eef7ff !important;
  border-color: #cee8ff !important;
}
#salesFunnelView table { border-color: #e3e9ef !important; }
#salesFunnelView thead tr,
#salesFunnelView thead .bg-slate-900,
#salesFunnelView thead .bg-slate-950\/60 {
  color: #fff !important;
  background: var(--lo-blue) !important;
}
#salesFunnelView thead th,
#salesFunnelView thead .text-slate-300,
#salesFunnelView thead .text-slate-400,
#salesFunnelView thead .text-amber-400 { color: #fff !important; }
#salesFunnelView tbody .bg-blue-50\/40 { background: #f0f8ff !important; }
#salesFunnelView tbody .text-blue-700 { color: #0878df !important; }

/* Results and the simulated search examples retain their original content, but sit on a light, editorial page. */
#caseStudiesGrid > article { border-color: #e3e9ef !important; box-shadow: none !important; }
#caseStudiesGrid .bg-slate-50 { background: #f8fafc !important; }
#caseStudiesGrid .bg-white { background: #fff !important; }
#caseStudiesGrid .border-2 { border-color: var(--lo-blue) !important; }
#caseStudiesGrid .theme-cta-btn {
  color: #fff !important;
  background: var(--lo-blue) !important;
  box-shadow: none !important;
}

/* Price and guarantee block: lighter, clearer version of the existing exact content. */
#salesFunnelView .border-2.border-amber-400\/80 {
  border-width: 1px !important;
  border-color: #c9e6ff !important;
  background: #fff !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .05) !important;
}
#salesFunnelView .border-2.border-amber-400\/80 .bg-slate-950\/90 {
  background: #f5faff !important;
  border-color: #c9e6ff !important;
}
#salesFunnelView .border-2.border-amber-400\/80 .bg-amber-400 {
  color: #fff !important;
  background: var(--lo-blue) !important;
}

/* FAQ follows the simple, bordered accordion treatment of the reference. */
#salesFunnelView details {
  background: #fff !important;
  border-color: #e1e7ee !important;
  box-shadow: none !important;
}
#salesFunnelView details[open] { background: #fbfdff !important; }
#salesFunnelView details summary span:last-child { color: var(--lo-blue) !important; }

/* Final CTA is made light to match Lead Oracle's calm page rhythm. */
#salesFunnelView > section:last-child,
#salesFunnelView > section:nth-last-child(1) {
  color: var(--lo-ink) !important;
  background: #fff !important;
  border-color: var(--lo-rule) !important;
}
#salesFunnelView > section:last-child .bg-slate-900\/90 {
  background: #f7fbff !important;
  border-color: #d6eaff !important;
  box-shadow: none !important;
}

/* The retained onboarding portal adopts the same white-and-blue visual system without changing its workflow. */
#onboardingPortalView.theme-hero-bg {
  color: var(--lo-ink) !important;
  background: #f8fafc !important;
}
#onboardingPortalView .text-white,
#onboardingPortalView .text-slate-900,
#onboardingPortalView .text-slate-950 { color: var(--lo-ink) !important; }
#onboardingPortalView .text-slate-200,
#onboardingPortalView .text-slate-300,
#onboardingPortalView .text-slate-400 { color: var(--lo-copy) !important; }
#onboardingPortalView .bg-slate-950,
#onboardingPortalView .bg-slate-950\/70,
#onboardingPortalView .bg-slate-900,
#onboardingPortalView .bg-slate-900\/90,
#onboardingPortalView .bg-slate-800,
#onboardingPortalView .bg-slate-800\/70 {
  background: #fff !important;
}
#onboardingPortalView [class*="border-slate-"] { border-color: #e1e7ee !important; }
#onboardingPortalView .bg-amber-400,
#onboardingPortalView .theme-cta-btn {
  color: #fff !important;
  background: var(--lo-blue) !important;
  border-color: var(--lo-blue) !important;
  box-shadow: none !important;
}
#onboardingPortalView .text-amber-400,
#onboardingPortalView .text-amber-300 { color: #0878df !important; }
#onboardingPortalView .text-emerald-400 { color: #0c9a69 !important; }
#onboardingPortalView input,
#onboardingPortalView select,
#onboardingPortalView textarea { color: var(--lo-ink) !important; background: #fff !important; border-color: #d9e2eb !important; }

/* Modals retain all fields and states, with a quieter version of the same visual system. */
#surveyModal { background: rgba(15, 23, 42, .48) !important; backdrop-filter: blur(5px) !important; }
#surveyModal .theme-cta-btn,
#surveyModal #stepProgress { color: #fff !important; background: var(--lo-blue) !important; box-shadow: none !important; }
#surveyModal .theme-light-badge { color: #0878df !important; background: #edf7ff !important; border-color: #c8e5ff !important; }
#manusPackageModal { background: rgba(15, 23, 42, .48) !important; }
#manusPackageModal > div { color: var(--lo-ink) !important; background: #fff !important; border-color: #e2e8f0 !important; }
#manusPackageModal .bg-slate-950,
#manusPackageModal .bg-slate-900,
#manusPackageModal .bg-slate-800 { background: #f8fafc !important; }
#manusPackageModal .text-white,
#manusPackageModal .text-slate-200,
#manusPackageModal .text-slate-300 { color: var(--lo-ink) !important; }
#manusPackageModal .text-blue-300,
#manusPackageModal .text-amber-400 { color: #0878df !important; }
#manusPackageModal .bg-amber-400,
#manusPackageModal .bg-blue-600 { color: #fff !important; background: var(--lo-blue) !important; }
#manusPackageModal textarea { color: #334155 !important; background: #fff !important; }

/* Footer retains every disclosure but uses the light disclosure style from the reference. */
footer.bg-slate-950 {
  color: #7a8797 !important;
  background: #fff !important;
  border-top: 1px solid var(--lo-rule) !important;
}
footer .text-slate-400,
footer .text-slate-500 { color: #7a8797 !important; }
footer strong { color: #475569 !important; }
footer .border-slate-900 { border-color: var(--lo-rule) !important; }
footer .hover\:text-white:hover { color: var(--lo-blue) !important; }

@media (max-width: 640px) {
  #adminPreviewToolbar { position: static !important; }
  #salesFunnelView > header.theme-hero-bg { padding-top: 2.25rem !important; padding-bottom: 2.7rem !important; }
  #salesFunnelView > header .theme-callout {
    margin-bottom: .8rem !important;
    line-height: 1.25 !important;
  }
  #salesFunnelView > header .theme-callout .callout-label {
    display: block;
    margin-bottom: .25rem;
    color: #64748b !important;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  #salesFunnelView > header .theme-callout #heroAudience {
    display: block;
    max-width: 20rem;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.35;
    letter-spacing: 0;
  }
  #salesFunnelView > header h1 {
    font-size: clamp(1.75rem, 7.5vw, 2rem) !important;
    line-height: 1.13 !important;
    letter-spacing: -.04em !important;
  }
  #salesFunnelView > header #headlineGuaranteed {
    font-size: clamp(1.65rem, 7vw, 1.8rem) !important;
    line-height: 1.16 !important;
    letter-spacing: -.035em !important;
    text-wrap: balance;
  }
  #salesFunnelView > header #headlineGuaranteed .theme-guaranteed-pill {
    display: inline-block;
    padding: .03em .34em !important;
    border-radius: .5rem !important;
    line-height: 1.1 !important;
    white-space: nowrap;
  }
  #salesFunnelView > header .iclosed-booking { border-radius: .65rem; }
  #salesFunnelView > header .theme-cta-btn { width: 100% !important; min-width: 0 !important; }
  #salesFunnelView section { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  #salesFunnelView h2 { font-size: clamp(1.72rem, 8.4vw, 2.25rem) !important; }
  #salesFunnelView .rounded-3xl { border-radius: .65rem !important; }
}
