/* ═══════════════════════════════════════════════════════════════════════
   Public site v2 (Nov 2026) — matches the "Landing" board of the Moknah
   redesign canvas. Loaded LAST by templates/home/home-tmp.html, so it sets
   the palette, type and chrome for every public page. Section classes are
   prefixed .ms- so they never collide with the older page CSS.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --ms-bg: #FFFFFF; --ms-panel: #FAFAFA; --ms-card: #FFFFFF; --ms-subtle: #F5F5F5;
  --ms-border: #E8E8E8; --ms-border-strong: #D4D4D4;
  --ms-text: #0A0A0A; --ms-muted: #5F5F5F;
  --ms-accent: #4746B4; --ms-accent-solid: #4746B4; --ms-accent-text: #FFFFFF;
  --ms-accent-bg: linear-gradient(180deg, #F4F3FF, #E9E7FF); --ms-accent-line: #D3CFFF;
  --ms-shadow: 0 40px 100px rgba(0,0,0,.14); --ms-chip-shadow: 0 16px 40px rgba(0,0,0,.14);
  --ms-font: Inter, 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ms-ok: #1F7A44; --ms-warn: #A16207; --ms-err: #D14343;
}
html.dark {
  --ms-bg: #0A0A0A; --ms-panel: #0E0E0E; --ms-card: #111111; --ms-subtle: #161616;
  --ms-border: #242424; --ms-border-strong: #3A3A3A;
  --ms-text: #F5F5F5; --ms-muted: #A3A3A3;
  --ms-accent: #8B80FF; --ms-accent-solid: #6C63E6; --ms-accent-text: #FFFFFF;
  --ms-accent-bg: linear-gradient(180deg, #221E40, #1B1834); --ms-accent-line: #3A3470;
  --ms-shadow: 0 40px 100px rgba(0,0,0,.5); --ms-chip-shadow: 0 16px 40px rgba(0,0,0,.45);
  --ms-ok: #4ADE80; --ms-warn: #FBBF24;
}
html:is([lang="ar"],[lang="ur"]) { --ms-font: 'IBM Plex Sans Arabic', Inter, system-ui, sans-serif; }

/* ── Base: one neutral ground for every public page ── */
body.ms-site, body.ms-site.theme-bg { background: var(--ms-bg) !important; color: var(--ms-text) !important; font-family: var(--ms-font) !important; }
body.ms-site .theme-bg { background: var(--ms-bg) !important; }
body.ms-site .theme-text { color: var(--ms-text) !important; }
body.ms-site .noise { display: none !important; }
body.ms-site h1, body.ms-site h2, body.ms-site h3, body.ms-site h4, body.ms-site p, body.ms-site a, body.ms-site button, body.ms-site input, body.ms-site textarea, body.ms-site select { font-family: var(--ms-font); }
body.ms-site .text-gray-400, body.ms-site .text-gray-500, body.ms-site .theme-text-secondary { color: var(--ms-muted) !important; }
body.ms-site .glass-effect { background: var(--ms-card) !important; border-color: var(--ms-border) !important; backdrop-filter: none !important; }
body.ms-site .mk-btn-primary, body.ms-site .bg-blue-600 { background: var(--ms-accent-solid) !important; color: var(--ms-accent-text) !important; box-shadow: none !important; }
body.ms-site .mk-btn-outline { background: transparent !important; color: var(--ms-text) !important; border: 1px solid var(--ms-border-strong) !important; }
body.ms-site .grad, body.ms-site .text-blue-400, body.ms-site .text-blue-500 { color: var(--ms-accent) !important; -webkit-text-fill-color: currentColor; background: none !important; }
#mk-page { padding-top: 72px; }

/* ── Shared atoms ── */
.ms-wrap { max-width: 1180px; margin: 0 auto; padding-inline: 32px; }
.ms-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 14.5px; text-decoration: none !important; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: filter .15s, background .15s; }
.ms-btn--lg { height: 50px; }
.ms-btn--primary { background: var(--ms-accent-solid); color: var(--ms-accent-text) !important; }
.ms-btn--primary:hover { filter: brightness(1.08); }
.ms-btn--ghost { background: transparent; color: var(--ms-text) !important; border-color: var(--ms-border-strong); }
.ms-btn--ghost:hover { background: var(--ms-subtle); }
.ms-btn--white { background: #FFFFFF; color: #0A0A0A !important; height: 52px; padding: 0 26px; border-radius: 14px; }
.ms-icon { width: 1em; height: 1em; flex: none; }
.ms-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ms-accent); }
html:is([lang="ar"],[lang="ur"]) .ms-eyebrow { letter-spacing: 0; text-transform: none; font-size: 14px; }
.ms-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; max-width: 760px; margin: 0 auto; }
.ms-h2 { margin: 0; font-size: 42px; line-height: 1.12; font-weight: 700; letter-spacing: -.03em; color: var(--ms-text); }
.ms-lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ms-muted); }
.ms-section { padding-top: 120px; }
.ms-deco { position: absolute; pointer-events: none; z-index: -1; }
html:is([lang="ar"],[lang="ur"]) .ms-h1, html:is([lang="ar"],[lang="ur"]) .ms-h2 { letter-spacing: 0; line-height: 1.3; }

/* ── Header ── */
.ms-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px; background: var(--ms-bg); border-bottom: 1px solid var(--ms-border); }
.ms-header__in { height: 100%; max-width: 1440px; margin: 0 auto; padding-inline: 32px; display: flex; align-items: center; gap: 28px; }
.ms-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ms-text) !important; text-decoration: none !important; flex: none; }
.ms-brand img { width: 30px; height: 30px; display: block; }
.ms-brand b { font-size: 20px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.ms-nav { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
.ms-nav a { color: var(--ms-text) !important; text-decoration: none !important; opacity: .82; }
.ms-nav a:hover, .ms-nav a[aria-current="page"] { opacity: 1; color: var(--ms-accent) !important; }
.ms-spacer { flex: 1; }
.ms-hbtn { height: 36px; min-width: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--ms-border); background: transparent; color: var(--ms-text); display: inline-grid; place-items: center; cursor: pointer; }
.ms-hbtn:hover { background: var(--ms-subtle); }
.ms-hbtn svg { width: 17px; height: 17px; }
.ms-signin { font-weight: 600; font-size: 14px; color: var(--ms-text) !important; text-decoration: none !important; }
.ms-header .ms-btn { height: 40px; }
.ms-header .lang-dd-btn { height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--ms-border); background: transparent; color: var(--ms-text); font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.ms-header .lang-dd-menu { background: var(--ms-card) !important; border: 1px solid var(--ms-border) !important; color: var(--ms-text) !important; border-radius: 12px !important; box-shadow: var(--ms-chip-shadow) !important; }
.ms-header .lang-dd-menu button { color: var(--ms-text) !important; }
.ms-header .lang-dd-menu button.active, .ms-header .lang-dd-menu button:hover { background: var(--ms-subtle) !important; color: var(--ms-accent) !important; }
.ms-header .theme-icon-sun { display: none; } html.dark .ms-header .theme-icon-sun { display: block; } html.dark .ms-header .theme-icon-moon { display: none; }
.ms-only-mobile { display: none !important; }
.ms-mmenu { position: absolute; inset: 72px 0 auto 0; background: var(--ms-bg); border-bottom: 1px solid var(--ms-border); padding: 12px 20px 20px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--ms-chip-shadow); }
.ms-mmenu.hidden { display: none !important; }
.ms-mmenu a:not(.ms-btn) { padding: 12px 6px; color: var(--ms-text) !important; text-decoration: none !important; font-weight: 600; border-bottom: 1px solid var(--ms-border); }
.ms-mmenu .ms-btn { margin-top: 12px; height: 48px; }
.ms-mmenu__row { display: flex; gap: 10px; margin-top: 12px; }
.ms-mmenu__row .ms-btn { flex: 1; margin: 0; }

