/* =====================================================================
   Mon Salon — site design system  (/assets/site/ms.css)
   ---------------------------------------------------------------------
   Faithful translation of the Claude Design "dc" components
   (SiteHeader, SiteFooter, Hero, FeatureRow, Device, PriceCard, Faq,
   CtaBlock, StoreBadges, Composants). Plain CSS, no build step.
   Pair with /assets/site/ms.js (ES module). Full API: /assets/site/README.md

   Design widths: desktop 1440 / phone 390. The design used container
   units (cqw) on a page-wide container: here they are vw. Logical
   properties (inset-inline-*, padding-inline-*) give RTL for free.

   TOKENS (:root) ...... --ms-deep, --ms-cta, --ms-cream, --ms-beige, --ms-mint,
                         --ms-white, --ms-border, --ms-text-2, --ms-text-3,
                         --ms-serif, --ms-sans, --ms-gutter, --ms-shadow-*
   LAYOUT .............. .ms-section (padded, max 1440, centred)
                         .ms-section--flush-top / --flush-bottom / --narrow
                         .ms-band (full-bleed bg) --white --deep --beige
                         .ms-inset (side padding for rounded panels)
                         .ms-panel (rounded 36 block) --mint --deep --white --beige
                         .ms-split (flex-wrap 2 cols) .ms-split__a .ms-split__b
                         .ms-stack (column gap 24) .ms-center
   TYPE ................ .ms-h1 .ms-h2 .ms-h2--sm .ms-h2--xs .ms-h3 .ms-eyebrow
                         .ms-lead .ms-text .ms-muted .ms-tag .ms-serif
   BUTTONS ............. .ms-btn + --primary --secondary --dark --mint
                         --outline-light --sm --block ; .ms-link-arrow
   CHIPS / LISTS ....... .ms-chip .ms-chips ; .ms-checks (li > .ms-check + span)
                         .ms-checks--inline ; .ms-check (round mint tick)
   HEADER (JS) ......... #ms-header -> .ms-hdr ... (rendered by ms.js)
   FOOTER (JS) ......... #ms-footer -> .ms-ftr ... (rendered by ms.js)
   HERO ................ .ms-hero .ms-hero__text .ms-hero__title .ms-hero__title2
                         .ms-hero__sub .ms-hero__actions .ms-hero__note
                         .ms-hero__visual[data-visual=duo|trio|phoneTablet|desktop|illus]
                         .ms-hero__slot--a/--b/--c  .ms-float--top/--bottom
   SEARCH .............. .ms-search .ms-search__field .ms-search__input
                         .ms-search__chip .ms-search__btn
   DEVICE .............. .ms-device[data-kind=phone|tablet|desktop|illus|photo]
                         (markup generated by MS.device() / [data-ms-device])
   FEATURE ROW ......... .ms-features (stack) .ms-feature (--reverse)
                         (markup generated by MS.renderFeatureRows())
   STEPS ............... .ms-steps .ms-step .ms-step__num .ms-step__title ...
   CATEGORIES .......... .ms-seg .ms-seg__btn(.active|.is-active) .ms-cats .ms-cat
   PRICE CARD .......... .ms-prices .ms-price (--hi) (MS.renderPriceCards())
   FAQ ................. .ms-faq .ms-faq__list .ms-faq__item(.is-open) (MS.renderFaq())
   CTA BLOCK ........... .ms-cta .ms-cta__box .ms-cta__text .ms-cta__title
                         .ms-cta__sub .ms-cta__actions .ms-cta__device
   STORE BADGES ........ .ms-stores (--center) .ms-store (MS.storeBadges())
   CARDS ............... .ms-card (--cream --beige --deep) .ms-rows .ms-row
   CHAT ................ .ms-chat .ms-bubble--z (assistant) .ms-bubble--c (client)
   FORMS ............... .ms-form .ms-field .ms-label .ms-input .ms-select
                         .ms-textarea .ms-help .ms-error
   MOTION .............. .ms-reveal -> .is-in (IntersectionObserver in ms.js)
   ===================================================================== */

