@font-face { font-family: "Plex"; src: url("/fonts/plex-400-arabic.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex"; src: url("/fonts/plex-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Plex"; src: url("/fonts/plex-500-arabic.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex"; src: url("/fonts/plex-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Plex"; src: url("/fonts/plex-600-arabic.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex"; src: url("/fonts/plex-600-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Brand"; src: url("/fonts/reem-kufi-arabic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #f4f8f9;
  --bg-soft: #e9f1f3;
  --card: #ffffff;
  --border: #d3e0e4;
  --ink: #121c22;
  --ink-soft: #46565e;
  --ink-mute: #6b7b83;
  --accent: #105656;
  --accent-ink: #ffffff;
  --accent-soft: #e0eeec;
  --shadow: 0 1px 2px rgb(18 28 34 / 0.04), 0 8px 24px rgb(18 28 34 / 0.06);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1318;
    --bg-soft: #111e25;
    --card: #15242c;
    --border: #243843;
    --ink: #f3f8fa;
    --ink-soft: #b9c8cf;
    --ink-mute: #8ea0a8;
    --accent: #7fd8d2;
    --accent-ink: #0b1318;
    --accent-soft: #163a3a;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plex", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.85;
}
img, video { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: "Brand", "Plex", sans-serif; font-size: 24px; font-weight: 600; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--accent-ink); }
@media (max-width: 560px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--ink-mute); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; color: var(--accent); background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.3; font-weight: 600; margin: 0 0 16px; letter-spacing: -0.01em; }
.lead { font-size: 19px; color: var(--ink-soft); margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--ink-mute); }
.phone { justify-self: center; width: min(320px, 80vw); aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: var(--bg-soft); border: 8px solid var(--card); box-shadow: var(--shadow), 0 30px 60px rgb(16 86 86 / 0.12); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Sections */
section { padding: 48px 0; }
.section-title { font-size: clamp(24px, 3.4vw, 32px); font-weight: 600; line-height: 1.4; margin: 0 0 10px; }
.section-lead { color: var(--ink-soft); margin: 0 0 28px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; font-weight: 600; margin: 0 0 6px; line-height: 1.5; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.card .example { margin-top: 12px; font-size: 15px; background: var(--bg-soft); border-radius: 12px; padding: 8px 12px; color: var(--ink); }
.icon { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; list-style: none; margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 22px; }
.steps li::before { content: counter(step, arabic-indic); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 600; margin-bottom: 12px; }
.steps h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.privacy { background: var(--accent-soft); border-radius: 28px; padding: 36px 28px; text-align: center; }
.privacy .big { font-size: clamp(24px, 3.6vw, 34px); font-weight: 600; margin: 0 0 8px; }
.privacy p { color: var(--ink-soft); margin: 0 auto; max-width: 36em; }

details { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 4px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 500; padding: 14px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: left; color: var(--ink-mute); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 16px; color: var(--ink-soft); }

.final-cta { text-align: center; }
.final-cta .cta-row { justify-content: center; }

/* Guides */
.guide-list { display: grid; gap: 14px; }
.guide-list a.card { display: block; text-decoration: none; color: inherit; }
.guide-list a.card:hover { border-color: var(--accent); }
.guide-list .meta { font-size: 14px; color: var(--ink-mute); margin-top: 8px; }

article { padding: 40px 0 24px; }
article h1 { font-size: clamp(28px, 4.4vw, 40px); }
article h2 { font-size: 24px; font-weight: 600; margin: 40px 0 10px; line-height: 1.5; }
article h3 { font-size: 19px; font-weight: 600; margin: 28px 0 6px; }
article p, article li { color: var(--ink-soft); }
article strong { color: var(--ink); font-weight: 600; }
article ul, article ol { padding-inline-start: 1.4em; }
article li { margin-bottom: 6px; }
.crumbs { font-size: 14px; color: var(--ink-mute); margin-bottom: 14px; }
.crumbs a { color: var(--ink-mute); }
table { width: 100%; border-collapse: collapse; margin: 16px 0 8px; font-size: 16px; background: var(--card); border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
th, td { text-align: start; padding: 10px 14px; border-bottom: 1px solid var(--border); }
th { background: var(--bg-soft); font-weight: 600; color: var(--ink); }
tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.callout { background: var(--accent-soft); border-radius: 18px; padding: 18px 20px; margin: 28px 0; }
.callout p { margin: 0 0 12px; color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }
.ayah { font-size: 20px; color: var(--ink); text-align: center; margin: 24px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; margin-top: 32px; font-size: 15px; color: var(--ink-mute); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
