/* ==========================================================================
   MakeMySite — Commercial SaaS Design System & Visual Art Direction
   Aesthetic Benchmark: Linear, Raycast, Stripe, Framer, Vercel.
   Palette: Electric Blue (#0866F5), Cyan (#19B8F5), Purple (#7827E8), Dark Navy (#101A43).
   Typography: Plus Jakarta Sans (Display), Inter (Body), JetBrains Mono (Telemetry).
   ========================================================================== */

:root {
  /* Brand Spectrum */
  --mm-blue: #0866F5;
  --mm-blue-hover: #0657D3;
  --mm-blue-deep: #0442A6;
  --mm-blue-light: #EEF4FF;
  --mm-blue-subtle: #F5F8FF;

  --mm-cyan: #19B8F5;
  --mm-cyan-glow: rgba(25, 184, 245, 0.25);

  --mm-purple: #7827E8;
  --mm-purple-hover: #651ECC;
  --mm-purple-light: #F5F0FF;

  --mm-gradient-brand: linear-gradient(135deg, #0866F5 0%, #19B8F5 100%);
  --mm-gradient-primary: linear-gradient(135deg, #0866F5 0%, #7827E8 100%);

  /* Architectural Dark Canvas (Hero, Horizons, Proof Bands) */
  --mm-navy-dark: #080D22;       /* Ultra-deep space navy */
  --mm-navy-core: #101A43;       /* MakeMySite core dark navy */
  --mm-navy-elevated: #162256;   /* Floating dark surfaces */
  --mm-navy-border: rgba(255, 255, 255, 0.12);
  --mm-navy-border-hover: rgba(25, 184, 245, 0.4);

  /* Clean Alabaster Canvas (Reading, Bento, Features) */
  --mm-white: #FFFFFF;
  --mm-bg-alabaster: #FAFBFC;
  --mm-bg-tint: #F3F5FA;
  --mm-line-subtle: #E6EAF2;
  --mm-line-border: #D1D8E6;

  /* Semantic High-Fidelity Status Indicators */
  --mm-emerald: #10B981;
  --mm-emerald-dark: #059669;
  --mm-emerald-bg: #ECFDF5;
  --mm-emerald-border: #A7F3D0;
  --mm-amber: #F59E0B;
  --mm-amber-bg: #FFFBEB;

  /* High-Contrast Typography Hierarchy */
  --mm-text-dark-title: #FFFFFF;
  --mm-text-dark-lead: #C5CEE6;
  --mm-text-dark-muted: #8E9BBF;

  --mm-ink-headline: #0B1126;    /* Near-black high-contrast display */
  --mm-ink-body: #1E293B;        /* Readable dark slate body */
  --mm-ink-sub: #475569;         /* Explanatory secondary text */
  --mm-ink-muted: #64748B;       /* Captions & metadata */

  /* Font Families */
  --mm-font-display: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --mm-font-body: "Inter", system-ui, -apple-system, sans-serif;
  --mm-font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Typographic Scales */
  --mm-display-hero: clamp(2.75rem, 1.8rem + 4.2vw, 4.65rem);
  --mm-h1-size: clamp(2.15rem, 1.5rem + 2.8vw, 3.4rem);
  --mm-h2-size: clamp(1.85rem, 1.3rem + 2.0vw, 2.65rem);
  --mm-h3-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --mm-lead-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem);
  --mm-body-size: 1rem;
  --mm-small-size: 0.875rem;

  /* Layered Dimensional Shadows */
  --mm-shadow-xs: 0 1px 2px 0 rgba(11, 17, 32, 0.04);
  --mm-shadow-sm: 0 1px 3px 0 rgba(11, 17, 32, 0.06), 0 1px 2px -1px rgba(11, 17, 32, 0.04);
  --mm-shadow-md: 0 4px 6px -1px rgba(11, 17, 32, 0.07), 0 2px 4px -2px rgba(11, 17, 32, 0.04);
  --mm-shadow-lg: 0 12px 28px -6px rgba(11, 17, 32, 0.09), 0 4px 10px -2px rgba(11, 17, 32, 0.04);
  --mm-shadow-xl: 0 24px 48px -12px rgba(11, 17, 32, 0.16), 0 8px 16px -4px rgba(11, 17, 32, 0.06);

  --mm-shadow-workbench: 0 30px 90px -20px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12);
  --mm-shadow-card-elevated: 0 20px 45px -10px rgba(16, 26, 67, 0.12), 0 0 0 1px rgba(16, 26, 67, 0.06);

  /* Geometry & Radii */
  --mm-radius-sm: 8px;
  --mm-radius: 14px;
  --mm-radius-lg: 20px;
  --mm-radius-xl: 28px;
  --mm-radius-full: 9999px;

  --mm-max-width: 1240px;
  --mm-gutter: clamp(16px, 4vw, 36px);
  --mm-section-pad: clamp(72px, 9vw, 120px);
}

