/* =========================================================================
   Ayat — Islamic Wallpapers & Status HD
   Shared design system. Palette is taken from the app (lib/constants/theme.dart)
   and the logo: deep emerald + gold + ivory.
   ========================================================================= */

:root {
  /* Brand — emerald (matches AppTheme.gold* in the Flutter app) */
  --emerald-900: #04251A;
  --emerald-850: #063122;
  --emerald-800: #083A29;
  --emerald-700: #094430;
  --emerald-600: #0E5C42;
  --emerald-500: #15805C;
  --emerald-300: #7FC8A9;

  /* Brand — gold accent (AppTheme.accent) */
  --gold-600: #A8801A;
  --gold-500: #C9A227;
  --gold-400: #E3C66B;
  --gold-200: #F3E6BC;

  /* Neutrals */
  --cream: #FAF7F0;
  --cream-2: #F2EDE0;
  --white: #FFFFFF;
  --ink: #16211C;
  --muted: #5E6B64;

  --maxw: 1140px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(4, 37, 26, .06);
  --shadow: 0 14px 40px -18px rgba(4, 37, 26, .28);
  --shadow-lg: 0 40px 80px -32px rgba(4, 37, 26, .45);

  --font-display: "Amiri", "Cormorant Garamond", Georgia, serif;
  --font-body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rub el Hizb (eight-point star) lattice — the site's signature motif */
  --pattern-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23C9A227' stroke-width='1'%3E%3Crect x='14' y='14' width='44' height='44'/%3E%3Cpath d='M36 6 66 36 36 66 6 36Z'/%3E%3Ccircle cx='36' cy='36' r='4'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-emerald: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%230E5C42' stroke-width='1'%3E%3Crect x='14' y='14' width='44' height='44'/%3E%3Cpath d='M36 6 66 36 36 66 6 36Z'/%3E%3Ccircle cx='36' cy='36' r='4'/%3E%3C/g%3E%3C/svg%3E");
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold-400); color: var(--emerald-900); }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -140%);
  background: var(--gold-500); color: var(--emerald-900);
  padding: 10px 20px; border-radius: 0 0 12px 12px; font-weight: 700; z-index: 100;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ------------------------------------------------------------- primitives */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 800px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: .5;
}
.on-dark .eyebrow, .eyebrow--light { color: var(--gold-400); }

.section { padding: 92px 0; position: relative; }
.section--tight { padding: 68px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 16px 0 0; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.on-dark .section-head p { color: rgba(255, 255, 255, .72); }

.arabic {
  font-family: var(--font-display);
  direction: rtl;
  line-height: 1.9;
}

/* Gold hairline + diamond ornament */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold-500);
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; flex: 0 1 90px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.ornament::after { background: linear-gradient(270deg, transparent, currentColor); }
.ornament i {
  width: 9px; height: 9px; background: currentColor; transform: rotate(45deg);
  display: block; flex: none;
}
.ornament i + i { opacity: .55; }

/* Arcade of domes — the cut between the dark hero and the cream page */
.scallop {
  height: 26px;
  background-image: radial-gradient(circle at 50% 100%, var(--cream) 0 13px, rgba(0, 0, 0, 0) 13.5px);
  background-size: 30px 26px;
  background-repeat: repeat-x;
  background-position: center bottom;
}
.scallop--cream2 { background-image: radial-gradient(circle at 50% 100%, var(--cream-2) 0 13px, rgba(0, 0, 0, 0) 13.5px); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 16px; font-weight: 700;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { flex: none; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 55%, var(--gold-600));
  color: var(--emerald-900);
  box-shadow: 0 14px 30px -14px rgba(201, 162, 39, .85);
}
.btn--gold:hover { box-shadow: 0 20px 38px -14px rgba(201, 162, 39, .95); }

.btn--emerald {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(9, 68, 48, .9);
}

.btn--outline {
  background: transparent; color: var(--ink); border-color: rgba(9, 68, 48, .25);
}
.btn--outline:hover { border-color: var(--emerald-600); background: rgba(14, 92, 66, .05); }

.btn--outline-light {
  background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(227, 198, 107, .45);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: var(--gold-400); }

.btn--sm { padding: 11px 22px; font-size: 15px; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 37, 26, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(227, 198, 107, .28);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px; flex: none; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(227, 198, 107, .55);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .8);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--cream); line-height: 1.1; letter-spacing: .01em;
}
.brand-tag {
  font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-400); margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  color: rgba(250, 247, 240, .78); text-decoration: none; font-size: 15.5px; font-weight: 500;
  position: relative; padding: 4px 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--gold-400); transition: right .22s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: 14px; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .brand-name { font-size: 19px; }
}
@media (max-width: 520px) {
  .header-cta .btn { display: none; }
  .header-cta .btn--back { display: inline-flex; }
}