/* ── Hero ── */
.ms-hero { padding: 96px 32px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.ms-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--ms-accent-line); background: var(--ms-accent-bg); color: var(--ms-accent); font-size: 12.5px; font-weight: 700; }
.ms-h1 { margin: 0; max-width: 980px; font-size: 72px; line-height: 1.02; font-weight: 700; letter-spacing: -.045em; color: var(--ms-text); }
.ms-hero__sub { margin: 0; max-width: 680px; font-size: 19px; line-height: 1.6; color: var(--ms-muted); }
.ms-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.ms-hero__note { font-size: 13px; color: var(--ms-muted); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.ms-hero__note span + span::before { content: '·'; margin-inline-end: 14px; }

/* ── Product preview ── */
.ms-preview-sec { padding: 64px 32px 0; }
.ms-preview { position: relative; max-width: 1120px; margin: 0 auto; }
.ms-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; border: 1px solid var(--ms-border); background: var(--ms-card); box-shadow: var(--ms-chip-shadow); text-align: start; }
.ms-chip__ic { width: 34px; height: 34px; border-radius: 10px; background: var(--ms-accent-bg); color: var(--ms-accent); border: 1px solid var(--ms-accent-line); display: grid; place-items: center; flex: none; }
.ms-chip__ic svg { width: 17px; height: 17px; }
.ms-chip b { display: block; font-size: 13px; color: var(--ms-text); }
.ms-chip small { display: block; font-size: 11.5px; color: var(--ms-muted); }
.ms-chip--a { left: -44px; top: 120px; } .ms-chip--b { right: -40px; top: 60px; } .ms-chip--c { right: -28px; bottom: 70px; }
.ms-win { border-radius: 22px; border: 1px solid var(--ms-border); background: var(--ms-card); box-shadow: var(--ms-shadow); overflow: hidden; text-align: left; color: var(--ms-text); }
.ms-win__bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--ms-border); background: var(--ms-panel); }
.ms-win__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ms-border-strong); }
.ms-win__url { margin: 0 auto; width: 260px; height: 22px; border-radius: 6px; background: var(--ms-subtle); color: var(--ms-muted); font-size: 11px; display: grid; place-items: center; }
.ms-win__body { height: 560px; display: flex; font-size: 12.5px; }
.ms-rail { width: 60px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 12px; border-right: 1px solid var(--ms-border); background: var(--ms-panel); }
.ms-rail img { width: 30px; height: 30px; }
.ms-rail__sep { width: 22px; height: 1px; margin: 6px 0; background: var(--ms-border); }
.ms-rail__i { width: 36px; height: 34px; border-radius: 9px; color: var(--ms-muted); display: grid; place-items: center; }
.ms-rail__i.is-on { background: var(--ms-accent-bg); color: var(--ms-accent); }
.ms-rail__i svg { width: 16px; height: 16px; }
.ms-pv-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ms-pv-head { height: 44px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--ms-border); }
.ms-pv-head .ms-muted { color: var(--ms-muted); }
.ms-pv-saved { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 99px; background: var(--ms-subtle); color: var(--ms-muted); font-size: 11px; }
.ms-pv-saved i { width: 6px; height: 6px; border-radius: 50%; background: var(--ms-ok); }
.ms-tb { height: 42px; flex: none; display: flex; align-items: center; gap: 3px; padding: 0 10px; border-bottom: 1px solid var(--ms-border); background: var(--ms-panel); }
.ms-tb__b { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px; border-radius: 7px; font-weight: 600; font-size: 11.5px; color: var(--ms-text); white-space: nowrap; }
.ms-tb__b svg { width: 13px; height: 13px; }
.ms-tb__b--pri { background: var(--ms-accent-solid); color: var(--ms-accent-text); }
.ms-tb__b--soft { background: var(--ms-accent-bg); color: var(--ms-accent); box-shadow: inset 0 0 0 1px var(--ms-accent-line); }
.ms-tb__b--out { border: 1px solid var(--ms-border); }
.ms-tb__sep { width: 1px; height: 18px; margin: 0 3px; background: var(--ms-border); }
.ms-pv-cols { flex: 1; min-height: 0; display: flex; }
.ms-pv-lines { flex: 1; min-width: 0; overflow: hidden; padding: 6px 22px; }
.ms-ln { display: flex; align-items: flex-start; gap: 10px; padding: 8px 6px; border-bottom: 1px solid var(--ms-border); border-inline-start: 2px solid transparent; }
.ms-ln.is-cur { background: var(--ms-subtle); border-inline-start-color: var(--ms-accent); }
.ms-ln__n { width: 26px; flex: none; padding-top: 4px; text-align: center; font-size: 11px; font-weight: 600; color: var(--ms-muted); font-variant-numeric: tabular-nums; }
.ms-ln__t { flex: 1; font-size: 15px; line-height: 1.75; font-family: 'IBM Plex Sans Arabic', var(--ms-font); }
.ms-ln__s { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 22px; margin-top: 2px; padding: 0 8px; border-radius: 99px; border: 1px solid var(--ms-border); font-size: 10.5px; font-weight: 600; }
.ms-ln__s i { width: 6px; height: 6px; border-radius: 50%; }
.ms-pv-side { width: 230px; flex: none; display: flex; flex-direction: column; gap: 14px; padding: 14px; border-left: 1px solid var(--ms-border); }
.ms-pv-tabs { display: flex; gap: 12px; font-weight: 600; font-size: 12px; border-bottom: 1px solid var(--ms-border); padding-bottom: 8px; color: var(--ms-muted); }
.ms-pv-tabs b { color: var(--ms-text); box-shadow: 0 10px 0 -8px var(--ms-accent); font-weight: 600; }
.ms-pv-voice { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; border: 1px solid var(--ms-border); }
.ms-pv-av { width: 30px; height: 30px; border-radius: 50%; background: var(--ms-subtle); box-shadow: inset 0 0 0 1px var(--ms-border); display: grid; place-items: center; font-weight: 700; }
.ms-pv-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border-radius: 9px; background: var(--ms-subtle); font-size: 11.5px; font-weight: 600; text-align: center; color: var(--ms-muted); }
.ms-pv-seg span { padding: 5px 0; border-radius: 7px; }
.ms-pv-seg span:first-child { background: var(--ms-card); color: var(--ms-accent); }
.ms-pv-sl { display: flex; flex-direction: column; gap: 7px; font-size: 11.5px; }
.ms-pv-sl > span { display: flex; justify-content: space-between; }
.ms-pv-sl em { font-style: normal; color: var(--ms-muted); }
.ms-pv-sl > i { position: relative; height: 4px; border-radius: 99px; background: var(--ms-border); }
.ms-pv-sl > i > i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--ms-accent); }
.ms-player { height: 50px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-top: 1px solid var(--ms-border); background: var(--ms-panel); direction: ltr; }
.ms-player__play { width: 32px; height: 32px; border-radius: 50%; background: var(--ms-accent-solid); color: var(--ms-accent-text); display: grid; place-items: center; flex: none; }
.ms-player__t { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ms-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 24px; }
.ms-wave i { flex: 1; border-radius: 2px; background: var(--ms-border-strong); }
.ms-wave i.is-on { background: var(--ms-accent); }

/* ── Clients (existing marquee, recoloured) ── */
.ms-clients { padding-top: 72px; text-align: center; }
.ms-clients__t { font-size: 13px; color: var(--ms-muted); }
.ms-clients .trusted-partners { padding-top: 18px !important; padding-bottom: 0 !important; background: transparent !important; }
.ms-clients .partner-card { background: transparent !important; border: 1px solid var(--ms-border) !important; box-shadow: none !important; }