/* --------------------------------------------------------------------------
   Reset, Base & Global Foundations
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body.mm {
  margin: 0;
  font-family: var(--mm-font-body);
  font-size: var(--mm-body-size);
  line-height: 1.65;
  color: var(--mm-ink-body);
  background: var(--mm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mm img { max-width: 100%; height: auto; display: block; }
.mm a { color: var(--mm-blue); text-decoration: underline; text-underline-offset: 3px; }
.mm a:hover { color: var(--mm-blue-hover); }

.mm h1, .mm h2, .mm h3, .mm h4 {
  font-family: var(--mm-font-display);
  color: var(--mm-ink-headline);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.035em;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}
.mm h1 { font-size: var(--mm-display-hero); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; }
.mm h2 { font-size: var(--mm-h2-size); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; }
.mm h3 { font-size: var(--mm-h3-size); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.mm p { margin: 0 0 1em; }
.mm ul { padding-left: 1.25em; }

.mm-skip {
  position: absolute; left: -9999px; top: 12px; z-index: 1000;
  background: var(--mm-navy-dark); color: #fff; padding: 12px 20px;
  border-radius: var(--mm-radius-sm); font-weight: 700; text-decoration: none;
}
.mm-skip:focus { left: 16px; outline: 3px solid var(--mm-cyan); }
.mm :focus-visible { outline: 3px solid var(--mm-cyan); outline-offset: 2px; border-radius: 6px; }

/* --------------------------------------------------------------------------
   Container & Section Architecture
   -------------------------------------------------------------------------- */
.mm-container { width: 100%; max-width: var(--mm-max-width); margin: 0 auto; padding: 0 var(--mm-gutter); }
.mm-section { padding: var(--mm-section-pad) 0; position: relative; }
.mm-section--tint { background: var(--mm-bg-alabaster); border-top: 1px solid var(--mm-line-subtle); border-bottom: 1px solid var(--mm-line-subtle); }
.mm-section--dark { background: var(--mm-navy-core); color: var(--mm-text-dark-lead); }
.mm-section--dark h1, .mm-section--dark h2, .mm-section--dark h3 { color: #FFFFFF; }
.mm-section--dark .mm-lead { color: var(--mm-text-dark-lead); }

.mm-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mm-font-mono); font-size: 0.8125rem; font-weight: 700;
  color: var(--mm-blue); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 14px;
}
.mm-eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--mm-blue); box-shadow: 0 0 10px var(--mm-blue);
}
.mm-eyebrow--cyan { color: var(--mm-cyan); }
.mm-eyebrow--cyan::before { background: var(--mm-cyan); box-shadow: 0 0 10px var(--mm-cyan); }

.mm-lead { font-size: var(--mm-lead-size); color: var(--mm-ink-sub); max-width: 65ch; line-height: 1.6; }
.mm-center { text-align: center; }
.mm-center .mm-lead { margin-left: auto; margin-right: auto; }
.mm-section-head { max-width: 780px; margin-bottom: 56px; }
.mm-section-head.mm-center { margin-left: auto; margin-right: auto; }
.mm-muted { color: var(--mm-ink-muted); font-size: var(--mm-small-size); }
.mm-mono { font-family: var(--mm-font-mono); }

/* --------------------------------------------------------------------------
   Tactile Buttons & Interactive Triggers
   -------------------------------------------------------------------------- */
.mm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 12px;
  font-family: var(--mm-font-display); font-weight: 700; font-size: 1rem;
  text-decoration: none !important; border: 1.5px solid transparent; cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap; user-select: none;
}
.mm-btn--primary {
  background: linear-gradient(180deg, #1A75FF 0%, #0866F5 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 18px -2px rgba(8, 102, 245, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.15);
}
.mm-btn--primary:hover {
  background: linear-gradient(180deg, #247CFF 0%, #0657D3 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px -2px rgba(8, 102, 245, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.mm-btn--primary:active { transform: translateY(0); }

.mm-btn--ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.mm-btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.mm-btn--ghost {
  background: #FFFFFF; color: var(--mm-ink-headline) !important;
  border-color: var(--mm-line-border); box-shadow: var(--mm-shadow-xs);
}
.mm-btn--ghost:hover {
  background: var(--mm-bg-alabaster); border-color: var(--mm-ink-muted);
  transform: translateY(-2px);
}

.mm-btn--light {
  background: #FFFFFF; color: var(--mm-navy-core) !important;
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.3); font-weight: 800;
}
.mm-btn--light:hover { background: #F3F5FA; transform: translateY(-2px); }

.mm-btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.925rem; border-radius: 10px; }
.mm-btn--lg { min-height: 56px; padding: 0 32px; font-size: 1.05rem; border-radius: 14px; }
.mm-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.mm-link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mm-font-display); font-weight: 700;
  color: var(--mm-blue); text-decoration: none !important;
  transition: gap 0.15s ease, color 0.15s ease;
}
.mm-link-arrow::after { content: "→"; font-size: 1.15em; transition: transform 0.15s ease; }
.mm-link-arrow:hover { color: var(--mm-blue-hover); }
.mm-link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.mm-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--mm-line-subtle);
  transition: all 0.2s ease;
}
.mm-header__bar { display: flex; align-items: center; gap: 32px; height: 86px; }
.mm-logo img { height: 54px; width: auto; display: block; transition: transform 0.2s ease; }
.mm-logo:hover img { transform: scale(1.02); }
@media (max-width: 600px) {
  .mm-header__bar { height: 74px; }
  .mm-logo img { height: 46px; }
}

