/* Islamhanem — legal pages stylesheet
   Brand palette: deep green #0A1F14 + gold #C9A96E + cream #F5F0E1 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #0A1F14;
  --bg-medium: #122B1C;
  --bg-card: #163224;
  --gold: #C9A96E;
  --gold-light: #D4B97A;
  --gold-dark: #A88B52;
  --cream: #F5F0E1;
  --muted: #8BA89A;
  --separator: rgba(201, 169, 110, 0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg-dark);
  color: var(--cream);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 120px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--separator);
  margin-bottom: 40px;
}

header.site img.logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--separator);
}

header.site .brand {
  display: flex;
  flex-direction: column;
}

header.site .brand .name {
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.3px;
}

header.site .brand .tagline {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.lang-switch {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.lang-switch a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid var(--separator);
  border-radius: 6px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: var(--gold);
  border-color: var(--gold);
}

h1 {
  font-size: 28px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--separator);
}

h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
  margin-top: 20px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 14px;
  color: var(--cream);
}

ul, ol {
  margin-bottom: 14px;
  padding-left: 24px;
  color: var(--cream);
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 110, 0.3);
  transition: border-color 0.15s ease;
}

a:hover {
  border-color: var(--gold);
}

strong {
  color: var(--cream);
  font-weight: 600;
}

.callout {
  background: rgba(201, 169, 110, 0.06);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 4px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--cream);
}

footer.site {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--separator);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer.site a {
  color: var(--muted);
  border-bottom: none;
}

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

@media (max-width: 540px) {
  .page { padding: 32px 18px 80px; }
  header.site { flex-wrap: wrap; }
  .lang-switch { margin-left: 0; width: 100%; }
  h1 { font-size: 24px; }
}
