:root {
  --bg: #f4f8f6;
  --surface: #ffffff;
  --ink: #10221d;
  --muted: #4e625c;
  --line: #dce7e2;
  --brand: #12806c;
  --brand-deep: #0a5e50;
  --brand-soft: #e1f2ec;
  --gold: #f6d98a;
  --dusk-1: #2c2350;
  --dusk-2: #8a3f63;
  --dusk-3: #d9764c;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(16, 34, 29, .06), 0 12px 32px rgba(16, 34, 29, .08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1613;
    --surface: #13221e;
    --ink: #e8f1ee;
    --muted: #a3b5af;
    --line: #22352f;
    --brand: #2bb399;
    --brand-deep: #0f6b5b;
    --brand-soft: #173a32;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
html[lang="ar"] body { font-size: 18px; line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.lang { font-size: 15px; font-weight: 600; text-decoration: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding: 24px 0 64px; }
.eyebrow { display: inline-block; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; margin: 0 0 18px; }
h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.12; margin: 0 0 18px; letter-spacing: -.02em; }
html[lang="ar"] h1 { letter-spacing: 0; line-height: 1.3; }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.soon { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); border-radius: 14px; padding: 12px 20px; font-weight: 700; }
.soon svg { width: 22px; height: 22px; flex: none; }
.soon small { display: block; font-weight: 500; font-size: 12px; opacity: .75; line-height: 1.2; }
.note { color: var(--muted); font-size: 15px; }

.phone { justify-self: center; width: min(280px, 72vw); border-radius: 38px; padding: 10px; background: #0f1714; box-shadow: var(--shadow), 0 30px 60px rgba(44, 35, 80, .25); }
.phone img { border-radius: 29px; width: 100%; height: auto; aspect-ratio: 9 / 17; object-fit: cover; object-position: top; }

/* Sections */
section { padding: 64px 0; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
html[lang="ar"] h2 { letter-spacing: 0; line-height: 1.4; }
.sub { color: var(--muted); margin: 0 0 36px; max-width: 40em; font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }
html[lang="ar"] .step::before { content: counter(s, arabic-indic); }
.step h3, .feat h3 { margin: 0 0 6px; font-size: 19px; }
.step p, .feat p { margin: 0; color: var(--muted); font-size: 16px; }

.dusk { background: linear-gradient(160deg, var(--dusk-1), var(--dusk-2) 60%, var(--dusk-3)); color: #fff; border-radius: 32px; padding: 56px 40px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.dusk .sub { color: rgba(255, 255, 255, .82); margin-bottom: 0; }
.dusk .phone { width: min(240px, 60vw); }
.verse { font-size: 24px; line-height: 2; margin: 22px 0 6px; font-family: "Geeza Pro", "Noto Naskh Arabic", "Traditional Arabic", serif; }
.verse-en { font-style: italic; color: rgba(255, 255, 255, .82); margin: 0 0 4px; font-size: 16px; }
.verse-ref { color: rgba(255, 255, 255, .65); font-size: 14px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.feat .ic svg { width: 24px; height: 24px; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; justify-items: center; }
.shots figure { margin: 0; text-align: center; }
.shots .phone { width: min(260px, 70vw); }
.shots figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; }

.privacy { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 44px 40px; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.checks li { position: relative; padding-inline-start: 34px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.fine { color: var(--muted); font-size: 15px; margin: 0; }

footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 44px; color: var(--muted); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
footer a { color: var(--muted); }

/* Policy page */
.doc { max-width: 720px; padding: 24px 0 40px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc .meta { color: var(--muted); font-size: 15px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 16px 0 48px; }
  .steps, .features, .shots { grid-template-columns: 1fr; }
  .features { gap: 14px; }
  .dusk { grid-template-columns: 1fr; padding: 40px 24px; }
  .privacy { padding: 32px 22px; }
  .checks { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  .shots { gap: 36px; }
}
