/* =====================================================================
   MTMIS Punjab — imported pages (Elementor or block editor)
   Colours come from the MTMIS Punjab Site Kit (--mpk-*), so imported
   pages follow its five presets and the light/dark switch. Without the
   kit they fall back to Civic Light. Works with Elementor flexbox
   containers, sections/columns, and block-editor Group blocks.
   Selectors that must beat theme and Elementor content styles carry
   :root:not(#mpi-0); the rest stay light so editor controls still win.
   ================================================================== */

body.mpi-page {
  --mpi-brand: var(--mpk-brand, #0B3D2E);
  --mpi-brand2: var(--mpk-brand2, #0F4A37);
  --mpi-primary: var(--mpk-primary, #166534);
  --mpi-on-primary: var(--mpk-on-primary, #FFFFFF);
  --mpi-cta: var(--mpk-cta, #166534);
  --mpi-on-cta: var(--mpk-on-cta, #FFFFFF);
  --mpi-accent: var(--mpk-accent, #C9A227);
  --mpi-soft: var(--mpk-soft, #7FD9A8);
  --mpi-bg: var(--mpk-bg, #FFFFFF);
  --mpi-surface: var(--mpk-surface, #FFFFFF);
  --mpi-surface2: var(--mpk-surface2, #F6F9F7);
  --mpi-text: var(--mpk-text, #14211A);
  --mpi-muted: var(--mpk-muted, #4E5A52);
  --mpi-line: var(--mpk-border, #DDE5DF);
  --mpi-tint: var(--mpk-tint, #EEF5F0);
  --mpi-hero: var(--mpk-hero, #EEF5F0);
  --mpi-head: var(--mpk-heading, #0B3D2E);
  --mpi-link: var(--mpk-link, #166534);
  --mpi-measure: 760px;
  --mpi-wide: 1140px;
  --mpi-ease: cubic-bezier(.22, 1, .36, 1);
  --mpi-chip: color-mix(in srgb, var(--mpi-primary) 12%, var(--mpi-surface));
  --mpi-gold-chip: color-mix(in srgb, var(--mpi-accent) 18%, var(--mpi-surface));
  --mpi-pos: #15693F;
  --mpi-neg: #9A3412;
  --mpi-warn: #8A5A00;
  --mpi-info: #1D4E89;
  --mpi-shadow: 0 1px 2px rgba(11, 61, 46, .05), 0 22px 44px -30px rgba(11, 61, 46, .42);
  --mpi-shadow-lift: 0 2px 4px rgba(11, 61, 46, .06), 0 32px 60px -30px rgba(11, 61, 46, .5);
  --mpi-font-head: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mpi-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mpi-header-h: 84px;
  overflow-x: clip;
}
html[data-theme="dark"] body.mpi-page {
  --mpi-chip: color-mix(in srgb, var(--mpi-primary) 16%, transparent);
  --mpi-gold-chip: color-mix(in srgb, var(--mpi-accent) 18%, transparent);
  --mpi-pos: #86EFAC;
  --mpi-neg: #FDBA74;
  --mpi-warn: #FCD34D;
  --mpi-info: #93C5FD;
  --mpi-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 22px 44px -30px rgba(0, 0, 0, .9);
  --mpi-shadow-lift: 0 2px 4px rgba(0, 0, 0, .4), 0 32px 60px -30px rgba(0, 0, 0, 1);
}
body.mpi-page.mpi-no-kit { background-color: var(--mpi-bg); color: var(--mpi-text); font-family: var(--mpi-font-body); }

body.mpi-page :is(.mpi-hero, .mpi-stage, .mpi-sec, .mpi-cta) :is(div, p, ul, ol, li, figure, table, details, summary, nav, a, span, aside, section, dl, dt, dd) { box-sizing: border-box; }
body.mpi-page { counter-reset: mpi-sec; }

/* Full-width page in themes that box the content (Astra's page-builder layout does this itself). */
body.mpi-page.ast-page-builder-template .site-content > .ast-container { max-width: none; padding-left: 0; padding-right: 0; }
body.mpi-page.ast-page-builder-template .site-content > .ast-container > :is(#primary, .elementor) { width: 100%; margin: 0; padding: 0; }
body.mpi-page.mpi-ed-blocks :is(.entry-header, .ast-breadcrumbs-wrapper) { display: none; }
body.mpi-page.mpi-ed-blocks :is(#primary, .site-main, article.page, .entry-content) { margin-top: 0 !important; padding-top: 0 !important; }
body.mpi-page.mpi-ed-blocks .entry-content { max-width: none !important; }

/* Elementor spacing is handled here, so the page reads the same in containers, sections and blocks. */
body.mpi-page :is(.mpi-hero, .mpi-stage, .mpi-sec, .mpi-cta) { --widgets-spacing: 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px; --kit-widget-spacing: 0px; }
:where(body.mpi-page) :where(.mpi-hero, .mpi-stage, .mpi-sec, .mpi-cta) :where(.elementor-widget) { margin-block: 0; }
:where(body.mpi-page) :where(.mpi-sec, .mpi-cta) :where(.elementor-widget, .wp-block-group, .wp-block-heading) + :where(.elementor-widget, .wp-block-group, .wp-block-heading) { margin-top: 22px; }
body.mpi-page :is(.mpi-narrow, .mpi-wide) { width: 100%; margin-inline: auto; }
body.mpi-page .mpi-narrow { max-width: var(--mpi-measure) !important; }
body.mpi-page .mpi-wide { max-width: var(--mpi-wide) !important; }
/* Themes that cap every element at a reading width (Twenty Twenty-One does): the design blocks set their own. */
body.mpi-page :is(.mpi-table, .mpi-table table, .mpi-cards, .mpi-stats, .mpi-services, .mpi-pc, .mpi-faq, .mpi-docs, .mpi-record, .mpi-toc, .mpi-answer, .mpi-steps, .mpi-keys, .mpi-sources, .mpi-note, .mpi-disclaimer, .mpi-example, .mpi-timeline, .mpi-checklist, .mpi-buttons, .mpi-trust, .mpi-figure, .mpi-fig, .mpi-fig img, .mpi-off-grid, .mpi-journey, .mpi-flags, .mpi-duo, .mpi-places, .mpi-art, .mpi-text :is(p, ul, ol, li)) { max-width: none !important; }
:root:not(#mpi-0) body.mpi-page .mpi-record__r dd, :root:not(#mpi-0) body.mpi-page .mpi-record__r dt { padding: 0; margin: 0; }
body.mpi-page .elementor-widget :where(.elementor-widget-container) > :last-child { margin-bottom: 0; }

/* Block editor: top-level groups are boxed, their backgrounds reach the screen edges. */
body.mpi-page .mpi-blk:not(.mpi-cta) { box-sizing: border-box; width: auto !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; margin-block: 0 !important; padding-inline: max(20px, calc((100% - 1180px) / 2)); }
body.mpi-page.mpi-ed-blocks .entry-content { padding-left: 0 !important; padding-right: 0 !important; }
body.mpi-page.mpi-ed-blocks :is(.site-main, #primary, .ast-container, .site-content .ast-container, article.page, .entry-content) { max-width: none !important; width: 100% !important; }
body.mpi-page .mpi-blk.mpi-cta { box-sizing: border-box; max-width: 1120px !important; margin-inline: auto !important; }
body.mpi-page .mpi-blk.mpi-hero { padding-inline: max(20px, calc((100% - 1240px) / 2)); }
body.mpi-page .mpi-blk.mpi-cta { padding-inline: clamp(20px, 5vw, 64px); }
body.mpi-page .mpi-row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
body.mpi-page .mpi-row > .mpi-col { flex: 1 1 380px; min-width: 0; margin: 0 !important; }
body.mpi-page .mpi-row > .mpi-col.mpi-hero__text { flex-basis: 52%; }
body.mpi-page .mpi-row > .mpi-col.mpi-hero__side { flex-basis: 40%; }
body.mpi-page .wp-block-group :where(.wp-block-group) { margin-block: 0; }
/* Classic themes wrap each Group in .wp-block-group__inner-container: lay that out instead. */
body.mpi-page :is(.mpi-blk, .mpi-col, .mpi-blk .wp-block-group) > .wp-block-group__inner-container { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
body.mpi-page .mpi-row:has(> .wp-block-group__inner-container) { display: block; }
body.mpi-page .mpi-row > .wp-block-group__inner-container { display: flex !important; flex-wrap: wrap; align-items: center; gap: 48px; }
body.mpi-page .mpi-row > .wp-block-group__inner-container > .mpi-col { flex: 1 1 380px; min-width: 0; margin: 0 !important; }
body.mpi-page .mpi-row > .wp-block-group__inner-container > .mpi-col.mpi-hero__text { flex-basis: 52%; }
body.mpi-page .mpi-row > .wp-block-group__inner-container > .mpi-col.mpi-hero__side { flex-basis: 40%; }
body.mpi-page.mpi-ed-blocks .mpi-blk [class*="inner-container"] > * { margin-top: 0; margin-bottom: 0; }
body.mpi-page.mpi-ed-blocks .mpi-blk :is(.wp-block-group, .wp-block-heading, p, figure) { margin-block-start: 0; }
body.mpi-page.mpi-ed-blocks :is(.mpi-sec, .mpi-cta) :is(.wp-block-group, .wp-block-heading) + :is(.wp-block-group, .wp-block-heading) { margin-top: 22px !important; }
body.mpi-page.mpi-ed-blocks .mpi-sec .mpi-h2 + .wp-block-group { margin-top: 24px !important; }
body.mpi-page.mpi-ed-blocks .mpi-sec .wp-block-group + .mpi-h3 { margin-top: 38px !important; }
body.mpi-page.mpi-ed-blocks .mpi-sec .mpi-h3 + .wp-block-group { margin-top: 12px !important; }
body.mpi-page.mpi-ed-blocks .mpi-hero :is(.wp-block-group, .wp-block-heading) + :is(.mpi-lead, .mpi-html, .mpi-bylinewrap) { margin-top: 0 !important; }
body.mpi-page.mpi-ed-blocks .mpi-hero .mpi-lead + .wp-block-group { margin-top: 4px !important; }

/* ── Hero ─────────────────────────────────────────────────────────── */
body.mpi-page .mpi-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(28px, 4.6vw, 64px) !important;
  padding-bottom: clamp(36px, 5.4vw, 76px) !important;
  color: var(--mpi-text);
  background:
    radial-gradient(760px 420px at 92% -12%, color-mix(in srgb, var(--mpi-primary) 14%, transparent), transparent 64%),
    radial-gradient(560px 360px at -6% 110%, color-mix(in srgb, var(--mpi-accent) 12%, transparent), transparent 66%),
    var(--mpi-hero);
  border-bottom: 1px solid var(--mpi-line);
}
body.mpi-page .mpi-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(color-mix(in srgb, var(--mpi-brand) 13%, transparent) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
  mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
  pointer-events: none;
}
body.mpi-page .mpi-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(280px, 40%);
  height: 3px;
  background: linear-gradient(90deg, var(--mpi-accent), transparent);
}
body.mpi-page .mpi-hero--solo { text-align: center; }
body.mpi-page .mpi-hero--solo::after { left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--mpi-accent), transparent); }
body.mpi-page .mpi-hero--solo :is(.mpi-lead, .mpi-text, .mpi-trust, .mpi-buttons) { margin-inline: auto; justify-content: center; }
body.mpi-page .mpi-hero--stage.has-form { padding-bottom: clamp(120px, 13vw, 160px) !important; }
body.mpi-page .mpi-hero--stage.has-form::after { display: none; }

/* Kicker, H1, lead */
body.mpi-page .mpi-hero .mpi-kicker :is(p, .mpi-kicker__t) {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 6px 14px 6px 10px;
  border: 1px solid color-mix(in srgb, var(--mpi-primary) 24%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--mpi-surface) 70%, transparent);
  color: var(--mpi-primary);
  font: 600 13.5px/1.3 var(--mpi-font-body);
}
body.mpi-page .mpi-hero .mpi-kicker :is(p, .mpi-kicker__t)::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mpi-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mpi-accent) 22%, transparent); }
body.mpi-page :is(.mpi-h1 .elementor-heading-title, h1.mpi-h1) {
  margin: 0 0 16px;
  font-family: var(--mpi-font-head);
  font-size: clamp(30px, 4.3vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.026em;
  color: var(--mpi-head);
  text-wrap: balance;
}
body.mpi-page :is(.mpi-h1 .elementor-heading-title, h1.mpi-h1) :is(strong, em, b) { font-style: normal; font-weight: inherit; color: var(--mpi-primary); }
body.mpi-page .mpi-hero .mpi-text { max-width: 680px; color: var(--mpi-text); }
body.mpi-page .mpi-hero .mpi-lead { font-size: clamp(17px, 1.55vw, 19.5px); line-height: 1.62; color: color-mix(in srgb, var(--mpi-text) 86%, var(--mpi-muted)); }
body.mpi-page .mpi-hero .mpi-text p { margin: 0 0 12px; }
body.mpi-page .mpi-hero .mpi-text :is(strong, b) { color: var(--mpi-head); }
body.mpi-page .mpi-hero a:not(.mpi-btn):not([class*="mpk-"]) { color: var(--mpi-link) !important; text-decoration: underline !important; text-underline-offset: 3px !important; }

/* Ticked trust lines */
body.mpi-page .mpi-trust { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 20px 0 0; padding: 0; list-style: none; }
body.mpi-page .mpi-trust li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 13px 7px 8px; border: 1px solid var(--mpi-line); border-radius: 11px; background: color-mix(in srgb, var(--mpi-surface) 82%, transparent); color: var(--mpi-text); font-size: 14px; font-weight: 500; line-height: 1.3; }
body.mpi-page .mpi-trust li::marker { content: none; }
body.mpi-page .mpi-trust .mpi-ico { width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: var(--mpi-primary); color: var(--mpi-on-primary); }
body.mpi-page .mpi-trust .mpi-ico svg { stroke-width: 3; }
body.mpi-page .mpi-hero .mpi-buttons { margin-top: 22px; }

/* Site Kit blocks inside the hero */
body.mpi-page .mpi-hero .mpi-crumbswrap .mpk-crumbs { margin: 0 0 14px; }
body.mpi-page .mpi-hero--solo .mpi-crumbswrap .mpk-crumbs ol { justify-content: center; }
body.mpi-page .mpi-hero .mpi-bylinewrap { margin-top: 18px; }
body.mpi-page .mpi-hero .mpi-bylinewrap .mpk-byline { margin: 0; }
body.mpi-page .mpi-hero--solo .mpi-bylinewrap .mpk-byline { justify-content: center; }
body.mpi-page .mpi-hero .mpi-noticewrap { margin-top: 16px; }
body.mpi-page .mpi-hero .mpi-noticewrap .mpk-notice { margin: 0 !important; max-width: 680px; padding: 10px 14px; font-size: 13.5px; }
body.mpi-page .mpi-hero--solo .mpi-noticewrap .mpk-notice { margin-inline: auto !important; text-align: left; }

/* Side column: service chips and the verification form on a raised card */
body.mpi-page .mpi-hero__side { position: relative; }
body.mpi-page .mpi-hero__side.is-form::before {
  content: "";
  position: absolute;
  inset: 8% -6% -6% 8%;
  z-index: -1;
  border-radius: 32px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--mpi-primary) 22%, transparent), color-mix(in srgb, var(--mpi-accent) 18%, transparent));
  filter: blur(28px);
  opacity: .7;
}
body.mpi-page :is(.mpi-hero__side, .mpi-stage) .mpi-services { margin-bottom: 14px; }
:root:not(#mpi-0) body.mpi-page:not(.mpk) :is(.mpi-hero, .mpi-stage) .mtx-card { position: relative; border-top: 4px solid var(--mpi-primary); box-shadow: var(--mpi-shadow-lift); }
:root:not(#mpi-0) body.mpi-page:not(.mpk) :is(.mpi-hero, .mpi-stage) .mtx-card::after { content: ""; position: absolute; right: 22px; top: -4px; width: 56px; height: 4px; border-radius: 0 0 4px 4px; background: var(--mpi-accent); }
body.mpi-page .mpi-form .mtx { margin: 0 auto; }

/* Forest hero: deep green with white text and a gold hairline */
body.mpi-page .mpi-hero--forest {
  color: #E3F1EA;
  border-bottom: 0;
  background:
    radial-gradient(820px 460px at 88% -12%, color-mix(in srgb, var(--mpi-soft) 26%, transparent), transparent 62%),
    radial-gradient(620px 420px at 0% 110%, color-mix(in srgb, var(--mpi-accent) 16%, transparent), transparent 66%),
    linear-gradient(165deg, color-mix(in srgb, var(--mpi-brand) 82%, var(--mpi-primary)) 0%, var(--mpi-brand) 55%, color-mix(in srgb, var(--mpi-brand) 80%, #000) 100%);
}
body.mpi-page .mpi-hero--forest::before { background-image: radial-gradient(rgba(220, 232, 225, .14) 1px, transparent 1.3px); }
body.mpi-page .mpi-hero--forest::after { width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--mpi-accent) 30%, var(--mpi-accent) 70%, transparent); }
body.mpi-page .mpi-hero--forest :is(.mpi-h1 .elementor-heading-title, h1.mpi-h1) { color: #F6FAF7; }
body.mpi-page .mpi-hero--forest :is(.mpi-h1 .elementor-heading-title, h1.mpi-h1) :is(strong, em, b) { color: var(--mpi-soft); }
body.mpi-page .mpi-hero--forest .mpi-text, body.mpi-page .mpi-hero--forest .mpi-lead { color: #D4E5DB; }
body.mpi-page .mpi-hero--forest .mpi-text :is(strong, b) { color: #fff; }
body.mpi-page .mpi-hero--forest .mpi-kicker :is(p, .mpi-kicker__t) { border-color: rgba(127, 217, 168, .32); background: rgba(127, 217, 168, .1); color: var(--mpi-soft); }
body.mpi-page .mpi-hero--forest .mpi-trust li { border-color: rgba(220, 232, 225, .16); background: rgba(255, 255, 255, .06); color: #DCE8E1; }
body.mpi-page .mpi-hero--forest .mpi-trust .mpi-ico { background: var(--mpi-soft); color: var(--mpi-brand); }
body.mpi-page .mpi-hero--forest a:not(.mpi-btn):not([class*="mpk-"]) { color: var(--mpi-soft) !important; }
body.mpi-page .mpi-hero--forest :is(.mpk-crumbs a, .mpk-crumbs li, .mpk-byline, .mpk-byline a) { color: #CFE3D8 !important; }
body.mpi-page .mpi-hero--forest .mpk-crumbs [aria-current] { color: #fff !important; }
:root:not(#mpi-0) body.mpi-page .mpi-hero--forest .mpi-chip:not(.is-on) { border-color: rgba(220, 232, 225, .22); background: rgba(255, 255, 255, .08); color: #E3F1EA !important; }
:root:not(#mpi-0) body.mpi-page .mpi-hero--forest a.mpi-chip:not(.is-on):hover { background: rgba(255, 255, 255, .14); border-color: rgba(220, 232, 225, .4); }
body.mpi-page .mpi-hero--forest .mpi-chip:not(.is-on) .mpi-chip__go { color: var(--mpi-soft) !important; }
:root:not(#mpi-0) body.mpi-page .mpi-hero--forest .mpi-chip.is-on { border-color: var(--mpi-accent); background: var(--mpi-accent); color: #1B1405 !important; }
body.mpi-page .mpi-hero--forest .mpi-chip.is-on .mpi-ico { background: rgba(0, 0, 0, .12); color: #1B1405 !important; }
body.mpi-page .mpi-hero--forest .mpi-chip .mpi-ico { background: rgba(127, 217, 168, .16); color: var(--mpi-soft) !important; }

/* Stage: the form on a raised card over the hero's lower edge. */
body.mpi-page .mpi-stage { position: relative; z-index: 2; margin-top: clamp(-128px, -11vw, -96px) !important; padding-bottom: clamp(20px, 3vw, 36px) !important; }
body.mpi-page .mpi-blk.mpi-stage:not(#mpi-0) { margin-top: clamp(-128px, -11vw, -96px) !important; } /* block editor: beats the boxed-group reset */
body.mpi-page .mpi-stage .mpi-services ul { justify-content: center; }

/* ── Service chips ────────────────────────────────────────────────── */
:root:not(#mpi-0) body.mpi-page .mpi-services ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
:root:not(#mpi-0) body.mpi-page .mpi-services li { margin: 0; padding: 0; }
:root:not(#mpi-0) body.mpi-page .mpi-services li::marker { content: none; }
:root:not(#mpi-0) body.mpi-page .mpi-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 5px 14px 5px 6px;
  border: 1px solid var(--mpi-line);
  border-radius: 999px;
  background: var(--mpi-surface);
  color: var(--mpi-head) !important;
  font: 600 14px/1.2 var(--mpi-font-body);
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(11, 61, 46, .05);
  transition: transform .3s var(--mpi-ease), border-color .2s, box-shadow .3s, background .2s;
}
body.mpi-page .mpi-chip .mpi-ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--mpi-chip); color: var(--mpi-primary) !important; transition: background .25s, color .25s; }
body.mpi-page .mpi-chip__go { width: 16px; height: 16px; margin-left: 2px; color: var(--mpi-primary); opacity: .55; transition: transform .3s var(--mpi-ease), opacity .2s; }
body.mpi-page .mpi-chip__go svg { width: 100%; height: 100%; }
:root:not(#mpi-0) body.mpi-page a.mpi-chip:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--mpi-primary) 45%, var(--mpi-line)); box-shadow: var(--mpi-shadow); }
body.mpi-page a.mpi-chip:hover .mpi-ico { background: var(--mpi-primary); color: var(--mpi-on-primary) !important; }
body.mpi-page a.mpi-chip:hover .mpi-chip__go { transform: translateX(3px); opacity: 1; }
:root:not(#mpi-0) body.mpi-page .mpi-chip.is-on { border-color: var(--mpi-primary); background: var(--mpi-primary); color: var(--mpi-on-primary) !important; box-shadow: 0 10px 22px -14px color-mix(in srgb, var(--mpi-primary) 80%, #000); }
body.mpi-page .mpi-chip.is-on .mpi-ico { background: color-mix(in srgb, var(--mpi-on-primary) 18%, transparent); color: var(--mpi-on-primary) !important; }
:root:not(#mpi-0) body.mpi-page .mpi-chip:focus-visible { outline: 3px solid var(--mpi-primary); outline-offset: 2px; }
body.mpi-page .mpi-sec .mpi-services ul { justify-content: center; }

/* ── Sections ─────────────────────────────────────────────────────── */
body.mpi-page .mpi-sec { position: relative; padding-top: clamp(44px, 6vw, 84px) !important; padding-bottom: clamp(44px, 6vw, 84px) !important; }
body.mpi-page .mpi-sec--intro { padding-top: clamp(24px, 3vw, 36px) !important; padding-bottom: 0 !important; }
body.mpi-page .mpi-sec--intro + .mpi-sec { padding-top: clamp(36px, 5vw, 60px) !important; }
body.mpi-page .mpi-sec--alt { background-color: var(--mpi-surface2); border-block: 1px solid var(--mpi-line); }
body.mpi-page .mpi-sec--alt :is(.mpi-answer, .mpi-keys, .mpi-docs, .mpi-sources) { background-color: var(--mpi-surface); }
body.mpi-page .mpi-sec--end { padding-top: clamp(20px, 3vw, 36px) !important; }
body.mpi-page .mpi-sec--end .mpk-related { margin-top: 0; }

/* text */
body.mpi-page .mpi-text { color: var(--mpi-text); font-size: clamp(16.5px, 1.2vw, 17.5px); line-height: 1.75; }
body.mpi-page .mpi-text p { margin: 0 0 1.05em; }
:root:not(#mpi-0) body.mpi-page .mpi-text :is(ul, ol) { margin: 0 0 1.1em; padding-left: 1.35em; }
:root:not(#mpi-0) body.mpi-page .mpi-text li { margin: 0 0 .5em; padding-left: .2em; }
body.mpi-page .mpi-text ul > li::marker { content: "■  "; color: var(--mpi-primary); font-size: .66em; }
body.mpi-page .mpi-text ol > li::marker { color: var(--mpi-primary); font-weight: 700; font-variant-numeric: tabular-nums; }
body.mpi-page .mpi-text :is(strong, b) { color: var(--mpi-head); font-weight: 650; }
body.mpi-page :is(.mpi-text, .mpi-html) a:not(.mpi-btn):not(.mpi-chip):not(.mpi-card__t a):not([class*="mpk-"]) {
  color: var(--mpi-link) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent) !important;
  transition: text-decoration-color .2s, color .2s;
}
body.mpi-page :is(.mpi-text, .mpi-html) a:not(.mpi-btn):not(.mpi-chip):hover { color: var(--mpi-head) !important; text-decoration-color: currentColor !important; text-decoration-thickness: 2px !important; }
body.mpi-page .mpi-unlinked { color: inherit; }
body.mpi-page :is(.mpi-text, .mpi-html) :is(a, button, summary, input):focus-visible { outline: 3px solid var(--mpi-primary); outline-offset: 3px; border-radius: 4px; }
body.mpi-page .mpi-ur, body.mpi-page [lang="ur"] { font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", var(--mpi-font-body); line-height: 2.1; text-align: right; }
body.mpi-page .mpi-subhead { margin: 1em 0 .4em !important; color: var(--mpi-head); }

body.mpi-page .mpi-updated { color: var(--mpi-muted); font-size: 14px; line-height: 1.5; text-align: center; }
body.mpi-page .mpi-updated p { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; margin: 0; padding: 9px 16px; border: 1px solid var(--mpi-line); border-radius: 999px; background: var(--mpi-surface); }
body.mpi-page .mpi-updated p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mpi-primary); box-shadow: 0 0 0 4px var(--mpi-chip); }
body.mpi-page .mpi-fine { color: var(--mpi-muted); font-size: 14px; line-height: 1.6; }
body.mpi-page .mpi-fine p { margin: 0; }

/* ── Headings ─────────────────────────────────────────────────────── */
body.mpi-page :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2) {
  position: relative;
  margin: 0;
  font-family: var(--mpi-font-head);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 650;
  line-height: 1.17;
  letter-spacing: -.02em;
  color: var(--mpi-head);
  text-wrap: balance;
}
body.mpi-page .mpi-h2 { scroll-margin-top: calc(var(--mpi-header-h) + 24px); }
body.mpi-page .mpi-sec .mpi-h2 { counter-increment: mpi-sec; }
body.mpi-page .mpi-h2 + :is(.elementor-widget, .wp-block-group) { margin-top: 24px !important; }
body.mpi-page :is(.mpi-h3 .elementor-heading-title, h3.mpi-h3) { margin: 0; font-family: var(--mpi-font-head); font-size: clamp(19px, 1.65vw, 22px); font-weight: 600; line-height: 1.3; letter-spacing: -.012em; color: var(--mpi-head); }
body.mpi-page :where(.mpi-sec) :is(.elementor-widget, .wp-block-group) + .mpi-h3 { margin-top: 38px; }
body.mpi-page .mpi-h3 + :is(.elementor-widget, .wp-block-group) { margin-top: 12px; }
body.mpi-page :is(.mpi-h3, .mpi-h4) { scroll-margin-top: calc(var(--mpi-header-h) + 24px); }
body.mpi-page :is(.mpi-h4 .elementor-heading-title, h4.mpi-h4) { margin: 0; font-family: var(--mpi-font-head); font-size: 18px; font-weight: 600; color: var(--mpi-head); }

/* Civic: "03 / 09" above and a short gold rule below. */
body.mpi-page.mpi-h-civic .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2)::before {
  content: counter(mpi-sec, decimal-leading-zero) " / " var(--mpi-total, "");
  display: block;
  margin-bottom: 12px;
  color: var(--mpi-primary);
  font: 650 13px/1 var(--mpi-font-body);
  letter-spacing: .14em;
  font-variant-numeric: tabular-nums;
}
body.mpi-page.mpi-h-civic .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2)::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 16px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--mpi-accent) 0 70%, var(--mpi-primary) 70%);
  transform-origin: left;
}
body.mpi-page.mpi-h-civic .mpi-sec .mpi-h2.is-in :is(.elementor-heading-title)::after, body.mpi-page.mpi-h-civic .mpi-sec h2.mpi-h2.is-in::after { animation: mpi-rule .9s var(--mpi-ease) both; }
@keyframes mpi-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Refined */
body.mpi-page.mpi-h-refined .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2)::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 18px; border-radius: 3px; background: var(--mpi-primary); }
/* Index tab */
body.mpi-page.mpi-h-tab .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2) { padding-left: 22px; }
body.mpi-page.mpi-h-tab .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2)::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 7px; border-radius: 4px; background: linear-gradient(180deg, var(--mpi-brand), var(--mpi-primary) 70%, var(--mpi-accent)); }
body.mpi-page .mpi-sec--faq.mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2) { text-align: left; }

/* Section link: shown on hover, copies the address of the section. */
:root:not(#mpi-0) body.mpi-page .mpi-anchor { position: absolute; left: -36px; bottom: 4px; width: 28px; height: 28px; margin: 0; padding: 6px; border: 0; border-radius: 8px; background: transparent; color: var(--mpi-muted); opacity: 0; cursor: pointer; box-shadow: none; transition: opacity .2s, background .2s; }
body.mpi-page .mpi-anchor svg { width: 16px; height: 16px; display: block; }
body.mpi-page .mpi-h2:hover .mpi-anchor, body.mpi-page .mpi-anchor:focus-visible { opacity: 1; }
:root:not(#mpi-0) body.mpi-page .mpi-anchor:hover { background: var(--mpi-chip); color: var(--mpi-head); }
body.mpi-page .mpi-anchor.is-copied::after { content: attr(data-msg); position: absolute; left: 50%; bottom: 120%; transform: translateX(-50%); padding: 4px 8px; border-radius: 6px; background: var(--mpi-brand); color: #fff; font: 600 12px/1.2 var(--mpi-font-body); white-space: nowrap; }
@media (max-width: 1240px) { body.mpi-page .mpi-anchor { display: none; } }

/* ── Contents box ─────────────────────────────────────────────────── */
body.mpi-page .mpi-toc { margin: 22px 0 0; border: 1px solid var(--mpi-line); border-radius: 20px; background: var(--mpi-surface); box-shadow: var(--mpi-shadow); overflow: hidden; }
:root:not(#mpi-0) body.mpi-page .mpi-toc__toggle { display: flex; align-items: center; gap: 14px; width: 100%; margin: 0; padding: 16px 20px; border: 0; border-radius: 0; background: transparent; color: var(--mpi-head); font: inherit; text-align: left; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; }
:root:not(#mpi-0) body.mpi-page .mpi-toc__toggle:is(:hover, :focus) { background: transparent; color: var(--mpi-head); }
:root:not(#mpi-0) body.mpi-page .mpi-toc__toggle:focus-visible { outline: 3px solid var(--mpi-primary); outline-offset: -3px; }
body.mpi-page .mpi-toc__ring { position: relative; flex: none; width: 46px; height: 46px; }
body.mpi-page .mpi-toc__ring svg { width: 46px; height: 46px; transform: rotate(-90deg); }
body.mpi-page .mpi-toc__track { fill: none; stroke: var(--mpi-chip); stroke-width: 4; }
body.mpi-page .mpi-toc__bar { fill: none; stroke: var(--mpi-primary); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--mpi-off, 100); transition: stroke-dashoffset .25s linear; }
body.mpi-page .mpi-toc__num { position: absolute; inset: 0; display: grid; place-items: center; font: 700 14px/1 var(--mpi-font-head); color: var(--mpi-head); font-variant-numeric: tabular-nums; }
body.mpi-page .mpi-toc__heads { flex: 1; min-width: 0; }
body.mpi-page .mpi-toc__title { display: block; font: 650 18px/1.2 var(--mpi-font-head); letter-spacing: -.01em; }
body.mpi-page .mpi-toc__meta { display: block; margin-top: 4px; color: var(--mpi-muted); font: 500 13.5px/1.3 var(--mpi-font-body); }
body.mpi-page .mpi-toc__chev { flex: none; position: relative; width: 34px; height: 34px; border-radius: 10px; background: var(--mpi-chip); transition: transform .35s var(--mpi-ease); }
body.mpi-page .mpi-toc__chev::before { content: ""; position: absolute; left: 12px; top: 10px; width: 9px; height: 9px; border-right: 2.4px solid var(--mpi-primary); border-bottom: 2.4px solid var(--mpi-primary); transform: rotate(45deg); }
body.mpi-page .mpi-toc__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--mpi-ease); }
body.mpi-page .mpi-toc__inner { overflow: hidden; min-height: 0; }
body.mpi-page .mpi-toc.is-collapsed .mpi-toc__panel { grid-template-rows: 0fr; }
body.mpi-page .mpi-toc.is-collapsed .mpi-toc__chev { transform: rotate(-90deg); }
@media (max-width: 719px) {
  body.mpi-page .mpi-toc:not(.is-open) .mpi-toc__panel { grid-template-rows: 0fr; }
  body.mpi-page .mpi-toc:not(.is-open) .mpi-toc__chev { transform: rotate(-90deg); }
}
:root:not(#mpi-0) body.mpi-page .mpi-toc__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(var(--mpi-rows, 8), auto); gap: 2px 26px; margin: 0; padding: 6px 18px 18px; border-top: 1px solid var(--mpi-line); list-style: none; }
@media (max-width: 719px) { :root:not(#mpi-0) body.mpi-page .mpi-toc__list { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; } }
:root:not(#mpi-0) body.mpi-page .mpi-toc__list li { margin: 0; padding: 0; }
:root:not(#mpi-0) body.mpi-page .mpi-toc__list li::marker { content: none; }
:root:not(#mpi-0) body.mpi-page .mpi-toc__list a { display: flex; align-items: baseline; gap: 12px; padding: 9px 10px; border-radius: 10px; color: var(--mpi-text) !important; font-size: 15.5px; line-height: 1.4; text-decoration: none !important; transition: background .2s, color .2s; }
:root:not(#mpi-0) body.mpi-page .mpi-toc__list a:hover { background: var(--mpi-tint); color: var(--mpi-head) !important; }
:root:not(#mpi-0) body.mpi-page .mpi-toc__list a.is-active { background: var(--mpi-chip); color: var(--mpi-head) !important; font-weight: 600; }
body.mpi-page .mpi-toc__n { flex: none; min-width: 22px; color: var(--mpi-primary); font: 700 12.5px/1 var(--mpi-font-body); font-variant-numeric: tabular-nums; letter-spacing: .04em; }

/* floating bar */
body.mpi-page .mpi-dock { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 950; display: flex; align-items: center; gap: 10px; width: min(560px, calc(100% - 24px)); padding: 8px 8px 8px 10px; border: 1px solid color-mix(in srgb, var(--mpi-soft) 24%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--mpi-brand) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #E3F1EA; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55); transform: translate(-50%, 140%); opacity: 0; transition: transform .45s var(--mpi-ease), opacity .3s; }
body.mpi-page .mpi-dock.is-shown { transform: translate(-50%, 0); opacity: 1; }
html:has(ins.adsbygoogle[data-anchor-status="displayed"]) body.mpi-page .mpi-dock { bottom: 96px; }
body.mpi-page .mpi-dock__ring { position: relative; flex: none; width: 38px; height: 38px; }
body.mpi-page .mpi-dock__ring svg { width: 38px; height: 38px; transform: rotate(-90deg); }
body.mpi-page .mpi-dock__ring .t { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 3.5; }
body.mpi-page .mpi-dock__ring .b { fill: none; stroke: var(--mpi-accent); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--mpi-off, 100); }
body.mpi-page .mpi-dock__ring span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 10.5px/1 var(--mpi-font-body); font-variant-numeric: tabular-nums; }
body.mpi-page .mpi-dock__label { flex: 1; min-width: 0; display: grid; }
body.mpi-page .mpi-dock__label small { color: var(--mpi-soft); font: 650 11px/1.2 var(--mpi-font-body); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
body.mpi-page .mpi-dock__label span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 600 14px/1.35 var(--mpi-font-head); }
:root:not(#mpi-0) body.mpi-page .mpi-dock button { flex: none; height: 38px; margin: 0; padding: 0 14px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; font: 600 13.5px/1 var(--mpi-font-body); cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; }
:root:not(#mpi-0) body.mpi-page .mpi-dock button:hover { background: rgba(255, 255, 255, .18); }
:root:not(#mpi-0) body.mpi-page .mpi-dock .mpi-dock__open { background: var(--mpi-accent); color: #1B1405; }
:root:not(#mpi-0) body.mpi-page .mpi-dock .mpi-dock__top { width: 38px; padding: 0; position: relative; }
body.mpi-page .mpi-dock__top::before { content: ""; position: absolute; left: 14px; top: 16px; width: 9px; height: 9px; border-left: 2.4px solid #fff; border-top: 2.4px solid #fff; transform: rotate(45deg); }
:root:not(#mpi-0) body.mpi-page .mpi-dock button:focus-visible { outline: 3px solid var(--mpi-soft); outline-offset: 2px; }
body.mpi-page .mpi-dock__menu { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); max-height: min(60vh, 460px); margin: 0; padding: 8px; overflow: auto; border: 1px solid var(--mpi-line); border-radius: 18px; background: var(--mpi-surface); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45); list-style: none; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .25s var(--mpi-ease), visibility 0s .25s; }
body.mpi-page .mpi-dock.is-open .mpi-dock__menu { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--mpi-ease); }
body.mpi-page .mpi-dock__menu li { margin: 0; }
:root:not(#mpi-0) body.mpi-page .mpi-dock__menu a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--mpi-text) !important; font-size: 15px; line-height: 1.35; text-decoration: none !important; }
:root:not(#mpi-0) body.mpi-page .mpi-dock__menu a span { color: var(--mpi-primary) !important; font-weight: 700; font-size: 12.5px; font-variant-numeric: tabular-nums; padding-top: 2px; }
:root:not(#mpi-0) body.mpi-page .mpi-dock__menu a:is(:hover, :focus-visible, .is-active) { background: var(--mpi-chip); color: var(--mpi-head) !important; }
/* While the bar shows, the Site Kit's floating "Check vehicle" pill and back-to-top step aside. */
body.mpi-dock-on :is(.mpk-float, .mpk-totop) { opacity: 0 !important; pointer-events: none !important; }

/* ── Icons ────────────────────────────────────────────────────────── */
body.mpi-page .mpi-ico { display: inline-grid; place-items: center; flex: none; }
body.mpi-page .mpi-ico svg { width: 100%; height: 100%; }

/* ── Quick answer ─────────────────────────────────────────────────── */
body.mpi-page .mpi-answer { position: relative; padding: 20px 24px 20px 26px; border: 1px solid color-mix(in srgb, var(--mpi-primary) 22%, var(--mpi-line)); border-radius: 18px; background: linear-gradient(135deg, var(--mpi-tint), transparent 70%), var(--mpi-surface); box-shadow: var(--mpi-shadow); }
body.mpi-page .mpi-answer::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, var(--mpi-primary), var(--mpi-accent)); }
body.mpi-page .mpi-answer__label { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 8px !important; color: var(--mpi-primary); font: 700 12px/1 var(--mpi-font-body); letter-spacing: .12em; text-transform: uppercase; }
body.mpi-page .mpi-answer__label .mpi-ico { width: 16px; height: 16px; }
body.mpi-page .mpi-answer p { margin: 0 0 .7em; font-size: clamp(16.5px, 1.3vw, 18px); line-height: 1.7; color: var(--mpi-text); }
body.mpi-page .mpi-answer p:last-child { margin-bottom: 0; }
:root:not(#mpi-0) body.mpi-page .mpi-answer a { color: var(--mpi-head) !important; }

/* ── Steps ────────────────────────────────────────────────────────── */
:root:not(#mpi-0) body.mpi-page .mpi-steps { counter-reset: mpi-step; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
:root:not(#mpi-0) body.mpi-page .mpi-steps > li { position: relative; margin: 0; padding: 0 0 24px 64px; counter-increment: mpi-step; }
:root:not(#mpi-0) body.mpi-page .mpi-steps > li::marker { content: none; }
body.mpi-page .mpi-steps > li::before { content: counter(mpi-step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--mpi-brand); color: var(--mpi-accent); font: 700 14px/1 var(--mpi-font-head); font-variant-numeric: tabular-nums; box-shadow: 0 10px 20px -12px rgba(11, 61, 46, .8); }
body.mpi-page .mpi-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: 6px; border-left: 2px dashed color-mix(in srgb, var(--mpi-primary) 35%, transparent); }
body.mpi-page .mpi-steps > li > .mpi-ico { position: absolute; left: 30px; top: 28px; width: 24px; height: 24px; padding: 4px; border-radius: 8px; background: var(--mpi-surface); color: var(--mpi-primary); box-shadow: 0 0 0 2px var(--mpi-surface), 0 4px 10px -4px rgba(0, 0, 0, .3); }
body.mpi-page .mpi-steps p { margin: 0; color: var(--mpi-text); font-size: 16.5px; line-height: 1.65; }
body.mpi-page .mpi-steps .mpi-steps__t { padding-top: 10px; margin-bottom: 4px; font: 600 18px/1.35 var(--mpi-font-head); color: var(--mpi-head); }
html[data-theme="dark"] body.mpi-page .mpi-steps > li::before { background: var(--mpi-primary); color: var(--mpi-on-primary); }

/* ── Cards ────────────────────────────────────────────────────────── */
body.mpi-page .mpi-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 248px), 1fr)); gap: 16px; }
body.mpi-page .mpi-cards.is-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
body.mpi-page .mpi-card { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; border: 1px solid var(--mpi-line); border-radius: 18px; background: radial-gradient(360px 180px at var(--mx) var(--my), color-mix(in srgb, var(--mpi-primary) 7%, transparent), transparent 70%), var(--mpi-surface); box-shadow: var(--mpi-shadow); transition: transform .35s var(--mpi-ease), box-shadow .35s var(--mpi-ease), border-color .3s; }
body.mpi-page .mpi-card .mpi-ico { width: 48px; height: 48px; margin-bottom: 8px; padding: 12px; border-radius: 14px; background: var(--mpi-chip); color: var(--mpi-primary); transition: background .3s, color .3s, transform .4s var(--mpi-ease); }
:root:not(#mpi-0) body.mpi-page .mpi-card__t { margin: 0; font: 600 17.5px/1.3 var(--mpi-font-head); letter-spacing: -.01em; color: var(--mpi-head); }
:root:not(#mpi-0) body.mpi-page .mpi-card__t a { color: inherit !important; text-decoration: none !important; }
:root:not(#mpi-0) body.mpi-page .mpi-card__t a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
body.mpi-page .mpi-card p { margin: 0; color: var(--mpi-muted); font-size: 15px; line-height: 1.6; }
body.mpi-page .mpi-card__go { position: absolute; right: 20px; top: 22px; width: 32px; height: 32px; padding: 7px; border-radius: 10px; color: var(--mpi-primary); background: var(--mpi-tint); transition: transform .3s var(--mpi-ease), background .3s, color .3s; }
body.mpi-page .mpi-card.is-link:hover { transform: translateY(-3px); box-shadow: var(--mpi-shadow-lift); border-color: color-mix(in srgb, var(--mpi-primary) 40%, var(--mpi-line)); }
body.mpi-page .mpi-card.is-link:hover .mpi-ico { background: var(--mpi-primary); color: var(--mpi-on-primary); transform: rotate(-5deg); }
body.mpi-page .mpi-card.is-link:hover .mpi-card__go { transform: translateX(3px); background: var(--mpi-primary); color: var(--mpi-on-primary); }
body.mpi-page .mpi-card:focus-within { outline: 3px solid var(--mpi-primary); outline-offset: 2px; }
body.mpi-page .mpi-card.is-link:has(.mpi-unlinked) .mpi-card__go { display: none; }
body.mpi-page .mpi-card.is-link:has(.mpi-unlinked):hover { transform: none; box-shadow: var(--mpi-shadow); border-color: var(--mpi-line); }

/* ── Stats ────────────────────────────────────────────────────────── */
body.mpi-page .mpi-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
body.mpi-page .mpi-stats.is-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
body.mpi-page .mpi-stat { --mx: 50%; --my: 0%; position: relative; padding: 20px 20px 18px; border: 1px solid var(--mpi-line); border-radius: 18px; background: radial-gradient(300px 160px at var(--mx) var(--my), color-mix(in srgb, var(--mpi-accent) 9%, transparent), transparent 70%), var(--mpi-surface); box-shadow: var(--mpi-shadow); overflow: hidden; }
body.mpi-page .mpi-stat::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--mpi-primary), var(--mpi-accent)); }
body.mpi-page .mpi-stat .mpi-ico { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--mpi-chip); color: var(--mpi-primary); }
body.mpi-page .mpi-stat__v { margin: 0 44px 6px 0 !important; font: 700 clamp(25px, 2.5vw, 31px)/1.05 var(--mpi-font-head); letter-spacing: -.02em; color: var(--mpi-head); font-variant-numeric: tabular-nums; }
body.mpi-page .mpi-stat__l { margin: 0 !important; color: var(--mpi-text); font-weight: 600; font-size: 15px; line-height: 1.4; }
body.mpi-page .mpi-stat__n { margin: 6px 0 0 !important; color: var(--mpi-muted); font-size: 13.5px; line-height: 1.45; }

/* ── Documents ────────────────────────────────────────────────────── */
body.mpi-page .mpi-docs { padding: 20px 22px 10px; border: 1px solid var(--mpi-line); border-radius: 20px; background: var(--mpi-surface); box-shadow: var(--mpi-shadow); }
body.mpi-page .mpi-docs__t { display: flex; align-items: center; gap: 10px; margin: 0 0 6px !important; color: var(--mpi-head); font: 650 17px/1.25 var(--mpi-font-head); }
body.mpi-page .mpi-docs__t .mpi-ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--mpi-brand); color: var(--mpi-accent); }
body.mpi-page .mpi-docs__t small { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--mpi-gold-chip); color: var(--mpi-warn); font: 650 12px/1.2 var(--mpi-font-body); }
:root:not(#mpi-0) body.mpi-page .mpi-docs__list { counter-reset: mpi-doc; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
:root:not(#mpi-0) body.mpi-page .mpi-docs__list > li { counter-increment: mpi-doc; position: relative; display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 13px 4px 13px 0; border-top: 1px dashed var(--mpi-line); }
:root:not(#mpi-0) body.mpi-page .mpi-docs__list > li:first-child { border-top: 0; }
:root:not(#mpi-0) body.mpi-page .mpi-docs__list > li::marker { content: none; }
body.mpi-page .mpi-docs__list .mpi-ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--mpi-chip); color: var(--mpi-primary); }
body.mpi-page .mpi-docs__list > li > span { display: grid; gap: 2px; padding-top: 2px; }
body.mpi-page .mpi-docs__list b { color: var(--mpi-head); font: 600 16px/1.4 var(--mpi-font-body); }
body.mpi-page .mpi-docs__list small { color: var(--mpi-muted); font-size: 14px; line-height: 1.5; }
body.mpi-page .mpi-docs__list > li::after { content: ""; position: absolute; right: 2px; top: 22px; width: 18px; height: 18px; border: 2px solid var(--mpi-line); border-radius: 6px; }

/* ── Checklist and key points ─────────────────────────────────────── */
:root:not(#mpi-0) body.mpi-page .mpi-checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
:root:not(#mpi-0) body.mpi-page .mpi-checklist > li { position: relative; margin: 0; padding: 0 0 0 36px; color: var(--mpi-text); font-size: 16.5px; line-height: 1.6; }
:root:not(#mpi-0) body.mpi-page .mpi-checklist > li::marker { content: none; }
body.mpi-page .mpi-checklist > li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: var(--mpi-chip); }
body.mpi-page .mpi-checklist > li::after { content: ""; position: absolute; left: 8px; top: 6px; width: 5px; height: 10px; border-right: 2.4px solid var(--mpi-primary); border-bottom: 2.4px solid var(--mpi-primary); transform: rotate(45deg); }
body.mpi-page .mpi-keys { position: relative; padding: 22px 24px; border: 1px solid var(--mpi-line); border-top: 3px solid var(--mpi-accent); border-radius: 6px 6px 18px 18px; background: var(--mpi-surface); box-shadow: var(--mpi-shadow); }
body.mpi-page .mpi-keys__t { display: flex; align-items: center; gap: 8px; margin: 0 0 14px !important; color: var(--mpi-head); font: 650 17px/1.2 var(--mpi-font-head); }
body.mpi-page .mpi-keys__t .mpi-ico { width: 20px; height: 20px; color: var(--mpi-accent); }

/* ── Pros and cons ────────────────────────────────────────────────── */
body.mpi-page .mpi-pc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
body.mpi-page .mpi-pc__col { padding: 20px 22px; border: 1px solid var(--mpi-line); border-radius: 18px; background: var(--mpi-surface); box-shadow: var(--mpi-shadow); }
body.mpi-page .mpi-pc__t { display: flex; align-items: center; gap: 10px; margin: 0 0 12px !important; font: 650 17px/1.2 var(--mpi-font-head); color: var(--mpi-head); }
body.mpi-page .mpi-pc__t .mpi-ico { width: 28px; height: 28px; padding: 6px; border-radius: 9px; }
body.mpi-page .is-pro .mpi-pc__t .mpi-ico { background: var(--mpi-chip); color: var(--mpi-pos); }
body.mpi-page .is-con .mpi-pc__t .mpi-ico { background: var(--mpi-gold-chip); color: var(--mpi-neg); }
:root:not(#mpi-0) body.mpi-page .mpi-pc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
:root:not(#mpi-0) body.mpi-page .mpi-pc li { position: relative; margin: 0; padding-left: 18px; font-size: 15.5px; line-height: 1.55; color: var(--mpi-text); }
:root:not(#mpi-0) body.mpi-page .mpi-pc li::marker { content: none; }
body.mpi-page .mpi-pc li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; }
body.mpi-page .is-pro li::before { background: var(--mpi-primary); }
body.mpi-page .is-con li::before { background: var(--mpi-accent); }

/* ── Timeline ─────────────────────────────────────────────────────── */
:root:not(#mpi-0) body.mpi-page .mpi-timeline { position: relative; margin: 0; padding: 0 0 0 26px; list-style: none; border-left: 2px solid var(--mpi-line); }
:root:not(#mpi-0) body.mpi-page .mpi-timeline > li { position: relative; margin: 0 0 22px; padding: 0 0 0 10px; }
:root:not(#mpi-0) body.mpi-page .mpi-timeline > li::marker { content: none; }
body.mpi-page .mpi-timeline > li::before { content: ""; position: absolute; left: -35px; top: 3px; width: 12px; height: 12px; border: 3px solid var(--mpi-surface); border-radius: 50%; background: var(--mpi-accent); box-shadow: 0 0 0 2px var(--mpi-accent); }
body.mpi-page .mpi-timeline p { margin: 0; color: var(--mpi-text); font-size: 15.5px; line-height: 1.6; }
body.mpi-page .mpi-timeline .mpi-timeline__d { color: var(--mpi-primary); font: 700 12.5px/1.4 var(--mpi-font-body); letter-spacing: .1em; text-transform: uppercase; }
body.mpi-page .mpi-timeline .mpi-timeline__t { margin: 2px 0 4px; color: var(--mpi-head); font: 600 17px/1.35 var(--mpi-font-head); }

/* ── Sources ──────────────────────────────────────────────────────── */
body.mpi-page .mpi-sources { padding: 22px 24px; border: 1px solid var(--mpi-line); border-radius: 18px; background: var(--mpi-surface); }
body.mpi-page .mpi-sources__t { display: flex; align-items: center; gap: 9px; margin: 0 0 12px !important; color: var(--mpi-head); font: 650 16px/1.2 var(--mpi-font-head); }
body.mpi-page .mpi-sources__t .mpi-ico { width: 20px; height: 20px; color: var(--mpi-primary); }
:root:not(#mpi-0) body.mpi-page .mpi-sources ol { counter-reset: mpi-src; display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
:root:not(#mpi-0) body.mpi-page .mpi-sources li { counter-increment: mpi-src; position: relative; display: grid; gap: 2px; margin: 0; padding: 9px 0 9px 34px; border-top: 1px dashed var(--mpi-line); font-size: 15px; line-height: 1.45; }
:root:not(#mpi-0) body.mpi-page .mpi-sources li:first-child { border-top: 0; }
:root:not(#mpi-0) body.mpi-page .mpi-sources li::marker { content: none; }
body.mpi-page .mpi-sources li::before { content: counter(mpi-src); position: absolute; left: 0; top: 9px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--mpi-tint); color: var(--mpi-primary); font: 700 12px/1 var(--mpi-font-body); }
body.mpi-page .mpi-sources__by { color: var(--mpi-muted); font-size: 13.5px; }

/* ── Sample vehicle record ────────────────────────────────────────── */
body.mpi-page .mpi-record { position: relative; border: 1px solid var(--mpi-line); border-radius: 22px; background: var(--mpi-surface); box-shadow: var(--mpi-shadow-lift); overflow: hidden; }
body.mpi-page .mpi-record__head { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: linear-gradient(120deg, var(--mpi-brand), color-mix(in srgb, var(--mpi-brand) 70%, var(--mpi-primary))); color: #F2F7F4; }
body.mpi-page .mpi-record__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--mpi-accent), transparent 70%); }
body.mpi-page .mpi-record__ico { width: 38px; height: 38px; padding: 8px; border-radius: 11px; background: rgba(255, 255, 255, .12); color: var(--mpi-accent); display: inline-grid; }
body.mpi-page .mpi-record__ico svg { width: 100%; height: 100%; }
body.mpi-page .mpi-record__t { flex: 1; margin: 0 !important; color: #fff; font: 650 17px/1.25 var(--mpi-font-head); }
body.mpi-page .mpi-record__tag { padding: 4px 10px; border: 1px dashed rgba(255, 255, 255, .45); border-radius: 999px; color: #E3F1EA; font: 700 11px/1 var(--mpi-font-body); letter-spacing: .12em; text-transform: uppercase; }
:root:not(#mpi-0) body.mpi-page .mpi-record__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; padding: 6px 20px; }
:root:not(#mpi-0) body.mpi-page .mpi-record__r { display: grid; gap: 3px; margin: 0; padding: 12px 12px 12px 0; border-bottom: 1px dashed var(--mpi-line); }
:root:not(#mpi-0) body.mpi-page .mpi-record__r dt { margin: 0; color: var(--mpi-muted); font: 650 11.5px/1.4 var(--mpi-font-body); letter-spacing: .08em; text-transform: uppercase; }
:root:not(#mpi-0) body.mpi-page .mpi-record__r dd { margin: 0; color: var(--mpi-head); font: 600 16px/1.4 var(--mpi-font-body); }
body.mpi-page .mpi-record__r dd small { display: block; margin-top: 2px; color: var(--mpi-muted); font-weight: 400; font-size: 13px; }
body.mpi-page .mpi-record__g { margin: 8px 20px 0 !important; padding-top: 12px; color: var(--mpi-primary); font: 700 12px/1 var(--mpi-font-body); letter-spacing: .14em; text-transform: uppercase; }
body.mpi-page .mpi-record__foot { display: flex; align-items: center; gap: 8px; margin: 0 !important; padding: 12px 20px 14px; background: var(--mpi-surface2); color: var(--mpi-muted); font-size: 13px; line-height: 1.45; }
body.mpi-page .mpi-record__foot .mpi-ico { width: 16px; height: 16px; color: var(--mpi-accent); }
/* A registration number shown as a plate (no regional emblem). */
body.mpi-page .mpi-plate { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px 3px 4px; border: 2px solid #111; border-radius: 7px; background: #fff; color: #111 !important; font: 700 15px/1.3 var(--mpi-font-head); letter-spacing: .1em; box-shadow: 0 2px 0 rgba(0, 0, 0, .1); }
body.mpi-page .mpi-plate i { align-self: stretch; width: 8px; border-radius: 3px; background: var(--mpi-brand); }

/* ── Example, notes, alerts and the disclaimer ────────────────────── */
body.mpi-page .mpi-example { border: 1px solid var(--mpi-line); border-radius: 18px; background: repeating-linear-gradient(180deg, transparent 0 31px, color-mix(in srgb, var(--mpi-primary) 7%, transparent) 31px 32px), var(--mpi-surface); box-shadow: var(--mpi-shadow); overflow: hidden; }
body.mpi-page .mpi-example__label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 !important; padding: 14px 20px; border-bottom: 1px solid var(--mpi-line); background: var(--mpi-surface2); color: var(--mpi-head); font: 600 15px/1.3 var(--mpi-font-body); }
body.mpi-page .mpi-example__label .mpi-ico { width: 22px; height: 22px; color: var(--mpi-primary); }
body.mpi-page .mpi-example__label span { color: var(--mpi-primary); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
body.mpi-page .mpi-example__body { padding: 16px 20px 6px; font-size: 16px; line-height: 1.7; }
body.mpi-page .mpi-example__body p { margin: 0 0 .8em; }
body.mpi-page :is(.mpi-note, .mpi-disclaimer) { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--mpi-line); border-left-width: 4px; border-radius: 14px; background: var(--mpi-surface); }
body.mpi-page :is(.mpi-note, .mpi-disclaimer) > .mpi-ico { width: 26px; height: 26px; padding: 4px; border-radius: 8px; }
body.mpi-page :is(.mpi-note, .mpi-disclaimer) p { margin: 0 0 .6em; font-size: 15.5px; line-height: 1.65; color: var(--mpi-text); }
body.mpi-page :is(.mpi-note, .mpi-disclaimer) > div > :last-child { margin-bottom: 0; }
body.mpi-page :is(.mpi-note__title, .mpi-disclaimer__t) { margin: 0 0 4px !important; color: var(--mpi-head); font: 650 15.5px/1.35 var(--mpi-font-body); }
:root:not(#mpi-0) body.mpi-page :is(.mpi-note, .mpi-disclaimer, .mpi-answer) a { text-decoration: underline !important; text-underline-offset: 3px !important; }
body.mpi-page .mpi-note--note, body.mpi-page .mpi-note--info { border-left-color: var(--mpi-primary); }
body.mpi-page :is(.mpi-note--note, .mpi-note--info) > .mpi-ico { background: var(--mpi-chip); color: var(--mpi-primary); }
body.mpi-page .mpi-note--tip { border-left-color: var(--mpi-accent); background: linear-gradient(90deg, var(--mpi-gold-chip), var(--mpi-surface) 60%); }
body.mpi-page .mpi-note--tip > .mpi-ico { background: var(--mpi-gold-chip); color: var(--mpi-warn); }
body.mpi-page .mpi-note--success { border-left-color: #16A34A; }
body.mpi-page .mpi-note--success > .mpi-ico { background: color-mix(in srgb, #16A34A 14%, transparent); color: var(--mpi-pos); }
body.mpi-page .mpi-note--warning { border-left-color: #D97706; background: linear-gradient(90deg, color-mix(in srgb, #D97706 9%, var(--mpi-surface)), var(--mpi-surface) 60%); }
body.mpi-page .mpi-note--warning > .mpi-ico { background: color-mix(in srgb, #D97706 16%, transparent); color: var(--mpi-warn); }
body.mpi-page .mpi-note--danger { border-left-color: #DC2626; background: linear-gradient(90deg, color-mix(in srgb, #DC2626 8%, var(--mpi-surface)), var(--mpi-surface) 60%); }
body.mpi-page .mpi-note--danger > .mpi-ico { background: color-mix(in srgb, #DC2626 14%, transparent); color: var(--mpi-neg); }
body.mpi-page .mpi-disclaimer { border-left-color: var(--mpi-accent); background: var(--mpi-surface2); }
body.mpi-page .mpi-disclaimer > .mpi-ico { background: var(--mpi-gold-chip); color: var(--mpi-warn); }

/* ── Buttons ──────────────────────────────────────────────────────── */
body.mpi-page .mpi-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
body.mpi-page .mpi-buttons.is-center { justify-content: center; }
:root:not(#mpi-0) body.mpi-page .mpi-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 2px solid transparent; border-radius: 14px; font: 600 16px/1 var(--mpi-font-head); text-decoration: none !important; overflow: hidden; isolation: isolate; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s, background .2s, color .2s, border-color .2s; }
body.mpi-page .mpi-btn > span { width: 18px; height: 18px; display: inline-grid; transition: transform .3s var(--mpi-ease); }
body.mpi-page .mpi-btn > span svg { width: 100%; height: 100%; }
:root:not(#mpi-0) body.mpi-page .mpi-btn.is-solid { background: var(--mpi-cta); color: var(--mpi-on-cta) !important; box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--mpi-cta) 85%, #000); }
:root:not(#mpi-0) body.mpi-page .mpi-btn.is-gold { background: var(--mpi-accent); color: #1B1405 !important; box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--mpi-accent) 85%, #000); }
:root:not(#mpi-0) body.mpi-page .mpi-btn.is-outline { border-color: var(--mpi-primary); background: transparent; color: var(--mpi-primary) !important; }
:root:not(#mpi-0) body.mpi-page .mpi-btn.is-ghost { background: var(--mpi-tint); color: var(--mpi-head) !important; }
:root:not(#mpi-0) body.mpi-page .mpi-btn.is-link { min-height: 0; padding: 0; color: var(--mpi-link) !important; text-decoration: underline !important; text-underline-offset: 4px !important; }
body.mpi-page .mpi-btn:is(.is-solid, .is-gold)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .32) 50%, transparent 70%); transform: translateX(-120%); }
:root:not(#mpi-0) body.mpi-page .mpi-btn:hover { transform: translateY(-2px); }
body.mpi-page .mpi-btn:hover::after { animation: mpi-shine .9s ease; }
body.mpi-page .mpi-btn:hover > span { transform: translateX(3px); }
:root:not(#mpi-0) body.mpi-page .mpi-btn.is-outline:hover { background: var(--mpi-primary); color: var(--mpi-on-primary) !important; }
:root:not(#mpi-0) body.mpi-page .mpi-btn:focus-visible { outline: 3px solid var(--mpi-primary); outline-offset: 3px; }
@keyframes mpi-shine { to { transform: translateX(120%); } }

/* ── Figures ──────────────────────────────────────────────────────── */
body.mpi-page .mpi-fig img { display: block; width: 100%; height: auto; margin-inline: auto; border: 1px solid var(--mpi-line); border-radius: 20px; box-shadow: var(--mpi-shadow); }
body.mpi-page .mpi-fig :is(.widget-image-caption, figcaption) { margin-top: 12px; color: var(--mpi-muted); font-size: 14px; line-height: 1.5; text-align: center; }
body.mpi-page .mpi-sec .mpi-fig { max-width: 880px; margin-inline: auto; }
body.mpi-page .mpi-fig--hero img { border-radius: 24px; box-shadow: var(--mpi-shadow-lift); }
body.mpi-page .mpi-figure { margin: 0; }
body.mpi-page .mpi-figure img { max-width: 100%; height: auto; border-radius: 14px; }

/* ── FAQ ──────────────────────────────────────────────────────────── */
:root:not(#mpi-0) body.mpi-page .mpi-faq { display: grid; gap: 12px; }
:root:not(#mpi-0) body.mpi-page .mpi-faq__group { margin: 18px 0 2px; color: var(--mpi-primary); font: 650 14px/1.3 var(--mpi-font-body); letter-spacing: .1em; text-transform: uppercase; }
:root:not(#mpi-0) body.mpi-page .mpi-faq__item { margin: 0; padding: 0; border: 1px solid var(--mpi-line); border-radius: 16px; background: var(--mpi-surface); box-shadow: 0 1px 2px rgba(11, 61, 46, .04); overflow: hidden; transition: border-color .25s, box-shadow .3s; }
:root:not(#mpi-0) body.mpi-page .mpi-faq__item[open] { border-color: color-mix(in srgb, var(--mpi-primary) 40%, var(--mpi-line)); box-shadow: var(--mpi-shadow); }
:root:not(#mpi-0) body.mpi-page .mpi-faq__item > summary { display: flex; align-items: center; gap: 16px; margin: 0; padding: 18px 20px; border: 0; color: var(--mpi-head); font: 600 17px/1.4 var(--mpi-font-head); list-style: none; cursor: pointer; }
:root:not(#mpi-0) body.mpi-page .mpi-faq__item > summary::-webkit-details-marker { display: none; }
:root:not(#mpi-0) body.mpi-page .mpi-faq__item > summary:hover { background: var(--mpi-tint); }
:root:not(#mpi-0) body.mpi-page .mpi-faq__item > summary:focus-visible { outline: 3px solid var(--mpi-primary); outline-offset: -3px; border-radius: 16px; }
:root:not(#mpi-0) body.mpi-page .mpi-faq__q { flex: 1; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; color: inherit !important; font: inherit !important; letter-spacing: inherit !important; text-transform: none !important; }
:root:not(#mpi-0) body.mpi-page .mpi-faq__q::before, :root:not(#mpi-0) body.mpi-page .mpi-faq__q::after { content: none !important; display: none !important; }
body.mpi-page .mpi-faq__pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--mpi-chip); transition: background .25s, transform .35s var(--mpi-ease); }
body.mpi-page .mpi-faq__pm::before, body.mpi-page .mpi-faq__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.4px; margin: -1.2px 0 0 -6px; border-radius: 2px; background: var(--mpi-primary); transition: transform .35s var(--mpi-ease), background .25s; }
body.mpi-page .mpi-faq__pm::after { transform: rotate(90deg); }
body.mpi-page .mpi-faq__item[open] .mpi-faq__pm { background: var(--mpi-brand); transform: rotate(180deg); }
body.mpi-page .mpi-faq__item[open] .mpi-faq__pm::before { background: var(--mpi-accent); }
body.mpi-page .mpi-faq__item[open] .mpi-faq__pm::after { transform: rotate(0); background: var(--mpi-accent); }
body.mpi-page .mpi-faq__a { padding: 0 20px 18px; color: var(--mpi-text); }
body.mpi-page .mpi-faq__a p { margin: 0 0 .7em; font-size: 16px; line-height: 1.7; }
body.mpi-page .mpi-faq__a > :last-child { margin-bottom: 0; }
body.mpi-page .mpi-faq__a :is(ul, ol) { margin: 0 0 .8em; padding-left: 1.3em; }
body.mpi-page .mpi-faq-tools { display: flex; justify-content: flex-end; margin-bottom: 4px; }
:root:not(#mpi-0) body.mpi-page .mpi-faq-tools button { margin: 0; padding: 8px 14px; border: 1px solid var(--mpi-line); border-radius: 999px; background: var(--mpi-surface); color: var(--mpi-head); font: 600 13.5px/1 var(--mpi-font-body); cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; }
:root:not(#mpi-0) body.mpi-page .mpi-faq-tools button:hover { border-color: var(--mpi-primary); background: var(--mpi-tint); color: var(--mpi-head); }

/* ── Closing call to action ───────────────────────────────────────── */
body.mpi-page .mpi-cta { position: relative; isolation: isolate; width: calc(100% - 32px) !important; max-width: 1120px; margin: clamp(24px, 4vw, 48px) auto clamp(56px, 7vw, 96px) !important; padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px) !important; border-radius: 30px; overflow: hidden; text-align: center; color: #E3F1EA; background: radial-gradient(600px 320px at 85% 0%, color-mix(in srgb, var(--mpi-soft) 26%, transparent), transparent 65%), radial-gradient(520px 300px at 10% 100%, color-mix(in srgb, var(--mpi-accent) 18%, transparent), transparent 70%), linear-gradient(160deg, color-mix(in srgb, var(--mpi-brand) 82%, var(--mpi-primary)), var(--mpi-brand) 60%, color-mix(in srgb, var(--mpi-brand) 80%, #000)); box-shadow: var(--mpi-shadow-lift); }
body.mpi-page .mpi-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(220, 232, 225, .14) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
body.mpi-page .mpi-cta::after { content: ""; position: absolute; left: 50%; top: 0; width: 120px; height: 3px; transform: translateX(-50%); border-radius: 0 0 3px 3px; background: var(--mpi-accent); }
body.mpi-page .mpi-cta :is(.mpi-cta__h .elementor-heading-title, h2.mpi-cta__h) { margin: 0 auto; max-width: 720px; color: #F6FAF7; font: 700 clamp(26px, 3.4vw, 40px)/1.15 var(--mpi-font-head); letter-spacing: -.02em; text-wrap: balance; }
body.mpi-page .mpi-cta .mpi-text { max-width: 640px; margin-inline: auto; color: #D4E5DB; font-size: 18px; }
body.mpi-page .mpi-cta .mpi-text p { margin: 0; }
body.mpi-page .mpi-cta .mpi-buttons { justify-content: center; margin-top: 10px; }
body.mpi-page .mpi-cta :is(.elementor-widget, .wp-block-group, .wp-block-heading) + :is(.elementor-widget, .wp-block-group) { margin-top: 18px; }
:root:not(#mpi-0) body.mpi-page .mpi-cta .mpi-btn.is-solid { background: var(--mpi-accent); color: #1B1405 !important; }
:root:not(#mpi-0) body.mpi-page .mpi-cta .mpi-btn.is-outline { border-color: rgba(255, 255, 255, .5); color: #fff !important; }

/* ── Tables ───────────────────────────────────────────────────────── */
:root:not(#mpi-0) body.mpi-page .mpi-table { --th-bg: var(--mpi-brand); --th-fg: #F2F7F4; --row-line: var(--mpi-line); position: relative; margin: 0; padding: 0; border: 0; background: none; }
:root:not(#mpi-0) body.mpi-page .mpi-table__cap { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 0; color: var(--mpi-head); font: 600 17px/1.35 var(--mpi-font-head); text-align: left; letter-spacing: -.005em; caption-side: top; }
:root:not(#mpi-0) body.mpi-page .mpi-table__ico { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--mpi-chip); color: var(--mpi-primary); display: inline-grid; }
:root:not(#mpi-0) body.mpi-page .mpi-table__ico svg { width: 100%; height: 100%; }
:root:not(#mpi-0) body.mpi-page .mpi-table__wrap { position: relative; border: 1px solid var(--mpi-line); border-radius: 18px; background: var(--mpi-surface); box-shadow: var(--mpi-shadow); overflow: hidden; }
:root:not(#mpi-0) body.mpi-page .mpi-table__wrap:focus-visible { outline: 3px solid var(--mpi-primary); outline-offset: 3px; }
:root:not(#mpi-0) body.mpi-page .mpi-table table { width: 100%; min-width: 0; margin: 0; border: 0; border-collapse: separate; border-spacing: 0; background: transparent; font-size: 15.5px; line-height: 1.45; table-layout: auto; }
:root:not(#mpi-0) body.mpi-page .mpi-table :is(th, td) { padding: 13px 18px; border: 0; border-bottom: 1px solid var(--row-line); background: transparent; color: var(--mpi-text); text-align: left; vertical-align: middle; }
:root:not(#mpi-0) body.mpi-page .mpi-table thead th { position: relative; padding-top: 14px; padding-bottom: 14px; border-bottom: 0; background: var(--th-bg); color: var(--th-fg); font: 650 12.5px/1.35 var(--mpi-font-body); letter-spacing: .07em; text-transform: uppercase; vertical-align: bottom; white-space: nowrap; }
:root:not(#mpi-0) body.mpi-page .mpi-table thead th :is(strong, b) { color: inherit; font-weight: inherit; }
:root:not(#mpi-0) body.mpi-page .mpi-table tbody tr:last-child > * { border-bottom: 0; }
:root:not(#mpi-0) body.mpi-page .mpi-table tbody th { color: var(--mpi-head); font-weight: 600; }
:root:not(#mpi-0) body.mpi-page .mpi-table .is-fig { font-variant-numeric: tabular-nums; white-space: nowrap; }
:root:not(#mpi-0) body.mpi-page .mpi-table .is-num { text-align: right; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1, "lnum" 1; white-space: nowrap; }
:root:not(#mpi-0) body.mpi-page .mpi-table td.is-num { font-weight: 560; }
:root:not(#mpi-0) body.mpi-page .mpi-table .is-neg { color: var(--mpi-neg); }
body.mpi-page .mpi-cur { margin-right: 4px; color: var(--mpi-muted); font-size: .78em; font-weight: 600; letter-spacing: .02em; }
:root:not(#mpi-0) body.mpi-page .mpi-table tbody tr { transition: background-color .2s; }
:root:not(#mpi-0) body.mpi-page .mpi-table tbody tr:hover > * { background-color: var(--mpi-tint); }
:root:not(#mpi-0) body.mpi-page .mpi-table :is(td, th) p { margin: 0; }
:root:not(#mpi-0) body.mpi-page .mpi-table__note { margin: 12px 4px 0; color: var(--mpi-muted); font-size: 13.5px; line-height: 1.55; }
:root:not(#mpi-0) body.mpi-page .mpi-table__note a { color: inherit !important; }

/* Civic (default): forest header with a gold underline, gold rule above totals */
:root:not(#mpi-0) body.mpi-page .mpi-ts-civic thead th { box-shadow: inset 0 -3px 0 var(--mpi-accent); }
:root:not(#mpi-0) body.mpi-page .mpi-table tr.is-total > * { border-top: 2px solid var(--mpi-accent); background: var(--mpi-surface2); color: var(--mpi-head); font-weight: 700; }
:root:not(#mpi-0) body.mpi-page .mpi-table tr.is-total > .is-num:last-child { color: var(--mpi-primary); font-size: 1.08em; }
html[data-theme="dark"] body.mpi-page .mpi-table { --th-bg: color-mix(in srgb, var(--mpi-brand) 70%, var(--mpi-surface)); }
/* Banded */
:root:not(#mpi-0) body.mpi-page .mpi-ts-banded { --th-bg: var(--mpi-tint); --th-fg: var(--mpi-head); }
:root:not(#mpi-0) body.mpi-page .mpi-ts-banded .mpi-table__wrap { border-radius: 22px; }
:root:not(#mpi-0) body.mpi-page .mpi-ts-banded tbody tr:nth-child(even) > * { background-color: var(--mpi-surface2); }
:root:not(#mpi-0) body.mpi-page .mpi-ts-banded tbody :is(th, td) { border-bottom-color: transparent; }
/* Minimal */
:root:not(#mpi-0) body.mpi-page .mpi-ts-minimal { --th-bg: transparent; --th-fg: var(--mpi-muted); }
:root:not(#mpi-0) body.mpi-page .mpi-ts-minimal .mpi-table__wrap { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
:root:not(#mpi-0) body.mpi-page .mpi-ts-minimal thead th { border-bottom: 2px solid var(--mpi-head); }
:root:not(#mpi-0) body.mpi-page .mpi-ts-minimal :is(th, td) { padding-left: 4px; padding-right: 14px; }

/* Badges and status pills */
body.mpi-page .mpi-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; background: var(--mpi-tint); color: var(--mpi-head); font: 650 12.5px/1.4 var(--mpi-font-body); white-space: nowrap; }
body.mpi-page .mpi-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .85; }
body.mpi-page .mpi-badge--yes { background: color-mix(in srgb, #16A34A 13%, var(--mpi-surface)); color: var(--mpi-pos); }
body.mpi-page .mpi-badge--no { background: color-mix(in srgb, #DC2626 11%, var(--mpi-surface)); color: var(--mpi-neg); }
body.mpi-page .mpi-badge--warn { background: var(--mpi-gold-chip); color: var(--mpi-warn); }
body.mpi-page .mpi-badge--info { background: color-mix(in srgb, #2563EB 11%, var(--mpi-surface)); color: var(--mpi-info); }
body.mpi-page .mpi-badge--none { background: transparent; color: var(--mpi-muted); box-shadow: inset 0 0 0 1px var(--mpi-line); }
body.mpi-page .mpi-badge--gov { padding: 2px 8px; background: var(--mpi-brand); color: #F2F7F4; font-size: 11px; letter-spacing: .04em; }
body.mpi-page .mpi-badge--gov::before { background: var(--mpi-accent); }
body.mpi-page .mpi-table--status .mpi-badge { padding: 5px 12px 5px 10px; font-size: 13px; }
body.mpi-page .mpi-table--status .mpi-badge--warn::before { animation: mpi-pulse 2.2s infinite; }
@keyframes mpi-pulse { 0%, 100% { box-shadow: 0 0 0 0 currentColor; } 60% { box-shadow: 0 0 0 5px transparent; } }
:root:not(#mpi-0) body.mpi-page .mpi-table .is-num .mpi-badge { justify-content: flex-end; }

/* Fees: bars on the amount column, highlight, sorting, filter */
body.mpi-page .mpi-bar { display: block; position: relative; height: 6px; margin-top: 7px; margin-left: auto; width: min(160px, 100%); border-radius: 6px; background: var(--mpi-chip); overflow: hidden; }
body.mpi-page .mpi-bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--mpi-primary), var(--mpi-accent)); transform-origin: left; }
body.mpi-page .mpi-table.is-in .mpi-bar::before { animation: mpi-grow .9s var(--mpi-ease) both; }
@keyframes mpi-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
:root:not(#mpi-0) body.mpi-page .mpi-table td.has-bar { min-width: 140px; }
:root:not(#mpi-0) body.mpi-page .mpi-table--fees tbody th { white-space: nowrap; }
:root:not(#mpi-0) body.mpi-page .mpi-table tr.is-hi > * { background-color: var(--mpi-gold-chip); }
:root:not(#mpi-0) body.mpi-page .mpi-table tr.is-hi > :first-child { box-shadow: inset 4px 0 0 var(--mpi-accent); }
:root:not(#mpi-0) body.mpi-page .mpi-sort { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; border-radius: 6px; }
:root:not(#mpi-0) body.mpi-page th.is-num .mpi-sort { flex-direction: row-reverse; }
:root:not(#mpi-0) body.mpi-page .mpi-sort:focus-visible { outline: 2px solid var(--mpi-accent); outline-offset: 3px; }
body.mpi-page .mpi-sort i { position: relative; width: 9px; height: 12px; opacity: .55; flex: none; }
body.mpi-page .mpi-sort i::before, body.mpi-page .mpi-sort i::after { content: ""; position: absolute; left: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; }
body.mpi-page .mpi-sort i::before { top: 0; border-bottom: 5px solid currentColor; }
body.mpi-page .mpi-sort i::after { bottom: 0; border-top: 5px solid currentColor; }
body.mpi-page th[aria-sort="ascending"] .mpi-sort i, body.mpi-page th[aria-sort="descending"] .mpi-sort i { opacity: 1; }
body.mpi-page th[aria-sort="ascending"] .mpi-sort i::after, body.mpi-page th[aria-sort="descending"] .mpi-sort i::before { opacity: .25; }
html:not(.mpi-js) body.mpi-page .mpi-sort i { display: none; }
body.mpi-page .mpi-table__tools { display: none; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
html.mpi-js body.mpi-page .mpi-table__tools { display: flex; }
:root:not(#mpi-0) body.mpi-page .mpi-table__filter { position: relative; flex: 1; max-width: 320px; margin: 0; }
:root:not(#mpi-0) body.mpi-page .mpi-table__filter svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--mpi-muted); pointer-events: none; }
:root:not(#mpi-0) body.mpi-page .mpi-table__filter input { width: 100%; height: 46px; margin: 0; padding: 0 14px 0 42px; border: 1px solid var(--mpi-line); border-radius: 12px; background: var(--mpi-surface); color: var(--mpi-text); font: 500 15.5px/1 var(--mpi-font-body); box-shadow: none; }
:root:not(#mpi-0) body.mpi-page .mpi-table__filter input:focus { border-color: var(--mpi-primary); outline: 3px solid color-mix(in srgb, var(--mpi-primary) 18%, transparent); outline-offset: 0; }
body.mpi-page .mpi-table__count { color: var(--mpi-muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
:root:not(#mpi-0) body.mpi-page .mpi-table tr.is-filtered { display: none; }
body.mpi-page .mpi-table__empty { display: none; padding: 18px; color: var(--mpi-muted); text-align: center; }
body.mpi-page .mpi-table.is-empty .mpi-table__empty { display: block; }

/* Wide figures tables scroll sideways on small screens, first column pinned. */
@media (max-width: 760px) {
  :root:not(#mpi-0) body.mpi-page .mpi-m-scroll .mpi-table__wrap { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  :root:not(#mpi-0) body.mpi-page .mpi-m-scroll table { min-width: max(100%, 540px); }
  :root:not(#mpi-0) body.mpi-page .mpi-m-scroll.is-wide table { min-width: 680px; }
  :root:not(#mpi-0) body.mpi-page .mpi-m-scroll :is(tbody th, thead th):first-child, :root:not(#mpi-0) body.mpi-page .mpi-m-scroll tbody td:first-child { position: sticky; left: 0; z-index: 1; }
  :root:not(#mpi-0) body.mpi-page .mpi-m-scroll tbody :is(th, td):first-child { background-color: var(--mpi-surface); box-shadow: 1px 0 0 var(--mpi-line); }
  :root:not(#mpi-0) body.mpi-page .mpi-m-scroll.is-scrolled tbody :is(th, td):first-child { box-shadow: 10px 0 14px -10px rgba(11, 61, 46, .35); }
  :root:not(#mpi-0) body.mpi-page .mpi-m-scroll thead th:first-child { z-index: 2; }
  :root:not(#mpi-0) body.mpi-page .mpi-table :is(th, td) { padding: 11px 13px; font-size: 14.5px; }
  body.mpi-page .mpi-m-scroll.is-wide:not(.is-end)::after { content: "Swipe for more  →"; display: block; margin: 8px 4px 0; color: var(--mpi-muted); font-size: 12.5px; text-align: right; }
}
/* Tables of words become stacked cards on phones. */
@media (max-width: 640px) {
  :root:not(#mpi-0) body.mpi-page .mpi-m-cards :is(table, tbody, tr) { display: block; width: 100%; }
  :root:not(#mpi-0) body.mpi-page .mpi-m-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  :root:not(#mpi-0) body.mpi-page .mpi-m-cards tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--mpi-line); }
  :root:not(#mpi-0) body.mpi-page .mpi-m-cards tbody tr:last-child { border-bottom: 0; }
  :root:not(#mpi-0) body.mpi-page .mpi-m-cards tbody :is(th, td) { display: grid; grid-template-columns: minmax(96px, 36%) 1fr; gap: 12px; padding: 5px 0; border: 0; text-align: left; white-space: normal; }
  :root:not(#mpi-0) body.mpi-page .mpi-m-cards tbody :is(th, td)::before { content: attr(data-label); color: var(--mpi-muted); font: 650 11.5px/1.5 var(--mpi-font-body); letter-spacing: .06em; text-transform: uppercase; }
  :root:not(#mpi-0) body.mpi-page .mpi-m-cards tbody th:first-child { display: block; padding-bottom: 6px; font: 600 16.5px/1.35 var(--mpi-font-head); }
  :root:not(#mpi-0) body.mpi-page .mpi-m-cards tbody th:first-child::before { content: none; }
  :root:not(#mpi-0) body.mpi-page .mpi-m-cards tbody :is(th, td).is-num { text-align: left; }
  :root:not(#mpi-0) body.mpi-page .mpi-m-fit :is(th, td) { padding: 11px 12px; }
}

/* ── Reveal on scroll (added by script, so content shows without it) ─ */
body.mpi-page .mpi-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--mpi-ease), transform .7s var(--mpi-ease); transition-delay: calc(var(--i, 0) * 70ms); }
body.mpi-page .mpi-reveal.is-in { opacity: 1; transform: none; }
/* The hero rises in once on load. */
@keyframes mpi-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
body.mpi-page .mpi-hero :is(.mpi-kicker, .mpi-h1, .mpi-lead) { animation: mpi-rise .7s var(--mpi-ease) both; }
body.mpi-page .mpi-hero .mpi-h1 { animation-delay: .06s; }
body.mpi-page .mpi-hero .mpi-lead { animation-delay: .12s; }
body.mpi-page .mpi-hero__side { animation: mpi-rise .8s .16s var(--mpi-ease) both; }

/* ── Small screens ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  body.mpi-page .mpi-hero__side:not(.is-form) { margin-top: 28px; }
  :root:not(#mpi-0) body.mpi-page .mpi-record__rows { grid-template-columns: 1fr; }
}
/* Phones: the form comes straight after the heading and introduction, before the byline and notice. */
@media (max-width: 767px) {
  body.mpi-page .mpi-hero { padding-top: 22px !important; padding-bottom: 32px !important; }
  body.mpi-page .mpi-hero:is(.mpi-hero--split, .mpi-hero--forest).has-form :is(.mpi-hero__text, .mpi-hero__text > .elementor-widget-wrap, .mpi-hero__text > .e-con-inner, .mpi-hero__text > .wp-block-group__inner-container) { display: contents; }
  body.mpi-page .mpi-hero:is(.mpi-hero--split, .mpi-hero--forest).has-form > .wp-block-group__inner-container { gap: 0; }
  body.mpi-page .mpi-hero.has-form .mpi-hero__text > .wp-block-group__inner-container > * { order: 6; flex: 0 0 100%; width: 100%; max-width: 100%; }
  body.mpi-page .mpi-hero:is(.mpi-hero--split, .mpi-hero--forest).has-form :is(.e-con-inner, .elementor-container, .elementor-row) { display: flex; flex-wrap: wrap; flex-direction: row; }
  body.mpi-page .mpi-hero:is(.mpi-hero--split, .mpi-hero--forest).has-form.mpi-row,
  body.mpi-page .mpi-hero:is(.mpi-hero--split, .mpi-hero--forest).has-form.e-con:not(:has(> .e-con-inner)) { display: flex; flex-wrap: wrap; flex-direction: row; gap: 0; }
  body.mpi-page .mpi-hero.has-form .mpi-hero__text > *, body.mpi-page .mpi-hero.has-form .mpi-hero__text > .elementor-widget-wrap > * { order: 6; flex: 0 0 100%; width: 100%; max-width: 100%; }
  body.mpi-page .mpi-hero.has-form .mpi-crumbswrap { order: 0 !important; }
  body.mpi-page .mpi-hero.has-form .mpi-kicker { order: 1 !important; }
  body.mpi-page .mpi-hero.has-form .mpi-h1 { order: 2 !important; }
  body.mpi-page .mpi-hero.has-form .mpi-lead { order: 3 !important; }
  body.mpi-page .mpi-hero.has-form .mpi-hero__side { order: 4; flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; margin: 6px 0 4px !important; }
  body.mpi-page .mpi-hero.has-form .mpi-hero__text > *, body.mpi-page .mpi-hero.has-form .mpi-hero__text > :is(.elementor-widget-wrap, .wp-block-group__inner-container) > * { flex: 0 0 100% !important; }
  body.mpi-page .mpi-hero.has-form .mpi-hero__text .mpi-lead p { margin-bottom: 14px; }
  body.mpi-page .mpi-hero .mpi-noticewrap .mpk-notice { font-size: 13px; }
  body.mpi-page .mpi-trust li { font-size: 13.5px; }
  body.mpi-page .mpi-answer { padding: 18px 18px 18px 20px; }
  :root:not(#mpi-0) body.mpi-page .mpi-steps > li { padding-left: 56px; }
  body.mpi-page .mpi-steps > li::before { width: 40px; height: 40px; }
  body.mpi-page .mpi-steps > li:not(:last-child)::after { left: 19px; top: 48px; }
  body.mpi-page .mpi-cta { width: calc(100% - 24px) !important; border-radius: 24px; }
  body.mpi-page .mpi-dock__label small { display: none; }
  :root:not(#mpi-0) body.mpi-page .mpi-dock .mpi-dock__open { padding: 0 12px; }
  :root:not(#mpi-0) body.mpi-page .mpi-services ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px 6px; scroll-snap-type: x proximity; }
  :root:not(#mpi-0) body.mpi-page .mpi-services ul::-webkit-scrollbar { display: none; }
  :root:not(#mpi-0) body.mpi-page .mpi-services li { flex: none; scroll-snap-align: start; }
  body.mpi-page .mpi-docs__list > li::after { display: none; }
}

/* ── Motion and print ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  body.mpi-page *, body.mpi-page *::before, body.mpi-page *::after { animation: none !important; transition: none !important; }
  body.mpi-page .mpi-reveal { opacity: 1; transform: none; }
}
html.mpk-still body.mpi-page :is(.mpi-hero *, .mpi-hero__side, .mpi-reveal) { animation: none !important; }
html.mpk-still body.mpi-page .mpi-reveal { opacity: 1; transform: none; }
@media print {
  body.mpi-page :is(.mpi-dock, .mpi-toc__chev, .mpi-table__tools, .mpi-anchor, .mpi-faq-tools, .mpi-stage, .mpi-form, .mpi-services) { display: none !important; }
  body.mpi-page :is(.mpi-hero, .mpi-cta) { background: none !important; color: #000 !important; box-shadow: none !important; }
  body.mpi-page :is(.mpi-hero, .mpi-cta) :is(.elementor-heading-title, h1, h2, .mpi-text, .mpi-lead) { color: #000 !important; }
  body.mpi-page .mpi-toc .mpi-toc__panel { grid-template-rows: 1fr !important; }
  body.mpi-page .mpi-sec--alt { background: none !important; }
  body.mpi-page .mpi-reveal { opacity: 1 !important; transform: none !important; }
  :root:not(#mpi-0) body.mpi-page .mpi-table__wrap { overflow: visible !important; box-shadow: none !important; }
  :root:not(#mpi-0) body.mpi-page .mpi-table thead th { background: #eee !important; color: #000 !important; }
}

/* Themes that keep the page in a boxed column: let the hero and the banded
   sections still reach the screen edges (nothing changes on full-width layouts). */
body.mpi-page.mpi-ed-elementor .mpi-hero:not(.mpi-hero--forest) { box-shadow: 0 0 0 100vmax var(--mpi-hero); clip-path: inset(0 -100vmax); }
body.mpi-page.mpi-ed-elementor .mpi-hero--forest { box-shadow: 0 0 0 100vmax var(--mpi-brand); clip-path: inset(0 -100vmax); }
body.mpi-page.mpi-ed-elementor .mpi-sec--alt { box-shadow: 0 0 0 100vmax var(--mpi-surface2); clip-path: inset(0 -100vmax); }

/* Theme-proof links (1.0.1): global "a { color … !important; text-decoration: underline !important }"
   rules from a theme or Elementor's Site Settings must not recolour or underline the importer's
   chips, buttons, contents list and cards. The link rules above carry !important for the same reason. */
:root:not(#mpi-0) body.mpi-page a:is(.mpi-chip, .mpi-btn),
:root:not(#mpi-0) body.mpi-page :is(.mpi-toc__list, .mpi-dock__menu, .mpi-card__t) a { text-decoration: none !important; border-bottom: 0 !important; }

/* Site Kit notice / byline switched off: their empty wrappers take no space. */
body.mpi-page :is(.mpi-noticewrap, .mpi-bylinewrap):empty,
body.mpi-page .elementor-widget:is(.mpi-noticewrap, .mpi-bylinewrap):has(.elementor-shortcode:empty),
body.mpi-page :is(.mpi-noticewrap, .mpi-bylinewrap):not(:has(.mpk-notice, .mpk-byline)) { display: none !important; }

/* Block editor on classic themes (Astra, GeneratePress): paragraphs and lists inside a text group keep their spacing. */
body.mpi-page.mpi-ed-blocks .mpi-text [class*="inner-container"] > :is(p, ul, ol, figure, .wp-block-html) { margin-bottom: 1.05em; }
body.mpi-page.mpi-ed-blocks .mpi-text [class*="inner-container"] > :last-child { margin-bottom: 0; }

/* ── Official website card [OFFICIAL] ─────────────────────────────── */
:root:not(#mpi-0) body.mpi-page .mpi-off-grid { display: grid; gap: 18px; width: 100%; margin: 26px auto; }
:root:not(#mpi-0) body.mpi-page .mpi-off-grid.is-multi { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
:root:not(#mpi-0) body.mpi-page .mpi-off { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 24px; border-radius: 24px; color: #DCEBE3;
	background: radial-gradient(520px 220px at 100% 0%, rgba(127,217,168,.18), transparent 65%), radial-gradient(420px 200px at 0% 110%, rgba(201,162,39,.16), transparent 65%), linear-gradient(155deg, color-mix(in srgb, var(--mpi-brand) 86%, #1E6B4C), var(--mpi-brand) 60%, color-mix(in srgb, var(--mpi-brand) 82%, #000));
	box-shadow: 0 40px 70px -40px rgba(4,24,17,.75), 0 0 0 1px rgba(255,255,255,.06) inset; transition: transform .45s var(--mpi-ease), box-shadow .45s; }
:root:not(#mpi-0) body.mpi-page .mpi-off::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.2px) 0 0 / 18px 18px; mask-image: linear-gradient(120deg, #000, transparent 70%); }
:root:not(#mpi-0) body.mpi-page .mpi-off__ring { position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 1;
	background: conic-gradient(from var(--mpi-a, 0deg), transparent 0 55%, rgba(242,213,122,.95) 70%, rgba(127,217,168,.9) 82%, transparent 95%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: mpi-orbit 7s linear infinite; }
@property --mpi-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes mpi-orbit { to { --mpi-a: 360deg; } }
:root:not(#mpi-0) body.mpi-page .mpi-off:hover { transform: translateY(-4px); box-shadow: 0 50px 80px -40px rgba(4,24,17,.85), 0 0 0 1px rgba(255,255,255,.1) inset; }
:root:not(#mpi-0) body.mpi-page .mpi-off__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
:root:not(#mpi-0) body.mpi-page .mpi-off__seal { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #F2D57A; background: radial-gradient(circle at 30% 30%, rgba(242,213,122,.28), rgba(242,213,122,.06)); box-shadow: 0 0 0 1px rgba(242,213,122,.45) inset, 0 0 0 5px rgba(242,213,122,.07); }
:root:not(#mpi-0) body.mpi-page .mpi-off__seal svg { width: 22px; height: 22px; }
:root:not(#mpi-0) body.mpi-page .mpi-off__lbl { font: 700 11.5px/1 var(--mpi-font-body); letter-spacing: .16em; text-transform: uppercase; color: #F2D57A; }
:root:not(#mpi-0) body.mpi-page .mpi-off__gov { margin-left: auto; padding: 5px 10px; border-radius: 99px; font: 600 11.5px/1 var(--mpi-font-body); color: #BFF0D4; background: rgba(127,217,168,.12); box-shadow: 0 0 0 1px rgba(127,217,168,.3) inset; }
:root:not(#mpi-0) body.mpi-page .mpi-off__name { margin: 6px 0 0 !important; color: #fff !important; font: 600 clamp(20px, 2vw, 24px)/1.25 var(--mpi-font-head) !important; letter-spacing: -.01em; }
:root:not(#mpi-0) body.mpi-page .mpi-off__dom { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin: 0 !important; padding: 7px 12px; border-radius: 10px; background: rgba(0,0,0,.22); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; color: #E8F3ED !important; font: 600 14px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; word-break: break-all; }
:root:not(#mpi-0) body.mpi-page .mpi-off__dom svg { width: 15px; height: 15px; color: #7FD9A8; flex: none; }
:root:not(#mpi-0) body.mpi-page .mpi-off__text { margin: 2px 0 6px !important; color: #C3DACD !important; font: 400 15.5px/1.6 var(--mpi-font-body) !important; }
:root:not(#mpi-0) body.mpi-page .mpi-off__text a { color: #fff !important; }
:root:not(#mpi-0) body.mpi-page a.mpi-off__btn { position: relative; overflow: hidden; display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin-top: auto; padding: 13px 20px; border-radius: 14px; background: #fff !important; color: var(--mpi-brand) !important; font: 600 15px/1 var(--mpi-font-head) !important; text-decoration: none !important; box-shadow: inset 0 -2px 0 rgba(201,162,39,.7), 0 14px 26px -16px rgba(0,0,0,.7); transition: transform .3s var(--mpi-ease), box-shadow .3s; }
:root:not(#mpi-0) body.mpi-page a.mpi-off__btn svg { width: 16px; height: 16px; transition: transform .3s var(--mpi-ease); }
:root:not(#mpi-0) body.mpi-page a.mpi-off__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(201,162,39,.25) 50%, transparent 70%); transform: translateX(-120%); }
:root:not(#mpi-0) body.mpi-page a.mpi-off__btn:hover { transform: translateY(-2px); }
:root:not(#mpi-0) body.mpi-page a.mpi-off__btn:hover svg { transform: translate(2px, -2px); }
:root:not(#mpi-0) body.mpi-page a.mpi-off__btn:hover::after { animation: mpi-shine-x .9s ease; }
:root:not(#mpi-0) body.mpi-page a.mpi-off__btn:focus-visible { outline: 3px solid #F2D57A; outline-offset: 3px; }
@keyframes mpi-shine-x { to { transform: translateX(120%); } }

/* ── Animated route [JOURNEY] ──────────────────────────────────────── */
:root:not(#mpi-0) body.mpi-page .mpi-journey { --dur: 9s; position: relative; width: 100%; box-sizing: border-box; margin: 30px auto; padding: 28px 26px 26px; border-radius: 26px; border: 1px solid var(--mpi-line);
	background: radial-gradient(600px 220px at 50% -20%, color-mix(in srgb, var(--mpi-soft) 22%, transparent), transparent 70%), linear-gradient(180deg, var(--mpi-surface), var(--mpi-surface2)); box-shadow: var(--mpi-shadow); }
:root:not(#mpi-0) body.mpi-page .mpi-journey__cap { margin: 0 0 22px; text-align: center; color: var(--mpi-primary); font: 700 12px/1.3 var(--mpi-font-body); letter-spacing: .16em; text-transform: uppercase; }
:root:not(#mpi-0) body.mpi-page .mpi-journey__track { position: relative; }
:root:not(#mpi-0) body.mpi-page .mpi-journey__list { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 14px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
:root:not(#mpi-0) body.mpi-page .mpi-journey__list > li { margin: 0 !important; padding: 0 !important; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
:root:not(#mpi-0) body.mpi-page .mpi-journey__line { position: absolute; z-index: 1; left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 27px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--mpi-primary) 26%, transparent) 0 10px, transparent 10px 18px); }
:root:not(#mpi-0) body.mpi-page .mpi-journey__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--mpi-primary), var(--mpi-accent)); transition: width 1.6s var(--mpi-ease) .2s; }
:root:not(#mpi-0) body.mpi-page .mpi-journey.is-in .mpi-journey__fill { width: 100%; }
:root:not(#mpi-0) body.mpi-page .mpi-journey__token { position: absolute; top: 50%; left: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; display: grid; place-items: center; color: var(--mpi-brand); background: #F2D57A; box-shadow: 0 0 0 5px color-mix(in srgb, var(--mpi-accent) 25%, transparent), 0 10px 20px -8px rgba(120,90,10,.8); opacity: 0; }
:root:not(#mpi-0) body.mpi-page .mpi-journey__token svg { width: 18px; height: 18px; }
:root:not(#mpi-0) body.mpi-page .mpi-journey.is-in .mpi-journey__token { opacity: 1; animation: mpi-ride-x var(--dur) cubic-bezier(.65,0,.35,1) 1.6s infinite; }
@keyframes mpi-ride-x { 0% { left: 0; } 88% { left: 100%; opacity: 1; } 96% { left: 100%; opacity: 0; } 100% { left: 0; opacity: 0; } }
:root:not(#mpi-0) body.mpi-page .mpi-journey__dot { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: var(--mpi-primary); background: var(--mpi-surface); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--mpi-primary) 30%, transparent) inset, 0 12px 24px -16px rgba(6,30,22,.6); transition: background .5s, color .5s, transform .5s var(--mpi-ease); }
:root:not(#mpi-0) body.mpi-page .mpi-journey__dot svg { width: 26px; height: 26px; }
:root:not(#mpi-0) body.mpi-page .mpi-journey.is-in .mpi-journey__dot { animation: mpi-node var(--dur) ease calc(1.6s + var(--dur) * .88 * var(--i) / max(1, (var(--n) - 1))) infinite; }
@keyframes mpi-node { 0%, 9% { background: var(--mpi-brand); color: #F2D57A; transform: translateY(-3px) scale(1.06); } 18%, 100% { background: var(--mpi-surface); color: var(--mpi-primary); transform: none; } }
:root:not(#mpi-0) body.mpi-page .mpi-journey__n { font: 700 11px/1 var(--mpi-font-body); letter-spacing: .14em; color: color-mix(in srgb, var(--mpi-accent) 80%, var(--mpi-text)); margin-top: 4px; }
:root:not(#mpi-0) body.mpi-page .mpi-journey__t { margin: 0 !important; color: var(--mpi-head) !important; font: 600 15.5px/1.3 var(--mpi-font-head) !important; }
:root:not(#mpi-0) body.mpi-page .mpi-journey__x { margin: 0 !important; color: var(--mpi-muted) !important; font: 400 13.5px/1.5 var(--mpi-font-body) !important; max-width: 22ch; }
@media (max-width: 760px) {
	:root:not(#mpi-0) body.mpi-page .mpi-journey { padding: 22px 18px; }
	:root:not(#mpi-0) body.mpi-page .mpi-journey__list { grid-template-columns: 1fr; gap: 18px; }
	:root:not(#mpi-0) body.mpi-page .mpi-journey__list > li { display: grid; grid-template-columns: 58px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 2px; text-align: left; align-items: start; }
	:root:not(#mpi-0) body.mpi-page .mpi-journey__dot { grid-row: 1 / span 3; }
	:root:not(#mpi-0) body.mpi-page .mpi-journey__n { margin-top: 6px; }
	:root:not(#mpi-0) body.mpi-page .mpi-journey__x { max-width: none; }
	:root:not(#mpi-0) body.mpi-page .mpi-journey__line { left: 27px; right: auto; top: 29px; bottom: 29px; width: 4px; height: auto; background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--mpi-primary) 26%, transparent) 0 10px, transparent 10px 18px); }
	:root:not(#mpi-0) body.mpi-page .mpi-journey__fill { inset: 0 0 auto 0; width: auto !important; height: 0; transition: height 1.6s var(--mpi-ease) .2s; }
	:root:not(#mpi-0) body.mpi-page .mpi-journey.is-in .mpi-journey__fill { height: 100%; }
	:root:not(#mpi-0) body.mpi-page .mpi-journey__token { left: 50%; top: 0; }
	:root:not(#mpi-0) body.mpi-page .mpi-journey.is-in .mpi-journey__token { animation-name: mpi-ride-y; }
	@keyframes mpi-ride-y { 0% { top: 0; } 88% { top: 100%; opacity: 1; } 96% { top: 100%; opacity: 0; } 100% { top: 0; opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
	:root:not(#mpi-0) body.mpi-page .mpi-off__ring, :root:not(#mpi-0) body.mpi-page .mpi-journey.is-in :is(.mpi-journey__token, .mpi-journey__dot) { animation: none !important; }
	:root:not(#mpi-0) body.mpi-page .mpi-journey__token { display: none; }
}

/* Marker for Site Kit blocks switched off in the Word file: never visible. */
body.mpi-page .mpi-kitoff { display: none !important; }

/* ── Hero spotlight for an official website ([OFFICIAL] in the hero) ───── */
:root:not(#mpi-0) body.mpi-page .mpi-spot { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 28px 28px; border-radius: 28px; overflow: hidden;
	background: radial-gradient(420px 260px at 85% 0%, rgba(127,217,168,.2), transparent 70%), linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
	box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 50px 90px -50px rgba(0,0,0,.8); backdrop-filter: blur(6px); }
:root:not(#mpi-0) body.mpi-page .mpi-hero:not(.mpi-hero--forest) .mpi-spot { background: radial-gradient(420px 260px at 85% 0%, rgba(127,217,168,.28), transparent 70%), linear-gradient(160deg, var(--mpi-brand), color-mix(in srgb, var(--mpi-brand) 80%, #000)); }
:root:not(#mpi-0) body.mpi-page .mpi-spot::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; pointer-events: none;
	background: conic-gradient(from var(--mpi-a, 0deg), transparent 0 60%, rgba(242,213,122,.9) 72%, rgba(127,217,168,.8) 84%, transparent 96%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: mpi-orbit 8s linear infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-spot__stage { position: relative; align-self: stretch; display: grid; place-items: center; height: 230px; margin: 0 0 8px; perspective: 900px; }
:root:not(#mpi-0) body.mpi-page .mpi-spot__stage::before { content: ""; position: absolute; left: 50%; bottom: 6px; width: 62%; height: 26px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); animation: mpi-shadow 5s ease-in-out infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-spot__stage::after { content: ""; position: absolute; inset: 10% 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242,213,122,.32), transparent 70%); filter: blur(10px); z-index: -1; animation: mpi-glow 5s ease-in-out infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-scard { width: min(330px, 86%); aspect-ratio: 85.6 / 54; transform-style: preserve-3d; animation: mpi-float 5s ease-in-out infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-scard__in { position: relative; overflow: hidden; width: 100%; height: 100%; border-radius: 18px; padding: 16px 18px; box-sizing: border-box;
	background: radial-gradient(140px 120px at 88% 18%, rgba(255,255,255,.35), transparent 70%), repeating-radial-gradient(circle at 75% 120%, rgba(255,255,255,.07) 0 2px, transparent 2px 9px), linear-gradient(135deg, #F6FBF8 0%, #DDEFE5 45%, #BFE2CE 100%);
	box-shadow: 0 30px 50px -24px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.7) inset, inset 0 -3px 0 rgba(11,61,46,.12); }
:root:not(#mpi-0) body.mpi-page .mpi-scard__in::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(90deg, #0B3D2E, #166534); }
:root:not(#mpi-0) body.mpi-page .mpi-scard__top { position: relative; display: flex; align-items: center; justify-content: space-between; height: 18%; }
:root:not(#mpi-0) body.mpi-page .mpi-scard__brand { color: #F2D57A; font: 700 10.5px/1 var(--mpi-font-body); letter-spacing: .18em; text-transform: uppercase; }
:root:not(#mpi-0) body.mpi-page .mpi-scard__wave { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(45deg); box-shadow: 4px -4px 0 -2px rgba(255,255,255,.4); }
:root:not(#mpi-0) body.mpi-page .mpi-scard__chip { position: absolute; left: 18px; top: 42%; width: 44px; height: 33px; border-radius: 7px; background: linear-gradient(135deg, #F4DE96, #C9A227 55%, #E9CF7C); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
:root:not(#mpi-0) body.mpi-page .mpi-scard__chip::before { content: ""; position: absolute; inset: 7px 9px; border: 1px solid rgba(90,64,6,.4); border-radius: 4px; }
:root:not(#mpi-0) body.mpi-page .mpi-scard__plate { position: absolute; right: 18px; top: 40%; padding: 5px 10px; border-radius: 7px; border: 2px solid #0F1A15; background: #fff; color: #111; font: 700 14px/1 var(--mpi-font-head); letter-spacing: .14em; }
:root:not(#mpi-0) body.mpi-page .mpi-scard__lines { position: absolute; left: 18px; right: 40%; bottom: 16px; display: grid; gap: 6px; }
:root:not(#mpi-0) body.mpi-page .mpi-scard__lines i { display: block; height: 7px; border-radius: 4px; background: rgba(11,61,46,.2); }
:root:not(#mpi-0) body.mpi-page .mpi-scard__lines i:nth-child(2) { width: 75%; } :root:not(#mpi-0) body.mpi-page .mpi-scard__lines i:nth-child(3) { width: 55%; }
:root:not(#mpi-0) body.mpi-page .mpi-scard__holo { position: absolute; right: 18px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(from 0deg, #7FD9A8, #F2D57A, #9AC8F0, #E6B3F2, #7FD9A8); opacity: .75; filter: saturate(1.2); animation: mpi-holo 6s linear infinite; mix-blend-mode: multiply; }
:root:not(#mpi-0) body.mpi-page .mpi-scard__shine { position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.75) 50%, transparent 60%); transform: translateX(-60%); animation: mpi-sweep 4.5s ease-in-out infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-spot__pdf { position: absolute; right: 8%; top: 8%; display: grid; place-items: end center; width: 46px; height: 56px; padding-bottom: 8px; box-sizing: border-box; border-radius: 9px; background: #B42318; color: #fff; font: 800 11px/1 var(--mpi-font-body); letter-spacing: .06em; box-shadow: 0 16px 26px -12px rgba(0,0,0,.7); animation: mpi-bob 3.6s ease-in-out infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-spot__pdf::before { content: ""; position: absolute; top: 0; right: 0; width: 14px; height: 14px; border-radius: 0 9px 0 6px; background: rgba(255,255,255,.35); }
:root:not(#mpi-0) body.mpi-page .mpi-spot__lbl { display: inline-flex; align-items: center; gap: 9px; margin: 0 !important; color: #F2D57A !important; font: 700 11.5px/1 var(--mpi-font-body) !important; letter-spacing: .16em; text-transform: uppercase; }
:root:not(#mpi-0) body.mpi-page .mpi-spot__dot { width: 8px; height: 8px; border-radius: 50%; background: #7FD9A8; animation: mpi-ping 2.2s infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-spot__name { margin: 2px 0 0 !important; color: #fff !important; font: 600 clamp(21px, 2.1vw, 26px)/1.2 var(--mpi-font-head) !important; letter-spacing: -.01em; }
:root:not(#mpi-0) body.mpi-page .mpi-spot__dom { display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; padding: 7px 12px; border-radius: 10px; background: rgba(0,0,0,.25); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; color: #E8F3ED !important; font: 600 14px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; }
:root:not(#mpi-0) body.mpi-page .mpi-spot__dom svg { width: 15px; height: 15px; color: #7FD9A8; }
:root:not(#mpi-0) body.mpi-page .mpi-spot__text { margin: 2px 0 8px !important; color: #C3DACD !important; font: 400 15.5px/1.6 var(--mpi-font-body) !important; }
:root:not(#mpi-0) body.mpi-page a.mpi-spot__btn { position: relative; overflow: hidden; isolation: isolate; align-self: stretch; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 17px 22px; border-radius: 16px; text-decoration: none !important; color: #1B1405 !important; font: 700 16.5px/1 var(--mpi-font-head) !important; letter-spacing: .01em;
	background: linear-gradient(180deg, #F7E3A0, #E2BC45 55%, #C9A227) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -3px 0 rgba(120,85,0,.35), 0 18px 34px -16px rgba(201,162,39,.9), 0 0 0 0 rgba(242,213,122,.5); animation: mpi-halo 2.8s ease-out infinite; transition: transform .3s var(--mpi-ease); }
:root:not(#mpi-0) body.mpi-page a.mpi-spot__btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.85) 45%, transparent 60%); transform: translateX(-130%); animation: mpi-btnshine 3.2s ease-in-out infinite; }
:root:not(#mpi-0) body.mpi-page a.mpi-spot__btn svg { width: 18px; height: 18px; transition: transform .3s var(--mpi-ease); }
:root:not(#mpi-0) body.mpi-page a.mpi-spot__btn:hover { transform: translateY(-3px); }
:root:not(#mpi-0) body.mpi-page a.mpi-spot__btn:hover svg { transform: translate(3px, -3px); }
:root:not(#mpi-0) body.mpi-page a.mpi-spot__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes mpi-float { 0%, 100% { transform: translateY(0) rotateX(10deg) rotateY(-16deg) rotateZ(-2deg); } 50% { transform: translateY(-14px) rotateX(4deg) rotateY(-6deg) rotateZ(1deg); } }
@keyframes mpi-shadow { 0%, 100% { transform: translateX(-50%) scale(1); opacity: .9; } 50% { transform: translateX(-50%) scale(.82); opacity: .55; } }
@keyframes mpi-glow { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes mpi-sweep { 0%, 35% { transform: translateX(-60%); } 75%, 100% { transform: translateX(60%); } }
@keyframes mpi-holo { to { transform: rotate(360deg); } }
@keyframes mpi-bob { 0%, 100% { transform: translateY(0) rotate(8deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
@keyframes mpi-ping { 0% { box-shadow: 0 0 0 0 rgba(127,217,168,.6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(127,217,168,0); } }
@keyframes mpi-btnshine { 0%, 45% { transform: translateX(-130%); } 80%, 100% { transform: translateX(130%); } }
@keyframes mpi-halo { 0% { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -3px 0 rgba(120,85,0,.35), 0 18px 34px -16px rgba(201,162,39,.9), 0 0 0 0 rgba(242,213,122,.45); } 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -3px 0 rgba(120,85,0,.35), 0 18px 34px -16px rgba(201,162,39,.9), 0 0 0 14px rgba(242,213,122,0); } }
/* the chips under the lead, apart from the spotlight */
:root:not(#mpi-0) body.mpi-page .mpi-hero.has-spot .mpi-hero__text .mpi-services { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
:root:not(#mpi-0) body.mpi-page .mpi-hero.has-spot .mpi-hero__side { align-self: center; }
@media (max-width: 767px) {
	:root:not(#mpi-0) body.mpi-page .mpi-spot { padding: 20px 18px 22px; }
	:root:not(#mpi-0) body.mpi-page .mpi-spot__stage { height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
	:root:not(#mpi-0) body.mpi-page :is(.mpi-scard, .mpi-scard__shine, .mpi-scard__holo, .mpi-spot__pdf, .mpi-spot__dot, a.mpi-spot__btn),
	:root:not(#mpi-0) body.mpi-page .mpi-spot::after, :root:not(#mpi-0) body.mpi-page a.mpi-spot__btn::before,
	:root:not(#mpi-0) body.mpi-page .mpi-spot__stage::before, :root:not(#mpi-0) body.mpi-page .mpi-spot__stage::after { animation: none !important; }
}

/* =====================================================================
   1.0.7: hero skins (scan, ride, city, deed), heading styles (plate,
   lane, pin, seal) and the FLAGS, DUO and PLACES blocks.
   ================================================================== */

/* ── Hero art: shared ───────────────────────────────────────────────── */
:root:not(#mpi-0) body.mpi-page .mpi-heroart { margin-top: 26px !important; }
:root:not(#mpi-0) body.mpi-page .mpi-art { position: relative; box-sizing: border-box; user-select: none; }
:root:not(#mpi-0) body.mpi-page .mpi-art * { box-sizing: border-box; }

/* Scan: a fine grid, a sample plate with a passing scan line, three ticks. */
body.mpi-page .mpi-hero--scan::before {
	background-image: linear-gradient(color-mix(in srgb, var(--mpi-brand) 8%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--mpi-brand) 8%, transparent) 1px, transparent 1px);
	background-size: 28px 28px;
	-webkit-mask-image: radial-gradient(70% 90% at 30% 40%, #000 20%, transparent 80%);
	mask-image: radial-gradient(70% 90% at 30% 40%, #000 20%, transparent 80%);
}
:root:not(#mpi-0) body.mpi-page .mpi-art--scan { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
:root:not(#mpi-0) body.mpi-page .mpi-scan__plate { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 22px 0 0; border-radius: 12px; border: 3px solid #101A15; background: linear-gradient(180deg, #fff, #F1F4F2); box-shadow: 0 18px 30px -18px rgba(6, 30, 22, .55), inset 0 0 0 3px #fff, inset 0 0 0 4px #C9D3CD; }
:root:not(#mpi-0) body.mpi-page .mpi-scan__band { align-self: stretch; width: 26px; background: linear-gradient(180deg, var(--mpi-primary), var(--mpi-brand)); box-shadow: inset -1px 0 0 rgba(0,0,0,.2); }
:root:not(#mpi-0) body.mpi-page .mpi-scan__num { color: #111; font: 700 28px/1 var(--mpi-font-head); letter-spacing: .12em; }
:root:not(#mpi-0) body.mpi-page .mpi-scan__smp { position: absolute; right: 8px; bottom: 4px; color: #7A857F; font: 700 8.5px/1 var(--mpi-font-body); letter-spacing: .2em; text-transform: uppercase; }
:root:not(#mpi-0) body.mpi-page .mpi-scan__beam { position: absolute; top: -10%; bottom: -10%; left: 0; width: 46px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--mpi-soft) 55%, transparent) 45%, var(--mpi-soft) 50%, color-mix(in srgb, var(--mpi-soft) 55%, transparent) 55%, transparent); mix-blend-mode: multiply; animation: mpi-scan 3.6s cubic-bezier(.6, 0, .4, 1) infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-scan__ticks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
:root:not(#mpi-0) body.mpi-page .mpi-scan__ticks li { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 7px 12px 7px 7px; border-radius: 999px; background: var(--mpi-surface); box-shadow: 0 0 0 1px var(--mpi-line) inset; color: var(--mpi-head); font: 600 13.5px/1 var(--mpi-font-body); animation: mpi-tick 3.6s calc(var(--i) * .25s + 1.2s) var(--mpi-ease) infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-scan__ticks li::marker { content: none; }
:root:not(#mpi-0) body.mpi-page .mpi-scan__ticks .mpi-ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--mpi-primary); color: #fff; }
:root:not(#mpi-0) body.mpi-page .mpi-scan__ticks .mpi-ico svg { stroke-width: 3.2; }
@keyframes mpi-scan { 0% { transform: translateX(-60px); } 55%, 100% { transform: translateX(340px); } }
@keyframes mpi-tick { 0%, 30% { transform: scale(.94); opacity: .55; } 42% { transform: scale(1.05); opacity: 1; } 52%, 92% { transform: scale(1); opacity: 1; } 100% { transform: scale(.94); opacity: .55; } }

/* Ride: form first on wide screens, warm tint, a motorcycle on a moving road. */
body.mpi-page .mpi-hero--ride {
	background:
		radial-gradient(720px 420px at 8% -10%, color-mix(in srgb, var(--mpi-accent) 20%, transparent), transparent 64%),
		radial-gradient(560px 360px at 104% 110%, color-mix(in srgb, var(--mpi-primary) 14%, transparent), transparent 66%),
		color-mix(in srgb, var(--mpi-accent) 7%, var(--mpi-hero));
}
body.mpi-page .mpi-hero--ride::before { background-image: repeating-linear-gradient(-28deg, transparent 0 22px, color-mix(in srgb, var(--mpi-accent) 12%, transparent) 22px 23px); -webkit-mask-image: linear-gradient(80deg, #000 10%, transparent 60%); mask-image: linear-gradient(80deg, #000 10%, transparent 60%); }
@media (min-width: 768px) {
	body.mpi-page .mpi-hero--ride .mpi-hero__side { order: -1; }
	body.mpi-page .mpi-hero--ride .mpi-hero__side.is-form::before { inset: 8% 8% -6% -6%; }
}
:root:not(#mpi-0) body.mpi-page .mpi-art--ride { height: 150px; overflow: hidden; border-radius: 18px; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--mpi-brand) 7%, transparent)); }
:root:not(#mpi-0) body.mpi-page .mpi-ride__scene { position: absolute; left: 0; right: 0; bottom: 16px; height: 116px; animation: mpi-cruise 9s ease-in-out infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-ride__bike { position: absolute; left: 50%; bottom: 0; width: 290px; height: auto; overflow: visible; transform: translateX(-50%); }
:root:not(#mpi-0) body.mpi-page .mpi-ride__body { animation: mpi-bounce .45s ease-in-out infinite alternate; }
:root:not(#mpi-0) body.mpi-page .mpi-ride__frame, :root:not(#mpi-0) body.mpi-page .mpi-ride__seat, :root:not(#mpi-0) body.mpi-page .mpi-ride__bar, :root:not(#mpi-0) body.mpi-page .mpi-ride__pipe { fill: none; stroke: var(--mpi-brand); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
:root:not(#mpi-0) body.mpi-page .mpi-ride__seat { stroke-width: 9; stroke: #1E2A24; }
:root:not(#mpi-0) body.mpi-page .mpi-ride__pipe { stroke: #9AA6A0; stroke-width: 5; }
:root:not(#mpi-0) body.mpi-page .mpi-ride__tank { fill: var(--mpi-primary); stroke: var(--mpi-brand); stroke-width: 3; stroke-linejoin: round; }
:root:not(#mpi-0) body.mpi-page .mpi-ride__engine { fill: color-mix(in srgb, var(--mpi-brand) 75%, #000); }
:root:not(#mpi-0) body.mpi-page .mpi-ride__lamp { fill: #F2D57A; stroke: var(--mpi-brand); stroke-width: 3; }
:root:not(#mpi-0) body.mpi-page .mpi-ride__tyre { fill: none; stroke: #18221D; stroke-width: 7; }
:root:not(#mpi-0) body.mpi-page .mpi-ride__hub { fill: var(--mpi-accent); }
:root:not(#mpi-0) body.mpi-page .mpi-ride__spokes { stroke: #6E7A74; stroke-width: 1.6; }
:root:not(#mpi-0) body.mpi-page .mpi-ride__wheel { animation: mpi-spin .7s linear infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-ride__wind { position: absolute; left: calc(50% - 190px); bottom: 34px; display: grid; gap: 9px; }
:root:not(#mpi-0) body.mpi-page .mpi-ride__wind i { display: block; height: 3px; width: 54px; border-radius: 3px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--mpi-brand) 35%, transparent)); animation: mpi-wind 1.1s linear infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-ride__wind i:nth-child(2) { width: 34px; margin-left: 16px; animation-delay: .35s; }
:root:not(#mpi-0) body.mpi-page .mpi-ride__wind i:nth-child(3) { width: 44px; margin-left: 6px; animation-delay: .7s; }
:root:not(#mpi-0) body.mpi-page .mpi-ride__road { position: absolute; left: 0; right: 0; bottom: 12px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--mpi-accent) 0 26px, transparent 26px 46px); background-size: 46px 4px; animation: mpi-road .5s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
@keyframes mpi-spin { to { transform: rotate(360deg); } }
@keyframes mpi-bounce { from { transform: translateY(0); } to { transform: translateY(-2px); } }
@keyframes mpi-road { to { background-position: -46px 0; } }
@keyframes mpi-wind { from { transform: translateX(30px); opacity: 0; } 30% { opacity: 1; } to { transform: translateX(-40px); opacity: 0; } }
@keyframes mpi-cruise { 0%, 100% { transform: translateX(-26px); } 50% { transform: translateX(26px); } }
:root:not(#mpi-0)[data-theme="dark"] body.mpi-page :is(.mpi-ride__frame, .mpi-ride__bar) { stroke: var(--mpi-soft); }
:root:not(#mpi-0)[data-theme="dark"] body.mpi-page .mpi-ride__seat { stroke: #CFE0D6; }
:root:not(#mpi-0)[data-theme="dark"] body.mpi-page .mpi-ride__tyre { stroke: #CFE0D6; }
:root:not(#mpi-0)[data-theme="dark"] body.mpi-page .mpi-ride__engine { fill: #52665C; }
:root:not(#mpi-0)[data-theme="dark"] body.mpi-page .mpi-ride__wind i { background: linear-gradient(90deg, transparent, rgba(207, 224, 214, .45)); }
:root:not(#mpi-0)[data-theme="dark"] body.mpi-page .mpi-deed__dash { background: repeating-linear-gradient(90deg, rgba(207, 224, 214, .4) 0 8px, transparent 8px 14px); }

/* City: dawn sky, a skyline under the introduction, the form on the stage. */
body.mpi-page .mpi-hero--city {
	background:
		radial-gradient(520px 260px at 50% 108%, color-mix(in srgb, var(--mpi-accent) 30%, transparent), transparent 70%),
		linear-gradient(180deg, color-mix(in srgb, var(--mpi-primary) 9%, var(--mpi-hero)) 0%, var(--mpi-hero) 55%, color-mix(in srgb, var(--mpi-accent) 12%, var(--mpi-hero)) 100%);
}
body.mpi-page .mpi-hero--city::before { background-image: radial-gradient(color-mix(in srgb, var(--mpi-brand) 10%, transparent) 1px, transparent 1.3px); -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%); }
body.mpi-page .mpi-hero--city .mpi-kicker :is(p, .mpi-kicker__t)::before { width: 10px; height: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--mpi-primary); box-shadow: none; }
:root:not(#mpi-0) body.mpi-page .mpi-art--city { height: 150px; margin-inline: auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
:root:not(#mpi-0) body.mpi-page .mpi-city__sky { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
:root:not(#mpi-0) body.mpi-page .mpi-city__far path { fill: color-mix(in srgb, var(--mpi-primary) 16%, transparent); }
:root:not(#mpi-0) body.mpi-page .mpi-city__near { fill: var(--mpi-brand); opacity: .9; }
:root:not(#mpi-0) body.mpi-page .mpi-city__ground { stroke: var(--mpi-accent); stroke-width: 2; }
:root:not(#mpi-0) body.mpi-page .mpi-city__far { animation: mpi-rise 1.2s .2s var(--mpi-ease) both; }
:root:not(#mpi-0) body.mpi-page .mpi-city__near { animation: mpi-rise 1.2s .45s var(--mpi-ease) both; }
:root:not(#mpi-0) body.mpi-page .mpi-city__sun { position: absolute; left: 50%; bottom: 18px; width: 150px; height: 150px; margin-left: 40px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--mpi-accent) 70%, #fff) 0 30%, color-mix(in srgb, var(--mpi-accent) 35%, transparent) 46%, transparent 70%); animation: mpi-sun 6s ease-in-out infinite; }
@keyframes mpi-sun { 0%, 100% { transform: translateY(6px) scale(.96); opacity: .8; } 50% { transform: translateY(-6px) scale(1.04); opacity: 1; } }
:root:not(#mpi-0)[data-theme="dark"] body.mpi-page .mpi-city__near { fill: color-mix(in srgb, var(--mpi-soft) 40%, #0A1712); opacity: 1; }
:root:not(#mpi-0) body.mpi-page .mpi-hero--city.has-form { padding-bottom: clamp(120px, 13vw, 160px) !important; }
:root:not(#mpi-0) body.mpi-page .mpi-hero--city .mpi-heroart { margin-top: 18px !important; margin-bottom: -20px !important; }

/* Deed: ruled paper, a seller and a buyer, a document passing between them. */
body.mpi-page .mpi-hero--deed {
	background:
		radial-gradient(640px 380px at 96% -10%, color-mix(in srgb, var(--mpi-accent) 16%, transparent), transparent 62%),
		radial-gradient(560px 360px at -6% 110%, color-mix(in srgb, var(--mpi-primary) 12%, transparent), transparent 66%),
		color-mix(in srgb, var(--mpi-accent) 4%, var(--mpi-hero));
}
body.mpi-page .mpi-hero--deed::before { background-image: repeating-linear-gradient(180deg, transparent 0 33px, color-mix(in srgb, var(--mpi-brand) 6%, transparent) 33px 34px); background-size: auto; -webkit-mask-image: linear-gradient(90deg, #000 0 60%, transparent 95%); mask-image: linear-gradient(90deg, #000 0 60%, transparent 95%); }
body.mpi-page .mpi-hero--deed::after { width: min(420px, 50%); height: 3px; background: repeating-linear-gradient(90deg, var(--mpi-accent) 0 10px, transparent 10px 16px); }
:root:not(#mpi-0) body.mpi-page .mpi-art--deed { display: flex; align-items: center; gap: 0; max-width: 520px; }
:root:not(#mpi-0) body.mpi-page .mpi-deed__p { position: relative; flex: none; display: grid; justify-items: center; gap: 6px; width: 112px; padding: 14px 10px 12px; border-radius: 18px; background: var(--mpi-surface); box-shadow: 0 0 0 1px var(--mpi-line) inset, var(--mpi-shadow); }
:root:not(#mpi-0) body.mpi-page .mpi-deed__p > .mpi-ico { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--mpi-chip); color: var(--mpi-primary); }
:root:not(#mpi-0) body.mpi-page .mpi-deed__p--b > .mpi-ico { background: var(--mpi-gold-chip); color: color-mix(in srgb, var(--mpi-accent) 70%, var(--mpi-head)); }
:root:not(#mpi-0) body.mpi-page .mpi-deed__p b { color: var(--mpi-head); font: 650 14px/1 var(--mpi-font-head); }
:root:not(#mpi-0) body.mpi-page .mpi-deed__fp { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: var(--mpi-primary); background: color-mix(in srgb, var(--mpi-primary) 8%, transparent); animation: mpi-fp 4.8s ease-in-out infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-deed__p--b .mpi-deed__fp { animation-delay: 2.2s; }
:root:not(#mpi-0) body.mpi-page .mpi-deed__fp .mpi-ico { width: 18px; height: 18px; }
:root:not(#mpi-0) body.mpi-page .mpi-deed__ok { position: absolute; top: -9px; right: -9px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mpi-primary); color: #fff; box-shadow: 0 0 0 3px var(--mpi-hero); animation: mpi-ok 4.8s var(--mpi-ease) infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-deed__ok .mpi-ico { width: 15px; height: 15px; }
:root:not(#mpi-0) body.mpi-page .mpi-deed__ok svg { stroke-width: 3.4; }
:root:not(#mpi-0) body.mpi-page .mpi-deed__lane { position: relative; flex: 1 1 auto; height: 44px; min-width: 90px; }
:root:not(#mpi-0) body.mpi-page .mpi-deed__dash { position: absolute; left: 6px; right: 6px; top: 50%; height: 3px; margin-top: -1.5px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--mpi-brand) 30%, transparent) 0 8px, transparent 8px 14px); }
:root:not(#mpi-0) body.mpi-page .mpi-deed__doc { position: absolute; top: 50%; left: 0; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; border-radius: 12px; background: linear-gradient(180deg, #F7E3A0, #D9B23C); color: #3B2C05; box-shadow: 0 10px 20px -10px rgba(120, 85, 0, .8); animation: mpi-pass 4.8s var(--mpi-ease) infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-deed__doc .mpi-ico { width: 20px; height: 20px; }
@keyframes mpi-pass { 0%, 22% { left: 0; transform: scale(.85) rotate(-6deg); opacity: 0; } 30% { opacity: 1; transform: scale(1) rotate(-6deg); } 62% { left: calc(100% - 40px); transform: scale(1) rotate(6deg); opacity: 1; } 72%, 100% { left: calc(100% - 40px); transform: scale(.85) rotate(6deg); opacity: 0; } }
@keyframes mpi-fp { 0%, 8% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mpi-primary) 45%, transparent); background: color-mix(in srgb, var(--mpi-primary) 8%, transparent); } 16% { background: var(--mpi-primary); color: #fff; } 30%, 100% { box-shadow: 0 0 0 12px transparent; background: color-mix(in srgb, var(--mpi-primary) 8%, transparent); color: var(--mpi-primary); } }
@keyframes mpi-ok { 0%, 60% { transform: scale(0); } 70% { transform: scale(1.15); } 76%, 94% { transform: scale(1); } 100% { transform: scale(0); } }

/* ── Heading styles ─────────────────────────────────────────────────── */
/* Number plate */
body.mpi-page.mpi-h-plate .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2)::before {
	content: "No " counter(mpi-sec, decimal-leading-zero);
	display: table;
	margin-bottom: 14px;
	padding: 7px 13px 7px 22px;
	border: 2px solid var(--mpi-head);
	border-radius: 7px;
	background: linear-gradient(90deg, var(--mpi-primary) 0 10px, var(--mpi-surface) 10px);
	color: var(--mpi-head);
	font: 700 14.5px/1 var(--mpi-font-head);
	letter-spacing: .16em;
	box-shadow: inset 0 0 0 2px var(--mpi-surface), 0 6px 14px -8px rgba(6, 30, 22, .5);
	font-variant-numeric: tabular-nums;
}
body.mpi-page.mpi-h-plate .mpi-sec .mpi-h2.is-in .elementor-heading-title::before, body.mpi-page.mpi-h-plate .mpi-sec h2.mpi-h2.is-in::before { animation: mpi-plate .8s var(--mpi-ease) both; }
@keyframes mpi-plate { from { transform: translateY(8px) rotate(-3deg); opacity: 0; } to { transform: none; opacity: 1; } }
/* Road lane */
body.mpi-page.mpi-h-lane .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2)::after {
	content: "";
	display: block;
	width: 132px;
	height: 4px;
	margin-top: 16px;
	border-radius: 4px;
	background: repeating-linear-gradient(90deg, var(--mpi-accent) 0 16px, transparent 16px 26px);
	-webkit-mask-image: linear-gradient(90deg, #000 70%, transparent);
	mask-image: linear-gradient(90deg, #000 70%, transparent);
}
body.mpi-page.mpi-h-lane .mpi-sec .mpi-h2.is-in .elementor-heading-title::after, body.mpi-page.mpi-h-lane .mpi-sec h2.mpi-h2.is-in::after { animation: mpi-lane 1.4s var(--mpi-ease) both; }
@keyframes mpi-lane { from { clip-path: inset(0 100% 0 0); background-position: 52px 0; } to { clip-path: inset(0 0 0 0); background-position: 0 0; } }
/* Map pin */
body.mpi-page.mpi-h-pin .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2) { padding-left: 56px; }
body.mpi-page.mpi-h-pin .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2)::before { content: ""; position: absolute; left: 4px; top: .02em; width: 36px; height: 36px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, var(--mpi-primary), var(--mpi-brand)); box-shadow: 0 8px 16px -8px rgba(6, 30, 22, .7); }
body.mpi-page.mpi-h-pin .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2)::after { content: counter(mpi-sec); position: absolute; left: 4px; top: .02em; display: grid; place-items: center; width: 36px; height: 36px; color: #fff; font: 700 14px/1 var(--mpi-font-head); font-variant-numeric: tabular-nums; }
body.mpi-page.mpi-h-pin .mpi-sec .mpi-h2.is-in .elementor-heading-title::before, body.mpi-page.mpi-h-pin .mpi-sec h2.mpi-h2.is-in::before { animation: mpi-pin .7s var(--mpi-ease) both; }
@keyframes mpi-pin { 0% { transform: translateY(-24px) rotate(-45deg); opacity: 0; } 60% { transform: translateY(3px) rotate(-45deg); opacity: 1; } 100% { transform: translateY(0) rotate(-45deg); } }
/* Seal */
body.mpi-page.mpi-h-seal .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2) { padding-left: 66px; }
body.mpi-page.mpi-h-seal .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2)::before { content: counter(mpi-sec, decimal-leading-zero); position: absolute; left: 0; top: -.05em; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--mpi-primary), var(--mpi-brand)); color: #F2D57A; font: 700 15px/1 var(--mpi-font-head); font-variant-numeric: tabular-nums; box-shadow: 0 0 0 4px var(--mpi-bg), 0 0 0 6px color-mix(in srgb, var(--mpi-accent) 60%, transparent), 0 10px 18px -10px rgba(6, 30, 22, .8); }
body.mpi-page.mpi-h-seal .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2)::after { content: ""; position: absolute; left: -6px; top: calc(-.05em - 6px); width: 56px; height: 56px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--mpi-accent) 80%, transparent); box-sizing: border-box; }
body.mpi-page.mpi-h-seal .mpi-sec .mpi-h2.is-in .elementor-heading-title::after, body.mpi-page.mpi-h-seal .mpi-sec h2.mpi-h2.is-in::after { animation: mpi-sealspin 1.6s var(--mpi-ease) both; }
body.mpi-page.mpi-h-seal .mpi-sec .mpi-h2.is-in .elementor-heading-title::before, body.mpi-page.mpi-h-seal .mpi-sec h2.mpi-h2.is-in::before { animation: mpi-stamp .6s var(--mpi-ease) both; }
@keyframes mpi-sealspin { from { transform: rotate(-120deg); opacity: 0; } to { transform: rotate(0); opacity: 1; } }
@keyframes mpi-stamp { 0% { transform: scale(1.5); opacity: 0; } 70% { transform: scale(.94); opacity: 1; } 100% { transform: scale(1); } }
body.mpi-page:is(.mpi-h-pin, .mpi-h-seal) .mpi-sec--faq.mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2) { text-align: left; }
@media (max-width: 767px) {
	body.mpi-page.mpi-h-pin .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2) { padding-left: 46px; }
	body.mpi-page.mpi-h-pin .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2)::before, body.mpi-page.mpi-h-pin .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2)::after { width: 30px; height: 30px; left: 2px; }
	body.mpi-page.mpi-h-seal .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2) { padding-left: 0; padding-top: 62px; }
	body.mpi-page.mpi-h-seal .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2)::before { left: 6px; top: 6px; }
	body.mpi-page.mpi-h-seal .mpi-sec :is(.mpi-h2 .elementor-heading-title, h2.mpi-h2)::after { left: 0; top: 0; }
}

/* ── FLAGS: cards that turn over ───────────────────────────────────── */
:root:not(#mpi-0) body.mpi-page .mpi-flags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
:root:not(#mpi-0) body.mpi-page .mpi-flags.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
:root:not(#mpi-0) body.mpi-page .mpi-flag { perspective: 1200px; margin: 0; }
:root:not(#mpi-0) body.mpi-page .mpi-flag__in { all: unset; box-sizing: border-box; display: grid; width: 100%; height: 100%; min-height: 196px; cursor: pointer; transform-style: preserve-3d; transition: transform .7s var(--mpi-ease); border-radius: 22px; -webkit-tap-highlight-color: transparent; }
:root:not(#mpi-0) body.mpi-page .mpi-flag__in:focus-visible { outline: 3px solid var(--mpi-accent); outline-offset: 4px; }
:root:not(#mpi-0) body.mpi-page .mpi-flag__face { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 20px; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; text-align: left; }
:root:not(#mpi-0) body.mpi-page .mpi-flag__front { position: relative; background: linear-gradient(90deg, #C2410C, var(--mpi-accent)) top / 100% 4px no-repeat, var(--mpi-surface); box-shadow: 0 0 0 1px var(--mpi-line) inset, var(--mpi-shadow); }
:root:not(#mpi-0) body.mpi-page .mpi-flag__ico .mpi-ico { width: 42px; height: 42px; padding: 9px; border-radius: 13px; background: color-mix(in srgb, #B45309 12%, var(--mpi-surface)); color: #B45309; }
:root:not(#mpi-0)[data-theme="dark"] body.mpi-page .mpi-flag__ico .mpi-ico { color: #FDBA74; background: rgba(253, 186, 116, .12); }
:root:not(#mpi-0) body.mpi-page .mpi-flag__t { color: var(--mpi-head); font: 600 18px/1.35 var(--mpi-font-head); letter-spacing: -.01em; }
:root:not(#mpi-0) body.mpi-page .mpi-flag__hint { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--mpi-primary); font: 650 13.5px/1 var(--mpi-font-body); }
:root:not(#mpi-0) body.mpi-page .mpi-flag__hint .mpi-ico { width: 16px; height: 16px; transition: transform .3s var(--mpi-ease); }
:root:not(#mpi-0) body.mpi-page .mpi-flag__in:hover .mpi-flag__hint .mpi-ico { transform: translateX(4px); }
:root:not(#mpi-0) body.mpi-page .mpi-flag__back { transform: rotateY(180deg); background: radial-gradient(260px 160px at 100% 0%, rgba(127, 217, 168, .22), transparent 70%), linear-gradient(160deg, var(--mpi-brand), color-mix(in srgb, var(--mpi-brand) 82%, #000)); color: #DCEBE3; }
:root:not(#mpi-0) body.mpi-page .mpi-flag__lbl { display: flex; align-items: center; gap: 8px; color: #F2D57A; font: 700 12px/1.3 var(--mpi-font-body); letter-spacing: .1em; text-transform: uppercase; }
:root:not(#mpi-0) body.mpi-page .mpi-flag__lbl .mpi-ico { flex: none; width: 18px; height: 18px; color: var(--mpi-soft); }
:root:not(#mpi-0) body.mpi-page .mpi-flag__x { color: #E3EFE8; font: 400 15.5px/1.6 var(--mpi-font-body); }
:root:not(#mpi-0) body.mpi-page .mpi-flag__x a { color: #F2D57A !important; }
:root:not(#mpi-0) body.mpi-page .mpi-flag__in.is-flipped { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) {
	:root:not(#mpi-0) body.mpi-page .mpi-flag:hover .mpi-flag__in { transform: rotateY(180deg); }
}

/* ── DUO: two sides of one job ─────────────────────────────────────── */
:root:not(#mpi-0) body.mpi-page .mpi-duo { margin: 0; }
:root:not(#mpi-0) body.mpi-page .mpi-duo__t { margin: 0 0 16px !important; color: var(--mpi-muted); font: 700 12.5px/1.3 var(--mpi-font-body); letter-spacing: .14em; text-transform: uppercase; text-align: center; }
:root:not(#mpi-0) body.mpi-page .mpi-duo__grid { display: grid; grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr); align-items: stretch; }
:root:not(#mpi-0) body.mpi-page .mpi-duo__col { padding: 24px 24px 18px; border-radius: 24px; background: var(--mpi-surface); box-shadow: 0 0 0 1px var(--mpi-line) inset, var(--mpi-shadow); }
:root:not(#mpi-0) body.mpi-page .mpi-duo__col--a { border-top: 4px solid var(--mpi-primary); }
:root:not(#mpi-0) body.mpi-page .mpi-duo__col--b { border-top: 4px solid var(--mpi-accent); }
:root:not(#mpi-0) body.mpi-page .mpi-duo__h { display: flex; align-items: center; gap: 12px; margin: 0 0 14px !important; color: var(--mpi-head); font: 650 20px/1.2 var(--mpi-font-head); }
:root:not(#mpi-0) body.mpi-page .mpi-duo__h .mpi-ico { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--mpi-chip); color: var(--mpi-primary); }
:root:not(#mpi-0) body.mpi-page .mpi-duo__col--b .mpi-duo__h .mpi-ico { background: var(--mpi-gold-chip); color: color-mix(in srgb, var(--mpi-accent) 65%, var(--mpi-head)); }
:root:not(#mpi-0) body.mpi-page .mpi-duo__col ul { margin: 0; padding: 0; list-style: none; }
:root:not(#mpi-0) body.mpi-page .mpi-duo__col li { position: relative; margin: 0; padding: 11px 0 11px 26px; border-top: 1px solid var(--mpi-line); color: var(--mpi-text); font-size: 15.5px; line-height: 1.55; }
:root:not(#mpi-0) body.mpi-page .mpi-duo__col li::marker { content: none; }
:root:not(#mpi-0) body.mpi-page .mpi-duo__col li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--mpi-primary); box-shadow: 0 0 0 4px var(--mpi-chip); }
:root:not(#mpi-0) body.mpi-page .mpi-duo__col--b li::before { background: var(--mpi-accent); box-shadow: 0 0 0 4px var(--mpi-gold-chip); }
:root:not(#mpi-0) body.mpi-page .mpi-duo__mid { position: relative; display: grid; place-items: center; }
:root:not(#mpi-0) body.mpi-page .mpi-duo__vs { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(140deg, var(--mpi-brand), var(--mpi-primary)); color: #F2D57A; font: 800 16px/1 var(--mpi-font-head); letter-spacing: .06em; box-shadow: 0 0 0 6px var(--mpi-bg), 0 0 0 7px var(--mpi-line), 0 14px 24px -12px rgba(6, 30, 22, .7); animation: mpi-vs 3s ease-in-out infinite; }
@keyframes mpi-vs { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.08) rotate(-6deg); } }
:root:not(#mpi-0) body.mpi-page .mpi-duo__rail { position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; margin-top: -1.5px; background: repeating-linear-gradient(90deg, var(--mpi-accent) 0 8px, transparent 8px 14px); }
:root:not(#mpi-0) body.mpi-page .mpi-duo__token { position: absolute; top: 50%; left: 0; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: linear-gradient(180deg, #F7E3A0, #D9B23C); color: #3B2C05; box-shadow: 0 10px 18px -8px rgba(120, 85, 0, .8); animation: mpi-hand 3.6s var(--mpi-ease) infinite; }
:root:not(#mpi-0) body.mpi-page .mpi-duo__token .mpi-ico { width: 19px; height: 19px; }
@keyframes mpi-hand { 0%, 12% { left: 0; transform: rotate(-20deg); } 55%, 70% { left: calc(100% - 40px); transform: rotate(20deg); } 100% { left: 0; transform: rotate(-20deg); } }
@media (max-width: 767px) {
	:root:not(#mpi-0) body.mpi-page .mpi-duo__grid { grid-template-columns: 1fr; grid-template-rows: auto 70px auto; }
	:root:not(#mpi-0) body.mpi-page .mpi-duo__rail { left: 50%; right: auto; top: 4px; bottom: 4px; width: 3px; height: auto; margin: 0 0 0 -1.5px; background: repeating-linear-gradient(180deg, var(--mpi-accent) 0 8px, transparent 8px 14px); }
	:root:not(#mpi-0) body.mpi-page .mpi-duo__token { left: 50%; margin-left: -20px; top: 0; margin-top: 0; animation-name: mpi-hand-y; }
	@keyframes mpi-hand-y { 0%, 12% { top: 0; } 55%, 70% { top: calc(100% - 40px); } 100% { top: 0; } }
	:root:not(#mpi-0) body.mpi-page .mpi-flags, :root:not(#mpi-0) body.mpi-page .mpi-flags.is-3 { grid-template-columns: 1fr; }
	:root:not(#mpi-0) body.mpi-page .mpi-flag__in { min-height: 0; }
	:root:not(#mpi-0) body.mpi-page .mpi-art--scan .mpi-scan__num { font-size: 24px; }
	:root:not(#mpi-0) body.mpi-page .mpi-art--city { height: 110px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	:root:not(#mpi-0) body.mpi-page .mpi-flags.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── PLACES: offices to visit ──────────────────────────────────────── */
:root:not(#mpi-0) body.mpi-page .mpi-places { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: 0; }
:root:not(#mpi-0) body.mpi-page .mpi-place { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 22px; border-radius: 24px; background: radial-gradient(220px 120px at 100% 0%, color-mix(in srgb, var(--mpi-primary) 9%, transparent), transparent 70%), var(--mpi-surface); box-shadow: 0 0 0 1px var(--mpi-line) inset, var(--mpi-shadow); overflow: hidden; }
:root:not(#mpi-0) body.mpi-page .mpi-place::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--mpi-primary) 25%, transparent); }
:root:not(#mpi-0) body.mpi-page .mpi-place__pin { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, var(--mpi-primary), var(--mpi-brand)); box-shadow: 0 10px 18px -8px rgba(6, 30, 22, .7); }
:root:not(#mpi-0) body.mpi-page .mpi-place__pin .mpi-ico { width: 20px; height: 20px; color: #fff; transform: rotate(45deg); }
:root:not(#mpi-0) body.mpi-page .mpi-place.mpi-reveal.is-in .mpi-place__pin { animation: mpi-pin .8s calc(var(--i) * .12s) var(--mpi-ease) both; }
:root:not(#mpi-0) body.mpi-page .mpi-place__name { margin: 0 !important; color: var(--mpi-head); font: 650 19px/1.3 var(--mpi-font-head); }
:root:not(#mpi-0) body.mpi-page .mpi-place__addr { margin: 0 !important; color: var(--mpi-muted); font: 500 15px/1.5 var(--mpi-font-body); }
:root:not(#mpi-0) body.mpi-page .mpi-place__text { margin: 0 !important; color: var(--mpi-text); font: 400 15.5px/1.6 var(--mpi-font-body); }
:root:not(#mpi-0) body.mpi-page .mpi-place__act { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0 !important; padding-top: 12px; }
:root:not(#mpi-0) body.mpi-page .mpi-place__act a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; text-decoration: none !important; font: 650 14px/1 var(--mpi-font-body) !important; transition: transform .25s var(--mpi-ease), background-color .25s; }
:root:not(#mpi-0) body.mpi-page .mpi-place__act a .mpi-ico { width: 17px; height: 17px; }
:root:not(#mpi-0) body.mpi-page a.mpi-place__btn { background: var(--mpi-brand) !important; color: #fff !important; }
:root:not(#mpi-0) body.mpi-page a.mpi-place__tel { background: var(--mpi-chip) !important; color: var(--mpi-head) !important; }
:root:not(#mpi-0) body.mpi-page .mpi-place__act a:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
	:root:not(#mpi-0) body.mpi-page :is(.mpi-scan__beam, .mpi-scan__ticks li, .mpi-ride__scene, .mpi-ride__body, .mpi-ride__wheel, .mpi-ride__wind i, .mpi-ride__road, .mpi-city__far, .mpi-city__near, .mpi-city__sun, .mpi-deed__fp, .mpi-deed__ok, .mpi-deed__doc, .mpi-duo__vs, .mpi-duo__token, .mpi-place__pin) { animation: none !important; }
	:root:not(#mpi-0) body.mpi-page .mpi-deed__doc { left: calc(50% - 20px); opacity: 1; }
	:root:not(#mpi-0) body.mpi-page .mpi-deed__ok { transform: none; }
	:root:not(#mpi-0) body.mpi-page .mpi-scan__beam { display: none; }
	:root:not(#mpi-0) body.mpi-page .mpi-flag__in { transition: none; }
	body.mpi-page:is(.mpi-h-plate, .mpi-h-lane, .mpi-h-pin, .mpi-h-seal) .mpi-sec .mpi-h2.is-in :is(.elementor-heading-title)::before,
	body.mpi-page:is(.mpi-h-plate, .mpi-h-lane, .mpi-h-pin, .mpi-h-seal) .mpi-sec .mpi-h2.is-in :is(.elementor-heading-title)::after,
	body.mpi-page:is(.mpi-h-plate, .mpi-h-lane, .mpi-h-pin, .mpi-h-seal) .mpi-sec h2.mpi-h2.is-in::before,
	body.mpi-page:is(.mpi-h-plate, .mpi-h-lane, .mpi-h-pin, .mpi-h-seal) .mpi-sec h2.mpi-h2.is-in::after { animation: none !important; }
}
/* buttons in a side by side hero line up with the text */
:root:not(#mpi-0) body.mpi-page .mpi-hero:not(.mpi-hero--solo) .mpi-buttons { justify-content: flex-start; }