:root {
  --ms-deep: #2E3A28;
  --ms-cta: #558148;
  --ms-cta-hover: #4A7240;
  --ms-cream: #F5F1EA;
  --ms-beige: #F2EFE9;
  --ms-mint: #BFE0AE;
  --ms-white: #FFFFFF;
  --ms-border: #E4DED3;
  --ms-border-card: #E9E4DA;
  --ms-text-2: #4A5544;
  --ms-text-3: #5C6656;
  --ms-device-color: #1F271B;
  --ms-badge-bg: #111410;
  --ms-serif: 'Playfair Display', 'Noto Naskh Arabic', Georgia, serif;
  --ms-sans: 'Plus Jakarta Sans', 'Noto Kufi Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ms-gutter: clamp(20px, 6vw, 96px);
  --ms-gutter-sm: clamp(16px, 3.4vw, 48px);
  --ms-max: 1440px;
  --ms-shadow-card: 0 1px 2px rgba(46,58,40,.04), 0 20px 40px -24px rgba(46,58,40,.25);
  --ms-shadow-soft: 0 1px 2px rgba(46,58,40,.04), 0 10px 30px -18px rgba(46,58,40,.18);
  --ms-shadow-pill: 0 1px 2px rgba(46,58,40,.04), 0 8px 20px -14px rgba(46,58,40,.25);
  --ms-shadow-float: 0 18px 40px -14px rgba(46,58,40,.3);
  --ms-shadow-device: 0 2px 4px rgba(46,58,40,.08), 0 30px 60px -20px rgba(46,58,40,.35);
  --ms-shadow-cta: 0 12px 26px -12px rgba(85,129,72,.8);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.ms-body, .ms-body {
  margin: 0;
  background: var(--ms-cream);
  color: var(--ms-deep);
  font-family: var(--ms-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.ms-body img { max-width: 100%; }
.ms-body a { color: var(--ms-cta); }
.ms-body a:hover { color: var(--ms-deep); }
.ms-body button { font-family: inherit; }
.ms-body :focus-visible { outline: 2px solid var(--ms-cta); outline-offset: 3px; border-radius: 6px; }
.ms-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ms-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ms-deep); color: var(--ms-cream) !important; font-weight: 600; text-decoration: none; }
.ms-skip:focus { top: 12px; }
/* Translations pending (non-FR first paint): hide the FR fallback text briefly */
html.ms-pending [data-t], html.ms-pending [data-t-html] { visibility: hidden; }

/* ---------- Layout ---------- */
.ms-section {
  width: 100%;
  max-width: var(--ms-max);
  margin-inline: auto;
  padding: clamp(56px, 7vw, 112px) var(--ms-gutter);
}
.ms-section--flush-top { padding-top: 0; }
.ms-section--flush-bottom { padding-bottom: 0; }
.ms-section--lg { padding-top: clamp(64px, 8vw, 128px); padding-bottom: clamp(64px, 8vw, 128px); }
.ms-section--narrow > * { max-width: 880px; margin-inline: auto; }
.ms-band { width: 100%; }
.ms-band--white { background: var(--ms-white); }
.ms-band--beige { background: var(--ms-beige); }
.ms-band--deep { background: var(--ms-deep); color: var(--ms-cream); }
.ms-inset { width: 100%; max-width: var(--ms-max); margin-inline: auto; padding: 0 var(--ms-gutter-sm); }
.ms-panel {
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
  padding: clamp(32px, 5vw, 72px);
  border-radius: 36px;
  background: var(--ms-white);
}
.ms-panel--mint { background: var(--ms-mint); color: var(--ms-deep); }
.ms-panel--deep { background: var(--ms-deep); color: var(--ms-cream); }
.ms-panel--beige { background: var(--ms-beige); }
.ms-panel--white { background: var(--ms-white); }
.ms-panel__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ms-panel__media { flex: 1 1 320px; max-width: 460px; min-width: 0; }
.ms-split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.ms-split__a { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.ms-split__b { flex: 1 1 460px; min-width: 0; }
.ms-stack { display: flex; flex-direction: column; gap: 24px; }
.ms-center { text-align: center; align-items: center; margin-inline: auto; }
.ms-head { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; margin-bottom: 48px; }
.ms-head--start { align-items: flex-start; text-align: start; }

/* ---------- Typography ---------- */
.ms-serif { font-family: var(--ms-serif); }
.ms-h1 {
  margin: 0; font-family: var(--ms-serif); font-weight: 600;
  font-size: clamp(42px, 5vw, 76px); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance;
}
.ms-h1--md { font-size: clamp(42px, 5vw, 72px); line-height: 1.05; }
.ms-h2 {
  margin: 0; font-family: var(--ms-serif); font-weight: 600;
  font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -.01em; text-wrap: balance;
}
.ms-h2--sm { font-size: clamp(32px, 3.4vw, 48px); }
.ms-h2--xs { font-size: clamp(28px, 2.6vw, 38px); }
.ms-h3 { margin: 0; font-family: var(--ms-serif); font-weight: 600; font-size: 30px; line-height: 1.15; }
.ms-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ms-cta); }
html[lang="ar"] .ms-eyebrow, html[lang="ar"] .ms-ftr__h { letter-spacing: 0; }
.ms-lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ms-text-2); text-wrap: pretty; }
.ms-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ms-text-2); }
.ms-muted { color: var(--ms-text-3); }
.ms-panel--deep .ms-lead, .ms-band--deep .ms-lead, .ms-cta__box .ms-lead { color: var(--ms-cream); opacity: .9; }
.ms-panel--mint .ms-lead { color: var(--ms-deep); }
.ms-tag {
  align-self: flex-start; display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px;
  background: var(--ms-mint); color: var(--ms-deep); white-space: nowrap;
}
.ms-tag--sm { padding: 6px 12px; }

/* ---------- Buttons ---------- */
.ms-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 28px; border-radius: 999px; border: 0;
  font-family: var(--ms-sans); font-size: 16px; font-weight: 700; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ms-body a.ms-btn { text-decoration: none; }
.ms-btn--primary, .ms-body a.ms-btn--primary { background: var(--ms-cta); color: #fff; box-shadow: var(--ms-shadow-cta); }
.ms-btn--primary:hover, .ms-body a.ms-btn--primary:hover { background: var(--ms-cta-hover); color: #fff; }
.ms-btn--secondary, .ms-body a.ms-btn--secondary { background: var(--ms-white); color: var(--ms-deep); border: 1px solid var(--ms-border); font-weight: 600; padding: 0 26px; }
.ms-btn--secondary:hover, .ms-body a.ms-btn--secondary:hover { border-color: var(--ms-cta); color: var(--ms-deep); }
.ms-btn--dark, .ms-body a.ms-btn--dark { background: var(--ms-deep); color: var(--ms-cream); font-weight: 600; }
.ms-btn--dark:hover, .ms-body a.ms-btn--dark:hover { background: #1F271B; color: var(--ms-cream); }
.ms-btn--mint, .ms-body a.ms-btn--mint { background: var(--ms-mint); color: var(--ms-deep); }
.ms-btn--mint:hover, .ms-body a.ms-btn--mint:hover { background: #CDE8BF; color: var(--ms-deep); }
.ms-btn--outline-light, .ms-body a.ms-btn--outline-light { background: transparent; color: var(--ms-cream); border: 1px solid rgba(245,241,234,.35); font-weight: 600; padding: 0 26px; }
.ms-btn--outline-light:hover, .ms-body a.ms-btn--outline-light:hover { border-color: var(--ms-cream); color: var(--ms-cream); }
.ms-btn--sm { height: 52px; padding: 0 24px; font-size: 15px; }
.ms-btn--block { display: flex; width: 100%; }
.ms-btn[disabled], .ms-btn.is-disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.ms-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ms-link-arrow, .ms-body a.ms-link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 16px; font-weight: 700; color: var(--ms-cta); text-decoration: none;
}
.ms-body a.ms-link-arrow:hover { color: var(--ms-deep); }
.ms-panel--deep a.ms-link-arrow { color: var(--ms-mint); }

/* ---------- Chips / checks ---------- */
.ms-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-chip {
  display: inline-flex; align-items: center; font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; background: var(--ms-white); border: 1px solid var(--ms-border);
}
.ms-check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ms-mint); display: inline-flex; align-items: center; justify-content: center;
}
.ms-check svg { width: 12px; height: 12px; }
.ms-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ms-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; }
.ms-checks li .ms-check { margin-top: 1px; }
.ms-checks--inline { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; }
.ms-checks--inline li { align-items: center; font-weight: 500; }

