/* ============================================================================
   DhikrLock — shared design system
   Brand-locked: cream paper, ink, purple #7B68EE, SF Pro, UthmanicHafs.
   Distinctiveness comes from composition, type scale, the dark ritual band,
   and Arabic-as-art — never from breaking the palette.
   ========================================================================== */

/* ── FONTS ────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'UthmanicHafs';
  src: url('/fonts/UthmanicHafs.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── TOKENS ───────────────────────────────────────────────────────────── */
:root {
  /* light / paper */
  --bg:            #F5F0E8;
  --paper:         #FBF8F1;
  --surface:       #FFFFFF;
  --surface-warm:  #FCFAF4;
  --ink:           #0F0A1E;
  --muted:         #6B6080;
  --muted-soft:    #8A809C;

  /* accent */
  --accent:        #7B68EE;
  --accent-mid:    #9B8FE8;
  --accent-light:  #EDE8FF;
  --accent-deep:   #5A46C7;

  /* lines */
  --border:        #DDD6F0;
  --rule:          #E4DAC6;   /* warm hairline for kitab rules on cream */

  /* dark ritual band (app's real dark theme) */
  --indigo:        #120C35;
  --indigo-surf:   #1E1650;
  --indigo-border: #3A2D7A;
  --indigo-text:   #F5F0E8;
  --indigo-muted:  #B8ACCF;
  --accent-bright: #A99BFF;

  --danger:        #C0392B;
  --ok:            #4ADE80;

  /* type */
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, 'Segoe UI', sans-serif;
  --font-ar: 'UthmanicHafs', 'Geeza Pro', 'Scheherazade New', serif;

  /* shape */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;

  /* shadow */
  --shadow-sm: 0 2px 10px rgba(15,10,30,.05);
  --shadow-md: 0 14px 40px rgba(123,104,238,.10);
  --shadow-lg: 0 40px 90px rgba(123,104,238,.16), 0 16px 44px rgba(15,10,30,.10);

  --maxw: 1140px;
  --maxw-prose: 760px;
}

/* ── RESET ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.ar { font-family: var(--font-ar); direction: rtl; }

/* ── LAYOUT PRIMITIVES ────────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(20px, 5vw, 64px); }
.section { padding-block: clamp(72px, 11vw, 132px); }
.section--tight { padding-block: clamp(52px, 8vw, 88px); }
.center { text-align: center; }

/* eyebrow / small-caps label */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--muted { color: var(--muted-soft); }

/* kitab ruled divider with centered label */
.rule {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--accent-mid);
}
.rule::before, .rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule) 22%, var(--rule) 78%, transparent);
}
.rule > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-soft);
  white-space: nowrap;
}
.rule .diamond { color: var(--accent); font-size: 9px; transform: translateY(-1px); }

/* headings */
.h-display {
  font-size: clamp(38px, 7.2vw, 82px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .96;
  overflow-wrap: break-word;
}
.h-section {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -.028em;
  line-height: 1.04;
}
.h-sub {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.accent { color: var(--accent); }
.lead {
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--muted);
  line-height: 1.65;
}

/* ── NAV ──────────────────────────────────────────────────────────────── */
.nav-outer {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 14px clamp(12px, 4vw, 40px) 0;
  pointer-events: none;
}
nav.bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--maxw);
  padding: 9px 9px 9px 20px;
  background: rgba(251, 248, 241, .72);
  backdrop-filter: blur(20px) saturate(1.7);
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  border: 1px solid rgba(123,104,238,.14);
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(123,104,238,.09), inset 0 1px 0 rgba(255,255,255,.4);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff; font-weight: 800; font-size: 13px; letter-spacing: -.5px;
}
.brand-img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; display: block; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: -.3px; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--muted);
  text-decoration: none; padding: 8px 15px; border-radius: 40px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(123,104,238,.08); }
.nav-cta {
  background: var(--accent); color: #fff !important;
  font-weight: 600 !important; padding: 9px 20px !important;
  box-shadow: 0 3px 14px rgba(123,104,238,.28);
  transition: transform .15s, box-shadow .2s !important;
}
.nav-cta:hover { background: var(--accent) !important; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(123,104,238,.4); }

