/* متاجرة Motajrh — marketing site. Identity: black mark + orange #ff4f01, six-colour palette, confetti pattern. */
@font-face { font-family: "Shamel"; src: url("/fonts/shamel-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Shamel"; src: url("/fonts/shamel-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0d0d12;
  --ink-2: #3b3d4a;
  --muted: #6b6f80;
  --line: #e4e7ef;
  --mist: #e8ecf3;
  --paper: #ffffff;
  --soft: #f6f7fb;
  --brand: #ff4f01;
  --brand-dark: #d94300;
  --sun: #fcd227;
  --teal: #32d6c6;
  --blue: #2f98f7;
  --violet: #8e4df4;
  --purple: #bd57ff;
  --pink: #ff4080;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(13, 13, 18, .08);
  --font: "Montserrat", "Shamel", "Alexandria", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.75; font-size: 1rem; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.latin { direction: ltr; unicode-bidi: isolate; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(255, 79, 1, .28); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-lg { padding: 1em 2em; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand-logo { height: 44px; width: auto; max-width: none; flex: none; display: block; }
.site-header .container > a:first-child { flex: none; }
/* the links take the room between the logo and the two buttons; what does not fit goes under «المزيد» (the script in the layout) — the row never grows wider than the screen */
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: 8px; flex: 1 1 0; min-width: 0; }
.nav > a, .nav-more__btn { padding: .5em .85em; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .97rem; white-space: nowrap; flex: none; }
.nav > a:hover, .nav > a[aria-current="page"], .nav-more__btn:hover, .nav-more.open .nav-more__btn, .nav-more.is-current .nav-more__btn { background: var(--soft); color: var(--ink); }
.nav > a[aria-current="page"] { color: var(--brand, #ff4f01); background: color-mix(in srgb, var(--brand, #ff4f01) 10%, #fff); font-weight: 700; }
.nav-more { position: relative; flex: none; }
.nav-more[hidden] { display: none; }
.nav-more__btn { display: inline-flex; align-items: center; gap: .35em; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav-more__btn svg { transition: transform .15s; }
.nav-more.open .nav-more__btn svg { transform: rotate(180deg); }
.nav-more__menu { display: none; position: absolute; top: calc(100% + 10px); inset-inline-start: 0; min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; z-index: 60; }
.nav-more.open .nav-more__menu { display: grid; gap: 2px; }
.nav-more__menu a { padding: .65em .9em; border-radius: 10px; color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.nav-more__menu a:hover, .nav-more__menu a[aria-current="page"] { background: var(--soft); color: var(--ink); }
.header-cta { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; flex: none; }
.header-cta .btn { white-space: nowrap; padding: .65em 1.25em; }
@media (max-width: 1240px) { .site-header .container { gap: 14px; } .nav { margin-inline-start: 4px; } .header-cta .btn { padding: .6em 1.05em; font-size: .95rem; } }
.menu-toggle { display: none; margin-inline-start: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-more { display: none; }
  .header-cta .btn { padding: .6em 1em; font-size: .9rem; }
  .menu-toggle { display: block; margin-inline-start: 0; }
  .header-cta { margin-inline-start: auto; }
  .site-header.open .nav { display: flex; flex-direction: column; position: absolute; top: 72px; inset-inline: 0; background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); margin: 0; }
  .site-header.open .nav { align-items: stretch; flex: none; gap: 2px; }
  .site-header.open .nav a { padding: .8em 1em; font-size: 1rem; }
}

/* ---------- sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .9rem; color: var(--brand); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: currentColor; }
.bg-soft { background: var(--soft); }
.bg-mist { background: var(--mist); }
.bg-ink { background: linear-gradient(rgba(13, 13, 18, .5), rgba(13, 13, 18, .5)), url("/brand/pattern.svg") repeat, var(--ink); background-size: auto, 240px; color: #fff; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 96px; background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/brand/pattern.svg") repeat; background-size: 240px; opacity: .18; pointer-events: none; mask-image: linear-gradient(180deg, #000 0%, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.01em; }
.hero h1 .hl { color: var(--brand); }
.hero .lead { font-size: 1.2rem; color: var(--ink-2); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero-note { color: var(--muted); font-size: .92rem; display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span::before { content: "✓"; color: var(--teal); font-weight: 900; margin-inline-end: 6px; }

/* the store mock-up in the hero */
.mock { position: relative; }
.mock-window { background: #fff; border-radius: 22px; box-shadow: 0 30px 70px rgba(13, 13, 18, .16); overflow: hidden; border: 1px solid var(--line); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar .url { margin-inline-start: 10px; flex: 1; background: #fff; border-radius: 8px; font-size: .78rem; color: var(--muted); padding: 3px 12px; direction: ltr; text-align: left; }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-banner { border-radius: 14px; padding: 22px; color: #fff; background: var(--ink) url("/brand/pattern.svg"); background-size: 180px; }
.mock-banner b { display: block; font-size: 1.2rem; }
.mock-banner small { opacity: .8; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-card { border: 1px solid var(--line); border-radius: 12px; padding: 8px; font-size: .78rem; }
.mock-card .ph { height: 64px; border-radius: 8px; margin-bottom: 6px; }
.mock-card b { display: block; }
.mock-card span { color: var(--brand); font-weight: 700; }
.mock-float { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 12px 16px; font-size: .88rem; display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); }
.mock-float .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 900; }
.mock-float.f1 { bottom: -22px; inset-inline-start: -26px; }
.mock-float.f2 { top: 70px; inset-inline-end: -22px; }
.mock-float b { display: block; }
.mock-float small { color: var(--muted); }

@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .mock-float.f1 { inset-inline-start: 8px; }
  .mock-float.f2 { inset-inline-end: 8px; }
}

/* ---------- logos strip / stats ---------- */
.stats-band { display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: 28px; align-items: center; padding: 30px; border-radius: 28px; background: linear-gradient(135deg, #fff4ee, #fff 55%, #f4f7ff); border: 1px solid #ffe3d4; position: relative; overflow: hidden; }
.stats-band::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,79,1,.10), transparent 70%); inset-inline-start: -80px; top: -90px; pointer-events: none; }
.stats-band__head { position: relative; z-index: 1; }
.stats-band__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #ff4f01; color: #fff; box-shadow: 0 10px 22px -10px #ff4f01; margin-bottom: 12px; }
.stats-band__head h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.stats-band__head p { margin: 0; color: var(--ink-2); line-height: 1.9; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; position: relative; z-index: 1; }
.stat { --c: #ff4f01; --t: #fff1e8; text-align: start; padding: 18px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 30px -26px rgba(13,13,18,.35); display: grid; gap: 6px; transition: transform .2s, box-shadow .2s; }
.stat:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -24px rgba(13,13,18,.35); }
.stat--1 { --c: #2f98f7; --t: #eaf4ff; } .stat--2 { --c: #8e4df4; --t: #f3ecff; } .stat--3 { --c: #16a34a; --t: #e9f9ef; }
.stat__ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--t); color: var(--c); }
.stat__ic svg { width: 20px; height: 20px; }
.stat b { display: block; font-size: 2rem; line-height: 1.2; font-family: Montserrat, var(--font); font-weight: 800; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #0d0d12)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__l { color: var(--ink-2); font-size: .9rem; font-weight: 600; }
@media (max-width: 980px) { .stats-band { grid-template-columns: 1fr; padding: 22px; } }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 1.18rem; }
.card p { color: var(--muted); margin: 0; }
.tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.tile svg { width: 26px; height: 26px; }
.c-sun { background: var(--sun); } .c-teal { background: var(--teal); } .c-blue { background: var(--blue); }
.c-violet { background: var(--violet); } .c-purple { background: var(--purple); } .c-pink { background: var(--pink); } .c-brand { background: var(--brand); }
.tint-sun { background: #fff8d9; } .tint-teal { background: #dcf8f5; } .tint-blue { background: #dfeefe; }
.tint-violet { background: #eee4fd; } .tint-purple { background: #f5e6ff; } .tint-pink { background: #ffe3ec; }
@media (max-width: 920px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: #1a1a22; border: 1px solid rgba(255, 255, 255, .12); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step p { color: rgba(255, 255, 255, .72); margin: 0; font-size: .95rem; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- split rows (features page) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; padding: 56px 0; border-bottom: 1px solid var(--line); }
.split:last-child { border-bottom: 0; }
.split .intro p { color: var(--muted); font-size: 1.05rem; }
.split ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split li { background: var(--soft); border-radius: 14px; padding: 18px; }
.split li b { display: block; margin-bottom: 4px; }
.split li span { color: var(--muted); font-size: .94rem; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 20px; } .split ul { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.cycle-switch { display: inline-flex; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 0 auto 36px; }
.cycle-switch button { border: 0; background: none; padding: .55em 1.3em; border-radius: 999px; font-family: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; color: var(--ink-2); }
.cycle-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cycle-switch .save { color: var(--brand); font-size: .8rem; margin-inline-start: 4px; }
.cycle-switch button[aria-pressed="true"] .save { color: var(--sun); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--ink); box-shadow: 0 24px 50px rgba(13, 13, 18, .12); }
.plan .badge { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 700; padding: 3px 14px; border-radius: 999px; }
.plan h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan .tagline { color: var(--muted); font-size: .95rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 4px; }
.price b { font-size: 2.6rem; line-height: 1; }
.price span { color: var(--muted); }
.price-note { color: var(--muted); font-size: .85rem; min-height: 1.6em; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: .95rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan li.off { color: var(--muted); text-decoration: line-through; }
.plan li.off::before { background: var(--line); }
[data-cycle="monthly"] .yearly-only, [data-cycle="yearly"] .monthly-only { display: none; }

/* ---------- templates ---------- */
.filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.filters button { border: 1px solid var(--line); background: #fff; padding: .45em 1.1em; border-radius: 999px; font-family: inherit; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.theme-card { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.theme-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.theme-card[hidden] { display: none; }
.theme-frame { margin: 14px 14px 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #f3f4f7; }
.theme-frame__bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #eef0f4; border-bottom: 1px solid var(--line); }
.theme-frame__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d4d7df; }
.theme-frame__bar i:first-child { background: #ff6b5f; } .theme-frame__bar i:nth-child(2) { background: #ffc043; } .theme-frame__bar i:nth-child(3) { background: #33c95a; }
.theme-frame__bar span { margin-inline-start: auto; font-size: .7rem; color: var(--muted); background: #fff; border-radius: 6px; padding: 1px 10px; }
.theme-frame__shot { aspect-ratio: 960 / 560; overflow: hidden; }
.theme-frame__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 6s ease-in-out; }
.theme-card:hover .theme-frame__shot img, .theme-card:focus-within .theme-frame__shot img { object-position: 50% 100%; }   /* the whole home page scrolls by on hover */
@media (prefers-reduced-motion: reduce) { .theme-frame__shot img { transition: none; } }
.theme-info { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.theme-info__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.theme-info h3 { font-size: 1.15rem; margin: 0; }
.theme-info p { color: var(--muted); font-size: .92rem; margin: 2px 0 0; line-height: 1.8; }
.theme-for { white-space: nowrap; }
.theme-for--products { background: #fff1ea; color: #d94300; }
.theme-for--services { background: #eaf4ff; color: #1f6fc0; }
.theme-cat { align-self: flex-start; font-size: .8rem; font-weight: 700; color: var(--ink-2); background: var(--mist); border-radius: 999px; padding: .15em .9em; }
.theme-feats { list-style: none; margin: 6px 0 12px; padding: 0; display: grid; gap: 5px; }
.theme-feats li { position: relative; padding-inline-start: 20px; font-size: .88rem; color: var(--ink-2); }
.theme-feats li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--brand); font-weight: 800; }
.theme-go { margin-top: auto; }
.theme-filters { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.theme-filters .filters { margin: 0; }
.theme-filters .filters button span { font-size: .78em; opacity: .7; margin-inline-start: 4px; }
.theme-cat-pick select { font: inherit; padding: .55em 1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.theme-none { text-align: center; color: var(--muted); padding: 30px 0; }
.theme-card { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: box-shadow .2s, transform .2s; }
.theme-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.theme-shot { aspect-ratio: 4 / 3; padding: 18px; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; }
.theme-shot .t-nav { display: flex; justify-content: space-between; align-items: center; }
.theme-shot .t-nav i { display: block; height: 8px; border-radius: 4px; }
.theme-shot .t-hero { border-radius: 12px; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; gap: 6px; }
.theme-shot .t-hero i { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .85); }
.theme-shot .t-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.theme-shot .t-row i { display: block; height: 38px; border-radius: 8px; }
.theme-info { padding: 16px 20px 20px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.theme-info h3 { font-size: 1.08rem; margin: 0; }
.theme-info p { color: var(--muted); font-size: .9rem; margin: 2px 0 0; }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.pill.premium { background: #fff1e8; color: var(--brand-dark); }
@media (max-width: 920px) { .themes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .themes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq h2 { font-size: 1.3rem; margin-top: 32px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band { border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .75); margin: 0; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 36px 24px; } }

/* ---------- page head ---------- */
.page-head { padding: 64px 0 40px; background: var(--mist); text-align: center; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: url("/brand/pattern.svg"); background-size: 240px; opacity: .14; }
.page-head .container { position: relative; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-head p { color: var(--ink-2); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid > * { min-width: 0; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 22px 18px; } }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.input, select.input, textarea.input { width: 100%; font: inherit; padding: .75em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.input:focus { border-color: var(--ink); outline: none; }
textarea.input { min-height: 120px; resize: vertical; }
.slug-field { display: flex; direction: ltr; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.slug-field:focus-within { border-color: var(--ink); }
.slug-field input { border: 0; flex: 1; min-width: 0; font: inherit; padding: .75em 1em; outline: none; }
.slug-field span { background: var(--soft); padding: .75em .8em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.hint { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.hint.ok { color: #0f8f7f; } .hint.bad { color: #c62828; }
.error { color: #c62828; font-size: .88rem; margin-top: 4px; }
.alert { border-radius: 14px; padding: 16px 20px; margin-bottom: 20px; }
.alert-ok { background: #dcf8f5; color: #0b5f55; }
.alert-err { background: #ffe3ec; color: #9b1239; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--brand); }
.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-cards label { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; cursor: pointer; margin: 0; font-weight: 600; }
.radio-cards input { position: absolute; opacity: 0; }
.radio-cards label:has(input:checked) { border-color: var(--brand); background: #fff4ee; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* ---------- about / legal prose ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose p, .prose li { color: var(--ink-2); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; }
.footer-pay { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-pay__t { display: grid; gap: 4px; }
.footer-pay__t b { color: #fff; font-size: 1rem; }
.footer-pay__t span { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.6); font-size: .85rem; }
.site-pay { display: flex; gap: 10px; flex-wrap: wrap; }
.site-pay .rpay__m { display: inline-flex; align-items: center; justify-content: center; height: 40px; min-width: 70px; padding: 0 14px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px -10px rgba(0,0,0,.6); }
.site-pay .rpay__m svg { height: 22px; width: auto; display: block; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .88rem; }
.palette-dots { display: flex; gap: 6px; margin-top: 18px; }
.palette-dots i { width: 14px; height: 14px; border-radius: 4px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 560px) { .mock-float.f2 { display: none; } .mock-float.f1 { position: static; margin-top: 12px; } }

/* ---------- footer social icons ---------- */
.social-icons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.social-icons a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .15s, transform .15s; }
.social-icons a:hover { background: var(--brand); transform: translateY(-2px); }
/* ---------- home: «مدعوم مع», merchant reviews, logos ---------- */
.trust-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; }
.trust-strip b { color: var(--muted); font-weight: 600; margin-inline-end: 6px; }
.trust-strip span { padding: .45em 1.1em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .95rem; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; gap: 14px; }
.testi-card q { quotes: none; font-size: 1.02rem; color: var(--ink-2); line-height: 1.9; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-who img, .testi-who .av { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; background: var(--soft, #f1f1f4); display: grid; place-items: center; font-weight: 800; }
.testi-who small { display: block; color: var(--muted); }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 38px; }
.logo-row img { height: 44px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .15s, opacity .15s; }
.logo-row a:hover img, .logo-row img:hover { filter: none; opacity: 1; }
/* ---------- pricing: the currency menu next to the cycle switch ---------- */
.pricing > div:first-child { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.cur-pick select { font: inherit; font-weight: 700; padding: .55em 2.2em .55em 1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }

/* phones: the header fits one row — smaller logo, the sign-in link moves into the menu */
.nav .nav-login { display: none; }
@media (max-width: 560px) {
  .site-header .container { gap: 10px; }
  .brand-logo { height: 36px; }
  .header-cta .btn-login { display: none; }
  .header-cta .btn { padding: .55em .9em; font-size: .88rem; }
  .site-header.open .nav .nav-login { display: block; font-weight: 700; color: var(--brand, #ff4f01); }
}

/* ---------- «مهما كانت مرحلة مشروعك» ---------- */
.journey-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1100px) { .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .journey-grid { grid-template-columns: 1fr; } }
.journey-card { display: flex; flex-direction: column; gap: 10px; }
.journey-media { position: relative; aspect-ratio: 3 / 2; border-radius: 22px; overflow: hidden; display: grid; place-items: center; margin-bottom: 8px; }
.journey-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.journey-card:hover .journey-media img { transform: scale(1.04); }
.journey-ic { width: 84px; height: 84px; border-radius: 26px; background: #fff; display: grid; place-items: center; box-shadow: 0 18px 40px -18px rgba(13, 13, 18, .35); position: relative; z-index: 1; }
.journey-ic svg { width: 40px; height: 40px; }
.journey-dot { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.journey-dot.d1 { width: 120px; height: 120px; inset-inline-start: -30px; top: -30px; }
.journey-dot.d2 { width: 70px; height: 70px; inset-inline-end: 18px; bottom: 16px; }
.journey-card h3 { font-size: 1.15rem; margin: 0; }
.journey-card p { color: var(--ink-2); margin: 0; line-height: 1.9; }
.journey-link { color: var(--brand); font-weight: 700; margin-top: auto; }

/* ---------- «متاجرة بالأرقام» ---------- */
.numbers-box { background: linear-gradient(135deg, #fff4ee, #fff 55%, #f1f5ff); border: 1px solid var(--line); border-radius: 28px; padding: 44px 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 30px; align-items: center; }
@media (max-width: 900px) { .numbers-box { grid-template-columns: 1fr; padding: 32px 22px; } }
.numbers-head h2 { margin: 6px 0 8px; }
.numbers-head p { color: var(--muted); margin: 0; }
.numbers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.number { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 18px; display: grid; gap: 6px; }
.number b { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--ink); line-height: 1.1; display: flex; gap: 2px; justify-content: flex-end; }
.number > span { color: var(--muted); font-weight: 600; }

/* ---------- the footer's countries ---------- */
.footer-countries { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 34px; padding-top: 26px; }
.footer-countries h4 { margin: 0 0 14px; }
.footer-countries ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 18px; }
.footer-countries li { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .92rem; }
.footer-countries img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .18); }
.footer-countries li.is-soon { opacity: .6; }
.footer-countries small { font-size: .72rem; background: rgba(255, 255, 255, .12); border-radius: 999px; padding: 1px 8px; font-weight: 600; }

/* ---------- المدونة ---------- */
.blog { padding-top: 36px; }
.blog-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.blog-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-cats a { padding: .45em 1em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.blog-cats a.on, .blog-cats a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.blog-search input { min-width: 240px; padding: .6em 1em; border-radius: 999px; border: 1px solid var(--line); font: inherit; background: #fff; }
.blog-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #fff4ee, #f1f5ff); }
.blog-ph svg { width: 46px; height: 46px; opacity: .8; }
.blog-tag { display: inline-block; padding: .2em .8em; border-radius: 999px; background: #fff0e6; color: var(--brand-dark); font-weight: 700; font-size: .8rem; }
.blog-meta { color: var(--muted); font-size: .86rem; }
.blog-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; margin-bottom: 30px; transition: box-shadow .2s; }
.blog-featured:hover { box-shadow: var(--shadow); }
.blog-featured__media { min-height: 300px; }
.blog-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured__body { padding: 34px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.blog-featured__body h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.5; }
.blog-featured__body p { margin: 0; color: var(--ink-2); line-height: 1.9; }
@media (max-width: 860px) { .blog-featured { grid-template-columns: 1fr; } .blog-featured__media { min-height: 220px; } }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__media .blog-tag { position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(255, 255, 255, .94); }
.blog-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card__body h3 { margin: 0; font-size: 1.1rem; line-height: 1.6; }
.blog-card__body p { margin: 0; color: var(--ink-2); line-height: 1.85; flex: 1; }
.blog-pages { margin-top: 26px; display: flex; justify-content: center; }
.blog-empty { text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed var(--line); border-radius: 24px; }
.blog-empty .blog-ph { width: 88px; height: 88px; border-radius: 26px; margin: 0 auto 14px; }
.post-head { padding: 56px 0 26px; background: var(--mist); text-align: center; }
.post-head h1 { max-width: 860px; margin: 10px auto; line-height: 1.5; font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.post-crumbs { font-size: .9rem; color: var(--muted); } .post-crumbs a { color: var(--brand); font-weight: 700; }
.post-lead { max-width: 720px; margin: 0 auto 10px; color: var(--ink-2); font-size: 1.08rem; line-height: 1.9; }
.post-draft { display: inline-block; background: #fff6cf; color: #8a6d00; border-radius: 999px; padding: .2em 1em; font-weight: 700; font-size: .85rem; }
.post-cover { display: block; width: 100%; max-width: 980px; margin: -10px auto 0; border-radius: 26px; aspect-ratio: 16 / 8; object-fit: cover; box-shadow: var(--shadow); }
.post-body { padding: 38px 0 10px; font-size: 1.06rem; line-height: 2; }
.post-body img { max-width: 100%; height: auto; border-radius: 16px; }
.post-share { max-width: 820px; margin: 10px auto 60px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.post-share a, .post-share button { padding: .4em 1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--ink-2); }
.post-share a:hover, .post-share button:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- article page: four layouts, an accent per article (--acc) ---------- */
.post { --acc: var(--brand); }
.post .post-crumbs a { color: var(--acc); }
.post-meta { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; color: var(--muted); font-size: .9rem; }
.post-meta span + span::before { content: '•'; margin-inline-end: 14px; opacity: .6; }
.post-chip { display: inline-block; margin: 6px 0 4px; padding: .25em 1em; border-radius: 999px; background: color-mix(in srgb, var(--acc) 12%, #fff); color: var(--acc); font-weight: 700; font-size: .85rem; }
.post-progress { position: fixed; inset-inline: 0; top: 0; height: 4px; z-index: 60; pointer-events: none; }
.post-progress i { display: block; height: 100%; background: var(--acc); transform-origin: right; transform: scaleX(0); transition: transform .08s linear; }
.post-head h1, .post-hero h1 { text-wrap: balance; }
.post-body h2 { scroll-margin-top: 100px; position: relative; }
.post-body h2::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--acc); margin-inline-end: 10px; vertical-align: middle; }
.post-body a { color: var(--acc); font-weight: 600; }
.post-body blockquote { margin: 26px 0; padding: 18px 22px; border-inline-start: 4px solid var(--acc); background: color-mix(in srgb, var(--acc) 6%, #fff); border-radius: 14px; font-size: 1.08rem; color: var(--ink); }
.post-body table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 22px 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: .96rem; }
.post-body th { background: color-mix(in srgb, var(--acc) 10%, #fff); color: var(--ink); text-align: start; padding: 12px 14px; }
.post-body td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.post-body ul li::marker, .post-body ol li::marker { color: var(--acc); font-weight: 800; }
.post-stats { max-width: 980px; margin: 30px auto 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 12px; }
.post-stats div { padding: 20px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-align: center; box-shadow: 0 14px 30px -24px rgba(13, 13, 18, .35); }
.post-stats b { display: block; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--acc); font-family: Montserrat, Alexandria, sans-serif; }
.post-stats span { color: var(--ink-2); font-size: .9rem; }
.post-wrap { max-width: 820px; margin: 0 auto; }
.post-wrap--side { max-width: 1120px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 44px; align-items: start; }
.post-main { min-width: 0; }
.post-toc { margin: 30px 0 0; border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 14px 18px; }
.post-toc summary { cursor: pointer; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.post-toc summary span { background: color-mix(in srgb, var(--acc) 12%, #fff); color: var(--acc); border-radius: 999px; padding: 0 10px; font-size: .8rem; }
.post-toc ol { margin: 10px 0 0; padding-inline-start: 22px; display: grid; gap: 6px; }
.post-toc a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.post-toc a:hover, .post-toc a.on { color: var(--acc); font-weight: 700; }
.post-toc--side { position: sticky; top: 100px; margin-top: 38px; padding: 18px; }
.post-toc--side b { display: block; margin-bottom: 8px; font-size: .9rem; color: var(--muted); }
.post-toc--side ol { list-style: none; padding: 0; margin: 0; counter-reset: t; gap: 2px; }
.post-toc--side li { counter-increment: t; }
.post-toc--side a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; line-height: 1.6; }
.post-toc--side a::before { content: counter(t); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); font-size: .75rem; font-weight: 800; }
.post-toc--side a.on { background: color-mix(in srgb, var(--acc) 8%, #fff); }
.post-toc--side a.on::before { background: var(--acc); color: #fff; }
.post-keys { margin: 26px 0 0; padding: 20px 22px; border-radius: 20px; background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 10%, #fff), #fff 70%); border: 1px solid color-mix(in srgb, var(--acc) 25%, transparent); }
.post-keys b { color: var(--acc); font-size: 1.02rem; }
.post-keys ul { margin: 10px 0 0; padding-inline-start: 20px; display: grid; gap: 6px; }
.post-keys li { color: var(--ink); line-height: 1.8; }
.post-faq { margin: 34px 0 0; }
.post-faq h2 { font-size: 1.35rem; }
.post-faq details { border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; background: #fff; margin-bottom: 10px; }
.post-faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.post-faq summary::after { content: '+'; color: var(--acc); font-weight: 800; }
.post-faq details[open] summary::after { content: '−'; }
.post-faq p { margin: 10px 0 0; color: var(--ink-2); line-height: 1.9; }
.post-cta { margin: 34px 0 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 26px; border-radius: 24px; color: #fff; background: radial-gradient(circle at 12% 20%, rgba(255,255,255,.18), transparent 40%), linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 55%, #0d0d12)); }
.post-cta b { font-size: 1.25rem; display: block; margin-bottom: 4px; }
.post-cta p { margin: 0; opacity: .9; }
.post-cta .btn { background: #fff; color: var(--acc); box-shadow: none; }
.post-author { margin: 30px 0 0; display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--mist); }
.post-author__av { width: 52px; height: 52px; border-radius: 16px; flex: none; display: grid; place-items: center; background: var(--acc); color: #fff; font-weight: 800; font-size: 1.3rem; }
.post-author b { display: block; }
.post-author span { color: var(--muted); font-size: .9rem; }
.post .post-share { margin: 26px 0 60px; max-width: none; }

/* magazine: the cover fills the screen with the title on it */
.post-hero { position: relative; min-height: min(78vh, 620px); display: flex; align-items: flex-end; color: #fff; background: var(--cover, none) center / cover, radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--acc) 60%, #fff) 0, transparent 45%), linear-gradient(135deg, var(--acc), #0d0d12); isolation: isolate; }
.post-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(13, 13, 18, .88), rgba(13, 13, 18, .25) 60%, transparent); }
.post-hero__in { padding: 90px 0 76px; max-width: 900px; }
.post-hero h1 { font-size: clamp(1.8rem, 4.2vw, 3.1rem); line-height: 1.4; margin: 12px 0; color: #fff; }
.post-hero .post-lead { color: rgba(255, 255, 255, .9); margin: 0 0 14px; max-width: 720px; }
.post-hero .post-crumbs, .post-hero .post-crumbs a, .post-hero .post-meta { color: rgba(255, 255, 255, .85); }
.post-hero .post-meta { justify-content: flex-start; }
.post--magazine .post-stats { margin-top: -46px; position: relative; }
.post--magazine .post-body > p:first-of-type { font-size: 1.16rem; color: var(--ink); }

/* guide: calm head on the start side, the contents beside the text */
.post--guide .post-head { text-align: start; background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 7%, #fff), #fff); }
.post--guide .post-head .container { max-width: 1120px; }
.post--guide .post-head h1, .post--guide .post-lead { margin-inline: 0; }
.post--guide .post-meta { justify-content: flex-start; }
.post--guide .post-cover { max-width: 1120px; aspect-ratio: 16 / 6; }

/* story: a wide reading column, a big first letter, quotes that stand out */
.post--story .post-head { background: #fff; padding-top: 70px; }
.post--story .post-head h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); max-width: 900px; }
.post--story .post-lead { font-size: 1.2rem; }
.post--story .post-body { font-size: 1.14rem; line-height: 2.15; }
.post--story .post-body > p:first-of-type::first-letter { float: right; font-size: 4.2em; line-height: .9; margin: .08em 0 0 .12em; color: var(--acc); font-weight: 800; }
.post--story .post-body blockquote { border: 0; background: none; text-align: center; font-size: 1.45rem; font-weight: 700; line-height: 1.8; padding: 20px 10px; color: var(--acc); }
.post--story .post-body blockquote::before, .post--story .post-body blockquote::after { content: ''; display: block; width: 60px; height: 3px; margin: 10px auto; background: var(--acc); border-radius: 3px; }
.post--story .post-cover { aspect-ratio: 21 / 9; border-radius: 0; max-width: none; }

@media (max-width: 900px) {
    .post-wrap--side { grid-template-columns: 1fr; gap: 0; }
    .post-toc--side { position: static; }
    .post-stats { grid-template-columns: repeat(2, 1fr); }
    .post-hero { min-height: 70vh; }
}

/* «شركاؤنا»: each company's logo on a white tile, its name, the countries it serves */
.partner-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 8px; }
.partner-tabs a { border: 1px solid var(--line); border-radius: 999px; padding: .45em 1.2em; font-weight: 700; color: var(--ink-2); background: #fff; }
.partner-tabs a:hover { border-color: var(--ink); color: var(--ink); }
.partner-tabs .num { opacity: .6; font-size: .85em; margin-inline-start: 4px; }
.partner-title { font-size: 1.35rem; margin: 40px 0 16px; scroll-margin-top: 96px; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.partner-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; min-width: 0; }
.partner-card > span:last-child { display: grid; gap: 2px; min-width: 0; }
.partner-card b { font-weight: 700; line-height: 1.5; }
.partner-card small { color: var(--muted); }
.partner-card em { font-style: normal; color: var(--muted); font-size: .88rem; line-height: 1.7; margin-top: 4px; }
.partner-logo { width: 56px; height: 56px; flex: none; border-radius: 16px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; overflow: hidden; font-weight: 800; }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

/* the footer's payment marks, under the description */
.footer-marks { margin-top: 16px; }
.footer-marks .site-pay { gap: 8px; }
.footer-marks .site-pay .rpay__m { height: 34px; min-width: 56px; padding: 0 10px; border-radius: 10px; box-shadow: none; }
.footer-marks .site-pay .rpay__m svg { height: 18px; }