/* =====================================================================
   HEADER  (rendered by ms.js into <div id="ms-header" data-universe data-page>)
   ===================================================================== */
#ms-header { min-height: 137px; position: relative; z-index: 30; }
.ms-hdr { position: relative; z-index: 30; background: var(--ms-cream); color: var(--ms-deep); font-family: var(--ms-sans); }
.ms-hdr a { text-decoration: none; }
.ms-hdr__top {
  height: 52px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; border-bottom: 1px solid var(--ms-border);
}
.ms-uni { display: flex; padding: 4px; gap: 2px; background: var(--ms-white); border: 1px solid var(--ms-border); border-radius: 999px; }
.ms-uni__opt, .ms-hdr a.ms-uni__opt {
  display: flex; align-items: center; justify-content: center; height: 34px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ms-deep); background: transparent; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.ms-hdr a.ms-uni__opt:hover { color: var(--ms-cta); }
.ms-hdr a.ms-uni__opt.is-active, .ms-hdr a.ms-uni__opt.is-active:hover { background: var(--ms-deep); color: var(--ms-cream); }
.ms-lang { position: relative; }
.ms-lang__btn {
  display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--ms-border); background: var(--ms-white); color: var(--ms-deep);
  font: 600 13px var(--ms-sans); cursor: pointer;
}
.ms-lang__btn svg { flex-shrink: 0; }
.ms-lang__menu {
  position: absolute; top: 44px; inset-inline-end: 0; min-width: 170px; z-index: 40;
  background: var(--ms-white); border: 1px solid var(--ms-border); border-radius: 18px; padding: 6px;
  box-shadow: 0 18px 40px -16px rgba(46,58,40,.25); display: flex; flex-direction: column; gap: 2px;
}
.ms-lang__menu[hidden] { display: none; }
.ms-lang__opt {
  text-align: start; height: 38px; padding: 0 12px; border-radius: 12px; border: 0; background: transparent;
  color: var(--ms-deep); font: 500 14px var(--ms-sans); cursor: pointer;
}
.ms-lang__opt:hover, .ms-lang__opt.is-active { background: var(--ms-beige); }
.ms-hdr__main { height: 84px; display: flex; align-items: center; gap: 40px; padding: 0 48px; }
.ms-logo, .ms-hdr a.ms-logo, .ms-body a.ms-logo { display: flex; align-items: center; gap: 10px; color: var(--ms-deep); flex-shrink: 0; text-decoration: none; }
.ms-logo__img { width: 36px; height: 36px; display: block; }
.ms-logo__name { font-family: var(--ms-serif); font-size: 24px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.ms-logo__pro { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--ms-mint); color: var(--ms-deep); font-family: var(--ms-sans); }
.ms-nav { display: flex; align-items: center; gap: 28px; flex: 1; min-width: 0; }
.ms-nav__link, .ms-hdr a.ms-nav__link {
  font-size: 15px; font-weight: 500; color: var(--ms-deep); white-space: nowrap;
  padding-bottom: 3px; border-bottom: 2px solid transparent; transition: color .2s ease;
}
.ms-hdr a.ms-nav__link:hover { color: var(--ms-cta); }
.ms-hdr a.ms-nav__link.is-active { border-bottom-color: var(--ms-cta); }
.ms-hdr__cta, .ms-hdr a.ms-hdr__cta {
  display: flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--ms-cta); color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(85,129,72,.7); transition: background-color .2s ease;
}
.ms-hdr a.ms-hdr__cta:hover { background: var(--ms-cta-hover); color: #fff; }
/* mobile bar */
.ms-hdr__mobile {
  display: none; height: 64px; align-items: center; justify-content: space-between;
  padding-block: 0; padding-inline: 20px 16px; border-bottom: 1px solid var(--ms-border);
}
.ms-hdr__mobile .ms-logo { gap: 8px; }
.ms-hdr__mobile .ms-logo__img { width: 30px; height: 30px; }
.ms-hdr__mobile .ms-logo__name { font-size: 20px; }
.ms-hdr__mobile .ms-logo__pro { font-size: 11px; padding: 3px 8px; }
.ms-iconbtn {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--ms-border); background: var(--ms-white);
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ms-deep); flex-shrink: 0;
}
/* full-screen mobile menu */
.ms-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ms-cream); color: var(--ms-deep);
  display: flex; flex-direction: column; gap: 24px; padding: 12px 20px 28px;
  overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 0 30px 60px -30px rgba(46,58,40,.4);
}
.ms-menu[hidden] { display: none; }
.ms-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.ms-menu .ms-logo__img { width: 30px; height: 30px; }
.ms-menu .ms-logo__name { font-size: 20px; }
.ms-menu .ms-uni { gap: 0; }
.ms-menu .ms-uni__opt { flex: 1; height: 44px; font-size: 15px; }
.ms-menu__nav { display: flex; flex-direction: column; }
.ms-menu__nav a, .ms-hdr .ms-menu__nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px;
  border-bottom: 1px solid var(--ms-border); font-family: var(--ms-serif); font-size: 24px; color: var(--ms-deep);
}
.ms-menu__nav a.is-active { color: var(--ms-cta); }
.ms-menu__arrow { font-family: var(--ms-sans); font-size: 18px; color: var(--ms-cta); }
.ms-menu__langs { display: flex; flex-direction: column; gap: 10px; }
.ms-menu__label { font-size: 13px; font-weight: 600; color: var(--ms-text-3); }
.ms-langchips { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-langchip {
  height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ms-border); background: var(--ms-white);
  color: var(--ms-deep); font: 600 14px var(--ms-sans); cursor: pointer;
}
.ms-langchip.is-active { background: var(--ms-mint); border-color: var(--ms-mint); }
.ms-menu__cta, .ms-hdr a.ms-menu__cta {
  margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 20px;
  border-radius: 999px; background: var(--ms-cta); color: #fff; font-size: 16px; font-weight: 600; text-align: center;
}
html.ms-menu-open, html.ms-menu-open body { overflow: hidden; }

