@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 200 800; font-display: swap; src: url('/fonts/PlusJakartaSans-latin.woff2') format('woff2'); ascent-override: 100.5%; descent-override: 25.5%; line-gap-override: 0%; }
@font-face { font-family: 'Cairo'; font-weight: 200 1000; font-display: swap; src: url('/fonts/Cairo-arabic.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Cairo'; font-weight: 200 1000; font-display: swap; src: url('/fonts/Cairo-latin.woff2') format('woff2'); unicode-range: U+0000-00FF; }
:root { color-scheme: dark; --bg: #0b0912; --panel: #141024; --line: #2a2444; --ink: #f1eefb; --mute: #a8a2c2; --lilac: #c4a8ff; --brand: #8a5af5; --font: 'Plus Jakarta Sans', 'Cairo', system-ui, sans-serif; }
:root[data-theme='light'] { color-scheme: light; --bg: #f4f2fa; --panel: #fff; --line: #ddd6f0; --ink: #1c1927; --mute: #5f5979; --lilac: #6d3be0; }
* { box-sizing: border-box; scrollbar-width: none; } *::-webkit-scrollbar { display: none; }
html { background: var(--bg); } body { margin: 0; min-height: 100vh; color: var(--ink); font: 16px/1.8 var(--font); background: radial-gradient(60% 40% at 50% 0%, rgb(93 36 185 / 26%), transparent 70%), var(--bg); }
html[lang='ar'] body { font-family: 'Cairo', var(--font); line-height: 1.95; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 880px; margin: 0 auto; padding: 22px 20px 0; }
.bar a.home { display: block; line-height: 0; } .brand-wm { height: 28px; width: auto; display: block; } .wm-ink { fill: var(--ink); }   /* the same wordmark, size and colours as the site and the portal */
.bar nav { display: flex; gap: 10px; }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 44px; min-width: 44px; padding: 0; border-radius: 50%; border: 1px solid rgb(255 255 255 / 10%); background: rgb(255 255 255 / 7%); color: var(--ink); font: 700 .95rem var(--font); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .pill:hover { border-color: var(--lilac); } }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; }
@media (hover: none) and (pointer: coarse) { .pill:focus, .pill:focus-visible { outline: none; } }
main { max-width: 880px; margin: 0 auto; padding: 38px 20px 64px; }
h1 { margin: 0 0 6px; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); line-height: 1.15; }
.upd { margin: 0 0 30px; color: var(--mute); font-size: .9rem; }
.draft { margin: 0 0 28px; padding: 12px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, #f2c14e 50%, transparent); color: #f2c14e; font-size: .9rem; }
:root[data-theme='light'] .draft { color: #8a6200; }
section { padding: 22px 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 14px; }
h2 { margin: 0 0 8px; font-size: 1.15rem; } p, li { color: var(--mute); margin: 0 0 8px; } ul { margin: 0; padding-inline-start: 22px; }
a { color: var(--lilac); }
footer { max-width: 880px; margin: 0 auto; padding: 0 20px 40px; color: var(--mute); font-size: .85rem; text-align: center; }

/* header controls: same shape, size and icon as the site and the portal (44 px circles; the language button is a 46 px pill; phones: bare 40 px icons) */
:root[data-theme='light'] .pill { background: rgb(93 36 185 / 8%); border-color: rgb(93 36 185 / 16%); }
.pill.lang { min-width: 46px; padding: 0 4px; border-radius: 999px; }
.pill .ico { width: 20px; height: 20px; } .pill .i-sun { display: none; } :root[data-theme='light'] .pill .i-sun { display: block; } :root[data-theme='light'] .pill .i-moon { display: none; }
@media (max-width: 719px) { .pill { width: 40px; height: 40px; min-width: 40px; border-color: transparent; background: transparent; border-radius: 10px; } .pill.lang { width: auto; min-width: 46px; } .bar nav { gap: 6px; } }
