/* islam-app.co.uk — static site. Same palette as the app (src/app/styles/_app-tokens.scss). */
:root {
  --bg: #0f1011;
  --surface: #1a1c1f;
  --surface-2: #202326;
  --border: rgba(255, 255, 255, 0.07);
  --text: #f4f2ed;
  --text-2: #e8e6e1;
  --muted: #9a9892;
  --green: #7ab368;
  --green-deep: #2f6d1f;
  --green-tint: rgba(122, 179, 104, 0.12);
  --warm: #e89968;
  --radius: 16px;
  --max: 1040px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav { display: flex; gap: 20px; font-size: 14px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 520px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(122, 179, 104, 0.22), transparent 70%);
}
.hero > .wrap { position: relative; }
.hero .mark { width: 88px; height: 88px; margin: 0 auto 28px; }
.salam { font-size: 30px; color: var(--green); margin: 0 0 10px; direction: rtl; }
.hero h1 { margin: 0 0 16px; color: var(--text); font-size: clamp(32px, 6vw, 52px); line-height: 1.12; letter-spacing: -0.5px; }
.hero p.lede { margin: 0 auto 32px; max-width: 620px; font-size: 18px; color: var(--muted); }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid var(--border);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.primary { background: var(--green-deep); color: var(--text); border-color: transparent; }
.btn.ghost { background: var(--surface); color: var(--text); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* Sections */
section { padding: 56px 0; }
.section-title { color: var(--text); font-size: 26px; margin: 0 0 8px; }
.section-sub { color: var(--muted); margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; color: var(--text); font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--green-tint); color: var(--green);
  display: grid; place-items: center; margin-bottom: 14px; font-size: 19px;
}
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .6px; color: var(--green);
  border: 1px solid rgba(122,179,104,.4); border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; }
.note { margin-top: 24px; padding: 16px 18px; border-radius: 12px; font-size: 14px; color: var(--muted);
  background: rgba(232, 153, 104, 0.06); border: 1px solid rgba(232, 153, 104, 0.2); }

/* Legal pages */
.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { color: var(--text); font-size: 34px; margin: 0 0 6px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; font-size: 14px; }
.doc h2 { color: var(--text); font-size: 20px; margin: 36px 0 10px; }
.doc h3 { color: var(--text); font-size: 16px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--border); }
.doc th { color: var(--text); background: var(--surface); }
.doc .toc { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 8px; }
.doc .toc ol { margin: 6px 0 0; padding-left: 20px; columns: 2; column-gap: 24px; font-size: 14px; }
@media (max-width: 560px) { .doc .toc ol { columns: 1; } .nav { gap: 14px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }
