﻿/* Shared site chrome (header/drawer/footer/buttons) for the homepage AND all
   internal pages. Classes renamed to mp-* and scoped under .mp-home; vars
   renamed to --mp-*. The global header/drawer/footer partials
   (templates/partials/_site_*.html) render inside .mp-home wrappers on every
   page, so .mp-home .mp-site-header/.mp-drawer/.mp-site-footer/.mp-btn rules
   below are the single source of truth for site chrome. Page-specific content
   (dashboard sidebar, public menu themes with their own --t-* tokens) is
   outside .mp-home wrappers and unaffected. Loaded from
   templates/core/home.html and templates/base.html. */
/* ==========================================================
   Menutify homepage — Persian RTL
   Reference visual language: light airy paper with subtle
   cream/lime gradients; bright lime green primary accent,
   warm orange secondary accent; large rounded white cards;
   pill buttons and pill labels everywhere. Deep green keeps
   text and ghost buttons readable.
   ========================================================== */

.mp-home{
  --mp-paper: #F3F7F6;
  --mp-white: #fff;
  --mp-forest: #04120E;
  --mp-forest-2: #0A2A23;
  --mp-saffron: #27E899;
  --mp-saffron-soft: #6FF2BE;
  --mp-saffron-deep: #0E8F63;
  --mp-ink: #10201B;
  --mp-muted: #5B6D67;
  --mp-line: #E0E8E4;
  --mp-orange: #F0C877;
  --mp-orange-soft: #FDF4E3;
  --mp-cream: #F2FBF6;
  --mp-lime-soft: #E3FAF0;

  --mp-font-display: 'Lalezar', 'Vazirmatn', Tahoma, sans-serif;
  --mp-font-body: 'Vazirmatn', Tahoma, system-ui, sans-serif;

  --mp-radius-lg: 36px;
  --mp-header-h: 72px;
}

.mp-home *, .mp-home *::before, .mp-home *::after{ box-sizing: border-box; }

.mp-home html{
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mp-header-h) + 12px);
}

.mp-home-page{
  margin: 0;
  font-family: var(--mp-font-body);
  color: var(--mp-ink);
  background: var(--mp-paper);
  line-height: 1.9;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
body.mp-no-scroll{ overflow: hidden; }

.mp-home img, .mp-home svg{ display: block; max-width: 100%; }
.mp-home a{ color: inherit; }
.mp-home h1, .mp-home h2, .mp-home h3, .mp-home p{ margin: 0; }
.mp-home ul, .mp-home ol{ list-style: none; margin: 0; padding: 0; }

.mp-home :focus-visible{
  outline: 3px solid var(--mp-saffron-deep);
  outline-offset: 3px;
  border-radius: 8px;
}

.mp-home .mp-container{ width: min(1160px, 100% - 40px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.mp-home .mp-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font: 700 1rem/1.4 var(--mp-font-body);
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: .7em 1.5em;
  cursor: pointer;
  transition: transform .2s, background-color .2s, color .2s, box-shadow .2s;
}
.mp-home .mp-btn:hover{ transform: translateY(-2px); }
.mp-home .mp-btn--sm{ padding: .5em 1.2em; font-size: .92rem; }
.mp-home .mp-btn--lg{ padding: .85em 1.9em; font-size: 1.05rem; }
.mp-home .mp-btn--o{
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .6);
  color: var(--mp-white);
}
.mp-home .mp-btn--o:hover{ background: rgba(255, 255, 255, .16); }

.mp-home .mp-btn--primary{
  background: var(--mp-saffron);
  color: var(--mp-forest);
}
.mp-home .mp-btn--primary:hover{ background: var(--mp-saffron-soft); }

.mp-home .mp-btn--ghost{ background: var(--mp-forest); border-color: var(--mp-forest); color: var(--mp-white); }
.mp-home .mp-btn--ghost:hover{ background: var(--mp-forest-2); }

.mp-home .mp-btn--dark{ background: var(--mp-forest); color: var(--mp-white); }
.mp-home .mp-btn--dark:hover{ background: var(--mp-forest-2); }

/* ---------- Header (airy, pill nav) ---------- */
.mp-home .mp-site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--mp-header-h);
  background: rgba(250, 251, 244, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(163, 197, 122, .16);
}
.mp-home .mp-header__inner{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mp-home .mp-logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 400 1.75rem/1 var(--mp-font-display);
  color: var(--mp-forest);
  text-decoration: none;
  white-space: nowrap;
}
.mp-home .mp-logo__mark{ width: 38px; height: 38px; flex: none; }

.mp-home .mp-nav, .mp-home .mp-header__actions{ display: none; }
.mp-home .mp-nav{ gap: 6px; }
.mp-home .mp-nav a{
  text-decoration: none;
  font-weight: 600;
  color: var(--mp-muted);
  padding: .35rem 1rem;
  border-radius: 999px;
  transition: color .2s, background-color .2s;
}
.mp-home .mp-nav a:hover{ color: var(--mp-forest); background: var(--mp-lime-soft); }

.mp-home .mp-header__actions{ align-items: center; gap: 14px; }
.mp-home .mp-link-login{ font-weight: 700; text-decoration: none; color: var(--mp-forest); }
.mp-home .mp-link-login:hover{ text-decoration: underline; text-underline-offset: 6px; }