/* ── Feature bento ── */
.ms-bento { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.ms-feat { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 18px; border: 1px solid var(--ms-border); background: var(--ms-card); color: var(--ms-text) !important; text-decoration: none !important; transition: border-color .15s, transform .15s; }
.ms-feat:hover { border-color: var(--ms-accent-line); transform: translateY(-2px); }
.ms-feat--wide { grid-column: span 2; background: var(--ms-subtle); }
.ms-feat .ms-deco { right: -60px; top: -40px; opacity: .08; color: var(--ms-text); }
html[dir="rtl"] .ms-feat .ms-deco { right: auto; left: -60px; transform: scaleX(-1); }
.ms-feat__ic { width: 42px; height: 42px; border-radius: 12px; background: var(--ms-accent-bg); color: var(--ms-accent); display: grid; place-items: center; }
.ms-feat--wide .ms-feat__ic { background: var(--ms-accent-solid); color: var(--ms-accent-text); }
.ms-feat__ic svg { width: 20px; height: 20px; }
.ms-feat b { font-size: 18px; letter-spacing: -.01em; }
.ms-feat p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ms-muted); }
.ms-feat__price { margin-top: auto; font-size: 12.5px; font-weight: 600; color: var(--ms-muted); }
.ms-feat__price strong { color: var(--ms-text); font-size: 15px; }

/* ── Steps ── */
.ms-steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ms-step { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 18px; border: 1px solid var(--ms-border); }
.ms-step__n { font-size: 48px; font-weight: 700; letter-spacing: -.04em; color: var(--ms-accent); font-variant-numeric: tabular-nums; line-height: 1; }
.ms-step b { font-size: 19px; }
.ms-step p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ms-muted); }

/* ── Studio band ── */
.ms-band { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px; border-radius: 28px; border: 1px solid var(--ms-border); background: var(--ms-subtle); }
.ms-band .ms-deco { right: -90px; top: -70px; opacity: .09; color: var(--ms-text); }
.ms-band__copy { display: flex; flex-direction: column; gap: 18px; }
.ms-band__copy .ms-eyebrow { color: var(--ms-muted); }
.ms-band__copy p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ms-muted); }
.ms-mini { border-radius: 16px; background: var(--ms-bg); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.18); border: 1px solid var(--ms-border); }
.ms-mini__h { height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--ms-border); font-size: 12.5px; font-weight: 600; }
.ms-mini__r { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 14px; border-bottom: 1px solid var(--ms-border); }
.ms-mini__r:last-child { border-bottom: 0; }
.ms-mini__n { width: 22px; font-size: 12px; color: var(--ms-muted); font-variant-numeric: tabular-nums; }
.ms-mini__bar { flex: 1; height: 8px; border-radius: 99px; background: var(--ms-subtle); }
.ms-mini__bar i { display: block; height: 100%; border-radius: 99px; background: var(--ms-border-strong); }
.ms-mini__tag { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--ms-border); }
.ms-mini__play { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ms-border-strong); display: grid; place-items: center; }

/* ── Developers ── */
.ms-dev { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 56px; align-items: center; }
.ms-dev__copy { display: flex; flex-direction: column; gap: 18px; }
.ms-dev__copy p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ms-muted); }
.ms-checks { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ms-checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.ms-checks a { color: inherit !important; text-decoration: none !important; }
.ms-checks a:hover { color: var(--ms-accent) !important; }
.ms-check { width: 30px; height: 30px; border-radius: 9px; background: var(--ms-accent-bg); color: var(--ms-accent); border: 1px solid var(--ms-accent-line); display: grid; place-items: center; flex: none; }
.ms-check svg { width: 15px; height: 15px; }
.ms-code { margin: 0; padding: 24px; border-radius: 18px; background: #0A0A0A; color: #E5E5E5; font: 13.5px/1.7 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; border: 1px solid var(--ms-border); overflow-x: auto; direction: ltr; text-align: left; white-space: pre; }
.ms-code .k { color: #8B80FF; } .ms-code .s { color: #A3E3B5; }
.ms-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Pricing ── */
.ms-period { display: flex; justify-content: center; margin-top: 28px; }
.ms-period__in { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--ms-subtle); border: 1px solid var(--ms-border); }
.ms-period button { height: 34px; padding: 0 16px; border-radius: 9px; border: 0; background: transparent; color: var(--ms-muted); font-weight: 600; font-size: 13.5px; cursor: pointer; }
.ms-period button[aria-pressed="true"] { background: var(--ms-card); color: var(--ms-text); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ms-period small { color: var(--ms-ok); font-weight: 700; margin-inline-start: 4px; }
.ms-plans { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }
.ms-plan { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 20px; border: 1px solid var(--ms-border); background: var(--ms-card); }
.ms-plan.is-pop { background: var(--ms-subtle); border-color: var(--ms-accent-line); }
.ms-plan .ms-deco { right: -60px; top: -40px; opacity: .08; color: var(--ms-text); }
.ms-plan__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ms-plan__h b { font-size: 18px; }
.ms-plan__tag { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--ms-accent-solid); color: var(--ms-accent-text); white-space: nowrap; }
.ms-plan__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.ms-plan__price strong { font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.ms-plan__price span { color: var(--ms-muted); }
.ms-plan__desc { font-size: 14px; color: var(--ms-muted); margin: 0; min-height: 42px; }
.ms-plan .ms-btn { width: 100%; height: 46px; }
.ms-plan ul { margin: 0; padding: 6px 0 0; list-style: none; border-top: 1px solid var(--ms-border); display: flex; flex-direction: column; gap: 10px; }
.ms-plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; padding-top: 4px; }
.ms-plan li svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--ms-accent); }
.ms-plans [data-period].is-hidden { display: none; }
.ms-more { text-align: center; margin-top: 28px; }
.ms-more a { color: var(--ms-accent) !important; font-weight: 700; text-decoration: none !important; }

/* ── Testimonials ── */
.ms-quotes { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ms-quote { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 18px; border: 1px solid var(--ms-border); background: var(--ms-card); margin: 0; }
.ms-quote blockquote { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ms-text); }
.ms-quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.ms-quote figcaption b { display: block; font-size: 14px; }
.ms-quote figcaption small { display: block; font-size: 12.5px; color: var(--ms-muted); }

/* ── FAQ (keeps the existing mkFaq() toggle) ── */
.ms-faq { max-width: 820px; margin: 40px auto 0; border-top: 1px solid var(--ms-border); }
.ms-faq .mk-faq-item { border: 0 !important; border-bottom: 1px solid var(--ms-border) !important; border-radius: 0 !important; background: transparent !important; margin: 0 !important; box-shadow: none !important; }
.ms-faq .mk-faq-btn { width: 100%; display: flex; align-items: center; gap: 16px; padding: 22px 4px !important; border: 0; background: transparent !important; color: var(--ms-text) !important; text-align: start; font-size: 17px; font-weight: 600; cursor: pointer; }
.ms-faq .mk-faq-btn > span:first-child { flex: 1; }
.ms-faq .mk-faq-plus { font-size: 22px; font-weight: 400; color: var(--ms-muted); }
.ms-faq .mk-faq-answer p { margin: -6px 0 0; padding: 0 4px 22px; font-size: 15px; line-height: 1.65; color: var(--ms-muted) !important; }

