/* Advisor placement on the static pages: nav marker, hero secondary CTA note, floating launcher.
   Authored in the app repo (scripts/site-assets); scripts/import-site.sh copies it to public/css. */
.nav-advisor { position: relative; padding-right: 11px; }
.nav-advisor::after { content: ""; position: absolute; top: -1px; right: 0; width: 7px; height: 7px; border-radius: 50%; background: #B6F24A; box-shadow: 0 0 0 2px #fff; }
.mobile-nav-link.nav-advisor::after { display: none; }

.hero-advisor-note { margin: 14px 0 0; font-size: 0.9rem; color: #57536B; }

#advisor-launcher {
  position: fixed; right: 24px; bottom: 24px; z-index: 9999;
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px;
  border-radius: 9999px; background: #14121A; color: #EDEBF2;
  font: 600 15px Inter, system-ui, sans-serif; text-decoration: none; white-space: nowrap;
  box-shadow: 0 14px 38px rgba(20,18,26,.22);
  transition: opacity .2s ease, transform .2s ease, background .18s ease;
}
#advisor-launcher svg { width: 18px; height: 18px; flex: 0 0 auto; color: #B6F24A; }
#advisor-launcher:hover { background: #0A0A0B; }
#advisor-launcher:focus-visible { outline: 3px solid #B6F24A; outline-offset: 3px; }
#advisor-launcher.is-dormant { opacity: 0; transform: translateY(12px); pointer-events: none; }

@media (max-width: 640px) {
  #advisor-launcher { right: auto; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  #advisor-launcher.is-dormant { transform: translate(-50%, 12px); }
  body.has-advisor-launcher { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { #advisor-launcher { transition: none; } }
