/* MuslimTm — site styles */
:root {
  --ink: #031d15;
  --em-900: #053b2b;
  --em-800: #07523b;
  --em-700: #0a6b4d;
  --em-600: #0c8a62;
  --em-500: #12a577;
  --em-300: #5fd3a8;
  --em-100: #d7f3e8;
  --em-50: #edf9f4;
  --gold: #d4a64a;
  --gold-light: #f3d792;
  --gold-dark: #8f6a1d;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --border: #e3e9e6;
  --text: #0f1a16;
  --muted: #56645f;
  --radius: 24px;
  --max: 1160px;
  --shadow: 0 1px 2px rgba(3, 29, 21, .04), 0 12px 32px -12px rgba(3, 29, 21, .14);
  --font: "Onest", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23d4a64a' stroke-width='1'%3E%3Crect x='23' y='23' width='42' height='42'/%3E%3Crect x='23' y='23' width='42' height='42' transform='rotate(45 44 44)'/%3E%3Ccircle cx='44' cy='44' r='9'/%3E%3Cpath d='M0 0l23 23M88 0L65 23M0 88l23-23M88 88L65 65M44 0v14M44 88V74M0 44h14M88 44H74'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--em-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--em-900); }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
p { margin: 0; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.arabic { font-family: "Amiri", "Noto Naskh Arabic", serif; direction: rtl; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header { position: fixed; inset: 16px 0 auto; z-index: 50; pointer-events: none; }
.header-bar {
  pointer-events: auto;
  max-width: var(--max);
  margin: 0 auto;
  width: calc(100% - 32px);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 10px 10px 16px;
  border-radius: 999px;
  background: rgba(3, 29, 21, .55);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background .3s, box-shadow .3s;
}
.scrolled .header-bar { background: rgba(3, 29, 21, .82); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -0.02em; }
.brand:hover { color: #fff; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: rgba(255, 255, 255, .75); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .nav-legal { color: var(--gold-light); }
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink) !important; font-weight: 700; font-size: 14.5px; text-decoration: none;
  box-shadow: 0 8px 24px -8px rgba(212, 166, 74, .7);
  transition: transform .2s, box-shadow .2s; white-space: nowrap;
}
.btn-pill:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(212, 166, 74, .85); }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }

/* ── Dark surfaces & pattern ────────────────────────────────────────────── */
.dark { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--pattern); opacity: .13;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); pointer-events: none; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 150px 0 110px; }
.hero .glow-1 { width: 620px; height: 620px; right: -120px; top: -80px; background: rgba(18, 165, 119, .38); }
.hero .glow-2 { width: 420px; height: 420px; left: -160px; bottom: -160px; background: rgba(212, 166, 74, .2); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px; color: rgba(255, 255, 255, .85); margin-bottom: 26px;
}
.badge b { background: var(--em-500); color: #fff; font-weight: 600; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; }
.bismillah { font-size: 30px; color: var(--gold-light); opacity: .9; margin-bottom: 14px; text-align: left; line-height: 1.4; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; margin-bottom: 24px; }
.gradient-text { background: linear-gradient(100deg, var(--gold-light) 0%, var(--gold) 60%, #e9c478 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 19px; color: rgba(255, 255, 255, .72); max-width: 560px; margin-bottom: 36px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 22px 11px 16px; border-radius: 16px;
  background: #fff; color: var(--ink); text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
}
.store:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .6); }
.store svg { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 17px; }
.store small { font-weight: 500; font-size: 11.5px; color: var(--muted); }
.store.ghost { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .16); box-shadow: none; }
.store.ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.store.ghost small { color: rgba(255, 255, 255, .6); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; padding: 0; list-style: none; font-size: 15px; color: rgba(255, 255, 255, .7); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; color: var(--em-300); }

