/* mobile-landing.css — Pain-led mobile-first landing page
   Sits on top of styles.css, scoped to .mfl-* classes. */

.mfl-page {
  --pad-x: 22px;
  --section-y: 56px;
  --hairline-strong: rgba(217, 225, 232, 0.18);
  --hairline: rgba(217, 225, 232, 0.10);
  --warn: #E07B5F;
  --warn-glow: rgba(224, 123, 95, 0.18);
  color: var(--text);
}

/* English presentation: use Space Grotesk for display */
[data-lang="en"] .mfl-page { --f-display: "Space Grotesk", "Inter", system-ui, sans-serif; }
[data-lang="en"] .mfl-page { --f-body: "IBM Plex Sans", system-ui, sans-serif; }

/* The mobile column. Always stays narrow even on desktop — this IS a
   mobile-first landing page; desktop sees the same column with framing. */
.mfl-shell {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding-inline: var(--pad-x);
  position: relative;
}
@media (min-width: 760px) {
  .mfl-page { background:
      radial-gradient(1200px 600px at 50% -100px, rgba(0,194,184,0.06), transparent 60%),
      linear-gradient(180deg, rgba(255,255,255,0.012), transparent 30%),
      var(--navy); }
  .mfl-shell {
    max-width: 560px;
    border-inline-start: 1px solid var(--hairline);
    border-inline-end: 1px solid var(--hairline);
    background: linear-gradient(180deg, rgba(11,20,32,0.6), rgba(15,26,42,0.4));
    backdrop-filter: blur(2px);
  }
}

.mfl-section {
  padding-block: var(--section-y);
  position: relative;
}
.mfl-section + .mfl-section {
  border-top: 1px solid var(--hairline);
}

/* Section index badge */
.mfl-sid {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  direction: ltr;
}
.mfl-sid::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

/* Typography */
.mfl-h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(30px, 8.4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.mfl-h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(24px, 6.8vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.mfl-h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(19px, 5.2vw, 22px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.mfl-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-mute);
  text-wrap: pretty;
  margin: 0;
}
.mfl-body {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-mute);
  text-wrap: pretty;
}

/* Accent highlight */
.mfl-accent { color: var(--accent); }
.mfl-warn { color: var(--warn); }

/* Sticky language + CTA bar */
.mfl-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,20,32,0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}
.mfl-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding-inline: var(--pad-x);
  max-width: 560px;
  margin: 0 auto;
}
.mfl-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
}
.mfl-brand-name {
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.mfl-lang {
  display: inline-flex;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 3px;
  direction: ltr;
}
.mfl-lang-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.mfl-lang-btn.is-active {
  background: var(--accent);
  color: var(--navy);
  font-weight: 600;
}

/* Sticky bottom CTA */
.mfl-stickycta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 49;
  padding: 12px var(--pad-x) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(11,20,32,0) 0%, rgba(11,20,32,0.95) 30%);
  pointer-events: none;
  display: flex;
  justify-content: center;
}
.mfl-stickycta-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 520px;
  display: flex;
  gap: 10px;
}
.mfl-stickycta .mfl-btn { flex: 1; }
.mfl-stickycta.is-hidden { transform: translateY(120%); transition: transform 0.3s ease; }

/* Buttons */
.mfl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  border-radius: 6px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
}
.mfl-btn-primary {
  background: var(--accent);
  color: var(--navy);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,194,184,0.18);
}
.mfl-btn-primary:active { transform: translateY(1px); }
.mfl-btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--hairline-strong);
}
.mfl-btn-block { width: 100%; }

/* Hero */
.mfl-hero {
  padding-block: 36px 48px;
}
.mfl-hero-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  margin-bottom: 22px;
}
.mfl-hero-mark .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.mfl-hero-mark .label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.mfl-hero h1 { margin-top: 8px; }
.mfl-hero .mfl-lede { margin-top: 20px; }
.mfl-hero-cta { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.mfl-hero-micro {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  padding-block: 14px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

/* Pain bullets */
.mfl-painlist {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.mfl-painlist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--text-mute);
  line-height: 1.55;
}
.mfl-painlist .x {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(224, 123, 95, 0.10);
  color: var(--warn);
  font-family: var(--f-mono);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mfl-painlist em {
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}

/* Transition / pull-quote */
.mfl-pull {
  margin-top: 28px;
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(0,194,184,0.06), rgba(0,194,184,0));
  border: 1px solid rgba(0,194,184,0.18);
}
.mfl-pull .mfl-eyebrow {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.mfl-pull p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--text); }

