/* Imani website · Olive Gold. Logical properties everywhere so Arabic (rtl) mirrors by itself. */
:root {
  --olive-900: #26361F;
  --olive-800: #3A5230;
  --olive-600: #4E6B3A;
  --moss: #7E8240;
  --honey: #C9A24A;
  --wheat: #F6D9A8;
  --stone: #F1EBE0;
  --sand: #DDD0B8;
  --page: #FFFFFF;
  --cream: #FBF8F2;
  --surface: #FBF9F5;
  --soft: #F3EFE7;
  --line: #E7E0D2;
  --ink: #2F2D29;
  --muted: #67615A;
  --sage: #DCE5D0;
  --coral: #E07A5F;
  --radius: 28px;
  --shadow-sm: 0 1px 2px rgba(38, 54, 31, .06), 0 4px 14px rgba(38, 54, 31, .06);
  --shadow: 0 2px 6px rgba(38, 54, 31, .06), 0 18px 50px -12px rgba(38, 54, 31, .22);
  --shadow-lg: 0 30px 80px -20px rgba(20, 28, 16, .45);
  --font: 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --display: 'Reem Kufi', 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --w: 1180px;
}
:root[dir='rtl'] { --display: 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--page); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
:root[dir='rtl'] body { line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(var(--w), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--olive-800); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-600); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--honey), var(--coral)); }
:root[dir='rtl'] .eyebrow { letter-spacing: 0; font-size: 15px; }
.eyebrow--light { color: var(--wheat); }
.h2 { margin: 0 0 18px; font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.12; letter-spacing: -.01em; word-spacing: .12em; max-width: 18ch; color: var(--olive-900); }
:root[dir='rtl'] .h2 { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
.h2--light { color: #FFF8EC; }
.lead { margin: 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }
.lead--light { color: rgba(255, 248, 236, .78); }

/* ---------- Buttons and pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--olive { background: linear-gradient(135deg, var(--olive-800), var(--olive-600)); color: #fff; box-shadow: 0 10px 24px -10px rgba(58, 82, 48, .7); }
.btn--olive:hover { box-shadow: 0 16px 30px -10px rgba(58, 82, 48, .75); }
.btn--light { background: #FFF8EC; color: var(--olive-800); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #FFF8EC; border-color: rgba(255, 248, 236, .35); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); }
.btn--line { background: #fff; color: var(--olive-800); border-color: var(--line); }
.btn--line:hover { border-color: var(--olive-600); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.pill--glass { background: rgba(255, 248, 236, .12); border: 1px solid rgba(255, 248, 236, .25); color: #FFF3DC; backdrop-filter: blur(10px); }
.pill--soft { background: var(--sage); color: var(--olive-800); font-size: 12px; padding: 4px 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wheat); box-shadow: 0 0 0 4px rgba(246, 217, 168, .25); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(246, 217, 168, 0); } }

/* ---------- Nav ---------- */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, color .3s; color: #FFF8EC; }
.nav__inner { width: min(var(--w), 100% - 32px); margin-inline: auto; height: 76px; display: flex; align-items: center; gap: 28px; }
.nav.is-solid { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: 'Reem Kufi', var(--font); font-size: 22px; font-weight: 600; }
.brand img { border-radius: 10px; }
.nav__links { display: flex; gap: 4px; margin-inline-start: 12px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; opacity: .88; transition: background .2s, opacity .2s; }
.nav__links a:hover { opacity: 1; background: rgba(127, 130, 64, .14); }
.nav__end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { background: transparent; border: 1px solid currentColor; border-radius: 999px; min-height: 42px; padding: 0 16px; font-size: 15px; opacity: .85; transition: opacity .2s, background .2s; }
.lang:hover { opacity: 1; background: rgba(127, 130, 64, .12); }
.menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; background: transparent; position: relative; }
.menu span { position: absolute; inset-inline: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s; }
.menu span:first-child { top: 17px; } .menu span:last-child { top: 25px; }
.menu[aria-expanded='true'] span:first-child { top: 21px; transform: rotate(45deg); }
.menu[aria-expanded='true'] span:last-child { top: 21px; transform: rotate(-45deg); }
.nav__sheet { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #FFF8EC; padding: 150px 0 120px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 0%, rgba(201, 162, 74, .55), transparent 55%), linear-gradient(160deg, var(--olive-900) 0%, var(--olive-800) 32%, var(--olive-600) 62%, var(--moss) 84%, #B08E45 100%); }
:root[dir='rtl'] .hero { background: radial-gradient(120% 90% at 15% 0%, rgba(201, 162, 74, .55), transparent 55%), linear-gradient(200deg, var(--olive-900) 0%, var(--olive-800) 32%, var(--olive-600) 62%, var(--moss) 84%, #B08E45 100%); }
.hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.orb--a { width: 460px; height: 460px; background: #E9B95C; inset-inline-end: -120px; top: -140px; }
.orb--b { width: 380px; height: 380px; background: #E07A5F; opacity: .25; inset-inline-start: 30%; bottom: -220px; animation-duration: 24s; }
.orb--c { width: 300px; height: 300px; background: #9CB87A; opacity: .3; inset-inline-start: -100px; top: 30%; animation-duration: 21s; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title { margin: 22px 0 22px; font-family: var(--display); font-weight: 600; font-size: clamp(44px, 6.4vw, 84px); line-height: 1.04; letter-spacing: -.01em; word-spacing: .14em; max-width: 13ch; }
:root[dir='rtl'] .hero__title { letter-spacing: 0; line-height: 1.25; font-weight: 700; }
.hero__lead { margin: 0 0 34px; font-size: clamp(18px, 1.8vw, 21px); color: rgba(255, 248, 236, .82); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 28px; }
.hero__facts li { display: flex; flex-direction: column; font-size: 14px; color: rgba(255, 248, 236, .7); padding-inline-start: 16px; border-inline-start: 1px solid rgba(255, 248, 236, .25); }
.hero__facts strong { font-size: 18px; color: #FFF8EC; font-weight: 600; }
.hero__fade { position: absolute; inset-inline: 0; bottom: -1px; height: 120px; background: linear-gradient(to bottom, transparent, #fff); z-index: -1; }

.hero__stage { position: relative; height: 600px; display: grid; place-items: center; }
.arch { position: absolute; width: 400px; height: 520px; color: rgba(246, 217, 168, .5); filter: drop-shadow(0 0 30px rgba(246, 217, 168, .35)); }
.arch path { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.4s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 217, 168, .55), transparent 70%); top: 70px; }

/* Phone mock */
.phone { position: relative; width: 290px; height: 590px; border-radius: 46px; padding: 10px; background: linear-gradient(145deg, #1d2419, #0e120c); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .08); }
.phone--hero { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0a0c08; z-index: 3; }
.screen { height: 100%; border-radius: 37px; overflow: hidden; background: linear-gradient(180deg, #E3E6D6 0, #F1F2EA 120px, #fff 220px); color: var(--ink); padding: 50px 14px 14px; font-size: 12px; line-height: 1.45; display: flex; flex-direction: column; gap: 10px; }
.s-top { display: flex; align-items: center; gap: 8px; }
.s-top img { width: 26px; height: 26px; border-radius: 8px; }
.s-top b { font-family: 'Reem Kufi', var(--font); font-size: 17px; color: var(--olive-800); }
.s-icons { margin-inline-start: auto; display: flex; gap: 8px; }
.s-icons i { width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); position: relative; }
.s-icons i.hot::after { content: ''; position: absolute; top: 3px; inset-inline-end: 3px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.s-live { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; background: linear-gradient(90deg, #FBEFD6, #FCE3D6); font-weight: 600; color: #6C4A12; }
.s-live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse2 1.6s infinite; }
@keyframes pulse2 { 50% { opacity: .3; } }
.s-circles { display: flex; gap: 8px; }
.s-circles .c { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--olive-800), var(--moss)); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.s-circles .c--ring { box-shadow: 0 0 0 2.5px var(--honey), 0 0 0 4px #F1A98F; }
.s-circles .c:nth-child(3) { background: linear-gradient(135deg, #8A6B2E, var(--honey)); }
.s-circles .c:nth-child(4) { background: linear-gradient(135deg, #5D7A8C, #9CB8C9); }
.s-circles .c:nth-child(5) { background: linear-gradient(135deg, #7E5B6E, #C39AA8); }
.s-card { background: #fff; border-radius: 20px; border: 1px solid var(--line); padding: 10px; box-shadow: var(--shadow-sm); }
.s-card__head { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.s-card__head b { display: block; font-size: 12.5px; }
.s-card__head small { color: var(--muted); font-size: 10.5px; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--olive-800), var(--olive-600)); flex: none; }
.s-photo { height: 150px; border-radius: 14px; position: relative; overflow: hidden; background: linear-gradient(180deg, #F6D9A8 0%, #E9B07A 45%, #7E8240 46%, #4E6B3A 100%); }
.s-photo .sun { position: absolute; width: 60px; height: 60px; border-radius: 50%; background: #FFF3D6; top: 34px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 40px 10px rgba(255, 236, 196, .8); }
.s-card p { margin: 8px 2px; font-size: 12px; }
.s-react { display: flex; gap: 10px; font-size: 11px; color: var(--muted); padding: 6px 2px 0; border-top: 1px solid var(--soft); }
.s-react .end { margin-inline-start: auto; }

.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--shadow); backdrop-filter: blur(10px); font-size: 14px; line-height: 1.35; animation: float 8s ease-in-out infinite; }
:root[dir='rtl'] .float { padding: 12px 12px 12px 18px; }
.float b { display: block; font-size: 14.5px; }
.float small { color: var(--muted); font-size: 12.5px; }
.float--a { inset-inline-start: -10px; top: 120px; animation-delay: -2s; }
.float--b { inset-inline-end: -20px; bottom: 110px; animation-delay: -5s; }
.float__icon { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--olive-800), var(--olive-600)); color: #fff; font-weight: 700; font-size: 18px; flex: none; }
.float__icon--honey { background: linear-gradient(135deg, #FBEFD6, #F6D9A8); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

section { position: relative; }

/* ---------- Story ---------- */
.story { padding: 110px 0 120px; }
.scatter { position: relative; height: 340px; margin: 54px 0 40px; border-radius: var(--radius); background: radial-gradient(60% 80% at 50% 50%, #FBF3E2, transparent 70%), repeating-linear-gradient(0deg, transparent 0 38px, rgba(221, 208, 184, .35) 38px 39px), var(--cream); border: 1px solid var(--line); overflow: hidden; }
.chip { position: absolute; padding: 10px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 15px; white-space: nowrap; transition: transform 1.2s var(--ease), opacity 1.2s var(--ease); }
.chip--1 { left: 6%; top: 14%; transform: rotate(-4deg); }
.chip--2 { left: 58%; top: 10%; transform: rotate(3deg); }
.chip--3 { left: 10%; top: 62%; transform: rotate(5deg); }
.chip--4 { left: 70%; top: 66%; transform: rotate(-3deg); }
.chip--5 { left: 30%; top: 80%; transform: rotate(-2deg); }
.chip--6 { left: 42%; top: 30%; transform: rotate(-6deg); }
.scatter__door { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 28px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); transition: transform 1s .5s var(--ease), opacity 1s .5s var(--ease); color: var(--olive-800); }
.scatter.is-gathered .chip { opacity: 0; transform: translate(var(--tx, 0), var(--ty, 0)) scale(.3) rotate(0); }
.scatter.is-gathered .scatter__door { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.chip { transition-duration: 1.4s; }
.scatter.is-in .chip { animation: jitter 2.2s ease-in-out infinite alternate; }
.scatter.is-gathered .chip { animation: none; }
@keyframes jitter { to { translate: 0 -6px; } }
.story__turn { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; color: var(--olive-800); max-width: 34ch; margin: 0 0 56px; }
:root[dir='rtl'] .story__turn { line-height: 1.6; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__n { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--olive-800), var(--olive-600)); color: var(--wheat); font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.step:nth-child(2) .step__n { background: linear-gradient(135deg, var(--moss), var(--honey)); color: #fff; }
.step:nth-child(3) .step__n { background: linear-gradient(135deg, var(--honey), var(--coral)); color: #fff; }
.step h3, .tile h3, .tier h3, .story__turn { word-spacing: .1em; }
.step h3 { margin: 0 0 8px; font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--olive-900); }
.step p { margin: 0; color: var(--muted); }

/* ---------- People bento ---------- */
.people { padding: 110px 0; background: linear-gradient(180deg, #fff, var(--cream)); }
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); gap: 20px; }
.tile { position: relative; overflow: hidden; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile h3 { margin: 0 0 8px; font-family: var(--display); font-size: 23px; line-height: 1.25; font-weight: 600; color: var(--olive-900); }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
.tile__emoji { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--soft); font-size: 26px; margin-bottom: 18px; }
.tile--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.tile--tall { grid-row: span 3; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.tile--olive { background: linear-gradient(165deg, var(--olive-800), var(--olive-600) 60%, var(--moss)); color: #FFF8EC; border: 0; }
.tile--olive h3 { color: #FFF8EC; } .tile--olive p { color: rgba(255, 248, 236, .78); }
.tile--honey { background: linear-gradient(160deg, #FDF5E4, #FBE7CC); border-color: #F2DDB6; }
.tile--honey .tile__emoji { background: rgba(255, 255, 255, .7); }

.mock-events { display: flex; flex-direction: column; gap: 10px; }
.ev { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; line-height: 1.3; }
.ev small { color: var(--muted); font-size: 12.5px; display: block; }
.ev__day { width: 48px; height: 52px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--sage); color: var(--olive-800); flex: none; }
.ev__day b { font-size: 18px; line-height: 1; } .ev__day small { font-size: 10px; letter-spacing: .1em; color: inherit; }
.ev__day--honey { background: #FBEBC9; color: #7A5A17; }
.ev__go { margin-inline-start: auto; padding: 6px 12px; border-radius: 999px; background: var(--olive-600); color: #fff; font-size: 12.5px; font-weight: 600; flex: none; }
.ev__go--soft { background: var(--soft); color: var(--olive-800); }

.mock-chat { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.b { max-width: 82%; padding: 10px 14px; border-radius: 18px; line-height: 1.4; }
.b small { display: block; font-size: 11.5px; color: var(--wheat); font-weight: 600; }
.b--in { background: rgba(255, 255, 255, .14); border-end-start-radius: 6px; }
.b--out { align-self: flex-end; background: #FFF8EC; color: var(--olive-900); border-end-end-radius: 6px; }
.poll { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.poll b { font-weight: 600; }
.bar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: rgba(246, 217, 168, .35); transition: width 1.4s .3s var(--ease); }
.is-in .bar i { width: var(--w); }
.bar em, .bar small { position: relative; font-style: normal; font-size: 13px; }
.lock { margin: 0; font-size: 12.5px; color: rgba(255, 248, 236, .6); text-align: center; }

/* ---------- Leaders ---------- */
.leaders { padding: 120px 0; color: #FFF8EC; background: radial-gradient(80% 60% at 100% 100%, rgba(201, 162, 74, .3), transparent 60%), linear-gradient(170deg, var(--olive-900), #1E2B19); overflow: hidden; }
.leaders::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(246, 217, 168, .08) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent); }
.leaders__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.checks li { position: relative; padding-inline-start: 40px; color: rgba(255, 248, 236, .75); font-size: 16px; }
.checks li b { color: #FFF8EC; font-weight: 600; }
.checks li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: linear-gradient(135deg, var(--honey), #E9B95C); color: var(--olive-900); }
.leaders__visual { position: relative; display: flex; flex-direction: column; gap: 18px; }
.sched { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: var(--shadow-lg); }
.sched__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; font-size: 15px; }
.sched__grid { display: grid; grid-template-columns: 74px repeat(4, 1fr); gap: 6px; font-size: 12.5px; }
.sched__grid .d { text-align: center; font-weight: 700; color: var(--muted); font-size: 12px; }
.sched__grid .pos { font-weight: 600; color: var(--olive-800); display: flex; align-items: center; }
.p { height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 500; opacity: 0; transform: scale(.85); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.is-in .p { opacity: 1; transform: none; }
.p--ok { background: var(--sage); color: var(--olive-800); }
.p--ask { background: #FBEBC9; color: #7A5A17; box-shadow: inset 0 0 0 1.5px #E9C878; }
.p--away { background: #F3E3DE; color: #8A4B3B; }
.p--empty { background: transparent; border: 1.5px dashed var(--sand); color: var(--muted); }
.sched__legend { display: flex; gap: 16px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.sched__legend span { display: inline-flex; align-items: center; gap: 6px; }
.sched__legend i { width: 10px; height: 10px; border-radius: 3px; }
.sched__legend .ok { background: var(--sage); } .sched__legend .ask { background: #F2D58E; } .sched__legend .away { background: #EBC8BE; }
.stat, .broadcast { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); }
.stat small, .broadcast small { display: block; color: rgba(255, 248, 236, .65); font-size: 13.5px; }
.stat b, .broadcast b { font-size: 16px; }
.stat { width: 82%; }
.broadcast { width: 76%; align-self: flex-end; }
.ring { stroke-dashoffset: 301.6; transition: stroke-dashoffset 1.6s .2s var(--ease); }
.is-in .ring { stroke-dashoffset: 75; }
.broadcast__icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(135deg, #FBEFD6, #F6D9A8); flex: none; }

/* ---------- Every community ---------- */
.every { padding: 110px 0 90px; }
.marquee { margin-top: 48px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: slide 46s linear infinite; }
:root[dir='rtl'] .marquee__track { animation-name: slide-rtl; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { padding: 14px 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 17px; white-space: nowrap; }
.marquee span:nth-child(3n+2) { background: #FDF5E4; border-color: #F2DDB6; }
.marquee span:nth-child(3n) { background: #EEF2E7; border-color: #D9E2CC; }
@keyframes slide { to { transform: translateX(calc(-50% - 7px)); } }
@keyframes slide-rtl { to { transform: translateX(calc(50% + 7px)); } }

/* ---------- Safety ---------- */
.safety { padding: 110px 0; background: var(--cream); }
.safe-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.safe { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.safe:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.safe__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; font-size: 24px; background: linear-gradient(135deg, #EEF2E7, #DCE5D0); margin-bottom: 16px; }
.safe h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; color: var(--olive-900); }
.safe p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Plans ---------- */
.plans { padding: 120px 0; }
.period { display: inline-flex; margin: 36px 0 0; padding: 5px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.period__btn { border: 0; background: transparent; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s, box-shadow .25s; }
.period__btn em { font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #FBEBC9; color: #7A5A17; }
.period__btn.is-on { background: #fff; color: var(--olive-800); box-shadow: var(--shadow-sm); }
.tiers { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tier h3 { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 600; color: var(--olive-900); }
.tier__for { margin: 4px 0 18px; color: var(--muted); font-size: 15px; min-height: 2.6em; }
.price { margin: 0 0 22px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 52px; line-height: 1; font-weight: 700; color: var(--olive-900); letter-spacing: -.02em; }
.price span { color: var(--muted); font-size: 16px; }
.tier ul { list-style: none; margin: 0 0 28px; padding: 22px 0 0; border-top: 1px solid var(--soft); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tier li { position: relative; padding-inline-start: 30px; font-size: 15.5px; line-height: 1.45; }
.tier li::before { content: ''; position: absolute; inset-inline-start: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%233A5230' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.tier .btn { width: 100%; }
.tier--pop { background: linear-gradient(180deg, #FFFDF8, #fff); border: 1.5px solid transparent; background-clip: padding-box; box-shadow: var(--shadow); transform: translateY(-10px); }
.tier--pop::before { content: ''; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; background: linear-gradient(135deg, var(--honey), var(--coral), var(--olive-600)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.tier--pop.reveal.is-in { transform: translateY(-10px); }
.tier__badge { position: absolute; top: -14px; inset-inline-start: 28px; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(90deg, var(--honey), var(--coral)); box-shadow: 0 8px 18px -8px rgba(224, 122, 95, .8); }
.founding { margin-top: 34px; display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 24px; background: linear-gradient(100deg, #FDF5E4, #FBEBDD); border: 1px solid #F2DDB6; }
.founding b { font-size: 17px; color: var(--olive-900); }
.founding p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.founding .btn { margin-inline-start: auto; }
.founding__seal { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 20px; background: linear-gradient(135deg, var(--honey), var(--coral)); box-shadow: 0 8px 18px -8px rgba(224, 122, 95, .8); }
@media (max-width: 720px) { .founding { flex-wrap: wrap; } .founding .btn { margin-inline-start: 0; width: 100%; } }
.plans__note { margin: 26px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { padding: 110px 0; background: var(--cream); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
details { border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s; }
details[open] { box-shadow: var(--shadow-sm); }
summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--olive-800); font-size: 20px; font-weight: 400; transition: transform .3s var(--ease), background .3s; }
details[open] summary::after { transform: rotate(45deg); background: var(--sage); }
details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding: 110px 0 120px; }
.cta__card { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 84px); border-radius: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; color: #FFF8EC;
  background: radial-gradient(70% 90% at 50% 0%, rgba(246, 217, 168, .45), transparent 60%), linear-gradient(160deg, var(--olive-800), var(--olive-600) 50%, var(--moss) 80%, #B08E45); box-shadow: var(--shadow-lg); }
.cta__card .h2, .cta__card .lead { max-width: 22ch; margin-inline: auto; }
.cta__card .lead { max-width: 48ch; margin-bottom: 34px; }
.cta__arch { width: 70px; height: 82px; color: var(--wheat); margin-bottom: 22px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */
.foot { padding: 64px 0 34px; background: var(--olive-900); color: rgba(255, 248, 236, .75); font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.brand--foot { color: #FFF8EC; }
.foot__tag { margin: 14px 0 0; max-width: 32ch; }
.foot nav { display: flex; flex-direction: column; gap: 10px; }
.foot nav b { color: #FFF8EC; font-weight: 600; margin-bottom: 4px; }
.foot nav a:hover { color: var(--wheat); }
.foot__base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 248, 236, .12); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.lang--foot { color: rgba(255, 248, 236, .8); }

/* ---------- Legal pages ---------- */
.legal { background: var(--cream); }
.legal-tabs { position: sticky; top: 76px; z-index: 40; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding: 10px 16px; background: rgba(251, 248, 242, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); margin-top: 76px; }
.legal-tabs a { padding: 8px 16px; border-radius: 999px; font-size: 14.5px; color: var(--muted); min-height: 40px; display: inline-flex; align-items: center; }
.legal-tabs a:hover { background: var(--soft); color: var(--ink); }
.legal-tabs a[aria-current='page'] { background: linear-gradient(135deg, var(--olive-800), var(--olive-600)); color: #fff; }
.legal__wrap { width: min(820px, 100% - 40px); }
.legal__hero { padding: 64px 0 40px; background: radial-gradient(80% 120% at 90% 0%, rgba(246, 217, 168, .55), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(220, 229, 208, .7), transparent 60%); }
:root[dir='rtl'] .legal__hero { background: radial-gradient(80% 120% at 10% 0%, rgba(246, 217, 168, .55), transparent 60%), radial-gradient(60% 100% at 100% 100%, rgba(220, 229, 208, .7), transparent 60%); }
.legal__title { margin: 0 0 10px; font-family: var(--display); font-weight: 600; font-size: clamp(34px, 5vw, 56px); line-height: 1.12; word-spacing: .1em; color: var(--olive-900); }
:root[dir='rtl'] .legal__title { line-height: 1.4; font-weight: 700; }
.legal__meta { margin: 0; color: var(--muted); font-size: 15px; }
:root[lang='en'] [lang='ar']:is(span), :root[lang='ar'] [lang='en']:is(span) { display: none; }
:root[lang='en'] #arabic, :root[lang='ar'] #english { display: none; }
.legal__body { margin: 0 0 96px; padding: clamp(26px, 5vw, 56px); background: #fff; border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow-sm); font-size: 17px; }
.legal__body > :first-child { margin-top: 0; }
.legal__body h2 { margin: 40px 0 10px; font-size: 22px; font-weight: 600; color: var(--olive-800); display: flex; align-items: center; gap: 12px; }
.legal__body h2::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--honey), var(--coral)); }
.legal__body h3 { margin: 26px 0 6px; font-size: 18px; color: var(--olive-900); }
.legal__body p { margin: 0 0 14px; color: #48443E; }
.legal__body ul, .legal__body ol { margin: 0 0 16px; padding-inline-start: 22px; color: #48443E; }
.legal__body li { margin: 8px 0; padding-inline-start: 4px; }
.legal__body li::marker { color: var(--honey); }
.legal__body strong { color: var(--ink); }
.legal__body a { color: var(--olive-600); text-decoration: underline; text-decoration-color: rgba(78, 107, 58, .35); text-underline-offset: 3px; }
.legal__body a:hover { text-decoration-color: currentColor; }
.legal__body .box { margin: 18px 0 26px; padding: 18px 22px; border-radius: 20px; background: linear-gradient(100deg, #FDF5E4, #FBF1E6); border: 1px solid #F2DDB6; }
.legal__body .box p:last-child { margin-bottom: 0; }
.legal__body ol.steps-list { counter-reset: s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .hero__grid, .leaders__grid, .faq__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .hero__stage { height: 560px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--tall { grid-row: auto; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; }
  .tier--pop, .tier--pop.reveal.is-in { transform: none; }
  .tier__for { min-height: 0; }
  .safe-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__end .btn { display: none; }
  .legal-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .legal-tabs a { white-space: nowrap; }
  .menu { display: inline-block; }
  .nav__sheet { display: flex; flex-direction: column; gap: 6px; position: absolute; top: 76px; inset-inline: 12px; padding: 14px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: var(--shadow); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav__sheet a { padding: 12px 14px; border-radius: 14px; font-size: 17px; }
  .nav__sheet a:not(.btn):hover { background: var(--soft); }
  .nav__sheet .btn { margin-top: 6px; color: #fff; }
  .nav.is-open .nav__sheet { opacity: 1; transform: none; pointer-events: auto; }
  .nav.is-open { background: rgba(255, 255, 255, .96); color: var(--ink); }
  .hero { padding: 120px 0 80px; }
  .hero__stage { height: 520px; transform: scale(.92); }
  .float--a { inset-inline-start: 0; } .float--b { inset-inline-end: 0; }
  .steps, .bento, .safe-grid { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; grid-template-columns: 1fr; }
  .scatter { height: 380px; }
  .chip { font-size: 13px; padding: 8px 12px; }
  .chip--1 { left: 4%; top: 6%; } .chip--2 { left: 26%; top: 21%; } .chip--6 { left: 6%; top: 36%; } .chip--3 { left: 34%; top: 51%; } .chip--4 { left: 6%; top: 66%; } .chip--5 { left: 14%; top: 82%; }
  .stat, .broadcast { width: 100%; }
  .foot__grid { grid-template-columns: 1fr; }
  .story, .people, .leaders, .every, .safety, .plans, .faq, .cta { padding-block: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .arch path { stroke-dashoffset: 0; }
  .p { opacity: 1; transform: none; }
  .ring { stroke-dashoffset: 75; }
}
