@font-face {
  font-family: "Lateef";
  src: url("fonts/Lateef-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Scheherazade New";
  src: url("fonts/ScheherazadeNew-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --bg-lift: #0c0910;
  --row-a: #040306;
  --row-b: #100b18;
  --line: #201a29;
  --text: #efecf4;
  --muted: #8f8899;
  --accent: #a78bfa;
  --accent-strong: #8b5cf6;
  --arab-size: 34px;
  --translation-size: 22px;
  --tafsir-size: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0;
}

html {
  color-scheme: dark;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Lateef", serif;
  font-size: 22px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  outline: 0;
  min-width: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent-strong);
  color: #000;
}

.container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 25px;
  line-height: 1;
}

.brand-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.brand-mark {
  color: var(--text);
}

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: -6px;
  color: var(--text);
}

.menu-button .icon {
  width: 25px;
  height: 25px;
}

.menu-button:hover,
.menu-button[aria-expanded="true"] {
  color: var(--accent);
}

.accent {
  color: var(--accent);
}

@media (min-width: 900px) {
  .container {
    max-width: 960px;
    padding: 0 32px;
  }
}
