/* =========================================================
   RankMySalon — unified marketing surfaces (light + dark)
   Uses --rms-* tokens from theme.css. Load after styles.css.
========================================================= */

html[data-theme="light"]:has(body.route-marketing) {
  background: var(--rms-bg) !important;
}

html[data-theme="dark"]:has(body.route-marketing) {
  background: #0d0b1f !important;
}

html[data-theme="light"] body.route-marketing,
html[data-theme="dark"] body.route-marketing {
  background: var(--rms-mkt-page-bg) !important;
  color: var(--rms-text) !important;
}

/* ── Cards & section shells ───────────────────────────────── */
html[data-theme="light"] body.route-marketing .card,
html[data-theme="dark"] body.route-marketing .card,
html[data-theme="light"] body.route-marketing .intel-report-hero.card,
html[data-theme="dark"] body.route-marketing .intel-report-hero.card,
html[data-theme="light"] body.route-marketing .intel-search-toolbar.card,
html[data-theme="dark"] body.route-marketing .intel-search-toolbar.card,
html[data-theme="light"] body.route-marketing .intel-table-card.card,
html[data-theme="dark"] body.route-marketing .intel-table-card.card,
html[data-theme="light"] body.route-marketing .about-page-hero.card,
html[data-theme="dark"] body.route-marketing .about-page-hero.card,
html[data-theme="light"] body.route-marketing .about-page-section.card,
html[data-theme="dark"] body.route-marketing .about-page-section.card,
html[data-theme="light"] body.route-marketing .legal-page-shell.card,
html[data-theme="dark"] body.route-marketing .legal-page-shell.card,
html[data-theme="light"] body.route-marketing .assistant-panel,
html[data-theme="dark"] body.route-marketing .assistant-panel,
html[data-theme="light"] body.route-marketing .assistant-stage,
html[data-theme="dark"] body.route-marketing .assistant-stage,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-hero,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-hero,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-google-cse,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-google-cse,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-toolbar,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-toolbar,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-detail-hero,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-hero,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-detail-shell--report,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report,
html[data-theme="light"] body.route-marketing .lb-detail-error.card,
html[data-theme="dark"] body.route-marketing .lb-detail-error.card,
html[data-theme="light"] body.route-marketing .intel-brief-report,
html[data-theme="dark"] body.route-marketing .intel-brief-report,
html[data-theme="light"] body.route-marketing .intel-brief-report.card,
html[data-theme="dark"] body.route-marketing .intel-brief-report.card {
  background: var(--rms-mkt-card-bg) !important;
  border-color: var(--rms-mkt-card-border) !important;
  box-shadow: var(--rms-mkt-card-shadow) !important;
  color: var(--rms-text) !important;
}

/* ── Typography ───────────────────────────────────────────── */
html[data-theme="light"] body.route-marketing .marketing-section-kicker,
html[data-theme="dark"] body.route-marketing .marketing-section-kicker,
html[data-theme="light"] body.route-marketing .about-page-form-label,
html[data-theme="dark"] body.route-marketing .about-page-form-label,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-detail-kicker,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-kicker,
html[data-theme="light"] body.route-marketing .intel-table thead th,
html[data-theme="dark"] body.route-marketing .intel-table thead th {
  color: var(--rms-kicker) !important;
}

html[data-theme="light"] body.route-marketing .marketing-title,
html[data-theme="dark"] body.route-marketing .marketing-title,
html[data-theme="light"] body.route-marketing .marketing-title-small,
html[data-theme="dark"] body.route-marketing .marketing-title-small,
html[data-theme="light"] body.route-marketing .legal-page-title,
html[data-theme="dark"] body.route-marketing .legal-page-title,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-name,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-name,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-name a,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-name a,
html[data-theme="light"] body.route-marketing .intel-brief-header h1,
html[data-theme="dark"] body.route-marketing .intel-brief-header h1,
html[data-theme="light"] body.route-marketing .intel-brief-overall-title,
html[data-theme="dark"] body.route-marketing .intel-brief-overall-title,
html[data-theme="light"] body.route-marketing .intel-brief-metric-value,
html[data-theme="dark"] body.route-marketing .intel-brief-metric-value,
html[data-theme="light"] body.route-marketing .intel-brief-score-num,
html[data-theme="dark"] body.route-marketing .intel-brief-score-num,
html[data-theme="light"] body.route-marketing .intel-brief-cta-head h2,
html[data-theme="dark"] body.route-marketing .intel-brief-cta-head h2 {
  color: var(--rms-text) !important;
}

html[data-theme="light"] body.route-marketing .marketing-body,
html[data-theme="dark"] body.route-marketing .marketing-body,
html[data-theme="light"] body.route-marketing .marketing-body-wide,
html[data-theme="dark"] body.route-marketing .marketing-body-wide,
html[data-theme="light"] body.route-marketing .legal-page-intro,
html[data-theme="dark"] body.route-marketing .legal-page-intro,
html[data-theme="light"] body.route-marketing .legal-page-list,
html[data-theme="dark"] body.route-marketing .legal-page-list,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-meta,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-meta,
html[data-theme="light"] body.route-marketing .intel-td-address,
html[data-theme="dark"] body.route-marketing .intel-td-address,
html[data-theme="light"] body.route-marketing .intel-brief-overall-summary,
html[data-theme="dark"] body.route-marketing .intel-brief-overall-summary,
html[data-theme="light"] body.route-marketing .intel-brief-location,
html[data-theme="dark"] body.route-marketing .intel-brief-location,
html[data-theme="light"] body.route-marketing .intel-brief-section-label,
html[data-theme="dark"] body.route-marketing .intel-brief-section-label,
html[data-theme="light"] body.route-marketing .intel-brief-cta-head p,
html[data-theme="dark"] body.route-marketing .intel-brief-cta-head p,
html[data-theme="light"] body.route-marketing .intel-brief-cta-feature,
html[data-theme="dark"] body.route-marketing .intel-brief-cta-feature {
  color: var(--rms-text-soft) !important;
}

html[data-theme="light"] body.route-marketing .legal-page-updated,
html[data-theme="dark"] body.route-marketing .legal-page-updated,
html[data-theme="light"] body.route-marketing .intel-brief-preview,
html[data-theme="dark"] body.route-marketing .intel-brief-preview,
html[data-theme="light"] body.route-marketing .intel-brief-generated,
html[data-theme="dark"] body.route-marketing .intel-brief-generated,
html[data-theme="light"] body.route-marketing .intel-brief-cta-footnote,
html[data-theme="dark"] body.route-marketing .intel-brief-cta-footnote {
  color: var(--rms-text-muted) !important;
}

/* ── Links ────────────────────────────────────────────────── */
html[data-theme="light"] body.route-marketing a.landing-link,
html[data-theme="dark"] body.route-marketing a.landing-link,
html[data-theme="light"] body.route-marketing a.intel-salon-link,
html[data-theme="dark"] body.route-marketing a.intel-salon-link,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-menu-item--link,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-menu-item--link,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-detail-topbar .lb-back,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-topbar .lb-back {
  color: var(--rms-link) !important;
}

html[data-theme="light"] body.route-marketing a.landing-link:hover,
html[data-theme="dark"] body.route-marketing a.landing-link:hover,
html[data-theme="light"] body.route-marketing a.intel-salon-link:hover,
html[data-theme="dark"] body.route-marketing a.intel-salon-link:hover {
  color: var(--rms-link-hover) !important;
}

