/* =====================================================================
   MISSION CONTROL — GLOBAL CSS
   Where:  Elementor → Site Settings → Custom CSS   (one place, whole site)
   Holds:  1 tokens · 2 base · 3 HTML-widget reset · 4 layout · 5 shared
           components · 6 helper classes for native widgets · 7 header ·
           8 footer · 9 forms · 10 FAQ accordion · 11 newsletter cards
   Page-only styles live in /css/page-*.css (Page Settings → Custom CSS).
   Every component selector starts with "body" on purpose: it lifts
   specificity just above Elementor's and Hello's defaults.
   ===================================================================== */

/* ---------- 1. TOKENS (mirror these in Site Settings → Global Colors) ---------- */
:root {
  --mc-bg: #050514;
  --mc-surface: #0c0c24;
  --mc-surface-2: #111132;
  --mc-surface-3: #181848;
  --mc-border: rgba(120, 80, 220, 0.18);
  --mc-border-bright: rgba(160, 100, 255, 0.35);
  --mc-text: #ffffff;
  --mc-muted: #8888aa;
  --mc-muted-2: #5a5a80;
  --mc-accent: #b36cf2;
  --mc-purple: #9b4fe8;
  --mc-violet: #7c3aed;
  --mc-green: #5fd89a;
  --mc-amber: #f5b84b;
  --mc-red: #ff5c72;
  --mc-gradient: linear-gradient(225deg, #CC59BA 18%, #BA52B8 25%, #893FB3 45%, #7738B2 54%, #461885 88%);
  --mc-gradient-text: linear-gradient(90deg, #9a5cf0 0%, #d65fc4 100%);
  --mc-glow: 0 0 40px rgba(124, 58, 237, 0.3);
  --mc-glow-pink: 0 0 60px rgba(214, 95, 196, 0.2);
  --mc-font-body: 'Inter', system-ui, sans-serif;
  --mc-font-display: 'Outfit', 'Inter', system-ui, sans-serif;
}

/* ---------- 2. BASE ---------- */
html { scroll-behavior: smooth; }
body {
  background-color: var(--mc-bg);
  color: var(--mc-text);
  font-family: var(--mc-font-body);
  -webkit-font-smoothing: antialiased;
}
body p { text-wrap: pretty; }
body :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title, .elementor-button-text) { text-wrap: balance; }
body .mc-html :is(button, .grad-btn, .outline-btn, [class*='pill'], [class*='chip'], [class*='title'], [class*='heading'], [class*='benefit'], [class*='label']),
body :is(.platform-subheading, .contact-subheading, .platform-hero p, .partner-hero p, .partner-section-heading p, .coming-next-heading p) { text-wrap: balance; }
::selection { background: rgba(155, 79, 232, 0.45); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--mc-bg); }
::-webkit-scrollbar-thumb { background: rgba(124, 58, 237, 0.4); border-radius: 3px; }

/* ---------- 3. HTML-WIDGET RESET ----------
   Every snippet is wrapped in <div class="mc-html …">. This cancels the
   theme/Elementor default margins on h1–h6, p, lists, buttons and images
   inside snippets only. Native widgets are not touched. */
body .mc-html { font-family: var(--mc-font-body); line-height: 1.5; color: var(--mc-text); }
body .mc-html, body .mc-html *, body .mc-html *::before, body .mc-html *::after { box-sizing: border-box; }
body .mc-html :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd) { margin: 0; padding: 0; }
body .mc-html :where(h1, h2, h3, h4, h5, h6) { font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; font-family: inherit; }
body .mc-html :where(ul, ol) { list-style: none; }
body .mc-html :where(a) { color: inherit; text-decoration: inherit; }
body .mc-html :where(a):hover { color: inherit; }
body .mc-html :where(img, svg, video) { display: block; vertical-align: middle; }
body .mc-html :where(img) { max-width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; }
body .mc-html :where(button, input, textarea, select) { font: inherit; color: inherit; margin: 0; }
body .mc-html :where(button) { background: transparent; border: 0; padding: 0; border-radius: 0; cursor: pointer; text-transform: none; }
body .mc-html :where(input, textarea) { line-height: inherit; }
body .mc-html :where(label) { line-height: inherit; vertical-align: baseline; }
body .mc-html :where(blockquote) { margin: 0; }

/* Visual-only snippets keep a parent class for scoped styles; this strips that parent's box. */
body .mc-visual-scope { display: block !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; opacity: 1 !important; transform: none !important; }
body .mc-visual-scope .partner-practice-icon { position: static; }

/* Visual snippets keep the page's wrapper class for its font, but not its background or clipping */
body .mc-html.mc-visual { background: none !important; overflow: visible !important; }

/* ---------- 4. LAYOUT ---------- */
body .mc-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
body .mc-section { padding: 80px 0; }
@media (max-width: 768px) {
  body .mc-section { padding: 56px 0; }
  body .mc-container { padding: 0 16px; }
}