/* ── Final CTA ── */
.ms-cta { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 72px 40px; border-radius: 28px; background: var(--ms-accent-solid); color: #FFFFFF; text-align: center; }
.ms-cta .ms-deco { color: #FFFFFF; }
.ms-cta h2 { margin: 0; font-size: 48px; line-height: 1.08; font-weight: 700; letter-spacing: -.035em; color: #FFFFFF; max-width: 820px; }
.ms-cta p { margin: 0; font-size: 18px; opacity: .88; color: #FFFFFF; max-width: 640px; }

/* ── Footer ── */
.ms-footer { margin-top: 100px; border-top: 1px solid var(--ms-border); background: var(--ms-bg); color: var(--ms-text); }
.ms-footer__in { max-width: 1440px; margin: 0 auto; padding: 56px 32px 40px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.ms-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.ms-footer__brand p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ms-muted); max-width: 280px; }
.ms-social { display: flex; gap: 8px; }
.ms-social a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--ms-border); display: grid; place-items: center; color: var(--ms-muted) !important; }
.ms-social a:hover { color: var(--ms-text) !important; background: var(--ms-subtle); }
.ms-social svg { width: 16px; height: 16px; }
.ms-fcol { display: flex; flex-direction: column; gap: 12px; }
.ms-fcol b { font-size: 13.5px; }
.ms-fcol a { font-size: 14px; color: var(--ms-muted) !important; text-decoration: none !important; }
.ms-fcol a:hover { color: var(--ms-text) !important; }
.ms-footer__base { max-width: 1440px; margin: 0 auto; padding: 20px 32px 32px; border-top: 1px solid var(--ms-border); font-size: 13px; color: var(--ms-muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ── RTL mirroring ── */
html[dir="rtl"] .ms-chip--a { left: auto; right: -44px; } html[dir="rtl"] .ms-chip--b { right: auto; left: -40px; } html[dir="rtl"] .ms-chip--c { right: auto; left: -28px; }
html[dir="rtl"] .ms-chip { padding: 10px 10px 10px 14px; }
html[dir="rtl"] .ms-band .ms-deco, html[dir="rtl"] .ms-plan .ms-deco { right: auto; left: -60px; transform: scaleX(-1); }

/* ── Responsive ── */
@media (max-width: 1199.98px) {
  .ms-chip { display: none; }
  .ms-nav { gap: 16px; }
  .ms-dev { grid-template-columns: 1fr; }
  .ms-band { grid-template-columns: 1fr; }
}
@media (max-width: 1023.98px) {
  .ms-nav, .ms-only-desktop { display: none !important; }
  .ms-only-mobile { display: inline-flex !important; }
  .ms-header__in { gap: 10px; padding-inline: 16px; }
  .ms-h1 { font-size: 52px; }
  .ms-bento { grid-template-columns: repeat(2, 1fr); }
  .ms-steps, .ms-quotes { grid-template-columns: 1fr; }
  .ms-pv-side { display: none; }
  .ms-footer__in { grid-template-columns: repeat(2, 1fr); }
  .ms-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 639.98px) {
  .ms-wrap, .ms-hero, .ms-preview-sec { padding-inline: 16px; }
  .ms-hero { padding-top: 56px; }
  .ms-h1 { font-size: 38px; letter-spacing: -.03em; }
  .ms-hero__sub { font-size: 16.5px; }
  .ms-hero__cta .ms-btn { width: 100%; }
  .ms-h2 { font-size: 30px; }
  .ms-section { padding-top: 80px; }
  .ms-bento { grid-template-columns: 1fr; }
  .ms-feat--wide { grid-column: auto; }
  .ms-win__body { height: 420px; }
  .ms-tb .ms-tb__b span, .ms-tb .ms-hide-xs, .ms-pv-head .ms-hide-xs { display: none; }
  .ms-band, .ms-cta { padding: 32px 20px; border-radius: 22px; }
  .ms-cta h2 { font-size: 32px; }
  .ms-plan__price strong { font-size: 36px; }
  .ms-footer__in { grid-template-columns: 1fr 1fr; padding-inline: 16px; }
  .ms-footer__base { padding-inline: 16px; }
}

/* ── Beat the older home.css button / theme-switch rules ── */
body.ms-site .ms-btn { background-image: none !important; box-shadow: none !important; transform: none !important; }
body.ms-site .ms-btn--primary { background-color: var(--ms-accent-solid) !important; color: var(--ms-accent-text) !important; }
body.ms-site .ms-btn--ghost { background-color: transparent !important; color: var(--ms-text) !important; border: 1px solid var(--ms-border-strong) !important; }
body.ms-site .ms-btn--ghost:hover { background-color: var(--ms-subtle) !important; }
body.ms-site .ms-btn--white { background-color: #FFFFFF !important; color: #0A0A0A !important; }
body.ms-site .ms-header .theme-switch svg.theme-icon-moon { display: block !important; width: 17px; height: 17px; }
body.ms-site .ms-header .theme-switch svg.theme-icon-sun { display: none !important; width: 17px; height: 17px; }
html.dark body.ms-site .ms-header .theme-switch svg.theme-icon-moon { display: none !important; }
html.dark body.ms-site .ms-header .theme-switch svg.theme-icon-sun { display: block !important; }
.ms-feat--span2 { grid-column: span 2; }
@media (max-width: 639.98px) { .ms-feat--span2 { grid-column: auto; } }
/* links styled as cards must not pick up the old button skin */
body.ms-site a.ms-feat { background-image: none !important; box-shadow: none !important; }
body.ms-site a.ms-feat:not(.ms-feat--wide) { background-color: var(--ms-card) !important; }
body.ms-site a.ms-feat--wide { background-color: var(--ms-subtle) !important; }
body.ms-site #navbar.ms-header, body.ms-site #navbar.ms-header.glass-effect { background: var(--ms-bg) !important; backdrop-filter: none !important; padding: 0 !important; box-shadow: none !important; border-bottom: 1px solid var(--ms-border) !important; border-radius: 0 !important; top: 0 !important; width: 100% !important; }
@media (max-width: 639.98px) {
  .ms-hide-xs { display: none !important; }
  .ms-rail { display: none; }
  .ms-pv-lines { padding: 6px 10px; }
  .ms-hero__note { flex-direction: column; gap: 4px; }
  .ms-hero__note span + span::before { content: none; }
}
body.ms-site .ms-header .ms-mmenu, body.ms-site .ms-header .ms-mmenu.active { position: absolute !important; inset: 72px 0 auto 0 !important; display: flex !important; flex-direction: column !important; gap: 2px !important; padding: 12px 20px 20px !important; margin: 0 !important; background: var(--ms-bg) !important; border-bottom: 1px solid var(--ms-border) !important; box-shadow: var(--ms-chip-shadow) !important; max-height: calc(100dvh - 72px); overflow-y: auto; transform: none !important; opacity: 1 !important; width: auto !important; }
body.ms-site .ms-header .ms-mmenu.hidden { display: none !important; }
body.ms-site .ms-header .ms-mmenu a:not(.ms-btn) { display: block !important; font-size: 16px !important; }

/* ── Developers: product link cards (replaces the code sample) ── */
.ms-devcards { display: flex; flex-direction: column; gap: 12px; }
.ms-devcard { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--ms-border); background: var(--ms-card); color: var(--ms-text) !important; text-decoration: none !important; transition: border-color .15s, transform .15s; }
.ms-devcard:hover { border-color: var(--ms-accent-line); transform: translateY(-2px); }
.ms-devcard b { flex: 1; font-size: 16px; }
.ms-devcard .ms-check { width: 40px; height: 40px; border-radius: 12px; }
.ms-devcard .ms-check svg { width: 18px; height: 18px; }
.ms-devcard__go { color: var(--ms-muted); font-size: 18px; }
html[dir="rtl"] .ms-devcard__go { transform: scaleX(-1); }

/* ── Legal documents (Terms, Privacy, Cookies, Content Policy): one reading layout ── */
.ms-legal { max-width: 820px; margin: 56px auto 40px; padding: 0 24px; color: var(--ms-text); font-size: 15px; line-height: 1.8; }
.ms-legal h1 { margin: 0 0 6px; font-size: 32px !important; line-height: 1.25; font-weight: 700 !important; letter-spacing: -.02em; text-align: center; color: var(--ms-text); }
html:is([lang="ar"],[lang="ur"]) .ms-legal h1 { letter-spacing: 0; }
.ms-legal__head, .ms-legal--doc header { padding-bottom: 24px; margin-bottom: 8px !important; border-bottom: 1px solid var(--ms-border); text-align: center; }
.ms-legal__lead, .ms-legal--doc header .text-xs { margin: 0; color: var(--ms-muted) !important; font-size: 14px !important; text-align: center !important; }
.ms-legal h2 { margin: 28px 0 8px; font-size: 18px !important; font-weight: 700 !important; color: var(--ms-text); }
.ms-legal h3 { margin: 18px 0 6px; font-size: 16px; font-weight: 700; }
.ms-legal p { margin: 0 0 10px; }
.ms-legal ul, .ms-legal ol { margin: 0 0 10px; padding-inline-start: 22px; }
.ms-legal ul { list-style: disc; } .ms-legal ol { list-style: decimal; }
.ms-legal li { margin: 4px 0; }
.ms-legal li::marker { color: var(--ms-muted); }
.ms-legal a { color: var(--ms-accent) !important; text-decoration: underline; text-underline-offset: 2px; }
.ms-legal__sec { padding-top: 4px; }
.ms-legal__note, .ms-legal--doc .bg-yellow-50 { margin: 18px 0 !important; padding: 16px 20px !important; border-radius: 14px !important; border: 1px solid #F1D48A !important; background: #FFF8E6 !important; color: #5C4300 !important; }
.ms-legal__note h2 { margin-top: 0; color: #8A5A00 !important; }
.ms-legal--doc .bg-yellow-50 p, .ms-legal--doc .text-yellow-900 { color: inherit !important; margin: 0; }
.ms-legal__note--danger { border-color: #F2B8BE !important; background: #FFF1F2 !important; color: #6B1420 !important; }
.ms-legal__note--danger h2 { color: #B4232F !important; }
html.dark .ms-legal__note, html.dark .ms-legal--doc .bg-yellow-50 { border-color: #5A4512 !important; background: #1E1708 !important; color: #F3DFA8 !important; }
html.dark .ms-legal__note h2 { color: #FBBF24 !important; }
html.dark .ms-legal__note--danger { border-color: #5E1D24 !important; background: #1F0B0E !important; color: #F5C2C7 !important; }
html.dark .ms-legal__note--danger h2 { color: #F87171 !important; }
.ms-legal__foot, .ms-legal--doc footer { margin-top: 32px !important; padding-top: 18px !important; border-top: 1px solid var(--ms-border) !important; text-align: center; font-size: 13.5px !important; color: var(--ms-muted) !important; }
.ms-legal--doc > div > div[class*="max-w-"] { max-width: none !important; padding: 0 !important; font-size: 15px !important; }
@media (max-width: 639.98px) { .ms-legal { margin-top: 32px; padding: 0 16px; } .ms-legal h1 { font-size: 26px !important; } }

/* ── Final CTA: abstract background (pure CSS, scales with the box, no clipped SVGs) ── */
.ms-cta { background: var(--ms-accent-solid); }
.ms-cta > :not(.ms-cta__bg) { position: relative; z-index: 1; }
.ms-cta__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; border-radius: inherit;
  background:
    radial-gradient(60% 90% at 0% 100%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(50% 80% at 100% 0%, rgba(139,128,255,.55), transparent 65%),
    linear-gradient(135deg, #5A57D6 0%, #4746B4 55%, #36358F 100%); }
html.dark .ms-cta__bg { background:
    radial-gradient(60% 90% at 0% 100%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(50% 80% at 100% 0%, rgba(139,128,255,.45), transparent 65%),
    linear-gradient(135deg, #5B54D9 0%, #4746B4 55%, #2C2B78 100%); }
/* concentric "sound" rings, top-end and bottom-start */
.ms-cta__bg::before, .ms-cta__bg::after { content: ''; position: absolute; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 34px, rgba(255,255,255,.16) 35px 36px);
  -webkit-mask: radial-gradient(circle, #000 0 55%, transparent 72%); mask: radial-gradient(circle, #000 0 55%, transparent 72%); }
.ms-cta__bg::before { width: 520px; height: 520px; top: -260px; inset-inline-end: -160px; }
.ms-cta__bg::after { width: 440px; height: 440px; bottom: -250px; inset-inline-start: -140px; opacity: .8; }
@media (max-width: 639.98px) {
  .ms-cta__bg::before { width: 320px; height: 320px; top: -170px; inset-inline-end: -140px; }
  .ms-cta__bg::after { width: 280px; height: 280px; bottom: -170px; inset-inline-start: -120px; }
}

/* ═══ Footer v2.1 — newsletter + columns + utility bar + faint wordmark ═══ */
.ms-footer { position: relative; overflow: hidden; margin-top: 100px; border-top: 1px solid var(--ms-border); background: var(--ms-panel); }
.ms-footer__in { display: block; max-width: 1180px; margin: 0 auto; padding: 64px 32px 0; position: relative; z-index: 1; }
.ms-footer__top { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 64px; padding-bottom: 48px; }
.ms-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.ms-footer__brand > p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ms-muted); }
.ms-news { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding: 18px; border-radius: 16px; border: 1px solid var(--ms-border); background: var(--ms-card); }
.ms-news__label { font-weight: 700; font-size: 14.5px; color: var(--ms-text); }
.ms-news__hint { font-size: 13px; color: var(--ms-muted); }
.ms-news__row { display: flex; gap: 8px; margin-top: 8px; }
.ms-news input[type=email] { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--ms-border-strong); background: var(--ms-bg); color: var(--ms-text); font: inherit; font-size: 14px; outline: none; }
.ms-news input[type=email]::placeholder { color: var(--ms-muted); }
.ms-news input[type=email]:focus { border-color: var(--ms-accent); box-shadow: 0 0 0 3px var(--ms-accent-line); }
.ms-news .ms-btn { height: 44px; padding: 0 18px; }
.ms-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-content: start; padding-top: 6px; }
.ms-fcol { display: flex; flex-direction: column; gap: 4px; }
.ms-fcol b { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ms-muted); margin-bottom: 8px; }
html:is([lang="ar"],[lang="ur"]) .ms-fcol b { letter-spacing: 0; text-transform: none; font-size: 14px; }
.ms-fcol a { display: inline-flex; align-self: flex-start; padding: 5px 0; font-size: 14.5px; color: var(--ms-text) !important; text-decoration: none !important; opacity: .85; transition: opacity .15s, color .15s; }
.ms-fcol a:hover { opacity: 1; color: var(--ms-accent) !important; }
.ms-footer__bar { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid var(--ms-border); font-size: 13px; color: var(--ms-muted); }
.ms-footer__copy { margin-inline-end: auto; }
.ms-footer__langs { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; margin: 0; }
.ms-footer__globe { width: 15px; height: 15px; margin-inline-end: 6px; color: var(--ms-muted); }
.ms-footer__langs button { height: 30px; padding: 0 10px; border-radius: 8px; border: 0; background: transparent; color: var(--ms-muted); font: inherit; font-size: 13px; cursor: pointer; }
.ms-footer__langs button:hover { background: var(--ms-subtle); color: var(--ms-text); }
.ms-footer__langs button[aria-current="true"] { background: var(--ms-card); color: var(--ms-text); font-weight: 700; box-shadow: inset 0 0 0 1px var(--ms-border); }
.ms-footer .ms-social a { background: var(--ms-card); }
.ms-footer__mark { position: relative; z-index: 0; margin: -10px auto -0.24em; max-width: 1180px; padding: 0 32px; font-size: clamp(88px, 17vw, 240px); line-height: 1; font-weight: 700; letter-spacing: -.06em; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  background: linear-gradient(180deg, var(--ms-border-strong), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .55; }
html:is([lang="ar"],[lang="ur"]) .ms-footer__mark { letter-spacing: 0; }
@media (max-width: 1023.98px) {
  .ms-footer__top { grid-template-columns: 1fr; gap: 40px; }
  .ms-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
}
@media (max-width: 639.98px) {
  .ms-footer__in { padding: 48px 16px 0; }
  .ms-news__row { flex-direction: column; }
  .ms-news .ms-btn { width: 100%; }
  .ms-footer__bar { flex-direction: column; align-items: flex-start; }
  .ms-footer__copy { margin: 0; order: 3; }
  .ms-fcol a { padding: 8px 0; }
}

/* ═══ Client logo strip (replaces the old card marquee) ═══ */
.ms-clients { padding-top: 88px; }
.ms-logos { max-width: 1180px; margin: 0 auto; padding: 0 32px; text-align: center; }
.ms-logos__t { margin: 0 0 22px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ms-muted); }
html:is([lang="ar"],[lang="ur"]) .ms-logos__t { letter-spacing: 0; text-transform: none; font-size: 14px; }
.ms-logos__viewport { display: flex; overflow: hidden; padding: 18px 0; border-block: 1px solid var(--ms-border);
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ms-logos__track { flex: none; display: flex; align-items: center; gap: 72px; margin: 0; padding: 0 36px; list-style: none; animation: ms-logos 38s linear infinite; }
.ms-logos__viewport:hover .ms-logos__track { animation-play-state: paused; }
.ms-logos__track li { flex: none; height: 44px; display: flex; align-items: center; }
.ms-logos__track img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .62; transition: filter .2s, opacity .2s; }
.ms-logos__track li:hover img { filter: none; opacity: 1; }
html.dark .ms-logos__track img { filter: grayscale(1) brightness(0) invert(1); opacity: .6; }
html.dark .ms-logos__track li:hover img { filter: grayscale(1) brightness(0) invert(1); opacity: 1; }
@keyframes ms-logos { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .ms-logos__track { animation: none; flex-wrap: wrap; justify-content: center; gap: 28px 56px; padding: 0; }
  .ms-logos__track[aria-hidden="true"] { display: none; }
  .ms-logos__viewport { -webkit-mask: none; mask: none; justify-content: center; }
}
@media (max-width: 639.98px) {
  .ms-logos { padding: 0 16px; }
  .ms-logos__track { gap: 48px; padding: 0 24px; }
  .ms-logos__track img { height: 28px; max-width: 120px; }
}
.ms-footer__langs { margin-inline-end: auto; }
@media (max-width: 639.98px) { .ms-footer__bar { flex-direction: row; justify-content: space-between; align-items: center; } }
/* logos: square marks get more height than wordmarks so they read at the same visual weight */
.ms-logos__track { gap: 64px; }
.ms-logos__track li { height: 56px; }
.ms-logos__track img { height: 30px; max-width: 160px; filter: grayscale(1); opacity: .8; }
.ms-logos__track li.is-square img { height: 52px; }
html.dark .ms-logos__track img { opacity: .78; }
@media (max-width: 639.98px) { .ms-logos__track img { height: 24px; } .ms-logos__track li.is-square img { height: 42px; } .ms-logos__track li { height: 46px; } }
html:not(.dark) .ms-logos__track img { filter: grayscale(1) brightness(.55) contrast(1.6); opacity: .85; }
html:not(.dark) .ms-logos__track li:hover img { filter: none; opacity: 1; }
.ms-logos__track li.is-tall img { height: 44px; }

/* ═══ Hero demo: multilingual, emotional, playable lines ═══ */
.ms-pv-lines { padding: 6px 14px; overflow: auto; scrollbar-width: thin; }
.ms-ln { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; margin: 0; border: 0; border-bottom: 1px solid var(--ms-border); border-inline-start: 2px solid transparent; background: transparent; color: var(--ms-text); font: inherit; text-align: start; cursor: pointer; transition: background .15s; }
.ms-ln:hover { background: var(--ms-subtle); }
.ms-ln.is-cur { background: var(--ms-subtle); border-inline-start-color: var(--ms-accent); }
.ms-ln:focus-visible { outline: 2px solid var(--ms-accent); outline-offset: -2px; }
.ms-ln__n { width: 18px; flex: none; text-align: center; font-size: 11px; font-weight: 600; color: var(--ms-muted); font-variant-numeric: tabular-nums; padding: 0; }
.ms-ln__code { flex: none; width: 30px; height: 20px; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--ms-border-strong); font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--ms-muted); }
.ms-ln.is-cur .ms-ln__code { border-color: var(--ms-accent-line); color: var(--ms-accent); background: var(--ms-accent-bg); }
.ms-ln__t { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-ln__t[lang="ar"] { font-family: 'IBM Plex Sans Arabic', var(--ms-font); font-size: 15.5px; }
.ms-ln__tag { background: var(--ms-accent-bg); color: var(--ms-accent); border: 1px solid var(--ms-accent-line); border-radius: 6px; padding: 0 6px; font-size: .82em; font-weight: 600; font-family: var(--ms-font); }
.ms-ln__dur { flex: none; font-size: 11px; color: var(--ms-muted); font-variant-numeric: tabular-nums; }
.ms-ln__play { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ms-border-strong); color: var(--ms-text); transition: background .15s, color .15s, border-color .15s; }
.ms-ln__play svg { width: 12px; height: 12px; }
.ms-ln:hover .ms-ln__play, .ms-ln.is-cur .ms-ln__play { background: var(--ms-accent-solid); border-color: transparent; color: var(--ms-accent-text); }
.ms-ln .i-eq { display: none; align-items: flex-end; gap: 2px; height: 12px; }
.ms-ln .i-eq i { width: 2px; background: currentColor; border-radius: 1px; animation: ms-eq .9s ease-in-out infinite; }
.ms-ln .i-eq i:nth-child(2) { animation-delay: -.3s; } .ms-ln .i-eq i:nth-child(3) { animation-delay: -.6s; } .ms-ln .i-eq i:nth-child(4) { animation-delay: -.15s; }
.ms-ln.is-playing .i-play { display: none; } .ms-ln.is-playing .i-eq { display: flex; }
@keyframes ms-eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.ms-tb__btn { border: 0; background: transparent; font: inherit; cursor: pointer; }
.ms-tb__btn:hover { background: var(--ms-subtle); }
.ms-player__btn { width: 28px; height: 28px; border-radius: 7px; border: 0; background: transparent; color: var(--ms-text); display: grid; place-items: center; cursor: pointer; flex: none; }
.ms-player__btn:hover { background: var(--ms-subtle); }
.ms-player__btn svg { width: 13px; height: 13px; }
button.ms-player__play { border: 0; cursor: pointer; }
.ms-player__play svg { width: 12px; height: 12px; }
.ms-player__play .i-pause { display: none; }
.ms-win.is-playing .ms-player__play .i-play { display: none; } .ms-win.is-playing .ms-player__play .i-pause { display: block; }
.ms-wave { cursor: pointer; }
.ms-wave i { transition: background .1s; }
.ms-player__who { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 99px; border: 1px solid var(--ms-border); white-space: nowrap; }
.ms-win.is-playing .ms-player__who { color: var(--ms-accent); border-color: var(--ms-accent-line); background: var(--ms-accent-bg); }
.ms-chip.is-pop { animation: ms-pop .45s cubic-bezier(.2,.9,.3,1.3); }
@keyframes ms-pop { 0% { transform: scale(.92); opacity: .4; } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ms-ln .i-eq i, .ms-chip.is-pop { animation: none; } }
@media (max-width: 639.98px) {
  .ms-pv-lines { padding: 4px 6px; }
  .ms-ln { gap: 8px; padding: 9px 6px; }
  .ms-ln__n, .ms-ln__dur { display: none; }
  .ms-ln__t { font-size: 13.5px; }
}
.ms-chip--a { top: 330px; }
/* secondary button on the purple CTA block */
body.ms-site .ms-cta .ms-cta__ghost { height: 52px; padding: 0 26px; border-radius: 14px; background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.45) !important; }
body.ms-site .ms-cta .ms-cta__ghost:hover { background: rgba(255,255,255,.12) !important; }
/* inner public pages: give the first section breathing room under the fixed header */
.ms-faq .mk-faq-answer { overflow: hidden; }

/* ── Header v3 (mh-*): translucent bar, mega-menu dropdowns, mobile sheet ── */
body.ms-site #navbar.mh, body.ms-site #navbar.mh.glass-effect { position: fixed !important; inset: 0 0 auto 0 !important; top: 0 !important; z-index: 60; width: 100% !important; height: 72px; padding: 0 !important; border-radius: 0 !important; background: color-mix(in srgb, var(--ms-bg) 78%, transparent) !important; -webkit-backdrop-filter: saturate(180%) blur(16px) !important; backdrop-filter: saturate(180%) blur(16px) !important; border-bottom: 1px solid transparent !important; box-shadow: none !important; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
body.ms-site #navbar.mh.glass-effect { background: color-mix(in srgb, var(--ms-bg) 90%, transparent) !important; border-bottom-color: var(--ms-border) !important; box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .35) !important; }
.mh__in { height: 100%; max-width: 1280px; margin: 0 auto; padding-inline: 32px; display: flex; align-items: center; gap: 36px; }
.mh-brand { display: inline-flex; align-items: center; gap: 9px; flex: none; color: var(--ms-text) !important; text-decoration: none !important; }
.mh-brand img { width: 28px; height: 28px; display: block; }
.mh-brand b { font-size: 19px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.mh-nav { display: flex; align-items: center; gap: 2px; }
.mh-item { position: relative; }
.mh-link { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 14px; font-weight: 500; color: var(--ms-muted) !important; text-decoration: none !important; cursor: pointer; transition: color .15s ease, background-color .15s ease; white-space: nowrap; }
.mh-link:hover, .mh-item.is-open > .mh-link { color: var(--ms-text) !important; background: var(--ms-subtle); }
.mh-link.is-current { color: var(--ms-text) !important; }
.mh-caret { width: 14px; height: 14px; opacity: .7; transition: transform .2s ease; }
.mh-item.is-open .mh-caret { transform: rotate(180deg); }
.mh-link:focus-visible, .mh-icon-btn:focus-visible, .mh-cta:focus-visible, .mh-card:focus-visible, .mh-row:focus-visible { outline: 2px solid var(--ms-accent); outline-offset: 2px; }

/* dropdown panels */
.mh-panel { position: absolute; top: calc(100% + 10px); inset-inline-start: -8px; min-width: 300px; padding: 8px; border-radius: 16px; border: 1px solid var(--ms-border); background: var(--ms-card); box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .28), 0 2px 6px rgba(15, 23, 42, .06); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 70; }
.mh-panel::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.mh-item.is-open .mh-panel { opacity: 1; visibility: visible; transform: none; }
.mh-panel--wide { width: min(620px, calc(100vw - 32px)); padding: 10px; }
.mh-panel--narrow { min-width: 210px; }
.mh-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mh-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 12px; color: var(--ms-text) !important; text-decoration: none !important; transition: background-color .15s ease; }
.mh-card:hover, .mh-card.is-current { background: var(--ms-subtle); }
.mh-card__ic { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--ms-accent-bg); color: var(--ms-accent); border: 1px solid var(--ms-accent-line); transition: background-color .15s ease, color .15s ease; }
.mh-card:hover .mh-card__ic { background: var(--ms-accent); color: #fff; }
.mh-card__ic svg { width: 18px; height: 18px; }
.mh-card b, .mh-row b { display: block; font-size: 14px; font-weight: 600; color: var(--ms-text); }
.mh-card small, .mh-row small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--ms-muted); }
/* Products menu: the other service pages as a compact row under the main cards */
.mh-panel__more { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 6px 2px; }
.mh-panel__more a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ms-border); font-size: 13px; font-weight: 600; color: var(--ms-text) !important; text-decoration: none !important; }
.mh-panel__more a:hover { border-color: var(--ms-accent-line); color: var(--ms-accent) !important; background: var(--ms-accent-bg); }
.mh-panel__foot { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--ms-subtle); font-size: 13px; color: var(--ms-muted); }
.mh-panel__foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ms-accent) !important; text-decoration: none !important; white-space: nowrap; }
.mh-row { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 10px; color: var(--ms-text) !important; text-decoration: none !important; transition: background-color .15s ease; }
.mh-row > svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--ms-muted); transition: color .15s ease; }
.mh-row:hover { background: var(--ms-subtle); }
.mh-row:hover > svg { color: var(--ms-accent); }
.mh-row--plain { padding: 9px 12px; font-size: 14px; font-weight: 500; }
.mh-panel hr { margin: 6px 4px; border: 0; border-top: 1px solid var(--ms-border); }
.mh-arrow { width: 15px; height: 15px; flex: none; transition: transform .15s ease; }
[dir="rtl"] .mh-arrow { transform: scaleX(-1); }
a:hover > .mh-arrow { transform: translateX(2px); }
[dir="rtl"] a:hover > .mh-arrow { transform: scaleX(-1) translateX(2px); }

