:root {
  color-scheme: light dark;
  --bg: #071413;
  --panel: #102725;
  --panel-soft: #16312e;
  --text: #effbf8;
  --muted: #a9c6c0;
  --accent: #20c9b3;
  --line: rgba(133, 220, 205, .2);
  --shadow: 0 24px 70px rgba(0, 0, 0, .22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(32, 201, 179, .13), transparent 30rem),
    linear-gradient(180deg, #081817, var(--bg));
  line-height: 1.85;
}
a { color: inherit; }
.shell { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }
.topbar {
  position: sticky; top: 0; z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 20, 19, .82);
  backdrop-filter: blur(18px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .2px; }
.brand img { width: 42px; height: 42px; border-radius: 13px; }
.links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: .93rem; }
.links a { text-decoration: none; }
.links a:hover, .links a:focus-visible { color: var(--accent); }
.hero { padding: clamp(70px, 10vw, 132px) 0 72px; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 60px; }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: .08em; font-size: .84rem; }
h1 { margin: 10px 0 20px; font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: 1.12; letter-spacing: -.04em; }
.lead { max-width: 690px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-logo { width: min(100%, 300px); margin-inline: auto; filter: drop-shadow(0 28px 45px rgba(0,0,0,.32)); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-weight: 800; }
.button.primary { color: #041311; border-color: var(--accent); background: var(--accent); }
.button.secondary:hover { border-color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 20px 0 86px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(22,49,46,.88), rgba(11,29,27,.88)); box-shadow: var(--shadow); }
.card h2, .card h3 { margin-top: 0; line-height: 1.4; }
.card p { margin-bottom: 0; color: var(--muted); }
.page { width: min(860px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0 90px; }
.page-header { margin-bottom: 34px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.section { margin: 18px 0; padding: 26px 28px; border-inline-start: 3px solid var(--accent); border-radius: 18px; background: rgba(16,39,37,.72); }
.section h2 { margin: 0 0 8px; font-size: 1.18rem; }
.section p, .section li { color: var(--muted); }
.section ul { margin-bottom: 0; }
.english { direction: ltr; text-align: left; margin-top: 54px; padding-top: 42px; border-top: 1px solid var(--line); font-family: Arial, sans-serif; }
.meta { color: var(--muted); font-size: .92rem; }
footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer a { text-decoration: none; }
@media (max-width: 760px) {
  .links { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { order: -1; width: 190px; }
  .lead { margin-inline: auto; }
  .actions { justify-content: center; }
  .grid { grid-template-columns: 1fr; }
  .footer { padding: 22px 0; flex-direction: column; justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-color-scheme: light) {
  :root { --bg:#eef8f6; --panel:#fff; --panel-soft:#e3f3f0; --text:#102a27; --muted:#4d6b66; --line:rgba(19,125,116,.2); --shadow:0 22px 60px rgba(20,58,58,.1); }
  body { background: radial-gradient(circle at 12% 0%, rgba(32,201,179,.14), transparent 30rem), linear-gradient(180deg,#f8fdfc,var(--bg)); }
  .topbar { background: rgba(248,253,252,.84); }
  .button.primary { color:#041311; }
  .card { background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(231,247,244,.95)); }
}
