/* ============================================================
   MEDIA SLAYER — v2 design layer (light, fluid)
   Loaded after style.css / home.css on every page. It re-maps the
   design tokens to the light theme, then restyles the shared
   components. Page-specific features keep their own markup and JS.
   One heading face everywhere: Plus Jakarta Sans 800, -0.03em.
   ============================================================ */
:root {
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --bg: #f4f1fb;
  --bg-raised: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fbf9ff;
  --line: rgba(42, 18, 64, 0.09);
  --line-strong: rgba(42, 18, 64, 0.17);
  --text: #1c1226;
  --text-dim: #5e5470;
  --text-faint: #857c93;
  --ink: #1c1226;
  --ok: #18a865;
  --red: #e3175f;
  --red-dim: #c4114f;
  --ember: #ff6a2b;
  --violet: #8a3fd1;
  --violet-dim: #6a24ad;
  --chrome: #2a1240;
  --plum: #2a1240;
  --plum-2: #3b1a5a;
  --lilac: #e9e2f7;
  --grad-slash: linear-gradient(110deg, #e3175f 0%, #ff6a2b 100%);
  --grad-violet: linear-gradient(135deg, #8a3fd1 0%, #6a24ad 100%);
  --grad-dark: linear-gradient(180deg, rgba(227, 23, 95, 0.06) 0%, rgba(244, 241, 251, 0) 70%);
  --shadow-glow: 0 14px 30px -14px rgba(227, 23, 95, 0.75);
  --shadow-soft: 0 24px 50px -32px rgba(42, 18, 64, 0.45);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --in: #8a3fd1; --in-deep: #6a24ad; --out: #ff6a2b; --out-deep: #e8551f;
}
html { background: var(--bg); }
body { background: var(--bg); color: var(--text); }
::selection { background: rgba(227, 23, 95, 0.18); }

/* ---------- one heading style ---------- */
h1, h2, h3, h4, .page-hero h1, .hero h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; color: var(--text); text-wrap: balance; }
h1 { line-height: 1.04; }
h3, h4 { font-weight: 700; letter-spacing: -0.02em; }
h2 { line-height: 1.08; }
.text-gradient, .grad-text { background: var(--grad-slash); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { color: var(--text-dim); }
.eyebrow { color: var(--red); background: rgba(227, 23, 95, 0.08); border: 0; padding: 6px 12px; border-radius: 999px; font-weight: 700; }
.eyebrow::before { background: var(--grad-slash); box-shadow: none; }

/* ---------- buttons ---------- */
.btn { border-radius: 16px; }
.btn-primary { background: var(--grad-slash); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { box-shadow: 0 18px 36px -16px rgba(227, 23, 95, 0.85); }
.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--lilac); border-color: transparent; }
.btn-violet { background: var(--plum); color: #fff; box-shadow: none; }

/* ---------- header + "What we do" menu ---------- */
.site-header { background: rgba(244, 241, 251, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.9); border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(42, 18, 64, 0.5); }
.site-header .ms-brand { height: 52px; }
.site-header.is-scrolled .ms-brand { height: 46px; }
.nav-links { gap: 4px; }
.nav-links > a, .nav-links .nav-more-btn { color: var(--text); font: 600 0.95rem var(--font-body); padding: 10px 14px; border-radius: 12px; }
.nav-links > a:hover, .nav-links .nav-more-btn:hover, .nav-more.is-open > .nav-more-btn { background: var(--lilac); color: var(--text); }
.nav-links > a[aria-current="page"] { background: rgba(227, 23, 95, 0.08); color: var(--red); }
.nav-links > a::after { display: none; }
.nav-more-menu { background: #fff; border: 0; border-radius: 22px; box-shadow: 0 30px 70px -30px rgba(42, 18, 64, 0.45); padding: 10px; left: -12px; right: auto; }
.nav-more-menu a { color: var(--text); border-radius: 14px; }
.nav-more-menu a:hover { background: var(--bg); }
.mega-menu { width: 640px; display: none; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav-more.is-open .mega-menu, .nav-more:focus-within .mega-menu { display: grid; }
.mega-menu a { display: grid !important; grid-template-columns: 42px 1fr; gap: 12px; padding: 12px !important; white-space: normal !important; align-items: start; }
.mega-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--lilac); }
.mega-ic svg { width: 21px; height: 21px; stroke: var(--red); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mega-menu b { display: block; font-size: 0.95rem; color: var(--text); }
.mega-menu small { display: block; font-size: 0.82rem; color: var(--text-dim); line-height: 1.4; font-weight: 500; }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bg); border-radius: 14px; padding: 12px 16px; font-size: 0.88rem; color: var(--text-dim); }
.mega-foot a { display: inline !important; padding: 0 !important; color: var(--red) !important; font-weight: 700; }
.ind-menu { min-width: 230px; }
.nav-tel { font-weight: 700; color: var(--text); font-size: 0.95rem; white-space: nowrap; }
.nav-toggle span { background: var(--text); }
.nav-overlay { background: rgba(28, 18, 38, 0.35); }
@media (max-width: 1100px) { .nav-tel { display: none; } }
@media (max-width: 880px) {
  /* backdrop-filter would make the fixed drawer size itself to the header, so the phone header is solid */
  .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(250, 248, 254, 0.98); }
  .nav-links { background: #fff; box-shadow: -30px 0 60px -30px rgba(42, 18, 64, 0.5); justify-content: flex-start; overflow-y: auto; padding: 88px 24px 32px; gap: 4px; }
  .nav-more-menu, .nav-more-menu.mega-menu { display: none; border-left: 0; padding-left: 0; }
  .nav-more.is-open .nav-more-menu, .nav-more.is-open .mega-menu { display: grid; }
  .nav-links .nav-more-btn svg { display: inline-block; width: 14px; height: 14px; transition: transform 0.2s; }
  .nav-more.is-open .nav-more-btn svg { transform: rotate(180deg); }
  .nav-links > a, .nav-links .nav-more-btn { width: 100%; justify-content: space-between; }
  .mega-menu, .ind-menu { position: static; width: auto; box-shadow: none; padding: 4px 0 8px; grid-template-columns: 1fr; }
  .mega-menu a { grid-template-columns: 34px 1fr; padding: 8px !important; }
  .mega-ic { width: 34px; height: 34px; }
  .mega-foot { display: none; }
}

/* ---------- page hero: light, soft color washes ---------- */
.page-hero { background: transparent; text-align: left; padding: clamp(130px, 14vw, 170px) 0 64px; }
.page-hero::before { inset: -10% -10% auto auto; width: 620px; height: 620px; background: radial-gradient(circle, rgba(247, 182, 207, 0.75), transparent 65%); opacity: 1; filter: blur(10px); animation: v2-drift 18s ease-in-out infinite alternate; }
.page-hero::after { content: ""; position: absolute; left: -160px; top: 40px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 203, 246, 0.85), transparent 65%); pointer-events: none; animation: v2-drift 22s ease-in-out infinite alternate-reverse; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-inline: 0; max-width: 900px; font-size: clamp(2.3rem, 5vw, 4rem); }
.page-hero p { margin-inline: 0; max-width: 640px; font-size: 1.15rem; color: var(--text-dim); }
.page-hero .eyebrow.center, .page-hero .center { justify-content: flex-start !important; text-align: left; margin-inline: 0; }
.page-hero-ctas { justify-content: flex-start !important; }
@keyframes v2-drift { to { transform: translate(40px, 30px) scale(1.08); } }

