:root {
  --bg: #faf7f1; --surface: #ffffff; --text: #2a241c; --muted: #7a6f60; --line: #e7dfd2;
  --accent: #b07a1f; --ink: #1a150a; --brick: #8a3b20; --brick-line: #7d3d24; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16130f; --surface: #201b16; --text: #efe6d6; --muted: #a69a8a; --line: #3a3229;
    --accent: #d9a441; --ink: #efe6d6; --brick: #e0916b; --brick-line: #c76a45; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: "Inter", "Noto Sans Arabic", system-ui, sans-serif; line-height: 1.6; }
a { color: var(--accent); }
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 16px 56px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand b { font-size: 18px; }
.stripe { display: flex; width: 64px; height: 4px; border-radius: 2px; overflow: hidden; margin-top: 4px; }
.stripe i { flex: 1; background: #d4a729; } .stripe i:nth-child(even) { background: #1f4fa1; }
h1 { font-size: 28px; line-height: 1.25; margin: 32px 0 4px; }
h2 { font-size: 18px; margin: 28px 0 6px; }
.muted { color: var(--muted); font-size: 14px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
[dir="rtl"] { font-family: "Noto Sans Arabic", "Inter", system-ui, sans-serif; }
footer { margin-top: 48px; font-size: 13px; color: var(--muted); }

/* Home page */
.hero { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 16px; }
.hero .name { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-family: "Marcellus", serif; font-size: clamp(20px, 6vw, 30px); letter-spacing: .2em; color: var(--ink); white-space: nowrap; }
.hero .name::before, .hero .name::after { content: ""; width: 30px; height: 2px; background: var(--brick-line); flex-shrink: 0; }
.hero .name span { margin-inline-end: -.2em; }
.hero .tag { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--brick); direction: ltr; }
.hero .tag .ar { font-family: "Aref Ruqaa", serif; font-weight: 700; font-size: 24px; line-height: 1; position: relative; top: -2px; }
.hero .tag .en { font-family: "Marcellus", serif; font-size: 13px; letter-spacing: .24em; }
.hero p { max-width: 460px; margin: 28px 0 8px; }
.hero .links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 18px; font-size: 14px; }
