/*
 * Yafta marketing site + /start wizard + sign-in screens (C-SITE).
 * MB Brands family look: light, calm, purple as an accent only, with Yafta's own warm "shop sign" gold.
 * Mobile first (360px), RTL first: logical properties only. No web-font request: Cairo when the device has it, else the system UI font.
 */
:root {
  --bg: #faf8fd; --bg2: #f3eefb; --surface: #fff; --line: #e8e2f1; --line2: #d9d0ea;
  --text: #1f1630; --muted: #5d5470; --p: #7e22ce; --p2: #6b21a8; --p3: #581c87; --soft: #f1e8fc; --lilac: #a855f7;
  --gold: #8a5a12; --gold2: #f5c26b; --gold-soft: #fdf4e3; --gold-line: #f1dcae;
  --ok: #15803d; --ok-soft: #e9f7ee; --bad: #b42318; --bad-soft: #fdecea; --warn-soft: #fff6df;
  --r: 18px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(31, 22, 48, .04), 0 10px 26px -14px rgba(31, 22, 48, .14);
  --shadow2: 0 2px 4px rgba(31, 22, 48, .05), 0 24px 46px -20px rgba(88, 28, 135, .28);
  --font: 'Cairo', 'Segoe UI', Tahoma, system-ui, -apple-system, 'Noto Sans Arabic', sans-serif;
}
html[lang=en] { --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.75; min-width: 320px; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .45em; font-weight: 800; }
h1 { font-size: clamp(1.7rem, 6.4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
h3 { font-size: 1.06rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.ic { flex: none; vertical-align: -.2em; }
.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 16px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); } .small { font-size: .9rem; } .center { text-align: center; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 2px solid var(--p); outline-offset: 3px; border-radius: 6px; }
.no-js .js-only { display: none !important; }
.grad { background: linear-gradient(90deg, var(--p), var(--lilac) 60%, #d97706); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir=rtl] .grad { background-image: linear-gradient(270deg, var(--p), var(--lilac) 60%, #d97706); }
.arr { display: inline-flex; transition: transform .2s; }
[dir=rtl] .arr { transform: scaleX(-1); }

/* ---- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 46px; padding: .6em 1.35em; border-radius: 999px; border: 1px solid transparent; font-weight: 700; line-height: 1.4; text-align: center; cursor: pointer; transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s; }
.btn.primary { background: var(--p); color: #fff; box-shadow: 0 10px 22px -12px rgba(126, 34, 206, .8); }
.btn.primary:hover { background: var(--p2); }
.btn.ghost { background: #fff; border-color: var(--line2); }
.btn.ghost:hover { border-color: var(--p); color: var(--p); }
.btn.light { background: #fff; color: var(--p3); white-space: nowrap; }
.btn.wa { background: #dcf8e6; color: #0b5a27; border-color: #b9ecc9; }
.btn.full { width: 100%; }
.btn.big { min-height: 52px; padding: .75em 1.7em; font-size: 1.04rem; }
.btn.sm { min-height: 38px; padding: .4em 1.05em; font-size: .9rem; box-shadow: none; }
.btn[disabled] { opacity: .55; cursor: default; }
.linkish { background: none; border: 0; padding: 0; color: var(--p); font-weight: 700; text-decoration: underline; cursor: pointer; }
.link-more { color: var(--p); font-weight: 700; display: inline-flex; align-items: center; gap: .35em; }
.link-more:hover { text-decoration: underline; }

/* ---- nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .93); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 8px; }
.logo { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.logo-t { display: flex; align-items: baseline; gap: 6px; }
.logo-t b { font-size: 1.28rem; font-weight: 800; color: var(--p3); }
.logo-t i { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.links { display: none; }
.nav-end { display: flex; align-items: center; gap: 4px; }
.nav-cta { white-space: nowrap; }
.lang, .nav-login { padding: .4em .8em; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--muted); }
.lang:hover, .nav-login:hover { color: var(--p); }
.hide-m { display: none; }
.burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; background: none; border: 0; padding: 10px 8px; min-height: 44px; cursor: pointer; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav.open .links { display: flex; flex-direction: column; position: absolute; top: 62px; inset-inline: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 6px 16px 14px; box-shadow: var(--shadow); }
.links a { padding: .65em .2em; color: var(--muted); font-weight: 600; }
.links a:hover, .links a[aria-current] { color: var(--p); }
.no-js .burger { display: none; }
.no-js .links { display: flex; gap: 14px; overflow-x: auto; font-size: .9rem; }
.no-js .links-only-m { display: none; }

/* ---- hero */
.hero { position: relative; overflow: hidden; padding: 30px 0 54px; background: radial-gradient(820px 400px at 88% -12%, #ecdcfd 0%, transparent 62%), radial-gradient(640px 360px at 0% 108%, #fdf0d9 0%, transparent 60%), var(--bg); }
[dir=rtl] .hero { background: radial-gradient(820px 400px at 12% -12%, #ecdcfd 0%, transparent 62%), radial-gradient(640px 360px at 100% 108%, #fdf0d9 0%, transparent 60%), var(--bg); }
.hero-in { display: grid; gap: 34px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: .4em; color: var(--p2); font-weight: 700; font-size: .86rem; margin-bottom: .8em; padding: .22em .9em; border-radius: 999px; background: var(--soft); }
.kicker.gold { color: var(--gold); background: var(--gold-soft); }
.kicker.ok { color: var(--ok); background: var(--ok-soft); }
.hero h1 { font-size: clamp(2.5rem, 12vw, 4.3rem); line-height: 1.15; margin-bottom: .1em; letter-spacing: -.01em; }
html[lang=en] .hero h1 { font-size: clamp(2.2rem, 10vw, 4rem); letter-spacing: -.03em; line-height: 1.08; }
.hero-sub { font-size: clamp(1.15rem, 5vw, 1.6rem); font-weight: 800; color: var(--p3); margin-bottom: .6em; line-height: 1.4; }
.lead { font-size: 1.06rem; color: var(--muted); max-width: 34em; }
.claim { display: flex; flex-direction: column; gap: 8px; margin: 1.3em 0 1em; max-width: 520px; }
.claim input { flex: 1; min-width: 0; min-height: 52px; padding: 0 1.1em; border: 1.5px solid var(--line2); border-radius: 999px; background: #fff; font-size: 1.02rem; }
.claim input:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 4px var(--soft); }
.claim .btn { min-height: 52px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { display: inline-flex; align-items: center; gap: 6px; padding: .28em .85em; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .86rem; font-weight: 600; }
.pills .ic { color: var(--ok); }

.hero-art { position: relative; width: min(330px, 86vw); margin-inline: auto; padding-top: 74px; }
.sign { position: absolute; top: 0; inset-inline-start: 50%; width: 190px; margin-inline-start: -95px; z-index: 2; animation: sway 6s ease-in-out infinite; transform-origin: 50% 0; }
.sign-bar { display: block; height: 6px; border-radius: 6px; background: var(--p3); }
.sign-rope { position: absolute; top: 6px; width: 2px; height: 18px; background: #d99a2b; }
.sign-rope.r1 { inset-inline-start: 38px; } .sign-rope.r2 { inset-inline-end: 38px; }
.sign-board { margin-top: 18px; background: #fff; border: 2px solid var(--p); border-radius: 16px; padding: 8px 12px 10px; text-align: center; box-shadow: var(--shadow2); }
.sign-board b { display: block; font-size: 1.3rem; font-weight: 800; color: var(--p); line-height: 1.3; }
.sign-board small { font-size: .74rem; color: var(--muted); font-weight: 600; }
@keyframes sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
.phone { position: relative; background: #fff; border: 1px solid var(--line2); border-radius: 30px; padding: 34px 12px 14px; box-shadow: var(--shadow2); }
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 10px; }
.phone-top b { font-weight: 800; color: var(--p3); }
.phone-top i { width: 22px; height: 3px; border-radius: 3px; background: var(--line2); box-shadow: 0 6px 0 var(--line2); margin-bottom: 6px; }
.phone-hero { border-radius: 16px; padding: 16px 14px; background: linear-gradient(135deg, var(--soft), var(--gold-soft)); display: grid; gap: 7px; margin-bottom: 10px; }
.phone-hero span { height: 9px; border-radius: 9px; background: rgba(88, 28, 135, .28); width: 62%; }
.phone-hero span + span { width: 40%; background: rgba(88, 28, 135, .16); }
.phone-hero em { justify-self: start; font-style: normal; font-size: .72rem; font-weight: 700; color: #fff; background: var(--p); border-radius: 999px; padding: .2em .9em; margin-top: 4px; }
.phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone-grid div { border: 1px solid var(--line); border-radius: 12px; padding: 6px; display: grid; gap: 5px; }
.phone-grid i { display: block; aspect-ratio: 4/3; border-radius: 8px; }
.phone-grid .c1 { background: #eadcfb; } .phone-grid .c2 { background: #fbe6c4; } .phone-grid .c3 { background: #d9efe2; } .phone-grid .c4 { background: #fbdde6; }
.phone-grid u { height: 6px; border-radius: 6px; background: var(--line); width: 70%; }
.phone-grid s { text-decoration: none; font-size: .72rem; font-weight: 800; color: var(--p3); }
.toast { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 7px 12px; box-shadow: var(--shadow2); font-size: .78rem; line-height: 1.35; z-index: 3; }
.toast b { display: block; } .toast small { color: var(--muted); }
.toast .ic { color: var(--p); }
.t-order { top: 46%; inset-inline-start: -6px; }
.t-live { bottom: 18px; inset-inline-end: -4px; } .t-live .ic { color: var(--ok); }

/* ---- sections */
.section { padding: 52px 0; }
.section.top0 { padding-top: 8px; }
.tint { background: var(--bg2); }
.sec-head { max-width: 680px; margin: 0 auto 28px; text-align: center; }
.page-head { padding: 36px 0 22px; background: radial-gradient(700px 300px at 85% -30%, #ecdcfd 0%, transparent 62%), var(--bg); }
.page-head .lead { max-width: 46em; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.card h3 .ic { color: var(--p); }
.grid3, .grid2 { display: grid; gap: 14px; }
.gap-top { margin-top: 26px; }
.chip-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--soft); color: var(--p); margin-bottom: 12px; flex: none; }
.chip-ic.sm { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 0; }
.ticks { display: grid; gap: 8px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks .ic { color: var(--ok); margin-top: .3em; }
.ticks.sm { font-size: .93rem; color: var(--muted); gap: 5px; }
.pillar p { color: var(--muted); }

.flow { display: grid; gap: 12px; counter-reset: s; margin-bottom: 26px; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 6px; position: relative; }
.flow-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold2); color: #4a2f05; font-weight: 800; margin-bottom: 8px; }
.flow p { color: var(--muted); font-size: .95rem; }

/* ---- templates */
.tpls { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.tpl { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.tpl:first-child { grid-column: 1 / -1; }
.tpl-shot { background: var(--tb); padding: 14px 14px 0; aspect-ratio: 4/3.4; overflow: hidden; display: flex; justify-content: center; }
.tpl-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 12px 12px 0 0; }
.tpl-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tpl-body h3 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.tpl-for { font-size: .8rem; font-weight: 700; color: var(--muted); }
.tpl-body p { margin: 0; flex: 1; }
.tpl-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.mock { display: block; width: min(100%, 250px); background: #fff; border-radius: 14px 14px 0 0; padding: 9px; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .28); color: var(--tp); }
.mock-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: .78rem; }
.mock-bar b { font-weight: 800; }
.mock-bar i { width: 14px; height: 2px; background: currentColor; opacity: .5; box-shadow: 0 4px 0 currentColor; }
.mock-hero { display: grid; gap: 5px; border-radius: 9px; padding: 13px 10px; background: var(--tb); margin-bottom: 8px; }
.mock-hero > span { height: 6px; width: 60%; border-radius: 6px; background: var(--tp); opacity: .75; }
.mock-hero > span + span { width: 38%; opacity: .35; }
.mock-hero em { width: 44px; height: 13px; border-radius: 13px; background: var(--ta); margin-top: 3px; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mock-grid > * { display: grid; gap: 4px; }
.mock-grid i { display: block; aspect-ratio: 4/5; border-radius: 7px; background: var(--tb); }
.mock-grid u { height: 4px; width: 70%; border-radius: 4px; background: var(--tp); opacity: .3; }
.mock-grid s { height: 5px; width: 34%; border-radius: 5px; background: var(--ta); }
.mock-dense .mock-grid { grid-template-columns: repeat(3, 1fr); } .mock-dense .mock-grid i { aspect-ratio: 1; border-radius: 4px; }
.mock-soft .mock-grid i { aspect-ratio: 1; border-radius: 14px; } .mock-soft .mock-hero { border-radius: 16px; }
.mock-menu .mock-grid { grid-template-columns: 1fr; }
.mock-menu .mock-grid > * { grid-template-columns: 34px 1fr 16px; align-items: center; gap: 7px; border-bottom: 1px solid #f0e6d6; padding-bottom: 5px; }
.mock-menu .mock-grid i { aspect-ratio: 1; border-radius: 8px; } .mock-menu .mock-grid s { width: 16px; height: 16px; border-radius: 50%; }
.mock.mini { width: 100%; padding: 6px; border-radius: 10px; box-shadow: none; border: 1px solid rgba(0, 0, 0, .06); }
.mock.mini .mock-grid i { aspect-ratio: 5/3; } .mock.mini.mock-menu .mock-grid i { aspect-ratio: 1; }
.mock.mini .mock-bar { font-size: .62rem; margin-bottom: 5px; } .mock.mini .mock-hero { padding: 8px 6px; margin-bottom: 5px; }

/* ---- features */
.feats { display: grid; gap: 12px; }
.feat { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; }
.feat h3 { margin-bottom: .15em; font-size: 1rem; } .feat p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---- managed */
.managed { display: grid; gap: 22px; background: #fff; border: 1px solid var(--gold-line); border-radius: 24px; padding: 22px 18px; box-shadow: var(--shadow); }
.managed-price { font-size: 1rem; margin: 1.1em 0 .9em; } .managed-price b { font-size: 1.5rem; color: var(--p3); } .managed-price span { display: block; color: var(--muted); font-size: .9rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.you-we { display: grid; gap: 10px; }
.you-we > div { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; background: var(--bg); }
.you-we .we { background: var(--gold-soft); border-color: var(--gold-line); }
.you-we h3 { font-size: .95rem; color: var(--muted); } .you-we .we h3 { color: var(--gold); }
.you-we li { position: relative; padding-inline-start: 16px; font-weight: 600; }
.you-we li::before { content: ''; position: absolute; inset-inline-start: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--line2); }
.you-we .we li::before { background: var(--gold2); }
.bassma, .bassma-card { display: flex; align-items: center; gap: 12px; margin-top: 10px; border: 1px dashed var(--line2); border-radius: var(--r-sm); padding: 12px 14px; background: #fff; }
.bassma span:nth-child(2) { flex: 1; } .bassma b { display: block; } .bassma small { color: var(--muted); display: block; line-height: 1.5; }
.bassma .arr { color: var(--p); }

/* ---- plans */
.trial-strip, .note { display: flex; gap: 10px; align-items: flex-start; background: var(--soft); border: 1px solid #e2d2f8; border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 18px; }
.trial-strip p, .note span { margin: 0; flex: 1; } .trial-strip .ic, .note .ic { color: var(--p); margin-top: .25em; }
.note { font-size: .93rem; margin: 14px 0; }
.note.gold { background: var(--gold-soft); border-color: var(--gold-line); } .note.gold .ic { color: var(--gold); }
.note.warn { background: var(--warn-soft); border-color: #f3e2ae; } .note.warn .ic { color: var(--gold); }
.plans { display: grid; gap: 16px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 20px 20px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.hl { border: 2px solid var(--p); box-shadow: var(--shadow2); }
.plan.plan-managed { border-color: var(--gold-line); }
.plan-flag { position: absolute; top: -13px; inset-inline-start: 18px; background: var(--p); color: #fff; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: .15em .9em; }
.plan-flag.gold { background: var(--gold2); color: #4a2f05; }
.plan h3 { font-size: 1.35rem; margin-bottom: .1em; }
.plan-for { color: var(--muted); font-size: .93rem; min-height: 3.2em; margin-bottom: .6em; }
.plan-price { margin: 0; } .plan-price b { font-size: 2rem; font-weight: 800; color: var(--p3); letter-spacing: -.01em; } .plan-price span { color: var(--muted); }
.plan-fee { display: inline-block; align-self: flex-start; margin: .5em 0 .7em; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold); font-weight: 800; border-radius: 999px; padding: .12em .9em; font-size: .95rem; }
.plan-meta { font-size: .88rem; color: var(--muted); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.plan .ticks { flex: 1; align-content: start; margin-bottom: 18px; font-size: .95rem; }
.fee-note { margin-top: 20px; background: #fff; border: 1px solid var(--gold-line); border-inline-start: 5px solid var(--gold2); border-radius: var(--r-sm); padding: 18px; }
.fee-note ul { display: grid; gap: 6px; margin-bottom: 10px; }
.fee-note li { position: relative; padding-inline-start: 18px; }
.fee-note li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold2); }
.fee-note p { margin: 0; }
.cmp-wrap { max-width: 100%; contain: paint; overflow-x: auto; overflow-y: hidden; margin-top: 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; -webkit-overflow-scrolling: touch; }
.cmp { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .92rem; }
.cmp caption { text-align: start; font-weight: 800; padding: 14px 16px 6px; font-size: 1.05rem; }
.cmp th, .cmp td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: center; }
.cmp thead th { border-top: 0; color: var(--p3); font-size: 1rem; }
.cmp tbody th { text-align: start; font-weight: 600; position: sticky; inset-inline-start: 0; background: #fff; min-width: 150px; }
.cmp .y { color: var(--ok); } .cmp .n { color: #a39bb3; }

/* ---- FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--p); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 16px 6px; color: var(--muted); }
.faq-a ul, .prose ul { list-style: disc; padding-inline-start: 1.3em; margin-bottom: 1em; display: block; }
.faq-a li, .prose li { margin-bottom: .3em; }

/* ---- closing band + footer */
.band { background: linear-gradient(120deg, var(--p3), var(--p)); color: #fff; padding: 38px 0; }
.band-in { display: grid; gap: 16px; align-items: center; }
.band h2 { color: #fff; margin-bottom: .2em; } .band p { margin: 0; opacity: .92; }
.foot { background: #fff; border-top: 1px solid var(--line); padding: 34px 0 18px; }
.foot-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; margin-bottom: 20px; }
.foot-about { grid-column: 1 / -1; } .foot-about p { margin: .5em 0 0; }
.foot nav { display: grid; gap: 6px; align-content: start; font-size: .94rem; }
.foot nav h3 { font-size: .9rem; color: var(--muted); margin-bottom: .2em; }
.foot nav a { overflow-wrap: anywhere; } .foot nav a:hover, .foot-line a:hover { color: var(--p); }
.foot-line { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.foot-bare { padding: 18px 0; background: none; border: 0; text-align: center; } .foot-bare .foot-line { border: 0; padding: 0; }
.foot-line a { text-decoration: underline; }

/* ---- prose (legal) */
.prose h2 { font-size: 1.2rem; margin-top: 1.6em; color: var(--p3); }
.prose p, .prose li { color: #3a3150; }
.legal-nav { display: flex; gap: 16px; margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--line); }
.legal-nav a { color: var(--p); font-weight: 700; }

/* ---- forms */
.field { margin-bottom: 16px; }
.field label, .label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 5px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field select, .field textarea, .slug-in {
  width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line2); border-radius: var(--r-sm); background: #fff; font-size: 1rem; }
.field textarea { padding: 10px 14px; min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .slug-in:focus-within { outline: none; border-color: var(--p); box-shadow: 0 0 0 4px var(--soft); }
.field input[aria-invalid=true] { border-color: var(--bad); }
.field input[dir=ltr] { text-align: start; }
[dir=rtl] .field input[dir=ltr] { text-align: right; }
[dir=rtl] .field input[dir=ltr]::placeholder { text-align: right; }
.hint { font-size: .84rem; color: var(--muted); margin: 5px 0 0; } .hint a { color: var(--p); font-weight: 700; }
.err { font-size: .88rem; color: var(--bad); font-weight: 600; margin: 5px 0 0; }
.slug-in { display: flex; align-items: center; padding: 0; overflow: hidden; }
.slug-in input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; min-height: 47px; padding: 0 12px; background: none; font-weight: 700; font-size: 1.02rem; outline: none; text-align: left !important; }
.slug-suf { padding: 0 12px; color: var(--muted); font-size: .9rem; background: var(--bg2); align-self: stretch; display: flex; align-items: center; border-inline-start: 1px solid var(--line); white-space: nowrap; }
.slug-pre { border-inline-start: 0; border-inline-end: 1px solid var(--line); padding: 0 8px 0 10px; font-size: .82rem; }   /* path mode: mb-brands.com/yafta/s/ before the name */
.slug-msg { min-height: 1.5em; margin: 5px 0 0; font-size: .9rem; font-weight: 700; color: var(--muted); }
.slug-msg.ok { color: var(--ok); } .slug-msg.bad { color: var(--bad); }
.sugg { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.sugg button { border: 1px solid var(--line2); background: #fff; border-radius: 999px; padding: .2em .9em; font-weight: 700; font-size: .88rem; cursor: pointer; direction: ltr; min-height: 34px; }
.sugg button:hover { border-color: var(--p); color: var(--p); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input, .opt input, .tpl-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border: 1.5px solid var(--line2); border-radius: 999px; background: #fff; font-weight: 600; font-size: .93rem; cursor: pointer; }
.chip input:checked + span { border-color: var(--p); background: var(--soft); color: var(--p3); }
.chip input:focus-visible + span, .opt input:focus-visible + .opt-body, .tpl-opt input:focus-visible + .tpl-opt-in { outline: 2px solid var(--p); outline-offset: 2px; }
.opts { display: grid; gap: 10px; margin: 12px 0; }
.opt { display: block; position: relative; cursor: pointer; }
.opt-body { display: block; border: 1.5px solid var(--line2); border-radius: var(--r-sm); background: #fff; padding: 12px 14px; padding-inline-end: 42px; position: relative; }
.opt-body::after { content: ''; position: absolute; inset-inline-end: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 2px solid var(--line2); background: #fff; }
.opt input:checked + .opt-body { border-color: var(--p); background: #fbf8ff; box-shadow: 0 0 0 3px var(--soft); }
.opt input:checked + .opt-body::after { border-color: var(--p); background: radial-gradient(circle, var(--p) 0 45%, #fff 50%); }
.opt-body b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; } .opt-body b .ic { color: var(--p); }
.opt-body em { font-style: normal; font-weight: 800; color: var(--p3); margin-inline-start: auto; }
.opt-body small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.opt-body small.fee { color: var(--gold); font-weight: 700; margin-top: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 6px; font-size: .93rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--p); flex: none; }
.check a { color: var(--p); font-weight: 700; text-decoration: underline; }
.pass-in { position: relative; }
.pass-eye { position: absolute; inset-inline-end: 4px; top: 4px; width: 42px; height: 42px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 10px; }
.pass-eye[aria-pressed=true] { color: var(--p); }
.flash { border-radius: var(--r-sm); padding: 11px 14px; margin: 14px 0; font-weight: 600; font-size: .95rem; border: 1px solid transparent; }
.flash.ok { background: var(--ok-soft); color: #0f5c2d; border-color: #c7e8d2; }
.flash.error { background: var(--bad-soft); color: var(--bad); border-color: #f6cdc8; }
.flash.info { background: var(--soft); color: var(--p3); border-color: #e2d2f8; }

/* ---- wizard */
.wiz-wrap, .auth-wrap { padding: 22px 0 40px; min-height: calc(100vh - 140px); background: radial-gradient(700px 320px at 90% -20%, #ecdcfd 0%, transparent 62%), var(--bg); }
.wiz { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 20px 16px 18px; box-shadow: var(--shadow); }
.wiz-head h1 { font-size: clamp(1.45rem, 6vw, 1.9rem); margin-bottom: .15em; }
.wiz-head p { margin-bottom: .7em; font-size: .95rem; }
.wiz-prog { height: 6px; border-radius: 6px; background: var(--bg2); overflow: hidden; }
.wiz-prog span { display: block; height: 100%; width: 20%; border-radius: 6px; background: linear-gradient(90deg, var(--p), var(--gold2)); transition: width .3s; }
[dir=rtl] .wiz-prog span { background: linear-gradient(270deg, var(--p), var(--gold2)); }
.wiz-count { margin: 6px 0 0; }
.step { border: 0; padding: 0; margin: 18px 0 0; min-width: 0; }
.step legend { font-size: 1.2rem; font-weight: 800; padding: 0; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold2); color: #4a2f05; font-size: .95rem; }
.js .wiz .step { display: none; } .js .wiz .step.on { display: block; animation: stepin .25s ease; }
@keyframes stepin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.no-js .step { border-top: 1px solid var(--line); padding-top: 16px; }
.wiz-nav { display: flex; gap: 10px; margin-top: 18px; }
.wiz-nav .btn { flex: 1; } .wiz-nav [data-back] { flex: 0 0 auto; }
.wiz-login { margin: 14px 0 0; } .wiz-login a { color: var(--p); font-weight: 700; }
.logo-pane { display: none; gap: 14px; align-items: center; margin: 12px 0; }
.logo-pane.show { display: flex; } .logo-pane[data-pane=upload].show { display: block; }
.no-js .logo-pane[data-pane=upload] { display: block; }
.note[data-pane], .note[data-pane-plan] { display: none; } .note.show { display: flex; }
.no-js .note[data-pane], .no-js .note[data-pane-plan] { display: flex; }
.mono { width: 116px; height: 116px; border-radius: 18px; border: 1px solid var(--line); background: #fff; flex: none; }
.mono-ctl { flex: 1; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.seg-b { border: 1.5px solid var(--line2); background: #fff; border-radius: 999px; padding: 0 12px; min-height: 36px; font-weight: 600; font-size: .86rem; cursor: pointer; }
.seg-b.on { border-color: var(--p); background: var(--soft); color: var(--p3); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff; background: var(--sw); box-shadow: 0 0 0 1.5px var(--line2); cursor: pointer; padding: 0; }
.sw.on { box-shadow: 0 0 0 2.5px var(--p); }
input[type=file] { width: 100%; padding: 12px; border: 1.5px dashed var(--line2); border-radius: var(--r-sm); background: var(--bg); }
.tpl-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.tpl-opt { position: relative; cursor: pointer; display: block; }
.tpl-opt-in { display: grid; gap: 2px; border: 1.5px solid var(--line2); border-radius: var(--r-sm); padding: 8px; background: var(--tb); height: 100%; align-content: start; }
.tpl-opt-in img { border-radius: 8px; aspect-ratio: 4/3.6; object-fit: cover; object-position: top; width: 100%; }
.tpl-opt-in b { margin-top: 6px; font-size: .98rem; color: #1f1630; } .tpl-opt-in small { color: #4b4360; font-size: .78rem; line-height: 1.4; }
.tpl-opt input:checked + .tpl-opt-in { border-color: var(--p); box-shadow: 0 0 0 3px var(--soft); }
.tpl-opt input:checked + .tpl-opt-in > b::after { content: ' ✓'; color: var(--p); }
.summary { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; margin: 14px 0; background: var(--bg); }
.sum-logo { width: 48px; height: 48px; border-radius: 12px; flex: none; background: #fff; }
.summary b { display: block; line-height: 1.4; } .summary small { color: var(--muted); display: block; overflow-wrap: anywhere; text-align: start; }
[dir=rtl] .summary small { text-align: right; }
.step .btn.big { margin-bottom: 8px; }

/* ---- done page */
.done { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px 16px; box-shadow: var(--shadow); }
.done-top { text-align: center; margin-bottom: 16px; }
.done-logo { width: 84px; height: 84px; border-radius: 22px; border: 1px solid var(--line); margin: 0 auto 10px; object-fit: cover; background: #fff; }
.done-logo.ph { display: grid; place-items: center; color: var(--p); background: var(--soft); }
.done-top h1 { font-size: clamp(1.4rem, 6vw, 1.9rem); }
.done-link { display: grid; gap: 16px; padding: 16px; box-shadow: none; background: var(--bg); }
.done-url > a { display: block; font-size: 1.12rem; font-weight: 800; color: var(--p); overflow-wrap: anywhere; margin-bottom: 12px; text-align: start; }
[dir=rtl] .done-url > a { text-align: right; }
.done-btns { display: flex; flex-wrap: wrap; gap: 8px; } .done-btns .btn { flex: 1 1 auto; }
.done-qr { display: grid; justify-items: center; gap: 4px; }
.done-qr canvas { border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.done h2 { font-size: 1.15rem; margin-top: 1.3em; }
.checklist { display: grid; gap: 8px; margin-bottom: 18px; counter-reset: c; }
.checklist a { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; background: #fff; }
.checklist a:hover { border-color: var(--p); }
.checklist a > span:nth-child(2) { flex: 1; } .checklist b { display: block; line-height: 1.5; } .checklist small { color: var(--muted); display: block; line-height: 1.5; }
.checklist .arr { color: var(--muted); }
.checklist .is-done .chip-ic { background: var(--ok-soft); color: var(--ok); } .checklist .is-done b { text-decoration: line-through; color: var(--muted); }
.bassma-card { flex-wrap: wrap; } .bassma-card > div { flex: 1 1 180px; } .bassma-card p { margin: 0; }
form.note { align-items: flex-start; }

/* ---- auth */
.auth-wrap { display: grid; place-items: start center; padding-inline: 16px; }
.auth { width: 100%; max-width: 430px; padding: 24px 20px; border-radius: 24px; }
.auth.wide { max-width: 520px; }
.auth h1 { font-size: 1.5rem; }
.auth-alt { margin: 16px 0 0; } .auth-alt a { color: var(--p); font-weight: 700; }
.code { letter-spacing: .3em; font-size: 1.3rem !important; text-align: center !important; }
.big-ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--soft); color: var(--p); margin-bottom: 12px; }
.big-ic.ok { background: var(--ok-soft); color: var(--ok); } .big-ic.bad { background: var(--bad-soft); color: var(--bad); }

/* ---- wider screens */
@media (min-width: 560px) {
  .claim { flex-direction: row; }
  .feats { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .tpl-pick { grid-template-columns: repeat(3, 1fr); }
  .done-link { grid-template-columns: 1fr auto; align-items: center; }
  .wiz { padding: 28px 28px 24px; } .done { padding: 30px 28px; }
}
@media (min-width: 760px) {
  .grid3 { grid-template-columns: repeat(3, 1fr); } .grid2 { grid-template-columns: 1fr 1fr; }
  .tpls { grid-template-columns: repeat(3, 1fr); } .tpl:first-child { grid-column: auto; }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .band-in { grid-template-columns: 1fr auto; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .foot-about { grid-column: auto; }
  .you-we { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; } .section.top0 { padding-top: 12px; }
}
@media (min-width: 960px) {
  .links { display: flex; gap: 22px; } .links a { padding: 0; font-size: .95rem; } .links-only-m { display: none; }
  .burger { display: none; } .hide-m { display: inline-flex; }
  .hero { padding: 56px 0 84px; }
  .hero-in { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .flow { grid-template-columns: repeat(4, 1fr); }
  .feats { grid-template-columns: repeat(3, 1fr); }
  .tpls { grid-template-columns: repeat(5, 1fr); }
  .tpl-shot { aspect-ratio: 4/4.4; }
  .managed { grid-template-columns: 1.1fr .9fr; padding: 40px; gap: 40px; align-items: center; }
  .t-order { inset-inline-start: -44px; } .t-live { inset-inline-end: -34px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
