/* marketing-light.css — the marketing site's light theme (2026-11-05).
   Loaded by every marketing page AFTER its own <style>, so these rules win.
   Pages opt in with <body class="theme-light …">. Inline dark styles are
   caught by the attribute selectors below so the pages did not need a
   line-by-line rewrite. Decorative effects (glows, gradient text, entry
   animations, dot grids) are switched off here rather than page by page. */

:root { color-scheme: light; }

/* Warm off-white with a faint paper grain, so white cards and buttons read as surfaces. */
body.theme-light, body.theme-light.bg-gray-950 { background: #f6f5f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.25 0 0 0 0 0.22 0 0 0 0 0.18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") !important; color: #1f2937; }
body.theme-light .bg-gray-950 { background: transparent !important; }
body.theme-light .bg-gray-900, body.theme-light .bg-gray-900\/50 { background: #f5f8fb !important; }
body.theme-light .bg-gray-800, body.theme-light .bg-gray-800\/50, body.theme-light .bg-gray-800\/70, body.theme-light .bg-gray-800\/90 { background: #eef2f7 !important; }
body.theme-light .text-white, body.theme-light .text-gray-100 { color: #1f1f1f !important; }
body.theme-light .text-gray-200 { color: #2b3442 !important; }
body.theme-light .text-gray-300 { color: #374151 !important; }
body.theme-light .text-gray-400 { color: #4b5563 !important; }
body.theme-light .text-gray-500 { color: #6b7280 !important; }
body.theme-light .text-emerald-400, body.theme-light .text-green-400 { color: #047857 !important; }
body.theme-light .text-blue-400, body.theme-light .text-blue-300, body.theme-light .text-indigo-300, body.theme-light .text-indigo-400 { color: #1d4ed8 !important; }
body.theme-light .text-amber-400, body.theme-light .text-yellow-400 { color: #b45309 !important; }
body.theme-light .text-red-400 { color: #b91c1c !important; }
/* White text stays white on a colored button. */
body.theme-light .text-white[style*="background"],
body.theme-light .text-white[class*="bg-brand"], body.theme-light .text-white[class*="bg-blue"],
body.theme-light .text-white[class*="bg-indigo"], body.theme-light .text-white[class*="bg-emerald"],
body.theme-light .text-white[class*="bg-red"] { color: #fff !important; }
body.theme-light .border-gray-800, body.theme-light .border-gray-700, body.theme-light .border-gray-700\/50,
body.theme-light .border-gray-800\/50 { border-color: #e6e9ee !important; }
body.theme-light hr { border-color: #e6e9ee; }

/* Fixed header (inline dark styles on every page) + dropdown panels */
body.theme-light header { background: rgba(255,255,255,.94) !important; border-bottom-color: #e6e9ee !important; }
body.theme-light .nav-dropdown-panel, body.theme-light .nav-dropdown-panel-inner { background: #ffffff !important; border-color: #e6e9ee !important; }
body.theme-light .marketing-nav-link { color: #374151 !important; }
body.theme-light .marketing-nav-link:hover { color: #1f1f1f !important; }

/* Inline dark surfaces → white cards with a hairline border */
body.theme-light [style*="rgba(17,24,39"], body.theme-light [style*="rgba(17, 24, 39"],
body.theme-light [style*="rgba(15,23,42"], body.theme-light [style*="rgba(15, 23, 42"],
body.theme-light [style*="background: #0f172a"], body.theme-light [style*="background:#0f172a"],
body.theme-light [style*="background: #0b1220"], body.theme-light [style*="background:#0b1220"],
body.theme-light [style*="background: #111827"], body.theme-light [style*="background:#111827"],
body.theme-light [style*="background: #0c1a2c"], body.theme-light [style*="background:#0c1a2c"],
body.theme-light [style*="background: #030712"], body.theme-light [style*="background:#030712"] { background: #ffffff !important; }
body.theme-light [style*="rgba(2,6,23"], body.theme-light [style*="rgba(2, 6, 23"] { background: #f5f8fb !important; }
body.theme-light [style*="rgba(55,65,81"], body.theme-light [style*="rgba(55, 65, 81"],
body.theme-light [style*="rgba(31,41,55"], body.theme-light [style*="rgba(31, 41, 55"] { border-color: #e6e9ee !important; }
/* A modal backdrop is the one dark overlay that must stay an overlay. */
body.theme-light #lead-modal { background: rgba(17,24,39,.55) !important; }

/* Page-level card classes used across the marketing pages */
body.theme-light .card, body.theme-light .res-card, body.theme-light .step, body.theme-light .route,
body.theme-light .privgrid div, body.theme-light .layerbox div, body.theme-light details.faq, body.theme-light details,
body.theme-light .feature-card, body.theme-light .feature-card--featured, body.theme-light .stat-pill,
body.theme-light .section-card, body.theme-light .data-table th {
  background: #ffffff !important; border-color: #e6e9ee !important; box-shadow: 0 1px 2px rgba(16,24,40,.04) !important;
  backdrop-filter: none !important;
}
body.theme-light .feature-card:hover, body.theme-light .feature-card--featured:hover { transform: none !important; border-color: #c7d2fe !important; box-shadow: 0 2px 8px rgba(16,24,40,.08) !important; }
body.theme-light .feature-featured-pill { display: none !important; }
body.theme-light .lead-input, body.theme-light .field, body.theme-light input, body.theme-light textarea, body.theme-light select {
  background: #ffffff; border-color: #d1d5db; color: #111827;
}
body.theme-light .lead-input::placeholder, body.theme-light .field::placeholder { color: #9ca3af; }

/* Inline light-on-dark text colors → readable on white */
body.theme-light [style*="color: #fff"]:not([style*="background"]), body.theme-light [style*="color:#fff"]:not([style*="background"]),
body.theme-light [style*="color: white"]:not([style*="background"]), body.theme-light [style*="color:white"]:not([style*="background"]),
body.theme-light [style*="color: #f3f4f6"], body.theme-light [style*="color:#f3f4f6"],
body.theme-light [style*="color: #e5e7eb"], body.theme-light [style*="color:#e5e7eb"] { color: #1f1f1f !important; }
body.theme-light [style*="color: #d1d5db"], body.theme-light [style*="color:#d1d5db"],
body.theme-light [style*="color: #cbd5e1"], body.theme-light [style*="color:#cbd5e1"],
body.theme-light [style*="color: #94a3b8"], body.theme-light [style*="color:#94a3b8"] { color: #374151 !important; }
body.theme-light [style*="color: #9ca3af"], body.theme-light [style*="color:#9ca3af"] { color: #4b5563 !important; }
body.theme-light [style*="color: #93c5fd"], body.theme-light [style*="color:#93c5fd"],
body.theme-light [style*="color: #7c98fc"], body.theme-light [style*="color:#7c98fc"],
body.theme-light [style*="color: #60a5fa"], body.theme-light [style*="color:#60a5fa"],
body.theme-light [style*="color: #91a7ff"], body.theme-light [style*="color:#91a7ff"] { color: #1d4ed8 !important; }
body.theme-light [style*="color: #f87171"], body.theme-light [style*="color:#f87171"] { color: #b91c1c !important; }
body.theme-light [style*="color: #4ade80"], body.theme-light [style*="color:#4ade80"],
body.theme-light [style*="color: #34d399"], body.theme-light [style*="color:#34d399"],
body.theme-light [style*="color: #6ee7b7"], body.theme-light [style*="color:#6ee7b7"] { color: #047857 !important; }
body.theme-light [style*="color: #fcd34d"], body.theme-light [style*="color:#fcd34d"],
body.theme-light [style*="color: #fde047"], body.theme-light [style*="color:#fde047"],
body.theme-light [style*="color: #fbbf24"], body.theme-light [style*="color:#fbbf24"] { color: #b45309 !important; }
body.theme-light a.hover\:text-gray-300:hover, body.theme-light a.hover\:text-white:hover { color: #111827 !important; }

/* Decorative effects switched off: glows, gradient text, dot grids, entry
   animations, floating screenshots, pulsing rings. */
body.theme-light .hero-glow, body.theme-light .glow, body.theme-light [class*="-glow"]:not(img) { display: none !important; }
body.theme-light img.screenshot-glow { filter: none !important; }
body.theme-light .gradient-text, body.theme-light .gradient-title { background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; -webkit-text-fill-color: currentColor !important; color: #111827 !important; }
body.theme-light .grid-bg { background-image: none !important; }
body.theme-light [class*="anim-"], body.theme-light .float, body.theme-light .fade-up, body.theme-light .fade-in { animation: none !important; opacity: 1 !important; transform: none !important; }
body.theme-light .hs-ring::after, body.theme-light .liq-ring::after { animation: none !important; box-shadow: none !important; opacity: 1 !important; transform: none !important; }
body.theme-light .hs-ring { box-shadow: none !important; }
body.theme-light .hs-num { text-shadow: none !important; }
body.theme-light .video-wrapper { box-shadow: 0 2px 12px rgba(16,24,40,.12); border-color: #e6e9ee; }
body.theme-light .brand-strip { background: #f5f8fb; border-color: #e6e9ee; }
body.theme-light .brand-item { border: 1px solid #e6e9ee; box-shadow: none; }
body.theme-light .brand-more a { color: #1d4ed8; }
body.theme-light footer { border-color: #e6e9ee !important; }

/* More inline pastel text colors (indigo/sky/pink/yellow accents) */
body.theme-light [style*="color: #a5b4fc"], body.theme-light [style*="color:#a5b4fc"],
body.theme-light [style*="color: #818cf8"], body.theme-light [style*="color:#818cf8"],
body.theme-light [style*="color: #c7d2fe"], body.theme-light [style*="color:#c7d2fe"],
body.theme-light [style*="color: #bfdbfe"], body.theme-light [style*="color:#bfdbfe"] { color: #3730a3 !important; }
body.theme-light [style*="color: #67e8f9"], body.theme-light [style*="color:#67e8f9"],
body.theme-light [style*="color: #22d3ee"], body.theme-light [style*="color:#22d3ee"] { color: #0e7490 !important; }
body.theme-light [style*="color: #f472b6"], body.theme-light [style*="color:#f472b6"] { color: #be185d !important; }
body.theme-light [style*="color: #fde68a"], body.theme-light [style*="color:#fde68a"],
body.theme-light [style*="color: #facc15"], body.theme-light [style*="color:#facc15"] { color: #a16207 !important; }

/* White buttons need an edge on an off-white page */
body.theme-light a[style*="background: #fff"], body.theme-light a[style*="background:#fff"],
body.theme-light a[style*="background: #ffffff"], body.theme-light a[style*="background:#ffffff"],
body.theme-light .store-btn[style*="#fff"] { background: #ffffff !important; border: 1px solid #c7ccd4 !important; color: #111827 !important; box-shadow: 0 1px 2px rgba(16,24,40,.08); }
body.theme-light a[style*="background: #fff"]:hover, body.theme-light a[style*="background:#fff"]:hover { background: #eef0f3 !important; }

/* Tighter vertical rhythm between cards/sections (2026-11-05). The pages set
   their section padding inline; these override it everywhere at once. */
body.theme-light section[style*="padding: 3rem 0"] { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
body.theme-light section[style*="padding: 3.5rem 0"],
body.theme-light section[style*="padding: 4rem 0"],
body.theme-light section[style*="padding: 4.5rem 0"] { padding-top: 2rem !important; padding-bottom: 2rem !important; }
body.theme-light section[style*="padding-bottom: 4rem"],
body.theme-light section[style*="padding-bottom: 4.5rem"],
body.theme-light section[style*="padding-bottom: 3rem"],
body.theme-light section[style*="padding-bottom: 2.5rem"] { padding-bottom: 1rem !important; }
body.theme-light section[style*="padding: 7.5rem 0 3rem"] { padding-bottom: 1.5rem !important; }
body.theme-light section > div > div[style*="margin-bottom: 3rem"] { margin-bottom: 1.5rem !important; }
body.theme-light .mobile-py { padding-top: 2rem !important; padding-bottom: 2rem !important; }
body.theme-light footer[style*="padding: 3rem 0"] { padding: 1.5rem 0 !important; }

/* ── Dark header over the light page (the old header colour) ───────────── */
body.theme-light header { background: rgba(3, 7, 18, 0.92) !important; border-bottom-color: rgba(255,255,255,.08) !important; }
body.theme-light header .marketing-nav-link { color: #d1d5db !important; }
body.theme-light header .marketing-nav-link:hover { color: #ffffff !important; }
body.theme-light header .nav-home-btn { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.14); color: #e5e7eb !important; }
body.theme-light header .nav-home-btn:hover { background: rgba(255,255,255,.18); }
body.theme-light header .nav-signup-btn { color: #c7d2fe; border-color: #5c7cfa; }
body.theme-light header .nav-signup-btn:hover { color: #fff; background: #4c6ef5; }
/* Inline white/grey text inside the header stays light (the page-wide rule darkens it). */
body.theme-light header [style*="color: #fff"], body.theme-light header [style*="color:#fff"],
body.theme-light header [style*="color: white"], body.theme-light header [style*="color:white"],
body.theme-light header [style*="color: #e5e7eb"], body.theme-light header [style*="color:#e5e7eb"],
body.theme-light header .mkt-nav-toggle { color: #f3f4f6 !important; }
body.theme-light header [style*="color: #9ca3af"], body.theme-light header [style*="color:#9ca3af"] { color: #9ca3af !important; }
body.theme-light header.nav-open .nav-links > a.marketing-nav-link,
body.theme-light header.nav-open .nav-dropdown > a.marketing-nav-link { border-bottom-color: rgba(255,255,255,.1); }
/* Dropdown panels stay white, with dark text, so the menus belong to the page. */
body.theme-light header .nav-dropdown-panel, body.theme-light header .nav-dropdown-panel-inner { background: #ffffff !important; border-color: #e6e9ee !important; }