.mm-nav { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.mm-nav a, .mm-nav summary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--mm-radius-sm);
  color: var(--mm-ink-body); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; list-style: none;
  transition: all 0.15s ease;
}
.mm-nav summary::-webkit-details-marker { display: none; }
.mm-nav a:hover, .mm-nav summary:hover { color: var(--mm-ink-headline); background: var(--mm-bg-tint); }
.mm-nav a[aria-current="page"] { color: var(--mm-blue); background: var(--mm-blue-light); font-weight: 700; }

.mm-dropdown { position: relative; }
.mm-dropdown summary::after {
  content: ""; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); margin-left: 4px;
}
.mm-dropdown__panel {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 280px;
  background: #FFFFFF; border: 1px solid var(--mm-line-subtle);
  border-radius: var(--mm-radius); box-shadow: var(--mm-shadow-xl);
  padding: 10px; z-index: 110;
}
.mm-dropdown__panel a {
  display: block; padding: 10px 12px; border-radius: var(--mm-radius-sm);
  text-decoration: none; color: var(--mm-ink-headline); font-weight: 600;
}
.mm-dropdown__panel a:hover { background: var(--mm-bg-tint); color: var(--mm-blue); }
.mm-dropdown__panel small { display: block; font-weight: 400; color: var(--mm-ink-muted); font-size: 0.8rem; margin-top: 2px; }

.mm-header__cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.mm-header__login {
  font-weight: 700; color: var(--mm-ink-headline) !important;
  text-decoration: none !important; padding: 8px 14px;
  border-radius: var(--mm-radius-sm); transition: background 0.15s ease;
}
.mm-header__login:hover { background: var(--mm-bg-tint); }

.mm-menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border-radius: 10px; border: 1.5px solid var(--mm-line-border);
  background: #FFFFFF; align-items: center; justify-content: center;
  cursor: pointer;
}
.mm-menu-btn span, .mm-menu-btn span::before, .mm-menu-btn span::after {
  display: block; width: 20px; height: 2px; background: var(--mm-ink-headline);
  border-radius: 2px; position: relative; transition: all 0.2s ease;
}
.mm-menu-btn span::before, .mm-menu-btn span::after { content: ""; position: absolute; left: 0; }
.mm-menu-btn span::before { top: -6px; }
.mm-menu-btn span::after { top: 6px; }

@media (max-width: 960px) {
  .mm-menu-btn { display: inline-flex; }
  .mm-nav, .mm-header__cta { display: none; }
  .mm-header.is-open .mm-mobile { display: block; }
}
.mm-mobile {
  display: none; border-top: 1px solid var(--mm-line-subtle);
  background: #FFFFFF; padding: 18px var(--mm-gutter) 26px;
}
.mm-mobile a {
  display: block; padding: 14px 6px; font-weight: 700;
  color: var(--mm-ink-headline); text-decoration: none; border-bottom: 1px solid var(--mm-line-subtle);
}
.mm-mobile .mm-actions { margin-top: 22px; }
.mm-mobile .mm-btn { flex: 1; }

/* --------------------------------------------------------------------------
   Hero Section: Architectural Dark Canvas with Multi-Layered Workbench
   -------------------------------------------------------------------------- */