/* ---------- 5. SHARED COMPONENTS (used by snippets AND native widgets) ---------- */
body .grad-text {
  background: var(--mc-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

body .grad-btn,
body .outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 12px 28px;
  font-family: var(--mc-font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
body .grad-btn { background: var(--mc-gradient); border: none; transition: opacity .2s, transform .15s; }
body .grad-btn:hover,
body .grad-btn:focus { background: var(--mc-gradient); color: #fff; opacity: .9; transform: translateY(-1px); }
body .outline-btn { background: transparent; border: 1px solid var(--mc-border-bright); padding: 11px 28px; transition: border-color .2s, background .2s, transform .15s; }
body .outline-btn:hover,
body .outline-btn:focus { color: #fff; border-color: rgba(160, 100, 255, .7); background: rgba(124, 58, 237, .1); transform: translateY(-1px); }

body .mc-card { background: var(--mc-surface); border: 1px solid var(--mc-border); border-radius: 16px; padding: 28px; }
body .mc-card-glow { background: var(--mc-surface); border: 1px solid var(--mc-border); border-radius: 16px; padding: 28px; box-shadow: var(--mc-glow); }

/* Logo lockup (used by snippets) */
body .mc-logo-lockup { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; line-height: 0; text-decoration: none; }
body .mc-logo-icon, body .mc-logo-wordmark, body .mc-logo-brandmark, body .mc-logo-mobile-icon { width: auto; display: block; object-fit: contain; }
body .mc-logo-header { gap: 12px; }
body .mc-logo-header .mc-logo-brandmark { height: 38px; }
body .mc-logo-mobile-icon { display: none; }
body .mc-logo-footer { gap: 12px; max-width: 100%; white-space: nowrap; }
body .mc-logo-footer .mc-logo-brandmark { height: 38px; }
body .mc-logo-login .mc-logo-icon { height: 40px; }
body .mc-logo-login .mc-logo-wordmark { height: 20px; }
body .mc-footer-grid { grid-template-columns: minmax(340px, 1.8fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { body .mc-footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 360px) { body .mc-logo-footer .mc-logo-brandmark { height: 36px; } }
@media (max-width: 520px) {
  body .mc-logo-header .mc-logo-brandmark { display: none; }
  body .mc-logo-header .mc-logo-mobile-icon { display: block; height: 34px; }
}

/* ---------- 6. HELPER CLASSES FOR NATIVE ELEMENTOR WIDGETS ----------
   Add in: widget/container → Advanced → CSS Classes (no dot). */

/* Buttons — Button widget. Combine: "mc-btn mc-btn-grad" or "mc-btn mc-btn-outline", plus optional "mc-btn-sm" / "mc-btn-lg" / "mc-btn-full" */
body .mc-btn .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 8px; padding: 12px 28px;
  font-family: var(--mc-font-body); font-size: 15px; font-weight: 600; line-height: 1.5;
  color: #fff; fill: #fff; white-space: nowrap;
  transition: opacity .2s, transform .15s, border-color .2s, background .2s;
}
body .mc-btn-grad .elementor-button { background: var(--mc-gradient); border: 0; }
body .mc-btn-grad .elementor-button:hover,
body .mc-btn-grad .elementor-button:focus { background: var(--mc-gradient); color: #fff; opacity: .9; transform: translateY(-1px); }
body .mc-btn-outline .elementor-button { background: transparent; border: 1px solid var(--mc-border-bright); padding: 11px 28px; }
body .mc-btn-outline .elementor-button:hover,
body .mc-btn-outline .elementor-button:focus { color: #fff; background: rgba(124, 58, 237, .1); border-color: rgba(160, 100, 255, .7); transform: translateY(-1px); }
body .mc-btn-sm .elementor-button { padding: 8px 18px; font-size: 13px; }
body .mc-btn-outline.mc-btn-sm .elementor-button { padding: 7px 18px; }
body .mc-btn-lg .elementor-button { padding: 14px 32px; font-size: 15px; }
body .mc-btn-outline.mc-btn-lg .elementor-button { padding: 13px 32px; }
body .mc-btn-full .elementor-button { width: 100%; }

/* Eyebrow label above section titles — Heading widget (set HTML tag to p) */
body .mc-eyebrow .elementor-heading-title,
body .mc-eyebrow.elementor-widget-text-editor {
  font-family: var(--mc-font-display); font-size: 12px; font-weight: 700; line-height: 1.4;
  letter-spacing: .18em; text-transform: uppercase; color: var(--mc-accent);
}
body .mc-eyebrow-muted .elementor-heading-title { color: var(--mc-muted); letter-spacing: .12em; }

/* Pill badge — Heading widget (tag: div or p). Add "mc-pill-dot" for the gradient dot, "mc-pill-upper" for uppercase */
body .mc-pill .elementor-heading-title {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 17px; border-radius: 999px;
  border: 1px solid rgba(155, 79, 232, .46); background: rgba(155, 79, 232, .1);
  color: rgba(255, 255, 255, .76); font-family: var(--mc-font-display); font-size: 12px; font-weight: 600; line-height: 1.4;
}
body .mc-pill-dot .elementor-heading-title::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mc-gradient); flex: 0 0 6px; }
body .mc-pill-upper .elementor-heading-title { font-family: var(--mc-font-body); color: var(--mc-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 6px 16px; border-color: var(--mc-border-bright); background: rgba(124, 58, 237, .1); }

/* Text tones — any text widget */
body .mc-muted, body .mc-muted .elementor-heading-title, body .mc-muted p { color: var(--mc-muted); }
body .mc-muted-2, body .mc-muted-2 .elementor-heading-title, body .mc-muted-2 p { color: var(--mc-muted-2); }
body .mc-text-link .elementor-heading-title { font-family: var(--mc-font-display); font-size: 14px; font-weight: 600; line-height: 1.5; }
body .mc-text-link .elementor-button { background: none; padding: 0; color: var(--mc-accent); font-size: 14px; font-weight: 600; }
body .mc-text-link a, body a.mc-text-link { color: var(--mc-accent); font-weight: 600; text-decoration: none; }
body .mc-text-link a:hover, body a.mc-text-link:hover { color: #fff; }

/* Cards — on a CONTAINER. */
/* On containers the 28px is only a default: padding set in the panel still wins. */
body .e-con:is(.mc-card, .mc-card-glow) { --padding-top: 28px; --padding-right: 28px; --padding-bottom: 28px; --padding-left: 28px; padding: var(--padding-top) var(--padding-right) var(--padding-bottom) var(--padding-left); }
/* Featured card (14 Nov): one style for every highlighted card. "mc-card-highlight" is the class
   for native containers; "mc-card-featured" is the client's own class, used inside the snippets. */
body .mc-card-highlight, body .mc-card-featured,
body .nc-hero-card, body .pricing-payment-panel-highlighted {   /* last two: snippets pasted before 14 Nov */
  background: radial-gradient(circle at 88% 8%, rgba(124, 58, 237, .2), transparent 45%), linear-gradient(160deg, #141238, #0c0c24 70%);
  border: 1px solid rgba(160, 100, 255, .4);
  box-shadow: 0 0 50px rgba(124, 58, 237, .18);
}
body .mc-card-highlight { border-radius: 18px; }
body .mc-card-glass { background: rgba(12, 12, 36, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--mc-border); border-radius: 16px; }

body .mc-card-soft { background: radial-gradient(circle at 30% 0%, rgba(155, 79, 232, .075), transparent 45%), var(--mc-surface); border: 1px solid var(--mc-border); border-radius: 18px; box-shadow: 0 0 32px rgba(124, 58, 237, .08); }
body .mc-card-dashed { border-style: dashed; border-color: rgba(155, 79, 232, .42); }

/* Small status chips — Heading widget, tag span/div */
body .mc-live-chip .elementor-heading-title,
body .mc-amber-chip .elementor-heading-title {
  display: inline-flex; padding: 5px 10px; border-radius: 999px;
  font-family: var(--mc-font-display); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2;
}
body .mc-live-chip .elementor-heading-title { border: 1px solid rgba(95, 216, 154, .36); background: rgba(95, 216, 154, .09); color: #5fd89a; }
body .mc-amber-chip .elementor-heading-title { border: 1px solid rgba(245, 184, 75, .35); background: rgba(245, 184, 75, .1); color: #f5b84b; font-size: 9px; letter-spacing: .1em; }

/* Tag chips — Heading widget (tag span). Put several in a Row container, gap 8, wrap */
body .mc-chip .elementor-heading-title {
  display: inline-flex; padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(155, 79, 232, .38); background: rgba(155, 79, 232, .08);
  color: rgba(255, 255, 255, .76); font-family: var(--mc-font-body); font-size: 12px; font-weight: 600; line-height: 1.4;
}
/* Eyebrow in grey with the normal 0.18em spacing — use with mc-eyebrow */
body .mc-eyebrow-grey .elementor-heading-title { color: var(--mc-muted); }

/* Framed photo — Image widget. 440px tall (400 tablet, 320 mobile), cropped to fill */
body .mc-image-frame img {
  display: block; width: 100%; height: 440px; object-fit: cover;
  border: 1px solid rgba(155, 79, 232, .38); border-radius: 20px;
  background: var(--mc-surface); box-shadow: 0 0 48px rgba(124, 58, 237, .18);
}
@media (max-width: 900px) { body .mc-image-frame img { height: 400px; } }
@media (max-width: 720px) { body .mc-image-frame img { height: 320px; } }

/* Round profile photo with a gradient ring — Image widget */
body .mc-avatar-ring img {
  display: block; width: 76px; height: 76px; object-fit: cover; border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(var(--mc-surface), var(--mc-surface)) padding-box, var(--mc-gradient) border-box;
  box-shadow: 0 0 24px rgba(124, 58, 237, .2);
}

/* Section backgrounds — on a full-width CONTAINER */
/* 14 Nov: every section now sits on the one page background, so these three classes no longer
   tint the section. They stay so that containers that already carry them update by themselves. */
body .mc-bg-surface { background-color: var(--mc-bg); }
body .mc-band-gradient {
  background: var(--mc-bg);
  border-top: 1px solid var(--mc-border); border-bottom: 1px solid var(--mc-border);
}
body .mc-band-strong { background: var(--mc-bg); }
body .mc-border-y { border-top: 1px solid var(--mc-border); border-bottom: 1px solid var(--mc-border); }

/* Soft purple glow behind hero headings — on the hero CONTAINER */
body .mc-glow-top { position: relative; overflow: hidden; isolation: isolate; }
body .mc-glow-top::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -240px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 650px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(155, 79, 232, .21) 0%, rgba(204, 89, 186, .08) 38%, transparent 70%);
}

/* Gradient avatar with initials — Heading widget, tag div */
body .mc-avatar .elementor-heading-title { width: 48px; height: 48px; border-radius: 50%; background: var(--mc-gradient); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #fff; }

/* Gradient numbered circle (steps) — Heading widget, tag div */
body .mc-step-num .elementor-heading-title { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #9a5cf0, #d65fc4); color: #090819; font-size: 13px; font-weight: 700; box-shadow: 0 0 16px rgba(214, 95, 196, .28); }

/* "Illustrative" caption */
body .mc-caption .elementor-heading-title, body .mc-caption { color: var(--mc-muted); font-size: 10px; }

/* ---------- 7. HEADER (Theme Builder → Header) ----------
   Header container classes: "mc-header". Nav Menu widget: "mc-nav". */
/* Sticky goes on Elementor's header wrapper (a direct child of <body>), not on the inner container,
   otherwise sticky has no room to stick. */
body .elementor-location-header:has(.mc-header, .mc-site-nav) { position: sticky; top: 0; z-index: 50; }
body.admin-bar .elementor-location-header:has(.mc-header, .mc-site-nav) { top: 32px; }
@media (max-width: 782px) { body.admin-bar .elementor-location-header:has(.mc-header, .mc-site-nav) { top: 0; } }
body .mc-header {
  background: rgba(5, 5, 20, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mc-border);
}
body .mc-nav .elementor-nav-menu--main .elementor-item {
  font-family: var(--mc-font-body); font-size: 13px; font-weight: 500; line-height: 1.5;
  padding: 6px 12px; margin: 0 1px; border-radius: 6px;
  color: var(--mc-muted); transition: color .15s, background .15s;
}
body .mc-nav .elementor-nav-menu--main .elementor-item:hover,
body .mc-nav .elementor-nav-menu--main .elementor-item:focus { color: #fff; }
body .mc-nav .elementor-nav-menu--main .elementor-item.elementor-item-active { color: #fff; background: rgba(124, 58, 237, .18); }
body .mc-nav .elementor-nav-menu--main .elementor-item::before,
body .mc-nav .elementor-nav-menu--main .elementor-item::after { display: none; }
body .mc-nav .elementor-menu-toggle { background: transparent; color: #fff; font-size: 22px; }
body .mc-nav .elementor-menu-toggle svg { fill: #fff; }
body .mc-nav .elementor-nav-menu--dropdown { background: var(--mc-surface); border-top: 1px solid var(--mc-border); padding: 12px 16px; }
body .mc-nav .elementor-nav-menu--dropdown .elementor-item { font-size: 14px; font-weight: 500; padding: 10px 12px; border-radius: 6px; color: var(--mc-muted); background: transparent; }
body .mc-nav .elementor-nav-menu--dropdown .elementor-item:hover,
body .mc-nav .elementor-nav-menu--dropdown .elementor-item.elementor-item-active { color: #fff; background: rgba(124, 58, 237, .18); }

/* ---------- 8. FOOTER (Theme Builder → Footer) ----------
   Footer container: "mc-footer". Column titles (Heading): "mc-footer-title".
   Link lists (Icon List widget, no icons): "mc-footer-links". */
body .mc-footer { background: var(--mc-surface); border-top: 1px solid var(--mc-border); }
body .mc-footer-title .elementor-heading-title { color: #fff; font-family: var(--mc-font-body); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
body .mc-footer-links .elementor-icon-list-item { padding-bottom: 8px !important; }
body .mc-footer-links .elementor-icon-list-text { color: var(--mc-muted); font-size: 13px; transition: color .15s; }
body .mc-footer-links a:hover .elementor-icon-list-text { color: #fff; }
body .mc-footer-bottom { border-top: 1px solid var(--mc-border); }
body .mc-footer-legal .elementor-icon-list-text, body .mc-footer-legal .elementor-heading-title { color: var(--mc-muted-2); font-size: 12px; }

/* ---------- 9. FORMS (Elementor Pro Form widget) ----------
   Form widget class: "mc-form". Gives the Contact / Partner form look:
   dark fields, purple focus ring, gradient full-width submit. */
body .mc-form .elementor-field-group .elementor-field-label { color: #fff; font-family: var(--mc-font-display); font-size: 12px; font-weight: 650; margin-bottom: 7px; padding: 0; }
body .mc-form .elementor-field-group .elementor-field-textual {
  width: 100%; min-height: 46px; padding: 0 14px;
  background: var(--mc-surface-2); color: #fff;
  border: 1px solid var(--mc-border); border-radius: 9px;
  font-family: var(--mc-font-display); font-size: 14px; line-height: 1.4; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
body .mc-form .elementor-field-group textarea.elementor-field-textual { min-height: 140px; padding: 13px 14px; resize: vertical; }
body .mc-form .elementor-field-group .elementor-field-textual:focus { border-color: rgba(155, 79, 232, .72); box-shadow: 0 0 0 3px rgba(155, 79, 232, .1); }
body .mc-form .elementor-field-group .elementor-field-textual::placeholder { color: var(--mc-muted-2); }
body .mc-form .elementor-field-type-submit .elementor-button {
  width: 100%; justify-content: center; padding: 14px 28px; margin-top: 4px;
  background: var(--mc-gradient); color: #fff; border: 0; border-radius: 8px;
  font-family: var(--mc-font-body); font-size: 15px; font-weight: 600;
  transition: opacity .2s, transform .15s;
}
body .mc-form .elementor-field-type-submit .elementor-button:hover { opacity: .9; transform: translateY(-1px); }
body .mc-form .elementor-field-type-html { color: var(--mc-muted); font-size: 12px; line-height: 1.55; }
body .mc-form .elementor-message { color: #fff; font-size: 14px; }
/* Panel around the form — put on the CONTAINER that holds the Form widget */
body .mc-form-panel {
  border: 1px solid rgba(155, 79, 232, .27); border-radius: 18px;
  background: radial-gradient(circle at 50% 0%, rgba(155, 79, 232, .08), transparent 46%), rgba(12, 12, 36, .94);
  box-shadow: 0 0 48px rgba(124, 58, 237, .15);
}
/* Inline newsletter sign-up (email + button on one row) — Form widget class "mc-form mc-form-inline" */
body .mc-form-inline .elementor-field-group .elementor-field-textual { min-height: 46px; }

/* ---------- 10. FAQ — Elementor Accordion widget, class "mc-faq" ---------- */
body .mc-faq { border-top: 1px solid var(--mc-border); }
body .mc-faq .elementor-accordion-item,
body .mc-faq .e-n-accordion-item { border: 0; border-bottom: 1px solid var(--mc-border); }
body .mc-faq .elementor-tab-title,
body .mc-faq .e-n-accordion-item-title { padding: 21px 2px; background: transparent; border: 0; }
body .mc-faq .elementor-accordion-title,
body .mc-faq .e-n-accordion-item-title-text { color: #fff; font-family: var(--mc-font-display); font-size: 15px; font-weight: 600; }
body .mc-faq .elementor-accordion-icon,
body .mc-faq .e-n-accordion-item-title-icon { color: var(--mc-purple); fill: var(--mc-purple); }
body .mc-faq .elementor-accordion-icon svg,
body .mc-faq .e-n-accordion-item-title-icon svg { fill: var(--mc-purple); }
body .mc-faq .elementor-tab-content,
body .mc-faq .e-n-accordion-item > .e-con { padding: 0 2px 20px; border: 0; color: var(--mc-muted); font-size: 14px; line-height: 1.65; }

/* ---------- 11. NEWSLETTER (Loop Grid + Taxonomy Filter) ----------
   Loop Item template container: "mc-card mc-post-card".
   Category label (Post Terms / Heading): "mc-tag".
   Taxonomy Filter widget: "mc-filter". */
body .mc-post-card { transition: border-color .2s, transform .15s; }
body .mc-post-card:hover { border-color: var(--mc-border-bright); transform: translateY(-2px); }
body .e-con.mc-card.mc-post-card { --padding-top: 20px; --padding-right: 20px; --padding-bottom: 20px; --padding-left: 20px; }
body .mc-tag a, body .mc-tag .elementor-heading-title, body .mc-tag .elementor-post-info__terms-list-item {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  background: rgba(124, 58, 237, .2); color: #a855f7;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; line-height: 1.5;
}
body .mc-read-more .elementor-heading-title, body .mc-read-more a {
  background: var(--mc-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-size: 13px; font-weight: 600;
}
body .mc-filter .e-filter-item {
  padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--mc-border); background: transparent; color: var(--mc-muted); transition: all .15s;
}
body .mc-filter .e-filter-item[aria-pressed="true"],
body .mc-filter .e-filter-item:hover { border-color: rgba(124, 58, 237, .6); background: rgba(124, 58, 237, .15); color: #fff; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body .grad-btn, body .outline-btn, body .mc-btn .elementor-button { transition: none; }
}

/* ---------- 12. HTML-widget width fix ----------
   Elementor shrinks widgets to their content width when the parent container's
   "Align Items" is anything other than Stretch. The diagrams use percentage widths,
   so they collapse. This keeps every visual snippet full-width (icons excluded). */
body .elementor-widget-html:has(.mc-html):not(:has(.partner-practice-icon, .delivery-option-mark, .about-profile-image, .nc-transformation, .mc-dots-only)) {
  width: 100%;
  max-width: 100%;
  align-self: stretch;
  --container-widget-width: 100%;
  --container-widget-flex-grow: 0;
}

/* ---------- 13. HOME · "A NEW CATEGORY" (native build) ----------
   Centre card: container "mc-card-highlight" (already above).
   Side cards: container "mc-nc-side". Lists: Icon List widget "mc-list-check" / "mc-list-cross". */
body .mc-nc-side {
  background: rgba(255, 255, 255, .025); border: 1px solid var(--mc-border); border-radius: 18px;
  opacity: .68; margin-top: 48px;
}
@media (max-width: 900px) { body .mc-nc-side { margin-top: 0; } }

body :is(.mc-list-check, .mc-list-cross) .elementor-icon-list-items { display: flex; flex-direction: column; margin: 0; padding: 0; }
body :is(.mc-list-check, .mc-list-cross) .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
body :is(.mc-list-check, .mc-list-cross) .elementor-icon-list-item::after { display: none !important; }
body :is(.mc-list-check, .mc-list-cross) .elementor-icon-list-icon { display: flex; align-items: center; justify-content: flex-start; flex: 0 0 auto; width: auto; padding: 0 10px 0 0; top: 0; }
body :is(.mc-list-check, .mc-list-cross) .elementor-icon-list-icon svg { display: block; }
body :is(.mc-list-check, .mc-list-cross) .elementor-icon-list-text { padding-left: 0; font-family: var(--mc-font-display); line-height: 1.45; }

body .mc-list-check .elementor-icon-list-items { gap: 13px; }
body .mc-list-check .elementor-icon-list-item { align-items: flex-start; }
body .mc-list-check .elementor-icon-list-icon { height: 20px; }  /* = one line of 14px text */
body .mc-list-check .elementor-icon-list-icon i { color: #b36cf2; font-size: 12px; }
body .mc-list-check .elementor-icon-list-icon svg { fill: #b36cf2; width: 12px; height: 12px; }
body .mc-list-check .elementor-icon-list-text { color: rgba(255, 255, 255, .9); font-size: 14px; }

body .mc-list-cross .elementor-icon-list-items { gap: 15px; }
body .mc-list-cross .elementor-icon-list-item { align-items: flex-start; }
body .mc-list-cross .elementor-icon-list-icon { height: 17px; }  /* = one line of 12px text */
body .mc-list-cross .elementor-icon-list-icon i { color: #f87171; font-size: 11px; }
body .mc-list-cross .elementor-icon-list-icon svg { fill: #f87171; width: 11px; height: 11px; }
body .mc-list-cross .elementor-icon-list-text { color: var(--mc-muted); font-size: 12px; }

/* ---------- 14. STEP SLIDER · Home "How it works" ----------
   LEFT (native):  container "mc-steps" holding 3 step containers "mc-step"
                   (step 1: "mc-step is-active"). Inside each step:
                   Heading "mc-step-badge" (the number) + container "mc-step-text"
                   with Heading "mc-step-title" and Text Editor "mc-step-desc".
   RIGHT (snippet): snippets/home/visuals/how-it-works-slider.html (3 diagrams + dots)
   JS: assets/js/steps-slider.js. Each step runs 6 s; the gradient line along the
   bottom of the active step shows the time. Hover pauses. A click stops autoplay. */
body .mc-steps { display: flex; flex-direction: column; gap: 14px; }
body .mc-step {
  position: relative; overflow: hidden;
  display: flex; flex-direction: row; align-items: center; gap: 15px;
  min-height: 68px; padding: 14px 17px;
  border: 1px solid rgba(136, 136, 170, .2); border-radius: 13px;
  background: transparent; cursor: pointer;
  transition: min-height 220ms ease, padding 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
body .mc-step:hover:not(.is-active) { border-color: rgba(155, 79, 232, .38); }
body .mc-step:hover:not(.is-active) .mc-step-title .elementor-heading-title { color: rgba(255, 255, 255, .72); }
body .mc-step:focus-visible { outline: 2px solid #9b4fe8; outline-offset: 2px; }
body .mc-step.is-active {
  align-items: flex-start; min-height: 108px; padding: 18px;
  border-color: rgba(155, 79, 232, .72);
  background: linear-gradient(135deg, rgba(25, 19, 55, .96), rgba(13, 12, 39, .96));
  box-shadow: 0 0 30px rgba(155, 79, 232, .17), inset 0 0 20px rgba(155, 79, 232, .05);
}
/* Progress line: faint track + gradient fill that grows over 6 s */
body .mc-step::after {
  content: ""; position: absolute; top: auto; right: 0; bottom: 0; left: 0; width: auto; height: 2px;
  background: linear-gradient(90deg, #9a5cf0, #d65fc4) 0 0 / 0% 100% no-repeat, rgba(155, 79, 232, .12);
  opacity: 0; pointer-events: none;
}
body .mc-step.is-active::after { opacity: 1; animation: mc-step-progress var(--mc-step-duration, 6s) linear forwards; }
body .mc-steps.is-paused .mc-step.is-active::after { animation-play-state: paused; }
body .mc-steps.is-manual .mc-step.is-active::after { animation: none; background-size: 100% 100%, auto; }
@keyframes mc-step-progress { from { background-size: 0% 100%, auto; } to { background-size: 100% 100%, auto; } }

body .mc-step > .mc-step-badge, body .mc-step .mc-step-badge { width: auto; flex: 0 0 auto; }
body .mc-step-badge .elementor-heading-title {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(136, 136, 170, .42); border-radius: 50%; background: transparent;
  color: var(--mc-muted); font-family: var(--mc-font-display); font-size: 13px; font-weight: 700; line-height: 1;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
body .mc-step.is-active .mc-step-badge .elementor-heading-title {
  border-color: transparent; background: linear-gradient(135deg, #9a5cf0, #d65fc4);
  color: #090819; box-shadow: 0 0 16px rgba(214, 95, 196, .28);
}
body .mc-step-text { flex: 1 1 auto; min-width: 0; gap: 0; }
body .mc-step-title .elementor-heading-title {
  font-family: var(--mc-font-display); font-size: 14px; font-weight: 650; line-height: 32px;
  color: var(--mc-muted); transition: color 220ms ease;
}
body .mc-step.is-active .mc-step-title .elementor-heading-title { color: #fff; font-size: 15px; font-weight: 700; line-height: 1.45; }
body .mc-step.is-active .mc-step-title { margin-bottom: 5px; }
body .mc-step-desc { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease, opacity .25s ease; }
body .mc-step.is-active .mc-step-desc { max-height: 140px; opacity: 1; }
body .mc-step-desc, body .mc-step-desc p { margin: 0; color: var(--mc-muted); font-family: var(--mc-font-display); font-size: 12px; line-height: 1.55; }
/* Editor: every description visible, no progress animation */
body.elementor-editor-active .mc-step-desc { max-height: none; opacity: 1; }
body.elementor-editor-active .mc-step.is-active::after { animation: none; background-size: 30% 100%, auto; }

/* Stage (right): the 3 diagrams stacked, only the active one visible */
body .mc-step-stage { display: flex; align-items: center; gap: 15px; min-width: 0; font-family: var(--mc-font-display); }
body .mc-stage-panels { display: grid; flex: 1 1 auto; min-width: 0; }
body .mc-stage-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
body .mc-stage-panel.is-active { opacity: 1; visibility: visible; transition: opacity .3s ease; }
body .mc-stage-panel .hiw-panel-content { animation: none; }
body .mc-stage-panel.is-active .hiw-panel-content { animation: mc-panel-in 260ms ease both; }
@keyframes mc-panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
body .mc-stage-dots { width: 7px; flex: 0 0 7px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
body .mc-stage-dots button {
  position: relative; display: block; width: 5px; height: 5px; padding: 0; margin: 0;
  border: 0; border-radius: 999px; background: rgba(136, 136, 170, .38); cursor: pointer;
  transition: height .25s ease, background-color .25s ease, box-shadow .25s ease;
}
body .mc-stage-dots button::before { content: ""; position: absolute; inset: -6px -8px; }
body .mc-stage-dots button:hover, body .mc-stage-dots button:focus { background: rgba(136, 136, 170, .7); }
body .mc-stage-dots button.is-active { height: 20px; background: #9b4fe8; box-shadow: 0 0 10px rgba(155, 79, 232, .55); }
body .mc-stage-dots button:focus-visible { outline: 2px solid #b36cf2; outline-offset: 3px; }
@media (max-width: 520px) { body .mc-step-stage { gap: 8px; } }

@media (prefers-reduced-motion: reduce) {
  body .mc-step, body .mc-step-badge .elementor-heading-title, body .mc-step-desc,
  body .mc-stage-panel, body .mc-stage-dots button { transition: none !important; }
  body .mc-step.is-active::after, body .mc-stage-panel.is-active .hiw-panel-content { animation: none; }
  body .mc-step.is-active::after { background-size: 100% 100%, auto; }
}

/* ---------- 15. NUMBERED STEPS · Become a Partner "3 simple steps" ----------
   Row container "mc-num-steps" holding 3 step containers "mc-num-step".
   Each step: Heading "mc-num-circle" (the number) + H3 + Text Editor.
   The class handles the layout at every size: 3 columns joined by a line on
   desktop/tablet, a vertical list with a vertical line on phones. */
body .mc-num-steps { position: relative; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 !important; max-width: 960px; margin-left: auto; margin-right: auto; width: 100%; text-align: center; }
/* If the container is set to Boxed, Elementor adds an inner wrapper: put the grid on it instead */
body .mc-num-steps:has(> .e-con-inner) { display: block !important; }
body .mc-num-steps > .e-con-inner { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 !important; width: 100%; max-width: none; padding: 0; margin: 0; }
/* The joining line: each step except the last draws a segment from its circle to the next one,
   so the line always stops at the last circle whatever the container width */
body .mc-num-step:not(:last-child)::after { content: ""; position: absolute; z-index: -1; top: 36px; left: 50%; width: 100%; height: 3px; background: #2a2866; }
body .mc-num-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 0 28px; gap: 0; }
/* If a step container is set to Boxed, ignore Elementor's inner wrapper so the widgets lay out as direct children */
body .mc-num-step > .e-con-inner { display: contents; }
body .mc-num-circle { width: auto; }
body .mc-num-circle .elementor-heading-title {
  width: 74px; height: 74px; display: flex; align-items: center; justify-content: center; margin: 0 auto 26px;
  border: 3px solid #3a3680; border-radius: 50%; background: var(--mc-bg);
  color: #b36cf2; font-family: var(--mc-font-display); font-size: 30px; font-weight: 800; line-height: 1;
}
body .mc-num-step .elementor-widget-heading:not(.mc-num-circle) .elementor-heading-title { font-family: var(--mc-font-display); font-size: 21px; font-weight: 750; line-height: 1.3; color: #fff; margin-bottom: 10px; }
body .mc-num-step .elementor-widget-text-editor { max-width: 270px; color: var(--mc-muted); font-family: var(--mc-font-display); font-size: 15px; line-height: 1.62; }
body .mc-num-step .elementor-widget-text-editor p { margin: 0; }
@media (max-width: 800px) {
  body .mc-num-steps { grid-template-columns: 1fr; gap: 34px !important; max-width: 620px; text-align: left; }
  body .mc-num-steps > .e-con-inner { grid-template-columns: 1fr; gap: 34px !important; }
  body .mc-num-step:not(:last-child)::after { top: 27px; left: 25.5px; width: 3px; height: calc(100% + 34px); }
  body .mc-num-step { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 20px; align-items: start; padding: 0; }
  body .mc-num-step .mc-num-circle { grid-row: 1 / span 2; }
  body .mc-num-step .elementor-widget:not(.mc-num-circle) { grid-column: 2; }
  body .mc-num-circle .elementor-heading-title { width: 54px; height: 54px; margin: 0; font-size: 22px; }
  body .mc-num-step .elementor-widget-heading:not(.mc-num-circle) .elementor-heading-title { margin-bottom: 8px; }
  body .mc-num-step .elementor-widget-text-editor { max-width: none; }
}

/* ---------- 15b. SMALL ADDITIONS (Nov 11 client update) ---------- */
/* Logo tile in a testimonial (Methodshift): Image widget "mc-logo-tile" showing only the mark */
body .mc-logo-tile { width: 48px !important; height: 48px; flex: 0 0 48px; display: flex; align-items: center; justify-content: center; padding: 6px; border: 1px solid var(--mc-border); border-radius: 10px; background: rgba(5, 5, 20, .82); }
body .mc-logo-tile > .elementor-widget-container, body .mc-logo-tile a { width: 30px; height: 34px; overflow: hidden; display: flex; align-items: center; justify-content: flex-start; }
body .mc-logo-tile img { width: auto !important; height: 34px !important; max-width: none !important; display: block; }

/* Become a Partner "Make an immediate impact" card: container "mc-impact-card" (+ "mc-card-soft").
   Copy left, icon (HTML widget) right; on phones the icon moves above the copy. */
body .mc-impact-card { flex-direction: row !important; align-items: center; gap: 20px; min-height: 208px; padding: 32px 30px; }
body .mc-impact-card > .elementor-widget-html, body .mc-impact-card > .e-con-inner > .elementor-widget-html { width: 160px !important; flex: 0 0 160px; }
@media (max-width: 800px) { body .mc-impact-card { min-height: 0; } }
@media (max-width: 620px) {
  body .mc-impact-card { flex-direction: column !important; align-items: flex-start; padding: 24px; }
  body .mc-impact-card > .elementor-widget-html { order: -1; width: 100% !important; flex: none; }
}

/* Heading with a <br> that should only break on desktop/tablet: Heading class "mc-br-desktop" */
@media (max-width: 620px) { body .mc-br-desktop br { display: none; } }

/* ---------- 15c. ADDITIONS (14 Nov client update) ---------- */
/* Home "Built by people who run delivery. | Meet the team →" strip.
   Full-width container "mc-trust-strip" (Row) holding two Heading widgets: the sentence, then the link. */
body .mc-trust-strip {
  --padding-top: 22px; --padding-bottom: 22px; padding-top: 22px; padding-bottom: 22px;
  border-top: 1px solid var(--mc-border); border-bottom: 1px solid var(--mc-border); background: var(--mc-bg);
}
body .mc-trust-strip, body .mc-trust-strip > .e-con-inner {
  flex-direction: row !important; flex-wrap: wrap !important; align-items: center !important; justify-content: center !important;
  gap: 8px 18px !important; text-align: center;
}
body .mc-trust-strip .elementor-widget { width: auto; max-width: 100%; }
body .mc-trust-strip .elementor-heading-title { font-family: var(--mc-font-body); font-size: 16px; font-weight: 600; line-height: 1.5; color: #fff; margin: 0; }
body .mc-trust-strip .elementor-widget + .elementor-widget { padding-left: 18px; border-left: 1px solid rgba(155, 79, 232, .42); }
body .mc-trust-strip .elementor-widget + .elementor-widget .elementor-heading-title,
body .mc-trust-strip .elementor-heading-title a { font-size: 14px; color: #c58bff; text-decoration: none; }
body .mc-trust-strip .elementor-heading-title a:hover { color: #fff; }
@media (max-width: 560px) {
  body .mc-trust-strip .elementor-widget + .elementor-widget { padding-left: 0; border-left: 0; }
}
/* A purple link inside a line of small text (Partner hero: "Who is behind Mission Control? Meet the team →").
   Text Editor widget "mc-inline-link". */
body .mc-inline-link a { color: #c58bff; font-weight: 600; text-decoration: none; }
body .mc-inline-link a:hover { color: #fff; }

/* ---------- 15d. ENTRY EFFECT (15 Nov) ---------- */
/* Fade in and rise 28px on first scroll into view. assets/js/site-extras.js adds these classes
   to containers with the class "mc-reveal" and to the six Platform "Live today" rows.
   Without the script nothing is hidden. */
body .mc-reveal-wait { opacity: 0; transform: translateY(28px); }
body .mc-reveal-wait, body .mc-reveal-in { transition: opacity 700ms ease, transform 700ms cubic-bezier(.22, 1, .36, 1); }
body .mc-reveal-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body .mc-reveal-wait, body .mc-reveal-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- 16. RESPONSIVE ----------
   Generic rules so the native Elementor build behaves like the design on
   tablets (≤ 1240 / ≤ 900) and phones (≤ 767) with little panel work.
   Sections pasted as full HTML snippets (.mc-container) handle themselves. */

/* Side padding on every top-level section, header and footer */
@media (max-width: 1240px) {
  body :is([data-elementor-type="wp-page"], [data-elementor-type="header"], [data-elementor-type="footer"], [data-elementor-type="single-page"], [data-elementor-type="single-post"], [data-elementor-type="archive"]) > .e-con.e-parent:not(:has(.mc-container)),
  body :is([data-elementor-type="header"], [data-elementor-type="footer"]) > .elementor-section-wrap > .e-con.e-parent:not(:has(.mc-container)) { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 767px) {
  body :is([data-elementor-type="wp-page"], [data-elementor-type="header"], [data-elementor-type="footer"], [data-elementor-type="single-page"], [data-elementor-type="single-post"], [data-elementor-type="archive"]) > .e-con.e-parent:not(:has(.mc-container)),
  body :is([data-elementor-type="header"], [data-elementor-type="footer"]) > .elementor-section-wrap > .e-con.e-parent:not(:has(.mc-container)) { padding-left: 16px; padding-right: 16px; }
}

/* Never scroll sideways */
html, body { overflow-x: clip; }

/* Header: logo and menu centred vertically; on tablet/phone the hamburger sits right
   and the dropdown opens full-width under the bar */
body .mc-header, body .mc-header > .e-con-inner { align-items: center; }
body .mc-nav .elementor-menu-toggle:not(.elementor-active) + .elementor-nav-menu--dropdown { padding-top: 0; padding-bottom: 0; border-top-width: 0; }
@media (max-width: 1024px) {
  body .mc-nav { flex: 1 1 auto; align-self: center; }
  body .mc-nav .elementor-menu-toggle { margin: 0 0 0 auto !important; }
  body .mc-header { position: relative; }
  body .mc-header > .e-con-inner, body .mc-header .e-con:has(.mc-nav), body .mc-nav, body .mc-nav > .elementor-widget-container { position: static; }
  body .mc-nav .elementor-nav-menu--dropdown { position: absolute; top: 100%; left: 0; right: 0; width: auto !important; margin: 0; z-index: 60; box-shadow: 0 18px 30px rgba(0, 0, 0, .35); }
}

/* Button rows wrap and centre on phones (hero / CTA buttons stack like the design) */
@media (max-width: 767px) {
  body .e-con:has(> .mc-btn), body .e-con:has(> .e-con-inner > .mc-btn) { flex-wrap: wrap; justify-content: center; }
}

/* Cards: drop desktop minimum heights once columns stack */
@media (max-width: 900px) {
  body .e-con:is(.mc-nc-side, .mc-card-highlight, .mc-card, .mc-card-soft, .mc-card-glass, .mc-card-glow) { min-height: 0 !important; }
}

/* "How it works" step cards stay number-left / text-right on every size */
body .mc-step { flex-direction: row !important; }
body .mc-step-text { flex-direction: column !important; }

/* Home "A new category": stack the 3 cards below 900 px, centre card first */
@media (max-width: 900px) {
  body .e-con:has(> .mc-nc-side), body .e-con-inner:has(> .mc-nc-side) { flex-direction: column !important; }
  body :is(.e-con, .e-con-inner):has(> .mc-nc-side) > :is(.mc-nc-side, .mc-card-highlight) { width: 100% !important; max-width: 100% !important; }
  body :is(.e-con, .e-con-inner):has(> .mc-nc-side) > .mc-card-highlight { order: -1; }
}

