/* Zulpha website. Built from the Figma file "Zulpha — Landing Redesign",
   page "Landing v2 — Clean (Apple-style)": frames "Landing v2 (Desktop 1440)" and "Plans page (Desktop 1440)".
   Numbers in comments are the design's own (1440px wide frame). */

:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --faint: #b9b9be;
  --grey-bg: #f5f5f7;
  --line: #d2d2d7;
  --gold: #b0872e;
  --gold-text: #9a8466;
  --gold-soft: #c9b58f;
  --mark: #bba890;
  --green: #2fa36b;

  --inter: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --dm: "DM Sans", var(--inter);
  --cairo: "Cairo", "Segoe UI", Tahoma, sans-serif;

  /* One design pixel, scaled down on narrow screens (never below half size). */
  --u: clamp(0.5px, calc(100vw / 1440), 1px);
  --gutter: clamp(20px, 8.333vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 66px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: var(--inter); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.skip-link:focus { top: 12px; }
.wrap { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.center { text-align: center; }

/* Big two-tone headings: dark first line, grey second line (Inter 600). */
.display { font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.display .soft { display: block; color: var(--faint); }
.display-56 { font-size: clamp(36px, 3.889vw, 56px); line-height: 1.2857; }   /* 56 / 72 */
.lead-19 { font-size: clamp(17px, 1.32vw, 19px); color: var(--muted); }

/* ── Logo ─────────────────────────────────────────────────────────────── */
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lockup img { width: 22px; height: 26px; }
.lockup span { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.mark { display: block; margin-inline: auto; }

/* ── Store badges (161 × 56 and 170 × 56, radius 12) ───────────────────── */
.badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 13px; height: 56px; padding: 0 20px 0 20px;
  border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none;
  transition: transform .15s ease;
}
.badge:hover { transform: translateY(-1px); }
.badge.apple { width: 161px; }
.badge.play { width: 170px; }
.badge img { flex: none; }
.badge .t { display: flex; flex-direction: column; font-family: var(--dm); line-height: 1.15; white-space: nowrap; }
.badge small { font-size: 11px; }
.badge strong { font-size: 17px; font-weight: 600; }
.final .badge { border-radius: 14px; background: #141414; }

/* ── Phone mock: body 300 × 620 (radius 44), screen inset 12 (radius 34), island 90 × 26 at 22 ── */
.phone {
  --pw: 300px;
  position: relative; flex: none; width: var(--pw); height: calc(var(--pw) * 620 / 300);
  border-radius: calc(var(--pw) * 44 / 300); background: #141414;
}
.phone .screen {
  position: absolute; inset: calc(var(--pw) * 12 / 300);
  border-radius: calc(var(--pw) * 34 / 300); overflow: hidden;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .island {
  position: absolute; left: 50%; top: calc(var(--pw) * 22 / 300); transform: translateX(-50%);
  width: calc(var(--pw) * 90 / 300); height: calc(var(--pw) * 26 / 300); border-radius: 999px; background: #141414;
}

/* ── Nav (66 tall, white 80% with blur, hairline) ──────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50; height: 66px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.nav-links { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14px; color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; height: 33px; padding: 0 16px;
  border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none;
}
.btn-pill:hover { background: #000; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-only { display: none; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding-top: 110px; text-align: center; }                  /* mark at y 176 */
.hero .mark { width: 46px; height: 55px; }
.hero h1 {
  margin-top: 24px; font-size: clamp(52px, 6.667vw, 96px); line-height: 1; font-weight: 600; letter-spacing: -0.03em;
}
.hero h1 .grad {
  display: inline-block; padding-bottom: 0.08em; margin-bottom: -0.08em;
  background: linear-gradient(90deg, #a8916f, #c9b48f); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub { margin-top: 22px; font-size: clamp(18px, 1.667vw, 24px); line-height: 32px; letter-spacing: -0.005em; color: var(--muted); }
.hero .badges { margin-top: 23px; }
.see-how { display: inline-flex; gap: 6px; margin-top: 36px; font-size: 17px; line-height: 24px; font-weight: 500; color: var(--gold-text); text-decoration: none; }
.see-how:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Portrait arc: 7 cards, 190 wide (couple 330), gap 18, radius 32, centred on one line; frame 600 tall. */
.arc {
  display: flex; justify-content: center; align-items: center; gap: calc(18 * var(--u));
  height: calc(600 * var(--u)); margin-top: calc(75 * var(--u)); overflow: hidden;
}
.arc .card { position: relative; flex: none; width: calc(190 * var(--u)); border-radius: calc(32 * var(--u)); overflow: hidden; background: #eee; }
.arc .card img { width: 100%; height: 100%; object-fit: cover; }
.arc .h330 { height: calc(330 * var(--u)); }
.arc .h410 { height: calc(410 * var(--u)); }
.arc .h490 { height: calc(490 * var(--u)); }
.arc .couple { width: calc(330 * var(--u)); height: calc(580 * var(--u)); }
.caption {
  position: absolute; left: calc(141 * var(--u)); bottom: calc(23 * var(--u));
  display: inline-flex; align-items: center; gap: 8px; height: 37px; padding: 0 16px 0 16px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.caption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.trust { margin-top: 27px; font-size: 15px; line-height: 20px; color: var(--muted); }
.trust span { padding-inline: 13px; }

.statement { padding: 158px 0 140px; text-align: center; }
.statement h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1.264; font-weight: 600; letter-spacing: -0.025em; } /* 72 / 91 */
.statement p { max-width: 680px; margin: 30px auto 0; font-size: clamp(17px, 1.458vw, 21px); line-height: 1.4286; letter-spacing: -0.003em; color: var(--muted); }

/* ── Firasa (black, 2717 tall) ─────────────────────────────────────────── */
.firasa { background: #000; color: #fff; padding: 143px 0 138px; text-align: center; }
.kicker { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.18em; color: var(--gold-soft); text-transform: uppercase; }
.kicker [lang="ar"] { font-family: var(--cairo); letter-spacing: 0; }
.firasa h2 { margin-top: 25px; font-size: clamp(38px, 4.444vw, 64px); line-height: 1.328; font-weight: 600; letter-spacing: -0.025em; } /* 64 / 85 */
.firasa h2 .soft { display: block; color: rgba(255, 255, 255, 0.45); }
.firasa .intro { max-width: 720px; margin: 25px auto 0; font-size: clamp(17px, 1.389vw, 20px); line-height: 1.5; letter-spacing: -0.003em; color: rgba(255, 255, 255, 0.7); }
.scan { width: min(1180px, 100%); margin: 88px auto 0; }
.scan svg { display: block; width: 100%; height: auto; overflow: visible; }
.scan text { font-family: var(--inter); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 101px; text-align: left; }
.step { padding: 31px 32px 32px; min-height: 203px; border-radius: 24px; background: #17171a; }
.step .n { margin-top: 0; font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: 0.14em; color: var(--gold-soft); }
.step h3 { margin-top: 8px; font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -0.008em; }
.step p { margin-top: 10px; max-width: 322px; font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, 0.65); }

.insights { display: flex; justify-content: center; gap: 80px; margin-top: 64px; }
.insight { width: 300px; }
.insight .phone { box-shadow: 0 30px 60px rgba(10, 46, 38, 0.28); }
.insight h3 { margin-top: 17px; font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: 0.14em; color: var(--gold-soft); text-transform: uppercase; }
.insight p { margin-top: 14px; font-size: 15px; line-height: 18px; color: rgba(255, 255, 255, 0.65); }

.verse { margin-top: 93px; }
.verse .ar { font-family: var(--cairo); font-size: clamp(26px, 2.778vw, 40px); line-height: 60px; font-weight: 600; color: var(--gold-soft); }
.verse .en { margin-top: 22px; font-size: 17px; line-height: 24px; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.scholars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 12px; text-align: left; }
.scholars > div { border-top: 1px solid rgba(201, 181, 143, 0.4); padding-top: 20px; }
.scholars h3 { font-size: 18px; line-height: 24px; font-weight: 600; }
.scholars p { margin-top: 7px; max-width: 370px; font-size: 15px; line-height: 23px; color: rgba(255, 255, 255, 0.6); }
.firasa .disclaimer { margin-top: 63px; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, 0.45); }

/* ── Bento (grey, 1904 tall) ───────────────────────────────────────────── */
.bento { background: var(--grey-bg); padding: 142px 0 140px; }
.bento > .wrap > h2 { line-height: 64px; }
.tiles { display: grid; grid-template-columns: 780fr 400fr; gap: 20px; margin-top: 58px; }
.tiles-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.tile { position: relative; overflow: hidden; border-radius: 32px; background: #fff; }
.tile .k { margin-top: 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--gold-text); }
.tile h3 { margin-top: 8px; font-size: clamp(26px, 2.222vw, 32px); line-height: 37px; font-weight: 600; letter-spacing: -0.012em; }
.tile p { margin-top: 10px; font-size: 16px; line-height: 24px; letter-spacing: -0.002em; color: var(--muted); }
.tile-firasa { height: 600px; padding: 47px 48px; background: linear-gradient(150deg, #0b2e28, #14564a); color: #fff; }
.tile-firasa .k { color: #c9b48f; }
.tile-firasa p { color: #fff; max-width: 400px; }
.tile-firasa .ph-back { position: absolute; left: 470px; top: 80px; --pw: 246px; }
.tile-firasa .ph-front { position: absolute; left: 330px; top: 300px; --pw: 216px; }
.tile-profile { height: 600px; padding: 43px 40px; }
.tile-profile p { max-width: 300px; }
.tile-profile .phone { position: absolute; left: 80px; top: 290px; --pw: 240px; }
.tile-family { height: 560px; padding: 43px 44px; }
.call { display: grid; grid-template-columns: 300fr 190fr; gap: 12px; height: 290px; margin-top: 87px; }
.call .main { height: 100%; }
.call .side { display: grid; grid-template-rows: 135fr 143fr; gap: 12px; min-height: 0; }
.call .side .ph { min-height: 0; }
.call .ph { border-radius: 22px; overflow: hidden; background: #eee; }
.call .ph img { width: 100%; height: 100%; object-fit: cover; }
.tile-mahr { height: 560px; padding: 43px 44px; background: #f4efe7; }
.tile-mahr .copy { max-width: 300px; }
.tile-mahr .phone { position: absolute; left: 356px; top: 110px; --pw: 255px; }
.tile-halal { display: grid; grid-template-columns: 552px 1fr; margin-top: 20px; min-height: 300px; padding: 59px 48px 40px; }
.tile-halal p { max-width: 430px; }
.chat { display: flex; flex-direction: column; align-items: flex-start; padding-top: 11px; }
.bubble { display: inline-flex; align-items: center; height: 43px; padding: 0 18px; border-radius: 21.5px; font-size: 16px; white-space: nowrap; }
.bubble.in { background: #ededf0; color: var(--ink); }
.bubble.out { align-self: flex-start; margin: 23px 0 0 100px; background: var(--ink); color: #fff; }
.toggle-row { display: flex; align-items: center; gap: 10px; margin-top: 35px; font-size: 15px; font-weight: 500; color: var(--muted); }
.toggle { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--green); }
.toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; }

/* ── Decision report (white, 1184 tall) ───────────────────────────────── */
.decision { padding: 138px 0 139px; text-align: center; }
.decision .lead-19, .ummah .lead-19 { max-width: 680px; margin: 22px auto 0; line-height: 23px; }
.reports { display: grid; grid-template-columns: repeat(4, 276px); justify-content: center; gap: 28px; margin-top: 56px; }
.reports .phone { --pw: 276px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14); }
.reports h3 { margin-top: 13px; font-size: 18px; line-height: 24px; font-weight: 600; }
.reports p { margin-top: 12px; font-size: 15px; line-height: 20px; color: var(--muted); }

/* ── One ummah (white) ─────────────────────────────────────────────────── */
.ummah { padding: 138px 0 140px; text-align: center; }
.ummah .lead-19 { line-height: 29px; }
.faces { display: grid; grid-template-columns: repeat(8, 124px); justify-content: center; gap: 20px; margin-top: 56px; }
.faces img { width: 124px; height: 124px; border-radius: 50%; object-fit: cover; background: #eee; }

/* ── Pricing (white) ───────────────────────────────────────────────────── */
.pricing { padding: 138px 0 139px; text-align: center; border-top: 1px solid transparent; }
.pricing .lead { max-width: 680px; margin: 18px auto 0; font-size: 18px; line-height: 22px; color: var(--muted); }
.plan-cards { display: grid; grid-template-columns: repeat(2, 520px); justify-content: center; align-items: start; gap: 24px; margin-top: 48px; text-align: left; }
.plan { border-radius: 32px; padding: 49px 48px 47px 50px; }
.plan.gold { background: #fbf6ec; box-shadow: inset 0 0 0 1.5px rgba(176, 135, 46, 0.45); }
.plan.plat { background: linear-gradient(151deg, #17171a, #383845); color: #fff; padding-left: 48px; }
.plan .name { display: flex; align-items: center; gap: 10px; font-size: 28px; line-height: 34px; font-weight: 600; color: var(--gold); }
.plan.plat .name { color: #dbdbeb; }
.plan .tag { display: inline-flex; align-items: center; height: 23px; padding: 0 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; }
.plan .for { margin-top: 13px; font-size: 17px; line-height: 24px; color: var(--muted); }
.plan.plat .for { color: rgba(255, 255, 255, 0.7); }
.plan hr { margin: 12px 0 0; border: 0; height: 1px; background: rgba(29, 29, 31, 0.12); }
.plan.plat hr { background: rgba(255, 255, 255, 0.12); }
.plan ul { list-style: none; margin: 13px 0 0; padding: 0; display: grid; gap: 11px; }
.plan li { display: flex; align-items: center; gap: 12px; font-size: 17px; line-height: 24px; font-weight: 500; }
.plan li img { width: 18px; height: 18px; flex: none; }
.compare-link { display: inline-flex; gap: 6px; margin-top: 47px; font-size: 18px; line-height: 24px; font-weight: 500; color: #998566; text-decoration: none; }
.compare-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── FAQ (grey) ────────────────────────────────────────────────────────── */
.faq { background: var(--grey-bg); padding: 142px 0 140px; }
.faq h2 { line-height: 64px; }
.faq-list { width: min(820px, 100%); margin: 57px auto 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 83px; cursor: pointer; list-style: none;
  font-size: 21px; line-height: 28px; font-weight: 600; letter-spacing: -0.002em; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 18px; font-size: 26px; font-weight: 400; color: var(--muted); text-align: center; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 720px; padding: 0 0 26px; margin-top: -8px; font-size: 17px; line-height: 26px; color: var(--muted); }

/* ── Final call to action ──────────────────────────────────────────────── */
.final { padding: 160px 0 160px; text-align: center; }
.final .mark { width: 64px; height: 76px; }
.final h2 { margin-top: 29px; font-size: clamp(46px, 5.556vw, 80px); line-height: 1.025; font-weight: 600; letter-spacing: -0.03em; } /* 80 / 82 */
.final .ar { margin-top: 30px; font-family: var(--cairo); font-size: clamp(17px, 1.389vw, 20px); line-height: 30px; font-weight: 600; color: var(--gold-text); }
.final .ref { margin-top: 32px; font-size: 13px; line-height: 18px; color: var(--muted); }
.final .badges { margin-top: 27px; }

/* ── Footer (grey, 99 tall) ────────────────────────────────────────────── */
.footer { background: var(--grey-bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; min-height: 99px; width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; padding-block: 20px; }
.footer nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--muted); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* ── Plans page ────────────────────────────────────────────────────────── */
.plans-hero { padding: 110px 0 0; text-align: center; }
.plans-hero .mark { width: 46px; height: 55px; }
.plans-hero h1 { margin-top: 46px; }
.plans-hero .lead { margin-top: 19px; font-size: 18px; line-height: 22px; color: var(--muted); }
.plans-page .plan-cards { margin-top: 48px; }
.plans-page .plan { padding-bottom: 50px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 13px; }
.price b { font-size: 56px; line-height: 64px; font-weight: 600; letter-spacing: -0.025em; }
.price span { position: relative; top: 9px; font-size: 18px; color: var(--muted); }
.plan.plat .price span { color: rgba(255, 255, 255, 0.7); }
.lengths { margin-top: 17px; font-size: 14px; line-height: 18px; color: var(--muted); }
.lengths span { padding-inline: 9px; }
.plan.plat .lengths { color: rgba(255, 255, 255, 0.6); }
.plan .get { display: flex; align-items: center; justify-content: center; height: 51px; margin-top: 34px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 17px; font-weight: 500; text-decoration: none; }
.plan.plat .get { background: #fff; color: var(--ink); }
.compare { width: min(1064px, 100%); margin: 48px auto 0; padding: 45px 40px 24px; border-radius: 28px; background: var(--grey-bg); }
.compare table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 0; text-align: left; }
.compare thead th { height: 24px; line-height: 24px; font-weight: 600; }
.compare thead th.g { color: var(--gold); }
.compare .v { width: 200px; text-align: center; font-weight: 500; }
.compare .v.g { color: var(--gold); }
.compare tbody th { font-weight: 400; }
.compare tbody tr.row th, .compare tbody tr.row td { height: 52px; border-bottom: 1px solid rgba(29, 29, 31, 0.08); }
.compare tbody tr.group th { padding: 23.6px 0 7.4px; line-height: 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.compare tbody tr.group:first-child th { padding-top: 37.4px; }

/* ── Legal pages ───────────────────────────────────────────────────────── */
.legal { padding: 80px 0 140px; }
.legal article { width: min(760px, calc(100% - 2 * var(--gutter))); margin-inline: auto; font-size: 16px; line-height: 1.7; color: #333; }
.legal h1 { font-size: clamp(36px, 3.889vw, 56px); line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -0.012em; color: var(--ink); margin: 36px 0 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; color: var(--ink); }
.legal p, .legal ul, .legal ol { margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--gold); }
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px var(--gutter); }
.not-found h1 { margin: 12px 0 28px; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1240px) {
  .tiles, .tiles-2 { grid-template-columns: 1fr; }
  .tile-firasa .ph-back { left: auto; right: 40px; }
  .tile-firasa .ph-front { left: auto; right: 220px; }
  .tile-profile .phone { left: auto; right: 60px; top: 60px; }
  .tile-profile .copy { max-width: 46%; }
  .tile-mahr .phone { left: auto; right: -20px; }
  .tile-halal { grid-template-columns: 1fr 1fr; gap: 24px; }
  .bubble.out { margin-left: 40px; }
  .reports { grid-template-columns: repeat(2, 276px); row-gap: 40px; }
  .faces { grid-template-columns: repeat(4, 124px); }
  .plan-cards { grid-template-columns: minmax(0, 520px); }
  .insights { gap: 40px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 66px;
    padding: 8px var(--gutter) 16px; background: rgba(255, 255, 255, 0.97); box-shadow: 0 16px 24px -16px rgba(0, 0, 0, 0.2);
  }
  .nav.open .nav-links a { display: block; padding: 12px 0; font-size: 17px; }
  .steps, .scholars { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .insights { flex-direction: column; align-items: center; gap: 48px; }
  .tile-firasa { height: 640px; }
  .tile-firasa .ph-back { right: 16px; top: 250px; }
  .tile-firasa .ph-front { right: auto; left: 16px; top: 330px; }
  .tile-profile { height: auto; min-height: 640px; }
  .tile-profile .copy { max-width: none; }
  .tile-profile .phone { left: 50%; right: auto; top: 240px; transform: translateX(-50%); }
  .tile-mahr { height: 640px; }
  .tile-mahr .phone { left: 50%; right: auto; top: 250px; transform: translateX(-50%); }
  .tile-halal { grid-template-columns: 1fr; padding: 44px 28px; }
  .chat { padding-top: 28px; }
  .bubble { white-space: normal; height: auto; min-height: 43px; padding: 10px 18px; line-height: 1.35; max-width: 100%; }
  .bubble.out { margin-left: 24px; }
  .reports { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .reports .phone { --pw: min(276px, calc((100vw - 2 * var(--gutter) - 16px) / 2)); margin-inline: auto; }
  .faces { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .faces img { width: 100%; height: auto; aspect-ratio: 1; }
  .call { margin-top: 32px; }
  .call { height: auto; }
  .call .main { height: auto; aspect-ratio: 300 / 290; }
  .call .side { grid-template-rows: auto auto; }
  .call .side .ph:first-child { aspect-ratio: 190 / 135; }
  .call .side .ph:last-child { aspect-ratio: 190 / 143; }
  .compare { padding: 28px 20px 16px; }
  .compare .v { width: 92px; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding-block: 28px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 64px; }
  .caption { left: 50%; transform: translateX(-50%); font-size: 12px; height: 30px; padding: 0 10px; gap: 6px; bottom: 12px; }
  .statement { padding: 96px 0 96px; }
  .firasa, .bento, .decision, .ummah, .pricing, .faq, .final { padding-top: 88px; padding-bottom: 88px; }
  .trust span { display: block; padding: 4px 0; }
  .trust .dot { display: none; }
  .tile { border-radius: 24px; }
  .tile-firasa, .tile-profile, .tile-family, .tile-mahr { padding: 32px 24px; }
  .tile-firasa .ph-back { --pw: 190px; }
  .tile-firasa .ph-front { --pw: 168px; top: 360px; }
  .plan { padding: 36px 24px 32px; }
  .plan .name { font-size: 24px; flex-wrap: wrap; }
  .price b { font-size: 44px; }
  .badges { flex-direction: column; align-items: center; }
  .final h2 { font-size: 44px; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plan-small { width: min(1064px, calc(100% - 2 * var(--gutter))); margin: 24px auto 98px; font-size: 13px; line-height: 18px; color: var(--muted); text-align: center; }
.lang { font-family: var(--cairo); font-size: 14px; color: var(--muted); text-decoration: none; }
.lang:hover { color: var(--ink); }
.nav-right { gap: 20px; }
@media (max-width: 860px) { .lang { display: none; } }
