/* Ayaah website: same palette and type as the app (Poppins + Instrument Serif, warm dawn colours). */
:root {
  --bg-top: #fbe2d6;
  --bg-bottom: #fef5e1;
  --surface: #fffaf4;
  --line: #f0e2d3;
  --ink: #2b211a;
  --ink-soft: #5c5048;
  --muted: #a2958b;
  --amber: #f3a73c;
  --amber-deep: #e47f27;
  --amber-light: #ffe3b5;
  --brown: #6e3a10;
  --night: #2a1a12;
  --radius: 24px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-top) 0%, #fdefe4 45%, var(--bg-bottom) 100%) fixed;
  color: var(--ink);
  font: 16px/1.65 "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--amber-deep); text-underline-offset: 3px; }
a:hover { color: var(--brown); }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ---------- header / footer */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 14px rgba(110, 58, 16, .18); }
.brand span { font-family: "Instrument Serif", Georgia, serif; font-size: 28px; line-height: 1; }
.nav { display: flex; gap: 18px; font-size: 14px; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--amber-deep); }

.site-footer { margin-top: 64px; padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--amber-deep); }

/* ---------- type */
.overline { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-deep); }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(42px, 9vw, 64px); margin: 8px 0 12px; }
h1 .soft { color: var(--muted); }
h2 { font-size: 30px; margin: 0 0 6px; }
h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.lead { font-size: 17px; color: var(--ink-soft); margin: 0 0 8px; }
.muted { color: var(--muted); font-size: 14px; }
.arabic { font-family: "Amiri", serif; direction: rtl; }

/* ---------- cards */
.card {
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(110, 58, 16, .07);
  padding: 22px 24px;
  margin: 16px 0;
}
.card p { margin: 6px 0; color: var(--ink-soft); }
.card ol, .card ul { margin: 6px 0; padding-left: 22px; color: var(--ink-soft); }
.card li { margin: 6px 0; }

/* legal documents */
.doc section { margin: 26px 0; }
.doc section p { color: var(--ink-soft); margin: 4px 0; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font: 500 15px "Poppins", sans-serif; text-decoration: none; cursor: pointer; border: 0;
}
.btn-primary { background: linear-gradient(90deg, var(--amber), var(--amber-deep)); color: #fff; box-shadow: 0 10px 24px rgba(228, 127, 39, .3); }
.btn-primary:hover { color: #fff; filter: brightness(1.04); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--amber-deep); }

/* ---------- home */
.hero { text-align: center; padding: 28px 0 8px; }
.hero .app-icon { width: 128px; height: 128px; border-radius: 30px; box-shadow: 0 20px 50px rgba(228, 127, 39, .35); }
.hero .bismillah { font-size: 26px; color: var(--brown); margin: 26px 0 0; }
.hero p.lead { max-width: 520px; margin: 0 auto; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0 6px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px;
  background: var(--night); color: #fff; text-decoration: none; min-width: 180px;
}
.store small { display: block; font-size: 11px; opacity: .7; line-height: 1.2; }
.store b { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
.store svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.store.soon { opacity: .9; cursor: default; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 30px; }
.features .card { margin: 0; }
.features .emoji { font-size: 28px; line-height: 1; }

.quote { text-align: center; padding: 30px 24px; }
.quote .arabic { font-size: 28px; color: var(--brown); line-height: 1.9; }
.quote p { font-family: "Instrument Serif", Georgia, serif; font-size: 24px; color: var(--ink); margin: 6px 0; }

/* ---------- small screens */
@media (max-width: 560px) {
  /* compact menu on phones; the logo is the way home */
  .nav { gap: 12px; font-size: 13px; }
  .nav a:first-child { display: none; }
  .brand span { font-size: 24px; }
  .brand img { width: 32px; height: 32px; }
  .card { padding: 18px; }
  h2 { font-size: 26px; }
}
