:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #6366f1;
  --accent-2: #ec4899;
  --ok: #10b981;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --surface: #131b2e;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --line: #1e293b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", Tahoma, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

header.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 900; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav a { margin-inline-start: 14px; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--muted); }
nav a:hover { color: var(--accent); }

.hero { text-align: center; padding: 40px 0 24px; }
.hero img.icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 30px rgba(99, 102, 241, .35); }
.hero h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.15; margin: 18px 0 10px; }
.hero p { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto 22px; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 900; padding: 14px 26px; border-radius: 14px;
}
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.badge { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }

.shots { display: flex; gap: 12px; overflow-x: auto; padding: 16px 0 8px; scroll-snap-type: x mandatory; }
.shots img { flex: 0 0 auto; width: 200px; height: auto; border-radius: 18px; border: 1px solid var(--line); scroll-snap-align: center; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 24px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

section h2 { font-size: 24px; margin: 36px 0 8px; }

.doc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin: 16px 0 32px; }
.doc h1 { font-size: 28px; margin-top: 0; }
.doc h2 { font-size: 20px; margin: 28px 0 6px; }
.doc p, .doc li { color: var(--text); }
.doc .meta { color: var(--muted); font-size: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { border: 1px solid var(--line); padding: 8px; text-align: start; vertical-align: top; }
th { background: var(--bg); }
.table-wrap { overflow-x: auto; }

footer { color: var(--muted); font-size: 13.5px; border-top: 1px solid var(--line); padding: 20px 0 36px; margin-top: 24px; }
footer a { color: var(--muted); }