.btn--back {
  color: rgba(250, 247, 240, .8); text-decoration: none; font-size: 15px;
  padding: 8px 0; transition: color .18s ease;
}
.btn--back:hover { color: var(--gold-400); }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(21, 128, 92, .55), transparent 62%),
    radial-gradient(620px 420px at 8% 82%, rgba(201, 162, 39, .16), transparent 65%),
    linear-gradient(165deg, var(--emerald-850), var(--emerald-900) 62%, #031A12);
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern-gold);
  opacity: .1;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: 60px;
  /* vertical only — .container owns the horizontal padding */
  padding-top: 84px; padding-bottom: 108px;
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 9px; border-radius: 999px;
  background: rgba(227, 198, 107, .12); border: 1px solid rgba(227, 198, 107, .35);
  color: var(--gold-200); font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
.pill b { color: #fff; font-weight: 700; }
.pill .dot {
  width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center;
  background: var(--gold-500); color: var(--emerald-900); font-size: 12px;
}

.hero h1 {
  font-size: clamp(44px, 6.4vw, 76px);
  margin: 24px 0 0;
  letter-spacing: -.01em;
}
.hero h1 .gilt {
  background: linear-gradient(100deg, var(--gold-200), var(--gold-500) 45%, var(--gold-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  margin-top: 18px; font-size: 19px; line-height: 1.7;
  color: rgba(255, 255, 255, .78); max-width: 520px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.ayah-card {
  margin-top: 34px; padding: 20px 24px;
  border-left: 2px solid var(--gold-500);
  background: linear-gradient(90deg, rgba(227, 198, 107, .1), transparent 70%);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  max-width: 520px;
}
.ayah-card .arabic { font-size: 27px; color: var(--gold-200); }
.ayah-card .translation {
  margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .7); font-style: italic;
}
.ayah-card .ref { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); margin-top: 8px; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 34px;
  font-size: 14.5px; color: rgba(255, 255, 255, .66);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--gold-400); }

/* -------------------------------------------------- hero phone / showcase */
.showcase { position: relative; display: grid; place-items: center; min-height: 560px; }

/* Mihrab arch behind the phone */
.showcase::before {
  content: ""; position: absolute; width: 330px; height: 520px;
  border-radius: 165px 165px 26px 26px;
  border: 1px solid rgba(227, 198, 107, .38);
  background: radial-gradient(circle at 50% 22%, rgba(21, 128, 92, .38), rgba(4, 37, 26, 0) 68%);
  box-shadow: inset 0 0 70px rgba(227, 198, 107, .1);
}
.showcase::after {
  content: ""; position: absolute; width: 392px; height: 582px;
  border-radius: 196px 196px 32px 32px;
  border: 1px dashed rgba(227, 198, 107, .18);
}

.phone {
  position: relative; z-index: 2;
  width: 262px; height: 534px; border-radius: 40px; padding: 9px;
  background: linear-gradient(160deg, #26332C, #0B1512 55%, #26332C);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(227, 198, 107, .3);
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: linear-gradient(170deg, var(--emerald-600), var(--emerald-900) 70%);
  display: flex; flex-direction: column; align-items: center;
  padding: 26px 18px 18px; text-align: center;
}
.phone-screen::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern-gold); opacity: .14;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 7px; border-radius: 999px; background: rgba(0, 0, 0, .55); z-index: 3;
}
.phone-screen > * { position: relative; z-index: 2; }
.phone-logo {
  width: 92px; height: 92px; border-radius: 26px; margin-top: 26px;
  border: 1px solid rgba(227, 198, 107, .5);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9);
}
.phone-ayah { margin-top: 22px; font-size: 22px; color: var(--gold-200); }
.phone-meaning { margin-top: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .72); line-height: 1.55; }
.phone-chip {
  margin-top: auto; width: 100%; padding: 11px; border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--emerald-900); font-size: 13.5px; font-weight: 700;
}
.phone-tabs {
  display: flex; justify-content: space-between; width: 100%;
  margin-top: 12px; padding: 0 6px; font-size: 10px; color: rgba(255, 255, 255, .5);
}
.phone-tabs b { color: var(--gold-400); font-weight: 700; }