@media (max-width: 1320px) {
  .ms-hdr__top, .ms-hdr__main { padding-inline: 32px; }
  .ms-hdr__main { gap: 28px; }
  .ms-nav { gap: 20px; }
}
@media (max-width: 1180px) {
  #ms-header { min-height: 65px; }
  .ms-hdr__top, .ms-hdr__main { display: none; }
  .ms-hdr__mobile { display: flex; }
}

/* =====================================================================
   FOOTER  (rendered by ms.js into <div id="ms-footer">)
   ===================================================================== */
.ms-ftr {
  background: var(--ms-deep); color: var(--ms-cream); font-family: var(--ms-sans);
  padding: clamp(56px, 6vw, 88px) var(--ms-gutter-sm) 32px;
}
.ms-ftr__in { max-width: var(--ms-max); margin-inline: auto; }
.ms-ftr__top { display: flex; flex-wrap: wrap; gap: 48px 64px; justify-content: space-between; }
.ms-ftr__brand { flex: 1 1 300px; max-width: 380px; display: flex; flex-direction: column; gap: 20px; }
.ms-ftr .ms-logo, .ms-ftr a.ms-logo { color: var(--ms-cream); }
.ms-ftr .ms-logo__img { width: 40px; height: 40px; }
.ms-ftr .ms-logo__name { font-size: 26px; }
.ms-ftr__tagline { margin: 0; font-family: var(--ms-serif); font-size: 22px; line-height: 1.35; color: var(--ms-cream); text-wrap: pretty; }
.ms-ftr__cols { flex: 2 1 480px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
.ms-ftr__col { display: flex; flex-direction: column; gap: 12px; }
.ms-ftr__h { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ms-mint); }
.ms-ftr a.ms-ftr__link { font-size: 15px; color: var(--ms-cream); text-decoration: none; opacity: .9; }
.ms-ftr a.ms-ftr__link:hover { opacity: 1; text-decoration: underline; color: var(--ms-cream); }
.ms-ftr__bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(245,241,234,.18);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.ms-ftr__rights { font-size: 13px; color: var(--ms-cream); opacity: .85; }
.ms-ftr__langs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ms-ftr__lang {
  height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(245,241,234,.25);
  background: transparent; color: var(--ms-cream); font: 600 13px var(--ms-sans); cursor: pointer;
}
.ms-ftr__lang.is-active { background: var(--ms-mint); border-color: var(--ms-mint); color: var(--ms-deep); }

/* =====================================================================
   STORE BADGES
   ===================================================================== */
.ms-stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
.ms-stores--center { justify-content: center; }
.ms-store, .ms-body a.ms-store {
  display: inline-flex; align-items: center; gap: 10px; height: 52px;
  padding-block: 0; padding-inline: 14px 18px; border-radius: 14px;
  background: var(--ms-badge-bg); color: #fff; text-decoration: none; border: 1px solid var(--ms-badge-bg);
  font-family: var(--ms-sans); transition: transform .2s ease;
}
.ms-body a.ms-store:hover { color: #fff; transform: translateY(-1px); }
.ms-stores--dark .ms-store { border-color: rgba(245,241,234,.25); }
.ms-store__txt { display: flex; flex-direction: column; line-height: 1.1; text-align: start; }
.ms-store__small { font-size: 10.5px; opacity: .85; }
.ms-store__big { font-size: 16px; font-weight: 600; }

/* =====================================================================
   DEVICE FRAMES  (MS.device(shot, kind, opts) / [data-ms-device])
   ===================================================================== */
.ms-device { width: 100%; --ms-tilt: 0deg; }
/* Tilt lives on the frame (the reveal animation moves the outer box), so the
   rotation is never re-rasterised mid-transition. */
.ms-device__frame { position: relative; width: 100%; transform: rotate(var(--ms-tilt)); backface-visibility: hidden; }
.ms-device__screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--ms-beige); }
.ms-device__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.ms-device__img.is-broken { visibility: hidden; }
/* phone */
.ms-device--phone { container-type: inline-size; }
.ms-device--phone .ms-device__frame {
  aspect-ratio: 9 / 19.5; background: var(--ms-device-color);
  border-radius: 46px; padding: 10px; box-shadow: var(--ms-shadow-device);
}
.ms-device--phone .ms-device__screen { border-radius: 37px; }
@supports (width: 1cqi) {
  .ms-device--phone .ms-device__frame { border-radius: clamp(22px, 17.5cqi, 46px); padding: clamp(5px, 3.8cqi, 10px); }
  .ms-device--phone .ms-device__screen { border-radius: clamp(17px, 14cqi, 37px); }
}
.ms-device__notch { /* inside .ms-device__screen */
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 32%; height: 20px;
  border-radius: 999px; background: var(--ms-device-color); pointer-events: none;
}
@supports (width: 1cqi) { .ms-device__notch { top: clamp(5px, 3.8cqi, 10px); height: clamp(11px, 7.6cqi, 20px); } }
/* Phone captures have no status bar: reserve a status-bar strip under the
   notch so the island never covers the app's own header. */
