/*
Theme Name: Markitlift Growth Partner Theme v5.3 - Insights + Lead Protection
Theme URI: https://markitlift.com
Author: Markitlift
Author URI: https://markitlift.com
Description: Conversion-focused WordPress theme for Markitlift with branded Insights, qualified lead forms, native email diagnostics, stronger anti-spam controls, SEO landing pages, and marketplace growth positioning.
Version: 5.3.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: markitlift
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  /* MarkitLift Brand Theme Book v1.0 - September 2026 */
  --ml-burgundy: #68001D;
  --ml-deep-wine: #420318;
  --ml-ink: #0D070B;
  --ml-porcelain: #FAF6F5;
  --ml-blush: #F6F0F0;
  --ml-white: #FFFFFF;
  --ml-taupe: #6D6668;
  --ml-green: #53C98B;

  /* Backward-compatible aliases used throughout the existing theme */
  --ml-navy: var(--ml-ink);
  --ml-navy-2: var(--ml-deep-wine);
  --ml-blue: var(--ml-burgundy);
  --ml-orange: var(--ml-burgundy);
  --ml-orange-dark: var(--ml-deep-wine);
  --ml-teal: var(--ml-burgundy);
  --ml-text: var(--ml-ink);
  --ml-muted: var(--ml-taupe);
  --ml-light: var(--ml-porcelain);
  --ml-card: var(--ml-blush);
  --ml-border: rgba(109, 102, 104, 0.22);
  --ml-shadow: 0 20px 45px rgba(13, 7, 11, 0.10);
  --ml-shadow-soft: 0 12px 30px rgba(13, 7, 11, 0.06);
  --ml-radius: 22px;
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--ml-text);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; }

.ml-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.ml-topbar {
  background: var(--ml-navy);
  color: #DED3D5;
  font-size: 14px;
  padding: 10px 0;
}
.ml-topbar-wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.ml-topbar-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.ml-pill-small {
  color: #fff;
  background: rgba(255,255,255,0.10);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
}

.ml-site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ml-border);
}
.admin-bar .ml-site-header { top: 32px; }
.ml-nav {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.ml-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.06em;
  color: var(--ml-navy);
}
.ml-brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ml-orange), var(--ml-blue));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(104,0,29,.20);
  letter-spacing: 0;
}
.ml-brand span span { color: var(--ml-orange); }
.ml-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #0D070B;
  font-size: 15px;
  font-weight: 800;
}
.ml-menu ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; align-items: center; }
.ml-menu a:hover, .ml-menu .current-menu-item > a { color: var(--ml-blue); }
.ml-mobile-toggle { display: none; border: 0; background: var(--ml-light); border-radius: 12px; padding: 10px 12px; font-weight: 900; }