/* right side */
.mh-spacer { flex: 1; }
.mh-tools { display: flex; align-items: center; gap: 6px; }
.mh-icon-btn { height: 36px; min-width: 36px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 9px; background: transparent; color: var(--ms-muted); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: color .15s ease, background-color .15s ease; }
.mh-icon-btn:hover, .mh-lang.open .mh-icon-btn { color: var(--ms-text); background: var(--ms-subtle); }
.mh-icon-btn svg { width: 17px; height: 17px; }
.mh .mh-sun { display: none; }
html.dark .mh .mh-sun { display: block; }
html.dark .mh .mh-moon { display: none; }
.mh-sep { width: 1px; height: 20px; margin: 0 8px; background: var(--ms-border); }
.mh-signin { padding: 0 12px; height: 36px; display: inline-flex; align-items: center; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ms-text) !important; text-decoration: none !important; transition: background-color .15s ease; }
.mh-signin:hover { background: var(--ms-subtle); }
body.ms-site .mh-cta { height: 38px; padding: 0 14px 0 16px; display: inline-flex; align-items: center; gap: 7px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none !important; background: var(--ms-text) !important; color: var(--ms-bg) !important; background-image: none !important; box-shadow: 0 1px 2px rgba(15, 23, 42, .2) !important; transform: none !important; transition: opacity .15s ease; }
body.ms-site .mh-cta:hover { opacity: .88; }
.mh-burger { display: none; }

