/* Shared marketing UI. Page copy, CTA destinations and dark section themes stay page-owned. */
body main[data-shared-ui] :is(.logo-band, .advisor-logo-band, .vd-logo-band) { padding-block: 28px; }
body main[data-shared-ui] .logo-grid, .ads-draft.company-landing .advisor-logo-band .logo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 920px; margin-inline: auto; gap: 12px 20px; }
body main[data-shared-ui] .logo-grid img, .ads-draft.company-landing .advisor-logo-band .logo-grid img { justify-self: center; width: 100%; max-width: 148px; height: 72px; aspect-ratio: auto; padding: 0; border: 0; border-radius: 0; background: transparent; object-fit: contain; }
body main[data-shared-ui] .lp-logos { max-width: 920px; margin-inline: auto; gap: 12px 20px; }
body main[data-shared-ui] .lp-logos img { justify-self: center; width: 100%; max-width: 148px; height: 60px; object-fit: contain; }
/* Explicit light sections only; no nth-child alternation and no changes to dark heroes. */
body:not(.home-editorial) main[data-shared-ui] :is(.module-benefits, .advisor-tools, .advisor-efficiency, .lp-templates, .module-section, .partner-cro-faq) { background: #f5f7f1; }
body:not(.home-editorial) main[data-shared-ui] :is(.module-why, .advisor-process, .advisor-consulting, .lp-workflow, .lp-faq) { background: #fff; }
body:not(.home-editorial) main[data-shared-ui] :is(.advisor-guarantee, .vd-guarantee, .guarantee-section, .lp-testimonial, .advisor-testimonials, .ads-testimonials, .vfd-references) { background: #edf3f0; }
body main[data-shared-ui] :is(.reference-grid, .vfd-reference-media) { gap: 28px; }
body main[data-shared-ui] :is(.reference, .vfd-reference-card) { min-width: 0; overflow: hidden; border: 1px solid #d6e0da; border-radius: 12px; background: #fff; box-shadow: none; }
body main[data-shared-ui] :is(.reference, .vfd-reference-card) .video-player { border-radius: 0; }
body main[data-shared-ui] :is(.reference > div, .vfd-reference-card figcaption) { padding: 24px; }
body main[data-shared-ui] :is(.reference, .vfd-reference-card) .video-start-overlay { inset: auto auto 20px 20px; width: auto; height: auto; max-width: calc(100% - 40px); min-height: 52px; display: flex; flex-direction: row; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid #d6e0da; border-radius: 999px; color: #203527; background: #fff; box-shadow: 0 2px 12px #111c1a18; }
body main[data-shared-ui] :is(.reference, .vfd-reference-card) .video-start-overlay[hidden] { display: none; }
body main[data-shared-ui] :is(.reference, .vfd-reference-card) .video-start-icon { flex: 0 0 34px; width: 34px; height: 34px; border: 0; color: #365e20; background: #edf3e6; box-shadow: none; }
body main[data-shared-ui] :is(.reference, .vfd-reference-card) .video-start-icon svg { width: 18px; height: 18px; }
body main[data-shared-ui] :is(.reference, .vfd-reference-card) .video-start-label { padding: 0; color: inherit; background: none; font-size: .875rem; }
body main[data-shared-ui] :is(.reference, .vfd-reference-card) .video-start-overlay:focus-visible { outline: 3px solid #476d2e; outline-offset: 3px; }
/* Keep page-specific closing CTAs and their audience logic, with consistent breathing room. */
body main[data-shared-ui] :is(.pricing-cta, .lp-final, .advisor-final-cta, .ads-final-cta, .gobd-final-cta) { padding-block: 64px; }
body main[data-shared-ui] :is(.pricing-cta-layout, .advisor-final-layout) { gap: 32px 48px; align-items: center; }
body main[data-shared-ui] :is(.pricing-cta, .lp-final, .advisor-final-cta, .ads-final-cta, .gobd-final-cta) h2 { margin-bottom: 20px; hyphens: manual; }
body main[data-shared-ui] :is(.pricing-cta-actions, .company-final-actions) { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
body main[data-shared-ui] :is(.lp-final .lp-actions, .ads-final-cta .ads-actions) { gap: 20px; margin-top: 28px; }
body main[data-shared-ui] :is(.company-cta-pair, .lp-final .lp-start) { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
body main[data-shared-ui] :is(.company-cta-pair > span, .lp-final .lp-start > p) { margin: 0; line-height: 1.6; }
body main[data-shared-ui] :is(.pricing-cta, .advisor-final-cta) .button { min-height: 54px; }
@media (max-width: 900px) {
  body main[data-shared-ui] :is(.pricing-cta-layout, .advisor-final-layout) { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 760px) {
  body main[data-shared-ui] .logo-grid, .ads-draft.company-landing .advisor-logo-band .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  body main[data-shared-ui] .logo-grid img, .ads-draft.company-landing .advisor-logo-band .logo-grid img { max-width: 104px; height: 52px; }
  body main[data-shared-ui] .lp-logos img { max-width: 104px; height: 44px; }
  body main[data-shared-ui] :is(.reference-grid, .vfd-reference-media) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body main[data-shared-ui] :is(.reference > div, .vfd-reference-card figcaption) { padding: 20px; }
  body main[data-shared-ui] :is(.reference, .vfd-reference-card) .video-start-overlay { inset: auto auto 16px 16px; max-width: calc(100% - 32px); }
  body main[data-shared-ui] :is(.pricing-cta, .lp-final, .advisor-final-cta, .ads-final-cta, .gobd-final-cta) { padding-block: 48px; }
  body main[data-shared-ui] :is(.pricing-cta-actions, .company-final-actions) { gap: 24px; }
}
@media (max-width: 560px) {
  body main[data-shared-ui] :is(.pricing-cta-actions, .company-final-actions) > :is(.button, .company-cta-pair) { width: 100%; }
}
/* Module detail headings follow the compact CRO typography without changing their copy. */
body main[data-shared-ui] .module-detail-hero h1 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.18; hyphens: none; overflow-wrap: normal; word-break: normal; }
body main[data-shared-ui] .module-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body main[data-shared-ui] .module-proof span { font-size: .85rem; }
@media (max-width: 760px) {
  body main[data-shared-ui] .module-detail-hero h1 { font-size: 1.5rem; }
}
