/* islamquiz.online: the app's own colours and type (see the Islam Quiz design system). */
@font-face { font-family: "Readex Pro"; src: url("fonts/ReadexPro-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Readex Pro"; src: url("fonts/ReadexPro-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Readex Pro"; src: url("fonts/ReadexPro-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg-top: #0a4736;
  --bg-bottom: #051a21;
  --ivory: #faf7eb;
  --ivory-75: rgba(250, 247, 235, 0.75);
  --ivory-12: rgba(250, 247, 235, 0.12);
  --gold: #ffc73d;
  --emerald: #26a673;
}

* { box-sizing: border-box; }
html { background: var(--bg-bottom); }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(var(--bg-top), var(--bg-bottom)) fixed;
  color: var(--ivory);
  font: 400 17px/1.6 "Readex Pro", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: var(--bg-bottom); }

main { max-width: 680px; margin: 0 auto; padding: 56px 20px 72px; }
header.site { max-width: 680px; margin: 0 auto; padding: 24px 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
header.site a.name { color: var(--ivory); text-decoration: none; font-weight: 700; font-size: 18px; }
nav { display: flex; gap: 18px; }

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--ivory); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1 { font-weight: 700; font-size: clamp(36px, 8vw, 56px); line-height: 1.05; margin: 0 0 12px; }
h2 { font-weight: 700; font-size: 22px; line-height: 1.3; margin: 40px 0 8px; }
h3 { font-weight: 600; font-size: 18px; margin: 24px 0 4px; }
p, li { color: var(--ivory-75); }
strong { color: var(--ivory); font-weight: 600; }
ul { padding-left: 22px; }

.tagline { letter-spacing: 2.5px; font-weight: 700; font-size: 13px; color: var(--ivory-75); margin: 0 0 32px; }
.lead { font-size: 20px; color: var(--ivory); }
.note { padding: 16px 18px; border-radius: 14px; background: var(--ivory-12); }
.updated { font-size: 14px; }

footer.site { max-width: 680px; margin: 0 auto; padding: 0 20px 40px; font-size: 14px; color: var(--ivory-75); display: flex; gap: 18px; flex-wrap: wrap; }
