@font-face { font-family: Cairo; font-weight: 600; font-display: swap; src: url(fonts/cairo-600.woff2) format('woff2'); unicode-range: U+0600-06FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Cairo; font-weight: 800; font-display: swap; src: url(fonts/cairo-800.woff2) format('woff2'); unicode-range: U+0600-06FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Cairo; font-weight: 600 800; font-display: swap; src: url(fonts/cairo-latin-800.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }

:root { --a: #2f8f6f; --b: #0d3b33; --gold: #f6b93b; --ink: #1b2733; --paper: #fffdf7; --muted: #5b6b78; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: Cairo, system-ui, sans-serif; font-weight: 600; color: var(--ink); background: var(--paper); line-height: 1.75; }
a { color: #1f7a5c; }
header { background: linear-gradient(170deg, var(--a), var(--b)); color: #fff; padding: 28px 16px; }
header .wrap { display: flex; align-items: center; gap: 16px; }
header img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
header h1 { margin: 0; font-size: 28px; line-height: 1.2; }
header p { margin: 0; opacity: .85; }
header a { color: #fff; }
nav { margin-inline-start: auto; display: flex; gap: 16px; font-size: 15px; }
.wrap { max-width: 760px; margin: 0 auto; }
main { padding: 24px 16px 56px; }
h2 { font-size: 24px; margin: 40px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
section + section { border-top: 1px solid #e6e1d4; margin-top: 40px; }
.lang-switch { font-size: 15px; margin-bottom: 8px; }
.note { background: #f3efe3; border-radius: 12px; padding: 12px 16px; color: var(--muted); font-size: 15px; }
footer { text-align: center; color: var(--muted); font-size: 14px; padding: 24px 16px 40px; }
[dir=rtl] { text-align: right; }
.hero { text-align: center; padding: 48px 16px; }
.hero img { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero h2 { font-size: 40px; margin: 16px 0 0; }
.badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.badges a { background: var(--ink); color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 12px; }
@media (max-width: 560px) { header .wrap { flex-wrap: wrap; } nav { margin-inline-start: 0; } }
