/* عَ دربك — هوية الموقع (نفس ألوان التطبيق) */
/* الخطوط من ملفاتنا (نفس خطوط التطبيق، رخصة OFL)، مش من جوجل */
@font-face { font-family: 'Baloo Bhaijaan 2'; src: url(/assets/fonts/baloo.woff2) format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url(/assets/fonts/tajawal-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url(/assets/fonts/tajawal-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url(/assets/fonts/tajawal-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
:root {
  --ink: #0F2A2E; --teal: #0F4C48; --sun: #FF7A45; --lime: #D9F26B;
  --ground: #FBF7F0; --card: #FFFFFF; --line: #EDE4D6; --muted: #56605C;
  --mint: #EAF3EE; --on-mint: #155F4F; --peach: #FFF0E8; --on-peach: #9C3B14; --ok: #1F8A6E;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #0B1F22; --card: #13292C; --line: #22393B; --ink: #EEF3F1; --muted: #9FB1AC;
          --mint: #173B37; --on-mint: #9FE0C8; --peach: #3A2620; --on-peach: #FFB08F; }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--ground); color: var(--ink); font-family: 'Tajawal', system-ui, sans-serif; line-height: 1.7; }
.display { font-family: 'Baloo Bhaijaan 2', 'Tajawal', sans-serif; }
a { color: inherit; }
.wrap { max-width: 520px; margin: 0 auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.wide { max-width: 760px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.hero { background: #0F4C48; color: #FBF7F0; border-radius: 24px; padding: 20px; position: relative; overflow: hidden; }
.hero .sub { color: #D7E7E1; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 18px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s; }
.btn:active { transform: scale(.96); }
.btn-sun { background: var(--sun); color: #0F2A2E; }
.btn-teal { background: #0F4C48; color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; }
.chip-lime { background: var(--lime); color: #0F2A2E; }
.muted { color: var(--muted); }
.top { display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 700; font-size: 18px; color: #0F4C48; text-decoration: none; }
@media (prefers-color-scheme: dark) { .brand { color: var(--lime); } }
.foot { text-align: center; font-size: 13px; color: var(--muted); padding: 24px 0 8px; }
.foot a { margin: 0 8px; }
.legal h2 { font-size: 18px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
.rise { animation: rise .55s cubic-bezier(.2, .8, .2, 1) both; }
.pulse { position: relative; width: 14px; height: 14px; display: inline-block; }
.pulse::before, .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--lime); }
.pulse::before { animation: pulse 1.8s ease-out infinite; }
/* اللغة: رابط «English / العربية» */
.lang { font-size: 13px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; white-space: nowrap; }
.hero .lang { position: absolute; top: 14px; left: 14px; z-index: 1; color: #FBF7F0; border-color: rgba(251,247,240,.35); }
.top-end { display: flex; align-items: center; gap: 10px; }
/* الإنجليزي (LTR) */
[dir=ltr] body { line-height: 1.6; }
[dir=ltr] .display { letter-spacing: -.01em; }
