/* Legal pages (privacy.html, terms.html) — same palette and fonts as the main site */
@font-face {
  font-family: "Amiri";
  src: url("/fonts/amiri-arabic-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Amiri";
  src: url("/fonts/amiri-arabic-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f8f1e4;
  color: #251a22;
  font: 17px/1.75 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
[lang="ar"] {
  font-family: "Amiri", Georgia, serif;
  font-size: 1.08em;
}
a {
  color: #94651a;
}
[dir="ltr"] {
  unicode-bidi: isolate;
}
.lg-top {
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.lg-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a3413;
  font-weight: 700;
  text-decoration: none;
}
.lg-lang {
  display: flex;
  gap: 6px;
}
.lg-lang a {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #e6dcc0;
  text-decoration: none;
  color: #4a3413;
  background: #fffaf1;
}
.lg-lang a.on {
  background: #e0b043;
  border-color: #e0b043;
  color: #251a22;
  font-weight: 700;
}
.lg-card {
  max-width: 1000px;
  margin: 0 auto 36px;
  padding: 0 16px;
}
.lg-doc {
  background: #fffaf1;
  border: 1px solid #e6dcc0;
  border-radius: 18px;
  padding: clamp(22px, 5vw, 54px);
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(74, 52, 19, 0.08);
}
.lg-doc h1 {
  font-family: Georgia, "Times New Roman", "Amiri", serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
  margin: 0 0 4px;
  color: #4a3413;
}
.lg-doc[lang="ar"] h1 {
  font-family: "Amiri", Georgia, serif;
}
.lg-doc h2 {
  font-size: 1.12em;
  margin: 28px 0 6px;
  color: #7d5a10;
}
.lg-meta {
  color: #5e5560;
  margin-top: 0;
}
.lg-doc ul {
  padding-inline-start: 22px;
}
.lg-doc li {
  margin-bottom: 6px;
}
.lg-foot {
  background: #171103;
  color: #cdb97a;
  text-align: center;
  padding: 24px 16px 30px;
  font-size: 14.5px;
}
.lg-foot a {
  color: #e0b043;
}