/* Floating tiles around the phone */
.float-tile {
  position: absolute; z-index: 3;
  width: 96px; padding: 13px 10px; border-radius: 18px; text-align: center;
  background: rgba(6, 49, 34, .82);
  border: 1px solid rgba(227, 198, 107, .38);
  box-shadow: 0 22px 45px -22px rgba(0, 0, 0, .9);
  backdrop-filter: blur(6px);
  font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .88);
  animation: bob 7s ease-in-out infinite;
}
.float-tile svg { margin: 0 auto 7px; color: var(--gold-400); }
.float-tile--a { top: 54px; left: 0; }
.float-tile--b { bottom: 130px; left: 8px; animation-delay: -2.4s; }
.float-tile--c { top: 96px; right: 0; animation-delay: -1.2s; }
.float-tile--d { bottom: 74px; right: 6px; animation-delay: -3.6s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: 1fr; gap: 30px; text-align: center;
    padding-top: 62px; padding-bottom: 88px;
  }
  .hero-sub, .ayah-card { margin-left: auto; margin-right: auto; }
  .ayah-card { text-align: center; border-left: 0; border-top: 2px solid var(--gold-500); border-radius: 0 0 var(--radius-sm) var(--radius-sm); background: linear-gradient(180deg, rgba(227, 198, 107, .1), transparent 70%); }
  .hero-actions, .hero-trust, .eyebrow { justify-content: center; }
  .hero-trust { justify-content: center; }
  .showcase { min-height: 620px; }
}
@media (max-width: 560px) {
  .showcase::before { width: 292px; height: 486px; border-radius: 146px 146px 24px 24px; }
  .showcase::after { display: none; }
  .float-tile--a { left: -6px; top: 30px; }
  .float-tile--c { right: -6px; }
  .float-tile--b, .float-tile--d { display: none; }
}

/* --------------------------------------------------------------- marquee */
.marquee {
  background: var(--emerald-900);
  border-top: 1px solid rgba(227, 198, 107, .2);
  border-bottom: 1px solid rgba(227, 198, 107, .2);
  overflow: hidden; padding: 14px 0;
}
.marquee-track {
  display: flex; gap: 44px; width: max-content;
  animation: slide 34s linear infinite;
  color: var(--gold-200); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--gold-500); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- features */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px;
}
.card {
  position: relative; background: var(--white); border: 1px solid rgba(9, 68, 48, .1);
  border-radius: var(--radius-lg); padding: 34px 28px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern-emerald); opacity: 0;
  transition: opacity .3s ease; pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201, 162, 39, .45); }
.card:hover::after { opacity: .05; }
.card > * { position: relative; z-index: 1; }
.card h3 { font-size: 23px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

/* Dome-topped icon plate */
.icon-dome {
  width: 56px; height: 62px; border-radius: 28px 28px 12px 12px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(170deg, var(--emerald-500), var(--emerald-700));
  color: var(--gold-400);
  box-shadow: 0 12px 26px -14px rgba(9, 68, 48, .9);
}

@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; position: relative; }
.step { text-align: center; padding: 0 10px; }
.step-num {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 999px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  color: var(--emerald-900);
  background: linear-gradient(140deg, var(--gold-200), var(--gold-500));
  box-shadow: 0 0 0 8px rgba(201, 162, 39, .12);
}
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 38px; } }

/* ------------------------------------------------------------- languages */
.lang-band { background: var(--cream-2); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip {
  padding: 9px 20px; border-radius: 999px; background: var(--white);
  border: 1px solid rgba(9, 68, 48, .12); font-size: 15px; font-weight: 500;
  color: var(--ink); box-shadow: var(--shadow-sm);
}
.chip--gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); border-color: transparent; color: var(--emerald-900); font-weight: 700; }

