/* Edu Tawjihi brand fonts, served locally so the site and panels work offline. Mirrors brand/tokens.json. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/brand/Inter-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/brand/Inter-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/brand/Inter-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/brand/Inter-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/brand/Inter-ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/brand/IBMPlexSansArabic-Regular.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/brand/IBMPlexSansArabic-Medium.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/brand/IBMPlexSansArabic-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/brand/IBMPlexSansArabic-Bold.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/brand/IBMPlexSansArabic-Bold.ttf') format('truetype'); }

:root {
    --em-primary: #4338ca;
    --em-primary-dark: #312e81;
    --em-primary-soft: #eef2ff;
    --em-accent: #f59e0b;
    --em-ink: #0f172a;
    --em-muted: #64748b;
    --em-surface: #f8fafc;
    --em-line: #e2e8f0;
}

.em-hero-bg {
    background:
        radial-gradient(60rem 30rem at 85% -10%, rgba(99, 102, 241, 0.18), transparent 60%),
        radial-gradient(40rem 24rem at -10% 10%, rgba(245, 158, 11, 0.10), transparent 60%),
        var(--em-surface);
}

.em-grid-bg {
    background-image:
        linear-gradient(to right, rgba(67, 56, 202, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(67, 56, 202, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
}

details > summary::-webkit-details-marker { display: none; }