/* language menu inside the new header */
.mh .lang-dd-menu { top: calc(100% + 10px) !important; inset-inline-end: 0; min-width: 180px; padding: 6px !important; background: var(--ms-card) !important; border: 1px solid var(--ms-border) !important; border-radius: 14px !important; box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .28) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.mh .lang-dd-menu button { padding: 9px 12px !important; border-radius: 9px !important; font-size: 14px !important; font-weight: 500 !important; color: var(--ms-text) !important; }
.mh .lang-dd-menu button:hover { background: var(--ms-subtle) !important; color: var(--ms-text) !important; }
.mh .lang-dd-menu button.active { color: var(--ms-accent) !important; font-weight: 600 !important; }
.mh .lang-dd-menu .lang-check { visibility: hidden; }
.mh .lang-dd-menu button.active .lang-check { visibility: visible; }

/* mobile sheet (home.js toggles .hidden / .active) */
body.ms-site .mh .mh-sheet, body.ms-site .mh .mh-sheet.active { position: absolute !important; inset: 100% 0 auto 0 !important; height: calc(100dvh - 72px) !important; display: flex !important; flex-direction: column !important; gap: 22px !important; padding: 20px 20px 28px !important; margin: 0 !important; width: auto !important; background: var(--ms-bg) !important; border-top: 1px solid var(--ms-border) !important; overflow-y: auto !important; transform: none !important; opacity: 1 !important; box-shadow: none !important; z-index: 59; }
body.ms-site .mh .mh-sheet.hidden { display: none !important; }
.mh-sheet__group { display: flex; flex-direction: column; }
.mh-sheet__group > span { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ms-muted); padding: 0 4px 6px; }
.mh-sheet__group a { padding: 11px 4px; font-size: 17px; font-weight: 500; color: var(--ms-text) !important; text-decoration: none !important; border-bottom: 1px solid var(--ms-border); }
.mh-sheet__cta { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mh-sheet__cta .ms-btn { justify-content: center; height: 46px; }
.mh-sheet__cta .ms-btn:only-child { grid-column: 1 / -1; }

@media (max-width: 1099.98px) {
  .mh-nav, .mh-desk { display: none !important; }
  .mh-burger { display: inline-flex; }
  .mh__in { gap: 12px; padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { .mh-panel, .mh-caret, .mh-arrow { transition: none; } }

/* footer: start-free card (replaces the newsletter box) */
.ms-ftry { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding: 18px; border-radius: 16px; border: 1px solid var(--ms-border); background: var(--ms-card); max-width: 360px; }
.ms-ftry__t { font-size: 15px; font-weight: 700; color: var(--ms-text); }
.ms-ftry__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ms-ftry__list li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ms-muted); }
.ms-ftry__list svg { width: 15px; height: 15px; flex: none; color: var(--ms-accent); }
.ms-ftry__row { display: flex; gap: 8px; margin-top: 6px; }
.ms-ftry__row .ms-btn { flex: 1; justify-content: center; height: 40px; font-size: 14px; }

/* ── Mobile apps: store buttons (parts/app_badges.html) + homepage section ── */
.ms-apps { display: flex; flex-wrap: wrap; gap: 10px; }
.ms-appbtn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px; border-radius: 14px; background: #0A0A0A; color: #FFFFFF !important; text-decoration: none !important; border: 1px solid #0A0A0A; transition: transform .15s, filter .15s; }
html.dark .ms-appbtn { background: #FFFFFF; color: #0A0A0A !important; border-color: #FFFFFF; }
.ms-appbtn:hover { transform: translateY(-1px); filter: brightness(1.15); }
.ms-appbtn svg { width: 22px; height: 22px; flex: none; }
.ms-appbtn span { display: flex; flex-direction: column; line-height: 1.1; text-align: start; }
.ms-appbtn small { font-size: 10.5px; opacity: .8; font-weight: 500; }
.ms-appbtn b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.ms-apps--sm .ms-appbtn { height: 42px; padding: 0 14px 0 11px; border-radius: 11px; }
.ms-apps--sm .ms-appbtn b { font-size: 14px; }
.ms-apps--sm .ms-appbtn svg { width: 18px; height: 18px; }
.ms-footer__apps { margin-top: 18px; }

.ms-mob { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: center; padding: 56px; border-radius: 28px; border: 1px solid var(--ms-border); background: var(--ms-subtle); }
.ms-mob__copy { display: flex; flex-direction: column; gap: 18px; }
.ms-mob__copy p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ms-muted); }
.ms-mob__soon { font-size: 13px; color: var(--ms-muted); }
.ms-phone { justify-self: center; width: 250px; aspect-ratio: 9 / 18.5; border-radius: 38px; padding: 10px; background: #0A0A0A; box-shadow: 0 40px 80px -30px rgba(15, 23, 42, .45); }
html.dark .ms-phone { background: #2A2A2A; }
.ms-phone__screen { height: 100%; border-radius: 29px; background: var(--ms-card); overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 18px 14px; }
.ms-phone__notch { width: 70px; height: 18px; border-radius: 99px; background: #0A0A0A; margin: -8px auto 2px; }
html.dark .ms-phone__notch { background: #2A2A2A; }
.ms-phone__top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--ms-text); }
.ms-phone__top img { width: 20px; height: 20px; }
.ms-phone__text { border: 1px solid var(--ms-border); border-radius: 14px; padding: 10px 11px; font-size: 12px; line-height: 1.55; color: var(--ms-text); background: var(--ms-subtle); min-height: 92px; }
.ms-phone__voice { display: flex; align-items: center; gap: 8px; border: 1px solid var(--ms-border); border-radius: 12px; padding: 8px 10px; font-size: 12px; color: var(--ms-text); }
.ms-phone__voice i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #8B80FF, #4746B4); flex: none; }
.ms-phone__voice small { color: var(--ms-muted); margin-inline-start: auto; }
.ms-phone__player { display: flex; align-items: center; gap: 8px; border-radius: 12px; padding: 9px 10px; background: var(--ms-accent-bg); border: 1px solid var(--ms-accent-line); }
.ms-phone__play { width: 26px; height: 26px; border-radius: 50%; background: var(--ms-accent-solid); color: #fff; display: grid; place-items: center; flex: none; }
.ms-phone__play svg { width: 10px; height: 10px; }
.ms-phone__wave { flex: 1; height: 22px; display: flex; align-items: center; gap: 2px; }
.ms-phone__wave b { flex: 1; border-radius: 2px; background: var(--ms-accent); opacity: .7; }
.ms-phone__btn { margin-top: auto; height: 38px; border-radius: 12px; background: var(--ms-accent-solid); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 1023.98px) { .ms-mob { grid-template-columns: 1fr; } }
@media (max-width: 639.98px) { .ms-mob { padding: 32px 20px; border-radius: 22px; } }

/* ── Affiliate program: header badge + promo strip (pricing page) ── */
.mh-badge { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; margin-inline-start: 6px; border-radius: 99px; font-size: 10.5px; font-weight: 700; color: var(--ms-accent); background: var(--ms-accent-bg); border: 1px solid var(--ms-accent-line); vertical-align: middle; }
.ms-affstrip { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 20px; border: 1px solid var(--ms-accent-line); background: var(--ms-accent-bg); color: var(--ms-text) !important; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.ms-affstrip:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -24px rgba(71, 70, 180, .45); }
.ms-affstrip__pct { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 20px; font-weight: 800; color: #fff; background: var(--ms-accent-solid); direction: ltr; }
.ms-affstrip__copy { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ms-affstrip__copy b { font-size: 17px; }
.ms-affstrip__copy span { font-size: 14.5px; color: var(--ms-muted); line-height: 1.5; }
.ms-affstrip__go { flex: none; font-weight: 700; color: var(--ms-accent); white-space: nowrap; }
html[dir="rtl"] .ms-affstrip__arrow { display: inline-block; transform: scaleX(-1); }
@media (max-width: 639.98px) { .ms-affstrip { flex-wrap: wrap; } .ms-affstrip__go { width: 100%; } }

/* Korean: break between words, not inside them (CJK default breaks any syllable). */
html[lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