.ms-device--phone .ms-device__screen { background: #F3EFE8; }
.ms-device--phone .ms-device__img { top: 30px; height: calc(100% - 30px); }
@supports (width: 1cqi) {
  .ms-device--phone .ms-device__img { top: clamp(16px, 12.5cqi, 32px); height: calc(100% - clamp(16px, 12.5cqi, 32px)); }
}
/* tablet */
.ms-device--tablet .ms-device__frame {
  aspect-ratio: 2560 / 1464; /* = tablet captures (status bars cropped) */ background: var(--ms-device-color); border-radius: 30px; padding: 14px; box-shadow: var(--ms-shadow-device);
}
.ms-device--tablet .ms-device__screen { border-radius: 18px; }
/* desktop window */
.ms-device--desktop .ms-device__frame {
  background: var(--ms-white); border-radius: 18px; overflow: hidden; border: 1px solid var(--ms-border);
  box-shadow: 0 2px 4px rgba(46,58,40,.06), 0 30px 60px -24px rgba(46,58,40,.3);
}
.ms-device__bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--ms-beige); border-bottom: 1px solid var(--ms-border); }
.ms-device__bar span { width: 10px; height: 10px; border-radius: 50%; background: #D9D3C7; }
.ms-device--desktop .ms-device__screen { aspect-ratio: 2560 / 1464; /* = desktop capture, no crop */ height: auto; }
/* flat illustration / photo */
.ms-device--illus .ms-device__frame, .ms-device--photo .ms-device__frame {
  aspect-ratio: var(--ms-ratio, 1 / 1); border-radius: 28px; overflow: hidden; background: var(--ms-beige);
}
.ms-device--illus .ms-device__screen, .ms-device--photo .ms-device__screen { position: absolute; inset: 0; }
.ms-device--illus .ms-device__img { object-fit: contain; object-position: center; }
.ms-device--fill, .ms-device--fill .ms-device__frame { height: 100%; }
.ms-device--fill .ms-device__frame { aspect-ratio: auto; }

/* Scroll reveal (devices + any [data-reveal]) */
.ms-reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.ms-reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .ms-reveal, .ms-reveal.is-in { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   FLOATING CHIP (hero / feature panels)
   ===================================================================== */
.ms-float {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  padding-block: 12px; padding-inline: 12px 18px; background: var(--ms-white); border-radius: 18px;
  box-shadow: var(--ms-shadow-float); font-size: 14px; font-weight: 600; color: var(--ms-deep); max-width: 90%;
}
.ms-float__ic { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ms-mint); }
.ms-float__ic--green { background: var(--ms-cta); }
.ms-float--top { top: 8%; inset-inline-end: 0; }
.ms-float--bottom { bottom: 8%; inset-inline-start: 0; }

/* =====================================================================
   HERO
   ===================================================================== */
.ms-hero {
  max-width: var(--ms-max); margin-inline: auto;
  padding: clamp(40px, 5vw, 80px) var(--ms-gutter) clamp(56px, 6vw, 96px);
}
.ms-hero__in { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 80px); }
.ms-hero__text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 24px; max-width: 620px; min-width: 0; }
.ms-hero__title { /* = .ms-h1 */ margin: 0; font-family: var(--ms-serif); font-weight: 600; font-size: clamp(42px, 5vw, 76px); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.ms-hero__title2 { display: block; color: var(--ms-cta); font-style: italic; margin-top: 6px; }
html[lang="ar"] .ms-hero__title2 { font-style: normal; }
.ms-hero__sub { margin: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--ms-text-2); max-width: 540px; text-wrap: pretty; }
.ms-hero__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ms-text-3); }
.ms-hero__visual { flex: 1 1 440px; position: relative; height: clamp(480px, 46vw, 660px); min-width: 0; }
.ms-hero__bg { position: absolute; inset: 4% 0 0; border-radius: 40px; background: var(--ms-beige); }
.ms-hero__blob { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--ms-mint); opacity: .55; top: 6%; inset-inline-end: 4%; }
.ms-hero__slot { position: absolute; }
/* duo */
[data-visual="duo"] .ms-hero__slot--a { top: 0; inset-inline-start: 12%; width: clamp(180px, 17vw, 262px); z-index: 1; }
[data-visual="duo"] .ms-hero__slot--b { top: 10%; inset-inline-end: 10%; width: clamp(180px, 17vw, 262px); z-index: 2; }
/* trio */
[data-visual="trio"] .ms-hero__slot--a { top: 12%; inset-inline-start: 2%; width: clamp(130px, 13vw, 200px); }
[data-visual="trio"] .ms-hero__slot--b { top: 2%; left: 50%; margin-left: clamp(-100px, -6.5vw, -65px); width: clamp(130px, 13vw, 200px); z-index: 2; }
[data-visual="trio"] .ms-hero__slot--c { top: 12%; inset-inline-end: 2%; width: clamp(130px, 13vw, 200px); }
/* phone + tablet */
[data-visual="phoneTablet"] .ms-hero__slot--b { top: 10%; inset-inline-end: 0; width: 84%; }
[data-visual="phoneTablet"] .ms-hero__slot--a { top: 28%; inset-inline-start: 4%; width: clamp(140px, 13vw, 200px); z-index: 2; }
/* desktop / illustration */
[data-visual="desktop"] .ms-hero__slot--a { top: 14%; inset-inline: 4%; }
[data-visual="illus"] .ms-hero__slot--a { top: 8%; inset-inline: 6%; }