/* Phone mockup */
.phone-wrap { position: relative; justify-self: center; }
.phone {
  width: 300px; border-radius: 48px; padding: 10px;
  background: linear-gradient(145deg, #2a3632, #0c1310);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 80px -10px rgba(18, 165, 119, .35);
  transform: rotate(-3deg);
}
.screen { border-radius: 39px; overflow: hidden; background: #f4f6f5; color: var(--text); font-size: 13px; position: relative; }
.screen-top { background: linear-gradient(160deg, var(--em-800), var(--em-900)); color: #fff; padding: 14px 20px 20px; }
.status { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; margin-bottom: 14px; }
.status i { width: 80px; height: 22px; background: #000; border-radius: 999px; margin-top: -4px; }
.city { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.city svg { width: 14px; height: 14px; color: var(--gold); }
.date { color: rgba(255, 255, 255, .6); font-size: 12px; margin-bottom: 14px; }
.next {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: flex-end;
}
.next small { color: rgba(255, 255, 255, .6); font-size: 11px; display: block; }
.next strong { font-size: 24px; font-weight: 700; display: block; letter-spacing: -0.02em; }
.next .countdown { text-align: right; color: var(--gold-light); font-weight: 600; font-size: 13px; }
.next .countdown small { color: rgba(255, 255, 255, .55); }
.prayers { list-style: none; margin: 0; padding: 12px 12px 6px; display: grid; gap: 6px; }
.prayers li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px; font-weight: 500; }
.prayers li time { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.prayers .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.prayers .done .dot { background: var(--em-500); }
.prayers .done { color: var(--muted); }
.prayers .now { background: var(--em-50); outline: 1.5px solid var(--em-500); color: var(--em-800); }
.prayers .now .dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(212, 166, 74, .25); }
.prayers .tag { font-size: 10px; font-weight: 700; background: var(--em-500); color: #fff; border-radius: 6px; padding: 2px 6px; }
.tabbar { display: flex; justify-content: space-around; padding: 10px 16px 16px; }
.tabbar span { width: 22px; height: 22px; border-radius: 7px; background: var(--border); }
.tabbar span:first-child { background: var(--em-600); }

.float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .96); color: var(--text);
  border-radius: 20px; padding: 12px 16px 12px 12px;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .6);
  font-size: 13px; line-height: 1.3; white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-size: 14px; }
.float small { color: var(--muted); }
.float-1 { left: -110px; top: 34%; }
.float-2 { right: -70px; bottom: 14%; animation-delay: -3s; }
.float .ring { width: 46px; height: 46px; }
.float .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--em-50); color: var(--em-600); }
.float .ico svg { width: 22px; height: 22px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── Stats strip ────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -48px; position: relative; z-index: 2; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.stats div { padding: 26px 24px; text-align: center; }
.stats div + div { border-left: 1px solid var(--border); }
.stats strong { display: block; font-size: 34px; font-weight: 800; color: var(--em-800); letter-spacing: -0.03em; line-height: 1.1; }
.stats span { color: var(--muted); font-size: 14.5px; }

/* ── Sections ───────────────────────────────────────────────────────────── */
section { padding: 110px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--em-600); font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }
.dark .eyebrow { color: var(--em-300); }
h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; margin-bottom: 18px; }
.lead { font-size: 18.5px; color: var(--muted); }
.dark .lead { color: rgba(255, 255, 255, .68); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pillars { display: grid; gap: 14px; }
.pillar { display: flex; gap: 18px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; transition: transform .25s, box-shadow .25s; }
.pillar:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.pillar h3 { font-size: 18px; margin-bottom: 4px; letter-spacing: -0.01em; }
.pillar p { color: var(--muted); font-size: 15.5px; }
.icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--em-50); color: var(--em-600); }
.icon svg { width: 24px; height: 24px; }
.icon.gold { background: #fbf2de; color: var(--gold-dark); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  position: relative; overflow: hidden;
  grid-column: span 2; display: flex; flex-direction: column; gap: 14px;
  padding: 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile h3 { font-size: 22px; font-weight: 700; }
.tile p { color: var(--muted); font-size: 15.5px; }
.tile .visual { margin-top: auto; padding-top: 10px; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.tile.feature-dark { background: linear-gradient(150deg, var(--em-800), var(--ink)); color: #fff; border-color: transparent; }
.tile.feature-dark p { color: rgba(255, 255, 255, .68); }
.tile.feature-dark .icon { background: rgba(255, 255, 255, .08); color: var(--gold-light); }
.tile.feature-dark::after { content: ""; position: absolute; inset: 0; background-image: var(--pattern); opacity: .08; z-index: 0; pointer-events: none; }
.tile > * { position: relative; z-index: 1; }

.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.timeline div { border-radius: 14px; padding: 12px 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); text-align: center; }
.timeline small { display: block; font-size: 12px; color: rgba(255, 255, 255, .55); }
.timeline b { font-size: 16px; font-variant-numeric: tabular-nums; }
.timeline .on { background: linear-gradient(160deg, var(--gold-light), var(--gold)); color: var(--ink); border-color: transparent; }
.timeline .on small { color: rgba(3, 29, 21, .7); }

.quran-visual { font-size: 30px; line-height: 1.7; color: var(--em-800); text-align: center; padding: 18px; border-radius: 18px; background: var(--em-50); }
.tasbih-visual { display: flex; align-items: center; gap: 16px; }
.tasbih-visual svg { width: 84px; height: 84px; }
.tasbih-visual b { font-size: 15px; display: block; }
.tasbih-visual span { color: var(--muted); font-size: 14px; }
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 76px 1fr 44px; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.bar span:last-child { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar i { height: 8px; border-radius: 99px; background: var(--em-50); overflow: hidden; display: block; }
.bar i::after { content: ""; display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--em-500), var(--em-300)); }
.days { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.days i { aspect-ratio: 1; border-radius: 6px; background: var(--em-50); }
.days i.f { background: var(--em-500); }
.days i.q { background: var(--gold); }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--em-500); vertical-align: -1px; }
.legend span.q::before { background: var(--gold); }
.zakat-num { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.zakat-visual span { color: var(--muted); font-size: 14px; }

/* ── Data / security ────────────────────────────────────────────────────── */
.data { padding: 120px 0; }
.data .glow-1 { width: 560px; height: 560px; left: 50%; top: 10%; transform: translateX(-50%); background: rgba(18, 165, 119, .25); }
.flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; max-width: 860px; margin: 0 auto 56px; }
.node { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 22px; display: flex; gap: 16px; align-items: center; backdrop-filter: blur(6px); }
.node .icon { background: rgba(255, 255, 255, .08); color: var(--em-300); }
.node b { display: block; font-size: 17px; }
.node small { color: rgba(255, 255, 255, .6); font-size: 13.5px; }
.node code { color: var(--gold-light); background: rgba(212, 166, 74, .12); }
.link { position: relative; width: 150px; height: 2px; background: repeating-linear-gradient(90deg, var(--em-300) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: flow 1.2s linear infinite; }
.link span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 1px solid rgba(255, 255, 255, .16); color: var(--gold-light); }
.link span svg { width: 18px; height: 18px; }
@keyframes flow { to { background-position: 28px 0; } }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust > div { padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.trust h3 { font-size: 18px; margin: 16px 0 8px; letter-spacing: -0.01em; }
.trust p { color: rgba(255, 255, 255, .66); font-size: 15.5px; }
.trust .icon { background: rgba(95, 211, 168, .12); color: var(--em-300); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; padding: 2px 7px; border-radius: 7px; background: var(--em-50); color: var(--em-800); }
.dark code { background: rgba(255, 255, 255, .1); color: var(--gold-light); }

.delete { margin-top: 18px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; padding: 36px; border-radius: 26px; background: linear-gradient(135deg, rgba(212, 166, 74, .14), rgba(212, 166, 74, .04)); border: 1px solid rgba(212, 166, 74, .3); }
.delete h3 { font-size: 26px; margin-bottom: 12px; }
.delete > div > p { color: rgba(255, 255, 255, .7); font-size: 15.5px; }
.delete a { color: var(--gold-light); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: rgba(255, 255, 255, .85); }
.steps li::before { content: counter(s); flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--gold); color: var(--ink); }
.steps b { color: #fff; }

/* ── CTA / contacts ─────────────────────────────────────────────────────── */
.cta { border-radius: 32px; padding: 64px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.cta .glow-1 { width: 400px; height: 400px; right: -100px; top: -150px; background: rgba(18, 165, 119, .45); }
.cta h2 { margin-bottom: 14px; }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; transition: background .2s; }
.contact-item:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.contact-item .icon { width: 42px; height: 42px; background: rgba(255, 255, 255, .08); color: var(--gold-light); }
.contact-item small { display: block; color: rgba(255, 255, 255, .55); font-size: 13px; }
.contact-item b { font-weight: 600; word-break: break-all; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { padding: 56px 0 40px; color: var(--muted); font-size: 15px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.site-footer .brand { color: var(--text); margin-bottom: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.footer-links a { color: var(--text); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--em-600); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 14px; }

/* ── Legal pages ────────────────────────────────────────────────────────── */
.legal-hero { padding: 150px 0 80px; }
.legal-hero .glow-1 { width: 500px; height: 500px; right: -100px; top: -200px; background: rgba(18, 165, 119, .35); }
.legal-hero h1 { font-size: clamp(36px, 5.5vw, 60px); font-weight: 800; margin: 18px 0 18px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .7); text-decoration: none; font-size: 15px; font-weight: 500; }
.back:hover { color: #fff; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .8); }
.chip b { color: var(--gold-light); font-weight: 600; }
.legal { padding: 64px 0 100px; }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 110px; font-size: 14.5px; }
.toc p { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.active { color: var(--em-700); border-left-color: var(--em-500); }
.doc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(28px, 5vw, 60px); max-width: 780px; }
.doc h2 { font-size: 24px; font-weight: 700; margin: 44px 0 14px; padding-top: 4px; letter-spacing: -0.015em; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: #2b3833; font-size: 16.5px; line-height: 1.75; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 0; list-style: none; display: grid; gap: 10px; margin: 14px 0; }
.doc ul li { position: relative; padding-left: 26px; }
.doc ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.doc .callout { margin: 18px 0; padding: 20px 22px; border-radius: 16px; background: var(--em-50); border: 1px solid var(--em-100); }
.doc .callout p { color: var(--em-900); }

/* ── Reveal ─────────────────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float, .link { animation: none; }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .float-1 { left: -60px; }
  .float-2 { right: -30px; }
  .nav a:not(.nav-legal):not(.btn-pill) { padding: 8px 8px; }
}
@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    border-radius: 24px; background: rgba(3, 29, 21, .96); border: 1px solid rgba(255, 255, 255, .1);
  }
  .nav a { padding: 12px 16px; font-size: 16px; }
  .nav .btn-pill { justify-content: center; margin-top: 6px; }
  .menu-open .nav { display: flex; }
  .header-bar { position: relative; }
  .hero { padding: 130px 0 100px; }
  .hero-grid, .about-grid, .cta, .delete { grid-template-columns: 1fr; }
  .hero-grid { gap: 72px; }
  .phone-wrap { margin: 0 auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .span-3, .span-4 { grid-column: span 1; }
  .tile.span-4 { grid-column: span 2; }
  .legal-grid { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section, .data { padding: 76px 0; }
  .container { padding: 0 18px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: -40px; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.span-4 { grid-column: span 1; padding: 24px; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: 1fr; justify-items: stretch; }
  .link { width: 2px; height: 70px; justify-self: center; background: repeating-linear-gradient(180deg, var(--em-300) 0 8px, transparent 8px 14px); animation: none; }
  .trust { grid-template-columns: 1fr; }
  .cta { padding: 36px 24px; border-radius: 26px; }
  .delete { padding: 26px 22px; }
  .phone { width: 260px; }
  .float { font-size: 12px; padding: 10px 12px 10px 10px; }
  .float-1 { left: -40px; top: 26%; }
  .float-2 { right: -30px; bottom: 10%; }
  .float .ring { width: 38px; height: 38px; }
  .bismillah { font-size: 24px; }
  .hero-sub { font-size: 17px; }
  .store { flex: 1 1 160px; justify-content: center; }
  .legal-hero { padding: 120px 0 56px; }
}
.zakat-num.gradient-text { background-image: linear-gradient(100deg, #c99a3a, var(--gold-dark)); }
.hero h1 { font-size: clamp(38px, 4.8vw, 58px); }
.float-1 { top: 10%; left: -120px; }
.float-2 { bottom: 2%; right: -80px; }
@media (max-width: 640px) { .float-1 { left: -24px; top: 6%; } .float-2 { right: -20px; bottom: 0; } }
.hero-grid { grid-template-columns: 1.25fr .75fr; }
.hero h1 { font-size: clamp(38px, 4.4vw, 56px); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .next strong { font-size: 19px; } .next .countdown { font-size: 12px; } }
