/* Sanad / Al-Sanad — shared web styles.
   Palette + typography mirror the iOS app's SanadTheme so the site reads
   as the same brand. Deliberately minimal: one stylesheet, system fonts
   only (no @font-face loads — keeps the site fast on cellular). */

:root {
  --ground: #0E1B1F;
  --surface: #122026;
  --gold: #C9A35B;
  --gold-dim: #8E7340;
  --parchment: #F4ECD8;
  --text-primary: #E5E0D2;
  --text-secondary: #B8B0A2;
  --text-tertiary: #6E6960;
  --hairline: rgba(201, 163, 91, 0.18);
  --danger: #D17B5A;

  --serif: "New York", "Iowan Old Style", "Charter", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ground);
  color: var(--text-primary);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

/* Header: logo + nav */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
}

.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--parchment);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand .arabic {
  font-size: 26px;
  color: var(--gold);
  margin-right: 8px;
  vertical-align: -2px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 24px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
nav a:hover { color: var(--gold); }

/* Eyebrow chip (matches iOS chip type) */
.chip {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Display headline */
h1 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--parchment);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

h2 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin: 48px 0 16px;
}

h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--parchment);
  margin: 24px 0 8px;
}

p {
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.7;
}

p.lead {
  font-size: 19px;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 32px;
  line-height: 1.55;
}

ul {
  list-style: none;
  margin: 12px 0 24px 0;
}
ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--text-primary);
  line-height: 1.7;
}
ul li::before {
  content: "•";
  color: var(--gold);
  position: absolute;
  left: 0;
}

a { color: var(--gold); text-decoration: none; border-bottom: 1px dotted var(--gold-dim); transition: color 0.15s, border-color 0.15s; }
a:hover { color: var(--parchment); border-color: var(--parchment); }

/* Mihrab-card analogue for the landing CTA */
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 28px 28px 32px;
  margin: 28px 0;
}

.cta {
  display: inline-block;
  background: var(--gold);
  color: var(--ground);
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  transition: transform 0.12s, background 0.15s;
}
.cta:hover { transform: scale(0.98); background: #D5AF6C; }

.divider {
  height: 1px;
  background: var(--hairline);
  margin: 48px 0;
}

footer {
  padding-top: 48px;
  border-top: 1px solid var(--hairline);
  color: var(--text-tertiary);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer .arabic { color: var(--gold); font-family: var(--serif); font-size: 14px; }

/* Bismillah marker — used at top of privacy + the launch hero */
.bismillah {
  text-align: center;
  font-size: 22px;
  color: var(--parchment);
  margin: 0 0 32px 0;
  letter-spacing: 0.02em;
  /* The system Arabic font on macOS / iOS / Android renders this acceptably
     without loading a webfont — keeps the page lightweight. */
  font-family: "SF Arabic", "Geeza Pro", "Noto Naskh Arabic", serif;
}

/* Mobile */
@media (max-width: 600px) {
  .container { padding: 32px 18px 64px; }
  h1 { font-size: 30px; }
  p.lead { font-size: 17px; }
  nav a { margin-left: 14px; font-size: 13px; }
}
