:root{
  --bg:#f7f8fb; --surface:#fff; --text:#14171f; --muted:#4a5263;
  --brand:#1747c4; --brand-ink:#fff; --line:#dde2ec; --accent:#0f7b5f;
  --radius:14px; --max:1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark){
  :root{ --bg:#0f1218; --surface:#171b24; --text:#eef1f7; --muted:#b4bccb;
         --brand:#8fb0ff; --brand-ink:#0f1218; --line:#2a3140; --accent:#5fd3ad; }
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto} *{transition:none!important} }
body{margin:0;background:var(--bg);color:var(--text);
  font:1.0625rem/1.75 system-ui,-apple-system,"Segoe UI",Tahoma,"Noto Sans Arabic","Noto Sans",sans-serif}
a{color:var(--brand);text-underline-offset:.2em}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:6px}
.skip{position:absolute;inset-inline-start:1rem;top:-4rem;background:var(--brand);color:var(--brand-ink);
  padding:.6rem 1rem;border-radius:8px;z-index:10;font-weight:600}
.skip:focus{top:1rem}
.wrap{max-width:var(--max);margin-inline:auto;padding-inline:1.25rem}

header.site{border-bottom:1px solid var(--line);background:var(--surface)}
header.site .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:64px}
.logo{font-weight:800;font-size:1.25rem;color:var(--text);text-decoration:none}
.logo span{color:var(--brand)}
nav ul{list-style:none;display:flex;gap:1.25rem;margin:0;padding:0;flex-wrap:wrap}
nav a{color:var(--muted);text-decoration:none;font-weight:600}
nav a:hover{color:var(--brand)}
.lang{border:1px solid var(--line);padding:.3rem .8rem;border-radius:999px}

.hero{padding:4.5rem 0 3.5rem}
.eyebrow{display:inline-block;color:var(--accent);font-weight:700;letter-spacing:.02em;margin-bottom:.75rem}
.hero h1{font-size:clamp(2rem,4.2vw,3rem);line-height:1.25;margin:0 0 1rem}
.hero p.lead{font-size:1.2rem;color:var(--muted);max-width:46rem;margin:0 0 2rem}
.cta{display:flex;gap:.75rem;flex-wrap:wrap}
.btn{display:inline-block;padding:.85rem 1.4rem;border-radius:10px;font-weight:700;text-decoration:none;border:2px solid var(--brand)}
.btn.primary{background:var(--brand);color:var(--brand-ink)}
.btn.ghost{color:var(--brand)}

section{padding:3rem 0;border-top:1px solid var(--line)}
section h2{font-size:clamp(1.5rem,2.6vw,2rem);margin:0 0 .5rem}
section > .wrap > p.sub{color:var(--muted);margin:0 0 2rem;max-width:48rem}

.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem}
.card h3{margin:0 0 .4rem;font-size:1.15rem}
.card p{margin:0;color:var(--muted)}
.icon{font-size:1.6rem;line-height:1;margin-bottom:.6rem;display:block}

.steps{counter-reset:s;list-style:none;padding:0;margin:0;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.steps li{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem;counter-increment:s}
.steps li::before{content:counter(s);display:inline-grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:50%;
  background:var(--brand);color:var(--brand-ink);font-weight:800;margin-bottom:.6rem}
.steps strong{display:block;margin-bottom:.25rem}

.highlight{background:var(--surface);border:1px solid var(--line);border-inline-start:6px solid var(--accent);
  border-radius:var(--radius);padding:1.6rem}
.highlight ul{margin:.75rem 0 0;padding-inline-start:1.25rem}

footer{border-top:1px solid var(--line);padding:2rem 0;color:var(--muted);font-size:.95rem}
footer .wrap{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
