/* AlaBal privacy policy — static page, no JS. Brand tokens from AlaBal DESIGN.md. */
:root {
  --primary: #14424c;
  --primary-container: #e3ecee;
  --accent: #d55f25;
  --accent-text: #b34c1d;
  --bg: #fefdf9;
  --card: #ffffff;
  --text: #14424c;
  --muted: #4f757f;
  --border: #e3ecee;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #fefdf9;
    --primary-container: #16414a;
    --accent-text: #f7a878;
    --bg: #0d2f36;
    --card: #16414a;
    --text: #fefdf9;
    --muted: #a9c2c7;
    --border: #22535d;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

:lang(ar) body,
body:lang(ar) {
  font-family: "Cairo", system-ui, sans-serif;
  line-height: 1.8;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
}

h1 {
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 40px 0 8px;
}

:lang(ar) h1 {
  letter-spacing: 0;
}

h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 40px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.lead + h2 {
  border-top: 0;
  padding-top: 0;
}

p,
ul {
  margin: 0 0 14px;
}

ul {
  padding-inline-start: 22px;
}

li + li {
  margin-top: 6px;
}

a {
  color: var(--accent-text);
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.lead {
  font-size: 18px;
  background: var(--primary-container);
  border-radius: 18px;
  border-inline-start: 6px solid var(--accent);
  padding: 18px 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  transition: filter 0.15s;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 22px;
}

.button:hover {
  filter: brightness(1.08);
}

@media (prefers-color-scheme: dark) {
  .button {
    color: #0d2f36;
    background: #f3884e;
  }
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

@media print {
  .lang,
  .button {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