/* ---------- sections become soft rounded plates ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.bg-raised, .section.bg-raised { background: #fff; border-radius: 56px; margin-inline: 12px; }
.section-head h2, .section-head .h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.section-head p { color: var(--text-dim); font-size: 1.1rem; }

/* ---------- cards ---------- */
.card { background: #fff; border: 0; border-radius: 26px; box-shadow: var(--shadow-soft); }
.bg-raised .card { background: var(--bg); box-shadow: none; }
.card:hover { transform: translateY(-4px); background: #fff; border-color: transparent; box-shadow: 0 30px 60px -34px rgba(42, 18, 64, 0.5); }
.card-icon { background: var(--grad-slash); box-shadow: none; border-radius: 14px; }
.card-link { color: var(--red); }

/* ---------- forms ---------- */
input, select, textarea { color: var(--text); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea {
  background: #fff; border-color: var(--line-strong) !important; color: var(--text); }
input::placeholder, textarea::placeholder { color: var(--text-faint); }
input:focus, select:focus, textarea:focus { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(227, 23, 95, 0.12) !important; outline: none; }

/* ---------- tables, accordions, tabs ---------- */
.compare-table th { color: var(--text-dim); }
.compare-table td, .compare-table th { border-color: var(--line); }
.accordion-item { background: #fff; border: 0; border-radius: 20px; margin-bottom: 10px; }
.accordion-trigger { color: var(--text); }
.accordion-trigger .plus { color: var(--red); }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 0; border-radius: 56px 56px 0 0; margin-top: 40px; }
.site-footer .ms-brand.is-footer { height: 70px; }
.footer-col h4 { color: var(--text); }
.footer-col a, .footer-col span { color: var(--text-dim) !important; }
.footer-col a:hover { color: var(--red) !important; }
.footer-social a { border-color: var(--line-strong); color: var(--text); }
.footer-bottom, .footer-bottom a { color: var(--text-faint); }

/* ---------- fixes for pieces that were drawn for the dark theme ---------- */
.rc-screen { box-shadow: var(--shadow-soft); border: 0; }
.rc-side { background: #fff; border: 0; box-shadow: var(--shadow-soft); }
.rc.is-top .rc-big b { color: var(--ok); }
.rc-steps button[aria-pressed="true"] { background: var(--plum); color: #fff; }
.rs2-map, .fr-map { border-color: var(--line); }
.rs2-legend, .rs2-results, .fr-card, .fr-panel, .fr-progress, .rs-form, .fr-steps li { background: #fff; }
.rs-kws, .rs-row input, .fr-cityrow input, .rs2-lead-grid input, .fr-locs li, .fr-review, .fr-cost, .fr-verdict, .rs2-card { background: var(--bg) !important; }
.vq-match, .rs-chip { color: var(--text); }
.rs2-tabs button[aria-pressed="true"], .fr-steps li[aria-current] span { color: #fff; }
.rs-n { color: #fff; }
.fr-table tr.fr-me td { background: rgba(227, 23, 95, 0.08); }
.nav-cta .btn-primary { color: #fff; }

/* subtle drifting color wash behind the whole page */
body::before { content: ""; position: fixed; inset: auto -200px -260px auto; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 208, 181, 0.45), transparent 65%); pointer-events: none; z-index: -1; }

@media (prefers-reduced-motion: reduce) { .page-hero::before, .page-hero::after { animation: none; } }

/* ---------- logo hover: the M's right leg bleeds down into the "l" of Slayer ----------
   .ms-bleed is masked to the logo's letter shapes (logo.js) and clipped to the column
   the M leg and the "l" share (x 199-261, l from y 239 to 410 of the 878x480 artwork).
   Hover grows the clip downward slowly; leaving fades it out, then resets. */
.ms-bleed {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background: linear-gradient(180deg, #fb3f22 49%, #ff6a2b 52%, #e3175f 68%, rgba(227, 23, 95, 0.35) 80%, rgba(227, 23, 95, 0) 86%);
  clip-path: inset(49.6% 70.1% 50.4% 22.6%);
  opacity: 0;
  transition: opacity 0.9s ease, clip-path 0s linear 0.9s;
}
.brand:hover .ms-bleed, .brand:focus-visible .ms-bleed {
  clip-path: inset(49.6% 70.1% 14.2% 22.6%);
  opacity: 1;
  transition: opacity 0.3s ease, clip-path 2.2s cubic-bezier(0.45, 0, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
  .ms-bleed, .brand:hover .ms-bleed { clip-path: inset(49.6% 70.1% 14.2% 22.6%); transition: opacity 0.6s ease; }
}

/* ---------- integration logos (voice-ai.html) ---------- */
.intg-row { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, auto); justify-content: center; gap: 14px; }
/* "+ Most CRMs" drops to the next row, directly under GoHighLevel */
@media (max-width: 900px) { .intg-row { grid-template-columns: repeat(3, auto); } }
.intg { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 14px 20px 14px 14px; box-shadow: var(--shadow-soft); font-weight: 700; color: var(--text); }
.bg-raised .intg { background: var(--bg); box-shadow: none; }
.intg span { white-space: nowrap; }
.intg img { width: 40px; height: 40px; object-fit: contain; }
.intg-plus { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--lilac); color: var(--red); font: 800 1.4rem/1 var(--font-display); }
@media (max-width: 560px) { .intg-row { grid-template-columns: 1fr 1fr; } .intg { padding: 12px; font-size: 0.92rem; } .intg img, .intg-plus { width: 32px; height: 32px; } }

/* ---------- AI search visibility page ---------- */
.ai-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.ai-check { background: #fff; border-radius: 26px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(42, 18, 64, 0.45); display: grid; gap: 12px; }
.ai-check-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; }
.ai-check-head span { font-size: 0.8rem; font-weight: 700; color: var(--ok); background: rgba(24, 168, 101, 0.12); padding: 5px 10px; border-radius: 999px; }
.ai-q { background: var(--bg); border-radius: 14px; padding: 12px 14px; font-size: 0.95rem; color: var(--text); }
.ai-ans { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: a; }
.ai-ans li { counter-increment: a; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; font-size: 0.95rem; }
.ai-ans li::before { content: counter(a); width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--lilac); font-size: 0.8rem; font-weight: 700; }
.ai-ans li.you { background: rgba(227, 23, 95, 0.08); font-weight: 700; }
.ai-ans li.you::before { background: var(--grad-slash); color: #fff; }
.ai-engines { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-engines span { font-size: 0.8rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--bg); color: var(--text-dim); }
.page-hero p.ai-note, .ai-note { font-size: 0.8rem; color: var(--text-faint); margin: 0; }
.ai-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ai-steps .card-icon svg, .ai-list svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ai-split h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.ai-split p { margin: 16px 0 24px; font-size: 1.08rem; }
.ai-list { list-style: none; margin: 0; padding: 28px; display: grid; gap: 14px; background: #fff; border-radius: 26px; box-shadow: var(--shadow-soft); }
.ai-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--text); }
.ai-list svg { flex-shrink: 0; width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--grad-slash); stroke-width: 3; }
.ai-band { background: var(--plum); border-radius: 40px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.ai-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.ai-band p { color: rgba(255, 255, 255, 0.75); margin-top: 12px; }
.ai-band-acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.btn-light { background: #fff; color: var(--plum); }
@media (max-width: 900px) {
  .ai-hero, .ai-split, .ai-band { grid-template-columns: 1fr; }
  .ai-steps { grid-template-columns: 1fr; }
  .ai-band-acts { justify-content: flex-start; }
}

/* in-page links land below the fixed header */
section[id] { scroll-margin-top: 72px; }

/* ---------- demo report (demo-report.html): four printed-style pages ---------- */
.dm-top { padding: clamp(120px, 12vw, 150px) 0 28px; }
.dm-banner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: end; }
.dm-banner h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-top: 10px; }
.dm-banner p { margin-top: 12px; font-size: 1.08rem; max-width: 44em; }
.dm-banner-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.dm-pages { display: grid; gap: 28px; max-width: 980px; }
.dm-sheet { background: #fff; border-radius: 10px; padding: clamp(18px, 3.5vw, 40px); box-shadow: 0 30px 60px -36px rgba(42, 18, 64, 0.55), 0 0 0 1px rgba(42, 18, 64, 0.06); display: flex; flex-direction: column; gap: 18px; }
.dm-sheet .fr-card { background: #fff; border: 1px solid var(--line); box-shadow: none; }
.dm-run { display: flex; justify-content: space-between; gap: 12px; font-size: 0.8rem; color: var(--text-faint); border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.dm-maprow { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 24px; align-items: center; }
.dm-map { width: 100%; height: auto; display: block; }
.dm-small { font-size: 0.9rem; margin: 6px 0 12px; }
.fr-table td.n, .fr-table th.n { text-align: right; font-variant-numeric: tabular-nums; }
.dm-thumb body { background: #fff; }
.dm-thumb .site-header, .dm-thumb .nav-overlay, .dm-thumb .dm-top, .dm-thumb .site-footer, .dm-thumb .dm ~ *, .dm-thumb .dm > .section, .dm-thumb body::before { display: none !important; }
.dm-thumb .dm-pages { padding: 0; margin: 0; max-width: none; }
.dm-thumb .dm-sheet { box-shadow: none; border-radius: 0; }
@media (max-width: 760px) { .dm-banner, .dm-maprow { grid-template-columns: 1fr; } .dm-banner-acts { justify-content: flex-start; } }

/* ---------- full report page: fanned demo pages + price ---------- */
.fr-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.fr-price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 4px; }
.fr-price b { font: 800 2.6rem/1 var(--font-display); letter-spacing: -0.03em; color: var(--text); }
.fr-price span { color: var(--text-dim); font-weight: 600; }
.fan { position: relative; display: block; height: 420px; text-decoration: none; color: var(--text); }
.fan img { position: absolute; left: 4%; top: 10px; width: 50%; height: auto; aspect-ratio: 820 / 1060; object-fit: cover; object-position: top; border-radius: 8px; background: #fff;
  box-shadow: 0 24px 50px -24px rgba(42, 18, 64, 0.55), 0 0 0 1px rgba(42, 18, 64, 0.08); transform-origin: 50% 110%; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fan img:nth-child(1) { transform: rotate(-6deg); z-index: 4; }
.fan img:nth-child(2) { transform: translateX(14%) rotate(2deg); z-index: 3; }
.fan img:nth-child(3) { transform: translateX(28%) rotate(10deg); z-index: 2; }
.fan img:nth-child(4) { transform: translateX(42%) rotate(18deg); z-index: 1; }
.fan:hover img:nth-child(1), .fan:focus-visible img:nth-child(1) { transform: rotate(-8deg) translateY(-6px); }
.fan:hover img:nth-child(2), .fan:focus-visible img:nth-child(2) { transform: translateX(20%) rotate(3deg); }
.fan:hover img:nth-child(3), .fan:focus-visible img:nth-child(3) { transform: translateX(40%) rotate(13deg); }
.fan:hover img:nth-child(4), .fan:focus-visible img:nth-child(4) { transform: translateX(56%) rotate(22deg); }
.fan-cta { position: absolute; left: 6%; bottom: 0; z-index: 5; display: inline-flex; align-items: center; gap: 8px; background: var(--plum); color: #fff; font-weight: 700; padding: 12px 18px; border-radius: 14px; box-shadow: 0 14px 30px -14px rgba(42, 18, 64, 0.8); }
.fr-ordered { background: #fff; border-radius: 26px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-soft); display: grid; gap: 12px; max-width: 720px; }
.fr-ordered h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 900px) { .fr-hero { grid-template-columns: 1fr; } .fan { height: 360px; max-width: 520px; } }
@media (prefers-reduced-motion: reduce) { .fan img { transition: none; } }
.fr-card > .eyebrow, .fr-head > .eyebrow { align-self: flex-start; }
.fr-table th, .rs2-table th, .fr-table th:nth-child(2), .rs2-table th:nth-child(2) { color: var(--text-dim) !important; background: none !important; }
.dm-maprow .fr-legend ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.dm-maprow .fr-legend li div span { display: block; }
html.dm-thumb { background: #fff; }
.dm-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dm-nums div { background: var(--bg); border-radius: 14px; padding: 14px; }
.dm-nums b { display: block; font: 800 1.8rem/1 var(--font-display); color: var(--text); }
.dm-nums span { font-size: 0.85rem; color: var(--text-dim); }
@media (max-width: 600px) { .dm-nums { grid-template-columns: 1fr 1fr; } }
