:root {
    --bg:            #F8F3E6;
    --bg-deep:       #EFE7D0;
    --bg-warm:       #E5D9B8;
    --surface:       #FFFCF2;
    --ink:           #1A1F1A;
    --ink-soft:      #4A5249;
    --ink-muted:     #8B8675;
    --line:          #D9CDA8;
    --line-soft:     #E5DDC2;

    --green:         #156D3A;
    --green-deep:    #0B5226;
    --green-dark:    #063518;
    --green-soft:    #C0E6CC;
    --green-tint:    #E4F2E9;
    --green-glow:    rgba(21, 109, 58, 0.18);

    --gold:          #A07820;
    --gold-soft:     #D4B05C;
    --gold-warm:     #B8923A;

    --display:       "Fraunces", "Times New Roman", serif;
    --body:          "DM Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    --arabic:        "Amiri", "Scheherazade New", serif;

    --pad-x:         clamp(20px, 5vw, 56px);
    --gap-section:   clamp(64px, 10vw, 130px);
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: clamp(15.5px, 1vw + 11px, 17px);
    line-height: 1.65;
    font-weight: 400;
    overflow-x: hidden;
    font-variation-settings: "opsz" 14;
  }
  ::selection { background: var(--green); color: #fff; }
  a { color: inherit; text-decoration: none; }
  img, svg { display: block; max-width: 100%; }

  .wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
  }

  /* ============================================
     ISLAMIC GEOMETRIC PATTERN (8-point star tessellation)
     Used as subtle background texture
  ============================================ */
  .pattern-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
  }
  .pattern-bg svg { width: 100%; height: 100%; }

  /* ============================================
     ORNAMENT DIVIDER
  ============================================ */
  .ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin: clamp(40px, 8vw, 80px) auto;
    color: var(--green);
  }
  .ornament .line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green) 50%, transparent);
    flex: 1;
    max-width: 200px;
    opacity: 0.4;
  }
  .ornament .star {
    width: 28px; height: 28px;
    flex-shrink: 0;
    opacity: 0.7;
  }

  /* ============================================
     MOSQUE ARCH (used as visual frame)
  ============================================ */
  .arch {
    position: relative;
    aspect-ratio: 5 / 7;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .arch-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .arch-content {
    position: relative;
    z-index: 2;
    width: 70%;
  }

  /* ============================================
     NAV
  ============================================ */
  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: rgba(248, 243, 230, 0.85);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(14px, 2vw, 20px) 0;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--display);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 500;
    line-height: 1;
    font-variation-settings: "opsz" 30, "SOFT" 50;
  }
  .brand-mark {
    width: clamp(34px, 4vw, 40px);
    aspect-ratio: 1;
    background: var(--ink);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px -4px rgba(26, 31, 26, 0.4);
  }
  .brand-mark img { width: 100%; height: 100%; object-fit: cover; }
  .nav-links {
    display: flex;
    gap: clamp(20px, 3vw, 36px);
    font-size: 14.5px;
    color: var(--ink-soft);
    font-weight: 500;
    font-family: var(--body);
  }
  .nav-links a { transition: color .2s ease; }
  .nav-links a:hover { color: var(--green); }
  @media (max-width: 720px) { .nav-links { display: none; } }

  /* ============================================
     HERO - phone framed by mosque arch
  ============================================ */
  .hero {
    position: relative;
    padding: clamp(48px, 9vw, 110px) 0 clamp(56px, 10vw, 130px);
    overflow: hidden;
  }
  .hero .pattern-bg { opacity: 0.18; }
  .hero-arabic {
    position: absolute;
    top: 8%;
    right: -8%;
    font-family: var(--arabic);
    font-size: clamp(220px, 32vw, 480px);
    line-height: 0.82;
    color: var(--green);
    opacity: 0.05;
    font-weight: 700;
    user-select: none;
    transform: rotate(-4deg);
    z-index: 1;
    pointer-events: none;
  }
  .hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
  }
  @media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; gap: clamp(36px, 8vw, 56px); }
  }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--body);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--green-deep);
    background: var(--green-tint);
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--green-soft);
    margin-bottom: clamp(22px, 3vw, 32px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .eyebrow .dot {
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--green-glow);
  }
  h1.headline {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(42px, 7vw, 88px);
    line-height: 1.0;
    letter-spacing: -0.022em;
    margin: 0 0 clamp(18px, 2.5vw, 28px);
    color: var(--ink);
    font-variation-settings: "opsz" 144, "SOFT" 30;
  }
  h1.headline em {
    font-style: italic;
    color: var(--green-deep);
    font-weight: 500;
  }
  .hero-sub {
    font-size: clamp(16.5px, 1.4vw, 19px);
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 540px;
    margin: 0 0 clamp(28px, 4vw, 40px);
  }
  .cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-family: var(--body);
    font-weight: 500;
    font-size: 14.5px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, border-color .2s ease;
    letter-spacing: 0.01em;
  }
  .btn-appstore {
    background: var(--ink);
    color: white;
    padding: 12px 22px 12px 18px;
    gap: 12px;
  }
  .btn-appstore:hover { background: var(--green-dark); transform: translateY(-1px); }
  .btn-appstore .icon { display: flex; align-items: center; }
  .btn-appstore .label small {
    display: block;
    font-size: 10px;
    letter-spacing: 0.05em;
    opacity: 0.75;
    line-height: 1;
    margin-bottom: 3px;
    font-weight: 400;
  }
  .btn-appstore .label strong {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    font-family: var(--display);
    font-variation-settings: "opsz" 30;
    letter-spacing: -0.005em;
  }
  .btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
  }
  .btn-ghost:hover { border-color: var(--ink); }

  /* Hero arch + phone */
  .hero-arch-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 5 / 7;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
  .hero-arch-wrap .arch-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .hero-phone-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(closest-side, var(--green-glow), transparent 70%);
    z-index: 0;
    transform: scale(0.85);
  }
  .phone {
    position: relative;
    z-index: 2;
    width: 62%;
    aspect-ratio: 9 / 19.5;
    border-radius: clamp(28px, 4vw, 44px);
    background: #0E1A12;
    padding: 8px;
    box-shadow:
      0 50px 80px -30px rgba(14, 26, 18, 0.4),
      0 30px 60px -40px rgba(21, 109, 58, 0.45),
      inset 0 0 0 1px rgba(255,255,255,0.06);
  }
  .phone-screen {
    width: 100%;
    height: 100%;
    border-radius: clamp(22px, 3vw, 36px);
    overflow: hidden;
    background: var(--bg);
  }
  .phone-screen img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  /* ============================================
     SECTION DEFAULTS
  ============================================ */
  section {
    padding: var(--gap-section) 0;
    position: relative;
  }
  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--body);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green-deep);
    margin-bottom: 18px;
  }
  .section-label::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--green-deep);
  }
  .section-title {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(32px, 5vw, 60px);
    line-height: 1.04;
    letter-spacing: -0.022em;
    margin: 0 0 24px;
    max-width: 820px;
    font-variation-settings: "opsz" 144, "SOFT" 30;
  }
  .section-title em { font-style: italic; color: var(--green-deep); font-weight: 500; }
  .section-lead {
    font-size: clamp(16px, 1.4vw, 18.5px);
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0;
  }

  /* ============================================
     SAHABA - heart of mission, dark with pattern
  ============================================ */
  .sahaba {
    background: var(--ink);
    color: #E8E2D0;
    overflow: hidden;
    position: relative;
  }
  .sahaba .pattern-bg {
    opacity: 0.08;
    color: var(--gold-soft);
  }
  .sahaba::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(21, 109, 58, 0.18), transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(168, 126, 46, 0.10), transparent 50%);
    pointer-events: none;
    z-index: 1;
  }
  .sahaba-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
  }
  .sahaba .ar-large {
    font-family: var(--arabic);
    font-size: clamp(48px, 8vw, 100px);
    color: var(--gold-soft);
    line-height: 1;
    margin-bottom: clamp(28px, 4vw, 44px);
    font-weight: 700;
  }
  .sahaba h2 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.022em;
    margin: 0 0 28px;
    color: white;
    font-variation-settings: "opsz" 144, "SOFT" 30;
  }
  .sahaba h2 em { font-style: italic; color: var(--gold-soft); font-weight: 500; }
  .sahaba p.subhead {
    font-size: clamp(16.5px, 1.5vw, 19.5px);
    line-height: 1.7;
    color: #C9C3AE;
    margin: 0 auto clamp(36px, 5vw, 56px);
    max-width: 660px;
  }
  .sahaba .names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(16px, 1.8vw, 22px);
    color: var(--gold-soft);
    opacity: 0.9;
    font-variation-settings: "opsz" 144;
  }
  .sahaba .names .sep { color: rgba(212, 176, 92, 0.35); margin: 0 -6px; }

  /* ============================================
     ABOUT
  ============================================ */
  .about {
    background: var(--surface);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    position: relative;
  }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(40px, 7vw, 88px);
    align-items: start;
  }
  @media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; gap: clamp(28px, 5vw, 40px); } }
  .about-body p {
    font-size: clamp(16px, 1.4vw, 18.5px);
    line-height: 1.75;
    color: var(--ink-soft);
    margin: 0 0 22px;
  }
  .about-body p.lead {
    font-family: var(--display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(22px, 2.8vw, 32px);
    line-height: 1.35;
    color: var(--ink);
    margin-bottom: 30px;
    font-variation-settings: "opsz" 144;
  }
  .about-quote {
    border-left: 2px solid var(--green);
    padding: 6px 0 6px 24px;
    margin-top: clamp(28px, 4vw, 40px);
  }
  .about-quote .ar {
    font-family: var(--arabic);
    font-size: clamp(26px, 3.2vw, 36px);
    direction: rtl;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 700;
  }
  .about-quote .en {
    font-size: 14.5px;
    color: var(--ink-muted);
    font-style: italic;
    font-family: var(--display);
  }
  .about-quote .attr {
    font-family: var(--body);
    font-size: 11.5px;
    color: var(--ink-muted);
    margin-top: 8px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  /* ============================================
     FEATURES - alternating editorial sections, NO cards
  ============================================ */
  .features-intro {
    text-align: center;
    margin-bottom: clamp(56px, 8vw, 100px);
  }
  .features-intro .section-label {
    justify-content: center;
  }
  .features-intro .section-label::before { display: none; }
  .features-intro h2 { margin-left: auto; margin-right: auto; }
  .features-intro p { margin-left: auto; margin-right: auto; }

  .feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 100px);
    align-items: center;
    padding: clamp(40px, 6vw, 80px) 0;
  }
  .feature-section + .feature-section { border-top: 1px solid var(--line); }
  .feature-section.reverse .feature-text { order: 2; }
  .feature-section.reverse .feature-visual { order: 1; }
  @media (max-width: 920px) {
    .feature-section,
    .feature-section.reverse { grid-template-columns: 1fr; gap: clamp(36px, 5vw, 48px); }
    .feature-section.reverse .feature-text { order: 1; }
    .feature-section.reverse .feature-visual { order: 2; }
  }

  .feature-num {
    font-family: var(--arabic);
    font-size: clamp(56px, 7vw, 84px);
    color: var(--green);
    line-height: 1;
    margin-bottom: clamp(18px, 2.5vw, 28px);
    font-weight: 700;
    opacity: 0.85;
  }
  .feature-num .roman {
    font-family: var(--display);
    font-style: italic;
    font-size: 0.5em;
    color: var(--ink-muted);
    margin-left: 14px;
    vertical-align: 20%;
    font-weight: 400;
  }
  .feature-section h3 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.06;
    letter-spacing: -0.022em;
    margin: 0 0 18px;
    color: var(--ink);
    font-variation-settings: "opsz" 144, "SOFT" 30;
  }
  .feature-section h3 em { font-style: italic; color: var(--green-deep); font-weight: 500; }
  .feature-section .body p {
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0 0 24px;
    max-width: 460px;
  }
  .feature-section .body ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
  }
  .feature-section .body ul li {
    padding: 14px 0 14px 28px;
    border-bottom: 1px solid var(--line);
    position: relative;
    font-size: 15px;
    color: var(--ink);
    font-weight: 500;
  }
  .feature-section .body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px; height: 8px;
    background: var(--green);
  }

  /* Feature visual: mosque arch with content inside */
  .feature-visual {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 5 / 7;
  }
  .feature-visual .arch-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .feature-visual .arch-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45%;
    z-index: 2;
    text-align: center;
  }
  .feature-visual .arch-icon {
    width: clamp(64px, 9vw, 100px);
    height: clamp(64px, 9vw, 100px);
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
    border-radius: clamp(16px, 2vw, 22px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 15px 30px -10px var(--green-glow);
  }
  .feature-visual .arch-icon svg { width: 50%; height: 50%; }
  .feature-visual .arch-arabic {
    font-family: var(--arabic);
    font-size: clamp(22px, 2.5vw, 32px);
    color: var(--green-deep);
    font-weight: 700;
    line-height: 1.2;
  }

  /* ============================================
     SCREENSHOTS - phones inside mosque arches
  ============================================ */
  .screenshots {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    overflow: hidden;
    position: relative;
  }
  .screenshots .pattern-bg { opacity: 0.12; }
  .screenshots .wrap { position: relative; z-index: 2; }
  .screens-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(28px, 4vw, 40px);
    margin-top: clamp(48px, 6vw, 72px);
    justify-items: center;
  }
  .screen-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 340px;
  }
  .screen-card .arch-phone {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(20px, 2.5vw, 30px);
  }
  .screen-card .arch-phone .arch-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .screen-card .arch-phone .phone {
    width: 64%;
    transition: transform .35s ease;
  }
  .screen-card:hover .arch-phone .phone { transform: translateY(-4px); }
  .screen-card h4 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(22px, 2vw, 28px);
    margin: 0 0 6px;
    letter-spacing: -0.012em;
    font-variation-settings: "opsz" 144;
  }
  .screen-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14.5px;
    max-width: 260px;
    line-height: 1.55;
  }

  /* ============================================
     FAQ
  ============================================ */
  .faq-list {
    margin-top: clamp(36px, 5vw, 56px);
    border-top: 1px solid var(--line);
  }
  details {
    border-bottom: 1px solid var(--line);
    padding: clamp(20px, 2.5vw, 28px) 0;
  }
  details summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    font-family: var(--display);
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.3;
    color: var(--ink);
    letter-spacing: -0.012em;
    font-weight: 500;
    transition: color .2s ease;
    font-variation-settings: "opsz" 144;
  }
  details summary::-webkit-details-marker { display: none; }
  details summary:hover { color: var(--green-deep); }
  details summary::after {
    content: '';
    width: 24px; height: 24px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
    transform: rotate(45deg);
    transition: transform .25s ease;
    flex-shrink: 0;
    border-radius: 3px;
    position: relative;
  }
  details summary::before {
    content: '+';
    position: absolute;
    right: 5px;
    color: white;
    font-family: var(--body);
    font-weight: 400;
    font-size: 18px;
    width: 24px; height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-45deg);
    transition: transform .25s ease;
    pointer-events: none;
    z-index: 2;
    top: 50%;
    margin-top: -12px;
  }
  details[open] summary::after { transform: rotate(135deg); }
  details[open] summary::before { transform: rotate(-135deg) translate(0, 0); }
  details .answer {
    padding-top: 18px;
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.7;
    max-width: 820px;
  }
  details .answer p { margin: 0 0 12px; }
  details .answer p:last-child { margin-bottom: 0; }
  details .answer .formula {
    background: var(--green-tint);
    color: var(--green-dark);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 14px;
  }
  details .answer ul, details .answer ol {
    margin: 8px 0 16px;
    padding-left: 22px;
  }
  details .answer li { margin-bottom: 6px; }

  /* ============================================
     PRIVACY
  ============================================ */
  .privacy {
    background: var(--ink);
    color: #E8E2D0;
    position: relative;
    overflow: hidden;
  }
  .privacy .pattern-bg { opacity: 0.06; color: var(--gold-soft); }
  .privacy .wrap { position: relative; z-index: 2; }
  .privacy .section-label { color: var(--gold-soft); }
  .privacy .section-label::before { background: var(--gold-soft); }
  .privacy .section-title { color: white; }
  .privacy .section-title em { color: var(--gold-soft); }
  .privacy .section-lead { color: #B5AE96; }

  .privacy-grid {
    margin-top: clamp(40px, 6vw, 60px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
  }
  .privacy-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: clamp(24px, 3vw, 32px);
  }
  .privacy-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(21,109,58,0.2) 0%, rgba(21,109,58,0.04) 100%);
    border-color: rgba(192, 230, 204, 0.2);
  }
  .privacy-card .tag {
    display: inline-block;
    font-family: var(--body);
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 14px;
    font-weight: 600;
  }
  .privacy-card h3 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.22;
    margin: 0 0 12px;
    color: white;
    letter-spacing: -0.012em;
    font-variation-settings: "opsz" 144;
  }
  .privacy-card p {
    color: #B5AE96;
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0 0 10px;
  }
  .privacy-card ul {
    margin: 12px 0 0;
    padding-left: 20px;
    color: #B5AE96;
    font-size: 14px;
  }
  .privacy-card ul li { margin-bottom: 6px; }
  .privacy-card strong { color: white; font-weight: 600; }

  .privacy-full {
    margin-top: clamp(40px, 6vw, 60px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: clamp(28px, 4vw, 40px);
  }
  .privacy-full summary {
    color: white;
    font-size: clamp(18px, 1.8vw, 22px);
  }
  .privacy-full summary:hover { color: var(--gold-soft); }
  .privacy-full .answer { color: #B5AE96; font-size: 14.5px; }
  .privacy-full .answer h4 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(20px, 2vw, 24px);
    color: white;
    margin: 30px 0 10px;
    letter-spacing: -0.012em;
    font-variation-settings: "opsz" 144;
  }
  .privacy-full .answer h4:first-child { margin-top: 0; }
  .privacy-full .answer strong { color: white; font-weight: 600; }
  .privacy-full .answer ul { padding-left: 20px; }
  .privacy-full .answer ul li { margin-bottom: 6px; }
  .privacy-full .answer .last-updated {
    color: var(--gold-soft);
    font-size: 11.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: block;
    font-family: var(--body);
    font-weight: 600;
  }

  /* ============================================
     CTA BAND
  ============================================ */
  .cta-band {
    background: var(--bg-deep);
    padding: clamp(72px, 12vw, 140px) 0;
    text-align: center;
    border-top: 1px solid var(--line-soft);
    position: relative;
    overflow: hidden;
  }
  .cta-band .pattern-bg { opacity: 0.18; }
  .cta-band .wrap { position: relative; z-index: 2; }
  .cta-band .ar {
    font-family: var(--arabic);
    font-size: clamp(44px, 7vw, 76px);
    color: var(--green);
    opacity: 0.5;
    margin-bottom: 20px;
    line-height: 1;
    font-weight: 700;
  }
  .cta-band h2 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(34px, 5.5vw, 68px);
    line-height: 1.06;
    margin: 0 0 24px;
    letter-spacing: -0.022em;
    font-variation-settings: "opsz" 144, "SOFT" 30;
  }
  .cta-band h2 em { font-style: italic; color: var(--green-deep); font-weight: 500; }
  .cta-band p {
    font-size: clamp(16.5px, 1.4vw, 19px);
    color: var(--ink-soft);
    max-width: 540px;
    margin: 0 auto clamp(28px, 4vw, 40px);
  }

  /* ============================================
     FOOTER
  ============================================ */
  footer {
    background: var(--ink);
    color: #B5AE96;
    padding: clamp(50px, 7vw, 80px) 0 clamp(24px, 3vw, 36px);
    position: relative;
    overflow: hidden;
  }
  footer .pattern-bg { opacity: 0.05; color: var(--gold-soft); }
  footer .wrap { position: relative; z-index: 2; }
  .footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: clamp(28px, 4vw, 48px);
    padding-bottom: clamp(36px, 5vw, 50px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  @media (max-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 460px) { .footer-top { grid-template-columns: 1fr; } }
  .footer-brand .brand { color: white; margin-bottom: 16px; }
  .footer-brand p {
    font-size: 14px;
    line-height: 1.65;
    max-width: 340px;
    margin: 0;
  }
  .footer-col h5 {
    color: white;
    font-family: var(--body);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 18px;
  }
  .footer-col a {
    display: block;
    font-size: 14px;
    padding: 6px 0;
    color: #B5AE96;
    transition: color .2s ease;
  }
  .footer-col a:hover { color: var(--gold-soft); }
  .footer-bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: #807A66;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-bottom .ar {
    font-family: var(--arabic);
    color: var(--gold-soft);
    font-size: 18px;
    opacity: 0.7;
    font-weight: 700;
  }

  .site-credit-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: clamp(20px, 3vw, 28px) var(--pad-x) 0;
  }

  .site-credit {
    font-family: 'Libre Baskerville', serif;
    font-size: 0.95rem;
    font-style: italic;
    color: inherit;
    opacity: 0.6;
    text-decoration: none;
    border: 1px solid currentColor;
    padding: 2px 10px;
    border-radius: 2px;
    display: inline-block;
    transition: opacity 0.2s ease;
  }

  .site-credit:hover {
    opacity: 1;
  }

  /* ---------- additions for app.izzah.org ---------- */
  @media (max-width: 920px) { .screens-row { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .screens-row { grid-template-columns: 1fr; } }
  .privacy-link {
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: clamp(40px, 6vw, 60px);
    color: white; font-size: clamp(18px, 1.8vw, 22px);
    border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 4px;
  }
  .privacy-link:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
  .privacy-page .privacy-full { border-top: 0; padding-top: 0; margin-top: clamp(28px, 4vw, 40px); }
  .privacy-page { padding-top: calc(var(--gap-section) + 40px); }
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
  @media (max-width: 640px) { .privacy-grid { grid-template-columns: 1fr; } }