/* Story card */
.mfl-story {
  padding: 24px 22px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0));
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mfl-story + .mfl-story { margin-top: 18px; }
.mfl-story-num {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}
.mfl-story-mock {
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--navy-2);
  padding: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.6;
}
.mfl-story-body {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-mute);
}
.mfl-story-body strong { color: var(--text); font-weight: 600; }
.mfl-story-lesson {
  border-top: 1px dashed var(--hairline-strong);
  padding-top: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.mfl-story-lesson .badge {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}
.mfl-story-lesson p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }

/* Quote-style mini renders inside story */
.mfl-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mfl-chat-bubble {
  align-self: flex-start;
  max-width: 80%;
  padding: 9px 12px;
  border-radius: 12px 12px 12px 4px;
  background: rgba(255,255,255,0.05);
  font-size: 13.5px;
  color: var(--text-mute);
  line-height: 1.45;
}
.mfl-chat-bubble.user {
  align-self: flex-end;
  background: rgba(0,194,184,0.12);
  color: var(--text);
  border-radius: 12px 12px 4px 12px;
}
[dir="rtl"] .mfl-chat-bubble { border-radius: 12px 12px 4px 12px; }
[dir="rtl"] .mfl-chat-bubble.user { border-radius: 12px 12px 12px 4px; }

/* Form mock */
.mfl-formmock {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mfl-formmock .row {
  height: 36px;
  border: 1px solid var(--hairline-strong);
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-dim);
}
.mfl-formmock .submit {
  height: 36px;
  border-radius: 4px;
  background: var(--text-dim);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-body);
  opacity: 0.5;
}

/* Price-only bubbles for story 3 */
.mfl-pricecloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mfl-pricecloud .chip {
  padding: 4px 10px;
  border: 1px dashed var(--hairline-strong);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--text-dim);
}
.mfl-pricecloud .chip.loud {
  border-style: solid;
  border-color: var(--warn);
  color: var(--warn);
  font-weight: 500;
}

/* Solution / mechanism list */
.mfl-buildlist {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mfl-buildlist .item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  align-items: flex-start;
}
.mfl-buildlist .item:last-child { border-bottom: 1px solid var(--hairline); }
.mfl-buildlist .check {
  margin-top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mfl-buildlist .item p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text); }

/* Mechanism numbered steps */
.mfl-mech {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mfl-mech .step {
  padding: 18px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: rgba(255,255,255,0.018);
  position: relative;
}
.mfl-mech .step::before {
  content: "";
  position: absolute;
  inset-inline-start: 18px;
  bottom: -14px;
  width: 1px;
  height: 14px;
  background: var(--hairline-strong);
}
.mfl-mech .step:last-child::before { display: none; }
.mfl-mech .step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.mfl-mech .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mfl-mech .step h4 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.mfl-mech .step p { margin: 0; font-size: 14.5px; color: var(--text-mute); line-height: 1.6; }

/* Before / After flip */
.mfl-ba {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}
.mfl-ba-col {
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
}
.mfl-ba-col.before { background: rgba(224, 123, 95, 0.04); border-color: rgba(224, 123, 95, 0.22); }
.mfl-ba-col.after { background: linear-gradient(180deg, rgba(0,194,184,0.07), rgba(0,194,184,0.01)); border-color: rgba(0,194,184,0.28); }
.mfl-ba-tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}
.before .mfl-ba-tag { color: var(--warn); }
.after .mfl-ba-tag { color: var(--accent); }
/* Before / After tag — keep mono for English source labels but disable
   uppercase + letterspacing if Arabic is showing. */
[data-lang="ar"] .mfl-ba-tag {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
[data-lang="ar"] .mfl-painlist li,
[data-lang="ar"] .mfl-story-mock { /* nothing here, placeholder */ }

.mfl-ba-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.mfl-ba-list li {
  font-size: 14.5px;
  line-height: 1.5;
  padding: 10px 0;
  border-top: 1px solid var(--hairline);
  color: var(--text-mute);
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: flex-start;
}
.before .mfl-ba-list li::before { content: "−"; color: var(--warn); font-family: var(--f-mono); }
.after .mfl-ba-list li::before { content: "+"; color: var(--accent); font-family: var(--f-mono); }

/* Diagnostic checklist */
.mfl-checklist {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  overflow: hidden;
}
.mfl-checklist .qrow {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--hairline);
  background: rgba(255,255,255,0.01);
  align-items: flex-start;
}
.mfl-checklist .qrow:first-child { border-top: none; }
.mfl-checklist .qrow .qmark {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.4px solid var(--hairline-strong);
  margin-top: 3px;
}
.mfl-checklist .qrow p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-mute); }