/* Dark header chrome on the homepage only (wrapper carries the modifier). */
.mp-home.mp-home-hero-dark .mp-site-header{
  background: rgba(4, 18, 14, .92);
  border-bottom: 1px solid rgba(39, 232, 153, .28);
}
.mp-home.mp-home-hero-dark .mp-logo{ color: var(--mp-white); }
.mp-home.mp-home-hero-dark .mp-logo__mark{ color: var(--mp-saffron); }
.mp-home.mp-home-hero-dark .mp-nav a{ color: rgba(234, 242, 239, .78); }
.mp-home.mp-home-hero-dark .mp-nav a:hover{ color: var(--mp-white); background: rgba(255, 255, 255, .09); }
.mp-home.mp-home-hero-dark .mp-link-login{ color: var(--mp-white); }
.mp-home.mp-home-hero-dark .mp-burger{
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
}

/* Hamburger (mobile only) */
.mp-home .mp-burger, .mp-home .mp-drawer__close{
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--mp-forest);
  color: var(--mp-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mp-home .mp-drawer__close{ background: var(--mp-lime-soft); color: var(--mp-forest); }
.mp-home .mp-burger{ flex-direction: column; gap: 5px; }
.mp-home .mp-burger span{ width: 20px; height: 2px; background: var(--mp-white); border-radius: 2px; }

/* ---------- Mobile drawer (anchored left) ---------- */
.mp-home .mp-backdrop{
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(38, 51, 31, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s .3s;
}
.mp-home .mp-backdrop.mp-is-open{ opacity: 1; visibility: visible; transition-delay: 0s; }

.mp-home .mp-drawer{
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  width: min(86vw, 340px);
  max-height: 100vh;
  max-height: 100dvh;
  padding: 18px 20px 24px;
  display: flex;
  flex-direction: column;
  background: var(--mp-paper);
  box-shadow: 24px 0 60px -20px rgba(38, 51, 31, .45);
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s .32s;
}
.mp-home .mp-drawer.mp-is-open{ transform: none; visibility: visible; transition-delay: 0s; }

.mp-home .mp-drawer__head{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex: none; }
.mp-home .mp-drawer__nav{ display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-bottom: .5rem; }
.mp-home .mp-drawer__nav a{
  padding: 15px 4px;
  font-size: 1.12rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--mp-line);
}
.mp-home .mp-drawer__nav a:hover{ color: var(--mp-forest); }
.mp-home .mp-drawer__cta{ margin-top: 1rem; flex: none; position: sticky; bottom: 0; }

/* ---------- Hero (dark, full-bleed masked photo — reference structure) ----- */
.mp-home .mp-hero{
  position: relative;
  overflow: clip;
  padding-block: clamp(48px, 8vw, 96px) clamp(36px, 5vw, 60px);
  background: var(--mp-forest);
  color: #EAF2EF;
}
.mp-home .mp-hero__img{
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Fallback hero photo (phone + QR on a café table): keep the off-centre
   subject in frame across breakpoints instead of a blind centre crop. */
.mp-home .mp-hero__img--menu{ object-position: 22% 50%; }
@media (max-width: 639px) {
  .mp-home .mp-hero__img--menu{ object-position: 15% 50%; }
  /* Bright phone screen under white headline on small screens: deepen the mask. */
  .mp-home .mp-hero__img--menu + .mp-hero__scrim{
    background: linear-gradient(200deg, rgba(4, 18, 14, .62) 0%, rgba(4, 18, 14, .88) 55%, rgba(4, 18, 14, .95) 100%);
  }
}
.mp-home .mp-hero__scrim{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(200deg, rgba(4, 18, 14, .5) 0%, rgba(4, 18, 14, .82) 52%, rgba(4, 18, 14, .93) 100%);
}
.mp-home .mp-hero__in{ position: relative; z-index: 2; }
.mp-home .mp-hero__copy{ max-width: 660px; }
.mp-home .mp-hero__brand{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .3em 1.05em;
  border-radius: 999px;
  border: 1px solid rgba(39, 232, 153, .5);
  background: rgba(39, 232, 153, .12);
  color: var(--mp-saffron);
  font-weight: 700;
  font-size: .86rem;
  line-height: 1.6;
  margin-bottom: 18px;
  white-space: nowrap;
}
.mp-home .mp-hero h1{
  font: 400 clamp(2.5rem, 5.8vw, 4.3rem)/1.35 var(--mp-font-display);
  color: var(--mp-white);
  text-wrap: balance;
  margin-bottom: 14px;
}
.mp-home .mp-hero h1 em{ font-style: normal; color: var(--mp-saffron); }
.mp-home .mp-hero p{
  max-width: 34em;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(234, 242, 239, .85);
}
.mp-home .mp-hero__cta{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mp-home .mp-hero__note{
  margin-top: 18px;
  font-size: .9rem;
  color: rgba(234, 242, 239, .62);
  max-width: 52ch;
}
.mp-home .mp-hero__note a{ color: var(--mp-saffron); font-weight: 700; }

.mp-home .mp-hero__facts{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.mp-home .mp-fact{
  display: inline-flex;
  align-items: baseline;
  gap: .45em;
  padding: .45em 1.1em;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: .92rem;
  line-height: 1.6;
  color: var(--mp-white);
  width: fit-content;
}
.mp-home .mp-fact b{ font: 400 1.5em/1 var(--mp-font-display); color: var(--mp-saffron); }

/* Mobile hero: frosted-glass copy panel so text stays readable over the photo. */
@media (max-width: 640px){
  .mp-home .mp-hero{ padding-block: 28px 34px; }
  .mp-home .mp-hero__copy{
    max-width: none;
    background: rgba(4, 18, 14, .72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
  }
  .mp-home .mp-hero h1{ font-size: clamp(2rem, 8vw, 2.7rem); }
  .mp-home .mp-hero__cta{ flex-direction: column; }
  .mp-home .mp-hero__cta .mp-btn{ width: 100%; justify-content: center; }
  .mp-home .mp-hero__facts{ justify-content: center; }
  .mp-home .mp-hero__note{ text-align: center; margin-inline: auto; }
}

/* Stage behind the phone: soft cream blob with a lime stroke — the airy
   product visual from the reference, never a dark panel. */
.mp-home .mp-hero__stage{
  position: relative;
  display: grid;
  place-items: center;
  min-height: 650px;
}
.mp-home .mp-stage__disc, .mp-home .mp-stage__ring{
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}
.mp-home .mp-stage__disc{
  width: min(440px, 92%); aspect-ratio: 1;
  background: radial-gradient(circle at 30% 25%, #E3FAF0 0%, #F2FBF6 55%, #EAF4F0 100%);
}
.mp-home .mp-stage__ring{
  width: min(560px, 100%); aspect-ratio: 1;
  border: 3px dashed rgba(39, 232, 153, .45);
}



/* Phone */
.mp-home .mp-phone{
  position: relative;
  z-index: 2;
  width: min(300px, 78vw);
  height: 600px;
  padding: 10px;
  border-radius: 46px;
  background: var(--mp-white);
  border: 3px solid var(--mp-lime-soft);
  box-shadow: 0 18px 44px -18px rgba(5, 30, 24, .35);
}
.mp-home .mp-phone__notch{
  position: absolute;
  top: 19px;
  left: 50%;
  translate: -50% 0;
  z-index: 3;
  width: 84px;
  height: 22px;
  border-radius: 999px;
  background: var(--mp-lime-soft);
}
.mp-home .mp-screen{
  height: 100%;
  padding: 44px 14px 14px;
  display: flex;
  flex-direction: column;
  border-radius: 36px;
  background: #FFFDF9;
  overflow: hidden;
}
.mp-home .mp-screen__top{ display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mp-home .mp-screen__top strong{ display: block; font-size: .95rem; line-height: 1.5; }
.mp-home .mp-screen__top small{ display: block; font-size: .84rem; line-height: 1.4; color: var(--mp-muted); }
.mp-home .mp-avatar{
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mp-saffron);
  color: var(--mp-white);
  font: 400 1.25rem/1 var(--mp-font-display);
}

.mp-home .mp-tabs{ display: flex; gap: 6px; margin-bottom: 10px; }
.mp-home .mp-tabs button{
  font: 500 .84rem/1.5 var(--mp-font-body);
  padding: .2em .95em;
  border: 0;
  border-radius: 999px;
  background: var(--mp-lime-soft);
  color: var(--mp-forest);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.mp-home .mp-tabs button[aria-pressed="true"]{ background: var(--mp-forest); color: var(--mp-white); }

.mp-home .mp-items{ flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 8px; scrollbar-width: none; }
.mp-home .mp-items::-webkit-scrollbar{ display: none; }

.mp-home .mp-item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: #F5F9EE;
  border: 0;
  border-radius: 18px;
}
.mp-home .mp-item[hidden]{ display: none; }
.mp-home .mp-item img{ width: 58px; height: 58px; flex: none; border-radius: 14px; object-fit: cover; }
.mp-home .mp-item__info{ flex: 1; min-width: 0; }
.mp-home .mp-item__info b{ display: block; font-size: .86rem; line-height: 1.5; }
.mp-home .mp-item__info span{
  display: block;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--mp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-home .mp-item__info em{ font-style: normal; font-weight: 700; font-size: .84rem; color: var(--mp-forest); }

.mp-home .mp-item__add{
  flex: none;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--mp-saffron);
  color: var(--mp-white);
  font: 700 1.2rem/1 var(--mp-font-body);
  cursor: pointer;
}
.mp-home .mp-item__add.mp-is-pop{ animation: mp-pop .3s ease-out; }
@keyframes mp-pop { 50% { transform: scale(1.3); } }

.mp-home .mp-cart{
  margin-top: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 18px;
  background: var(--mp-forest);
  color: var(--mp-white);
  font-size: .84rem;
  line-height: 1.5;
}
.mp-home .mp-cart__text strong{ font-size: .84rem; }
.mp-home .mp-cart__btn{
  flex: none;
  font: 700 .84rem/1.5 var(--mp-font-body);
  padding: .3em 1em;
  border: 0;
  border-radius: 999px;
  background: var(--mp-white);
  color: var(--mp-forest);
  cursor: pointer;
}
.mp-home .mp-cart__btn:disabled{ opacity: .4; cursor: not-allowed; }

/* Floating chips: white cards with soft shadow, flat green icon dot. */
.mp-home .mp-chip{
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 18px;
  background: var(--mp-white);
  color: var(--mp-ink);
  font-size: .84rem;
  line-height: 1.5;
  box-shadow: 0 6px 20px rgba(5, 30, 24, .12);
}
.mp-home .mp-chip b{ display: block; }
.mp-home .mp-chip small{ display: block; color: var(--mp-muted); font-size: .84rem; }
.mp-home .mp-chip--order{ top: 120px; inset-inline-end: 0; transform-origin: top left; animation: mp-chip-in .6s .9s both cubic-bezier(.2, .9, .3, 1.3); }
.mp-home .mp-chip--qr{ display: none; bottom: 110px; inset-inline-start: 0; }
.mp-home .mp-chip__dot{ width: 10px; height: 10px; border-radius: 50%; background: var(--mp-saffron); }
@keyframes mp-chip-in { from { opacity: 0; transform: translateY(14px) scale(.9); } }

/* ---------- Small pill label above section titles (reference language) ---- */
.mp-home .mp-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .3em 1.1em;
  border-radius: 999px;
  background: var(--mp-lime-soft);
  color: var(--mp-forest);
  font-weight: 700;
  font-size: .85rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.mp-home .mp-eyebrow::before{ content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mp-saffron); }

/* ---------- Sections ---------- */
.mp-home .mp-section{ padding-block: clamp(40px, 7vw, 84px); }
.mp-home .mp-section__head{ margin-bottom: 40px; }
.mp-home .mp-section__head h2, .mp-home .mp-how h2{
  font: 400 clamp(1.95rem, 4.8vw, 3.1rem)/1.4 var(--mp-font-display);
  color: var(--mp-forest);
  margin-bottom: 10px;
  text-wrap: balance;
}
.mp-home .mp-section__head p{ max-width: 36em; color: var(--mp-muted); }

/* Gallery: sample menus in airy tone cards. */
.mp-home .mp-gallery{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mp-home .mp-menu-card{
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
  background: var(--mp-white);
  box-shadow: 0 4px 18px rgba(5, 30, 24, .08);
  transition: transform .3s;
}
.mp-home .mp-menu-card:hover{ transform: translateY(-5px); }
.mp-home .mp-menu-card__media{ position: relative; aspect-ratio: 4 / 5; background: var(--tone, #F1F5E8); }
.mp-home .mp-menu-card__media img{ width: 100%; height: 100%; object-fit: cover; }
.mp-home .mp-menu-card__cafe{
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  padding: .1em .85em;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  font-size: .84rem;
  font-weight: 700;
  color: var(--mp-forest);
}
.mp-home .mp-menu-card__body{
  padding: 12px 14px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 8px;
}
.mp-home .mp-menu-card h3{ font-size: .98rem; line-height: 1.7; }
.mp-home .mp-price{ font-size: .86rem; font-weight: 700; color: var(--mp-forest); }

/* Final CTA */
.mp-home .mp-cta{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: clamp(40px, 7vw, 84px) clamp(22px, 5vw, 64px);
  border-radius: var(--mp-radius-lg);
  background: linear-gradient(140deg, #E3FAF0, #F2FBF6);
}
.mp-home .mp-cta::before, .mp-home .mp-cta::after{
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: var(--mp-saffron);
  opacity: .18;
}
.mp-home .mp-cta::before{ width: 340px; height: 340px; top: -150px; right: -90px; }
.mp-home .mp-cta::after{ width: 240px; height: 240px; bottom: -110px; left: -60px; background: var(--mp-orange); }
.mp-home .mp-cta h2{ font: 400 clamp(2rem, 5.2vw, 3.4rem)/1.4 var(--mp-font-display); color: var(--mp-forest); margin-bottom: 10px; text-wrap: balance; }
.mp-home .mp-cta p{ max-width: 30em; margin: 0 auto 28px; color: var(--mp-muted); }
.mp-home .mp-cta a.mp-inline-link{ color: var(--mp-forest); font-weight: 700; }

/* ---------- Footer (deep-green glassmorphism, matches dark header) ---------- */
.mp-home .mp-site-footer{
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(40px, 6vw, 64px) 0 clamp(24px, 4vw, 40px);
  background: rgba(4, 18, 14, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(39, 232, 153, .28);
}
.mp-home .mp-footer__grid{
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px 48px;
  align-items: start;
}
.mp-home .mp-footer__brand{ max-width: 36ch; }
.mp-home .mp-footer__tagline{ margin: 16px 0 0; color: rgba(234, 242, 239, .72); font-size: .95rem; line-height: 1.9; }
.mp-home .mp-footer__contact{ display: flex; flex-direction: column; gap: 6px; margin-top: 18px; font-size: .9rem; }
.mp-home .mp-footer__contact a, .mp-home .mp-footer__contact span{ color: rgba(234, 242, 239, .85); text-decoration: none; }
.mp-home .mp-footer__contact a:hover{ color: var(--mp-saffron); text-decoration: underline; text-underline-offset: 4px; }
.mp-home .mp-footer__social{ display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .9rem; }
.mp-home .mp-footer__social a{ color: var(--mp-saffron); font-weight: 600; text-decoration: none; }
.mp-home .mp-footer__social a:hover{ color: var(--mp-white); text-decoration: underline; text-underline-offset: 4px; }
.mp-home .mp-footer__col{ display: flex; flex-direction: column; }
.mp-home .mp-footer__title{ margin: 0 0 10px; font: 700 1rem/1.5 var(--mp-font-body); color: var(--mp-white); }
.mp-home .mp-footer__col a{ padding: 7px 0; color: rgba(234, 242, 239, .78); text-decoration: none; font-size: .95rem; font-weight: 500; }
.mp-home .mp-footer__col a:hover{ color: var(--mp-saffron); text-decoration: underline; text-underline-offset: 5px; }
.mp-home .mp-footer__base{
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(32px, 5vw, 48px);
  padding: 16px 22px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(5, 30, 24, .06);
}
.mp-home .mp-footer__made{ margin: 0; color: rgba(234, 242, 239, .72); font-size: .9rem; }
.mp-home .mp-footer__legal{ margin: 0; color: rgba(234, 242, 239, .6); font-size: .85rem; }
@media (max-width: 1080px) {
  .mp-home .mp-footer__grid{ grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  .mp-home .mp-footer__brand{ grid-column: 1 / -1; max-width: 46ch; }
}
@media (max-width: 640px) {
  .mp-home .mp-footer__grid{ grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .mp-home .mp-footer__brand{ grid-column: 1 / -1; max-width: none; }
  .mp-home .mp-footer__base{ flex-direction: column; align-items: flex-start; padding: 14px 16px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .mp-home .mp-chip--qr{ display: flex; }
  .mp-home .mp-chip--order{ inset-inline-end: 14px; }
  .mp-home .mp-chip--qr{ inset-inline-start: -2%; }
}

/* ---------- Phones: keep floating chips clear of the phone mock ---------- */
@media (max-width: 639px) {
  .mp-home .mp-chip--order{ top: auto; bottom: 130px; inset-inline-end: -2px; }
}

/* ---------- Desktop: horizontal nav, no hamburger ---------- */
@media (min-width: 900px) {
  .mp-home .mp-nav, .mp-home .mp-header__actions{ display: flex; }
  .mp-home .mp-burger, .mp-home .mp-drawer, .mp-home .mp-backdrop{ display: none; }

  .mp-home .steps{ grid-template-columns: repeat(4, 1fr); gap: 22px; }

  .mp-home .mp-gallery{ grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
  .mp-home .mp-menu-card:nth-child(even){ margin-top: 40px; }
  .mp-home .mp-menu-card h3{ font-size: 1.05rem; }
}

/* ---------- Small phones ---------- */
@media (max-width: 380px) {
  .mp-home .mp-container{ width: calc(100% - 32px); }
  .mp-home .mp-hero__cta .mp-btn{ width: 100%; }
  .mp-home .mp-header__actions .mp-link-login{ display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mp-home *, .mp-home *::before, .mp-home *::after{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Staff «system font» choice must also apply inside homepage sections. */
body.site-font-system .mp-home{
  --mp-font-body: 'Tahoma', 'Segoe UI', system-ui, sans-serif;
  --mp-font-display: 'Tahoma', 'Segoe UI', system-ui, sans-serif;
}
/* Page tone on mp pages: airy gradient ground so white cards pop softly. */
.mp-home{ background: #F3F7F6; }
/* ---------- Pricing (reference language; real plan data from the view) ---- */
.mp-home .mp-pricing{ display: grid; gap: 14px; }
.mp-home .mp-price-card{
  background: var(--mp-white);
  border: 1px solid var(--mp-line);
  border-radius: 24px;
  padding: 28px 24px;
  display: flex; flex-direction: column; text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.mp-home .mp-price-card:hover{ transform: translateY(-5px); box-shadow: 0 10px 26px rgba(5, 30, 24, .1); }
.mp-home .mp-price-card h3{ font-size: 1.1rem; line-height: 1.7; color: var(--mp-ink); }
.mp-home .mp-price-card .mp-amount{
  font-family: var(--mp-font-display);
  font-size: 2rem; line-height: 1.4; color: var(--mp-forest);
}
.mp-home .mp-price-card .mp-amount small{ font-family: var(--mp-font-body); font-size: .85rem; color: var(--mp-muted); }
.mp-home .mp-price-card .mp-duration{ font-size: .9rem; color: var(--mp-muted); }
.mp-home .mp-price-card .mp-desc{ font-size: .9rem; color: var(--mp-muted); }
.mp-home .mp-price-card .mp-btn{ margin-top: auto; width: 100%; }
.mp-home .mp-price-card--pop{
  background: linear-gradient(150deg, #27E899, #0E8F63);
  border: 0; color: var(--mp-white);
  box-shadow: 0 14px 34px -12px rgba(85, 147, 19, .45);
}
.mp-home .mp-price-card--pop h3{ color: var(--mp-white); }
.mp-home .mp-price-card--pop .mp-amount{ color: var(--mp-white); }
.mp-home .mp-price-card--pop .mp-amount small,
.mp-home .mp-price-card--pop .mp-duration,
.mp-home .mp-price-card--pop .mp-desc{ color: rgba(255,255,255,.85); }
.mp-home .mp-price-card--pop .mp-btn--primary{ background: var(--mp-white); color: var(--mp-forest); }
.mp-home .mp-price-card--pop .mp-btn--primary:hover{ background: var(--mp-cream); color: var(--mp-forest); }
.mp-home .mp-price-card--pop .mp-btn--ghost{ background: var(--mp-white); border-color: var(--mp-white); color: var(--mp-forest); }
.mp-home .mp-price-card--pop .mp-btn--ghost:hover{ background: var(--mp-cream); border-color: var(--mp-cream); color: var(--mp-forest); }
/* ---------- Partners (real cafes as social proof) ------------------------ */
.mp-home .mp-partners{ position: relative; }
.mp-home .mp-partners-track{
  display: flex; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: .75rem;
  scrollbar-width: none;
}
.mp-home .mp-partners-track::-webkit-scrollbar{ display: none; }
.mp-home .mp-partner-card{
  flex: 0 0 calc(50% - 7px);
  scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 22px 16px; text-align: center; text-decoration: none;
  background: var(--mp-white);
  border: 1px solid var(--mp-line); border-radius: 24px;
  transition: transform .3s, box-shadow .3s;
}
.mp-home .mp-partner-card:hover{ transform: translateY(-5px); box-shadow: 0 10px 26px rgba(5, 30, 24, .1); }
.mp-home .mp-partner-card img{
  max-width: 100%; height: 64px; width: auto; object-fit: contain;
}
/* Consistent fallback for businesses without a logo: initial letter avatar. */
.mp-home .mp-partner-fallback{
  width: 64px; height: 64px; border-radius: 20px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mp-lime-soft); color: var(--mp-forest);
  font-family: var(--mp-font-display); font-size: 1.9rem; line-height: 1;
}
.mp-home .mp-partner-card strong{ font-size: .98rem; color: var(--mp-ink); }
.mp-home .mp-partner-card span{ font-size: .84rem; color: var(--mp-saffron-deep); }
.mp-home .mp-partners .carousel-nav{ margin-top: .9rem; }
@media (min-width: 640px){
  .mp-home .mp-pricing{ grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
  .mp-home .mp-partner-card{ flex: 0 0 calc(33.333% - 10px); }
}
@media (min-width: 900px){
  .mp-home .mp-pricing{ grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
  .mp-home .mp-partner-card{ flex: 0 0 200px; }
  .mp-home .mp-partners-track{ gap: 22px; }
}
/* ---------- Homepage spacing normalization (mp-home only) ----------
   The two .page wrappers provide the max-width container and are kept.
   Base .section padding would otherwise stack with .page padding and the
   taller .mp-section rhythm, so homepage sections use one reduced scale. */
.mp-home .page{ padding-top: 0; padding-bottom: 0; padding-inline: 1rem; }
.mp-home .page .section{ padding-block: clamp(28px, 4.5vw, 56px); }
.mp-home .page .section-head{ margin-bottom: 40px; }
/* ---------- Visual bridge: base sections in the reference language ------
   Homepage-only. Brings cards, headings, buttons, FAQ, steps and modal
   into the lime/cream/deep-green system without touching shared pages. */
.mp-home .section-head{ margin-bottom: 40px; max-width: 640px; }
.mp-home .section-head h2{
  font-family: var(--mp-font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.6;
  color: var(--mp-forest);
}
.mp-home .section-head p{ color: var(--mp-muted); }
.mp-home .card,
.mp-home .feature,
.mp-home .theme-card,
.mp-home .step,
.mp-home .faq details,
.mp-home .modal-box{
  background: var(--mp-white);
  border: 1px solid var(--mp-line);
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(5, 30, 24, .05);
}
.mp-home .faq details{ border-radius: 18px; }
.mp-home .feature,
.mp-home .theme-card,
.mp-home article.card{ transition: transform .3s, box-shadow .3s; }
.mp-home .feature:hover,
.mp-home .theme-card:hover,
.mp-home article.card:hover{ transform: translateY(-5px); box-shadow: 0 10px 26px rgba(5, 30, 24, .09); }
.mp-home .feature .fic{ background: var(--mp-saffron); color: var(--mp-white); }
.mp-home .carousel-track{ padding-bottom: .75rem; }
.mp-home .article-grid img{ aspect-ratio: 16 / 9; object-fit: cover; }
.mp-home .btn-primary{
  background: var(--mp-saffron); border-color: var(--mp-saffron);
  color: var(--mp-white);
}
.mp-home .btn-primary:hover{ background: var(--mp-saffron-soft); border-color: var(--mp-saffron-soft); color: var(--mp-white); }
.mp-home .btn-outline{ background: var(--mp-white); border-color: var(--mp-forest); color: var(--mp-forest); }
.mp-home .btn-outline:hover{ background: var(--mp-forest); border-color: var(--mp-forest); color: var(--mp-white); }
.mp-home summary{ color: var(--mp-forest); }
.mp-home h1, .mp-home h2, .mp-home h3, .mp-home h4{ font-family: var(--mp-font-display); }
.mp-home .theme-card h3 .badge{ font-family: var(--mp-font-display); font-weight: 400; }
.mp-home .theme-card{ padding: 1.4rem 1.25rem; }

/* ---------- Theme gallery layout (desktop / tablet / mobile) ----------
   Consistent card size per breakpoint; the phone keeps its fixed 225px
   mockup size, so previews align evenly no matter how many are visible. */
.mp-home #themes .carousel-track{
  overscroll-behavior-x: contain;
}
.mp-home #themes .theme-card{ flex: 0 0 300px; scroll-snap-align: start; }
.mp-home #themes .carousel-nav{ display: flex; align-items: center; justify-content: center; gap: .75rem; }
.mp-home #themes .carousel-nav .btn{ flex: 0 0 auto; }
.mp-home #themes .carousel-counter{
  min-width: 4.5em;
  text-align: center;
  font-family: var(--mp-font-display);
  font-weight: 400;
  color: var(--mp-forest);
}
@media (max-width: 1024px){
  .mp-home #themes .theme-card{ flex: 0 0 280px; }
}
@media (max-width: 640px){
  /* Mobile: exactly one theme slide per screen. The basis resolves against
     the track's content box, so padding-inline must stay 0 here; the 2rem
     basis gap keeps small neighbour-edge slivers as the swipe affordance.
     snap-stop always prevents flying past a theme in one gesture. */
  .mp-home #themes .theme-card{ flex: 0 0 calc(100% - 2rem); scroll-snap-align: center; scroll-snap-stop: always; }
  .mp-home #themes .carousel-track{
    gap: 1rem;
    padding-inline: 0;
    scrollbar-width: none;
  }
  .mp-home #themes .carousel-track::-webkit-scrollbar{ display: none; }
}

/* ---------- Real theme previews in a phone mockup ----------
   Each card embeds the actual theme template in a sandboxed iframe, so the
   preview always matches the real public menu and its CSS stays isolated.
   The iframe is NOT sized to the screen: its document is laid out at the
   real designed mobile width (390px, like an iPhone) and the whole canvas
   is then scaled down uniformly, so the mockup shows a true miniature of
   the theme — no giant text, no re-worked components, no horizontal spillover.
   Screen inner box: phone 225px (padding 7px) x aspect 390/780 -> 211 x 436.
   scale = 211/390 = .541; unscaled height = 436/.541 ≈ 806px. */
.mp-home .theme-phone{
  position: relative;
  width: 225px;
  margin: 0 auto 1.2rem;
  aspect-ratio: 390 / 780;
  border-radius: 30px;
  padding: 7px;
  background: #17201B;
}
.mp-home .theme-phone__notch{
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 12px;
  border-radius: 999px;
  background: #17201B;
  z-index: 2;
}
.mp-home .theme-phone__screen{
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #FFF;
}
.mp-home .theme-phone__frame{
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: 806px;
  border: 0;
  background: #FFF;
  transform: scale(0.541);
  transform-origin: 0 0;
}
.mp-home .theme-card.is-selected{
  border-color: var(--mp-saffron);
  box-shadow: 0 0 0 3px var(--mp-saffron-soft), 0 2px 12px rgba(5, 30, 24, .05);
}
/* Tablet keeps two-to-three cards; the one-per-view mobile rule lives in the
   #themes gallery-layout block above. */
.mp-home .field input[type=text]{ border: 1.5px solid var(--mp-line); background: #F5F9EE; color: var(--mp-ink); border-radius: 14px; }
.mp-home .field input[type=text]:focus{ outline: 3px solid var(--mp-saffron-deep); outline-offset: 2px; border-color: var(--mp-saffron); }

/* ---------- Flat empty-state media (mp pages only) ----------
   Public menu themes include partials/_img_ph.html and keep the shared
   .ph look; inside .mp-home the placeholder becomes a flat tone step with
   no gradient and no rule so no section reads as a thin outlined box. */
.mp-home .ph{ background: var(--mp-lime-soft); border: none; color: #5E6B4E; }
.mp-home .empty{
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px);
  align-items: center;
  column-gap: 2.5rem;
  row-gap: .2rem;
  max-width: 720px;
  margin-inline: auto;
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--mp-line); background: var(--mp-white); border-radius: 24px;
}
.mp-home .empty .ph{ grid-column: 2; grid-row: 1 / span 2; width: 100%; max-width: none; margin: 0; padding-top: 72%; border-radius: 18px; }
.mp-home .empty h3{ grid-column: 1; font-size: 1.25rem; }
.mp-home .empty h3, .mp-home .empty p{ margin: 0; }
.mp-home .empty p{ grid-column: 1; }
.mp-home .empty p + p{ margin: 0; }
@media (max-width: 640px){
  .mp-home .empty{ grid-template-columns: 1fr; align-items: flex-start; gap: 1rem; padding: 1.6rem 1.2rem; }
  .mp-home .empty .ph{ grid-column: 1; grid-row: auto; padding-top: 52%; }
}
/* Entry card: compact rounded card, no decorative glyphs (reference: clean
   form only). The scanner/PWA behavior hooks stay untouched. */
.mp-home .mp-entry-card{ padding: 1.6rem 1.6rem; }
.mp-home .mp-entry-copy{ min-width: 0; }
.mp-home .mp-entry-copy p{ max-width: 48ch; }
/* Features as airy text columns. */
.mp-home .feature-grid{ grid-template-columns: repeat(2, 1fr); gap: 1.2rem 3rem; }
.mp-home .feature{ border: 1px solid var(--mp-line); border-radius: 20px; padding: 1.2rem 1.3rem; background: var(--mp-white); }
.mp-home .feature p{ max-width: 52ch; margin: .2rem 0 0; }
.mp-home .feature h3{ margin-bottom: .15rem; }
@media (max-width: 640px){
  .mp-home .feature-grid{ grid-template-columns: 1fr; }
}
/* Running text: readable measure and full-size body copy. */
.mp-home .page .section p{ max-width: 60ch; }
/* Onboarding steps: numbered airy cards (reference language). */
.mp-home .steps{ display: grid; gap: 14px; }
.mp-home .step{ padding: 1.2rem 1.3rem; }
.mp-home .step h3{ margin-bottom: .15rem; }
.mp-home .step-first{ background: linear-gradient(150deg, #27E899, #0E8F63); border-color: transparent; color: var(--mp-white); }
.mp-home .step-first h3{ color: var(--mp-white); }
.mp-home .step-first p{ color: rgba(255, 255, 255, .88); }
@media (min-width: 900px){
  .mp-home .steps{ grid-template-columns: repeat(4, 1fr); gap: 22px; }
}
.mp-home .faq details p{ font-size: 1rem; color: #4A5A44; }
.mp-home .theme-card p{ max-width: 48ch; }
.mp-home .footer-heart svg{ display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; }
.mp-home .footer-heart svg{ fill: var(--mp-orange); }
/* FAQ: single column of white rounded bars (reference language). */
.mp-home #faq .faq-group{ margin: 1.6rem 0 .8rem; font-size: 1.05rem; color: var(--mp-forest); }
.mp-home #faq details{ margin-bottom: 10px; padding: .35rem 1.2rem; }
.mp-home #faq details summary{
  margin: 0; padding-block: .65rem; font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; cursor: pointer; list-style: none;
}
.mp-home #faq details summary::-webkit-details-marker{ display: none; }
.mp-home #faq details summary::after{
  content: ""; flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--mp-lime-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232E6817' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .2s;
}
.mp-home #faq details[open] summary::after{ transform: rotate(180deg); }
.mp-home #faq details > p{ padding-bottom: .8rem; }
.mp-home #recent-menus .recent-grid{ display: grid; gap: 10px; }
.mp-home #recent-menus .recent-card{
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 16px;
  background: var(--mp-white); border: 1px solid var(--mp-line);
}
.mp-home #recent-menus .recent-logo{
  width: 48px; height: 48px; flex: none; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--mp-lime-soft);
  color: var(--mp-forest); font-family: var(--mp-font-display); font-size: 1.3rem;
}
.mp-home #recent-menus .recent-logo img{ width: 100%; height: 100%; object-fit: cover; }
.mp-home #recent-menus .recent-name{ font-weight: 600; text-decoration: none; color: var(--mp-forest); }
.mp-home #recent-menus .recent-name:hover{ text-decoration: underline; text-underline-offset: 4px; }
.mp-home #recent-menus .recent-info{ flex: 1; min-width: 0; }
.mp-home #install .card{
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  border-color: var(--mp-saffron);
  background: linear-gradient(180deg, #F2FBF6, var(--mp-white));
}
.mp-home #install .card img{ border-radius: 14px; flex: none; }
.mp-home #install #pwaCardBtn{ min-width: 150px; }
@media (max-width: 640px){
  .mp-home #install .card{ flex-direction: column; text-align: center; padding: 1.25rem; }
  .mp-home #install .card > div{ width: 100%; }
  .mp-home #install #pwaCardBtn{ width: 100%; }
  .mp-home #install .toolbar{ justify-content: center; width: 100%; }
}
.mp-home .preview-badge{ background: var(--mp-ink); color: var(--mp-white); }



/* ================= Reference v3 structure =================
   Floating feature strip, panel section, how-steps with numbered
   circles, dark trust banner, darker highlighted plan + trial card.
   All rules stay scoped under .mp-home (guard test). */

/* ---------- Floating 5-card feature strip overlapping the hero ---------- */
.mp-home .mp-stripwrap{ position: relative; z-index: 5; background: var(--mp-paper); padding-bottom: 6px; }
.mp-home .mp-stripfive{
  display: grid;
  gap: 16px 22px;
  margin-top: calc(clamp(26px, 4.5vw, 56px) * -1);
  padding: 28px 26px;
  border-radius: 30px;
  background: var(--mp-white);
  box-shadow: 0 24px 60px -30px rgba(5, 30, 24, .4);
}
.mp-home .mp-stripfive article{ display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; }
.mp-home .mp-stripfive h3{ font-size: 1rem; line-height: 1.6; }
.mp-home .mp-stripfive p{ font-size: .87rem; color: var(--mp-muted); line-height: 1.75; }
.mp-home .mp-ico{
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mp-lime-soft);
  color: var(--mp-forest);
}
.mp-home .mp-ico svg{ width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mp-home .mp-flag{
  display: inline-block;
  padding: .05em .6em;
  border-radius: 999px;
  background: var(--mp-orange-soft);
  color: #8A6A1F;
  font-size: .72rem;
  font-weight: 700;
  vertical-align: middle;
}
@media (min-width: 700px){ .mp-home .mp-stripfive{ grid-template-columns: repeat(2, 1fr); padding: 32px; } }
@media (min-width: 900px){ .mp-home .mp-stripfive{ grid-template-columns: repeat(5, 1fr); gap: 18px; } }

/* ---------- Panel section: everything in one dashboard ---------- */
.mp-home .mp-panel{ padding-block: clamp(44px, 7vw, 84px); }
.mp-home .mp-panel__grid{ display: grid; gap: 42px; align-items: center; }
.mp-home .mp-panel__copy{ min-width: 0; }
.mp-home .mp-panel__copy h2{
  font: 400 clamp(1.95rem, 4.8vw, 3.1rem)/1.4 var(--mp-font-display);
  color: var(--mp-forest);
  margin-bottom: 12px;
}
.mp-home .mp-tagline{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .3em 1.1em;
  border-radius: 999px;
  background: var(--mp-lime-soft);
  color: var(--mp-forest);
  font-weight: 700;
  font-size: .85rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.mp-home .mp-tagline::before{ content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--mp-saffron); }
.mp-home .mp-lead{ max-width: 36em; font-size: clamp(1rem, 2vw, 1.14rem); color: var(--mp-muted); }
.mp-home .mp-mini{ display: grid; gap: 12px; margin-top: 30px; }
.mp-home .mp-mini article{
  background: var(--mp-white);
  border: 1px solid var(--mp-line);
  border-radius: 20px;
  padding: 18px;
}
.mp-home .mp-mini h3{ font-size: 1rem; margin: 10px 0 4px; }
.mp-home .mp-mini p{ font-size: .86rem; color: var(--mp-muted); }
@media (min-width: 640px){
  .mp-home .mp-mini{ grid-template-columns: repeat(2, 1fr); }
  .mp-home .mp-panel__visual .mp-phone{ width: min(320px, 84vw); }
}
@media (min-width: 1000px){
  .mp-home .mp-panel__grid{ grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; }
}

/* ---------- How it works: numbered circles ------------------------------- */
.mp-home .mp-stephead{ display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mp-home .mp-num{
  width: 34px;
  height: 34px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mp-forest);
  color: var(--mp-white);
  font: 400 1.1rem/1 var(--mp-font-display);
}
.mp-home .mp-stephead svg{
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--mp-saffron-deep);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Dark trust banner: business types ----------------------------- */
.mp-home .mp-types{
  background: var(--mp-forest);
  color: var(--mp-white);
  padding-block: clamp(44px, 7vw, 78px);
  text-align: center;
}
.mp-home .mp-types h2{
  font: 400 clamp(1.9rem, 4.6vw, 3rem)/1.4 var(--mp-font-display);
  color: var(--mp-white);
  margin-bottom: 10px;
  text-wrap: balance;
}
.mp-home .mp-types__sub{ color: rgba(234, 242, 239, .72); margin: 0 auto 32px; max-width: 40ch; }
.mp-home .mp-typelist{ display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.mp-home .mp-typelist > div{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: .5em 1.2em;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  font-weight: 600;
  font-size: .97rem;
}
.mp-home .mp-type{
  width: 36px;
  height: 36px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(39, 232, 153, .14);
  color: var(--mp-saffron);
}
.mp-home .mp-type svg{ width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Plan note under pricing --------------------------------------- */
.mp-home .mp-plan-note{
  margin-top: 26px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 54ch;
  color: var(--mp-muted);
  font-size: .9rem;
  line-height: 1.8;
}
.mp-home .mp-plan-note svg{
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: .35em;
  fill: none;
  stroke: var(--mp-saffron-deep);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
