:root {
  --bg: #0f172a;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --card: #1e293b;
  --border: rgba(148, 163, 184, 0.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Tajawal', 'Cairo', system-ui, "Noto Sans Arabic", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
}
.wrap { max-width: 42rem; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem;
}
.brand { font-weight: 800; font-size: 1.2rem; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
.nav a { color: var(--muted); text-decoration: none; margin-inline-start: 1rem; font-size: 0.9rem; }
.nav a:hover { color: var(--accent); }
.meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
h1 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.3; margin-bottom: 1rem; }
.lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 2rem; }
article h2 { font-size: 1.15rem; margin: 1.75rem 0 0.6rem; color: var(--accent); }
article p, article li { margin-bottom: 0.75rem; color: #cbd5e1; }
article ul, article ol { padding-right: 1.25rem; margin-bottom: 1rem; }
.cta-box {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.5rem; margin-top: 2rem; text-align: center;
}
.cta-box h3 { margin-bottom: 0.5rem; }
.btn {
  display: inline-block; background: #1d4ed8; color: #fff; text-decoration: none;
  padding: 0.65rem 1.25rem; border-radius: 8px; font-weight: 700; margin: 0.35rem;
}
.btn-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.post-list { list-style: none; padding: 0; }
.post-list li { margin-bottom: 0.75rem; }
.post-list a { color: var(--accent); text-decoration: none; font-size: 1.05rem; }
.post-list a:hover { text-decoration: underline; }
.footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--border); text-align: center; color: var(--muted); font-size: 0.85rem; }
.footer a { color: var(--accent); }