/* Who-this-is-for */
.mfl-fit {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}
.mfl-fit-block {
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,0.018);
}
.mfl-fit-block h3 { margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.mfl-fit-block .icon {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 13px; font-weight: 600; flex-shrink: 0;
}
.mfl-fit-block.yes .icon { background: var(--accent-glow); color: var(--accent); }
.mfl-fit-block.no .icon { background: rgba(224,123,95,0.16); color: var(--warn); }
.mfl-fit-block ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mfl-fit-block li { font-size: 14.5px; color: var(--text-mute); line-height: 1.5; padding-inline-start: 18px; position: relative; }
.mfl-fit-block.yes li::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; width: 10px; height: 1px; background: var(--accent); }
.mfl-fit-block.no li::before  { content: ""; position: absolute; inset-inline-start: 0; top: 8px; width: 10px; height: 1px; background: var(--warn); }

/* Accordion */
.mfl-accordion {
  margin-top: 22px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  overflow: hidden;
}
.mfl-acc-head {
  width: 100%;
  background: rgba(255,255,255,0.02);
  border: none;
  text-align: inherit;
  color: var(--text);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.mfl-acc-head .caret { font-family: var(--f-mono); color: var(--accent); transition: transform 0.2s ease; }
.mfl-acc-head.is-open .caret { transform: rotate(90deg); }
[dir="rtl"] .mfl-acc-head.is-open .caret { transform: rotate(-90deg); }
.mfl-acc-body {
  padding: 4px 18px 18px;
  border-top: 1px solid var(--hairline);
}
.mfl-acc-body ul { list-style: none; margin: 0; padding: 0; }
.mfl-acc-body li {
  font-size: 14.5px; line-height: 1.5; color: var(--text-mute);
  padding: 10px 0; border-top: 1px solid var(--hairline);
  display: grid; grid-template-columns: 22px 1fr; gap: 10px;
}
.mfl-acc-body li:first-child { border-top: none; }
.mfl-acc-body li .n { font-family: var(--f-mono); font-size: 11px; color: var(--text-dim); padding-top: 3px; }

/* Final CTA */
.mfl-final {
  text-align: center;
  padding-block: 64px;
}
.mfl-final-leak {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mfl-final-leak .chip {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  color: var(--text-mute);
}

/* Footer */
.mfl-foot {
  padding-block: 36px 110px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--hairline);
  margin-top: 32px;
  text-align: start;
}
.mfl-foot .top {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
}
.mfl-foot .top .logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--hairline-strong);
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,194,184,0.06);
  flex-shrink: 0;
}
.mfl-foot .top .brand {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.mfl-foot .salutation {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  text-wrap: pretty;
  text-align: center;
  padding-block: 8px 0;
  padding-inline: 8px;
}
.mfl-foot .contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.mfl-foot .contacts a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  color: var(--text);
  text-decoration: none;
  transition: all 0.15s ease;
  direction: ltr;
  text-align: start;
}
.mfl-foot .contacts a:hover {
  border-color: var(--accent);
  background: rgba(0,194,184,0.06);
}
.mfl-foot .contacts a .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(0,194,184,0.10);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mfl-foot .contacts a .icon svg { display: block; }
.mfl-foot .contacts a .meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mfl-foot .contacts a .label {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.mfl-foot .contacts a .val {
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0;
  color: var(--text);
  word-break: break-all;
  line-height: 1.25;
}
.mfl-foot .brandline {
  padding-top: 8px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
  direction: ltr;
  text-align: center;
}

[data-theme="light"] .mfl-foot .contacts a {
  background: var(--surface-2);
}
[data-theme="light"] .mfl-foot .contacts a .icon { background: rgba(0,153,144,0.10); color: #009990; }

/* Scroll progress bar */
.mfl-progress {
  position: fixed;
  top: 0; inset-inline-start: 0;
  height: 2px;
  background: var(--accent);
  width: 0%;
  z-index: 60;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Inline lang toggle inside hero (for very narrow space) */
.mfl-eyebrow {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Arabic eyebrows: drop the letter-spacing + uppercase that mangles Arabic glyphs */
[data-lang="ar"] .mfl-eyebrow,
[data-lang="ar"] .mfl-hero-mark .label {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
[data-lang="ar"] .mfl-ba-tag,
[data-lang="ar"] .mfl-story-num,
[data-lang="ar"] .mfl-sid {
  /* leave English mono labels alone; sid/story-num stay LTR because they are English */
}

/* Section-scoped grids that must survive the global 1-col collapse on mobile.
   styles.css mobile rule force-flattens every [style*="grid-template-columns"]; these
   class-based grids bypass that. */
.mfl-dotgrid {
  display: grid !important;
  grid-template-columns: repeat(10, 1fr) !important;
  gap: 8px;
}
.mfl-row {
  display: grid !important;
  grid-template-columns: 28px 1fr !important;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
}
.mfl-row + .mfl-row {
  border-top: 1px solid var(--hairline);
}
.mfl-row .num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-glow); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 11px; font-weight: 600;
  flex-shrink: 0;
}
.mfl-row .label { font-size: 14.5px; color: var(--text); line-height: 1.4; }

.mfl-cmpgrid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px;
}
.mfl-kvgrid {
  display: grid !important;
  grid-template-columns: 60px 1fr 60px !important;
  gap: 10px;
  align-items: center;
}


/* English direction support — when EN is active, switch dir */
html[data-lang="en"], body[data-lang="en"] { direction: ltr; }
[data-lang="en"] .mfl-page { direction: ltr; }
[data-lang="en"] .mfl-sid::before { /* leave LTR */ }

/* ─────────────────── LIGHT THEME ─────────────────── */
[data-theme="light"] .mfl-page {
  --bg: #F4F1EC;
  --navy: #0B1420;
  --navy-2: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #FAF7F2;
  --text: #0B1420;
  --text-mute: rgba(11, 20, 32, 0.70);
  --text-dim: rgba(11, 20, 32, 0.48);
  --hairline: rgba(11, 20, 32, 0.10);
  --hairline-strong: rgba(11, 20, 32, 0.18);
  --accent-glow: rgba(0, 153, 144, 0.16);
  --accent: #009990;
  --accent-2: #00B3A8;
  --warn: #C5573A;
  --warn-glow: rgba(197, 87, 58, 0.18);
  color: var(--text);
}
[data-theme="light"] body,
[data-theme="light"] .mfl-page { background: var(--bg); }

[data-theme="light"] {
  background: #F4F1EC !important;
}
[data-theme="light"] body { background: #F4F1EC !important; }

@media (min-width: 760px) {
  [data-theme="light"] .mfl-page {
    background:
      radial-gradient(1200px 600px at 50% -100px, rgba(0,153,144,0.06), transparent 60%),
      var(--bg) !important;
  }
  [data-theme="light"] .mfl-shell {
    background: #FFFFFF;
    border-color: rgba(11,20,32, 0.10);
    box-shadow: 0 1px 0 rgba(11,20,32,0.03), 0 30px 80px -40px rgba(11,20,32,0.18);
  }
}

/* Top bar in light */
[data-theme="light"] .mfl-topbar {
  background: rgba(244, 241, 236, 0.88);
  border-bottom-color: var(--hairline);
}
[data-theme="light"] .mfl-lang-btn { color: var(--text-dim); }
[data-theme="light"] .mfl-lang-btn.is-active { color: #FFFFFF; }
[data-theme="light"] .mfl-theme-btn { color: var(--text-mute); }

/* Buttons */
[data-theme="light"] .mfl-btn-primary {
  color: #FFFFFF;
  box-shadow: 0 10px 24px -8px rgba(0,153,144,0.45);
}
[data-theme="light"] .mfl-btn-ghost {
  color: var(--text);
  border-color: var(--hairline-strong);
}

/* Hero mark, pull, story mocks */
[data-theme="light"] .mfl-hero-mark { background: #FFFFFF; }
[data-theme="light"] .mfl-pull {
  background: linear-gradient(180deg, rgba(0,153,144,0.07), rgba(0,153,144,0));
  border-color: rgba(0,153,144,0.22);
}
[data-theme="light"] .mfl-story {
  background: #FFFFFF;
  border-color: var(--hairline);
  box-shadow: 0 1px 0 rgba(11,20,32,0.02);
}
[data-theme="light"] .mfl-story-mock {
  background: var(--surface-2);
  border-color: var(--hairline);
}
[data-theme="light"] .mfl-painlist .x {
  background: rgba(197, 87, 58, 0.10);
  color: var(--warn);
}
[data-theme="light"] .mfl-formmock .row {
  background: var(--surface-2);
  color: var(--text-dim);
}
[data-theme="light"] .mfl-formmock .submit {
  background: var(--text-dim);
  color: #FFFFFF;
}
[data-theme="light"] .mfl-chat-bubble { background: var(--surface-2); color: var(--text-mute); }
[data-theme="light"] .mfl-chat-bubble.user { background: rgba(0,153,144,0.10); color: var(--text); }

/* Before / After */
[data-theme="light"] .mfl-ba-col.before {
  background: rgba(197,87,58,0.05);
  border-color: rgba(197,87,58,0.22);
}
[data-theme="light"] .mfl-ba-col.after {
  background: linear-gradient(180deg, rgba(0,153,144,0.07), rgba(0,153,144,0.01));
  border-color: rgba(0,153,144,0.30);
}

/* Mechanism, build list, accordion, checklist, fit blocks */
[data-theme="light"] .mfl-mech .step,
[data-theme="light"] .mfl-fit-block,
[data-theme="light"] .mfl-checklist,
[data-theme="light"] .mfl-accordion {
  background: #FFFFFF;
  border-color: var(--hairline);
}
[data-theme="light"] .mfl-acc-head { background: var(--surface-2); }
[data-theme="light"] .mfl-checklist .qrow { background: #FFFFFF; }
[data-theme="light"] .mfl-checklist .qrow .qmark { border-color: var(--hairline-strong); }
[data-theme="light"] .mfl-mech .step-num { color: #FFFFFF; }
[data-theme="light"] .mfl-story-lesson .badge { color: #FFFFFF; }

/* Final chips */
[data-theme="light"] .mfl-final-leak .chip {
  background: #FFFFFF;
  border-color: var(--hairline-strong);
  color: var(--text-mute);
}

/* Sticky CTA gradient */
[data-theme="light"] .mfl-stickycta {
  background: linear-gradient(180deg, rgba(244,241,236,0) 0%, rgba(244,241,236,0.95) 30%);
}

/* Selection */
[data-theme="light"] ::selection { background: var(--accent); color: #FFFFFF; }

/* Theme toggle button */
.mfl-theme-btn {
  margin-inline-start: 8px;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: var(--text-mute);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mfl-theme-btn:hover { color: var(--accent); border-color: var(--accent); }
.mfl-theme-btn svg { display: block; }


/* ─────────────────── NEW STRATEGIC SECTIONS ─────────────────── */

/* What We Do — Q / A blocks */
.mfl-qa {
  margin-top: 14px;
  padding: 18px 18px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: rgba(255,255,255,0.018);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mfl-qa + .mfl-qa { margin-top: 10px; }
.mfl-qa .q-label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
[data-lang="ar"] .mfl-qa .q-label {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
.mfl-qa .q-label.crossed { color: var(--warn); }
.mfl-qa .q-label.accent { color: var(--accent); }
.mfl-qa .q-text {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: var(--text);
}
.mfl-qa.weak .q-text {
  color: var(--text-dim);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(224,123,95,0.5);
}

/* Flow chips */
.mfl-flow {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: rgba(255,255,255,0.018);
}
.mfl-flow .flow-label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 12px;
}
[data-lang="ar"] .mfl-flow .flow-label {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 600;
}
.mfl-flow .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.mfl-flow .chip {
  padding: 6px 12px;
  font-family: var(--f-body);
  font-size: 13px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.mfl-flow .arrow {
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 12px;
  align-self: center;
}

/* Competitor list */
.mfl-competitors {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.mfl-competitors .row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: flex-start;
}
.mfl-competitors .row .ico {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(0,194,184,0.08);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  margin-top: 1px;
}
.mfl-competitors .row .label {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.5;
}
.mfl-competitors .row .label em {
  font-style: normal;
  color: var(--text-dim);
}

/* Segment cards */
.mfl-segcards {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mfl-segcards .card {
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(255,255,255,0.018);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
}
.mfl-segcards .card .tag {
  flex-shrink: 0;
  font-family: var(--f-body);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0,194,184,0.08);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.mfl-segcards .card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.5;
}

/* Compare block — weak vs strong lead */
.mfl-compare {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.mfl-compare .col {
  padding: 18px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
}
.mfl-compare .col.weak {
  border-color: rgba(224,123,95,0.25);
  background: rgba(224,123,95,0.04);
}
.mfl-compare .col.strong {
  border-color: rgba(0,194,184,0.30);
  background: linear-gradient(180deg, rgba(0,194,184,0.07), rgba(0,194,184,0.01));
}
.mfl-compare .tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  display: inline-block;
  margin-bottom: 10px;
}
[data-lang="ar"] .mfl-compare .tag {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 600;
}
.mfl-compare .weak .tag { color: var(--warn); }
.mfl-compare .strong .tag { color: var(--accent); }
.mfl-compare .quote {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}
.mfl-compare .desc {
  font-size: 13.5px;
  color: var(--text-mute);
  line-height: 1.55;
}
.mfl-compare ul { list-style: none; margin: 0; padding: 0; }
.mfl-compare li {
  font-size: 13.5px;
  line-height: 1.5;
  padding: 5px 0;
  color: var(--text);
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  align-items: flex-start;
}
.mfl-compare .strong li::before {
  content: "+";
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 13px;
}

/* KPI grid */
.mfl-kpis {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.mfl-kpis .kpi {
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
  background: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}
.mfl-kpis .kpi .n {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--accent);
  flex-shrink: 0;
  opacity: 0.8;
}

.mfl-punch {
  margin-top: 22px;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--hairline-strong);
  background: rgba(255,255,255,0.025);
}
.mfl-punch p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
}
.mfl-punch p + p { margin-top: 8px; color: var(--accent); font-weight: 600; }

/* How We Work — expandable steps */
.mfl-step-acc {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mfl-step-acc .step {
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: rgba(255,255,255,0.018);
  overflow: hidden;
}
.mfl-step-acc .head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--text);
  width: 100%;
  text-align: inherit;
  font-family: var(--f-body);
}
.mfl-step-acc .head .num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mfl-step-acc .head h4 {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  flex: 1;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.mfl-step-acc .head .caret {
  font-family: var(--f-mono);
  font-size: 16px;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.mfl-step-acc .step.is-open .head .caret { transform: rotate(90deg); }
[dir="rtl"] .mfl-step-acc .step.is-open .head .caret { transform: rotate(-90deg); }
.mfl-step-acc .body {
  padding: 0 16px 16px 16px;
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.6;
}
.mfl-step-acc .body > p { margin: 0 0 10px; }
.mfl-step-acc .body > p:last-child { margin-bottom: 0; }
.mfl-step-acc .body strong { color: var(--text); font-weight: 600; }
.mfl-step-acc .body ul {
  list-style: none;
  margin: 6px 0 4px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.mfl-step-acc .body ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 13.5px;
  color: var(--text);
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  line-height: 1.5;
}
.mfl-step-acc .body ul li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 12px;
}
[dir="rtl"] .mfl-step-acc .body ul li::before { content: "←"; }
.mfl-systems {
  margin-top: 6px;
  display: grid;
  gap: 10px;
}
.mfl-systems .sys {
  padding: 14px;
  border: 1px solid rgba(0,194,184,0.22);
  border-radius: 8px;
  background: rgba(0,194,184,0.05);
}
.mfl-systems .sys .sys-label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 6px;
}
[data-lang="ar"] .mfl-systems .sys .sys-label {
  font-family: var(--f-body);
  font-size: 12.5px;
  letter-spacing: 0;
  font-weight: 600;
}
.mfl-systems .sys p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-mute);
  line-height: 1.55;
}
.mfl-systems .sys p strong { color: var(--text); }

/* Proof of competence cards */
.mfl-proof {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mfl-proof .card {
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: rgba(255,255,255,0.018);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: flex-start;
}
.mfl-proof .card .idx {
  width: 30px; height: 30px;
  border-radius: 6px;
  background: rgba(0,194,184,0.10);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.mfl-proof .card h4 {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--text);
  line-height: 1.3;
}
.mfl-proof .card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-mute);
}

/* Per-section trailing CTA */
.mfl-sec-cta {
  margin-top: 22px;
}
.mfl-sec-cta a.mfl-btn {
  height: 48px;
  font-size: 14.5px;
}

/* Lead magnet primary */
.mfl-lmp {
  margin-top: 24px;
  padding: 26px 22px;
  border-radius: 14px;
  border: 1px solid rgba(0,194,184,0.42);
  background: linear-gradient(180deg, rgba(0,194,184,0.09), rgba(0,194,184,0.01));
  box-shadow: 0 30px 60px -40px rgba(0,194,184,0.45);
}
.mfl-lmp .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
  border: 1px solid rgba(0,194,184,0.42);
  border-radius: 999px;
  padding: 5px 11px;
  margin-bottom: 16px;
}
[data-lang="ar"] .mfl-lmp .tag {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 600;
}
.mfl-lmp .tag .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.mfl-lmp h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--text);
  text-wrap: balance;
}
.mfl-lmp p.body {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-mute);
  line-height: 1.6;
}
.mfl-lmp .get-label {
  margin: 22px 0 10px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
[data-lang="ar"] .mfl-lmp .get-label {
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}
.mfl-lmp ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.mfl-lmp li {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text);
  padding: 9px 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  align-items: flex-start;
}
.mfl-lmp li::before {
  content: "✓";
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}
.mfl-lmp .micro {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Secondary lead magnets — two compact cards */
.mfl-lms {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mfl-lms-intro {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
[data-lang="ar"] .mfl-lms-intro {
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  color: var(--text-mute);
}
.mfl-lms .card {
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: rgba(255,255,255,0.018);
}
.mfl-lms .card .tag {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  background: rgba(0,194,184,0.08);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}
.mfl-lms .card h4 {
  margin: 0 0 8px;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--text);
}
.mfl-lms .card .body {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.55;
}
.mfl-lms .card .mfl-btn { width: 100%; height: 46px; font-size: 14px; }

/* Override grid collapse from styles.css */
.mfl-kpis { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; }
.mfl-proof .card { display: grid !important; grid-template-columns: 32px 1fr !important; }
.mfl-competitors .row { display: grid !important; grid-template-columns: 28px 1fr !important; }
.mfl-segcards .card { display: grid !important; grid-template-columns: auto 1fr !important; }
.mfl-lmp li { display: grid !important; grid-template-columns: 16px 1fr !important; }
.mfl-step-acc .body ul li { display: grid !important; grid-template-columns: 14px 1fr !important; }

/* Light theme adjustments for new components */
[data-theme="light"] .mfl-qa,
[data-theme="light"] .mfl-flow,
[data-theme="light"] .mfl-segcards .card,
[data-theme="light"] .mfl-step-acc .step,
[data-theme="light"] .mfl-proof .card,
[data-theme="light"] .mfl-lms .card,
[data-theme="light"] .mfl-punch {
  background: #FFFFFF;
  border-color: var(--hairline);
}
[data-theme="light"] .mfl-compare .col.weak {
  background: rgba(197,87,58,0.05);
  border-color: rgba(197,87,58,0.22);
}
[data-theme="light"] .mfl-compare .col.strong {
  background: linear-gradient(180deg, rgba(0,153,144,0.07), rgba(0,153,144,0.01));
  border-color: rgba(0,153,144,0.30);
}
[data-theme="light"] .mfl-lmp {
  background: linear-gradient(180deg, rgba(0,153,144,0.08), rgba(0,153,144,0.01));
  border-color: rgba(0,153,144,0.40);
  box-shadow: 0 30px 70px -40px rgba(0,153,144,0.40);
}
[data-theme="light"] .mfl-kpis .kpi { background: var(--surface-2); }
[data-theme="light"] .mfl-systems .sys {
  background: rgba(0,153,144,0.06);
  border-color: rgba(0,153,144,0.22);
}
[data-theme="light"] .mfl-step-acc .head .num { color: #FFFFFF; }
[data-theme="light"] .mfl-proof .card .idx { background: rgba(0,153,144,0.10); }
[data-theme="light"] .mfl-segcards .card .tag { background: rgba(0,153,144,0.10); }
[data-theme="light"] .mfl-lms .card .tag { background: rgba(0,153,144,0.10); }

/* Tablet+ adjustments — keep the mobile feel but pad a bit */
@media (min-width: 760px) {
  .mfl-page { --pad-x: 32px; --section-y: 72px; }
  .mfl-hero { padding-block: 56px 64px; }
  .mfl-h1 { font-size: 44px; }
  .mfl-h2 { font-size: 32px; }
  .mfl-h3 { font-size: 23px; }
}

/* ─────────────────── DESKTOP ─────────────────── */
@media (min-width: 980px) {
  .mfl-page {
    --pad-x: 56px;
    --section-y: 96px;
  }
  /* Widen the shell so content fills modern desktop screens */
  .mfl-shell {
    max-width: 1080px;
    padding-inline: 56px;
  }
  /* Topbar / sticky CTA stay anchored to shell edges */
  .mfl-topbar-inner,
  .mfl-stickycta-inner {
    max-width: 1080px;
    padding-inline: 56px;
  }

  /* Typography scale */
  .mfl-h1 { font-size: 64px; line-height: 1.05; letter-spacing: -0.025em; }
  .mfl-h2 { font-size: 40px; line-height: 1.15; }
  .mfl-h3 { font-size: 24px; }
  .mfl-lede { font-size: 18px; }
  .mfl-body { font-size: 16.5px; }

  /* Section padding */
  .mfl-section { padding-block: 80px; }

  /* HERO — wider, with constrained text column for readability */
  .mfl-hero { padding-block: 96px 96px; }
  .mfl-hero .mfl-h1,
  .mfl-hero .mfl-lede {
    max-width: 880px;
  }
  .mfl-hero .mfl-btn-block {
    max-width: 520px;
  }

  /* Keep prose readable: cap text-heavy section copy at a comfortable width */
  .mfl-section > .mfl-h2,
  .mfl-section > .mfl-h3,
  .mfl-section > .mfl-lede,
  .mfl-section > .mfl-body,
  .mfl-section > p {
    max-width: 880px;
  }
  /* Centered section CTA stays full width but reasonable */
  .mfl-sec-cta .mfl-btn,
  .mfl-section > .mfl-btn-block { max-width: 520px; }

  /* PAIN list — 2 columns */
  .mfl-painlist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 32px;
  }

  /* Final CTA leak chips — wider spread */
  .mfl-final-leak { justify-content: flex-start; }

  /* Stories — 2 columns */
  .mfl-stories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: stretch;
  }
  .mfl-story { margin-top: 0; }

  /* Mechanism / step accordions — slightly tighter spacing */

  /* WhatWeDo — Q/A blocks side-by-side */
  .mfl-qa { padding: 22px 24px; }
  .mfl-qa + .mfl-qa { margin-top: 12px; }

  /* Flow chips — wraps gracefully */
  .mfl-flow { padding: 22px 24px; }

  /* Competitors list — 2 columns */
  .mfl-competitors {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
    border-top: none;
  }
  .mfl-competitors .row { border-top: 1px solid var(--hairline); }

  /* Segment cards — 2 columns */
  .mfl-segcards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Lead Quality compare — already 2 cols, just spread */
  .mfl-compare {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .mfl-compare .col { padding: 28px; }
  .mfl-compare .quote { font-size: 30px; }

  /* KPI grid — 4 columns */
  .mfl-kpis,
  .mfl-kpis[style] {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px;
  }
  .mfl-kpis .kpi { padding: 12px 14px; }

  /* How We Work — keep 1 column but wider items */
  .mfl-step-acc .head { padding: 18px 22px; }
  .mfl-step-acc .head h4 { font-size: 18px; }
  .mfl-step-acc .body { padding: 0 22px 20px; font-size: 15px; }
  .mfl-systems { grid-template-columns: 1fr 1fr; }

  /* Proof cards — 2 columns (5th wraps gracefully) */
  .mfl-proof {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .mfl-proof .card { padding: 24px; }

  /* Lead Magnet Primary — wider card; checklist 2 columns */
  .mfl-lmp { padding: 36px 32px; }
  .mfl-lmp h3 { font-size: 28px; }
  .mfl-lmp p.body { font-size: 16px; }
  .mfl-lmp ul {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    border-top: none;
    column-gap: 32px;
  }
  .mfl-lmp li {
    border-bottom: 1px solid var(--hairline);
    padding: 11px 0;
  }
  .mfl-lmp .mfl-btn-block { max-width: 520px; }

  /* Secondary lead magnets — 2 cards side-by-side */
  .mfl-lms {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }
  .mfl-lms .card { padding: 26px; }
  .mfl-lms .card h4 { font-size: 20px; }

  /* Punch / pull quotes */
  .mfl-pull, .mfl-punch { padding: 26px 28px; }
  .mfl-punch p { font-size: 17px; }

  /* Footer — contacts side-by-side, salutation centered & wider */
  .mfl-foot {
    padding-block: 56px 80px;
    margin-top: 56px;
    align-items: center;
  }
  .mfl-foot .top { justify-content: center; }
  .mfl-foot .salutation { font-size: 20px; max-width: 720px; }
  .mfl-foot .contacts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(260px, 360px));
    gap: 12px;
    justify-content: center;
  }
  .mfl-foot .brandline { letter-spacing: 0.20em; }

  /* Section IDs slightly larger */
  .mfl-sid { font-size: 12px; }

  /* Sticky CTA — wider, but capped */
  .mfl-stickycta { padding: 14px 0; }
  .mfl-stickycta .mfl-btn { max-width: 420px; margin-inline: auto; }

  /* Progress bar full width */
  .mfl-progress { height: 3px; }
}

/* ─────────────────── WIDE DESKTOP ─────────────────── */
@media (min-width: 1280px) {
  .mfl-shell {
    max-width: 1180px;
    padding-inline: 72px;
  }
  .mfl-h1 { font-size: 72px; }
  .mfl-h2 { font-size: 44px; }
  .mfl-section { padding-block: 96px; }
  .mfl-hero { padding-block: 120px 112px; }
}
