/* Shared styling for the static help/legal pages (/faq /privacy /terms
 * /refund). Brand palette mirrors index.html's splash + the game's sheets:
 * bg #6B83BF, cream #eaebed, gold #FAA62D, navy #2b3a67. Yaseer carries the
 * headings (same face as the splash wordmark); body text stays on the
 * system stack for long-form readability. Zero JS, self-contained. */

@font-face {
  font-family: "Yaseer";
  src: url("/fonts/Yaseer-Regular.woff2") format("woff2");
  font-display: swap;
  /* Arabic blocks only: Yaseer's digit glyphs are decorative (a "10."
     heading renders like «١٥»), so digits and punctuation fall back to
     the system stack and stay Latin, matching the body text. */
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

:root {
  --brand: #6b83bf;
  --navy: #2b3a67;
  --cream: #eaebed;
  --gold: #faa62d;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--brand);
  color: var(--cream);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.8;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

header.site a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 20px;
  color: var(--cream);
  text-decoration: none;
  font-family: "Yaseer", "Segoe UI", system-ui, sans-serif;
  font-size: 1.35rem;
}
header.site img { width: 44px; height: 44px; }

h1 {
  margin: 0 0 16px;
  color: #fff;
  font-family: "Yaseer", "Segoe UI", system-ui, sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
}

section {
  margin: 12px 0;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

h2 {
  margin: 0 0 6px;
  color: var(--gold);
  font-family: "Yaseer", "Segoe UI", system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
}

h3 {
  margin: 14px 0 2px;
  color: #fff;
  font-size: 0.98rem;
}
h3:first-of-type { margin-top: 4px; }

p, li {
  margin: 6px 0;
  font-size: 0.95rem;
}

ul { margin: 6px 0; padding-inline-start: 20px; }

/* Keep inline Latin runs (the company name) unsplit across lines. */
span[dir="ltr"] { white-space: nowrap; }

a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
a:hover { color: var(--gold); }

footer.site {
  margin-top: 28px;
  color: rgba(234, 235, 237, 0.75);
  font-size: 0.8rem;
  text-align: center;
}
footer.site nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-bottom: 10px;
}
footer.site a { color: rgba(234, 235, 237, 0.9); }
