:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #14213d;
  --muted: #5b6478;
  --accent: #13b98a;
  --line: #e3e8ef;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1626;
    --surface: #14213d;
    --text: #eef2f8;
    --muted: #a9b3c6;
    --accent: #2fd4a3;
    --line: #26355a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", Tahoma, sans-serif;
}
header {
  background: #14213d;
  color: #fff;
  padding: 18px 16px;
}
header .wrap { display: flex; align-items: center; gap: 12px; }
header img { width: 40px; height: 40px; border-radius: 10px; }
header a { color: #fff; text-decoration: none; font-weight: 700; font-size: 20px; }
.wrap { max-width: 760px; margin: 0 auto; }
main { padding: 24px 16px 48px; }
article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px clamp(16px, 4vw, 36px);
}
h1 { font-size: clamp(26px, 5vw, 34px); line-height: 1.2; margin: 0 0 6px; }
h2 { font-size: 20px; margin: 28px 0 8px; }
p, li { color: var(--text); }
.meta { color: var(--muted); margin: 0 0 20px; }
a { color: var(--accent); }
nav.langs { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 18px; font-size: 15px; }
nav.langs a[aria-current="page"] { color: var(--muted); text-decoration: none; font-weight: 600; }
ul { padding-inline-start: 22px; }
footer { color: var(--muted); font-size: 14px; text-align: center; padding: 0 16px 32px; }