/* Hero search */
.ms-search {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px;
  background: var(--ms-white); border-radius: 30px; max-width: 640px;
  box-shadow: 0 1px 2px rgba(46,58,40,.05), 0 24px 50px -24px rgba(46,58,40,.3);
}
.ms-search__field {
  position: relative; flex: 1 1 200px; display: flex; align-items: center; gap: 10px; height: 52px;
  padding-inline: 16px; border-radius: 22px; background: var(--ms-cream); min-width: 0;
}
.ms-search__field--where { flex: 1 1 150px; padding-inline-end: 8px; }
.ms-search__field > svg { flex-shrink: 0; }
.ms-search__input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font: 500 15px var(--ms-sans); color: var(--ms-deep); height: 100%;
}
.ms-search__input::placeholder { color: var(--ms-text-3); opacity: 1; }
.ms-search__chip {
  flex-shrink: 0; font: 700 12.5px var(--ms-sans); padding: 7px 10px; border-radius: 999px; border: 0;
  background: var(--ms-mint); color: var(--ms-deep); white-space: nowrap; cursor: pointer;
}
.ms-search__chip.active { background: var(--ms-deep); color: var(--ms-cream); }
.ms-search__btn {
  flex: 1 0 auto; display: flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px;
  border-radius: 22px; border: 0; background: var(--ms-cta); color: #fff; font: 700 15px var(--ms-sans); cursor: pointer;
  transition: background-color .2s ease;
}
.ms-search__btn:hover { background: var(--ms-cta-hover); }

/* =====================================================================
   FEATURE ROWS  (MS.renderFeatureRows)
   ===================================================================== */
.ms-features { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 128px); }
.ms-feature { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 6vw, 96px); flex-direction: row; scroll-margin-top: 90px; }
.ms-feature--reverse { flex-direction: row-reverse; }
.ms-feature__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; max-width: 540px; min-width: 0; }
.ms-feature__head { display: flex; align-items: center; gap: 12px; }
.ms-feature__num { font-family: var(--ms-serif); font-size: 15px; color: var(--ms-cta); }
.ms-feature__title { margin: 0; font-family: var(--ms-serif); font-weight: 600; font-size: clamp(30px, 3.1vw, 46px); line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
.ms-feature__desc { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ms-text-2); text-wrap: pretty; }
.ms-feature .ms-checks { margin-top: 4px; }
.ms-feature__panel {
  flex: 1 1 420px; position: relative; height: clamp(500px, 42vw, 620px); border-radius: 32px;
  background: var(--ms-panel, var(--ms-beige)); overflow: hidden; min-width: 0;
}
.ms-feature__slot { position: absolute; }
.ms-feature__slot--a { top: 9%; inset-inline-start: 13%; width: clamp(160px, 15.5vw, 232px); z-index: 1; }
.ms-feature__slot--b { top: 17%; inset-inline-end: 11%; width: clamp(160px, 15.5vw, 232px); z-index: 2; }
.ms-feature__slot--single { top: 8%; left: 50%; transform: translateX(-50%); width: clamp(180px, 17vw, 252px); }
.ms-feature__slot--tablet { top: 14%; inset-inline-start: 7%; width: 86%; }
.ms-feature__panel .ms-float { bottom: 9%; inset-inline-start: 7%; z-index: 3; }

/* =====================================================================
   STEPS (home "how it works")
   ===================================================================== */
.ms-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.ms-step {
  display: flex; flex-direction: column; gap: 16px; padding: 32px 28px 0; border-radius: 28px;
  background: var(--ms-cream); overflow: hidden; height: 540px;
}
.ms-step__num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ms-deep); color: var(--ms-cream);
  display: flex; align-items: center; justify-content: center; font-family: var(--ms-serif); font-size: 20px; flex-shrink: 0;
}
.ms-step__title { margin: 0; font-family: var(--ms-serif); font-weight: 600; font-size: 30px; }
.ms-step__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ms-text-2); }
.ms-step__device { width: 62%; margin: 12px auto 0; }

/* =====================================================================
   SEGMENTED TOGGLE + CATEGORY PILLS
   ===================================================================== */
.ms-seg { display: inline-flex; padding: 4px; background: var(--ms-white); border: 1px solid var(--ms-border); border-radius: 999px; }
.ms-seg__btn {
  height: 38px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer; background: transparent;
  color: var(--ms-deep); font: 600 14px var(--ms-sans); transition: background-color .2s ease, color .2s ease;
}
.ms-seg__btn.active, .ms-seg__btn.is-active { background: var(--ms-deep); color: var(--ms-cream); }
.ms-cats { display: flex; flex-wrap: wrap; gap: 12px; }
.ms-cat {
  display: flex; align-items: center; gap: 12px; padding-block: 8px; padding-inline: 8px 20px; border-radius: 999px;
  background: var(--ms-white); box-shadow: var(--ms-shadow-pill); border: 0; text-decoration: none;
  color: var(--ms-deep); font: 600 15px var(--ms-sans); cursor: pointer; transition: background-color .2s ease;
}
.ms-cat:hover, .ms-cat.active { background: var(--ms-mint); color: var(--ms-deep); }
.ms-cat__img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--ms-beige); display: block; }

/* =====================================================================
   PRICE CARDS  (MS.renderPriceCards)
   ===================================================================== */