.mm-hero-cinema, .mm-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% -20%, #16245C 0%, #0A112C 55%, var(--mm-navy-dark) 100%);
  color: #FFFFFF;
  padding: clamp(64px, 8vw, 110px) 0 clamp(80px, 9vw, 140px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mm-hero-cinema::before, .mm-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(25, 184, 245, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 25%, rgba(120, 39, 232, 0.14) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
}
.mm-hero-cinema__inner, .mm-hero__content { position: relative; text-align: center; max-width: 960px; margin: 0 auto; z-index: 2; }
.mm-hero-cinema h1, .mm-hero h1, .mm-hero__title {
  color: #FFFFFF; margin-bottom: 20px; font-size: var(--mm-display-hero);
  font-family: var(--mm-font-display); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08;
}
.mm-hero-cinema h1 .mm-accent, .mm-hero h1 .mm-accent, .mm-hero h1 span, .mm-hero__title span {
  background: linear-gradient(135deg, #19B8F5 0%, #0866F5 50%, #A855F7 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mm-hero-cinema .mm-lead, .mm-hero .mm-lead, .mm-hero__lead {
  color: var(--mm-text-dark-lead); margin: 0 auto 36px; max-width: 68ch; font-size: var(--mm-lead-size); line-height: 1.6;
}
.mm-hero-cinema .mm-actions, .mm-hero .mm-actions, .mm-hero__actions { justify-content: center; gap: 16px; margin-bottom: 24px; }

.mm-trust-chips, .mm-hero__guarantee {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 28px; margin: 24px 0 0; padding: 0;
  list-style: none; color: var(--mm-text-dark-muted); font-size: var(--mm-small-size); font-weight: 600;
}
.mm-trust-chips li, .mm-hero__guarantee span { display: inline-flex; align-items: center; gap: 8px; }
.mm-trust-chips li::before, .mm-hero__guarantee span::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--mm-cyan); box-shadow: 0 0 8px var(--mm-cyan);
}

/* --------------------------------------------------------------------------
   The Visual Centerpiece: Layered Workbench & Live Storefront Preview
   -------------------------------------------------------------------------- */
.mm-workbench {
  position: relative; margin: 56px auto 0; max-width: 1140px;
}
.mm-workbench__main {
  background: #0B1226; border-radius: var(--mm-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--mm-shadow-workbench);
  overflow: hidden; position: relative;
}
.mm-workbench__main img {
  display: block; width: 100%; height: auto;
}
.mm-workbench__bar {
  display: flex; align-items: center; gap: 10px; height: 42px;
  padding: 0 16px; background: #0E1630;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mm-workbench__dots { display: flex; gap: 6px; }
.mm-workbench__dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mm-workbench__dots i:nth-child(1) { background: #FF5F56; }
.mm-workbench__dots i:nth-child(2) { background: #FFBD2E; }
.mm-workbench__dots i:nth-child(3) { background: #27C93F; }

.mm-workbench__url {
  margin-left: 12px; flex: 1; max-width: 460px; height: 26px;
  border-radius: 6px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; gap: 8px; padding: 0 12px;
  font-family: var(--mm-font-mono); font-size: 0.75rem; color: #94A3B8;
}
.mm-workbench__url svg { width: 12px; height: 12px; color: var(--mm-emerald); }
.mm-workbench__status {
  margin-left: auto; font-family: var(--mm-font-mono); font-size: 0.75rem;
  font-weight: 700; color: var(--mm-cyan); background: rgba(25, 184, 245, 0.12);
  padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(25, 184, 245, 0.3);
}

/* Floating Overlapping Storefront Showcase Card */
.mm-storefront-badge {
  position: absolute; right: 24px; bottom: -28px; width: 360px; max-width: 90%;
  background: #FFFFFF; border-radius: var(--mm-radius-lg);
  border: 1px solid rgba(16, 26, 67, 0.12);
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
  padding: 20px; color: var(--mm-ink-body); z-index: 10;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mm-storefront-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.5);
}
.mm-storefront-badge__header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
}
.mm-storefront-badge__tag {
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  background: var(--mm-emerald-bg); color: var(--mm-emerald-dark);
  padding: 2px 8px; border-radius: 999px; border: 1px solid var(--mm-emerald-border);
}
.mm-storefront-badge__title { font-family: var(--mm-font-display); font-size: 1.05rem; font-weight: 800; margin: 0; }
.mm-storefront-badge__meta { font-size: 0.8rem; color: var(--mm-ink-sub); margin: 2px 0 10px; }
.mm-storefront-badge__preview {
  display: flex; gap: 12px; align-items: center; background: var(--mm-bg-tint);
  border-radius: 10px; padding: 10px 14px; border: 1px solid var(--mm-line-subtle);
}
.mm-storefront-badge__price { font-family: var(--mm-font-display); font-weight: 800; color: var(--mm-blue); }

/* Floating Telemetry Pill on Workbench */
.mm-telemetry-badge, .mm-telemetry-pill {
  position: absolute; left: 24px; top: -16px;
  background: rgba(14, 22, 48, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px; padding: 8px 18px; color: #FFFFFF;
  display: flex; align-items: center; gap: 10px; font-family: var(--mm-font-mono);
  font-size: 0.775rem; font-weight: 600; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  z-index: 10;
}
.mm-telemetry-badge .mm-pulse, .mm-telemetry-pill .mm-telemetry__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mm-emerald); box-shadow: 0 0 10px var(--mm-emerald);
}

@media (max-width: 960px) {
  .mm-storefront-badge { position: static; width: 100%; max-width: 100%; margin-top: 20px; }
  .mm-telemetry-badge, .mm-telemetry-pill { display: none; }
}

/* --------------------------------------------------------------------------
   Connected Orchestration Ribbon (No Generic Cards)
   -------------------------------------------------------------------------- */
.mm-ribbon {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; counter-reset: step; list-style: none; padding: 0; margin: 0;
}
.mm-ribbon__item {
  position: relative; background: #FFFFFF; border: 1px solid var(--mm-line-subtle);
  border-radius: var(--mm-radius); padding: 30px 24px; box-shadow: var(--mm-shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.mm-ribbon__item:hover {
  transform: translateY(-3px); box-shadow: var(--mm-shadow-lg);
  border-color: var(--mm-blue);
}
.mm-ribbon__node {
  counter-increment: step; content: counter(step);
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--mm-blue-light); color: var(--mm-blue);
  font-family: var(--mm-font-display); font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.mm-ribbon__item:nth-child(1) .mm-ribbon__node { background: #EEF4FF; color: #0866F5; }
.mm-ribbon__item:nth-child(2) .mm-ribbon__node { background: #F5F0FF; color: #7827E8; }
.mm-ribbon__item:nth-child(3) .mm-ribbon__node { background: #ECFDF5; color: #059669; }
.mm-ribbon__item:nth-child(4) .mm-ribbon__node { background: #FFFBEB; color: #D97706; }

.mm-ribbon__badge {
  display: inline-block; font-family: var(--mm-font-mono); font-size: 0.725rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; margin-top: 14px;
}
.mm-ribbon__badge--emerald { background: var(--mm-emerald-bg); color: var(--mm-emerald-dark); border: 1px solid var(--mm-emerald-border); }
.mm-ribbon__badge--blue { background: var(--mm-blue-light); color: var(--mm-blue); }
.mm-ribbon__badge--purple { background: var(--mm-purple-light); color: var(--mm-purple); }

@media (max-width: 960px) { .mm-ribbon { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mm-ribbon { grid-template-columns: 1fr; } }

/* Chronological Process Step Number Badges */
.mm-step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: #0866F5;
  background-image: linear-gradient(135deg, #0866F5 0%, #19B8F5 100%);
  color: #FFFFFF !important;
  font-family: var(--mm-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(8, 102, 245, 0.35);
  flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   Asymmetrical Feature Bento Grid
   -------------------------------------------------------------------------- */
.mm-bento {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px;
  align-items: stretch; margin-top: 40px;
}
.mm-bento__main {
  background: #FFFFFF; border: 1px solid var(--mm-line-subtle);
  border-radius: var(--mm-radius-lg); padding: 38px;
  box-shadow: var(--mm-shadow-card-elevated); display: flex; flex-direction: column;
}
.mm-bento__stack { display: flex; flex-direction: column; gap: 26px; }
.mm-bento__sub {
  background: #FFFFFF; border: 1px solid var(--mm-line-subtle);
  border-radius: var(--mm-radius-lg); padding: 30px;
  box-shadow: var(--mm-shadow-xs); flex: 1; display: flex;
  flex-direction: column; justify-content: space-between;
}
.mm-bento__preview {
  margin-top: 24px; border-radius: var(--mm-radius);
  overflow: hidden; border: 1px solid var(--mm-line-subtle);
  background: var(--mm-bg-tint);
}
@media (max-width: 900px) { .mm-bento { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Feature Showcase Rows (Alternating with Product Frames)
   -------------------------------------------------------------------------- */
.mm-feature {
  display: grid; grid-template-columns: 1fr 1.25fr;
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.mm-feature + .mm-feature { margin-top: clamp(80px, 10vw, 128px); }
.mm-feature--flip .mm-feature__text { order: 2; }
.mm-feature__text ul { list-style: none; padding: 0; margin: 26px 0 30px; }
.mm-feature__text li {
  position: relative; padding-left: 34px; margin: 15px 0;
  color: var(--mm-ink-body); font-size: 1.05rem; line-height: 1.55;
}
.mm-feature__text li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--mm-blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230866F5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
  border: 1px solid #BFD5FD;
}

.mm-frame {
  background: #FFFFFF; border-radius: var(--mm-radius-lg);
  border: 1px solid var(--mm-line-subtle); box-shadow: var(--mm-shadow-card-elevated);
  overflow: hidden; position: relative;
}
.mm-frame__bar {
  display: flex; align-items: center; gap: 8px; height: 38px;
  padding: 0 16px; background: #F8FAFC; border-bottom: 1px solid var(--mm-line-subtle);
}
.mm-frame__dots { display: flex; gap: 6px; }
.mm-frame__dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mm-frame__dots i:nth-child(1) { background: #FDA4AF; }
.mm-frame__dots i:nth-child(2) { background: #FDE68A; }
.mm-frame__dots i:nth-child(3) { background: #A7F3D0; }
.mm-frame__url {
  margin-left: 12px; flex: 1; max-width: 440px; height: 24px;
  border-radius: 6px; background: #FFFFFF; border: 1px solid var(--mm-line-subtle);
  display: flex; align-items: center; gap: 6px; padding: 0 10px;
  font-family: var(--mm-font-mono); font-size: 0.75rem; color: var(--mm-ink-muted);
}
.mm-frame__url svg { width: 12px; height: 12px; color: var(--mm-emerald-dark); }

@media (max-width: 880px) {
  .mm-feature { grid-template-columns: 1fr; gap: 36px; }
  .mm-feature--flip .mm-feature__text { order: 0; }
}

/* --------------------------------------------------------------------------
   Architectural Proof Matrix Band (Deep Slate)
   -------------------------------------------------------------------------- */
.mm-proof-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 20px 0;
}
.mm-proof-stat {
  padding: 28px 24px; border-radius: var(--mm-radius);
  background: var(--mm-navy-elevated); border: 1px solid var(--mm-navy-border);
}
.mm-proof-stat__num {
  font-family: var(--mm-font-display);
  font-size: clamp(2.4rem, 1.8rem + 1.4vw, 3.4rem);
  font-weight: 800; color: #FFFFFF; letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 10px;
}
.mm-proof-stat__label { font-size: 0.95rem; color: #E2E8F0; font-weight: 700; margin-bottom: 6px; }
.mm-proof-stat__desc { font-size: 0.85rem; color: var(--mm-text-dark-muted); line-height: 1.5; margin: 0; }
@media (max-width: 960px) { .mm-proof-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .mm-proof-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Commercial Pricing Architecture
   -------------------------------------------------------------------------- */
.mm-plans {
  display: grid; grid-template-columns: repeat(var(--plan-count, 3), minmax(0, 1fr));
  gap: 26px; align-items: stretch; margin-top: 40px;
}
@media (max-width: 900px) { .mm-plans { grid-template-columns: 1fr; max-width: 480px; margin: 40px auto 0; } }

.mm-plan {
  display: flex; flex-direction: column; background: #FFFFFF;
  border: 1.5px solid var(--mm-line-subtle); border-radius: var(--mm-radius-lg);
  padding: 36px 30px; box-shadow: var(--mm-shadow-xs); position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mm-plan:hover { transform: translateY(-3px); box-shadow: var(--mm-shadow-lg); }

.mm-plan--featured {
  border-color: var(--mm-blue);
  box-shadow: 0 16px 40px -8px rgba(8, 102, 245, 0.25);
}
.mm-plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #0866F5 0%, #7827E8 100%);
  color: #FFFFFF; font-family: var(--mm-font-mono); font-size: 0.75rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 16px; border-radius: 999px; box-shadow: 0 4px 12px rgba(8, 102, 245, 0.4);
}

.mm-plan h3 { margin-bottom: 6px; font-size: 1.45rem; }
.mm-plan__price {
  font-family: var(--mm-font-display);
  font-size: 2.85rem; font-weight: 800; color: var(--mm-ink-headline);
  letter-spacing: -0.04em; line-height: 1; margin: 22px 0 6px;
}
.mm-plan__price small { font-size: 1rem; font-weight: 600; color: var(--mm-ink-muted); letter-spacing: 0; }

.mm-plan ul { list-style: none; padding: 0; margin: 26px 0 30px; flex: 1; }
.mm-plan li {
  padding: 12px 0; border-top: 1px solid var(--mm-line-subtle);
  font-size: 0.95rem; display: flex; justify-content: space-between; gap: 12px;
}
.mm-plan li b { color: var(--mm-ink-headline); font-weight: 700; }
.mm-plan .mm-btn { width: 100%; margin-top: auto; }

.mm-trial {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 36px; background: var(--mm-navy-core); color: #C5CEE6;
  border-radius: var(--mm-radius-lg); padding: 36px 40px; margin-top: 40px;
  border: 1px solid var(--mm-navy-border);
}
.mm-trial h3 { color: #FFFFFF; margin: 0 0 6px; font-size: 1.45rem; }
.mm-trial p { margin: 0; max-width: 65ch; }

.mm-table-wrap {
  overflow-x: auto; border: 1px solid var(--mm-line-subtle);
  border-radius: var(--mm-radius); box-shadow: var(--mm-shadow-xs);
  margin-top: 36px; background: #FFFFFF;
}
.mm-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.mm-table th, .mm-table td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--mm-line-subtle); font-size: 0.95rem; }
.mm-table thead th { background: var(--mm-bg-alabaster); color: var(--mm-ink-headline); font-family: var(--mm-font-display); font-weight: 700; }
.mm-table tbody th { font-weight: 600; color: var(--mm-ink-headline); }
.mm-table tr:last-child td, .mm-table tr:last-child th { border-bottom: 0; }
.mm-table tr:hover td { background: var(--mm-bg-tint); }

/* --------------------------------------------------------------------------
   Template Showcase Architecture
   -------------------------------------------------------------------------- */
.mm-template {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border: 1px solid var(--mm-line-subtle);
  border-radius: var(--mm-radius-lg); overflow: hidden;
  background: #FFFFFF; box-shadow: var(--mm-shadow-card-elevated);
}
.mm-template__art {
  background: linear-gradient(135deg, #F8F4EC 0%, #EFE7DA 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 40px; min-height: 340px; position: relative;
}
.mm-template__body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.mm-tag {
  display: inline-block; font-family: var(--mm-font-mono); font-size: 0.75rem; font-weight: 700;
  color: var(--mm-blue); background: var(--mm-blue-light);
  border-radius: 999px; padding: 4px 12px; margin: 0 8px 10px 0;
}
@media (max-width: 820px) { .mm-template { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   FAQ Accordions & Prose
   -------------------------------------------------------------------------- */
.mm-faq { max-width: 880px; margin: 0 auto; }
.mm-faq details { border-bottom: 1px solid var(--mm-line-subtle); transition: background 0.15s ease; }
.mm-faq details:first-child { border-top: 1px solid var(--mm-line-subtle); }
.mm-faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0;
  position: relative; font-family: var(--mm-font-display); font-weight: 700;
  color: var(--mm-ink-headline); font-size: 1.15rem;
}
.mm-faq summary::-webkit-details-marker { display: none; }
.mm-faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 22px;
  font-size: 1.6rem; font-weight: 400; color: var(--mm-blue);
  transition: transform 0.2s ease;
}
.mm-faq details[open] summary::after { content: "–"; color: var(--mm-ink-headline); }
.mm-faq .mm-faq__a { padding: 0 0 26px; color: var(--mm-ink-sub); line-height: 1.65; }

/* --------------------------------------------------------------------------
   Conversion Horizon (CTA Banner)
   -------------------------------------------------------------------------- */
.mm-cta {
  background: radial-gradient(circle at 100% 100%, #16245C 0%, var(--mm-navy-core) 100%);
  border-radius: var(--mm-radius-xl);
  padding: clamp(44px, 7vw, 84px); display: grid;
  grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center;
  color: #C5CEE6; position: relative; overflow: hidden;
  border: 1px solid var(--mm-navy-border);
  box-shadow: var(--mm-shadow-xl);
}
.mm-cta h2 { color: #FFFFFF; font-size: clamp(2.0rem, 1.5rem + 1.8vw, 2.85rem); }
.mm-cta .mm-actions { justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 820px) {
  .mm-cta { grid-template-columns: 1fr; }
  .mm-cta .mm-actions { justify-content: flex-start; }
}

/* --------------------------------------------------------------------------
   Subpage Headers, Breadcrumbs & Forms
   -------------------------------------------------------------------------- */
.mm-page-hero {
  background: var(--mm-bg-alabaster);
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 5vw, 72px);
  border-bottom: 1px solid var(--mm-line-subtle);
}
.mm-breadcrumbs { font-size: var(--mm-small-size); margin-bottom: 22px; }
.mm-breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.mm-breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--mm-ink-muted); }
.mm-breadcrumbs a { color: var(--mm-ink-sub); text-decoration: none; }
.mm-breadcrumbs a:hover { color: var(--mm-blue); text-decoration: underline; }

.mm-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.mm-toc a {
  padding: 8px 16px; border-radius: 999px; background: #FFFFFF;
  border: 1px solid var(--mm-line-border); font-weight: 600; font-size: 0.9rem;
  color: var(--mm-ink-body); text-decoration: none; transition: all 0.15s ease;
}
.mm-toc a:hover { border-color: var(--mm-blue); color: var(--mm-blue); background: var(--mm-blue-subtle); }

.mm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mm-card {
  background: #FFFFFF; border: 1px solid var(--mm-line-subtle);
  border-radius: var(--mm-radius); padding: 32px; box-shadow: var(--mm-shadow-xs);
}
.mm-card p:last-child { margin-bottom: 0; }
.mm-card--soft { background: var(--mm-bg-alabaster); border-color: var(--mm-line-subtle); }
@media (max-width: 960px) { .mm-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .mm-cards { grid-template-columns: 1fr; } }

.mm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mm-split > *, .mm-cards > *, .mm-feature > *, .mm-plans > *, .mm-ribbon > *, .mm-bento > * { min-width: 0; }
.mm-split--top, .mm-split--form { align-items: start; }
.mm-split--form { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 820px) { .mm-split, .mm-split--form { grid-template-columns: 1fr; } }

.mm-form { display: grid; gap: 20px; }
.mm-field label { display: block; font-family: var(--mm-font-display); font-weight: 700; color: var(--mm-ink-headline); margin-bottom: 8px; font-size: 0.95rem; }
.mm-field input, .mm-field select, .mm-field textarea {
  width: 100%; font: inherit; color: var(--mm-ink-headline);
  padding: 14px 18px; border: 1.5px solid var(--mm-line-border);
  border-radius: 10px; background: #FFFFFF; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.mm-field textarea { min-height: 150px; resize: vertical; }
.mm-field input:focus, .mm-field select:focus, .mm-field textarea:focus {
  border-color: var(--mm-blue); outline: none; box-shadow: 0 0 0 4px rgba(8, 102, 245, 0.15);
}
.mm-field .mm-error { color: #B42318; font-size: 0.875rem; margin-top: 6px; font-weight: 600; }
.mm-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.mm-alert { border-radius: 12px; padding: 16px 20px; font-weight: 600; margin-bottom: 22px; }
.mm-alert--ok { background: var(--mm-emerald-bg); color: var(--mm-emerald-dark); border: 1px solid var(--mm-emerald-border); }
.mm-alert--error { background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; }

/* --------------------------------------------------------------------------
   Footer Architecture
   -------------------------------------------------------------------------- */
.mm-footer {
  background: var(--mm-navy-dark); color: #C5CEE6;
  padding: 80px 0 36px; font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mm-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.mm-footer img { height: 54px; width: auto; margin-bottom: 22px; }
.mm-footer h2 { color: #FFFFFF; font-family: var(--mm-font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 4px 0 18px; }
.mm-footer ul { list-style: none; padding: 0; margin: 0; }
.mm-footer li { margin: 12px 0; }
.mm-footer a { color: #E2E8F0; text-decoration: none; transition: color 0.15s ease; }
.mm-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.mm-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 64px; padding-top: 32px;
  font-size: 0.875rem; color: var(--mm-text-dark-muted);
}
@media (max-width: 900px) {
  .mm-footer__grid { grid-template-columns: 1fr 1fr; }
  .mm-footer__brand { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Ecosystem & Technology Integration Ribbon
   -------------------------------------------------------------------------- */
.mm-ecosystem {
  background: var(--mm-navy-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 0 40px;
  position: relative;
}
.mm-ecosystem__label {
  text-align: center; font-family: var(--mm-font-mono); font-size: 0.8rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--mm-text-dark-muted); margin-bottom: 22px;
}
.mm-ecosystem__grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 14px 24px;
}
.mm-ecosystem__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px; padding: 8px 20px; color: #FFFFFF;
  font-family: var(--mm-font-display); font-size: 0.925rem; font-weight: 700;
  transition: all 0.2s ease;
}
.mm-ecosystem__badge:hover {
  background: rgba(255, 255, 255, 0.1); border-color: var(--mm-cyan);
  transform: translateY(-2px); box-shadow: 0 4px 14px rgba(25, 184, 245, 0.25);
}
.mm-ecosystem__badge img, .mm-ecosystem__badge svg {
  width: 22px; height: 22px; object-fit: contain; display: block;
}

/* --------------------------------------------------------------------------
   Multi-Store Template Gallery (More Graphics & Previews)
   -------------------------------------------------------------------------- */
.mm-template-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; margin-top: 36px;
}
@media (max-width: 900px) { .mm-template-gallery { grid-template-columns: 1fr; } }

.mm-template-card {
  background: #FFFFFF; border: 1px solid var(--mm-line-subtle);
  border-radius: var(--mm-radius-lg); overflow: hidden;
  box-shadow: var(--mm-shadow-xs); transition: all 0.2s ease;
  display: flex; flex-direction: column;
}
.mm-template-card:hover {
  transform: translateY(-4px); box-shadow: var(--mm-shadow-xl);
  border-color: var(--mm-blue);
}
.mm-template-card__img {
  width: 100%; height: 210px; object-fit: cover; background: var(--mm-bg-tint);
  border-bottom: 1px solid var(--mm-line-subtle);
}
.mm-template-card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.mm-template-card__tags { margin-bottom: 12px; }
.mm-template-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.mm-template-card p { font-size: 0.925rem; color: var(--mm-ink-sub); line-height: 1.55; margin-bottom: 18px; flex: 1; }

/* --------------------------------------------------------------------------
   Rich Graphic Chips & Visual Nodes
   -------------------------------------------------------------------------- */
.mm-graphic-node {
  width: 48px; height: 48px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--mm-shadow-sm); margin-bottom: 18px;
}
.mm-graphic-node svg, .mm-graphic-node img { width: 24px; height: 24px; }
.mm-graphic-node--blue { background: #EEF4FF; color: #0866F5; border: 1px solid #BFD5FD; }
.mm-graphic-node--purple { background: #F5F0FF; color: #7827E8; border: 1px solid #DDD0FC; }
.mm-graphic-node--emerald { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.mm-graphic-node--amber { background: #FFFBEB; color: #D97706; border: 1px solid #FDE68A; }
.mm-graphic-node--cyan { background: #F0F9FF; color: #0284C7; border: 1px solid #BAE6FD; }
