:root {
  --bg: #EFEAE0;
  --bg-elevated: #F7F3E9;
  --fg: #1C1C1C;
  --muted: #8B7E66;
  --accent: #B8430F;
  --accent-soft: #E8C9B5;
  --border: #D4CDB8;
  --shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 24px rgba(28,28,28,0.06);
  --font-display: 'Fraunces', 'Reem Kufi', Georgia, serif;
  --font-body: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
body {
  background-image:
    radial-gradient(circle at 20% 10%, rgba(184, 67, 15, 0.05), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(45, 74, 43, 0.04), transparent 40%);
}
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 80px;
  position: relative;
}

.lang-switcher {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.2s;
  z-index: 10;
  display: inline-flex; align-items: center; gap: 6px;
  backdrop-filter: blur(8px);
}
.lang-switcher:hover {
  background: var(--fg);
  color: var(--bg-elevated);
  border-color: var(--fg);
  transform: translateY(-1px);
}
.lang-switcher svg { width: 14px; height: 14px; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  transition: color 0.15s;
}
.back-link:hover { color: var(--accent); }
.back-link svg { width: 14px; height: 14px; }
[dir="rtl"] .back-link svg { transform: scaleX(-1); }

header {
  text-align: center;
  padding: 16px 0 36px;
}
.brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 22px;
  display: inline-block;
  line-height: 1;
  position: relative;
}
.brand .brand-num {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
  margin: 0 1px;
}
.brand::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 1.5px;
  background: var(--accent);
  opacity: 0.6;
}
h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-top: 12px;
}
.updated {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.intro {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 32px;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.7;
  box-shadow: var(--shadow);
}
.intro .pill {
  display: inline-block;
  background: rgba(45, 74, 43, 0.1);
  color: #2D4A2B;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

main.policy section { margin-bottom: 36px; }
main.policy h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
main.policy h2 .num {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-body);
  min-width: 22px;
}
main.policy h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  margin-top: 16px;
  margin-bottom: 6px;
  color: var(--fg);
}
main.policy p {
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 12px;
  opacity: 0.92;
}
main.policy strong { font-weight: 600; color: var(--fg); opacity: 1; }
main.policy code {
  background: rgba(184, 67, 15, 0.08);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'IBM Plex Mono', monospace;
}
main.policy a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed rgba(184, 67, 15, 0.4);
  transition: border-color 0.15s;
}
main.policy a:hover { border-bottom-color: var(--accent); }
main.policy ul {
  list-style: none;
  margin: 8px 0 12px;
  padding: 0;
}
main.policy li {
  font-size: 15px;
  color: var(--fg);
  opacity: 0.92;
  padding-inline-start: 22px;
  position: relative;
  margin-bottom: 10px;
  line-height: 1.65;
}
main.policy li::before {
  content: '';
  position: absolute;
  inset-inline-start: 4px;
  top: 11px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.7;
}

.contact-card {
  margin-top: 28px;
  padding: 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-card .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
}
.contact-card .email {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed rgba(184, 67, 15, 0.4);
}
.contact-card .email:hover { border-bottom-style: solid; }

/* FAQ accordion */
.faq-list { margin-top: 8px; }
.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  padding: 16px 18px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--fg);
  letter-spacing: -0.005em;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: color 0.15s;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  color: var(--accent);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.25s;
  font-family: var(--font-body);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 18px 16px;
  font-size: 14.5px;
  color: var(--fg);
  opacity: 0.88;
  line-height: 1.7;
}
.faq-item .faq-body p { margin-bottom: 8px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

footer {
  margin-top: 50px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 2;
}
footer a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 6px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
footer a:hover { border-bottom-color: var(--muted); }

@media (max-width: 480px) {
  .lang-switcher { top: 16px; right: 16px; padding: 6px 12px; font-size: 12px; }
  header { padding: 56px 0 28px; }
}