.ms-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }
.ms-price {
  position: relative; height: 100%; display: flex; flex-direction: column; gap: 22px; padding: 32px 28px;
  border-radius: 28px; background: var(--ms-white); color: var(--ms-deep); border: 1px solid var(--ms-border-card);
  box-shadow: var(--ms-shadow-card);
}
.ms-price--hi { background: var(--ms-deep); color: var(--ms-cream); border-color: var(--ms-deep); }
.ms-price__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ms-price__name { font-family: var(--ms-serif); font-size: 28px; font-weight: 600; }
.ms-price__badge { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--ms-mint); color: var(--ms-deep); white-space: nowrap; }
.ms-price__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ms-price__amount { font-family: var(--ms-serif); font-size: 52px; font-weight: 600; line-height: 1; }
.ms-price__amount--long { font-size: 30px; }
.ms-price__unit { font-size: 15px; opacity: .85; }
.ms-price__desc { margin: 0; font-size: 15px; line-height: 1.55; opacity: .9; }
.ms-price__features { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ms-price__features li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.ms-price__features .ms-check { width: 22px; height: 22px; }
.ms-price__features .ms-check svg { width: 11px; height: 11px; }
.ms-price__cta, .ms-body a.ms-price__cta {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 20px; border-radius: 999px;
  background: var(--ms-cta); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; text-align: center;
}
.ms-body a.ms-price__cta:hover { background: var(--ms-cta-hover); color: #fff; }
.ms-body .ms-price--hi a.ms-price__cta { background: var(--ms-mint); color: var(--ms-deep); }
.ms-body .ms-price--hi a.ms-price__cta:hover { background: #CDE8BF; color: var(--ms-deep); }

/* =====================================================================
   FAQ  (MS.renderFaq — one open at a time, first open)
   ===================================================================== */
.ms-faq { max-width: var(--ms-max); margin-inline: auto; padding: clamp(56px, 7vw, 112px) var(--ms-gutter); }
.ms-faq__in { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.ms-faq__title { margin: 0; font-family: var(--ms-serif); font-weight: 600; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -.01em; text-align: center; }
.ms-faq__list { display: flex; flex-direction: column; gap: 12px; }
.ms-faq__item { background: var(--ms-white); border-radius: 22px; box-shadow: var(--ms-shadow-soft); }
.ms-faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px;
  border: 0; background: transparent; cursor: pointer; text-align: start; color: var(--ms-deep);
  font: 600 17px/1.4 var(--ms-sans); border-radius: 22px;
}
.ms-faq__icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--ms-beige);
  display: flex; align-items: center; justify-content: center; transition: transform .25s ease, background-color .25s ease;
}
.ms-faq__item.is-open .ms-faq__icon { background: var(--ms-mint); transform: rotate(45deg); }
.ms-faq__a { margin: 0; padding: 0 24px 24px; font-size: 16px; line-height: 1.65; color: var(--ms-text-2); text-wrap: pretty; }
.ms-faq__a[hidden] { display: none; }

/* =====================================================================
   CTA BLOCK (deep green, phone hanging off the bottom)
   ===================================================================== */
.ms-cta { max-width: var(--ms-max); margin-inline: auto; padding: clamp(24px, 4vw, 64px) var(--ms-gutter-sm); scroll-margin-top: 20px; }
.ms-cta__box {
  position: relative; overflow: hidden; border-radius: 36px; background: var(--ms-deep); color: var(--ms-cream);
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
  padding: clamp(40px, 5.5vw, 88px) clamp(24px, 5.5vw, 88px) 0;
}
.ms-cta__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; padding-bottom: clamp(40px, 5.5vw, 88px); min-width: 0; }
.ms-cta__title { margin: 0; font-family: var(--ms-serif); font-weight: 600; font-size: clamp(36px, 4vw, 60px); line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; }
.ms-cta__sub { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ms-cream); opacity: .9; max-width: 460px; }
.ms-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ms-cta__media { flex: 1 1 340px; display: flex; justify-content: center; align-self: flex-end; min-width: 0; }
.ms-cta__device { width: clamp(200px, 17vw, 250px); margin-block: 8px; }

/* =====================================================================
   CARDS / ROWS / CHAT
   ===================================================================== */
.ms-card { padding: 28px; border-radius: 24px; background: var(--ms-white); display: flex; flex-direction: column; gap: 12px; }
.ms-card--cream { background: var(--ms-cream); }
.ms-card--beige { background: var(--ms-beige); }
.ms-card--deep { background: var(--ms-deep); color: var(--ms-cream); }
.ms-card--shadow { box-shadow: var(--ms-shadow-card); }
.ms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.ms-rows { display: flex; flex-direction: column; gap: 10px; }
.ms-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-radius: 20px; background: var(--ms-white); }
.ms-row__t { font-size: 17px; font-weight: 700; }
.ms-row__d { font-size: 14px; color: var(--ms-text-3); text-align: end; }
.ms-chat { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 28px; background: var(--ms-beige); color: var(--ms-deep); }
.ms-bubble { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.5; box-shadow: 0 1px 2px rgba(46,58,40,.08); }
.ms-bubble--z { align-self: flex-start; background: var(--ms-white); }
.ms-bubble--c { align-self: flex-end; background: var(--ms-mint); }
@keyframes msIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes msDot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.ms-bubble--in { animation: msIn .45s ease both; }
.ms-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--ms-white); }
.ms-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ms-cta); animation: msDot 1.2s infinite; }
.ms-typing span:nth-child(2) { animation-delay: .15s; }
.ms-typing span:nth-child(3) { animation-delay: .3s; }

/* =====================================================================
   FORMS
   ===================================================================== */