/* ----------------------------------------------------- pricing (unused)
   The pricing section was removed from the landing page; these styles are
   kept so the plan cards can be dropped back in unchanged if needed.       */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.plan {
  position: relative; background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid rgba(9, 68, 48, .12); padding: 38px 34px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.plan--featured {
  background: linear-gradient(165deg, var(--emerald-800), var(--emerald-900));
  border-color: rgba(227, 198, 107, .5); color: #fff;
  box-shadow: var(--shadow);
}
.plan--featured::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern-gold); opacity: .09; pointer-events: none;
}
.plan > * { position: relative; z-index: 1; }
.plan-badge {
  position: absolute; top: 20px; right: -42px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--emerald-900); font-size: 11px; font-weight: 800; letter-spacing: .14em;
  padding: 7px 46px; z-index: 2;
}
.plan h3 { font-size: 26px; }
.plan .price { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 4px; }
.plan .price .cur { font-family: var(--font-display); font-size: 26px; color: var(--gold-600); }
.plan--featured .price .cur { color: var(--gold-400); }
.plan .price .amt { font-family: var(--font-display); font-size: 58px; font-weight: 700; line-height: 1; }
.plan--featured .price .amt { color: var(--gold-200); }
.plan .price .per { color: var(--muted); font-size: 16px; }
.plan--featured .price .per { color: rgba(255, 255, 255, .6); }
.plan .note { color: var(--muted); font-size: 15px; }
.plan--featured .note { color: rgba(255, 255, 255, .7); }
.plan hr { border: 0; border-top: 1px solid rgba(9, 68, 48, .1); margin: 24px 0; }
.plan--featured hr { border-top-color: rgba(227, 198, 107, .25); }
.plan ul { display: grid; gap: 13px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.plan li svg { flex: none; margin-top: 4px; color: var(--emerald-500); }
.plan--featured li svg { color: var(--gold-400); }
.plan .btn { width: 100%; margin-top: 28px; }
.pay-note {
  text-align: center; margin-top: 30px; color: var(--muted); font-size: 15px;
  display: flex; align-items: center; justify-content: center; gap: 9px; flex-wrap: wrap;
}
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- faq */
.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--white); border: 1px solid rgba(9, 68, 48, .12);
  border-radius: var(--radius); padding: 4px 24px; box-shadow: var(--shadow-sm);
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(201, 162, 39, .5); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
  font-weight: 600; font-size: 17.5px; font-family: var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 26px; color: var(--gold-600); line-height: 1; font-family: var(--font-body);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 20px; color: var(--muted); font-size: 16px; }

/* ---------------------------------------------------------------- cta band */
.cta-band {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(21, 128, 92, .5), transparent 70%),
    linear-gradient(160deg, var(--emerald-800), var(--emerald-900));
  padding: 84px 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern-gold); opacity: .1;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 18px 0 14px; }
.cta-band p { color: rgba(255, 255, 255, .75); max-width: 560px; margin: 0 auto 30px; }

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--emerald-900); color: rgba(250, 247, 240, .72);
  padding: 66px 0 30px; font-size: 15.5px;
  border-top: 1px solid rgba(227, 198, 107, .22);
}
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 44px;
}
.footer-grid h4 {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 16px;
}
.footer-links { display: grid; gap: 11px; }
.footer-links a { text-decoration: none; transition: color .18s ease; }
.footer-links a:hover { color: var(--gold-400); }
.footer-about p { margin-top: 16px; color: rgba(250, 247, 240, .6); max-width: 330px; }
.footer-ayah {
  margin-top: 18px; font-size: 19px; color: var(--gold-200);
}
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
  font-size: 14px; color: rgba(250, 247, 240, .5);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-400); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ------------------------------------------------------- legal / prose pages */
.page-head {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(21, 128, 92, .45), transparent 68%),
    linear-gradient(160deg, var(--emerald-800), var(--emerald-900));
  padding: 62px 0 54px;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern-gold); opacity: .1;
}
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(34px, 5vw, 52px); margin: 16px 0 0; }
.page-head .updated { margin-top: 12px; color: rgba(255, 255, 255, .62); font-size: 15px; }

.prose-wrap {
  max-width: 860px; margin: -34px auto 80px; position: relative; z-index: 2;
  background: var(--white); border: 1px solid rgba(9, 68, 48, .1);
  border-radius: var(--radius-lg); padding: 46px 48px;
  box-shadow: var(--shadow);
}
.prose h2 {
  font-size: 25px; margin: 40px 0 12px; color: var(--emerald-700);
  display: flex; align-items: baseline; gap: 12px;
}
.prose h2::before {
  content: "✦"; color: var(--gold-500); font-size: 15px; flex: none;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 26px 0 8px; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.78; color: #26332C; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { margin: 14px 0; padding-left: 6px; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; list-style: none; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; background: var(--gold-500); transform: rotate(45deg);
}
.prose ol { padding-left: 22px; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--emerald-600); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-600); }
.prose strong { color: var(--ink); }
.legal-nav {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 860px; margin: 0 auto 70px;
}
.legal-nav a {
  padding: 9px 18px; border-radius: 999px; text-decoration: none; font-size: 14.5px;
  background: var(--white); border: 1px solid rgba(9, 68, 48, .12); color: var(--muted);
  transition: all .18s ease;
}
.legal-nav a:hover { border-color: var(--gold-500); color: var(--emerald-700); }
.legal-nav a[aria-current="page"] {
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800));
  color: #fff; border-color: transparent;
}
@media (max-width: 640px) {
  .prose-wrap { padding: 32px 24px; margin-left: 16px; margin-right: 16px; }
}

/* ------------------------------------------------------------- reveal / motion */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
