/* MMR public site: the B · Clean tokens (docs/design/design-system.md), neutral brand,
   the women's rose only as a secondary accent. Light/dark follow the device. */
@font-face { font-family: Tajawal; font-weight: 400; font-display: swap; src: url(/fonts/tajawal-arabic-400-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: Tajawal; font-weight: 500; font-display: swap; src: url(/fonts/tajawal-arabic-500-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: Tajawal; font-weight: 700; font-display: swap; src: url(/fonts/tajawal-arabic-700-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: Tajawal; font-weight: 800; font-display: swap; src: url(/fonts/tajawal-arabic-800-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: Tajawal; font-weight: 400; font-display: swap; src: url(/fonts/tajawal-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: Tajawal; font-weight: 500; font-display: swap; src: url(/fonts/tajawal-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: Tajawal; font-weight: 700; font-display: swap; src: url(/fonts/tajawal-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: Tajawal; font-weight: 800; font-display: swap; src: url(/fonts/tajawal-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

:root {
  --bg: #F6F6F4; --surface: #FFFFFF; --fill: #EFEFEF; --sep: #E2E2E0;
  --text: #141414; --text2: #3D3D3D; --muted: #5C5C5C;
  --glass: rgba(255,255,255,0.72); --edge: rgba(0,0,0,0.10); --input-edge: #8A8A8A;
  --warn-bg: #FFF4E5; --warn-text: #7A4100; --ok-bg: #E6F4EA; --ok-text: #1E6B34;
  --danger-bg: #FFEBEE; --danger-text: #B3261E; --info-bg: #E8F0FE; --info-text: #1A4FA0;
  --brand: #141414; --on-brand: #FFFFFF; --tint: #EAEAEA;
  --rose: #C2255C; --on-rose: #FFFFFF; --rose-text: #A61E4D; --rose-tint: #FCE4EC;
  --pad: 120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --surface: #1C1C1E; --fill: #2C2C2E; --sep: #38383A;
    --text: #FFFFFF; --text2: #E5E5EA; --muted: #AEAEB2;
    --glass: rgba(28,28,30,0.72); --edge: rgba(255,255,255,0.14); --input-edge: #8E8E93;
    --warn-bg: #3A2A12; --warn-text: #FFCC80; --ok-bg: #12301C; --ok-text: #7FD69A;
    --danger-bg: #3B1214; --danger-text: #FF8A80; --info-bg: #14243D; --info-text: #9CC3FF;
    --brand: #F2F2F2; --on-brand: #141414; --tint: #2C2C2E;
    --rose-text: #F06595; --rose-tint: rgba(194,37,92,0.28);
  }
}

* { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Tajawal, -apple-system, sans-serif; line-height: 1.5; -webkit-text-size-adjust: 100%; }
a { color: inherit; }
a:hover { opacity: .85; }
h1, h2, h3, p { margin: 0; }
svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile svg { fill: currentColor; stroke: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
input::placeholder, textarea::placeholder { color: inherit; opacity: .75; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
.skip { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 9; padding: 12px 16px; border-radius: 12px; background: var(--brand); color: var(--on-brand); font-weight: 800; text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 2; height: 72px; padding: 0 var(--pad); display: flex; align-items: center; gap: 24px; background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 0.5px solid var(--edge); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 20px; font-weight: 800; }
.tile { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: var(--on-brand); display: flex; align-items: center; justify-content: center; }
.tile svg { width: 28px; height: 28px; }
.brand.small { gap: 10px; font-size: 17px; }
.brand.small .tile { width: 32px; height: 32px; border-radius: 10px; }
.brand.small .tile svg { width: 22px; height: 22px; }
.nav { flex: 1; display: flex; gap: 4px; justify-content: center; }
.nav a, .lang { min-height: 44px; padding: 0 14px; display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 500; text-decoration: none; border-radius: 22px; color: var(--text2); }
body[data-page=privacy] .nav a[href$=privacy], body[data-page=support] .nav a[href$=support] { background: var(--fill); color: var(--text); font-weight: 800; }
.lang { font-size: 15px; font-weight: 700; }
.btn { min-height: 48px; padding: 0 22px; border: 0; border-radius: 26px; background: var(--brand); color: var(--on-brand); display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 17px; font-weight: 800; text-decoration: none; cursor: pointer; }
.btn.get { min-height: 44px; font-size: 16px; padding: 0 20px; }
.btn.quiet { background: var(--fill); color: var(--text); }
.btn.danger { background: var(--danger-text); color: var(--surface); }
.btn.danger-soft { background: var(--danger-bg); color: var(--danger-text); }
.btn:disabled { opacity: .6; cursor: default; }
.menu { display: none; position: relative; }
.menu summary { width: 44px; height: 44px; border-radius: 22px; background: var(--fill); display: flex; align-items: center; justify-content: center; }
.menu nav { position: fixed; top: 60px; inset-inline: 0; padding: 8px 16px 20px; background: var(--surface); box-shadow: 0 12px 32px rgba(0,0,0,0.18); display: flex; flex-direction: column; }
.menu nav a:not(.btn) { min-height: 52px; padding: 0 4px; display: flex; align-items: center; font-size: 18px; font-weight: 700; text-decoration: none; border-bottom: 0.5px solid var(--sep); }
.menu nav .btn { margin-top: 16px; min-height: 52px; }

/* Footer */
.foot { padding: 48px var(--pad); border-top: 0.5px solid var(--sep); display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.foot-brand .brand { color: var(--text); }
.foot nav { display: flex; flex-wrap: wrap; column-gap: 24px; }
.foot nav a { min-height: 44px; display: flex; align-items: center; font-size: 15px; color: var(--text2); text-decoration: none; }

/* Landing */
.sec { padding: 40px var(--pad); }
.hero { padding: 72px var(--pad) 56px; display: flex; gap: 64px; align-items: center; }
.hero-text { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.kicker { align-self: flex-start; padding: 6px 14px; border-radius: 16px; background: var(--fill); font-size: 15px; font-weight: 700; color: var(--text2); }
.hero h1 { font-size: 60px; line-height: 1.15; font-weight: 800; }
.lead { font-size: 21px; line-height: 1.6; color: var(--text2); max-width: 560px; }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.soon { margin-top: 8px; font-size: 18px; font-weight: 800; }
.phones { flex: none; display: flex; gap: 24px; align-items: flex-end; }
.phone { flex: none; width: 280px; height: 580px; padding: 10px; border-radius: 48px; background: #0B0B0B; box-shadow: 0 30px 60px rgba(0,0,0,0.25), inset 0 0 0 2px #2A2A2A; }
.phone.w { width: 240px; height: 498px; }
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #F6F6F4; color: #141414; display: flex; flex-direction: column; font-size: 12px; }
.screen::before { content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 12px; background: #000; }
.s-head { background: #141414; color: #FFFFFF; padding: 46px 14px 16px; border-radius: 0 0 24px 24px; display: flex; flex-direction: column; gap: 2px; }
.w .s-head { background: #C2255C; }
.s-head b { font-size: 17px; }
.s-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.s-due { border-radius: 16px; background: #FFF4E5; color: #7A4100; padding: 8px 10px; display: flex; align-items: center; gap: 8px; font-size: 11px; }
.s-due span:first-child { flex: 1; }
.s-due span + span { border-radius: 12px; background: #7A4100; color: #FFF4E5; padding: 5px 10px; font-weight: 800; }
.s-card { border-radius: 16px; background: #FFFFFF; padding: 10px; display: flex; flex-direction: column; gap: 4px; font-size: 10px; color: #5C5C5C; }
.s-card b { font-size: 13px; color: #141414; }
.s-chip { align-self: flex-start; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: #EAEAEA; color: #141414; }
.w .s-chip { background: #FCE4EC; color: #A61E4D; }
.s-tabs { margin: auto 10px 12px; height: 50px; border-radius: 25px; background: rgba(255,255,255,0.86); box-shadow: 0 4px 16px rgba(0,0,0,0.10), inset 0 0 0 0.5px rgba(0,0,0,0.10); display: flex; }
.s-tabs span { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; color: #3D3D3D; }
.s-tabs span:first-child { font-weight: 800; color: #141414; }
.features { display: flex; flex-direction: column; gap: 28px; }
.sec h2 { font-size: 36px; font-weight: 800; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--surface); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 20px; font-weight: 800; }
.card p { font-size: 16px; line-height: 1.6; color: var(--text2); }
.ic { width: 48px; height: 48px; border-radius: 16px; background: var(--tint); color: var(--text); display: flex; align-items: center; justify-content: center; }
.ic.rose { background: var(--rose-tint); color: var(--rose-text); }
.pair { display: flex; gap: 24px; }
.panel { flex: 1; background: var(--surface); border-radius: 32px; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.panel h2, .cta h2 { font-size: 32px; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 22px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li > span:first-child { flex: none; width: 40px; height: 40px; border-radius: 20px; background: var(--brand); color: var(--on-brand); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
.steps li > span + span { display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.6; color: var(--text2); }
.steps b { font-size: 18px; color: var(--text); }
.panel.rose { background: var(--rose); color: var(--on-rose); gap: 20px; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 1.6; }
.checks svg { stroke-width: 2.4; }
.panel.rose .btn { align-self: flex-start; background: #FFFFFF; color: #A61E4D; font-size: 16px; }
.faq { display: flex; gap: 48px; align-items: flex-start; }
.faq h2 { flex: none; width: 300px; }
.faq-list { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border-radius: 20px; padding: 0 20px; }
.faq summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 17px; font-weight: 800; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: 0 0 18px; font-size: 16px; line-height: 1.7; color: var(--text2); }
.cta-wrap { padding: 40px var(--pad) 56px; }
.cta { background: var(--brand); color: var(--on-brand); border-radius: 32px; padding: 40px 48px; display: flex; align-items: center; gap: 32px; }
.cta > div:first-child { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 18px; line-height: 1.6; }

/* Legal pages */
.legal { padding: 56px var(--pad) 48px; display: flex; gap: 64px; align-items: flex-start; }
.toc { order: 2; flex: none; width: 240px; position: sticky; top: 104px; display: flex; flex-direction: column; gap: 2px; }
.toc b { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.toc a { min-height: 44px; display: flex; align-items: center; font-size: 15px; color: var(--text2); text-decoration: none; }
.doc { flex: 1; max-width: 760px; display: flex; flex-direction: column; gap: 28px; }
.doc header { display: flex; flex-direction: column; gap: 10px; }
.doc h1, .page-head h1 { font-size: 44px; font-weight: 800; line-height: 1.2; }
.doc .updated { font-size: 15px; color: var(--muted); }
.doc .intro, .page-head p { font-size: 18px; line-height: 1.7; color: var(--text2); }
.doc section { display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.75; color: var(--text2); }
.doc h2 { font-size: 22px; font-weight: 800; color: var(--text); }
.doc ul { margin: 0; padding-inline-start: 20px; }
.doc section.rose { background: var(--rose-tint); border-radius: 24px; padding: 24px; color: var(--text); }
.doc section.rose h2 { color: var(--rose-text); }

/* Support */
.support { padding: 56px var(--pad) 48px; display: flex; flex-direction: column; gap: 32px; }
.page-head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.cols { display: flex; gap: 24px; align-items: flex-start; }
.box { flex: 1; background: var(--surface); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.box.del { flex: none; width: 520px; }
.box h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; }
.box.del h2 { color: var(--danger-text); }
.box h3 { font-size: 20px; font-weight: 800; }
.box form, .step { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; gap: 16px; }
.row > * { flex: 1; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700; }
.field span { font-weight: 700; }
.field .hint, .hint { font-size: 14px; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { min-height: 52px; width: 100%; padding: 0 16px; border-radius: 14px; border: 1px solid var(--input-edge); background: var(--bg); color: var(--text); font: inherit; font-size: 17px; font-weight: 400; }
.field textarea { padding: 14px 16px; min-height: 140px; resize: vertical; line-height: 1.6; }
.field input[dir=ltr] { text-align: left; }
.field input[aria-invalid=true], .field textarea[aria-invalid=true] { border: 2px solid var(--danger-text); }
.field .code { height: 56px; text-align: center !important; letter-spacing: 12px; font-size: 24px; font-weight: 800; }
.err { font-size: 15px; font-weight: 700; color: var(--danger-text); }
.send-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.send-row .btn { padding: 0 32px; min-height: 52px; }
.lists { display: flex; gap: 12px; }
.lists > div { flex: 1; border-radius: 16px; background: var(--fill); padding: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.6; color: var(--text2); }
.lists b { font-size: 15px; color: var(--text); }
.msg { border-radius: 16px; padding: 14px 16px; font-size: 15px; line-height: 1.6; display: flex; flex-direction: column; gap: 4px; }
.msg b { font-size: 17px; }
.msg.warn { background: var(--warn-bg); color: var(--warn-text); }
.msg.ok { background: var(--ok-bg); color: var(--ok-text); }
.msg.info { background: var(--info-bg); color: var(--info-text); }
.msg.bad { background: var(--danger-bg); color: var(--danger-text); }
.linkish { min-height: 44px; border: 0; background: none; display: flex; align-items: center; justify-content: center; font: inherit; font-size: 15px; font-weight: 700; color: var(--text2); text-decoration: underline; cursor: pointer; }
.linkish:disabled { text-decoration: none; font-weight: 400; color: var(--muted); cursor: default; }
.btns { display: flex; gap: 12px; }
.btns .btn { flex: 1; min-height: 52px; }

/* Invite */
.invite { max-width: 440px; margin: 0 auto; min-height: 100vh; padding: 50px 16px 16px; display: flex; flex-direction: column; gap: 16px; }
.invite-top { min-height: 44px; display: flex; align-items: center; gap: 10px; }
.invite-top .brand { flex: 1; font-size: 18px; gap: 10px; }
.invite-top .brand .tile { width: 36px; height: 36px; border-radius: 11px; }
.invite-top .lang { padding: 0 8px; }
.invite-card { background: var(--surface); border-radius: 28px; padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.invite-card .ic { width: 56px; height: 56px; border-radius: 20px; }
.invite-card h1 { font-size: 26px; line-height: 1.3; font-weight: 800; }
.invite-card p { font-size: 17px; line-height: 1.6; color: var(--text2); }
.invite .btn { min-height: 52px; }
.invite-body { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.invite .no-app { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.invite .no-app > b { color: var(--text2); }
.invite .note { justify-content: center; align-items: center; font-size: 14px; gap: 8px; }
.invite-links { display: flex; justify-content: center; gap: 8px; }
.invite-links a { min-height: 44px; padding: 0 8px; display: flex; align-items: center; font-size: 14px; color: var(--text2); }

/* Tablet and phone */
@media (max-width: 1180px) {
  :root { --pad: 40px; }
  .nav { display: none; }
  .top { justify-content: space-between; }
  .brand { flex: 1; }
  .menu { display: block; }
  .hero { flex-direction: column; align-items: stretch; }
  .phones { justify-content: center; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .legal .toc { display: none; }
  .cols { flex-direction: column; align-items: stretch; }
  .box.del { width: auto; }
}
@media (max-width: 720px) {
  :root { --pad: 16px; }
  html { scroll-padding-top: 72px; }
  .top { height: 60px; gap: 10px; }
  .top .brand { gap: 10px; font-size: 18px; }
  .top .tile { width: 36px; height: 36px; border-radius: 11px; }
  .top .lang { padding: 0 8px; }
  .top .lang svg, .btn.get { display: none; }
  .hero { padding: 24px 16px 32px; gap: 24px; }
  .hero h1 { font-size: 36px; line-height: 1.2; }
  .lead { font-size: 18px; }
  .phone.w { display: none; }
  .phone { width: 260px; height: 540px; }
  .sec { padding: 24px 16px; }
  .sec h2 { font-size: 28px; }
  .grid4 { grid-template-columns: 1fr; }
  .pair, .faq, .cta, .foot, .row, .lists, .btns { flex-direction: column; align-items: stretch; }
  .faq { gap: 20px; }
  .faq h2 { width: auto; }
  .panel { padding: 24px; border-radius: 28px; }
  .panel h2, .cta h2 { font-size: 26px; }
  .cta-wrap { padding: 24px 16px 40px; }
  .cta { padding: 28px 20px; border-radius: 28px; gap: 20px; }
  .foot { padding: 32px 16px; }
  .foot nav { flex-direction: column; }
  .legal, .support { padding: 32px 16px 40px; }
  .doc h1, .page-head h1 { font-size: 32px; }
  .box { padding: 20px; border-radius: 24px; }
}
.toc ol, .toc-m ol { margin: 0; padding: 0; list-style: none; }
.toc-m { display: none; background: var(--surface); border-radius: 20px; padding: 0 20px; }
.toc-m summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; font-size: 17px; font-weight: 800; }
.toc-m[open] summary svg { transform: rotate(180deg); }
.toc-m a { min-height: 44px; display: flex; align-items: center; font-size: 16px; color: var(--text2); text-decoration: none; }
.toc-m ol { padding-bottom: 12px; }
.hint-body { font-size: 16px; line-height: 1.7; color: var(--text2); }
@media (max-width: 1180px) { .toc-m { display: block; } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