.ms-form { display: flex; flex-direction: column; gap: 16px; }
.ms-form-card { padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--ms-white); box-shadow: var(--ms-shadow-card); }
.ms-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ms-label { font-size: 14px; font-weight: 600; color: var(--ms-deep); }
.ms-input, .ms-select, .ms-textarea {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--ms-border);
  background: var(--ms-white); color: var(--ms-deep); font: 500 15px var(--ms-sans); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ms-textarea { min-height: 140px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.ms-input:focus, .ms-select:focus, .ms-textarea:focus { border-color: var(--ms-cta); box-shadow: 0 0 0 3px rgba(85,129,72,.18); }
.ms-input::placeholder, .ms-textarea::placeholder { color: var(--ms-text-3); opacity: 1; }
.ms-input--cream { background: var(--ms-cream); border-color: transparent; }
.ms-help { font-size: 13px; color: var(--ms-text-3); }
.ms-error { font-size: 13px; color: #B3261E; }
.ms-input.is-invalid { border-color: #B3261E; }

/* =====================================================================
   Phone tweaks (390)
   ===================================================================== */
@media (max-width: 600px) {
  .ms-btn { height: 54px; padding: 0 24px; }
  .ms-hero__actions .ms-btn { flex: 0 0 auto; } /* design: natural width, wraps */
  .ms-faq__q { padding: 20px; font-size: 16px; }
  .ms-faq__a { padding: 0 20px 22px; }
  .ms-step { height: auto; min-height: 520px; }
  .ms-row { flex-wrap: wrap; }
  .ms-row__d { text-align: start; }
}

/* =====================================================================
   UTILITIES added for pages
   ===================================================================== */
/* Direction-aware arrow: <span class="ms-arrow" aria-hidden="true"></span> */
.ms-arrow::after { content: "\2192"; }
[dir="rtl"] .ms-arrow::after { content: "\2190"; }
/* Section whose children are spaced like the design feature lists */
.ms-section--stack { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 128px); }
.ms-section__title { margin-inline: auto; max-width: 760px; text-align: center; }
/* Cross-universe link card ("Vous êtes un salon ? Découvrez Mon Salon Pro →") */
.ms-xlink-wrap { max-width: var(--ms-max); margin-inline: auto; padding: 24px var(--ms-gutter) 0; }
.ms-xlink, .ms-body a.ms-xlink {
  max-width: 880px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 22px 28px; border-radius: 24px; background: var(--ms-white); border: 1px solid var(--ms-border);
  text-decoration: none; color: var(--ms-deep); transition: border-color .2s ease;
}
.ms-body a.ms-xlink:hover { border-color: var(--ms-cta); color: var(--ms-deep); }
.ms-xlink__text { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; }
.ms-xlink__text img { width: 30px; height: 30px; }
.ms-xlink__go { font-size: 16px; font-weight: 700; color: var(--ms-cta); display: inline-flex; gap: 6px; }
/* Deep strip with inline checks ("Gratuit pour démarrer" band) */
.ms-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px;
  padding: 28px clamp(24px, 4vw, 56px); border-radius: 28px; background: var(--ms-deep); color: var(--ms-cream);
}
.ms-strip__title { margin: 0; font-family: var(--ms-serif); font-weight: 600; font-size: clamp(26px, 2.4vw, 34px); flex: 0 0 auto; }
.ms-strip .ms-checks { flex: 1; min-width: 0; }
.ms-panel--roomy { padding: clamp(32px, 5.5vw, 80px); }
.ms-panel__chat { flex: 1 1 340px; min-width: 0; }
.ms-panel__media--sm { flex: 0 1 380px; }
.ms-price__amount, .ms-step__num, .ms-feature__num { font-variant-numeric: lining-nums; }
@media (max-width: 600px) { .ms-search__field--where { flex-basis: 100%; } }
/* App-icon screen (download block): status strip matches its mint top. */
[data-shot="client/app-icone"] .ms-device__screen { background: #5E7A52; }
[data-shot="client/app-icone"] .ms-device__img { top: 0; height: 100%; }
/* Feature panels: phones never taller than the panel (bottom was cropped
   on small screens). Width capped from the panel height (phone = 9/19.5). */
.ms-feature__panel { container-type: size; }
.ms-feature__slot--a { width: min(clamp(160px, 15.5vw, 232px), 40cqh); }
.ms-feature__slot--b { width: min(clamp(160px, 15.5vw, 232px), 37cqh); }
.ms-feature__slot--single { width: min(clamp(180px, 17vw, 252px), 40cqh); }
.ms-device__screen:has(img[src*="app-icone"]) { background: #5E7A52; }
.ms-device__screen img[src*="app-icone"] { top: 0; height: 100%; }
/* Strip (e.g. "Gratuit pour démarrer"): stack on phones. */
@media (max-width: 760px) {
  .ms-strip { flex-direction: column; align-items: flex-start; }
  .ms-checks--inline { flex-direction: column; flex-wrap: wrap; }
}
/* Final CTA blocks: phone visual on desktop only (cut off and heavy on phones). */
@media (max-width: 760px) { .ms-cta__device { display: none; } }
/* Final CTA block: desktop only (user request). */
@media (max-width: 760px) { .ms-cta { display: none; } }
/* Home search: "Près de moi" only on phones (crowds the city field on desktop). */
@media (min-width: 761px) { .ms-search__chip { display: none; } }
/* phoneTablet hero on phones: tablet inset from the screen edge and below the
   "new booking" bubble so its screen stays fully visible. */
@media (max-width: 760px) {
  [data-visual="phoneTablet"] .ms-hero__slot--b { top: 17%; inset-inline-end: 3%; width: 80%; }
  [data-visual="phoneTablet"] .ms-hero__slot--a { top: 33%; }
  [data-visual="phoneTablet"] .ms-float--top { top: 2%; }
}