.ml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: all .2s ease;
  border: 0;
  cursor: pointer;
  line-height: 1.2;
}
.ml-btn-primary {
  background: var(--ml-orange);
  color: #0D070B;
  box-shadow: 0 14px 28px rgba(104,0,29,.25);
}
.ml-btn-primary:hover { background: var(--ml-orange-dark); color: #fff; transform: translateY(-2px); }
.ml-btn-dark { background: var(--ml-navy); color: #fff; }
.ml-btn-dark:hover { background: var(--ml-blue); color: #fff; transform: translateY(-2px); }
.ml-btn-outline { border: 1px solid var(--ml-border); color: var(--ml-navy); background: #fff; }
.ml-btn-outline:hover { border-color: var(--ml-blue); color: var(--ml-blue); transform: translateY(-2px); }

.ml-page-main { background: #fff; }
.ml-page-main > .wp-block-post-title { display: none; }

/* Home hero */
.ml-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(104,0,29,.24), transparent 26%),
    radial-gradient(circle at 82% 10%, rgba(104,0,29,.30), transparent 30%),
    linear-gradient(135deg, #0D070B 0%, #420318 56%, #0D070B 100%);
  color: #fff;
  padding: 96px 0 72px;
}
.ml-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 54px;
}
.ml-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  color: #F6F0F0;
  border: 1px solid rgba(255,255,255,.16);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 20px;
}
.ml-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -0.07em;
  margin: 0 0 24px;
  color: #fff;
}
.ml-hero h1 span { color: #68001D; }
.ml-hero p {
  color: #F6F0F0;
  font-size: 19px;
  max-width: 650px;
  margin: 0 0 32px;
}
.ml-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.ml-trust-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; max-width: 680px; }
.ml-trust-item { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 16px; }
.ml-trust-item strong { display: block; color: #fff; font-size: 20px; line-height: 1.1; }
.ml-trust-item span { color: #DED3D5; font-size: 13px; }
.ml-hero-card { background: rgba(255,255,255,.96); color: var(--ml-text); border-radius: 30px; padding: 28px; box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.ml-hero-card h3 { font-size: 25px; letter-spacing: -0.03em; margin: 0 0 8px; color: var(--ml-navy); }
.ml-hero-card p { color: var(--ml-muted); font-size: 15px; margin: 0 0 22px; }
.ml-mini-dashboard { display: grid; gap: 14px; }
.ml-dash-row { background: var(--ml-light); border: 1px solid var(--ml-border); border-radius: 18px; padding: 16px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.ml-dash-row b { color: var(--ml-navy); }
.ml-dash-row span { color: var(--ml-green); font-weight: 900; }
.ml-progress { height: 9px; background: #DED3D5; border-radius: 999px; overflow: hidden; margin-top: 8px; min-width: 170px; }
.ml-progress div { height: 100%; background: linear-gradient(90deg, var(--ml-orange), var(--ml-blue)); border-radius: 999px; }

.ml-section { padding: 84px 0; }
.ml-section-light { background: var(--ml-light); }
.ml-section-head { max-width: 780px; margin: 0 auto 42px; text-align: center; }
.ml-label { display: inline-block; color: var(--ml-blue); background: #F6F0F0; border-radius: 999px; padding: 6px 14px; font-weight: 900; font-size: 13px; margin-bottom: 14px; }
.ml-section-head h2, .ml-page-hero h1 { color: var(--ml-navy); font-size: clamp(32px, 4vw, 50px); line-height: 1.05; letter-spacing: -0.06em; margin: 0 0 14px; }
.ml-section-head p, .ml-page-hero p { color: var(--ml-muted); font-size: 17px; margin: 0; }

.ml-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ml-service-card, .ml-card, .ml-why-card, .ml-story, .ml-testimonial, .ml-process-card {
  background: var(--ml-card);
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius);
  padding: 28px;
  box-shadow: var(--ml-shadow-soft);
}
.ml-service-card { transition: transform .2s ease, box-shadow .2s ease; }
.ml-service-card:hover { transform: translateY(-5px); box-shadow: var(--ml-shadow); }
.ml-icon-box { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: #F6F0F0; font-size: 25px; margin-bottom: 18px; }
.ml-service-card h3, .ml-card h3, .ml-why-card h3 { color: var(--ml-navy); font-size: 22px; letter-spacing: -0.035em; margin: 0 0 10px; }
.ml-service-card p, .ml-card p, .ml-why-card p { color: var(--ml-muted); margin: 0 0 18px; }
.ml-check-list { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
.ml-check-list li { display: flex; gap: 9px; color: #0D070B; font-size: 15px; }
.ml-check-list li::before { content: "✓"; color: var(--ml-green); font-weight: 900; flex: 0 0 auto; }

/* How we help */
.ml-help-section { background: #fff; }
.ml-help-feature {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: center;
  margin: 28px 0;
  padding: 32px;
  border: 1px solid var(--ml-border);
  border-radius: 30px;
  background: linear-gradient(180deg, #fff, #FAF6F5);
  box-shadow: var(--ml-shadow-soft);
}
.ml-help-feature:nth-child(even) { grid-template-columns: 1.1fr .9fr; }
.ml-help-feature:nth-child(even) .ml-help-copy { order: 2; }
.ml-help-copy h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -0.06em; color: var(--ml-navy); margin: 10px 0 16px; }
.ml-help-copy p { color: var(--ml-muted); margin: 0 0 22px; font-size: 16px; }
.ml-help-kicker { color: var(--ml-blue); font-weight: 900; font-size: 14px; }
.ml-accordion { display: grid; gap: 10px; }
.ml-accordion details { border: 1px solid var(--ml-border); border-radius: 16px; background: #fff; overflow: hidden; }
.ml-accordion summary { list-style: none; cursor: pointer; padding: 16px 50px 16px 16px; font-weight: 850; color: #0D070B; position: relative; }
.ml-accordion summary::-webkit-details-marker { display: none; }
.ml-accordion summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--ml-blue); font-size: 22px; font-weight: 500; }
.ml-accordion details[open] summary::after { content: "−"; }
.ml-accordion details p { color: var(--ml-muted); padding: 0 16px 16px; margin: 0; font-size: 14px; }
.ml-creative-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ml-preview-card { min-height: 126px; border-radius: 18px; border: 1px solid var(--ml-border); background: #fff; overflow: hidden; box-shadow: 0 12px 24px rgba(13,7,11,.07); }
.ml-preview-top { height: 44px; background: linear-gradient(135deg, #F6F0F0, #F6F0F0); display: flex; align-items: center; padding: 10px 12px; gap: 8px; font-weight: 900; color: var(--ml-navy); }
.ml-preview-body { padding: 12px; display: grid; gap: 8px; }
.ml-preview-line { height: 8px; background: #DED3D5; border-radius: 999px; }
.ml-preview-line.short { width: 65%; }
.ml-preview-products { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 6px; }
.ml-preview-product { height: 28px; border-radius: 8px; background: linear-gradient(135deg, rgba(104,0,29,.2), rgba(104,0,29,.18)); }
.ml-icon-cloud { min-height: 360px; position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: center; }
.ml-floating-icon { border-radius: 24px; padding: 22px; background: #fff; border: 1px solid var(--ml-border); box-shadow: var(--ml-shadow-soft); }
.ml-floating-icon strong { display: block; font-size: 18px; color: var(--ml-navy); margin-bottom: 6px; }
.ml-floating-icon span { color: var(--ml-muted); font-size: 13px; }
.ml-floating-icon .emoji { font-size: 36px; margin-bottom: 10px; }

.ml-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ml-why-card strong { display: block; color: var(--ml-navy); font-size: 19px; margin: 10px 0 8px; }
.ml-why-card p { color: var(--ml-muted); margin: 0; }

/* Page templates */
.ml-page-hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(104,0,29,.20), transparent 24%),
    radial-gradient(circle at 82% 15%, rgba(104,0,29,.20), transparent 28%),
    linear-gradient(180deg, #FAF6F5, #ffffff);
  padding: 76px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--ml-border);
}
.ml-page-hero .ml-container { max-width: 900px; }
.ml-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.ml-four-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ml-metric-card { background: #F6F0F0; border: 1px solid #DED3D5; border-radius: 18px; padding: 18px; text-align: center; }
.ml-metric-card strong { display:block; color: var(--ml-blue); font-size: 24px; font-weight: 900; }
.ml-metric-card span { color: #6D6668; font-weight: 700; font-size: 13px; }
.ml-story { margin-bottom: 22px; }
.ml-story h3 { font-size: 28px; color: var(--ml-navy); letter-spacing: -0.04em; margin: 0 0 6px; }
.ml-story .cat { color: var(--ml-muted); font-weight: 700; margin-bottom: 18px; }
.ml-story-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ml-note { background: var(--ml-light); border: 1px solid var(--ml-border); border-radius: 18px; padding: 18px; }
.ml-note b { color: var(--ml-navy); display:block; margin-bottom:8px; }
.ml-note p { color: var(--ml-muted); margin: 0; font-size: 15px; }
.ml-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ml-testimonial .quote { font-size: 38px; color: var(--ml-orange); line-height: 1; margin-bottom: 12px; }
.ml-testimonial p { color: #6D6668; margin: 0 0 20px; }
.ml-author { display:flex; gap:12px; align-items:center; }
.ml-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--ml-orange), var(--ml-blue)); display:grid; place-items:center; color:#fff; font-weight:900; }
.ml-author b { display:block; color: var(--ml-navy); }
.ml-author span { color: var(--ml-muted); font-size:13px; }
.ml-tag-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.ml-tag-grid span { background:#fff; border:1px solid var(--ml-border); padding:12px 16px; border-radius:999px; color:#0D070B; font-weight:800; box-shadow:0 8px 18px rgba(13,7,11,.04); }

.ml-contact-section {
  background:
    radial-gradient(circle at 90% 15%, rgba(104,0,29,.22), transparent 26%),
    linear-gradient(135deg, #420318, #0D070B);
  color: #fff;
}
.ml-contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: stretch; }
.ml-contact-box { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 28px; padding: 30px; }
.ml-contact-box h2 { font-size: 42px; line-height: 1.05; letter-spacing: -0.05em; margin: 0 0 14px; color:#fff; }
.ml-contact-box p { color: #F6F0F0; margin: 0 0 22px; }
.ml-contact-list { display: grid; gap: 14px; }
.ml-contact-list div { background: rgba(255,255,255,.08); padding: 16px; border-radius: 18px; }
.ml-contact-list b { display:block; color:#68001D; margin-bottom:3px; }
.ml-form { background:#fff; color: var(--ml-text); border-radius:28px; padding:30px; box-shadow: var(--ml-shadow); }
.ml-form h3 { color: var(--ml-navy); font-size:26px; margin: 0 0 16px; letter-spacing:-0.035em; }
.ml-field-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.ml-field { margin-bottom:14px; }
.ml-field label { display:block; font-weight:900; color:#0D070B; font-size:13px; margin-bottom:7px; }
.ml-field input, .ml-field select, .ml-field textarea { width:100%; border:1px solid var(--ml-border); border-radius:14px; padding:13px 14px; font:inherit; outline:none; background:#fff; color: var(--ml-text); }
.ml-field textarea { min-height:126px; resize:vertical; }
.ml-field input:focus, .ml-field select:focus, .ml-field textarea:focus { border-color: var(--ml-blue); box-shadow:0 0 0 4px rgba(104,0,29,.10); }
.ml-alert { padding: 14px 16px; border-radius: 14px; margin-bottom: 16px; font-weight: 800; }
.ml-alert-success { background: #EAF8F1; color: #0D070B; border: 1px solid #BCEACF; }
.ml-alert-error { background: #FFF1F0; color: #8A1C1C; border: 1px solid #F2B8B5; }
.cf-turnstile { margin: 8px 0 18px; }

.ml-site-footer { background: #0D070B; color:#F6F0F0; padding:50px 0 28px; }
.ml-footer-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap:36px; padding-bottom:30px; border-bottom:1px solid rgba(255,255,255,.10); }
.ml-site-footer h3 { color:#fff; margin:0 0 12px; font-size:22px; }
.ml-site-footer p { color:#F6F0F0; margin:0; }
.ml-footer-links { display:flex; gap:16px; flex-wrap:wrap; margin-top:16px; color:#fff; font-weight:700; }
.ml-footer-contact { background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.09); border-radius:20px; padding:20px; display:grid; gap:7px; font-size:14px; }
.ml-copyright { padding-top:24px; font-size:13px; color:#B8ADAF; }
.ml-disclaimer { margin-top:10px; font-size:12px; color:#B8ADAF; max-width:980px; }

@media (max-width: 1000px) {
  .ml-hero-grid, .ml-contact-wrap, .ml-footer-grid, .ml-help-feature, .ml-help-feature:nth-child(even), .ml-two-col { grid-template-columns:1fr; }
  .ml-help-feature:nth-child(even) .ml-help-copy { order:0; }
  .ml-cards-grid, .ml-why-grid, .ml-testimonial-grid, .ml-four-grid { grid-template-columns: repeat(2, 1fr); }
  .ml-story-columns { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
  .admin-bar .ml-site-header { top: 46px; }
}
@media (max-width: 760px) {
  .ml-topbar-wrap { justify-content:center; text-align:center; }
  .ml-topbar-links { justify-content:center; }
  .ml-nav { min-height:auto; padding: 16px 0; flex-wrap: wrap; }
  .ml-mobile-toggle { display:inline-flex; }
  .ml-menu { width:100%; display:none; }
  .ml-menu.is-open { display:block; }
  .ml-menu ul { display:grid; gap:10px; padding: 12px 0; }
  .ml-header-cta { display:none; }
  .ml-hero { padding: 68px 0 58px; }
  .ml-trust-row, .ml-cards-grid, .ml-why-grid, .ml-testimonial-grid, .ml-field-grid, .ml-four-grid, .ml-creative-grid, .ml-icon-cloud { grid-template-columns:1fr; }
  .ml-section { padding:64px 0; }
  .ml-help-feature { padding: 22px; }
  .ml-progress { min-width: 120px; }
}

/* v4.2/v4.3 Detailed Amazon advertising visual cards */
.ml-ad-visual-grid {
  gap: 16px;
  align-items: stretch;
}
.ml-ad-visual-card {
  background: #fff;
  border: 1px solid var(--ml-border);
  border-radius: 18px;
  padding: 18px;
  min-height: 255px;
  box-shadow: 0 14px 34px rgba(13,7,11,.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.ml-ad-visual-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, rgba(104,0,29,.18), rgba(104,0,29,.18));
}
.ml-ad-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ml-navy);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.ml-ad-visual-card p {
  color: #6D6668;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 14px;
}
.ml-mini-icon { color: var(--ml-blue); letter-spacing: -4px; font-size: 22px; transform: rotate(180deg); display: inline-block; }
.ml-search-icon { width: 22px; height: 22px; border: 3px solid var(--ml-orange); border-radius: 50%; position: relative; display: inline-block; }
.ml-search-icon::after { content: ""; width: 9px; height: 3px; background: var(--ml-orange); position: absolute; right: -7px; bottom: -4px; transform: rotate(45deg); border-radius: 999px; }
.ml-shield-icon { width: 26px; height: 26px; border-radius: 50% 50% 45% 45%; background: var(--ml-blue); color: #fff; display: grid; place-items: center; font-size: 13px; }
.ml-growth-icon { color: var(--ml-orange); font-size: 28px; line-height: 1; font-weight: 900; }
.ml-total-campaigns { width: fit-content; margin: 0 auto 11px; display: flex; align-items: center; border-radius: 5px; overflow: hidden; border: 1px solid #DED3D5; font-size: 11px; }
.ml-total-campaigns span { background: var(--ml-navy); color: #fff; padding: 5px 10px; }
.ml-total-campaigns b { color: var(--ml-blue); padding: 5px 11px; background: #fff; }
.ml-campaign-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ml-campaign-boxes span { border-radius: 10px; padding: 10px 6px; min-height: 54px; text-align: center; font-size: 10px; font-weight: 800; display: grid; place-items: center; color: var(--ml-navy); }
.ml-campaign-boxes span em { font-style: normal; color: var(--ml-blue); font-size: 15px; }
.ml-soft-blue { background: #F6F0F0; }
.ml-soft-orange { background: #F6F0F0; }
.ml-soft-green { background: #EAF8F1; }
.ml-card-footer-chart { margin-top: auto; display: flex; align-items: end; gap: 5px; height: 42px; border-bottom: 1px solid #DED3D5; position: relative; padding-right: 62px; }
.ml-card-footer-chart i { flex: 1; background: linear-gradient(180deg, rgba(104,0,29,.45), rgba(104,0,29,.12)); border-radius: 8px 8px 0 0; }
.ml-card-footer-chart i:nth-child(1){height:22%}.ml-card-footer-chart i:nth-child(2){height:18%}.ml-card-footer-chart i:nth-child(3){height:24%}.ml-card-footer-chart i:nth-child(4){height:36%}.ml-card-footer-chart i:nth-child(5){height:33%}.ml-card-footer-chart i:nth-child(6){height:47%}.ml-card-footer-chart i:nth-child(7){height:62%}
.ml-card-footer-chart b { position: absolute; right: 0; bottom: -10px; background: #fff; border: 1px solid #DED3D5; box-shadow: 0 8px 18px rgba(13,7,11,.08); border-radius: 10px; padding: 7px 8px; color: #6D6668; font-size: 10px; line-height: 1.1; }
.ml-card-footer-chart b span { color: var(--ml-green); font-size: 14px; }
.ml-search-bar { border: 1px solid #DED3D5; border-radius: 9px; padding: 9px 10px; color: #B8ADAF; font-size: 11px; display:flex; justify-content: space-between; align-items:center; margin-bottom: 8px; }
.ml-keyword-table { font-size: 10px; color: #6D6668; display: grid; gap: 0; }
.ml-keyword-table > div { display: grid; grid-template-columns: 1.55fr .75fr .7fr; gap: 6px; padding: 6px 0; border-bottom: 1px solid #F6F0F0; align-items: center; }
.ml-keyword-table b { color: var(--ml-navy); font-size: 10px; }
.ml-keyword-table span:first-child { color: #0D070B; }
.ml-keyword-table em { font-style: normal; font-weight: 800; }
.ml-status-active { color: var(--ml-green); }
.ml-status-paused { color: var(--ml-orange); }
.ml-status-negative { color: #68001D; }
.ml-defense-stats, .ml-scale-stats { border: 1px solid #DED3D5; border-radius: 10px; display: grid; grid-template-columns: repeat(2,1fr); overflow: hidden; margin-bottom: 16px; }
.ml-defense-stats span, .ml-scale-stats span { padding: 9px 10px; border-right: 1px solid #DED3D5; }
.ml-defense-stats span:last-child, .ml-scale-stats span:last-child { border-right: 0; }
.ml-defense-stats b, .ml-scale-stats b { display:block; color: var(--ml-navy); font-size: 10px; }
.ml-defense-stats em, .ml-scale-stats em { display:block; font-style: normal; font-weight: 900; color: var(--ml-blue); }
.ml-defense-stats span:nth-child(2) em { color: #68001D; }
.ml-defense-flow { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ml-defense-flow > span { border-radius: 9px; padding: 8px; font-size: 10px; line-height: 1.2; font-weight: 800; }
.ml-defense-flow > span:first-child { background: #EAF8F1; color: #0D070B; }
.ml-defense-flow > span:last-child { background: #F6F0F0; color: #68001D; }
.ml-defense-flow div { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #F6F0F0 0%, #F6F0F0 70%); font-size: 28px; border: 1px dashed #B8ADAF; }
.ml-scale-stats { grid-template-columns: repeat(3,1fr); margin-bottom: 10px; }
.ml-scale-stats em { color: var(--ml-navy); font-size: 13px; }
.ml-scale-stats small { display:block; color: var(--ml-green); font-weight: 900; }
.ml-growth-chart { margin-top: auto; height: 62px; display: flex; align-items: end; gap: 7px; border-bottom: 1px solid #DED3D5; position: relative; padding-right: 54px; background-image: linear-gradient(#F6F0F0 1px, transparent 1px); background-size: 100% 18px; }
.ml-growth-chart i { flex: 1; background: linear-gradient(180deg, var(--ml-blue), rgba(104,0,29,.18)); border-radius: 8px 8px 0 0; min-width: 8px; }
.ml-growth-chart b { position: absolute; right: 0; bottom: 18px; background: var(--ml-blue); color: #fff; font-size: 11px; padding: 5px 8px; border-radius: 7px; box-shadow: 0 8px 18px rgba(104,0,29,.20); }
@media (max-width: 720px) {
  .ml-ad-visual-grid { grid-template-columns: 1fr; }
  .ml-ad-visual-card { min-height: auto; }
}


/* v4.3 Detailed listing optimization visual cards */
.ml-listing-visual-grid {
  gap: 16px;
  align-items: stretch;
}
.ml-listing-visual-card {
  background: #fff;
  border: 1px solid var(--ml-border);
  border-radius: 18px;
  padding: 18px;
  min-height: 248px;
  box-shadow: 0 14px 34px rgba(13,7,11,.08);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.ml-listing-visual-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, rgba(104,0,29,.22), rgba(104,0,29,.18));
}
.ml-list-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ml-navy);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.ml-list-card-head span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #F6F0F0;
  font-size: 16px;
}
.ml-listing-visual-card p {
  color: #6D6668;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 14px;
}
.ml-aplus-layout { display: grid; gap: 10px; margin-top: auto; }
.ml-aplus-hero { height: 58px; border-radius: 12px; background: linear-gradient(135deg, rgba(104,0,29,.22), rgba(104,0,29,.16)); display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px; padding: 10px; }
.ml-aplus-hero i { border-radius: 10px; background: rgba(255,255,255,.75); }
.ml-aplus-hero span { display: grid; gap: 6px; align-content: center; }
.ml-aplus-hero b { height: 8px; border-radius: 999px; background: #F6F0F0; }
.ml-aplus-hero b:nth-child(2) { width: 70%; }
.ml-aplus-modules { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.ml-aplus-modules span { min-height: 44px; border-radius: 10px; border: 1px solid #DED3D5; background: #fff; display: grid; align-content: center; gap: 6px; padding: 8px; }
.ml-aplus-modules span::before, .ml-aplus-modules span::after { content: ""; height: 6px; border-radius: 999px; background: #DED3D5; }
.ml-aplus-modules span::after { width: 65%; }

.ml-store-wireframe { border: 1px solid #DED3D5; border-radius: 13px; overflow: hidden; margin-top: auto; background: #fff; }
.ml-store-nav { height: 28px; background: var(--ml-navy); display: flex; align-items: center; gap: 5px; padding: 0 9px; }
.ml-store-nav i { width: 34px; height: 5px; border-radius: 999px; background: rgba(255,255,255,.75); }
.ml-store-hero { height: 52px; background: linear-gradient(135deg, rgba(104,0,29,.18), rgba(104,0,29,.18)); display:flex; align-items:center; justify-content:center; font-weight: 900; color: var(--ml-blue); font-size: 12px; }
.ml-store-products { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; padding: 10px; }
.ml-store-products span { height: 34px; border-radius: 9px; background: #F6F0F0; border:1px solid #DED3D5; }
.ml-store-products span:nth-child(2), .ml-store-products span:nth-child(4) { background:#F6F0F0; }

.ml-gallery-phone { margin-top: auto; display: grid; grid-template-columns: .72fr 1fr; gap: 12px; align-items: end; }
.ml-phone-frame { width: 86px; height: 136px; border: 5px solid #0D070B; border-radius: 18px; padding: 8px; background: #fff; box-shadow: 0 12px 24px rgba(13,7,11,.12); }
.ml-phone-screen { height: 100%; border-radius: 12px; background: linear-gradient(180deg, #F6F0F0, #F6F0F0); display:grid; gap:5px; padding:8px; }
.ml-phone-screen i { border-radius: 7px; background: rgba(255,255,255,.82); }
.ml-phone-screen i:first-child { height: 42px; }
.ml-gallery-checks { display:grid; gap:8px; }
.ml-gallery-checks span { border:1px solid #DED3D5; background:#fff; border-radius:10px; padding:8px 10px; font-weight:900; color:var(--ml-navy); font-size:11px; display:flex; gap:7px; align-items:center; }
.ml-gallery-checks span::before { content:"✓"; width:18px; height:18px; border-radius:50%; background:#EAF8F1; color:#53C98B; display:grid; place-items:center; font-size:11px; }

.ml-seo-panel { margin-top: auto; border: 1px solid #DED3D5; border-radius: 13px; padding: 12px; background: linear-gradient(180deg,#fff,#FAF6F5); display:grid; gap:10px; }
.ml-seo-row { display: grid; grid-template-columns: 78px 1fr; gap: 9px; align-items:center; }
.ml-seo-row b { color: var(--ml-navy); font-size: 11px; }
.ml-seo-bar { height: 9px; border-radius: 999px; background:#DED3D5; overflow:hidden; }
.ml-seo-bar i { display:block; height:100%; border-radius:999px; background: linear-gradient(90deg, var(--ml-orange), var(--ml-blue)); }
.ml-keyword-chips { display:flex; gap:6px; flex-wrap:wrap; margin-top:3px; }
.ml-keyword-chips span { border-radius:999px; background:#F6F0F0; color: var(--ml-blue); font-weight:900; font-size:10px; padding:6px 8px; }

@media (max-width: 720px) {
  .ml-listing-visual-grid { grid-template-columns: 1fr; }
  .ml-listing-visual-card { min-height: auto; }
}


/* Legal pages and compliance additions */
.ml-audit-note {
  color: #DED3D5 !important;
  font-size: 13px !important;
  max-width: 650px;
  margin: -18px 0 28px !important;
}
.ml-page-note {
  color: var(--ml-muted);
  max-width: 780px;
  margin: 12px auto 0;
  font-size: 14px;
  font-weight: 600;
}
.ml-policy-content {
  max-width: 900px;
  background: #fff;
  border: 1px solid var(--ml-border);
  border-radius: 24px;
  box-shadow: var(--ml-shadow-soft);
  padding: 42px;
}
.ml-policy-content h2 {
  color: var(--ml-navy);
  font-size: 24px;
  letter-spacing: -0.035em;
  margin: 30px 0 10px;
}
.ml-policy-content h2:first-child { margin-top: 0; }
.ml-policy-content p,
.ml-policy-content li {
  color: #6D6668;
  font-size: 15px;
}
.ml-policy-content ul {
  padding-left: 22px;
  margin: 10px 0 18px;
}
.ml-policy-content a {
  color: var(--ml-blue);
  font-weight: 800;
}
.ml-secure-payment {
  margin-top: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 6px;
}
.ml-secure-payment strong {
  color: #68001D;
}
.ml-secure-payment span {
  color: #F6F0F0;
  font-size: 14px;
}
.ml-footer-legal-links {
  margin-top: 12px;
  color: #F6F0F0;
  font-size: 13px;
  font-weight: 700;
}
.ml-footer-legal-links a:hover {
  color: #fff;
}
@media (max-width: 760px) {
  .ml-policy-content { padding: 26px; }
}

/* =========================================================
   Markitlift v5.0 - premium growth partner conversion system
   ========================================================= */
.ml-hero-v5 { padding: 104px 0 78px; }
.ml-hero-v5 h1 { max-width: 760px; }
.ml-hero-v5 .ml-audit-note { max-width: 720px; }
.ml-trust-row-v5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ml-command-card { padding: 30px; border: 1px solid rgba(255,255,255,.45); }
.ml-command-top { display:flex; align-items:center; gap:9px; font-size:11px; font-weight:900; letter-spacing:.12em; color:#6D6668; margin-bottom:16px; }
.ml-kicker-dot { width:9px; height:9px; border-radius:50%; background:var(--ml-green); box-shadow:0 0 0 5px rgba(83,201,139,.12); }
.ml-command-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.ml-command-grid > div { border:1px solid var(--ml-border); background:linear-gradient(180deg,#fff,#FAF6F5); border-radius:16px; padding:15px; min-height:128px; display:flex; flex-direction:column; align-items:flex-start; }
.ml-command-grid b { color:var(--ml-navy); font-size:16px; margin-top:11px; }
.ml-command-grid small { color:#6D6668; line-height:1.45; margin-top:4px; }
.ml-command-footer { margin-top:14px; border-radius:14px; background:var(--ml-navy); color:#fff; padding:13px 14px; text-align:center; font-size:12px; letter-spacing:.02em; }
.ml-icon-token { display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:34px; padding:0 9px; border-radius:10px; background:#F6F0F0; color:var(--ml-blue); border:1px solid #DED3D5; font-size:11px; font-weight:900; letter-spacing:.04em; }

.ml-proof-strip { background:#fff; border-bottom:1px solid var(--ml-border); }
.ml-proof-strip-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.ml-proof-strip-grid > div { padding:22px 24px; border-right:1px solid var(--ml-border); }
.ml-proof-strip-grid > div:first-child { border-left:1px solid var(--ml-border); }
.ml-proof-strip-grid b { display:block; color:var(--ml-navy); font-size:15px; }
.ml-proof-strip-grid span { display:block; color:#6D6668; font-size:12px; margin-top:2px; }

.ml-split-intro { display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; }
.ml-split-intro h2, .ml-why-v5 h2 { color:var(--ml-navy); font-size:clamp(32px,4vw,50px); line-height:1.05; letter-spacing:-.055em; margin:0; }
.ml-split-intro p, .ml-why-v5 p { color:#6D6668; font-size:17px; }
.ml-text-link { display:inline-block; margin-top:6px; color:var(--ml-blue); font-weight:900; }
.ml-text-link:hover { color:var(--ml-orange-dark); }

.ml-pillar-grid { align-items:stretch; }
.ml-pillar-card { background:#fff; border:1px solid var(--ml-border); border-radius:22px; padding:25px; box-shadow:var(--ml-shadow-soft); display:flex; flex-direction:column; }
.ml-pillar-card h3 { color:var(--ml-navy); margin:17px 0 8px; font-size:23px; letter-spacing:-.035em; }
.ml-pillar-card p { color:#6D6668; margin:0 0 16px; font-size:14px; }
.ml-pillar-card a { margin-top:auto; color:var(--ml-blue); font-weight:900; font-size:13px; }
.ml-pillar-card .ml-check-list { margin-bottom:18px; }
.ml-service-hub-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }

.ml-dark-section { background:linear-gradient(135deg,#0D070B,#420318 58%,#0D070B); color:#fff; }
.ml-section-head-light h2 { color:#fff; }
.ml-section-head-light p { color:#F6F0F0; }
.ml-label-dark { background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.14); color:#F6F0F0; }
.ml-framework-row { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.ml-framework-row > div { min-height:185px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.07); border-radius:18px; padding:20px; }
.ml-framework-row span { display:inline-grid; place-items:center; width:34px; height:34px; border-radius:10px; background:#68001D; color:#0D070B; font-size:11px; font-weight:900; }
.ml-framework-row b { display:block; color:#fff; margin:15px 0 7px; font-size:17px; }
.ml-framework-row p { color:#F6F0F0; font-size:12px; margin:0; line-height:1.55; }

.ml-work-grid { align-items:stretch; }
.ml-work-card { border:1px solid var(--ml-border); border-radius:22px; padding:26px; background:#fff; box-shadow:var(--ml-shadow-soft); display:flex; flex-direction:column; min-height:300px; }
.ml-work-card > span, .ml-story-tag { color:var(--ml-blue); font-size:11px; font-weight:900; letter-spacing:.08em; }
.ml-work-card h3 { color:var(--ml-navy); font-size:23px; letter-spacing:-.035em; line-height:1.15; margin:14px 0 10px; }
.ml-work-card p { color:#6D6668; font-size:14px; }
.ml-work-card a { margin-top:auto; color:var(--ml-blue); font-weight:900; }

.ml-why-v5 { gap:54px; align-items:center; }
.ml-proof-checklist { display:grid; gap:12px; }
.ml-proof-checklist > div { background:#fff; border:1px solid var(--ml-border); border-radius:18px; padding:18px 20px; box-shadow:0 8px 24px rgba(13,7,11,.04); }
.ml-proof-checklist b { display:block; color:var(--ml-navy); font-size:16px; margin-bottom:3px; }
.ml-proof-checklist span { color:#6D6668; font-size:13px; }

.ml-audit-cta-section { background:#fff; }
.ml-audit-cta-card { display:grid; grid-template-columns:1.2fr .8fr; gap:44px; background:linear-gradient(135deg,#FAF6F5,#F6F0F0); border:1px solid #DED3D5; border-radius:30px; padding:48px; box-shadow:var(--ml-shadow-soft); align-items:center; }
.ml-audit-cta-card h2 { color:var(--ml-navy); font-size:clamp(30px,4vw,46px); line-height:1.06; letter-spacing:-.055em; margin:0 0 14px; }
.ml-audit-cta-card p { color:#6D6668; }
.ml-audit-mini { display:grid; gap:10px; }
.ml-audit-mini > div { display:grid; grid-template-columns:34px 95px 1fr; gap:10px; align-items:center; border:1px solid #DED3D5; background:#fff; border-radius:15px; padding:12px; }
.ml-audit-mini span { width:30px; height:30px; border-radius:9px; display:grid; place-items:center; background:var(--ml-navy); color:#fff; font-weight:900; font-size:11px; }
.ml-audit-mini b { color:var(--ml-navy); font-size:13px; }
.ml-audit-mini small { color:#6D6668; line-height:1.35; }

.ml-story-v5 { overflow:hidden; }
.ml-story-top { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; margin-bottom:22px; }
.ml-story-badge { background:#F6F0F0; border:1px solid #DED3D5; color:#6D6668; border-radius:999px; padding:7px 10px; font-size:10px; font-weight:900; white-space:nowrap; }
.ml-evidence-slot { margin-top:20px; border:1px dashed #B8ADAF; background:#FAF6F5; border-radius:16px; padding:18px; display:grid; gap:4px; }
.ml-evidence-slot strong { color:var(--ml-navy); font-size:11px; letter-spacing:.08em; }
.ml-evidence-slot span { color:#6D6668; font-size:13px; }
.ml-cta-band { display:flex; justify-content:space-between; align-items:center; gap:36px; }
.ml-cta-band h2 { color:var(--ml-navy); font-size:clamp(28px,3vw,40px); letter-spacing:-.05em; line-height:1.08; margin:0 0 8px; }
.ml-cta-band p { color:#6D6668; margin:0; }

.ml-team-template { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.ml-team-template > div { background:#fff; border:1px solid var(--ml-border); border-radius:22px; padding:22px; box-shadow:var(--ml-shadow-soft); }
.ml-team-template h3 { color:var(--ml-navy); margin:16px 0 8px; }
.ml-team-template p { color:#6D6668; font-size:13px; }
.ml-team-photo-placeholder { height:210px; border-radius:17px; background:linear-gradient(135deg,#DED3D5,#FAF6F5); border:1px dashed #B8ADAF; display:grid; place-items:center; text-align:center; color:#6D6668; font-weight:900; letter-spacing:.06em; }

.ml-audit-layout { align-items:start; }
.ml-audit-layout > div:first-child { display:grid; gap:16px; }
.ml-audit-output ol { padding-left:22px; color:#6D6668; }
.ml-form-intro { color:#6D6668; font-size:13px; margin-top:-4px; }
.ml-form-footnote { display:block; margin-top:14px; color:#6D6668; line-height:1.5; }
.ml-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }

.ml-audit-board { border:1px solid var(--ml-border); border-radius:24px; overflow:hidden; box-shadow:var(--ml-shadow); background:#fff; }
.ml-audit-board-head { display:flex; justify-content:space-between; gap:30px; align-items:center; padding:30px; background:linear-gradient(135deg,#0D070B,#420318); color:#fff; }
.ml-audit-board-head span { color:#68001D; font-size:11px; font-weight:900; letter-spacing:.12em; }
.ml-audit-board-head h2 { color:#fff; margin:4px 0; letter-spacing:-.04em; }
.ml-audit-board-head p { color:#F6F0F0; margin:0; }
.ml-audit-score { text-align:center; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.08); border-radius:16px; padding:14px 18px; font-size:11px; color:#F6F0F0; min-width:125px; }
.ml-audit-score strong { display:block; color:#fff; font-size:15px; }
.ml-audit-table > div { display:grid; grid-template-columns:.7fr 1.5fr 1.25fr .45fr; gap:14px; padding:16px 20px; border-top:1px solid #DED3D5; align-items:start; }
.ml-audit-table .head { background:#FAF6F5; color:var(--ml-navy); font-size:11px; text-transform:uppercase; letter-spacing:.04em; }
.ml-audit-table span { color:#6D6668; font-size:12px; line-height:1.5; }
.ml-audit-table b { color:var(--ml-navy); font-size:12px; }
.ml-audit-table em { font-style:normal; justify-self:start; border-radius:999px; padding:5px 8px; font-size:9px; font-weight:900; }
.ml-audit-table em.high { background:#F6F0F0; color:#68001D; }
.ml-audit-table em.medium { background:#FAF6F5; color:#420318; }
.ml-audit-priority { padding:24px 30px 30px; background:#FAF6F5; border-top:1px solid #DED3D5; }
.ml-audit-priority h3 { color:var(--ml-navy); margin-top:0; }
.ml-audit-priority li { color:#6D6668; margin:8px 0; }
.ml-center-cta { text-align:center; margin-top:28px; }

.ml-expertise-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }

/* Refine icon-heavy legacy UI into cleaner premium tokens */
.ml-service-card .ml-icon-box, .ml-why-card > div:first-child { font-family:'Montserrat',Arial,sans-serif; }

/* SEO/service page link hierarchy */
.ml-page-hero { padding-top:78px; padding-bottom:62px; }
.ml-page-hero p { max-width:800px; }

@media (max-width: 1020px) {
  .ml-framework-row { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .ml-proof-strip-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ml-proof-strip-grid > div:nth-child(odd) { border-left:1px solid var(--ml-border); }
  .ml-audit-cta-card { grid-template-columns:1fr; }
  .ml-expertise-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .ml-hero-v5 { padding:72px 0 58px; }
  .ml-hero-grid, .ml-split-intro, .ml-two-col, .ml-service-hub-grid, .ml-audit-cta-card { grid-template-columns:1fr !important; }
  .ml-command-grid { grid-template-columns:1fr 1fr; }
  .ml-trust-row-v5 { grid-template-columns:1fr; }
  .ml-proof-strip-grid { grid-template-columns:1fr; }
  .ml-proof-strip-grid > div { border-left:1px solid var(--ml-border); }
  .ml-framework-row { grid-template-columns:1fr; }
  .ml-team-template { grid-template-columns:1fr; }
  .ml-team-photo-placeholder { height:260px; }
  .ml-story-top, .ml-cta-band, .ml-audit-board-head { flex-direction:column; align-items:flex-start; }
  .ml-audit-cta-card { padding:28px 22px; border-radius:22px; }
  .ml-audit-mini > div { grid-template-columns:34px 1fr; }
  .ml-audit-mini small { grid-column:2; }
  .ml-audit-table { overflow-x:auto; }
  .ml-audit-table > div { min-width:760px; }
  .ml-expertise-grid { grid-template-columns:1fr; }
}

@media (max-width: 430px) {
  .ml-container { width:min(100% - 22px,1180px); }
  .ml-hero h1 { font-size:40px; }
  .ml-command-grid { grid-template-columns:1fr; }
  .ml-btn { width:100%; }
  .ml-hero-actions { gap:10px; }
  .ml-section { padding:64px 0; }
}


/* =========================================================
   MARKITLIFT BRAND THEME BOOK v1.0 - COLOR + TYPOGRAPHY
   Applied in v5.1 without changing site structure/content.
   ========================================================= */
body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--ml-ink);
  background: var(--ml-porcelain);
}

h1, h2, h3,
.ml-hero h1,
.ml-page-hero h1,
.ml-section-head h2,
.ml-help-copy h3,
.ml-contact-box h2,
.ml-form h3,
.ml-story h3,
.ml-audit-cta-card h2,
.ml-cta-band h2,
.ml-split-intro h2,
.ml-why-v5 h2,
.ml-work-card h3,
.ml-pillar-card h3,
.ml-policy-content h2,
.ml-team-template h3,
.ml-site-footer h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.ml-menu, .ml-btn, .ml-topbar, .ml-pill-small,
.ml-eyebrow, .ml-label, .ml-help-kicker,
.ml-field label, .ml-audit-table, .ml-command-grid,
.ml-proof-strip-grid, .ml-framework-row, .ml-footer-links {
  font-family: 'Montserrat', Arial, sans-serif;
}
.ml-menu, .ml-btn { font-weight: 600; }
.ml-eyebrow, .ml-label, .ml-help-kicker {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Warm porcelain is the primary light canvas; blush groups content. */
.ml-page-main,
.ml-section-light,
.ml-page-hero,
.ml-audit-cta-section { background: var(--ml-porcelain); }
.ml-service-card, .ml-card, .ml-why-card, .ml-story, .ml-testimonial, .ml-process-card {
  background: var(--ml-blush);
}
.ml-policy-content, .ml-form, .ml-work-card, .ml-team-template > div,
.ml-audit-board, .ml-audit-mini > div { background: var(--ml-white); }

/* Core brand actions and active states */
.ml-btn-primary {
  background: var(--ml-burgundy);
  color: var(--ml-white);
  box-shadow: 0 14px 28px rgba(104,0,29,.22);
}
.ml-btn-primary:hover { background: var(--ml-deep-wine); color: var(--ml-white); }
.ml-btn-dark { background: var(--ml-ink); color: var(--ml-white); }
.ml-btn-dark:hover { background: var(--ml-burgundy); color: var(--ml-white); }
.ml-btn-outline { border-color: rgba(109,102,104,.28); color: var(--ml-ink); background: var(--ml-white); }
.ml-btn-outline:hover { border-color: var(--ml-burgundy); color: var(--ml-burgundy); }
.ml-menu a:hover, .ml-menu .current-menu-item > a,
.ml-text-link, .ml-pillar-card a, .ml-work-card a, .ml-policy-content a { color: var(--ml-burgundy); }
.ml-text-link:hover { color: var(--ml-deep-wine); }

/* Header + wordmark fallback */
.ml-topbar { background: var(--ml-ink); color: var(--ml-blush); }
.ml-site-header { background: rgba(250,246,245,.96); }
.ml-brand { color: var(--ml-ink); }
.ml-brand-mark { background: linear-gradient(135deg, var(--ml-burgundy), var(--ml-deep-wine)); color: var(--ml-white); box-shadow: 0 12px 24px rgba(104,0,29,.20); }
.ml-brand span span { color: var(--ml-burgundy); }
.ml-mobile-toggle { background: var(--ml-blush); color: var(--ml-ink); }

/* Hero: dark proof / authority treatment */
.ml-hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(104,0,29,.34), transparent 26%),
    radial-gradient(circle at 82% 10%, rgba(104,0,29,.24), transparent 30%),
    linear-gradient(135deg, var(--ml-ink) 0%, var(--ml-deep-wine) 58%, var(--ml-ink) 100%);
  color: var(--ml-white);
}
.ml-hero h1 { font-size: clamp(52px, 6vw, 64px); line-height: 1.08; color: var(--ml-white); }
.ml-hero h1 span { color: var(--ml-white); }
.ml-hero p { color: var(--ml-blush); }
.ml-eyebrow { background: rgba(104,0,29,.58); color: var(--ml-white); border-color: rgba(255,255,255,.18); }
.ml-trust-item { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.ml-trust-item strong { color: var(--ml-white); }
.ml-trust-item span { color: var(--ml-blush); }
.ml-hero-card { background: var(--ml-blush); color: var(--ml-ink); }
.ml-dash-row { background: var(--ml-porcelain); }
.ml-progress { background: rgba(109,102,104,.20); }
.ml-progress div { background: linear-gradient(90deg, var(--ml-burgundy), var(--ml-deep-wine)); }

/* Page and section typography follows the Theme Book scale. */
.ml-section-head h2 { font-size: clamp(36px, 4vw, 44px); line-height: 1.14; }
.ml-page-hero h1 { font-size: clamp(44px, 5vw, 58px); line-height: 1.10; }
.ml-label { color: var(--ml-burgundy); background: var(--ml-blush); }
.ml-icon-box, .ml-list-card-head span, .ml-icon-token { background: var(--ml-blush); color: var(--ml-burgundy); }

/* Dark proof, case study and footer surfaces */
.ml-dark-section,
.ml-audit-board-head,
.ml-contact-section {
  background: linear-gradient(135deg, var(--ml-ink), var(--ml-deep-wine) 58%, var(--ml-ink));
  color: var(--ml-white);
}
.ml-section-head-light h2, .ml-audit-board-head h2, .ml-contact-box h2 { color: var(--ml-white); }
.ml-section-head-light p, .ml-audit-board-head p, .ml-contact-box p,
.ml-audit-score, .ml-site-footer, .ml-site-footer p, .ml-footer-legal-links { color: var(--ml-blush); }
.ml-label-dark { background: rgba(104,0,29,.50); color: var(--ml-white); border-color: rgba(255,255,255,.14); }
.ml-framework-row span { background: var(--ml-burgundy); color: var(--ml-white); }
.ml-framework-row b { color: var(--ml-white); }
.ml-framework-row p { color: var(--ml-blush); }
.ml-contact-list b, .ml-secure-payment strong, .ml-audit-board-head > span { color: var(--ml-white); }
.ml-site-footer { background: var(--ml-ink); }
.ml-copyright, .ml-disclaimer { color: rgba(246,240,240,.72); }

/* Brand-consistent grouped UI */
.ml-page-hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(104,0,29,.08), transparent 24%),
    radial-gradient(circle at 82% 15%, rgba(66,3,24,.07), transparent 28%),
    linear-gradient(180deg, var(--ml-porcelain), var(--ml-white));
}
.ml-metric-card { background: var(--ml-blush); border-color: rgba(109,102,104,.22); }
.ml-metric-card strong { color: var(--ml-burgundy); }
.ml-tag-grid span, .ml-story-badge, .ml-keyword-chips span { background: var(--ml-blush); color: var(--ml-ink); }
.ml-preview-top, .ml-aplus-hero, .ml-store-hero, .ml-phone-screen,
.ml-audit-cta-card, .ml-team-photo-placeholder {
  background: linear-gradient(135deg, var(--ml-blush), var(--ml-porcelain));
}
.ml-ad-visual-card::before, .ml-listing-visual-card::before { background: var(--ml-burgundy); }
.ml-card-footer-chart i, .ml-growth-chart i { background: linear-gradient(180deg, var(--ml-burgundy), rgba(104,0,29,.16)); }
.ml-growth-chart b { background: var(--ml-burgundy); box-shadow: 0 8px 18px rgba(104,0,29,.20); }
.ml-seo-bar i { background: linear-gradient(90deg, var(--ml-burgundy), var(--ml-deep-wine)); }

/* Growth green is reserved for genuinely positive performance/status data. */
.ml-dash-row span,
.ml-check-list li::before,
.ml-card-footer-chart b span,
.ml-status-active,
.ml-scale-stats small,
.ml-gallery-checks span::before { color: var(--ml-green); }
.ml-gallery-checks span::before { background: rgba(83,201,139,.14); }
.ml-alert-success { background: rgba(83,201,139,.14); border-color: rgba(83,201,139,.40); color: var(--ml-ink); }

/* Severity/status colors stay inside the brand palette. */
.ml-status-paused, .ml-status-negative,
.ml-defense-stats span:nth-child(2) em { color: var(--ml-burgundy); }
.ml-defense-flow > span:first-child { background: rgba(83,201,139,.14); color: var(--ml-ink); }
.ml-defense-flow > span:last-child { background: var(--ml-blush); color: var(--ml-burgundy); }
.ml-audit-table em.high { background: var(--ml-blush); color: var(--ml-burgundy); }
.ml-audit-table em.medium { background: var(--ml-porcelain); color: var(--ml-deep-wine); border: 1px solid rgba(109,102,104,.18); }

/* Focus states use the primary burgundy, not generic blue. */
.ml-field input:focus, .ml-field select:focus, .ml-field textarea:focus {
  border-color: var(--ml-burgundy);
  box-shadow: 0 0 0 4px rgba(104,0,29,.10);
}

@media (max-width: 760px) {
  .ml-hero h1 { font-size: clamp(42px, 11vw, 52px); }
  .ml-section-head h2 { font-size: clamp(34px, 9vw, 40px); }
  .ml-page-hero h1 { font-size: clamp(40px, 10vw, 50px); }
}
@media (max-width: 430px) {
  .ml-hero h1 { font-size: 42px; }
}

/* =========================================================
   Markitlift Insights / Blog System - v5.2
   ========================================================= */
.ml-insights-hero {
  background:
    radial-gradient(circle at 14% 12%, rgba(104,0,29,.10), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(104,0,29,.08), transparent 28%),
    var(--ml-porcelain);
  border-bottom: 1px solid var(--ml-border);
  padding: 82px 0 72px;
}
.ml-insights-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: end; }
.ml-insights-hero h1, .ml-category-hero h1, .ml-single-insight-hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  letter-spacing: -0.035em;
  font-weight: 400;
}
.ml-insights-hero h1 { font-size: clamp(52px, 7vw, 78px); line-height: .98; margin: 0 0 18px; color: var(--ml-ink); }
.ml-insights-hero p { max-width: 760px; margin: 0; font-size: 18px; color: var(--ml-taupe); }
.ml-insights-hero-note { background: var(--ml-ink); color: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--ml-shadow); }
.ml-insights-hero-note strong { display:block; font-size: 17px; margin-bottom: 8px; }
.ml-insights-hero-note span { color: #DED3D5; font-size: 14px; }
.ml-insights-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:30px; }
.ml-insights-section-heading h2 { font-family:'DM Serif Display', Georgia, serif; font-size:clamp(34px,4vw,48px); line-height:1.05; font-weight:400; margin:0; }
.ml-insights-section-heading > a { color:var(--ml-burgundy); font-weight:800; }
.ml-featured-insight { display:grid; grid-template-columns:1.08fr .92fr; overflow:hidden; border-radius:30px; border:1px solid var(--ml-border); background:#fff; box-shadow:var(--ml-shadow-soft); }
.ml-featured-insight-media { min-height:430px; background:var(--ml-ink); display:block; overflow:hidden; }
.ml-featured-insight-media img { width:100%; height:100%; min-height:430px; object-fit:cover; display:block; }
.ml-featured-insight-content { padding:46px; align-self:center; }
.ml-featured-insight-content h2 { font-family:'DM Serif Display', Georgia, serif; font-size:clamp(34px,4vw,48px); line-height:1.05; font-weight:400; letter-spacing:-.03em; margin:14px 0 16px; }
.ml-featured-insight-content p { color:var(--ml-taupe); font-size:17px; }
.ml-insight-category { display:inline-flex; align-items:center; color:var(--ml-burgundy); font-size:12px; line-height:1.2; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.ml-insight-meta, .ml-single-meta, .ml-insight-card-footer { display:flex; flex-wrap:wrap; gap:10px 18px; color:var(--ml-taupe); font-size:13px; font-weight:600; }
.ml-insight-meta span + span::before, .ml-single-meta span + span::before, .ml-insight-card-footer span + span::before { content:'•'; margin-right:18px; color:rgba(109,102,104,.55); }
.ml-text-link { display:inline-block; color:var(--ml-burgundy); font-weight:800; margin-top:20px; }
.ml-insights-section-heading-stack { align-items:flex-start; flex-direction:column; }
.ml-category-pills { display:flex; gap:10px; flex-wrap:wrap; }
.ml-category-pills a { background:#fff; border:1px solid var(--ml-border); padding:9px 13px; border-radius:999px; font-size:12px; font-weight:800; color:var(--ml-taupe); }
.ml-category-pills a:hover, .ml-category-pills a.is-active { color:#fff; background:var(--ml-burgundy); border-color:var(--ml-burgundy); }
.ml-insights-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.ml-insight-card { background:#fff; border:1px solid var(--ml-border); border-radius:24px; overflow:hidden; box-shadow:var(--ml-shadow-soft); transition:transform .2s ease, box-shadow .2s ease; }
.ml-insight-card:hover { transform:translateY(-4px); box-shadow:var(--ml-shadow); }
.ml-insight-card-media { display:block; aspect-ratio:16/10; overflow:hidden; background:var(--ml-ink); }
.ml-insight-card-media img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .25s ease; }
.ml-insight-card:hover .ml-insight-card-media img { transform:scale(1.025); }
.ml-insight-card-body { padding:24px; }
.ml-insight-card-body h3 { font-family:'DM Serif Display', Georgia, serif; font-size:26px; line-height:1.13; font-weight:400; letter-spacing:-.02em; margin:10px 0 12px; }
.ml-insight-card-body p { color:var(--ml-taupe); font-size:14px; margin:0 0 20px; }
.ml-insight-card-footer { border-top:1px solid var(--ml-border); padding-top:16px; }
.ml-insight-placeholder { width:100%; height:100%; min-height:220px; display:flex; flex-direction:column; justify-content:flex-end; padding:28px; color:#fff; background:radial-gradient(circle at 80% 16%, rgba(104,0,29,.95), transparent 35%),linear-gradient(135deg,var(--ml-ink),var(--ml-deep-wine)); }
.ml-featured-insight-media .ml-insight-placeholder { min-height:430px; }
.ml-insight-placeholder span { font-size:11px; font-weight:800; letter-spacing:.12em; color:#E8DDE0; }
.ml-insight-placeholder strong { font-family:'DM Serif Display', Georgia, serif; font-size:clamp(28px,4vw,48px); line-height:1.04; margin-top:10px; font-weight:400; }
.ml-insights-empty-section { background:#fff; }
.ml-insights-empty { max-width:780px; margin:0 auto; text-align:center; padding:42px; border:1px solid var(--ml-border); border-radius:28px; background:var(--ml-blush); }
.ml-insights-empty h2 { font-family:'DM Serif Display', Georgia, serif; font-weight:400; font-size:clamp(34px,4vw,46px); line-height:1.08; margin:0 0 14px; }
.ml-insights-empty p { color:var(--ml-taupe); margin-bottom:24px; }
.ml-pagination { margin-top:38px; }
.ml-pagination .nav-links { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.ml-pagination .page-numbers { min-width:42px; height:42px; padding:0 13px; border-radius:999px; border:1px solid var(--ml-border); background:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:800; }
.ml-pagination .page-numbers.current, .ml-pagination .page-numbers:hover { background:var(--ml-burgundy); color:#fff; border-color:var(--ml-burgundy); }
.ml-insights-cta { background:var(--ml-ink); color:#fff; padding:74px 0; }
.ml-insights-cta-inner { display:grid; grid-template-columns:1fr auto; gap:42px; align-items:center; }
.ml-insights-cta h2 { font-family:'DM Serif Display', Georgia, serif; font-size:clamp(34px,4vw,50px); line-height:1.04; font-weight:400; margin:0 0 12px; }
.ml-insights-cta p { color:#DED3D5; max-width:760px; margin:0; }
.ml-insights-back { display:inline-block; margin-bottom:22px; color:var(--ml-burgundy); font-weight:800; font-size:14px; }
.ml-category-hero { padding:72px 0 60px; }
.ml-category-hero h1 { font-size:clamp(44px,6vw,68px); margin:8px 0 14px; line-height:1; }
.ml-category-hero p { max-width:760px; }
.ml-single-insight-hero { background:var(--ml-porcelain); border-bottom:1px solid var(--ml-border); padding:72px 0 60px; }
.ml-article-narrow { max-width:920px; }
.ml-single-insight-hero h1 { font-size:clamp(46px,6vw,72px); line-height:1.02; margin:16px 0 18px; }
.ml-single-deck { font-size:19px; color:var(--ml-taupe); margin:0 0 22px; }
.ml-article-featured-image { margin-top:42px; }
.ml-article-featured-image img { width:100%; max-height:620px; object-fit:cover; border-radius:28px; box-shadow:var(--ml-shadow-soft); }
.ml-article-layout { display:grid; grid-template-columns:minmax(0,780px) 300px; gap:72px; align-items:start; padding-top:64px; padding-bottom:80px; }
.ml-article-content { font-size:17px; line-height:1.75; }
.ml-article-content h2, .ml-article-content h3 { font-family:'DM Serif Display', Georgia, serif; font-weight:400; letter-spacing:-.02em; color:var(--ml-ink); }
.ml-article-content h2 { font-size:38px; line-height:1.12; margin:52px 0 16px; }
.ml-article-content h3 { font-size:28px; line-height:1.2; margin:34px 0 12px; }
.ml-article-content p, .ml-article-content li { color:#352D30; }
.ml-article-content a { color:var(--ml-burgundy); text-decoration:underline; text-underline-offset:3px; }
.ml-article-content img { border-radius:20px; }
.ml-article-sidebar { position:sticky; top:140px; }
.ml-article-sidebar-card { padding:26px; border-radius:22px; background:var(--ml-blush); border:1px solid var(--ml-border); }
.ml-article-sidebar-card strong { display:block; margin-bottom:8px; }
.ml-article-sidebar-card p { color:var(--ml-taupe); font-size:14px; }
.ml-article-sidebar-card a { color:var(--ml-burgundy); font-weight:800; font-size:14px; }
.ml-article-inline-cta { margin-top:56px; padding:34px; border-radius:26px; background:var(--ml-ink); color:#fff; }
.ml-article-inline-cta h2 { color:#fff; margin:10px 0 12px; font-size:34px; }
.ml-article-inline-cta p { color:#DED3D5; }
.ml-article-inline-cta a { text-decoration:none; }

@media (max-width: 980px) {
  .ml-insights-hero-grid, .ml-featured-insight, .ml-article-layout { grid-template-columns:1fr; }
  .ml-insights-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ml-featured-insight-media, .ml-featured-insight-media img, .ml-featured-insight-media .ml-insight-placeholder { min-height:340px; }
  .ml-article-sidebar { position:static; }
  .ml-insights-cta-inner { grid-template-columns:1fr; }
}
@media (max-width: 640px) {
  .ml-insights-hero { padding:58px 0 52px; }
  .ml-insights-hero-grid { gap:28px; }
  .ml-insights-hero-note { padding:22px; }
  .ml-insights-section-heading { align-items:flex-start; flex-direction:column; }
  .ml-featured-insight-content { padding:28px; }
  .ml-featured-insight-media, .ml-featured-insight-media img, .ml-featured-insight-media .ml-insight-placeholder { min-height:250px; }
  .ml-insights-grid { grid-template-columns:1fr; }
  .ml-insight-card-body { padding:22px; }
  .ml-insights-empty { padding:30px 22px; }
  .ml-single-insight-hero { padding:54px 0 46px; }
  .ml-article-layout { padding-top:42px; gap:38px; }
  .ml-article-content { font-size:16px; }
  .ml-article-content h2 { font-size:32px; }
  .ml-article-inline-cta { padding:28px 22px; }
}
