/* The app's own colours: ivory, lapis and turquoise by day; deep blue by night. */
:root {
  --background: #F7F4EC;
  --card: #EFEBE0;
  --text: #14213D;
  --muted: #535E78;
  --accent: #0B6E6E;
  --border: #DCD6C6;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #0B1220;
    --card: #131C31;
    --text: #E8ECF5;
    --muted: #A6B0C7;
    --accent: #5CCFC4;
    --border: #212C47;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.65 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-text-size-adjust: 100%;
}
.page { max-width: 680px; margin: 0 auto; padding: 24px 20px 64px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav { display: flex; gap: 18px; font-size: 15px; }
a { color: var(--accent); text-underline-offset: 3px; }
nav a { text-decoration: none; font-weight: 600; }
nav a[aria-current='page'] { color: var(--text); }
h1 { font-size: 30px; line-height: 1.25; margin: 36px 0 8px; }
h2 { font-size: 20px; line-height: 1.35; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
p, ul { margin: 0 0 14px; }
ul { padding-inline-start: 22px; }
li { margin-bottom: 8px; }
.lede { font-size: 19px; color: var(--muted); }
.note { color: var(--muted); font-size: 15px; }
.hero { text-align: center; padding: 48px 0 8px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; }
.hero h1 { margin-top: 20px; }
.hero .arabic { font-size: 22px; color: var(--muted); margin: 0 0 12px; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin: 20px 0; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }
footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--muted); }
