/* Ummah Privacy Policy — static legal document styles */

:root {
  --green-deep: #0d2118;
  --green: #1a3d2e;
  --green-mid: #2a5a42;
  --cream: #fbf7ef;
  --cream-card: #fffdf8;
  --gold: #b8953a;
  --gold-soft: #d4b56a;
  --text: #1a1a16;
  --text-muted: #5c5a52;
  --border: #e5ddd0;
  --max: 42rem;
  --pad: 1.25rem;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Tahoma", "Arial", "Noto Naskh Arabic", "Amiri", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

a {
  color: var(--green-mid);
  text-underline-offset: 0.15em;
}

a:hover,
a:focus-visible {
  color: var(--gold);
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  background: var(--green-deep);
  color: var(--cream);
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: var(--green-deep);
  color: var(--cream);
  padding: 1.75rem var(--pad) 2rem;
  border-bottom: 3px solid var(--gold);
}

.site-header__inner {
  max-width: var(--max);
  margin-inline: auto;
}

.brand {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--gold-soft);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.site-header h1 {
  margin: 0;
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.meta {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: rgba(251, 247, 239, 0.78);
}

main {
  max-width: var(--max);
  margin-inline: auto;
  padding: 1.75rem var(--pad) 3rem;
}

.intro {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--gold);
  border-radius: 8px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 2rem;
}

.intro p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 700;
  line-height: 1.4;
}

p,
li {
  font-size: 1rem;
  color: var(--text);
}

p {
  margin: 0 0 0.85rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0.4rem 0 0.85rem;
  padding-inline-start: 1.35rem;
}

li {
  margin-bottom: 0.45rem;
}

li::marker {
  color: var(--gold);
}

.note {
  background: #f5f0e4;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.site-footer {
  background: var(--green-deep);
  color: rgba(251, 247, 239, 0.85);
  padding: 1.5rem var(--pad);
  font-size: 0.88rem;
  text-align: center;
  border-top: 2px solid var(--gold);
}

.site-footer a {
  color: var(--gold-soft);
}

.site-footer p {
  margin: 0.35rem 0;
  color: inherit;
  font-size: inherit;
}

@media (min-width: 768px) {
  :root {
    --pad: 2rem;
  }

  main {
    padding-top: 2.25rem;
  }

  h2 {
    font-size: 1.28rem;
  }
}

@media (max-width: 360px) {
  body {
    line-height: 1.7;
  }

  .site-header h1 {
    font-size: 1.45rem;
  }
}
