/* ============ Murojaah — shared design tokens ============ */
:root {
  --cream: #fbf8f1;
  --cream-2: #f4efe3;
  --surface: #ffffff;
  --ink: #10241f;
  --ink-soft: #38524b;
  --muted: #6b7f79;
  --line: #e6dfd0;
  --brand: #0d6b57;
  --brand-dark: #084d3f;
  --brand-soft: #e4f2ed;
  --gold: #bf9636;
  --gold-soft: #f7eed7;
  --danger: #b4442f;
  --ok: #1f7a5c;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 36, 31, .06), 0 4px 14px rgba(16, 36, 31, .05);
  --shadow: 0 12px 40px rgba(16, 36, 31, .1);
  --shadow-lg: 0 30px 70px rgba(16, 36, 31, .14);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --arabic: 'Scheherazade New', 'Amiri', 'Traditional Arabic', 'Times New Roman', serif;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, #0f7a63, var(--brand));
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 107, 87, .26);
}
.btn-primary:hover { background: linear-gradient(180deg, #10876e, var(--brand-dark)); box-shadow: 0 12px 28px rgba(13, 107, 87, .32); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: #d3c9b3; }

.btn-gold {
  background: linear-gradient(180deg, #d9b25a, var(--gold));
  color: #3a2a06;
  box-shadow: 0 8px 20px rgba(191, 150, 54, .3);
}
.btn-gold:hover { background: linear-gradient(180deg, #e2bd68, #b28a2c); }

.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.arabic {
  font-family: var(--arabic);
  direction: rtl;
  line-height: 2.05;
  font-feature-settings: "liga" 1, "calt" 1;
}

/* subtle islamic pattern */
.pattern {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(13, 107, 87, .05) 0 1.5px, transparent 1.6px),
    radial-gradient(circle at 0 0, rgba(191, 150, 54, .05) 0 1.5px, transparent 1.6px);
  background-size: 26px 26px, 26px 26px;
  background-position: 0 0, 13px 13px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
