/* IbadShafi website (rebuilt 2026-10-22 to match the app): each part of the app in its own colours and art, a real screen beside it. */
:root {
  --night: #0D0820; --night-2: #1B1440; --violet-night: #22185A;
  --ivory: #FAF6F0; --ink: #1B1530; --ink-soft: #5A5470; --line: rgba(27, 21, 48, 0.10);
  --moon: #EDE6F7; --moon-soft: rgba(237, 230, 247, 0.74);
  --gold: #D4A044; /* sacred only: the Quran */
  --violet: #7C3AED; --violet-soft: #EFE8FD;
  --red: #E6004C; --red-hot: #FF3D6E; --wine: #1A050C;
  --rose-ink: #4A2340; --rose: #C2577F; --rose-bg: #FBEFF3;
  --azure: #1F56D6; --azure-2: #3B7BF0;
  --lilac-bg: #F3EFFB; --lilac-ink: #2A1A4A;
  --sans: "Poppins", "Noto Sans Arabic", "Segoe UI", system-ui, -apple-system, sans-serif;
  --arabic: "Noto Sans Arabic", "Geeza Pro", "Segoe UI", sans-serif;
  --edge: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--ivory); line-height: 1.6; overflow-x: hidden; }
[dir="rtl"] body { font-family: var(--arabic); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--edge); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.saw { font-family: var(--arabic); font-size: 1.45em; line-height: 0; vertical-align: -0.12em; }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(13, 8, 32, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(255, 255, 255, 0.08); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #FFF; font-weight: 700; font-size: 18px; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: #FFF; background: rgba(255, 255, 255, 0.08); }
.langs { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.langs button { font: 600 12.5px/1 var(--sans); color: rgba(255, 255, 255, 0.78); background: none; border: 0; border-radius: 999px; padding: 8px 11px; cursor: pointer; min-height: 32px; }
.langs button[data-l="ar"] { font-family: var(--arabic); font-size: 13.5px; }
.langs button[aria-pressed="true"] { background: #FFF; color: var(--night); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); color: #FFF; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 24px 0 20px; border-radius: 16px; background: #000; color: #FFF; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.22); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.store small { font-size: 11.5px; opacity: 0.85; }
.store b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.ghost { display: inline-flex; align-items: center; gap: 8px; min-height: 58px; padding: 0 22px; border-radius: 999px; color: #FFF; text-decoration: none; font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.3); }
.ghost svg { width: 18px; height: 18px; }
[dir="rtl"] .ghost svg, [dir="rtl"] .arrow { transform: scaleX(-1); }

/* ---------- Hero: the night sky of the app's Home ---------- */
.hero { position: relative; min-height: clamp(640px, 100svh, 960px); color: #FFF; display: flex; align-items: center; overflow: hidden; background: var(--night); }
.hero .sky { position: absolute; inset: 0; background: url("art/sky-night.webp") center 30% / cover no-repeat; }
.hero .sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 8, 32, 0.25) 0%, rgba(13, 8, 32, 0.15) 45%, rgba(13, 8, 32, 0.92) 100%), linear-gradient(90deg, rgba(13, 8, 32, 0.7), rgba(13, 8, 32, 0) 60%); }
[dir="rtl"] .hero .sky::after { background: linear-gradient(180deg, rgba(13, 8, 32, 0.25) 0%, rgba(13, 8, 32, 0.15) 45%, rgba(13, 8, 32, 0.92) 100%), linear-gradient(270deg, rgba(13, 8, 32, 0.7), rgba(13, 8, 32, 0) 60%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 110px; padding-bottom: 80px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
[dir="rtl"] .kicker { letter-spacing: 0; font-size: 15px; text-transform: none; }
.hero .kicker { color: #C9B8FF; }
.hero h1 { margin-top: 14px; font-size: clamp(40px, 6.4vw, 76px); font-weight: 700; }
.hero .lead { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); color: var(--moon-soft); max-width: 34em; }
.hero .ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .trust { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--moon-soft); list-style: none; padding: 0; }
.hero .trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero .trust svg { width: 16px; height: 16px; color: #C9B8FF; }
.hero .media { justify-self: center; }

/* ---------- The phone: an iPhone (titanium edge, Dynamic Island, side buttons), 2026-10-22 ---------- */
.phone { position: relative; width: min(300px, 74vw); aspect-ratio: 390 / 844; border-radius: 52px; padding: 10px;
  background: linear-gradient(145deg, #8d8f97 0%, #3a3b41 12%, #121215 40%, #0b0b0d 70%, #4b4c53 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.28), inset 0 0 0 4px #050506, 0 30px 80px -20px var(--glow, rgba(124, 58, 237, 0.55)), 0 10px 24px -12px rgba(0,0,0,0.5); }
/* The recordings: shown like the screenshots; they carry their own Dynamic Island */
.phone video { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 43px; background: #111; display: block; }
.phone.vid .isl { display: none; }
.phone img[hidden], .phone video[hidden] { display: none; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 43px; background: #111; display: block; }
.phone .isl { position: absolute; top: 20px; left: 50%; width: 30%; height: 25px; transform: translateX(-50%); border-radius: 999px; background: #000; z-index: 2; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); }
.phone .isl::after { content: ""; position: absolute; right: 12%; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b3a55, #07090f 70%); }
/* The island scales with the phone, as on a real iPhone (126 x 37 pt, 11 pt down, on a 393 pt screen):
   at a fixed size it covered the circle's title on the duo's smaller phones (the user, 2026-10-22). */
@supports (container-type: inline-size) {
  .phone { container-type: inline-size; }
  .phone .isl { top: calc(10px + 2.8cqw); width: 32cqw; height: 9.4cqw; }
  .phone .isl::after { width: 2.6cqw; height: 2.6cqw; margin-top: -1.3cqw; }
}
.phone .sb { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #6e7078, #2c2d32); }
.phone .sb-a { left: -2.5px; top: 17%; height: 4.5%; }
.phone .sb-b { left: -2.5px; top: 25%; height: 8.5%; }
.phone .sb-c { left: -2.5px; top: 35.5%; height: 8.5%; }
.phone .sb-p { right: -2.5px; top: 28%; height: 13%; }
/* The duo: two iPhones side by side, the second a little lower */
.duo { display: flex; align-items: flex-start; justify-content: center; gap: clamp(14px, 3vw, 26px); }
.duo .phone { width: min(250px, 42vw); }
.duo .phone:nth-child(2) { margin-top: 44px; }

/* ---------- Feature sections ---------- */
.feat { position: relative; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.feat .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.feat.flip .copy { order: 2; }
.feat h2 { margin-top: 12px; font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; }
.feat .lead { margin-top: 18px; font-size: clamp(16.5px, 1.4vw, 18.5px); max-width: 32em; }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.points svg { width: 22px; height: 22px; margin-top: 2px; }
.points b { font-weight: 600; }
.media { position: relative; display: flex; justify-content: center; }
.media .art { position: absolute; width: clamp(110px, 14vw, 170px); height: auto; pointer-events: none; z-index: 3; }
.note { margin-top: 22px; font-size: 14.5px; }

/* Prayer: the day sky */
.prayer { background: #CFE3F7 url("art/sky-day.webp") center 20% / cover; color: #12233F; }
.prayer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(240, 247, 255, 0.92), rgba(240, 247, 255, 0.55) 55%, rgba(240, 247, 255, 0.1)); }
[dir="rtl"] .prayer::before { background: linear-gradient(270deg, rgba(240, 247, 255, 0.92), rgba(240, 247, 255, 0.55) 55%, rgba(240, 247, 255, 0.1)); }
.prayer .wrap { position: relative; }
.prayer .kicker, .prayer .points svg { color: #1F56D6; }
.prayer .lead { color: #33476A; }
.prayer .phone { --glow: rgba(31, 86, 214, 0.45); }
.prayer .art { inset-inline-start: -10px; bottom: 6%; }

/* Quran: ivory, the gold of the sacred */
.quran { background: radial-gradient(80% 60% at 70% 40%, #FFF8EA, var(--ivory)); }
.quran .kicker, .quran .points svg { color: #A87C28; }
.quran .lead { color: var(--ink-soft); }
.quran .phone { --glow: rgba(212, 160, 68, 0.5); }
.quran .art { inset-inline-end: -16px; bottom: 4%; width: clamp(140px, 17vw, 210px); }

/* Circle: the arena, burgundy and red */
.circle { background: radial-gradient(70% 60% at 75% 35%, rgba(230, 0, 76, 0.28), transparent 70%), linear-gradient(180deg, #2E0915, var(--wine) 60%, #120308); color: #FFF; }
.circle .tag { display: inline-block; padding: 7px 14px; background: var(--red); color: #FFF; font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; transform: skewX(-12deg); }
.circle .tag span { display: inline-block; transform: skewX(12deg); }
[dir="rtl"] .circle .tag { letter-spacing: 0; font-size: 15px; }
.circle h2 { font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(36px, 5vw, 62px); }
[dir="rtl"] .circle h2 { font-style: normal; text-transform: none; }
.circle .lead { color: rgba(255, 255, 255, 0.82); }
.circle .points svg { color: var(--red-hot); }
.circle .phone { --glow: rgba(255, 30, 90, 0.55); }
.game { margin-top: 30px; display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 18px 20px; border: 1.5px solid rgba(255, 61, 110, 0.45); border-radius: 20px; background: linear-gradient(135deg, rgba(90, 12, 42, 0.7), rgba(30, 5, 15, 0.85)); }
.game img { width: 100%; height: auto; }
.game h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 800; font-style: italic; text-transform: uppercase; }
[dir="rtl"] .game h3 { font-style: normal; text-transform: none; }
.game p { margin-top: 6px; color: rgba(255, 255, 255, 0.78); font-size: 15px; }
.safe { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }
.safe b { color: #FFF; font-weight: 600; }

/* Heal: rose */
.heal { background: radial-gradient(70% 60% at 25% 40%, #FFFFFF, var(--rose-bg)); color: var(--rose-ink); }
.heal .kicker, .heal .points svg { color: var(--rose); }
.heal .lead { color: #6E4A64; }
.heal .phone { --glow: rgba(194, 87, 127, 0.45); }
.heal .art.a1 { inset-inline-start: -6%; top: 6%; }
.heal .art.a2 { inset-inline-end: -4%; bottom: 8%; width: clamp(90px, 11vw, 130px); }
.doors { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.doors > span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 9px; border-radius: 999px; background: #FFF; border: 1px solid rgba(194, 87, 127, 0.22); font-size: 14.5px; font-weight: 500; }
[dir="rtl"] .doors > span { padding: 9px 9px 9px 14px; }
.doors img { width: 28px; height: 28px; object-fit: contain; }

/* Worship: azure */
.worship { background: linear-gradient(160deg, var(--azure-2), var(--azure) 55%, #163E9E); color: #FFF; }
.worship .kicker { color: #CFE0FF; }
.worship .lead { color: rgba(255, 255, 255, 0.86); }
.worship .points svg { color: #CFE0FF; }
.worship .phone { --glow: rgba(5, 20, 80, 0.6); }
.worship .art.a1 { inset-inline-end: -4%; top: 4%; }
.worship .art.a2 { inset-inline-start: -2%; bottom: 4%; }

/* Learn: lilac */
.learn { background: var(--lilac-bg); color: var(--lilac-ink); }
.learn .head { text-align: center; max-width: 720px; margin: 0 auto; }
.learn .kicker { color: var(--violet); }
.learn .lead { color: #5A4F78; margin-inline: auto; }
.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #FFF; border-radius: 22px; padding: 22px; border: 1px solid rgba(124, 58, 237, 0.10); }
.card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.card h3 { margin-top: 14px; font-size: 19px; font-weight: 600; }
.card p { margin-top: 6px; color: #5A4F78; font-size: 15px; line-height: 1.55; }
.learn .shots { margin-top: 56px; display: flex; justify-content: center; }
.learn .phone { --glow: rgba(124, 58, 237, 0.35); }

/* Made for you: the violet night of "Your day" */
.you { background: radial-gradient(70% 70% at 70% 30%, #3D2C8C, var(--violet-night) 55%, var(--night)); color: #FFF; }
.you .kicker { color: #C9B8FF; }
.you .lead { color: var(--moon-soft); }
.trio { margin-top: 30px; display: grid; gap: 14px; }
.trio div { padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); }
.trio h3 { font-size: 18px; font-weight: 600; }
.trio p { margin-top: 4px; color: var(--moon-soft); font-size: 15px; }
.you .phone { --glow: rgba(124, 58, 237, 0.6); }

/* Privacy */
.privacy { background: var(--ivory); padding: clamp(70px, 9vw, 110px) 0; }
.privacy .box { max-width: 860px; margin: 0 auto; text-align: center; }
.privacy .kicker { color: var(--violet); }
.privacy h2 { margin-top: 12px; font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
.privacy .lead { margin: 18px auto 0; color: var(--ink-soft); font-size: 18px; max-width: 40em; }
.pillars { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillars div { padding: 22px 18px; border-radius: 20px; background: #FFF; border: 1px solid var(--line); }
.pillars b { display: block; font-size: 18px; font-weight: 600; }
.pillars span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 14.5px; }
.textlink { display: inline-block; margin-top: 24px; color: var(--violet); font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; }

/* Free and Pro */
.plans { background: linear-gradient(180deg, var(--ivory), #F1ECFA); padding: clamp(70px, 9vw, 120px) 0; }
.plans .head { text-align: center; max-width: 720px; margin: 0 auto; }
.plans .kicker { color: var(--violet); }
.plans h2 { margin-top: 12px; font-size: clamp(30px, 4vw, 48px); font-weight: 700; }
.plans .lead { margin: 16px auto 0; color: var(--ink-soft); font-size: 17.5px; }
.cols { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 920px; margin-inline: auto; }
.plan { padding: 30px 28px; border-radius: 24px; background: #FFF; border: 1px solid var(--line); }
.plan.pro { background: linear-gradient(160deg, #2B1E6B, var(--violet-night) 60%, #150E3A); color: #FFF; border: 0; }
.plan h3 { font-size: 24px; font-weight: 700; }
.plan .sub { margin-top: 4px; font-size: 15px; color: var(--ink-soft); }
.plan.pro .sub { color: var(--moon-soft); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; }
.plan li svg { width: 20px; height: 20px; margin-top: 2px; color: var(--violet); }
.plan.pro li svg { color: #C9B8FF; }
.plan .fine { margin-top: 22px; font-size: 13.5px; color: var(--moon-soft); }

/* Last call */
.last { position: relative; color: #FFF; text-align: center; padding: clamp(90px, 12vw, 150px) 0; background: var(--night); overflow: hidden; }
.last .sky { position: absolute; inset: 0; background: url("art/sky-dawn.webp") center 60% / cover; opacity: 0.85; }
.last .sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 8, 32, 0.6), rgba(13, 8, 32, 0.35) 50%, rgba(13, 8, 32, 0.85)); }
.last .wrap { position: relative; }
.last img.icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto; }
.last h2 { margin-top: 22px; font-size: clamp(34px, 5vw, 60px); font-weight: 700; }
.last p { margin: 14px auto 0; color: var(--moon-soft); font-size: 18px; max-width: 30em; }
.last .store { margin-top: 30px; }

/* Footer */
.foot { background: var(--night); color: var(--moon-soft); padding: 46px 0 36px; font-size: 14.5px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; justify-content: space-between; }
.foot .brand { display: flex; gap: 12px; align-items: center; color: #FFF; font-weight: 600; }
.foot .brand img { width: 36px; height: 36px; border-radius: 9px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot nav a { color: var(--moon-soft); text-decoration: none; }
.foot nav a:hover { color: #FFF; }
.foot .copy { flex-basis: 100%; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13.5px; }
.foot .copy a { color: #FFF; }

/* Reveal on scroll (only when JS runs and motion is welcome) */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Simple pages (support, privacy, terms) ---------- */
.page { background: var(--ivory); min-height: 100vh; }
.page .top { background: var(--night); }
.page main { max-width: 800px; margin: 0 auto; padding: 120px var(--edge) 80px; }
.page h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 700; text-align: center; }
.page .date { margin-top: 8px; text-align: center; color: var(--ink-soft); font-size: 15px; }
.sheet { margin-top: 34px; background: #FFF; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); }
.sheet h3 { margin: 30px 0 10px; font-size: 17px; font-weight: 600; letter-spacing: 0; }
.sheet h3:first-child { margin-top: 0; }
.sheet p, .sheet li { color: #3F3A55; font-size: 15.5px; line-height: 1.8; margin: 0 0 10px; }
.sheet ul { padding-inline-start: 20px; margin: 0 0 8px; }
.sheet a { color: var(--violet); overflow-wrap: anywhere; }
.page-langs { display: flex; justify-content: center; margin-bottom: 22px; }
.page-langs .langs { background: rgba(27, 21, 48, 0.05); border-color: var(--line); }
.page-langs .langs button { color: var(--ink-soft); }
.page-langs .langs button[aria-pressed="true"] { background: var(--ink); color: #FFF; }
.mail { display: inline-block; margin-top: 10px; font-size: clamp(20px, 3vw, 26px); font-weight: 600; color: var(--violet); text-decoration: none; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; color: var(--violet); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; }

/* ---------- Narrow screens ---------- */
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 68px; inset-inline: 12px; flex-direction: column; padding: 10px; border-radius: 18px; background: rgba(13, 8, 32, 0.96); border: 1px solid rgba(255, 255, 255, 0.1); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .menu-btn { display: inline-flex; }
  .langs { margin-inline-start: auto; }
  .hero .wrap, .feat .wrap { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 100px; text-align: start; }
  .feat.flip .copy { order: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  :root { --edge: 16px; }
  .logo span { display: none; }
  .top .wrap { gap: 10px; }
  .langs button { padding: 8px 9px; }
  .store { width: 100%; justify-content: center; }
  .ghost { width: 100%; justify-content: center; }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 14px; border-radius: 18px; }
  .card h3 { font-size: 16.5px; }
  .card p { font-size: 14px; }
  .pillars, .cols { grid-template-columns: 1fr; }
  .game { grid-template-columns: 96px 1fr; padding: 14px; gap: 12px; }
  .media .art { width: 96px; }
  .quran .art { width: 120px; inset-inline-end: -6px; }
  /* Two iPhones on a phone (the user, 2026-10-22: "they look very poor on mobile"): each nearly half the
     screen, overlapping a little, the frame and corners scaled to that size instead of the desktop's. */
  .duo { gap: 0; }
  .duo .phone { width: 46.5vw; padding: 2.1vw; border-radius: 9vw; }
  .duo .phone img, .duo .phone video { border-radius: 7.2vw; }
  .duo .phone:nth-child(2) { margin-inline-start: -1.5vw; margin-top: 9vw; z-index: 1; }
  .duo .phone .isl { top: calc(2.1vw + 2.8cqw); }
}