/* ── Inputs & selects ─────────────────────────────────────── */
html[data-theme="light"] body.route-marketing .intel-search-input,
html[data-theme="dark"] body.route-marketing .intel-search-input,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-search-input,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-search-input,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-select,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-select,
html[data-theme="light"] body.route-marketing .about-page-form-control,
html[data-theme="dark"] body.route-marketing .about-page-form-control,
html[data-theme="light"] body.route-marketing .about-page-form-select,
html[data-theme="dark"] body.route-marketing .about-page-form-select {
  background: var(--rms-input-bg) !important;
  border-color: var(--rms-input-border) !important;
  color: var(--rms-input-text) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body.route-marketing .intel-search-input::placeholder,
html[data-theme="dark"] body.route-marketing .intel-search-input::placeholder,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-search-input::placeholder,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-search-input::placeholder,
html[data-theme="light"] body.route-marketing .about-page-form-control::placeholder,
html[data-theme="dark"] body.route-marketing .about-page-form-control::placeholder {
  color: var(--rms-input-placeholder) !important;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-select-wrap,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-select-wrap,
html[data-theme="light"] body.route-marketing .intel-search-label,
html[data-theme="dark"] body.route-marketing .intel-search-label,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-count,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-count,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-pager-meta,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-pager-meta {
  color: var(--rms-text-muted) !important;
}

/* ── Ghost / secondary buttons ──────────────────────────── */
html[data-theme="light"] body.route-marketing .ghost,
html[data-theme="dark"] body.route-marketing .ghost,
html[data-theme="light"] body.route-marketing button.ghost.lb-pager-btn,
html[data-theme="dark"] body.route-marketing button.ghost.lb-pager-btn,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-search-btn,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-search-btn,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-hero-request,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-hero-request,
html[data-theme="light"] body.route-marketing .intel-list-cta,
html[data-theme="dark"] body.route-marketing .intel-list-cta {
  background: var(--rms-ghost-bg) !important;
  border-color: var(--rms-ghost-border) !important;
  color: var(--rms-ghost-text) !important;
}

html[data-theme="light"] body.route-marketing .ghost:hover:not(:disabled),
html[data-theme="dark"] body.route-marketing .ghost:hover:not(:disabled),
html[data-theme="light"] body.route-marketing button.ghost.lb-pager-btn:hover:not(:disabled),
html[data-theme="dark"] body.route-marketing button.ghost.lb-pager-btn:hover:not(:disabled),
html[data-theme="light"] body.route-marketing .intel-list-cta:hover,
html[data-theme="dark"] body.route-marketing .intel-list-cta:hover {
  background: var(--rms-ghost-hover-bg) !important;
  border-color: rgba(232, 160, 213, 0.45) !important;
  color: var(--rms-link-hover) !important;
}

/* ── Category pills ───────────────────────────────────────── */
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-cat-pill,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-cat-pill {
  background: var(--rms-pill-bg) !important;
  border-color: var(--rms-pill-border) !important;
  color: var(--rms-pill-text) !important;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-cat-pill.is-active,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-cat-pill.is-active {
  background: var(--rms-pill-active-bg) !important;
  border-color: transparent !important;
  color: var(--rms-pill-active-text) !important;
}

/* ── Tabs ─────────────────────────────────────────────────── */
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-tabs,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-tabs {
  border-bottom-color: var(--rms-mkt-card-border) !important;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-tab,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-tab {
  color: var(--rms-tab-muted) !important;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-tab.is-active,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-tab.is-active {
  color: var(--rms-tab-active) !important;
  border-bottom-color: var(--rms-tab-active-border) !important;
}

/* ── Leaderboard metrics & stats ──────────────────────────── */
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-metrics .lb-metric,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-metrics .lb-metric,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-metric-muted,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-metric-muted,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-stat,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-stat {
  background: var(--rms-mkt-inset) !important;
  border-color: var(--rms-mkt-card-border) !important;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-metric-val,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-metric-val,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-stat-val,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-stat-val,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-hero .marketing-title,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-hero .marketing-title {
  color: var(--rms-text) !important;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-metric-lbl,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-metric-lbl,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-stat-lbl,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-stat-lbl,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-stat-sub,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-stat-sub,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-hero-sub,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-hero-sub,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-live-pill,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-live-pill {
  color: var(--rms-text-soft) !important;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-hero-accent,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-hero-accent {
  color: var(--rms-gold) !important;
}

/* ── Table rows ───────────────────────────────────────────── */
html[data-theme="light"] body.route-marketing .intel-table thead th,
html[data-theme="dark"] body.route-marketing .intel-table thead th {
  background: var(--rms-mkt-inset) !important;
  border-bottom-color: var(--rms-mkt-card-border) !important;
}

html[data-theme="light"] body.route-marketing .intel-table tbody td,
html[data-theme="dark"] body.route-marketing .intel-table tbody td {
  border-bottom-color: var(--rms-mkt-card-border) !important;
  color: var(--rms-text) !important;
}

html[data-theme="light"] body.route-marketing .intel-table-row:hover td,
html[data-theme="dark"] body.route-marketing .intel-table-row:hover td {
  background: var(--rms-gold-soft) !important;
}

html[data-theme="light"] body.route-marketing .intel-metric strong,
html[data-theme="dark"] body.route-marketing .intel-metric strong {
  color: var(--rms-text) !important;
}

html[data-theme="light"] body.route-marketing .intel-error,
html[data-theme="dark"] body.route-marketing .intel-error {
  color: var(--rms-danger) !important;
}

/* ── Brief report internals ───────────────────────────────── */
html[data-theme="light"] body.route-marketing .marketing-page-intel-brief,
html[data-theme="dark"] body.route-marketing .marketing-page-intel-brief {
  background: transparent !important;
}

html[data-theme="light"] body.route-marketing .intel-brief-overall,
html[data-theme="dark"] body.route-marketing .intel-brief-overall,
html[data-theme="light"] body.route-marketing .intel-brief-scorecard,
html[data-theme="dark"] body.route-marketing .intel-brief-scorecard,
html[data-theme="light"] body.route-marketing .intel-brief-growth,
html[data-theme="dark"] body.route-marketing .intel-brief-growth,
html[data-theme="light"] body.route-marketing .intel-brief-competitors,
html[data-theme="dark"] body.route-marketing .intel-brief-competitors {
  border-color: var(--rms-mkt-card-border) !important;
}

html[data-theme="light"] body.route-marketing .intel-brief-service-row,
html[data-theme="dark"] body.route-marketing .intel-brief-service-row {
  background: var(--rms-mkt-inset) !important;
  color: var(--rms-text-soft) !important;
}

html[data-theme="light"] body.route-marketing .intel-brief-bar-track,
html[data-theme="dark"] body.route-marketing .intel-brief-bar-track {
  background: var(--rms-mkt-inset) !important;
}

html[data-theme="light"] body.route-marketing .intel-brief-cta,
html[data-theme="dark"] body.route-marketing .intel-brief-cta {
  border-color: rgba(232, 160, 213, 0.35) !important;
  background: var(--rms-mkt-card-bg) !important;
}

html[data-theme="light"] body.route-marketing .intel-brief-cta-price,
html[data-theme="dark"] body.route-marketing .intel-brief-cta-price {
  color: var(--rms-text) !important;
}

html[data-theme="light"] body.route-marketing .intel-brief-cta-actions .intel-offer-pay-btn,
html[data-theme="dark"] body.route-marketing .intel-brief-cta-actions .intel-offer-pay-btn {
  background: var(--rms-cta-pay-bg) !important;
  color: var(--rms-cta-pay-text) !important;
}

html[data-theme="light"] body.route-marketing .intel-brief-score-label,
html[data-theme="dark"] body.route-marketing .intel-brief-score-label {
  color: var(--rms-text-soft) !important;
}

/* Score badge colors stay semantic in both themes */
html[data-theme="light"] body.route-marketing .intel-brief-badge--success,
html[data-theme="dark"] body.route-marketing .intel-brief-badge--success {
  background: rgba(52, 211, 153, 0.15) !important;
  color: var(--rms-score-good) !important;
}

html[data-theme="light"] body.route-marketing .intel-brief-badge--warning,
html[data-theme="dark"] body.route-marketing .intel-brief-badge--warning {
  background: rgba(251, 191, 36, 0.15) !important;
  color: var(--rms-score-fair) !important;
}

html[data-theme="light"] body.route-marketing .intel-brief-badge--danger,
html[data-theme="dark"] body.route-marketing .intel-brief-badge--danger {
  background: rgba(248, 113, 113, 0.12) !important;
  color: var(--rms-score-weak) !important;
}

html[data-theme="light"] body.route-marketing .intel-brief-competitors-lock,
html[data-theme="dark"] body.route-marketing .intel-brief-competitors-lock {
  background: color-mix(in srgb, var(--rms-bg-card) 82%, transparent) !important;
}

/* ── Popovers & menus ─────────────────────────────────────── */
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-menu-popover,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-menu-popover {
  background: var(--rms-bg-card-2) !important;
  border-color: var(--rms-mkt-card-border) !important;
  box-shadow: var(--rms-shadow-soft) !important;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-menu-item,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-menu-item {
  color: var(--rms-text) !important;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-menu-item:hover,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-menu-item:hover {
  background: var(--rms-gold-soft) !important;
}

/* ── Contact modal ────────────────────────────────────────── */
html[data-theme="light"] body.route-marketing .marketing-contact-modal-panel,
html[data-theme="dark"] body.route-marketing .marketing-contact-modal-panel {
  background: var(--rms-mkt-card-bg) !important;
  border-color: var(--rms-mkt-card-border) !important;
  color: var(--rms-text) !important;
}

html[data-theme="light"] body.route-marketing .marketing-contact-modal-title,
html[data-theme="dark"] body.route-marketing .marketing-contact-modal-title {
  color: var(--rms-text) !important;
}

html[data-theme="light"] body.route-marketing .marketing-contact-modal-lead,
html[data-theme="dark"] body.route-marketing .marketing-contact-modal-lead {
  color: var(--rms-text-soft) !important;
}

/* ── Analysis admin tabs (Maps → report) ─────────────────── */
.intel-analysis-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.intel-analysis-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--panel-border, rgba(0, 0, 0, 0.12));
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  background: color-mix(in srgb, var(--panel, #fff) 88%, transparent);
}

.intel-analysis-tab.is-active {
  border-color: color-mix(in srgb, var(--accent, #c45c26) 55%, transparent);
  background: color-mix(in srgb, var(--accent, #c45c26) 12%, var(--panel, #fff));
}

.intel-map-generate-panel {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.intel-map-generate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ── Refined desktop homepage sections ───────────────── */
@keyframes rmsFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rmsGlowDrift {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(18px, 12px) scale(1.08);
  }
}

@keyframes rmsAccentPulse {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

@keyframes rmsPillFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

.rms-overview-desktop {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  max-width: 1180px;
  margin: 0 auto;
}

.rms-overview-desktop > section,
.rms-overview-desktop > .card,
.rms-overview-desktop > footer {
  animation: rmsFadeUp 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rms-overview-desktop > *:nth-child(1) {
  animation-delay: 0.04s;
}

.rms-overview-desktop > *:nth-child(2) {
  animation-delay: 0.1s;
}

.rms-overview-desktop > *:nth-child(3) {
  animation-delay: 0.16s;
}

.rms-overview-desktop > *:nth-child(4) {
  animation-delay: 0.22s;
}

.rms-overview-desktop > *:nth-child(5) {
  animation-delay: 0.28s;
}

.rms-overview-desktop > *:nth-child(6) {
  animation-delay: 0.34s;
}

.rms-overview-desktop > *:nth-child(7) {
  animation-delay: 0.4s;
}

.rms-overview-desktop > *:nth-child(8) {
  animation-delay: 0.46s;
}

.rms-overview-desktop > *:nth-child(9) {
  animation-delay: 0.52s;
}

@media (prefers-reduced-motion: reduce) {
  .rms-overview-desktop > section,
  .rms-overview-desktop > .card,
  .rms-overview-desktop > footer,
  .marketing-hero-stretched-glow,
  .marketing-hero-benefit-pill,
  .marketing-stat-accent,
  .marketing-hero-rotate-track {
    animation: none !important;
    transition: none !important;
  }

  .marketing-agent-card:hover,
  .marketing-stat-card:hover {
    transform: none !important;
  }
}

.marketing-hero-stretched {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5vw, 60px) clamp(24px, 4vw, 40px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(123, 110, 246, 0.22), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(232, 160, 213, 0.24), transparent 32%),
    linear-gradient(165deg, color-mix(in srgb, var(--rms-mkt-card-bg, #1a1338) 100%, transparent), color-mix(in srgb, var(--rms-mkt-card-bg, #14102e) 100%, transparent));
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.2);
}

.marketing-hero-stretched-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.45;
}

.marketing-hero-stretched-glow--left {
  width: 280px;
  height: 280px;
  top: -80px;
  left: -60px;
  background: rgba(232, 160, 213, 0.35);
  animation: rmsGlowDrift 9s ease-in-out infinite alternate;
}

.marketing-hero-stretched-glow--right {
  width: 320px;
  height: 320px;
  top: -40px;
  right: -80px;
  background: rgba(232, 160, 213, 0.28);
  animation: rmsGlowDrift 11s ease-in-out infinite alternate-reverse;
}

.marketing-hero-stretched-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 18px;
}

.marketing-hero-rotate-headline {
  display: grid;
  gap: 0.2rem;
  justify-items: center;
  margin: 0;
  width: 100%;
}

.marketing-hero-rotate-lead {
  display: block;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.marketing-hero-rotate-tail {
  display: block;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.marketing-hero-rotate-slot {
  position: relative;
  display: block;
  width: min(100%, 720px);
  height: clamp(2.4rem, 5.5vw, 3.6rem);
  overflow: hidden;
  margin: 0.15rem auto 0;
}

.marketing-hero-rotate-track {
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.marketing-hero-rotate-item {
  flex: 0 0 100%;
  height: clamp(2.4rem, 5.5vw, 3.6rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  box-sizing: border-box;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.85rem, 4.8vw, 3.15rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(118deg, #f4a8c7 0%, #d98be0 55%, #b15cc7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 18px rgba(177, 92, 199, 0.32));
}

.marketing-hero-rotate-headline--mobile .marketing-hero-rotate-lead,
.marketing-hero-rotate-headline--mobile .marketing-hero-rotate-tail {
  font-size: clamp(0.95rem, 3.8vw, 1.12rem);
}

.marketing-hero-rotate-headline--mobile .marketing-hero-rotate-slot {
  height: clamp(2rem, 8vw, 2.6rem);
  width: 100%;
}

.marketing-hero-rotate-headline--mobile .marketing-hero-rotate-item {
  height: clamp(2rem, 8vw, 2.6rem);
  font-size: clamp(1.45rem, 6.8vw, 2rem);
  white-space: normal;
  line-height: 1.08;
}

html[data-theme="light"] .marketing-hero-rotate-lead,
html[data-theme="light"] .marketing-hero-rotate-tail {
  color: rgba(21, 21, 21, 0.82);
}

html[data-theme="light"] .marketing-hero-rotate-item {
  background: linear-gradient(118deg, #6b3a8a 0%, #b15cc7 42%, #d98be0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.marketing-hero-benefit-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.marketing-hero-benefit-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(232, 160, 213, 0.28);
  background: linear-gradient(135deg, rgba(232, 160, 213, 0.14), rgba(255, 255, 255, 0.04));
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.marketing-hero-benefit-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.marketing-hero-benefit-pill:nth-child(1) {
  animation: rmsPillFloat 5s ease-in-out infinite;
}

.marketing-hero-benefit-pill:nth-child(2) {
  animation: rmsPillFloat 5s ease-in-out 0.6s infinite;
}

.marketing-hero-benefit-pill:nth-child(3) {
  animation: rmsPillFloat 5s ease-in-out 1.2s infinite;
}

.marketing-hero-benefit-pill:nth-child(1) {
  border-color: rgba(123, 110, 246, 0.35);
  background: linear-gradient(135deg, rgba(123, 110, 246, 0.16), rgba(255, 255, 255, 0.03));
}

.marketing-hero-benefit-pill:nth-child(2) {
  border-color: rgba(232, 160, 213, 0.35);
}

.marketing-hero-benefit-pill:nth-child(3) {
  border-color: rgba(232, 160, 213, 0.35);
  background: linear-gradient(135deg, rgba(232, 160, 213, 0.14), rgba(255, 255, 255, 0.03));
}

.marketing-hero-stretched-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.marketing-hero-stretched-primary-cta {
  min-width: 220px;
  min-height: 54px;
  font-size: 1rem;
  color: #1a0f30;
  box-shadow:
    0 18px 40px rgba(177, 92, 199, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.marketing-hero-stretched-secondary-cta {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.rms-overview-desktop .marketing-hero-brief-trust {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rms-overview-desktop .marketing-trust-title {
  margin: 0 0 10px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.rms-overview-desktop .marketing-trust-list--brief {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rms-overview-desktop .marketing-trust-item {
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.rms-overview-desktop .marketing-trust-item::before {
  display: none;
}

.marketing-results-stats {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.5vw, 40px) clamp(24px, 4vw, 36px);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(232, 160, 213, 0.14), transparent 42%),
    color-mix(in srgb, var(--rms-mkt-card-bg, #111) 96%, transparent);
}

.marketing-results-stats-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.marketing-results-stats-head .marketing-section-title {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.12;
}

.marketing-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.marketing-stat-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 30px 18px 26px;
  border-radius: 24px;
  border: 1px solid var(--rms-mkt-card-border, rgba(255, 255, 255, 0.1));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
    color-mix(in srgb, var(--rms-mkt-card-bg, #111) 94%, transparent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.marketing-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
}

.marketing-stat-accent {
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--rms-gold, #e8a0d5), transparent);
  animation: rmsAccentPulse 3.2s ease-in-out infinite;
}

.marketing-stat-card:nth-child(1) .marketing-stat-accent {
  background: linear-gradient(90deg, transparent, #c89fe0, transparent);
}

.marketing-stat-card:nth-child(3) .marketing-stat-accent {
  background: linear-gradient(90deg, transparent, #d98be0, transparent);
}

.marketing-stat-value {
  margin: 8px 0 0;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #f4a8c7 0%, #e8a0d5 55%, #b15cc7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.marketing-stat-label {
  margin: 12px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--rms-text-soft, rgba(255, 255, 255, 0.72));
}

.marketing-agents-section,
.marketing-testimonials,
.marketing-growth-form,
.marketing-final-cta,
.marketing-faq {
  padding: clamp(28px, 3.5vw, 40px);
  border-radius: 24px;
}

.rms-overview-desktop .marketing-section.marketing-digital-human {
  border-radius: 24px;
  overflow: hidden;
}

.marketing-agents-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(123, 110, 246, 0.18), transparent 48%),
    color-mix(in srgb, var(--rms-mkt-card-bg, #111) 96%, transparent);
}

.marketing-agents-head,
.marketing-testimonials-head {
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
}

.marketing-agents-head .marketing-section-title,
.marketing-testimonials-head .marketing-section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.marketing-agents-body,
.marketing-growth-form-body {
  margin: 14px auto 0;
  max-width: 62ch;
  color: var(--rms-text-soft);
  line-height: 1.75;
}

.marketing-agents-grid,
.marketing-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.marketing-agent-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 300px;
  border-radius: 22px;
  border: 1px solid var(--rms-mkt-card-border, rgba(255, 255, 255, 0.1));
  background: color-mix(in srgb, var(--rms-mkt-card-bg, #111) 94%, transparent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.marketing-agent-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.28);
}

.marketing-agent-visual {
  position: relative;
  min-height: 148px;
  padding: 22px 22px 0;
}

.marketing-agent-step {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.marketing-agent-glow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.75;
}

.marketing-agent-icon {
  position: absolute;
  right: 22px;
  bottom: 8px;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.marketing-agent-icon::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 12px;
  background: currentColor;
  opacity: 0.9;
}

.marketing-agent-card--visibility {
  border-color: rgba(111, 168, 255, 0.28);
}

.marketing-agent-card--visibility .marketing-agent-glow {
  background: rgba(111, 168, 255, 0.55);
}

.marketing-agent-card--visibility .marketing-agent-icon {
  color: #6fa8ff;
}

.marketing-agent-card--visibility .marketing-agent-icon::before {
  clip-path: polygon(50% 8%, 92% 34%, 78% 88%, 22% 88%, 8% 34%);
}

.marketing-agent-card--convert {
  border-color: rgba(227, 196, 101, 0.32);
}

.marketing-agent-card--convert .marketing-agent-glow {
  background: rgba(227, 196, 101, 0.5);
}

.marketing-agent-card--convert .marketing-agent-icon {
  color: #e8a0d5;
}

.marketing-agent-card--convert .marketing-agent-icon::before {
  border-radius: 999px;
}

.marketing-agent-card--retain {
  border-color: rgba(167, 139, 250, 0.3);
}

.marketing-agent-card--retain .marketing-agent-glow {
  background: rgba(167, 139, 250, 0.48);
}

.marketing-agent-card--retain .marketing-agent-icon {
  color: #a78bfa;
}

.marketing-agent-card--retain .marketing-agent-icon::before {
  clip-path: polygon(50% 0%, 100% 36%, 82% 100%, 18% 100%, 0% 36%);
}

.marketing-agent-content {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px 22px 24px;
}

.marketing-agent-name {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.marketing-agent-tagline,
.marketing-testimonial-quote {
  margin: 0;
  color: var(--rms-text-soft);
  line-height: 1.7;
}

.marketing-agent-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.marketing-testimonials {
  background:
    radial-gradient(circle at 0% 100%, rgba(227, 196, 101, 0.08), transparent 40%),
    color-mix(in srgb, var(--rms-mkt-card-bg, #111) 96%, transparent);
}

.marketing-testimonial-card {
  position: relative;
  padding: 26px 24px 22px;
  border-radius: 24px;
  border: 1px solid var(--rms-mkt-card-border, rgba(255, 255, 255, 0.1));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    color-mix(in srgb, var(--rms-mkt-card-bg, #111) 92%, transparent);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.marketing-testimonial-card::before {
  content: "“";
  position: absolute;
  top: 8px;
  right: 18px;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(227, 196, 101, 0.18);
  font-family: Georgia, serif;
}

.marketing-testimonial-quote {
  position: relative;
  z-index: 1;
  font-size: 0.98rem;
}

.marketing-testimonial-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 16px;
}

.marketing-testimonial-metric {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.marketing-testimonial-metric strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #f4a8c7, #e8a0d5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.marketing-testimonial-metric span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rms-text-muted);
}

.marketing-testimonial-footer {
  display: grid;
  gap: 4px;
  font-style: normal;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.marketing-testimonial-footer cite {
  font-weight: 800;
  font-style: normal;
}

.marketing-growth-form {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: start;
  background:
    radial-gradient(circle at 100% 0%, rgba(227, 196, 101, 0.12), transparent 38%),
    color-mix(in srgb, var(--rms-mkt-card-bg, #111) 96%, transparent);
}

.marketing-growth-form-copy .marketing-section-title {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.marketing-growth-form-shell .marketing-hero-brief-form {
  margin: 0;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.marketing-final-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(32px, 4vw, 44px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(227, 196, 101, 0.16), rgba(111, 168, 255, 0.08)),
    color-mix(in srgb, var(--rms-mkt-card-bg, #111) 94%, transparent);
  border: 1px solid rgba(227, 196, 101, 0.22);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.marketing-final-cta-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.15;
}

.marketing-final-cta-body {
  margin: 0;
  color: var(--rms-text-soft);
  max-width: 52ch;
  line-height: 1.7;
}

.marketing-final-cta-btn {
  min-width: 240px;
  min-height: 56px;
  font-size: 1rem;
}

.marketing-faq-title {
  margin: 0 0 20px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.marketing-faq-list {
  display: grid;
  gap: 12px;
}

.marketing-faq-item {
  border-radius: 18px;
  border: 1px solid var(--rms-mkt-card-border, rgba(255, 255, 255, 0.1));
  background: color-mix(in srgb, var(--rms-mkt-card-bg, #111) 92%, transparent);
  padding: 0 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.marketing-faq-item[open] {
  border-color: rgba(227, 196, 101, 0.24);
  background: linear-gradient(180deg, rgba(227, 196, 101, 0.06), transparent);
}

.marketing-faq-question {
  cursor: pointer;
  font-weight: 800;
  padding: 18px 0;
  list-style: none;
}

.marketing-faq-question::-webkit-details-marker {
  display: none;
}

.marketing-faq-answer {
  margin: 0 0 18px;
  color: var(--rms-text-soft);
  line-height: 1.7;
}

html[data-theme="light"] .marketing-hero-stretched {
  background:
    radial-gradient(circle at 12% 18%, rgba(111, 168, 255, 0.14), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(227, 196, 101, 0.16), transparent 32%),
    linear-gradient(165deg, rgba(255, 252, 242, 0.98), rgba(249, 244, 232, 0.98));
}

html[data-theme="light"] .marketing-stat-value,
html[data-theme="light"] .marketing-testimonial-metric strong {
  background: linear-gradient(135deg, #8c3aad 0%, #b15cc7 55%, #6b3a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="light"] .marketing-agent-card,
html[data-theme="light"] .marketing-stat-card,
html[data-theme="light"] .marketing-testimonial-card {
  box-shadow: 0 16px 42px rgba(80, 66, 35, 0.12);
}

.about-page-inline-cta {
  margin-top: 20px;
}

.about-page-cta-actions {
  display: grid;
  gap: 14px;
  align-content: start;
}

.about-page-cta-primary {
  width: 100%;
}

/* ── Services page tier tabs (SPA + static) ─────────────── */
.services-page .services-content {
  margin: 18px 0 42px;
}

.services-page .services-hero {
  padding: 34px 36px;
  margin-bottom: 14px;
}

.services-page .services-kicker {
  margin: 0 0 10px;
  color: var(--rms-kicker, #8fb6e6);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.services-page .services-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.services-page .services-hero p {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--rms-text-soft);
  line-height: 1.75;
  font-size: 14px;
}

.services-page .tier-tabs-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.services-page .tier-tab-card {
  position: relative;
  overflow: hidden;
  min-height: 530px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--rms-mkt-card-border, rgba(117, 149, 208, 0.14));
  background: linear-gradient(180deg, color-mix(in srgb, var(--rms-mkt-card-bg, #111c2d) 100%, transparent), color-mix(in srgb, var(--rms-mkt-card-bg, #0b1322) 100%, transparent));
  color: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--rms-mkt-card-shadow, 0 14px 40px rgba(0, 0, 0, 0.22));
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  font-family: inherit;
}

.services-page .tier-tab-card:hover,
.services-page .tier-tab-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(230, 195, 95, 0.32);
}

.services-page .tier-tab-card.popular {
  border-color: rgba(230, 195, 95, 0.36);
}

.services-page .popular-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e6c35f, #f2dfa1);
  color: #07101c;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-page .tab-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  z-index: 0;
}

.services-page .tier-tab-card.popular .tab-bg {
  z-index: 0;
}

.services-page .tab-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-page .tab-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 11, 31, 0.55) 0%, rgba(20, 26, 43, 0.75) 50%, rgba(11, 19, 34, 0.92) 100%);
}

.services-page .tab-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 458px;
}

.services-page .tab-tier {
  display: inline-flex;
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(143, 182, 230, 0.13);
  color: #a8c9f0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-page .tier-tab-card h2 {
  margin: 16px 0 8px;
  font-size: 22px;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.services-page .tier-tab-card p {
  margin: 0;
  max-width: 92%;
  color: var(--rms-text-soft);
  font-size: 12px;
  line-height: 1.55;
}

.services-page .tab-price {
  margin-top: auto;
  color: var(--rms-text-muted);
  font-size: 12px;
  font-weight: 800;
}

.services-page .tab-price strong {
  color: var(--rms-gold, #e6c35f);
  font-size: 20px;
  margin-left: 4px;
}

.services-page .tier-detail-panel {
  padding: 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.services-page .detail-title {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.services-page .detail-text {
  margin: 12px 0 0;
  color: var(--rms-text-soft);
  line-height: 1.7;
  font-size: 13px;
}

.services-page .detail-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.services-page .detail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e8a0d5, #d98be0);
  color: #07101c;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.services-page .detail-contact-cta {
  min-height: 44px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 800;
}

.services-page .detail-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.services-page .detail-products a {
  padding: 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 1120px) {
  .marketing-agents-grid,
  .marketing-testimonials-grid,
  .marketing-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .marketing-growth-form {
    grid-template-columns: 1fr;
  }

  .services-page .tier-tabs-row {
    grid-template-columns: 1fr 1fr;
  }

  .services-page .tier-detail-panel {
    grid-template-columns: 1fr;
  }

  .services-page .detail-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .marketing-stats-grid,
  .marketing-agents-grid,
  .marketing-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .services-page .tier-tabs-row {
    grid-template-columns: 1fr;
  }

  .services-page .tier-detail-panel {
    display: none !important;
  }

  .services-page .tier-tab-card::after {
    content: "Tap to open →";
    position: relative;
    z-index: 3;
    display: inline-flex;
    margin-top: 14px;
    color: var(--rms-gold, #e6c35f);
    font-size: 13px;
    font-weight: 900;
  }
}

/* ── 2026-06-09 Cathy edits: Ryan block cleanup ───────────────────── */
.marketing-digital-human .marketing-section-kicker,
.marketing-digital-human .marketing-digital-body {
  display: none !important;
}

.marketing-digital-human .marketing-digital-heading {
  color: var(--text) !important;
}

.marketing-digital-human {
  text-align: center;
}

/* =========================================================
   Mobile menu fix (2026-06-10 Cathy)
   - Hamburger icon was invisible (no visual styles in inline CSS)
   - Navbar too tall (24px padding x2 wasted ~50px vertical)
   - Panel/backdrop were `display: none` flat, no mobile show rule
   This block:
   1. Turns .marketing-mobile-menu-toggle into a real hamburger button
   2. Compresses .marketing-nav-shell height on mobile
   3. Makes panel + backdrop visible on mobile when body.rms-mobile-menu-open
   ========================================================= */

@media (max-width: 768px) {

  /* ── 1. Compress nav shell height ─────────────────────── */
  body.route-marketing .marketing-nav-shell,
  .marketing-nav-shell {
    min-height: 52px !important;
    padding: 8px 14px !important;
    gap: 10px !important;
  }

  /* ── 2. Hamburger toggle: real button ─────────────────── */
  .marketing-mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    border: 1px solid rgba(232, 160, 213, 0.32) !important;
    background: rgba(232, 160, 213, 0.08) !important;
    color: var(--text, #F5F0FA) !important;
    cursor: pointer !important;
    box-shadow: none !important;
    flex: 0 0 auto !important;
  }

  /* Three-line icon */
  .marketing-mobile-menu-toggle span {
    display: block !important;
    position: relative !important;
    width: 18px !important;
    height: 2px !important;
    background: currentColor !important;
    border-radius: 2px !important;
    box-shadow:
      0 -6px 0 currentColor,
      0 6px 0 currentColor !important;
  }

  /* ── 3. Panel + backdrop: visible & positioned ───────── */
  .marketing-mobile-menu-backdrop {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 1998 !important;
    background: rgba(0, 0, 0, 0.55) !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 220ms ease !important;
  }

  .marketing-mobile-menu-panel {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1999 !important;
    padding: 18px 16px 24px !important;
    max-height: 100vh !important;
    overflow-y: auto !important;
    transform: translateY(-100%) !important;
    transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1) !important;
    background: rgba(13, 11, 31, 0.98) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-bottom: 1px solid rgba(232, 160, 213, 0.24) !important;
    color: var(--text, #F5F0FA) !important;
  }

  /* When menu open: slide in + show backdrop + lock scroll */
  body.rms-mobile-menu-open .marketing-mobile-menu-panel {
    transform: translateY(0) !important;
  }

  body.rms-mobile-menu-open .marketing-mobile-menu-backdrop {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body.rms-mobile-menu-open {
    overflow: hidden !important;
  }

  /* ── 4. Light theme tweaks for panel ─────────────────── */
  html[data-theme="light"] .marketing-mobile-menu-panel {
    background: rgba(250, 247, 252, 0.98) !important;
    color: #1A1430 !important;
    border-bottom-color: rgba(177, 92, 199, 0.28) !important;
  }

  html[data-theme="light"] .marketing-mobile-menu-toggle {
    border-color: rgba(177, 92, 199, 0.32) !important;
    background: rgba(177, 92, 199, 0.08) !important;
  }

  /* ── 5. Collapse extra CTAs on mobile ─────────────────────── */
  /* On mobile, only logo + hamburger are visible in the navbar.
     All other CTAs (Contact, Sign In, language) live in the slide-down panel.
     NOTE: The Contact button is currently still visible due to a styles.css
     900px block forcing `display: inline-flex` on `#marketingContactOpen`
     (specificity 0,1,1,0). To-be-fixed in a follow-up commit. */
  .marketing-nav-shell .marketing-auth-actions,
  .marketing-nav-shell .theme-toggle,
  .marketing-nav-shell .marketing-lang-wrap,
  .marketing-nav-shell .marketing-auth-link {
    display: none !important;
  }
}


/* ── 2026-06-10 Cathy: Talk to Ryan text + weight matches Send my checkup ── */
/* Force the Talk to Ryan button to look like Send my checkup:
   - color #08111d (same dark color)
   - font-weight 800 (Send my checkup uses 800; default .cta uses 600 — that's
     why "color is still too light" per Cathy: the thinner font renders the
     same hex as visually lighter than the 800 Send my checkup).
   - background gradient #e8a0d5 → #d98be0 (same as Send my checkup)
   - text-align: center (Cathy also reported not centered)
   The `!important` re-asserts these so any later rules can't drift it. */
.marketing-digital-human .cta,
.marketing-digital-human .cta:visited,
.marketing-digital-human .cta:hover,
.marketing-digital-human .cta:focus,
.marketing-digital-human .cta:focus-visible,
.marketing-digital-human .cta:active {
  color: #08111d !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #e8a0d5 0%, #d98be0 100%) !important;
  text-align: center !important;
}

/* Make the .marketing-digital-actions flex container center its buttons
   (Talk to Ryan + the secondary "Or Call" link) horizontally. */
.marketing-digital-actions {
  justify-content: center !important;
}

/* ── HOME HERO ──────────────────────────────────────── */
/* All rules prefixed with .home-hero to never leak to other pages. */

.home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100svh;
  background:
    radial-gradient(ellipse 90% 50% at 50% 15%, rgba(123, 110, 246, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 30% 85%, rgba(232, 160, 213, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 70%, rgba(123, 110, 246, 0.08) 0%, transparent 50%),
    #0D0B1F;
  overflow: hidden;
  padding: 0 24px 48px;
  color: #F5F0FA !important;
}

/* ── Floating glow orbs ──────────────────────────────────────── */
.home-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  z-index: 0;
}

.home-hero-orb--1 {
  width: 500px;
  height: 500px;
  top: -120px;
  left: -180px;
  background: radial-gradient(circle, rgba(123, 110, 246, 0.25) 0%, transparent 65%);
  animation: homeOrbDrift1 12s ease-in-out infinite alternate;
}

.home-hero-orb--2 {
  width: 420px;
  height: 420px;
  bottom: -80px;
  right: -100px;
  background: radial-gradient(circle, rgba(232, 160, 213, 0.20) 0%, transparent 65%);
  animation: homeOrbDrift2 14s ease-in-out infinite alternate;
}

.home-hero-orb--3 {
  width: 300px;
  height: 300px;
  top: 40%;
  right: 5%;
  background: radial-gradient(circle, rgba(123, 110, 246, 0.10) 0%, transparent 60%);
  animation: homeOrbDrift3 18s ease-in-out infinite alternate;
}

@keyframes homeOrbDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.08); }
}
@keyframes homeOrbDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, -30px) scale(1.12); }
}
@keyframes homeOrbDrift3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.15); }
}

/* Hide old nav/footer rendered inside app.js analysis content */
.marketing-page-intel .marketing-nav-shell,
.marketing-page-intel .marketing-footer {
  display: none !important;
}

/* ── Top nav bar ──────────────────────────────────────────────── */
.home-hero-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  gap: 24px;
  flex-shrink: 0;
  background: rgba(13, 11, 31, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 160, 213, 0.08);
  transition: background 0.3s ease;
}

/* Push content below sticky nav */
.home-hero {
  padding-top: 72px;
  display: flex;
  flex-direction: column;
}

.home-hero:not([style*="display: none"]) {
  min-height: 100vh;
}

.home-hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.home-hero-brand .brand-part-rank,
.home-hero-brand .brand-part-mysalon {
  color: #F5F0FA !important;
}

.home-hero-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex: 1;
  flex-wrap: nowrap;
}

.home-hero-link {
  color: rgba(245, 240, 250, 0.72);
  text-decoration: none;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  transition: color 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.home-hero-link:hover,
.home-hero-link:focus-visible {
  color: #F5F0FA;
}

/* ── Nav dropdown ──────────────────────────────────── */
.home-hero-dropdown {
  position: relative;
}

.home-hero-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
}

.home-hero-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(26, 19, 56, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(232, 160, 213, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 110;
}

.home-hero-dropdown-menu[hidden] {
  display: none;
}

.home-hero-dropdown-item {
  display: block;
  padding: 10px 16px;
  border-radius: 10px;
  color: rgba(245, 240, 250, 0.78);
  text-decoration: none;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.home-hero-dropdown-item:hover {
  background: rgba(232, 160, 213, 0.12);
  color: #F5F0FA;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.home-hero-signin {
  color: rgba(245, 240, 250, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.home-hero-signin:hover {
  color: #F5F0FA;
}

.home-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #F4A8C7, #D98BE0);
  color: #fff;
  font-size: 0.93rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.home-hero-cta:hover {
  box-shadow: 0 0 24px rgba(217, 139, 224, 0.45);
  transform: translateY(-1px);
}

/* ── Hero content (centered) ──────────────────────────────────── */
.home-hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  padding: 60px 0 40px;
}

.home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(245, 240, 250, 0.18);
  background: rgba(245, 240, 250, 0.06);
  backdrop-filter: blur(8px);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #E8A0D5;
  margin-bottom: 28px;
  white-space: nowrap;
}

.home-hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E8A0D5;
  flex-shrink: 0;
}

.home-hero-headline {
  margin: 0 0 16px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 6.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #F5F0FA !important;
}

.home-hero-headline-line {
  display: block;
}

.home-hero-headline-rotator {
  display: block;
  background: linear-gradient(135deg, #F4A8C7, #D98BE0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero-rotator-word {
  display: none;
}

.home-hero-rotator-word.is-active {
  display: inline;
}

.home-hero-sub {
  max-width: 600px;
  margin: 0 0 36px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(245, 240, 250, 0.65);
}

/* ── CTA buttons ──────────────────────────────────────────────── */
.home-hero-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}

.home-hero-cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #F4A8C7, #D98BE0);
  color: #fff;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.35s ease, transform 0.2s ease;
  overflow: hidden;
}

/* Conic-gradient glowing border */
.home-hero-cta-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  padding: 2px;
  background: conic-gradient(from 0deg at 50% 50%,
    rgba(255,255,255,0.5) 0deg,
    rgba(255,255,255,0) 60deg,
    rgba(255,255,255,0) 300deg,
    rgba(255,255,255,0.5) 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: homeCtaBorderSpin 2.5s infinite linear;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.home-hero-cta-primary:hover::before {
  opacity: 0.7;
}

.home-hero-cta-primary:hover {
  box-shadow: 0 0 32px rgba(217, 139, 224, 0.50);
  transform: translateY(-2px);
}

@keyframes homeCtaBorderSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.home-hero-cta-primary-text {
  position: relative;
  z-index: 1;
}

.home-hero-cta-primary-arrow {
  position: relative;
  z-index: 1;
  font-size: 1.2em;
  transition: transform 0.25s ease;
}

.home-hero-cta-primary:hover .home-hero-cta-primary-arrow {
  transform: translateX(4px);
}

.home-hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(245, 240, 250, 0.20);
  color: rgba(245, 240, 250, 0.85);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.home-hero-cta-secondary:hover {
  background: rgba(245, 240, 250, 0.08);
  border-color: rgba(245, 240, 250, 0.35);
  color: #F5F0FA;
}

.home-hero-cta-secondary-icon {
  font-size: 1.1em;
}

/* ── Benefit bullets ──────────────────────────────────────────── */
.home-hero-benefits {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-hero-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 240, 250, 0.75);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
}

.home-hero-benefits li span:first-child {
  color: #E8A0D5;
  font-size: 1.1rem;
}

/* ── Scroll hint ──────────────────────────────────────────────── */
.home-hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.home-hero-scroll-hint span {
  display: block;
  width: 22px;
  height: 34px;
  border-radius: 12px;
  border: 2px solid rgba(245, 240, 250, 0.20);
  position: relative;
}

.home-hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: rgba(245, 240, 250, 0.40);
  animation: homeScrollDot 2s ease-in-out infinite;
}

@keyframes homeScrollDot {
  0%, 100% { opacity: 1; top: 6px; }
  50%      { opacity: 0.3; top: 14px; }
}

/* ── Scroll-reveal animation ──────────────────────────────────── */
.home-hero-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-hero-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger: eyebrow → headline → sub → cta → benefits */
.home-hero-content .home-hero-reveal:nth-child(1).is-visible { transition-delay: 0.00s; }
.home-hero-content .home-hero-reveal:nth-child(2).is-visible { transition-delay: 0.15s; }
.home-hero-content .home-hero-reveal:nth-child(3).is-visible { transition-delay: 0.30s; }
.home-hero-content .home-hero-reveal:nth-child(4).is-visible { transition-delay: 0.45s; }
.home-hero-content .home-hero-reveal:nth-child(5).is-visible { transition-delay: 0.55s; }

/* ── Tablet ───────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .home-hero-links {
    gap: 14px;
  }
  .home-hero-link {
    font-size: 0.85rem;
  }
  .home-hero {
    padding: 0 18px 40px;
  }
  .home-hero-benefits {
    gap: 16px;
  }
  .home-hero-benefits li {
    font-size: 0.85rem;
  }
  .home-hero-cta-primary {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

/* ── Mobile ───────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .home-hero-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-top: 14px;
  }
  .home-hero-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 16px;
  }
  .home-hero-actions {
    gap: 10px;
  }
  .home-hero-cta {
    padding: 7px 14px;
    font-size: 0.82rem;
  }
  .home-hero-signin {
    font-size: 0.82rem;
  }
  .home-hero-content {
    padding: 40px 0 30px;
  }
  .home-hero-eyebrow {
    font-size: 0.78rem;
    padding: 6px 14px;
  }
  .home-hero-cta-row {
    flex-direction: column;
    gap: 12px;
  }
  .home-hero-cta-primary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .home-hero-cta-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* ── HOME TESTIMONIALS ────────────────────────────────────────── */
.home-testimonials {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px;
  background: transparent;
  text-align: center;
}

.home-testimonials-heading {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--rms-text, #F5F0FA);
  margin: 0 0 48px;
  text-align: center;
}

.home-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  width: 100%;
}

.home-testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: 24px;
  background: var(--rms-bg-card, #1A1338);
  border: 1px solid var(--rms-border, rgba(232, 160, 213, 0.16));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.20);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.30);
}

.home-testimonial-stars {
  font-size: 1.2rem;
  color: var(--rms-gold-strong, #E8A0D5);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.home-testimonial-quote {
  margin: 0 0 20px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--rms-text-soft, #C9C0D8);
  flex: 1;
}

.home-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.home-testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F4A8C7, #D98BE0);
  flex-shrink: 0;
}

.home-testimonial-name {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rms-text, #F5F0FA);
}

.home-testimonial-role {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--rms-text-muted, #8A82A0);
}

.home-testimonial-result {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--rms-border, rgba(232, 160, 213, 0.12));
}

.home-testimonial-result-stat {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--rms-gold-strong, #E8A0D5);
}

.home-testimonial-result-label {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rms-text-muted, #8A82A0);
}

@media (max-width: 820px) {
  .home-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 460px;
  }
  .home-testimonials {
    padding: 60px 18px;
  }
}

/* ── HOME MEET RYAN (top-bottom layout) ──────────────────────────── */
.home-ryan {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px 40px;
}

.home-ryan-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 240, 250, 0.16);
  background: rgba(245, 240, 250, 0.06);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #E8A0D5;
}

.home-ryan-heading {
  margin: 0 0 16px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--rms-text, #F5F0FA);
}

.home-ryan-body {
  margin: 0 0 28px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.65;
  max-width: 600px;
  color: var(--rms-text-soft, #C9C0D8);
}

.home-ryan-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.home-ryan-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #F4A8C7, #D98BE0);
  color: #fff;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.home-ryan-cta:hover {
  box-shadow: 0 0 28px rgba(217, 139, 224, 0.45);
  transform: translateY(-2px);
}

.home-ryan-or {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--rms-text-muted, #8A82A0);
}

.home-ryan-phone {
  color: var(--rms-text-soft, #C9C0D8);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.home-ryan-phone:hover {
  color: #F5F0FA;
}

.home-ryan-video-wrap {
  width: 100%;
  max-width: 600px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a1e3a, #1a1338);
  border: 1px solid rgba(232, 160, 213, 0.20);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
}

.home-ryan-video {
  width: 100%;
  display: block;
}

@media (max-width: 768px) {
  .home-ryan {
    padding: 60px 18px 30px;
  }
  .home-ryan-actions {
    margin-bottom: 30px;
  }
}

/* ── RYAN CHAT MODAL (split layout) ────────────────────────────── */
.home-chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.60);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.home-chat-overlay[hidden] {
  display: none !important;
}

.home-chat-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1000px;
  height: 620px;
  max-height: 88vh;
  border-radius: 24px;
  background: var(--rms-bg-card-2, #1A1338);
  border: 1px solid var(--rms-border, rgba(232, 160, 213, 0.16));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.home-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(232, 160, 213, 0.12);
  flex-shrink: 0;
}

.home-chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(232, 160, 213, 0.30);
  flex-shrink: 0;
}

.home-chat-avatar-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-chat-header-name {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--rms-text, #F5F0FA);
}

.home-chat-header-status {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #4ADE80;
}

.home-chat-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(245, 240, 250, 0.08);
  color: var(--rms-text-soft, #C9C0D8);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.home-chat-close:hover {
  background: rgba(245, 240, 250, 0.15);
  color: #F5F0FA;
}

/* ── Body: left chat + right video ─────────────────────────────── */
.home-chat-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.home-chat-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: 1px solid rgba(232, 160, 213, 0.10);
}

.home-chat-right {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0D0B1F;
  overflow: hidden;
}

.home-chat-right-video {
  width: 100%;
  height: 100%;
}

.home-chat-right-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Suggested topics ──────────────────────────────────────────── */
.home-chat-suggested {
  padding: 14px 16px 8px;
  border-bottom: 1px solid rgba(232, 160, 213, 0.08);
  flex-shrink: 0;
}

.home-chat-suggested-label {
  margin: 0 0 8px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rms-text-muted, #8A82A0);
}

.home-chat-suggested-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.home-chat-suggested-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 160, 213, 0.20);
  background: transparent;
  color: var(--rms-text-soft, #C9C0D8);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.home-chat-suggested-pill:hover {
  border-color: #E8A0D5;
  background: rgba(232, 160, 213, 0.10);
  color: #E8A0D5;
}

/* ── Messages ──────────────────────────────────────────────────── */
.home-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-chat-msg {
  display: flex;
}

.home-chat-msg--ryan {
  justify-content: flex-start;
}

.home-chat-msg--user {
  justify-content: flex-end;
}

.home-chat-msg-bubble {
  max-width: 85%;
  padding: 10px 16px;
  border-radius: 16px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
}

.home-chat-msg--ryan .home-chat-msg-bubble {
  background: rgba(245, 240, 250, 0.08);
  border-bottom-left-radius: 4px;
  color: var(--rms-text-soft, #C9C0D8);
}

.home-chat-msg--user .home-chat-msg-bubble {
  background: linear-gradient(135deg, #F4A8C7, #D98BE0);
  border-bottom-right-radius: 4px;
  color: #fff;
}

/* ── Input row ─────────────────────────────────────────────────── */
.home-chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid rgba(232, 160, 213, 0.08);
  flex-shrink: 0;
}

.home-chat-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 240, 250, 0.12);
  background: rgba(245, 240, 250, 0.06);
  color: var(--rms-text, #F5F0FA);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.home-chat-input:focus {
  border-color: rgba(232, 160, 213, 0.35);
}

.home-chat-input::placeholder {
  color: var(--rms-text-muted, #8A82A0);
}

.home-chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #F4A8C7, #D98BE0);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: box-shadow 0.2s ease;
}

.home-chat-send:hover {
  box-shadow: 0 0 16px rgba(217, 139, 224, 0.45);
}

/* ── Toolbar ───────────────────────────────────────────────────── */
.home-chat-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px 10px;
  border-top: 1px solid rgba(232, 160, 213, 0.06);
  flex-shrink: 0;
}

.home-chat-toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 240, 250, 0.10);
  background: transparent;
  color: var(--rms-text-muted, #8A82A0);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.home-chat-toolbar-btn:hover {
  border-color: rgba(245, 240, 250, 0.20);
  color: var(--rms-text-soft, #C9C0D8);
}

.home-chat-toolbar-btn--end {
  color: #F87171;
  border-color: rgba(248, 113, 113, 0.25);
}

.home-chat-toolbar-btn--end:hover {
  background: rgba(248, 113, 113, 0.10);
  border-color: #F87171;
  color: #F87171;
}

/* ── Get in Touch Form ─────────────────────────────────────────── */
.home-form-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  border-radius: 24px;
  background: var(--rms-bg-card-2, #1A1338);
  border: 1px solid var(--rms-border, rgba(232, 160, 213, 0.16));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.home-form-body {
  padding: 24px;
  overflow-y: auto;
}

.home-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.home-form-label {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rms-text-soft, #C9C0D8);
  letter-spacing: 0.02em;
}

.home-form-input,
.home-form-textarea {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(245, 240, 250, 0.12);
  background: rgba(245, 240, 250, 0.06);
  color: var(--rms-text, #F5F0FA);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease;
  resize: vertical;
}

.home-form-input:focus,
.home-form-textarea:focus {
  border-color: rgba(232, 160, 213, 0.35);
}

.home-form-input::placeholder,
.home-form-textarea::placeholder {
  color: var(--rms-text-muted, #6B6188);
}

.home-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #F4A8C7, #D98BE0);
  color: #fff;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.home-form-submit:hover {
  box-shadow: 0 0 24px rgba(217, 139, 224, 0.40);
  transform: translateY(-1px);
}

.home-form-note {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--rms-text-muted, #8A82A0);
  text-align: center;
}

@media (max-width: 800px) {
  .home-chat-right {
    display: none;
  }
  .home-chat-panel {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 16px;
  }
  .home-chat-left {
    border-right: none;
  }
  .home-chat-suggested-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 640px) {
  .home-chat-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .home-chat-panel {
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
  }
  .home-form-panel {
    max-width: 100%;
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
  }
  .home-form-body {
    padding: 18px;
  }
}

/* ── HOME VIDEO GALLERY ───────────────────────────────────────── */
.home-videos {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px 100px;
  text-align: center;
}

.home-videos-heading {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--rms-text, #F5F0FA);
  margin: 0 0 40px;
  max-width: 600px;
}

.home-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  width: 100%;
}

.home-video-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--rms-bg-card, #1A1338);
  border: 1px solid var(--rms-border, rgba(232, 160, 213, 0.16));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.20);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.30);
}

.home-video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.home-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 820px) {
  .home-videos-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 520px;
  }
  .home-videos {
    padding: 40px 18px 80px;
  }
}

/* ── FAQ ────────────────────────────────────────────────────────── */
.home-faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.home-faq-heading {
  margin: 0 0 12px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  color: var(--rms-text, #F5F0FA);
}

.home-faq-sub {
  margin: 0 0 40px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  color: var(--rms-text-muted, #8A82A0);
}

.home-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-faq-item {
  border-bottom: 1px solid rgba(232, 160, 213, 0.08);
  transition: border-color 0.3s ease;
}

.home-faq-item:first-child {
  border-top: 1px solid rgba(232, 160, 213, 0.08);
}

.home-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 8px 20px 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--rms-text-soft, #C9C0D8);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.home-faq-q::-webkit-details-marker {
  display: none;
}

.home-faq-q::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(232, 160, 213, 0.10);
  color: #E8A0D5;
  font-size: 1.2rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.3s ease, color 0.2s ease;
}

.home-faq-q:hover {
  color: #F5F0FA;
}

.home-faq-q:hover::after {
  background: rgba(232, 160, 213, 0.20);
}

.home-faq-item[open] .home-faq-q::after {
  content: '−';
  background: linear-gradient(135deg, #F4A8C7, #D98BE0);
  color: #fff;
  transform: rotate(90deg);
}

.home-faq-a {
  padding: 0 8px 20px 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--rms-text-muted, #8A82A0);
  animation: homeFaqSlideIn 0.25s ease-out;
}

@keyframes homeFaqSlideIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-faq-cta-wrap {
  text-align: center;
  margin-top: 44px;
}

.home-faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #F4A8C7, #D98BE0);
  color: #fff;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.home-faq-cta:hover {
  box-shadow: 0 0 28px rgba(217, 139, 224, 0.40);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .home-faq {
    padding: 50px 18px 80px;
  }
  .home-faq-q {
    font-size: 0.92rem;
    padding: 16px 4px 16px 0;
  }
  .home-faq-a {
    font-size: 0.86rem;
  }
}

/* ── FOOTER (360AI Media brand, RankMySalon large) ─────────────── */
.home-footer {
  padding: 48px 24px 24px;
  margin-top: 40px;
  border-top: 1px solid rgba(232, 160, 213, 0.08);
  background: linear-gradient(180deg, transparent 0%, rgba(13, 11, 31, 0.08) 100%);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="dark"] .home-footer {
  background: linear-gradient(145deg, #0c1220 0%, #152238 42%, #0a1628 100%);
  border: 1px solid rgba(99, 179, 237, 0.12);
  border-top: 1px solid rgba(99, 179, 237, 0.12);
  box-shadow:
    0 24px 64px rgba(8, 15, 35, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Brand row ────────────────────────────────── */
.home-footer-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  gap: 24px;
}

.home-footer-brand {
  display: grid;
  gap: 8px;
}

/* 360AI Media — large, AI green */
.footer-360ai-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.flp-360 {
  color: #F5F0FA;
  font-weight: 900;
}

.flp-ai {
  color: #00D96F;
  font-weight: 900;
}

.flp-media {
  color: #F5F0FA;
  font-weight: 900;
}

/* RankMySalon — matching header style, large */
.footer-rm-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fb-rank,
.fb-mysalon {
  color: #F5F0FA;
}

.footer-address {
  margin: 0;
  font-size: 0.88rem;
  color: var(--rms-text-muted, #8A82A0);
  line-height: 1.5;
}

/* ── Columns ──────────────────────────────────── */
.home-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.home-footer-col-heading {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rms-text-soft, #C9C0D8);
}

.home-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.home-footer-link {
  color: var(--rms-text-muted, #8A82A0);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.home-footer-link:hover {
  color: #E8A0D5;
}

/* ── SMS Consent ──────────────────────────────── */
.home-footer-sms-consent {
  margin-bottom: 28px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(232, 160, 213, 0.06);
  border: 1px solid rgba(232, 160, 213, 0.10);
}

.home-footer-sms-consent-title {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rms-text, #F5F0FA);
}

.home-footer-sms-consent-text {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--rms-text-muted, #8A82A0);
}

.home-footer-sms-consent-text .home-footer-link {
  font-size: 0.82rem;
  text-decoration: underline;
}

/* ── Bottom bar: copyright left, social right ─── */
.home-footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(232, 160, 213, 0.06);
}

.home-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.home-footer-copy {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--rms-text-muted, #8A82A0);
}

.home-footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.home-footer-social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 240, 250, 0.06);
  color: var(--rms-text-muted, #8A82A0);
  transition: all 0.25s ease;
  text-decoration: none;
}

.home-footer-social-link:hover {
  background: rgba(232, 160, 213, 0.15);
  color: #E8A0D5;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .home-footer {
    padding: 24px 20px 20px;
  }
  /* Mobile: hide brand block + columns, keep only social icons + copyright row */
  .home-footer-brand-row,
  .home-footer-columns {
    display: none !important;
  }
  .home-footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .home-footer-col-heading {
    margin-bottom: 12px;
  }
  .home-footer-links {
    align-items: center;
  }
}

/* ── Analysis page (intel) layout cleanups ────────────────────── */
/* Light theme (default for analysis pages) */
body.route-marketing.route-analysis.route-analysis-list .marketing-page-intel {
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 96px 20px 40px !important;
  box-sizing: border-box !important;
}

@media (min-width: 960px) {
  body.route-marketing.route-analysis.route-analysis-list .marketing-page-intel {
    max-width: 900px !important;
  }
}

@media (max-width: 640px) {
  body.route-marketing.route-analysis.route-analysis-list .marketing-page-intel {
    padding: 16px 12px 30px;
  }
}

@media (max-width: 960px) and (min-width: 641px) {
  body.route-marketing.route-analysis.route-analysis-list .marketing-page-intel {
    padding: 24px 16px 35px;
  }
}

body.route-marketing.route-analysis.route-analysis-list {
  background: transparent !important;
}

/* List page — dark theme (inherits from html[data-theme="dark"]) */
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-list .intel-report-hero,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-list .intel-search-toolbar,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-list .intel-table-card {
  background: var(--rms-bg-card-2, #1A1338) !important;
  border: 1px solid rgba(232, 160, 213, 0.16) !important;
}

/* Hide the first hero section's card styling but keep content visible */
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-list .intel-report-hero {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 28px 0 4px;
  margin-bottom: 0;
}

/* Push search toolbar down, give it a nicer top margin */
body.route-marketing.route-analysis.route-analysis-list .intel-search-toolbar {
  margin-top: 18px;
  padding: 20px 22px;
}

@media (max-width: 640px) {
  body.route-marketing.route-analysis.route-analysis-list .intel-search-toolbar {
    padding: 14px 14px;
    margin-top: 12px;
  }
  body.route-marketing.route-analysis.route-analysis-list .intel-search-input {
    font-size: 14px !important;
  }
}

/* Restyle the search label to serve as page title */
body.route-marketing.route-analysis.route-analysis-list .intel-search-label {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  display: block;
}

@media (max-width: 640px) {
  body.route-marketing.route-analysis.route-analysis-list .intel-search-label {
    font-size: 1.1rem;
  }
}

/* Center search results table */
body.route-marketing.route-analysis.route-analysis-list .intel-table-card {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  width: 100% !important;
}

@media (max-width: 640px) {
  body.route-marketing.route-analysis.route-analysis-list .intel-table-card .intel-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.route-marketing.route-analysis.route-analysis-list .intel-table {
    font-size: 12px !important;
    min-width: auto;
  }
  body.route-marketing.route-analysis.route-analysis-list .intel-table thead th,
  body.route-marketing.route-analysis.route-analysis-list .intel-table tbody td {
    padding: 6px 6px !important;
  }
  body.route-marketing.route-analysis.route-analysis-list .intel-td-address {
    font-size: 11px !important;
  }
}

/* Analysis detail page — light theme (default) */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon {
  background: #FFFFFF !important;
}

html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .marketing-page-intel-brief {
  background: transparent;
  color: #1F2937;
}

/* Detail report card — old layout also needs centering */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-report {
  max-width: 72rem !important;
  margin: 0 auto 2rem !important;
  padding: 1.5rem !important;
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  color: #1F2937 !important;
}

/* intel-brief-page — the outermost wrapper, full centering */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-page {
  max-width: 72rem !important;
  margin: 0 auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 96px 24px !important;
}

@media (max-width: 640px) {
  html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-page {
    padding: 72px 12px !important;
  }
}

/* intel-gbp-report also should be centered when used */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-report {
  max-width: 100% !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* Detail report card — transparent outer, no extra padding */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-report,
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-report.card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #1F2937 !important;
  padding: 0 !important;
}

/* Report body — max-width, auto-centered via parent */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-report-body {
  width: auto !important;
  box-sizing: border-box !important;
}

html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-report {
  max-width: 100% !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon > div,
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .app.landing-mode,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-list .app.landing-mode {
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 640px) {
  html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-report-body {
    padding: 0 12px;
  }
}

/* Hero grid — responsive column widths */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 960px) {
  html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-hero-grid {
    grid-template-columns: minmax(300px, 36%) minmax(0, 1fr);
    gap: 1.5rem;
  }
}

/* Left/right column cards */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-card {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  padding: 20px !important;
  margin-bottom: 12px !important;
}

@media (max-width: 640px) {
  html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-card {
    padding: 14px !important;
    border-radius: 10px !important;
  }
}

/* Keep the sub-cards clean */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-card.intel-gbp-biz-card,
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-card.intel-gbp-score-card {
  background: #FFFFFF !important;
}

/* GBP gauge track */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-gauge-svg path:first-child {
  stroke: #EEF0F1 !important;
}

/* Stat grid cards */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-stat--critical {
  background: #FEF2F2 !important;
  border: none !important;
  border-radius: 8px !important;
}
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-stat--critical .intel-gbp-stat-icon {
  background: #EF4444 !important;
  color: #fff !important;
}
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-stat--critical .intel-gbp-stat-copy strong {
  color: #DC2626 !important;
}
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-stat--critical .intel-gbp-stat-copy span {
  color: #6B7280 !important;
}

html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-stat--warning {
  background: #FFFBEB !important;
  border: none !important;
  border-radius: 8px !important;
}
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-stat--warning .intel-gbp-stat-icon {
  background: #F59E0B !important;
  color: #fff !important;
}
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-stat--warning .intel-gbp-stat-copy strong {
  color: #D97706 !important;
}
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-stat--warning .intel-gbp-stat-copy span {
  color: #6B7280 !important;
}

/* Primary CTA button — pink/magenta like zoca */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-primary-btn {
  background: #F0437A !important;
  border: none !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 10px 18px !important;
  font-size: 14px !important;
}
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-primary-btn:hover {
  background: #D9366A !important;
}

/* Breakdown heading */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-breakdown-heading {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #1F2937 !important;
  margin-bottom: 16px !important;
  padding: 0 !important;
}

/* Breakdown items */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-breakdown-item {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  margin-bottom: 8px !important;
  overflow: hidden !important;
}

html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-breakdown-toggle {
  padding: 16px 20px !important;
  background: #FFFFFF !important;
  border: none !important;
  border-radius: 12px !important;
  color: #1F2937 !important;
}

@media (max-width: 640px) {
  html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-breakdown-toggle {
    padding: 12px 14px !important;
  }
  html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-breakdown-item {
    margin-bottom: 6px !important;
  }
}

html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-breakdown-label {
  font-weight: 600 !important;
  color: #1F2937 !important;
  font-size: 15px !important;
}

html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-breakdown-badge--critical {
  background: #FEF2F2 !important;
  color: #DC2626 !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 2px 10px !important;
  font-size: 12px !important;
}

html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-breakdown-badge--warning {
  background: #FFFBEB !important;
  color: #D97706 !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 2px 10px !important;
  font-size: 12px !important;
}

/* Breakdown ring scores */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-breakdown-ring circle:first-child {
  stroke: #EEF0F1 !important;
}

/* Biz card elements */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-biz-card h1 {
  color: #1F2937 !important;
  font-size: 20px !important;
}

html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-biz-preview {
  background: #F3F4F6 !important;
  color: #6B7280 !important;
  border-radius: 999px !important;
  padding: 2px 10px !important;
  font-size: 12px !important;
}

html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-biz-rating-val {
  color: #1F2937 !important;
  font-weight: 700 !important;
}
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-biz-star {
  color: #F59E0B !important;
}
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-biz-reviews {
  color: #6B7280 !important;
}
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-biz-location {
  color: #6B7280 !important;
  font-size: 13px !important;
}

/* Gauge elements */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-score-card h3 {
  color: #1F2937 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  margin-top: 0 !important;
}

html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-gauge-score {
  color: #111827 !important;
  font-size: 36px !important;
  font-weight: 800 !important;
}

html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-gauge-sub {
  color: #6B7280 !important;
  font-size: 12px !important;
}

/* Download PDF / Purchase buttons */
html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-mobile-btn {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 8px !important;
  color: #1F2937 !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
}

html[data-theme="light"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-mobile-btn.intel-brief-mobile-btn--link {
  background: #F0437A !important;
  border: none !important;
  color: #fff !important;
}

/* ── Brief report page (detail) — zoca dark theme ─────────────── */
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .marketing-page-intel-brief {
  background: transparent;
  color: var(--rms-text, #F5F0FA);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-report,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-report.card {
  background: var(--rms-bg-card-2, #1A1338);
  border: 1px solid var(--rms-border, rgba(232, 160, 213, 0.16));
  border-radius: 1rem;
  color: var(--rms-text, #F5F0FA);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-header {
  border-bottom-color: rgba(232, 160, 213, 0.10);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-header h1,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-overall-title,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-score-num,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-cta-head h2,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-competitors-lock-title {
  color: var(--rms-text, #F5F0FA);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-preview,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-location,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-generated,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-generated p:last-child,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-section-label,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-overall-summary,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-metric-label,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-metric-sub,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-score-label,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-locked,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-competitor-row,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-competitors-lock-sub,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-cta-head p,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-cta-feature,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-cta-footnote {
  color: var(--rms-text-soft, #C9C0D8);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-overall,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-scorecard,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-growth,
html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-competitors {
  border-color: rgba(232, 160, 213, 0.10);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-metric--success .intel-brief-metric-value {
  color: var(--rms-score-good, #4ADE80);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-metric--warning .intel-brief-metric-value {
  color: var(--rms-score-fair, #FBBF24);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-metric--danger .intel-brief-metric-value {
  color: var(--rms-score-weak, #F87171);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-score-row--border {
  border-top-color: rgba(232, 160, 213, 0.10);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-bar-track {
  background: rgba(245, 240, 250, 0.08);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-service-row {
  background: rgba(245, 240, 250, 0.05);
  color: var(--rms-text-soft, #C9C0D8);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-back .landing-link {
  color: var(--rms-text-soft, #C9C0D8);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-back .landing-link:hover {
  color: #E8A0D5;
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-badge {
  background: rgba(245, 240, 250, 0.06);
  color: var(--rms-text-soft, #C9C0D8);
  border-color: rgba(232, 160, 213, 0.10);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-badge--success {
  background: rgba(74, 222, 128, 0.10);
  color: #4ADE80;
  border-color: rgba(74, 222, 128, 0.20);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-badge--warning {
  background: rgba(251, 191, 36, 0.10);
  color: #FBBF24;
  border-color: rgba(251, 191, 36, 0.20);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-badge--danger {
  background: rgba(248, 113, 113, 0.10);
  color: #F87171;
  border-color: rgba(248, 113, 113, 0.20);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-score-row--score .intel-brief-bar-fill {
  background: linear-gradient(135deg, #F4A8C7, #D98BE0);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-cta {
  border-color: rgba(232, 160, 213, 0.20);
  background: rgba(232, 160, 213, 0.04);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-cta-btn {
  border: none;
  background: linear-gradient(135deg, #F4A8C7, #D98BE0);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 24px;
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-cta-btn:hover {
  box-shadow: 0 0 20px rgba(217, 139, 224, 0.35);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-self-issue-btn {
  background: rgba(245, 240, 250, 0.06);
  border: 1px solid rgba(232, 160, 213, 0.15);
  color: var(--rms-text-soft, #C9C0D8);
  border-radius: 999px;
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-brief-self-issue-btn:hover {
  background: rgba(232, 160, 213, 0.12);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-page-head {
  border-bottom-color: rgba(232, 160, 213, 0.10);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-heading {
  color: var(--rms-text, #F5F0FA);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-head-flag {
  color: var(--rms-text-soft, #C9C0D8);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-subtext {
  color: var(--rms-text-muted, #8A82A0);
}

html[data-theme="dark"] body.route-marketing.route-analysis.route-analysis-salon .intel-gbp-card-segment {
  background: rgba(245, 240, 250, 0.04);
  border: 1px solid rgba(232, 160, 213, 0.08);
}

/* Remove old nav/footer from brief pages too */
body.route-marketing.route-analysis.route-analysis-salon .marketing-page-intel-brief .marketing-nav-shell,
body.route-marketing.route-analysis.route-analysis-salon .marketing-page-intel-brief .marketing-footer {
  display: none !important;
}

/* Fallback: also handle full report pages */
html[data-theme="dark"] body.route-marketing .marketing-page-intel-brief .intel-gbp-report,
html[data-theme="dark"] body.route-marketing .marketing-page-intel-brief .intel-brief-report.card {
  background: var(--intel-gbp-card);
  border: 1px solid var(--intel-gbp-border);
  color: var(--intel-gbp-text);
}

html[data-theme="dark"] body.route-marketing .marketing-page-intel-brief {
  --intel-gbp-card: var(--rms-bg-card-2, #1A1338);
  --intel-gbp-surface: var(--rms-bg-soft, #14102E);
  --intel-gbp-border: var(--rms-border, rgba(232, 160, 213, 0.16));
  --intel-gbp-text: var(--rms-text, #F5F0FA);
  --intel-gbp-muted: var(--rms-text-soft, #C9C0D8);
  --intel-gbp-pink: #E8A0D5;
  --intel-gbp-pink-soft: rgba(232, 160, 213, 0.08);
  --intel-gbp-critical-bg: rgba(248, 113, 113, 0.08);
  --intel-gbp-critical-border: rgba(248, 113, 113, 0.20);
  --intel-gbp-critical-text: #F87171;
  --intel-gbp-warning-bg: rgba(251, 191, 36, 0.08);
  --intel-gbp-warning-border: rgba(251, 191, 36, 0.20);
  --intel-gbp-warning-text: #FBBF24;
  --intel-gbp-star: #ffcc00;
  background: transparent;
  color: var(--rms-text, #F5F0FA);
}

/* ── Loading Animation — bounce + shimmer + dots ────────────── */

@keyframes intel-loading-bounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-14px) scale(1.06);
  }
  60% {
    transform: translateY(-6px) scale(1.02);
  }
}

@keyframes intel-loading-shimmer {
  0%, 100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes intel-loading-dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

.intel-loading-panel .intel-loading-gif {
  width: 88px !important;
  height: 88px !important;
  border-radius: 50%;
  animation: intel-loading-bounce 1.6s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(232, 160, 213, 0.2);
}

.intel-loading-panel .intel-loading-inner {
  position: relative;
}

.intel-loading-panel .intel-loading-inner::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 160, 213, 0.08) 0%, transparent 70%);
  animation: intel-loading-shimmer 2s ease-in-out infinite;
  pointer-events: none;
}

.intel-loading-panel .intel-loading-title {
  margin-top: 0.75rem !important;
}

.intel-loading-body::after {
  display: inline-block;
  width: 1.5em;
  text-align: left;
  overflow: hidden;
  vertical-align: bottom;
  animation: intel-loading-dots 1.8s steps(4, end) infinite;
}


/* ── Portal / Admin routes ────────────────────────────────── */
/* Dark full-bleed, content aligned with nav bar width */

body.route-portal {
  background: #0D0B1F !important;
}

/* main — full width, no padding */
body.route-portal #appShell.app {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Nav bar — dark bg, subtle border */
body.route-portal .home-hero-nav {
  background: #0D0B1F !important;
  border-bottom: 1px solid rgba(232, 160, 213, 0.12) !important;
}

/* Portal shell — space between nav and content */
body.route-portal .portal-shell {
  max-width: 100% !important;
  width: 100% !important;
  min-height: calc(100vh - 64px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 104px 24px 60px !important;
  box-sizing: border-box !important;
  background: #0D0B1F !important;
}

/* Content container — same width as nav bar (1200px), responsive */
body.route-portal .portal-page-report-generator {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

@media (max-width: 1260px) {
  body.route-portal .portal-page-report-generator {
    max-width: calc(100% - 240px) !important;
  }
}

@media (max-width: 960px) {
  body.route-portal .portal-shell {
    padding: 24px 16px 40px !important;
  }
  body.route-portal .portal-page-report-generator {
    max-width: 100% !important;
    padding: 0 16px !important;
  }
}

@media (max-width: 640px) {
  body.route-portal .portal-shell {
    padding: 16px 12px 32px !important;
  }
  body.route-portal .portal-page-report-generator {
    max-width: 100% !important;
    padding: 0 !important;
  }
}

/* Card — aligns with nav bar content (left: ~144px, right: ~1296px) */
body.route-portal .portal-card {
  background: #1A1338 !important;
  border: 1px solid rgba(232, 160, 213, 0.16) !important;
  border-radius: 12px !important;
  color: #F5F0FA !important;
  padding: 2rem !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

/* Card aligns left in container, scales with viewport — 1200px matches nav */
body.route-portal .portal-page-report-generator .portal-card:first-child {
  max-width: 100% !important;
  margin-left: 24px !important;
  margin-right: 24px !important;
}

@media (max-width: 960px) {
  body.route-portal .portal-page-report-generator .portal-card:first-child {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 640px) {
  body.route-portal .portal-card {
    padding: 1.25rem !important;
  }
}

body.route-portal .portal-kicker {
  color: #E8A0D5 !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin: 0 0 0.5rem !important;
}

body.route-portal .portal-title {
  color: #F5F0FA !important;
  font-weight: 700 !important;
  margin: 0 0 0.75rem !important;
}

body.route-portal .portal-body {
  color: #C9C0D8 !important;
  margin: 0 0 1.25rem !important;
  line-height: 1.6 !important;
}

body.route-portal .portal-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 0.75rem !important;
  align-items: center !important;
}

body.route-portal .portal-actions .cta,
body.route-portal .portal-actions .landing-link {
  display: inline-flex !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.route-portal .portal-actions .cta {
  background: linear-gradient(135deg, #F4A8C7 0%, #D98BE0 100%) !important;
  color: #FFFFFF !important;
}

body.route-portal .portal-actions .ghost {
  background: transparent !important;
  color: #C9C0D8 !important;
  border: 1px solid rgba(232, 160, 213, 0.2) !important;
}

body.route-portal .portal-actions .ghost:hover {
  background: rgba(232, 160, 213, 0.08) !important;
  color: #F5F0FA !important;
}

/* ── Admin portal tabs — single row, no wrap ─────────────── */
body.route-portal .portal-nav,
body.route-portal [class*="portal-nav"],
body.route-portal [class*="admin-tabs"] {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 0 !important;
  white-space: nowrap !important;
}
/* ── Login page — force dark footer + full dark bg ────────── */
/* Works even if app.js overrides data-theme to light */
body.route-portal,
body.route-portal.route-marketing {
  background: #0D0B1F !important;
}

body.route-portal .home-footer,
body.route-portal.route-marketing .home-footer {
  display: none !important;
}

/* Also force dark on header nav */
body.route-portal .home-hero-nav {
  background: #0D0B1F !important;
  border-bottom: 1px solid rgba(232, 160, 213, 0.12) !important;
}

/* Form elements dark */
body.route-portal form {
  background: #1A1338 !important;
  border: 1px solid rgba(232, 160, 213, 0.16) !important;
  border-radius: 12px !important;
  padding: 2rem !important;
  color: #F5F0FA !important;
}

body.route-portal label {
  color: #C9C0D8 !important;
}

/* Portal inputs: override styles.css .portal-input white bg */
body.route-portal input,
body.route-portal textarea,
body.route-portal select,
body.route-portal .portal-input,
body.route-portal input.portal-input,
body.route-portal textarea.portal-input,
body.route-portal .portal-card input,
body.route-portal .portal-card textarea,
body.route-portal .portal-card .portal-input,
body.route-portal .portal-card input.portal-input,
body.route-portal .portal-card textarea.portal-input {
  background: rgba(245, 240, 250, 0.06) !important;
  border: 1px solid rgba(232, 160, 213, 0.2) !important;
  border-radius: 8px !important;
  color: #F5F0FA !important;
  padding: 0.75rem 1rem !important;
}

body.route-portal input::placeholder,
body.route-portal textarea::placeholder {
  color: #8A82A0 !important;
  opacity: 1 !important;
}

body.route-portal input:focus,
body.route-portal textarea:focus {
  border-color: #E8A0D5 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(232, 160, 213, 0.15) !important;
}

body.route-portal button[type="submit"] {
  background: linear-gradient(135deg, #F4A8C7 0%, #D98BE0 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

/* ── Portal buttons (SMS, stores, dashboard) — dark bg adapt ── */
body.route-portal button,
body.route-portal .portal-card button,
body.route-portal a.cta,
body.route-portal .portal-card a.cta {
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  padding: 0.75rem 1.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

/* Primary CTA button — pink gradient */
body.route-portal button[type="submit"],
body.route-portal .portal-card button[type="submit"],
body.route-portal .portal-card a.cta {
  background: linear-gradient(135deg, #F4A8C7 0%, #D98BE0 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
}

/* Ghost/secondary button */
body.route-portal .portal-card a.ghost,
body.route-portal .portal-card button.secondary,
body.route-portal .portal-card a[href*="dashboard"],
body.route-portal .portal-card a[href*="back"] {
  background: transparent !important;
  color: #C9C0D8 !important;
  border: 1px solid rgba(232, 160, 213, 0.2) !important;
}

body.route-portal .portal-card a.ghost:hover,
body.route-portal .portal-card button.secondary:hover {
  background: rgba(232, 160, 213, 0.08) !important;
  color: #F5F0FA !important;
}

/* ── Portal loading animation ──────────────────────────────── */
body.route-portal #portalContent:empty::after {
  content: "Preparing…";
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 200px !important;
  color: #8A82A0 !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  animation: portalPulse 1.5s ease-in-out infinite !important;
}

@keyframes portalPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* ── Portal nav tabs (SMS/stores/dashboard) — dark theme ── */
body.route-portal .portal-nav,
body.route-portal nav.portal-nav,
body.route-portal .portal-card nav,
body.route-portal .portal-card nav a,
body.route-portal [class*="portal"] nav a,
body.route-portal nav a[href*="dashboard"],
body.route-portal nav a[href*="stores"],
body.route-portal nav a[href*="sms"],
body.route-portal nav a[href*="report-generator"],
body.route-portal nav a[href*="signout"],
body.route-portal nav a[href*="logout"] {
  background: transparent !important;
  color: #C9C0D8 !important;
}

body.route-portal nav a:hover,
body.route-portal nav a:focus,
body.route-portal nav a.active,
body.route-portal nav a[aria-current="page"] {
  color: #F5F0FA !important;
  background: rgba(232, 160, 213, 0.08) !important;
}

/* ── Mobile hamburger menu ────────────────────────────────── */
.home-hero-hamburger {
  display: none !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 32px !important;
  height: 32px !important;
  padding: 4px !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  z-index: 110 !important;
}

.hamburger-line {
  display: block !important;
  width: 24px !important;
  height: 2px !important;
  background: #F5F0FA !important;
  border-radius: 2px !important;
  transition: transform 0.3s ease, opacity 0.3s ease !important;
}

/* Hamburger open state */
.home-hero-hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg) !important;
}
.home-hero-hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0 !important;
}
.home-hero-hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg) !important;
}

/* Mobile nav panel */
.home-hero-nav-mobile {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(13, 11, 31, 0.97) !important;
  backdrop-filter: blur(12px) !important;
  z-index: 100 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  padding: 80px 24px 40px !important;
  box-sizing: border-box !important;
}

.home-hero-nav-mobile.is-open {
  display: flex !important;
}

.home-hero-nav-mobile .home-hero-link {
  font-size: 20px !important;
  font-weight: 500 !important;
  color: #C9C0D8 !important;
  text-decoration: none !important;
  padding: 10px 0 !important;
}

.home-hero-nav-mobile .home-hero-link.active,
.home-hero-nav-mobile .home-hero-link:hover {
  color: #F5F0FA !important;
}

.home-hero-nav-mobile .home-hero-dropdown {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.home-hero-nav-mobile .home-hero-dropdown-toggle {
  font-size: 20px !important;
  color: #C9C0D8 !important;
  font-weight: 500 !important;
  background: transparent !important;
  border: none !important;
  font-family: inherit !important;
}

.home-hero-nav-mobile .home-hero-dropdown-menu {
  position: static !important;
  margin-top: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 0 !important;
  text-align: center !important;
}

.home-hero-nav-mobile .home-hero-dropdown-item {
  font-size: 16px !important;
  color: #8A82A0 !important;
  padding: 8px 0 !important;
}

.home-hero-nav-mobile .home-hero-nav-mobile-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  align-items: center !important;
  margin-top: 24px !important;
}

.home-hero-nav-mobile .home-hero-signin {
  font-size: 16px !important;
  color: #C9C0D8 !important;
  text-decoration: none !important;
}

.home-hero-nav-mobile .home-hero-cta {
  background: linear-gradient(135deg, #F4A8C7 0%, #D98BE0 100%) !important;
  color: #FFF !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 28px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

/* Mobile breakpoint: hide desktop nav, show hamburger */
@media (max-width: 960px) {
  .home-hero-nav {
    justify-content: space-between !important;
    padding: 12px 16px !important;
    border: none !important;
  }

  .home-hero-nav .home-hero-links,
  .home-hero-nav .home-hero-actions {
    display: none !important;
  }

  .home-hero-hamburger {
    display: flex !important;
    border: none !important;
  }
}

/* ── AI Review Generator — mobile footer: hide cols, keep social ── */
@media (max-width: 960px) {
  body.route-product .home-footer-columns-desktop {
    display: none !important;
  }
  body.route-product .home-footer-brand-row {
    display: none !important;
  }
  body.route-product .home-footer-bottom-inner {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }
}

/* ── Services page mobile nav fix ─────────────────────────── */
@media (max-width: 960px) {
  body:not(.route-portal):not(.route-marketing) .home-hero-nav {
    justify-content: space-between !important;
    border: none !important;
  }
  body:not(.route-portal):not(.route-marketing) .home-hero-nav .home-hero-links,
  body:not(.route-portal):not(.route-marketing) .home-hero-nav .home-hero-actions {
    display: none !important;
  }
  body:not(.route-portal):not(.route-marketing) .home-hero-hamburger {
    display: flex !important;
    border: none !important;
  }
}

/* ── Store visit page: hide marketing middle, show only AI Review Booster tool ── */
body.route-store .home-ryan,
body.route-store .home-testimonials,
body.route-store .home-videos,
body.route-store .home-faq,
body.route-store #pageHero {
  display: none !important;
}