/* ── BUTTONS / BADGES ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  padding: 15px 26px; border-radius: 13px; letter-spacing: -.1px;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s, background .2s, color .2s;
  cursor: pointer;
}
.btn-ghost {
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent-mid); font-weight: 700;
}
.btn-ghost:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.btn-ghost svg { transition: transform .2s; }
.btn-ghost:hover svg { transform: translateX(3px); }

.appstore {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 13px 22px 13px 20px; border-radius: 13px;
  box-shadow: 0 10px 30px rgba(15,10,30,.18);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
}
.appstore:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(15,10,30,.26); }
.appstore svg { width: 22px; height: 22px; fill: #fff; }
.appstore .as-txt { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.appstore .as-txt small { font-size: 9px; font-weight: 500; opacity: .85; letter-spacing: .3px; }
.appstore .as-txt strong { font-size: 17px; font-weight: 600; letter-spacing: -.4px; }
.appstore--light { background: var(--indigo-text); color: var(--indigo); }
.appstore--light svg { fill: var(--indigo); }

/* ── DEVICE (phone frame with real screenshot) ───────────────────────── */
.device {
  position: relative;
  width: 280px;
  aspect-ratio: 280 / 580;
  background: #15131C;
  border-radius: 44px;
  padding: 7px;
  box-shadow: var(--shadow-lg);
}
.device::before { /* dynamic island */
  content: '';
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px; background: #15131C; border-radius: 20px; z-index: 3;
}
.device img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }
.device--sm { width: 230px; }

