/* IBM Plex Sans Arabic, SIL Open Font License 1.1 (self-hosted) */
@font-face {
  font-family: "Plex Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/plex-arabic-arabic-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Plex Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/plex-arabic-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/plex-arabic-arabic-500.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Plex Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/plex-arabic-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/plex-arabic-arabic-600.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Plex Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/plex-arabic-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/plex-arabic-arabic-700.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Plex Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/plex-arabic-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ---------- tokens ---------- */
:root {
  --bg: #f6f6f3;
  --bg-2: #efefeb;          /* grey cards */
  --card: #ffffff;
  --ink: #0f1110;
  --muted: #62665f;
  --line: #e4e4de;
  --green: #0f4d3a;
  --green-2: #0a3a2b;
  --green-soft: #d9ebe2;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(16, 24, 20, .06), 0 12px 32px rgba(16, 24, 20, .07);
  font-family: "Plex Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); line-height: 1.7; overflow-x: clip; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
:lang(en) h1, :lang(en) h2, :lang(en) h3 { letter-spacing: -0.02em; }   /* never on Arabic: it breaks the joins */

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600;
  padding: 10px 12px 10px 20px; border-radius: 14px; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 14px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
[dir="rtl"] .btn { padding: 10px 20px 10px 12px; }
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 22px rgba(0,0,0,.2); }
.btn:focus-visible, .lang:focus-visible, summary:focus-visible { outline: 3px solid #8cc9ad; outline-offset: 3px; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.green { background: var(--green); color: #fff; }
.btn.green:hover { background: var(--green-2); }
.btn.white { background: #fff; color: var(--ink); }
.btn.big { font-size: 1.05rem; padding-top: 12px; padding-bottom: 12px; }
.btn.small { padding: 8px 16px; font-size: .95rem; }
.btn.dark:not(:has(.tile)), .btn.small { padding-inline: 18px; }
.tile {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: #fff; color: var(--ink);
}
.tile.light { background: #fff; color: var(--ink); }
.tile.dark { background: var(--ink); color: #fff; }
.tile svg { width: 18px; height: 18px; }
[dir="rtl"] .tile svg { transform: scaleX(-1); }       /* the arrow points along the reading direction */

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(246, 246, 243, .82); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand b { font-size: 1.15rem; }
.logo {
  width: 36px; height: 36px; border-radius: 10px; background: var(--green); color: #fff; font-weight: 700;
  display: grid; place-items: center; font-size: 1.2rem; font-family: Arial, sans-serif;
}
.links { display: flex; gap: 28px; }
.links a { text-decoration: none; color: #3b3f3a; font-weight: 500; }
.links a:hover { color: var(--ink); }
.actions { display: flex; align-items: center; gap: 10px; }
.lang {
  background: transparent; border: 1px solid var(--line); border-radius: 12px; color: #3b3f3a;
  padding: 7px 12px; font: inherit; font-size: .9rem; cursor: pointer;
}
.lang:hover { background: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 0; }
.hero::before {                                   /* faint vertical lines, fading out */
  content: ""; position: absolute; inset: 0 0 35% 0; z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(15, 17, 16, .045) 0 1px, transparent 1px 84px);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 30%, transparent 75%);
}
.chip, .pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 14px 5px 8px; font-size: .9rem; font-weight: 500; box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
[dir="rtl"] .chip, [dir="rtl"] .pill { padding: 5px 8px 5px 14px; }
.seal-ic { width: 20px; height: 20px; fill: var(--green); }
.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.2rem); max-width: 21ch; margin: 22px auto 18px;
  text-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 60ch; margin: 0 auto 30px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.shot {
  margin: 56px auto 0; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(16, 24, 20, .16);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.shot img { width: 100%; height: auto; }

/* ---------- strip ---------- */
.strip { padding: 10px 0 30px; text-align: center; }
.strip-title { font-weight: 600; margin-bottom: 18px; }
.marquee {
  overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.track { display: flex; gap: 14px; width: max-content; animation: slide 38s linear infinite; }
.track span {
  direction: rtl; white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-weight: 600; color: #2f332e;
}
:lang(en) .track span { direction: ltr; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 16px 0 12px; text-shadow: 0 4px 14px rgba(0,0,0,.08); }
.head p:not(.pill) { color: var(--muted); font-size: 1.05rem; }
h2.left { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 26px; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vcard, .bcard { background: var(--bg-2); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.vcard h3, .bcard h3 { font-size: 1.3rem; margin: 14px 0 8px; }
.vcard p, .bcard p { color: var(--muted); }
.inner {
  margin-top: 20px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; display: grid; place-items: center;
}
.inner img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.inner.tall { aspect-ratio: 5 / 4; }

.seal { position: relative; display: inline-grid; place-items: center; width: 52px; height: 52px; }
.seal .bg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--green-soft); }
.seal .ic { position: relative; width: 22px; height: 22px; color: var(--green); }

.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bcard { padding: 28px; }
.bcard h3 { margin-top: 0; font-size: 1.45rem; }
.bcard.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center; }
.wide-text p { margin: 8px 0 22px; }
.player { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; object-fit: cover; }
.sound {
  position: absolute; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(15, 17, 16, .82); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  padding: 7px 14px; font: inherit; font-size: .9rem; cursor: pointer;
}
.sound svg { width: 14px; height: 14px; }
[dir="rtl"] .sound svg { transform: scaleX(-1); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks b { display: block; font-size: 1.1rem; }
.ticks span:not(.tickmark) { color: var(--muted); }
.tickmark { position: relative; flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin-top: 2px; }
.tickmark .bg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--green); }
.tickmark .ic { position: relative; width: 16px; height: 16px; color: #fff; }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nums div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.nums b { display: block; font-size: 2.4rem; line-height: 1.1; color: var(--green); font-family: "Plex Arabic", Arial, sans-serif; }
.nums span { color: var(--muted); font-size: .95rem; }

.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.mini h3 { font-size: 1.15rem; margin: 14px 0 6px; }
.mini p { color: var(--muted); }

.ref { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.ref b { display: block; font-size: 1.08rem; margin-bottom: 6px; }
.ref p { color: var(--muted); }
.note { margin-top: 20px; background: #fff7e3; border: 1px solid #efd9a1; border-radius: 16px; padding: 16px 20px; color: #5f4f1f; }

details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; min-height: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green); }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 18px; color: var(--muted); }

.final {
  background: radial-gradient(900px 300px at 80% 0%, #1c6b52 0%, transparent 60%), var(--green);
  color: #fff; border-radius: 28px; padding: 64px 24px; text-align: center;
}
.final h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.final p { color: #cfe6dc; margin: 12px 0 28px; font-size: 1.08rem; }

.foot { border-top: 1px solid var(--line); padding: 22px 0; font-size: .92rem; }
.foot .bar { min-height: 0; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .three, .grid6 { grid-template-columns: 1fr 1fr; }
  .bento, .split, .bcard.wide { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .links { display: none; }
  .three, .grid6, .nums { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .shot { margin-top: 36px; border-radius: 14px; }
  .section { padding: 60px 0; }
  .btn.big { font-size: 1rem; }
  .brand b { font-size: 1rem; }
  .bcard, .vcard { padding: 18px; }
  .final { padding: 44px 18px; border-radius: 22px; }
}
@media (max-width: 430px) {                         /* phones: one-line header, thumb-sized buttons */
  .bar { min-height: 60px; gap: 8px; flex-wrap: nowrap; }
  .logo { width: 32px; height: 32px; font-size: 1.05rem; }
  .brand { gap: 8px; }
  .brand b { font-size: .95rem; white-space: nowrap; }
  .lang { padding: 6px 10px; font-size: .85rem; min-height: 42px; }
  .actions .btn.small { padding: 7px 12px; font-size: .88rem; white-space: nowrap; min-height: 42px; }
  .brand { min-height: 42px; }
  .hero h1 { font-size: 2rem; }
  .hero { padding-top: 28px; }
  .hero h1 { margin: 16px auto 14px; }
  .lead { margin-bottom: 22px; }
  .cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta .btn { justify-content: center; }
  .shot { margin-top: 28px; }
  .head { margin-bottom: 30px; }
  .track span { padding: 8px 16px; font-size: .92rem; }
  .nums b { font-size: 2rem; }
  .foot .bar { flex-wrap: wrap; justify-content: center; text-align: center; }
}
@media (max-width: 350px) {
  .actions .btn.small { display: none; }            /* the hero button right below does the same */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .track span[aria-hidden] { display: none; }
  .btn { transition: none; }
}
