@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@300;400;500;700&display=swap');

:root{
  --primary:#2563EB;
  --secondary:#3B82F6;
  --accent:#D97706;
  --bg:#F8FAFC;
  --fg:#0F172A;
  --muted:#F1F5FD;
  --border:#E4ECFC;
  --ring:#2563EB;
  --heading:'Noto Naskh Arabic',serif;
  --body:'Noto Sans Arabic',system-ui,sans-serif;
  --radius:18px;
  --shadow:0 1px 2px rgba(15,23,42,.04), 0 12px 32px -18px rgba(15,23,42,.25);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--fg);
  font-family:var(--body); font-weight:400; line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
.wrap{width:min(1100px,92vw); margin-inline:auto}
a{color:inherit; text-decoration:none}
code{
  font-family:ui-monospace,'SF Mono',Menlo,monospace; font-size:.85em;
  background:var(--muted); border:1px solid var(--border);
  padding:.1em .4em; border-radius:6px; direction:ltr; display:inline-block;
}
i[data-lucide]{width:18px;height:18px;stroke-width:1.75;vertical-align:-3px}

.topbar{
  position:sticky; top:0; z-index:20;
  background:rgba(248,250,252,.82); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.bar-inner{display:flex; align-items:center; justify-content:space-between; gap:16px; height:66px}
.brand{display:flex; align-items:center; gap:10px; font-weight:500}
.mark{
  display:grid; place-items:center; width:34px; height:34px; border-radius:10px;
  background:var(--primary); color:#fff; font-weight:700; font-size:.85rem;
  font-family:var(--body); letter-spacing:.02em;
}
.brand-text em{font-style:normal; color:#64748B; font-weight:300}

.ghost-btn{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--border); background:#fff; color:var(--fg);
  padding:9px 16px; border-radius:999px; font-size:.9rem; font-weight:500;
  cursor:pointer; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ghost-btn:hover{transform:translateY(-2px); border-color:#BFD3F7; box-shadow:var(--shadow)}
.ghost-btn:focus-visible{outline:2px solid var(--ring); outline-offset:3px}

.hero{padding:clamp(56px,9vw,104px) 0 clamp(32px,5vw,56px)}
.eyebrow{
  margin:0 0 18px; font-size:.82rem; font-weight:500; color:var(--accent);
  letter-spacing:.01em;
}
.hero h1{
  font-family:var(--heading); font-weight:700;
  font-size:clamp(2.6rem,7.5vw,5.2rem); line-height:1.06;
  margin:0 0 22px; letter-spacing:-.02em;
}
.lede{
  max-width:62ch; margin:0 0 34px; font-size:clamp(1rem,1.5vw,1.12rem);
  color:#475569; font-weight:300;
}
.hero-actions{display:flex; flex-wrap:wrap; align-items:center; gap:14px}
.cta{
  display:inline-flex; align-items:center; gap:10px;
  background:var(--primary); color:#fff; font-weight:500;
  padding:14px 22px; border-radius:999px; font-size:.98rem;
  box-shadow:0 10px 24px -14px rgba(37,99,235,.9);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.cta:hover{transform:translateY(-2px); background:#1D4ED8; box-shadow:0 16px 30px -16px rgba(37,99,235,1)}
.cta:focus-visible{outline:2px solid var(--ring); outline-offset:3px}
.cta .size{font-size:.78rem; font-weight:300; opacity:.75; border-inline-start:1px solid rgba(255,255,255,.35); padding-inline-start:10px}

.sec-title{
  font-family:var(--heading); font-weight:600; font-size:clamp(1.4rem,2.6vw,1.9rem);
  margin:clamp(40px,6vw,72px) 0 22px; padding-bottom:12px;
  border-bottom:1px solid var(--border);
}
.grid{display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(255px,1fr))}

.card{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:22px; display:flex; flex-direction:column; gap:12px;
  box-shadow:var(--shadow); transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  animation:fadeUp .5s both;
}
.card:hover{transform:translateY(-3px); border-color:#C9DAF9; box-shadow:0 18px 40px -22px rgba(15,23,42,.4)}
.card-top{display:flex; align-items:center; justify-content:space-between; gap:10px}
.card-icon{
  display:grid; place-items:center; width:40px; height:40px; border-radius:11px;
  background:var(--muted); color:var(--primary);
}
.card-lang{font-size:.75rem; font-weight:500; color:#64748B; letter-spacing:.02em}
.card h3{
  margin:0; font-family:var(--body); font-weight:500; font-size:1.05rem;
  direction:ltr; text-align:right; font-feature-settings:"ss01";
}
.card p{margin:0; font-size:.9rem; color:#526177; font-weight:300; flex:1}
.card .meta{font-size:.78rem; color:#7C8797; font-weight:300}
.dl{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border:1px solid var(--border); background:var(--muted); color:var(--primary);
  padding:10px 14px; border-radius:12px; font-weight:500; font-size:.9rem;
  cursor:pointer; transition:background .2s ease, color .2s ease, transform .2s ease;
}
.dl:hover{background:var(--primary); color:#fff; transform:translateY(-2px)}
.dl:focus-visible{outline:2px solid var(--ring); outline-offset:2px}

.tables{display:grid; gap:18px; grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.tbl{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow);
}
.tbl header{
  padding:14px 18px; background:var(--muted); border-bottom:1px solid var(--border);
  font-weight:500; font-size:.95rem; display:flex; justify-content:space-between; gap:8px;
}
.tbl header span{font-weight:300; color:#64748B; font-size:.82rem}
.tbl ul{list-style:none; margin:0; padding:6px 0}
.tbl li{
  padding:9px 18px; font-size:.88rem; display:flex; justify-content:space-between; gap:12px;
  border-bottom:1px solid #F3F6FC; direction:ltr; text-align:left;
}
.tbl li:last-child{border-bottom:0}
.tbl li b{font-weight:500; color:var(--fg)}
.tbl li em{font-style:normal; color:#7C8797; font-weight:300}
.tbl li.ar{direction:rtl; text-align:right}

.note-list{margin:0; padding:0 20px 0 0; display:grid; gap:10px; max-width:78ch}
.note-list li{font-size:.94rem; color:#475569; font-weight:300; line-height:1.8}
.note-list b{font-weight:500; color:var(--fg)}
.notes{padding-bottom:clamp(48px,7vw,88px)}

@keyframes fadeUp{from{opacity:0; transform:translateY(14px)} to{opacity:1; transform:none}}
@media (max-width:640px){
  .brand-text em{display:none}
  .bar-inner{height:60px}
  .hero{padding-top:44px}
  .cta .size{display:none}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important; transition:none!important}
  html{scroll-behavior:auto}
}
footer{border-top:1px solid var(--border); padding:24px 0 40px}
footer .wrap{display:flex; flex-wrap:wrap; gap:8px 18px; justify-content:space-between; font-size:.82rem; color:#7C8797; font-weight:300}