/* ── HERO (text left, two full device mockups right) ──────────────────── */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(116px, 15vw, 168px) clamp(20px, 5vw, 64px) clamp(56px, 8vw, 88px);
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 7px 16px 7px 12px; border-radius: 40px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 3px rgba(74,222,128,.2);
}
.hero-title { margin-top: 24px; }
.hero-sub {
  margin-top: 24px;
  max-width: 440px;
  font-size: clamp(16px, 2.1vw, 19px);
  color: var(--muted);
  line-height: 1.65;
}
.hero-actions {
  margin-top: 32px;
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.hero-proof {
  margin-top: 22px;
  font-size: 12.5px; color: var(--muted-soft);
  display: flex; align-items: center; gap: 8px;
}
.hero-proof b { color: var(--ink); font-weight: 700; }
.hero-stars { color: #E8A93B; letter-spacing: 1px; }

/* two phones, both fully visible, gently tilted; shield (front) on top */
.hero-phones {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(430px, 50vw, 590px);
}
.hero-phones .device { position: absolute; }
.hero-phones .device.back  { transform: translateX(-30%) rotate(-6deg); z-index: 1; }
.hero-phones .device.front { transform: translateX(30%) rotate(6deg);  z-index: 2; }

/* SHOWCASE (image + copy, e.g. "More than a blocker") */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.showcase-media { display: flex; justify-content: center; }

/* ── STEPS (numbered, hairline-framed) ───────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.step { padding: clamp(28px, 3.6vw, 44px); position: relative; }
.step + .step { border-left: 1px solid var(--border); }
.step-n {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-mid);
}
.step-ic {
  margin-top: 22px; color: var(--accent);
  width: 30px; height: 30px;
}
.step-ic svg { width: 30px; height: 30px; }
.step h3 { margin-top: 20px; font-size: 19px; font-weight: 800; letter-spacing: -.3px; }
.step p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── DARK RITUAL BAND ─────────────────────────────────────────────────── */
.band {
  position: relative;
  background: var(--indigo);
  color: var(--indigo-text);
  overflow: hidden;
  isolation: isolate;
}
.band .lead, .band .rule > span { color: var(--indigo-muted); }
.band .rule::before, .band .rule::after {
  background: linear-gradient(90deg, transparent, var(--indigo-border) 22%, var(--indigo-border) 78%, transparent);
}
.shield-mark {
  width: 64px; height: 64px; margin: 0 auto; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--accent);
}
.shield-mark svg { width: 30px; height: 30px; stroke: #fff; }

/* dhikr phrases as art */
.dhikr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dhikr-cell {
  border: 1px solid var(--indigo-border);
  background: rgba(255,255,255,.03);
  border-radius: var(--r-md);
  padding: 26px 18px;
  text-align: center;
  transition: background .25s, transform .25s, border-color .25s;
}
.dhikr-cell:hover { background: rgba(123,104,238,.12); border-color: var(--accent); transform: translateY(-3px); }
.dhikr-cell .ar { font-size: 30px; color: #fff; line-height: 1.4; }
.dhikr-cell .tl { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--indigo-muted); letter-spacing: .2px; }
.dhikr-cell .en { margin-top: 3px; font-size: 11px; color: var(--accent-bright); }

/* ── FEATURES ─────────────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 30px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.feature:hover { border-color: var(--accent-mid); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-ic {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--accent-light); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 20px;
}
.feature-ic svg { width: 23px; height: 23px; }
.feature h3 { font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.feature p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.62; }

/* ── SCRIPTURE CARD ───────────────────────────────────────────────────── */
.scripture {
  max-width: 840px; margin: 0 auto; text-align: center;
  background: var(--accent-light);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 76px) clamp(28px, 5vw, 60px);
  position: relative; overflow: hidden;
}
.scripture .ar { position: relative; font-size: clamp(28px, 4.4vw, 46px); color: var(--accent-deep); line-height: 1.7; }
.scripture blockquote { position: relative; margin-top: 24px; font-size: clamp(19px, 2.4vw, 25px); font-weight: 500; color: var(--ink); letter-spacing: -.2px; }
.scripture cite {
  position: relative; display: inline-block; margin-top: 22px; font-style: normal;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: var(--accent); padding: 8px 18px; border-radius: 40px;
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.qa {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.qa[open] { border-color: var(--accent-mid); box-shadow: var(--shadow-md); }
.qa summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px;
  font-size: 16px; font-weight: 700; letter-spacing: -.2px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa[open] summary { color: var(--accent); }
.qa summary::after {
  content: ''; width: 9px; height: 9px; flex: 0 0 auto;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .2s;
}
.qa[open] summary::after { transform: rotate(-135deg); }
.qa .a { padding: 0 26px 24px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.qa .a a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ── CTA BAND (bottom) ────────────────────────────────────────────────── */
.cta { text-align: center; max-width: 640px; margin: 0 auto; }
.cta .ar { font-size: clamp(40px, 6vw, 68px); color: var(--accent); line-height: 1.1; margin-bottom: 6px; }
.cta .hero-actions { justify-content: center; }

/* ── FOOTER ───────────────────────────────────────────────────────────── */
footer.site {
  border-top: 1px solid var(--border);
  padding-block: 48px;
  background: var(--paper);
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-about { max-width: 300px; }
.foot-about .brand { margin-bottom: 14px; }
.foot-about p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.foot-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-soft); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14px; color: var(--muted); text-decoration: none; padding: 5px 0; transition: color .18s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted-soft);
}
.foot-socials { display: flex; gap: 10px; }
.foot-socials a {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-light); color: var(--accent); border: 1px solid var(--border);
  transition: background .2s, color .2s, transform .2s;
}
.foot-socials a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.foot-socials svg { width: 17px; height: 17px; }

/* ============================================================================
   INTERIOR / CONTENT-HUB PAGE STYLES
   ========================================================================== */
.breadcrumb {
  font-size: 12.5px; color: var(--muted-soft);
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border); }

.page-hero {
  padding-top: clamp(120px, 15vw, 168px);
  text-align: center;
}
.page-hero .breadcrumb { justify-content: center; margin-bottom: 24px; }
.page-hero h1 { max-width: 900px; margin: 14px auto 0; }
.page-hero .lead { max-width: 620px; margin: 22px auto 0; }
.page-hero .hero-actions { margin-top: 30px; }

/* answer-first block — the quotable definition for AI engines + featured snippets */
.answer {
  max-width: var(--maxw-prose); margin: clamp(44px,6vw,64px) auto 0;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
  padding: 28px 30px;
}
.answer .eyebrow { margin-bottom: 12px; }
.answer p { font-size: clamp(17px, 2.1vw, 20px); line-height: 1.6; color: var(--ink); }
.answer p + p { margin-top: 14px; }
.answer strong { color: var(--accent-deep); }

