:root {
  --bg: #0A1110; --card: #0F1F1A; --gold: #D4A04C; --gold-light: #F4E4BC; --gold-muted: #8B6F2E;
  --text: #E8E8E8; --muted: #A0A0A0; --line: rgba(212,160,76,.28);
  --font-body: Inter, system-ui, sans-serif; --font-head: 'Cormorant Garamond', Georgia, serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: radial-gradient(70% 45% at 50% 0%, rgba(212,160,76,.13), transparent 70%), var(--bg);
  background-attachment: fixed; color: var(--text); font: 400 17px/1.7 var(--font-body); -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { line-height: 1.9; }
a { color: var(--gold); text-underline-offset: 3px; }
.wrap { width: min(760px, 100% - 32px); margin: 0 auto; padding: 40px 0 64px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-light); text-decoration: none; font: 600 19px/1 'Cormorant Garamond', Georgia, serif; letter-spacing: .02em; }
.star { width: 22px; height: 22px; fill: var(--gold); filter: drop-shadow(0 0 8px rgba(212,160,76,.45)); flex: none; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; margin-inline-start: 18px; }
nav a:hover { color: var(--gold-light); }
h1 { font: 600 clamp(32px, 6vw, 48px)/1.2 var(--font-head); color: var(--gold-light); margin-bottom: 10px; }
h2 { font: 600 24px/1.35 var(--font-head); color: var(--gold-light); margin: 36px 0 10px; }
p, ul, ol { margin-bottom: 14px; }
ul, ol { padding-inline-start: 22px; }
li { margin-bottom: 6px; }
.date { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.note { color: var(--muted); font-size: 14px; border-inline-start: 2px solid var(--line); padding-inline-start: 12px; margin-bottom: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; margin: 18px 0; }
.hero { text-align: center; padding: 36px 0 12px; }
.hero .star { width: 64px; height: 64px; margin-bottom: 18px; }
.hero p.lead { opacity: .9; font-size: 19px; max-width: 560px; margin: 0 auto 26px; }
.cta { display: inline-block; background: var(--gold); color: #1a1408; text-decoration: none; font-weight: 600; padding: 14px 30px; border-radius: 999px; }
.cta:hover { filter: brightness(1.06); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin: 26px 0; }
.grid .card { margin: 0; }
.grid h3 { font: 600 17px/1.35 var(--font-body); color: var(--gold-light); margin-bottom: 6px; }
.grid p { color: var(--muted); font-size: 15px; margin: 0; }
.ornament { display: flex; align-items: center; gap: 14px; margin: 40px 0 8px; color: var(--gold); letter-spacing: .25em; font-size: 13px; text-transform: uppercase; }
/* Letter-spacing breaks joined scripts (Arabic, Urdu) and Indic conjuncts (Hindi, Bengali). */
[dir="rtl"] .ornament, :lang(hi) .ornament, :lang(bn) .ornament { letter-spacing: 0; font-size: 15px; }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.quote { text-align: center; }
.quote .ar { font: 26px/1.8 'Amiri', serif; color: var(--gold-light); direction: rtl; }
.quote .src { color: var(--gold-muted); font-size: 14px; }
.small { color: var(--muted); font-size: 15px; text-align: center; margin-top: 28px; }
footer { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--muted); }
.langs { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.langs a { text-decoration: none; }
.langs a[aria-current] { color: var(--gold-light); }
code { color: var(--gold-light); direction: ltr; unicode-bidi: embed; }