/* long-form prose */
.prose { max-width: var(--maxw-prose); margin: 0 auto; }
.prose h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.02em; margin-top: clamp(48px,6vw,68px); }
.prose h3 { font-size: clamp(19px, 2.3vw, 23px); font-weight: 700; letter-spacing: -.01em; margin-top: 38px; }
.prose h2 + p, .prose h3 + p { margin-top: 14px; }
.prose p { font-size: 17px; color: #35304A; line-height: 1.72; margin-top: 18px; }
.prose p:first-child { margin-top: 0; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--accent-mid); }
.prose a:hover { text-decoration-color: var(--accent-deep); }
.prose ul, .prose ol { margin-top: 18px; padding-left: 22px; }
.prose li { font-size: 17px; color: #35304A; line-height: 1.7; margin-top: 10px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose blockquote {
  margin: 28px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent-mid);
  font-size: 19px; line-height: 1.6; color: var(--ink);
}
.prose .ar { font-size: 26px; color: var(--accent-deep); line-height: 1.9; }

/* comparison table */
.compare-wrap { overflow-x: auto; margin-top: 28px; border-radius: var(--r-md); border: 1px solid var(--border); }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; background: var(--surface); font-size: 14.5px; }
table.compare th, table.compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); }
table.compare thead th { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-soft); font-weight: 700; background: var(--surface-warm); }
table.compare tbody th { font-weight: 600; color: var(--ink); }
table.compare .col-us { background: rgba(123,104,238,.06); color: var(--accent-deep); font-weight: 700; }
table.compare thead .col-us { color: var(--accent-deep); background: var(--accent-light); }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: none; }
.yes { color: var(--accent-deep); font-weight: 700; }
.no { color: var(--muted-soft); }

/* related cross-links */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related a {
  display: block; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 26px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.related a:hover { border-color: var(--accent-mid); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.related .k { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-mid); }
.related h3 { margin-top: 10px; font-size: 18px; font-weight: 700; letter-spacing: -.3px; color: var(--ink); }
.related p { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.related .go { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--accent); }

/* ── REVEAL ANIMATION ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* staggered hero page-load */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.load { opacity: 0; animation: rise .8s cubic-bezier(.16,1,.3,1) forwards; }
.load.d1 { animation-delay: .05s; }
.load.d2 { animation-delay: .15s; }
.load.d3 { animation-delay: .28s; }
.load.d4 { animation-delay: .42s; }
.load.d5 { animation-delay: .56s; }

/* ── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .nav-links a.hide-sm { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; gap: clamp(36px, 7vw, 52px); }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-phones { order: 2; }
  .showcase { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .showcase-media { order: 2; }
  .showcase-body { order: 1; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: none; border-top: 1px solid var(--border); }
  .features { grid-template-columns: 1fr 1fr; }
  .dhikr-grid { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  /* nav: keep the CTA on screen */
  .nav-outer { padding: 10px 12px 0; }
  nav.bar { padding: 8px 8px 8px 15px; }
  .brand-name { font-size: 15px; }
  .nav-cta { padding: 8px 15px !important; font-size: 12px; }

  /* hero: fit the display headline and tame the watermark */
  .h-display { font-size: clamp(32px, 9vw, 44px); letter-spacing: -1.5px; }
  .page-hero h1 { letter-spacing: -1px; }

  .features { grid-template-columns: 1fr; }
  .dhikr-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dhikr-cell .ar { font-size: 26px; }
  .hero-phones { min-height: 415px; }
  .hero-phones .device { width: 206px; }
  .hero-phones .device.left  { transform: translateX(-27%) rotate(-5deg); }
  .hero-phones .device.right { transform: translateX(27%) rotate(5deg); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn, .hero-actions .appstore { width: 100%; max-width: 300px; justify-content: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { justify-content: center; text-align: center; }
  .compare-wrap { margin-inline: -8px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .load { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
