/* Ouird website. Night blue and gold, like the app. */
:root {
  --bg: #060b20; --bg2: #0a1430; --navy: #101c4d; --card: rgba(18, 32, 74, 0.62);
  --gold: #e9c46a; --gold2: #f3dc9b; --text: #efe6d2; --muted: #a3a9c9; --line: rgba(233, 196, 106, 0.18);
  --display: 'Marcellus', Georgia, serif; --serif: 'Cormorant Garamond', Georgia, serif; --ui: 'Inter', system-ui, -apple-system, sans-serif;
  --quran: 'Amiri Quran', 'Amiri', serif;
  --wrap: min(1200px, 100% - 48px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--bg); color: var(--text); font-family: var(--ui); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: #1b1608; }
.wrap { width: var(--wrap); margin: 0 auto; }
.narrow { width: min(820px, 100% - 48px); }
.center { text-align: center; }
.sr, .hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: #1b1608; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

/* the night behind everything */
.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 80% at 75% -10%, #22357d 0%, #101c4d 38%, var(--bg) 75%); }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='66' height='66'%3E%3Cg fill='none' stroke='%23e9c46a' stroke-opacity='0.05' stroke-width='0.8'%3E%3Crect x='18' y='18' width='30' height='30'/%3E%3Crect x='18' y='18' width='30' height='30' transform='rotate(45 33 33)'/%3E%3Ccircle cx='33' cy='33' r='7'/%3E%3C/g%3E%3C/svg%3E"); }

/* type */
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; color: var(--text); }
h1 { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.02; }
h2 { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.05; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold2); }
h3 { font-size: 19px; font-weight: 600; color: var(--text); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 560px; margin-top: 22px; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; }
.goldi { font-family: var(--serif); font-style: italic; color: var(--gold2); }
.muted { color: var(--muted); }
.ref { font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--gold); margin-left: 10px; white-space: nowrap; }

/* buttons */
.btn { --c: var(--gold); display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border: 0; border-radius: 999px;
  background: linear-gradient(180deg, #f6dd98, #e2b75a); color: #1b1608; font: 600 15px var(--ui); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(233, 196, 106, .55), inset 0 1px 0 rgba(255, 255, 255, .5); transition: box-shadow .3s; will-change: transform; }
.btn:hover { box-shadow: 0 16px 40px -10px rgba(233, 196, 106, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.big { height: 60px; padding: 0 36px; font-size: 17px; margin-top: 34px; }
.btn.ghost { background: transparent; color: var(--gold2); border: 1px solid var(--line); box-shadow: none; }

/* header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px 0; transition: background .4s, backdrop-filter .4s, padding .4s; }
.top.scrolled { background: rgba(6, 11, 32, .72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); padding: 10px 0; border-bottom: 1px solid rgba(233, 196, 106, .1); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); letter-spacing: .3em; font-size: 15px; color: var(--gold2); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.pillnav { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(18, 32, 74, .5); border: 1px solid rgba(233, 196, 106, .12); backdrop-filter: blur(10px); }
.pillnav a { padding: 8px 15px; border-radius: 999px; font-size: 14px; color: var(--muted); text-decoration: none; transition: color .25s, background .25s; }
.pillnav a:hover { color: var(--text); background: rgba(233, 196, 106, .1); }
.top .btn { height: 42px; padding: 0 20px; font-size: 14px; }

/* the opening */
.loader { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; align-content: center; gap: 14px; background: var(--bg); }
.loader-star { width: 92px; height: 92px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linejoin: round; }
.loader-name { font-family: var(--quran); font-size: 40px; color: var(--gold2); opacity: 0; }
html:not(.js) .loader { display: none; }

/* soft light that follows the mouse (desktop only) */
.cursor { position: fixed; top: 0; left: 0; z-index: 1; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(243, 220, 155, .07), transparent 62%); opacity: 0; transition: opacity .6s; }
@media (hover: hover) and (pointer: fine) { .cursor.on { opacity: 1; } }

/* ---------- the phone: an iPhone 17, true to size ---------- */
/* screen 1206 x 2622 (402 x 874 pt); the body adds an even bezel; corners follow the screen's 55 pt radius */
.device { --w: 320px; position: relative; width: var(--w); padding: calc(var(--w) * .036); border-radius: calc(var(--w) * .175);
  background: linear-gradient(145deg, #3a4160, #12172a 40%, #070a14 60%, #2a3048);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 0 0 calc(var(--w) * .006) #05070e, 0 60px 120px -30px rgba(0, 0, 0, .8), 0 30px 80px -40px rgba(233, 196, 106, .35);
  transform-style: preserve-3d; }
.device::after { content: ''; position: absolute; inset: calc(var(--w) * .012); border-radius: calc(var(--w) * .163); pointer-events: none;
  box-shadow: inset 0 0 0 calc(var(--w) * .024) #000; }
.screen { position: relative; aspect-ratio: 1206 / 2622; border-radius: calc(var(--w) * .137); overflow: hidden; background: #000; z-index: 1; }
.screen img { width: 100%; height: 100%; object-fit: cover; }
.screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .12), transparent 28%, transparent 72%, rgba(255, 255, 255, .04)); }
.stack img { position: absolute; inset: 0; opacity: 0; }
.stack img:first-child { opacity: 1; }
/* side buttons */
.device span { position: absolute; background: linear-gradient(90deg, #1a1f30, #3b4260); border-radius: 2px; width: calc(var(--w) * .012); }
.btn-action { left: calc(var(--w) * -.009); top: 18%; height: 5%; }
.btn-vol1 { left: calc(var(--w) * -.009); top: 26%; height: 9%; }
.btn-vol2 { left: calc(var(--w) * -.009); top: 37%; height: 9%; }
.btn-power { right: calc(var(--w) * -.009); top: 28%; height: 13%; }

/* ---------- 1. hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.verse { margin-bottom: 28px; }
.verse .ar { font-family: var(--quran); font-size: clamp(26px, 2.6vw, 36px); color: var(--gold2); line-height: 1.9; text-align: left; }
.verse figcaption { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); }
.waitlist { display: flex; gap: 8px; margin-top: 34px; padding: 6px; max-width: 520px; border-radius: 999px; background: rgba(18, 32, 74, .6); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.waitlist input { flex: 1; min-width: 0; padding: 0 20px; border: 0; background: transparent; color: var(--text); font: 16px var(--ui); outline: none; }
.waitlist input::placeholder { color: rgba(239, 230, 210, .7); }
.waitlist:focus-within { border-color: rgba(233, 196, 106, .6); box-shadow: 0 0 0 4px rgba(233, 196, 106, .12), 0 10px 40px rgba(233, 196, 106, .12); }
.waitlist { transition: border-color .3s, box-shadow .3s; }
.waitlist.done { justify-content: center; padding: 18px; font-weight: 500; color: var(--gold2); }
.hero-phone { position: relative; display: grid; place-items: center; perspective: 1400px; }
.hero-phone .device { --w: min(330px, 70vw); }
.halo { position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(233, 196, 106, .22), rgba(74, 100, 200, .14) 40%, transparent 68%); filter: blur(10px); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--line); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }


/* ---------- 1 + 2. the journey: one phone that stays while the text scrolls ---------- */
.journey { padding: 0; }
.journey-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
.panel { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.journey .hero { padding: 120px 0 80px; }
.journey .intro { min-height: 70vh; }
.journey .steps { margin: 0; }
.journey .step { min-height: 80vh; }
.journey-phone { position: relative; }
.phone-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; align-content: center; gap: 22px; perspective: 1400px; }
.phone-stage .device { --w: clamp(220px, min(30vw, calc((100vh - 170px) / 2.15)), 330px); }
.phone-mover { position: relative; display: grid; place-items: center; gap: 22px; transform-style: preserve-3d; will-change: transform; }
.phone-mover .halo { width: 150%; }
/* the screen changes with a gold wipe and a light sweeping across the glass */
.sweep { position: absolute; inset: -10% -60%; z-index: 2; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 240, 200, .28) 50%, transparent 60%); }
.phone-stage { padding-top: 56px; }
.words-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.words-copy .ayah-demo { justify-content: flex-start; gap: clamp(6px, 1.2vw, 22px); margin: 50px 0 34px; }
.words-phone { position: relative; display: grid; place-items: center; align-self: start; position: sticky; top: 14vh; perspective: 1400px; }
.words-phone .device { --w: clamp(200px, min(26vw, calc((100vh - 200px) / 2.15)), 300px); }
.words-phone .halo { position: absolute; width: 140%; }
.words-copy .ayah-demo .w { font-size: clamp(40px, 4.6vw, 70px); }
.words-copy .ayah-meaning { text-align: left; margin-top: 60px; }
.words-copy .trio { grid-template-columns: 1fr; gap: 12px; margin-top: 50px; }

/* ---------- 2. marquee ---------- */
.marquee { overflow: hidden; display: grid; gap: 14px; padding: 26px 0; border-block: 1px solid rgba(233, 196, 106, .1); background: rgba(6, 11, 32, .4); }
.marquee-track { display: flex; width: max-content; gap: 0; align-items: center; font-family: var(--quran); font-size: clamp(28px, 3vw, 40px); color: var(--gold2); white-space: nowrap; }
.marquee-track.two { font-size: clamp(22px, 2.2vw, 30px); opacity: .55; }
.marquee-track > * { margin-inline: 17px; }
.marquee-track span { line-height: 1.7; }
.marquee-track i { font-style: normal; font-size: 14px; color: var(--gold); opacity: .6; }

/* ---------- sections ---------- */
section { position: relative; padding: clamp(90px, 12vw, 160px) 0; }
.glass { padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid rgba(233, 196, 106, .14); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); transition: border-color .3s, transform .4s; }
.glass:hover { border-color: rgba(233, 196, 106, .35); }
.glass p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* ---------- 3. the lesson ---------- */
.lesson-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.steps { list-style: none; margin-top: 30px; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-left: 26px; border-left: 1px solid rgba(233, 196, 106, .14); opacity: .3; transition: opacity .5s, border-color .5s; }
.step.on { opacity: 1; border-color: var(--gold); }
.step .num { font-family: var(--display); font-size: 15px; color: var(--gold); letter-spacing: .2em; }
.step h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); margin-top: 10px; }
.step p { color: var(--muted); margin-top: 12px; max-width: 460px; }
.lesson-phone { position: sticky; top: 12vh; display: grid; place-items: center; gap: 22px; }
.lesson-phone .device { --w: min(320px, 70vw); }
.lesson-progress { width: 180px; height: 3px; border-radius: 2px; background: rgba(239, 230, 210, .12); overflow: hidden; }
.lesson-progress span { display: block; height: 100%; width: 0; background: var(--gold); }

/* ---------- 4. word by word ---------- */
.words h2 { max-width: 900px; }
.ayah-demo { display: flex; flex-wrap: wrap; justify-content: center; min-height: 1.6em; gap: clamp(10px, 2vw, 26px); margin: 70px 0 10px; }
.ayah-demo .w { position: relative; display: inline-flex; flex-direction: column; align-items: center; font-family: var(--quran); font-size: clamp(46px, 7vw, 92px); line-height: 1.75; color: rgba(239, 230, 210, .28); transition: color .35s, text-shadow .35s; padding: 0 6px; }
.ayah-demo .w.on { color: var(--gold2); text-shadow: 0 0 40px rgba(233, 196, 106, .45); }
.ayah-demo .w::after { content: attr(data-tr) "\A" attr(data-en); white-space: pre-line; width: 7.4em; margin-top: 6px; transform: translateY(6px); direction: ltr;
  font: 500 12px/1.4 var(--ui); color: var(--gold); text-align: center; opacity: 0; transition: opacity .35s, transform .35s; }
.ayah-demo .w.on::after { opacity: 1; transform: translateY(0); }
.ayah-meaning { text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 26px); color: var(--text); margin-top: 70px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 80px; }

/* ---------- 5. sky map ---------- */
.skymap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.spiral-wrap { position: relative; width: 100%; max-width: min(560px, calc(100vh - 190px)); justify-self: center; }
.spiral { width: 100%; aspect-ratio: 1; display: block; }
.anno { position: absolute; font-size: 13px; font-weight: 500; color: var(--gold2); line-height: 1.35; white-space: nowrap; pointer-events: none; }
.anno .tick { display: inline-block; width: 46px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); vertical-align: middle; margin: 0 10px; }
.a-centre { left: 50%; top: 50%; transform: translate(0, -50%); padding-left: 8px; }
.a-centre .tick { margin-left: 0; }
.a-edge { left: -4%; top: 0; text-align: left; }
.a-edge .tick { width: 30px; }
.a-mid { left: 50%; bottom: 26%; transform: translateX(-50%); color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 980px) { .a-edge { right: auto; left: 0; top: -34px; text-align: left; } .a-edge br { display: none; } .a-edge .tick { display: none; } }
.example { margin-top: 34px; padding: 22px 24px; border-radius: 22px; background: var(--card); border: 1px solid rgba(233, 196, 106, .16); max-width: 460px; }
.ex-label { font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.ex-what { color: var(--muted); font-size: 15px; margin-top: 4px; }
.legend { display: flex; gap: 18px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.gold { background: var(--gold2); box-shadow: 0 0 8px rgba(243, 220, 155, .8); }
.dot.faint { background: rgba(255, 247, 224, .3); }
.counter { display: flex; align-items: baseline; gap: 12px; }
.counter b { font-family: var(--display); font-weight: 400; font-size: clamp(54px, 6vw, 84px); color: var(--gold2); font-variant-numeric: tabular-nums; }
.counter span { color: var(--muted); }

/* ---------- 6. stories rail ---------- */
.stories { padding: clamp(80px, 9vw, 120px) 0 60px; }
.stories .lead { margin-top: 14px; }
.rail { overflow: hidden; margin-top: 40px; }
.rail-track { display: flex; gap: 22px; width: max-content; padding: 10px max(24px, calc((100vw - 1200px) / 2)); }
.story { position: relative; width: clamp(250px, 22vw, 310px); aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(90% 60% at 70% 18%, rgba(243, 220, 155, .25), transparent 60%), linear-gradient(180deg, #22337a, #15215a 40%, #0c1538 75%, #060b20);
  border: 1px solid rgba(233, 196, 106, .18); }
.story::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(1.2px 1.2px at 20% 30%, #fff7e0, transparent), radial-gradient(1px 1px at 70% 60%, #fff7e0, transparent),
  radial-gradient(1.4px 1.4px at 40% 12%, #fff7e0, transparent), radial-gradient(1px 1px at 85% 40%, #fff7e0, transparent), radial-gradient(1.2px 1.2px at 12% 55%, #fff7e0, transparent); opacity: .7; }
.story::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, transparent, rgba(6, 11, 32, .85)); }
.story .art { position: absolute; left: 8%; right: 8%; top: 9%; width: 84%; height: auto; z-index: 1; overflow: visible;
  fill: none; stroke: #f3dc9b; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.story .art .fill { fill: #f3dc9b; stroke: none; }
.story .art .dim { opacity: .45; }
.story .art .thin { stroke-width: 1.1; }
.story .art .band { stroke: #e9c46a; stroke-width: 3; }
.story .art .glowfill { fill: url(#cavelight); }
.story:hover .art { transform: translateY(-6px) scale(1.04); }
.s-text { position: relative; z-index: 1; }
.s-line { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.story h3, .story p { position: relative; z-index: 1; }
.story h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 26px; line-height: 1.1; color: #f7efd9; }
.s-ref { font-size: 11px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }

/* ---------- 7. features ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }

/* ---------- 8. price ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 20px; margin-top: 60px; }
.plan { position: relative; padding: 34px; border-radius: 28px; background: var(--card); border: 1px solid rgba(233, 196, 106, .16); text-align: center; }
.plan.best { border-color: var(--gold); box-shadow: 0 30px 80px -40px rgba(233, 196, 106, .5); }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: var(--gold); color: #1b1608; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.plan .amount { font-family: var(--display); font-size: 52px; color: var(--gold2); margin-top: 10px; }
.plan .amount span { font-family: var(--ui); font-size: 16px; color: var(--muted); }
.plan .per { color: var(--muted); font-size: 14px; }
.price h2 { text-align: center; } .price .label { text-align: center; }

/* ---------- 9. FAQ ---------- */
.faq { margin-top: 50px; }
.faq details { border-bottom: 1px solid rgba(233, 196, 106, .14); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 19px; font-weight: 500; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 26px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 700px; }

/* ---------- 10. final ---------- */
.final { padding-bottom: 120px; }
.final-star { width: 80px; height: 80px; margin: 0 auto 30px; fill: none; stroke: var(--gold); stroke-width: 2; }
.final .lead { margin: 22px auto 0; }

.foot { padding: 50px 0 60px; border-top: 1px solid rgba(233, 196, 106, .1); }
.foot .wrap { display: grid; gap: 18px; justify-items: center; text-align: center; }
.foot nav { display: flex; gap: 24px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--gold2); }

/* ---------- legal pages (privacy, support) ---------- */
.page { width: min(760px, 100% - 48px); margin: 0 auto; padding: 140px 0 100px; }
.page h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 20px; }
.page h2 { font-size: 26px; margin: 40px 0 10px; }
.page p, .page li { color: var(--muted); margin-top: 10px; }
.page ul { padding-left: 20px; }
.page a { color: var(--gold2); }

/* ---------- motion helpers ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); }
.split .line { display: block; overflow: hidden; padding-bottom: .06em; }

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .pillnav { display: none; }
  .journey-grid, .skymap-grid, .words-grid { grid-template-columns: 1fr; }
  .words-phone { position: relative; top: 0; }
  .words-phone .device { --w: min(280px, 64vw); }
  .words-copy .ayah-demo { justify-content: center; }
  .words-copy .ayah-meaning { text-align: center; }
  .journey-grid { gap: 0; }
  .journey-copy { display: contents; }
  .journey-grid { grid-template-rows: auto auto auto; }
  .journey .hero { grid-row: 1; padding: 110px 0 30px; min-height: auto; }
  .journey-phone { grid-row: 2 / 4; grid-column: 1; align-self: stretch; }
  .phone-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: 30px; }
  .phone-stage .device { --w: clamp(190px, min(66vw, calc((100svh - 120px) / 2.15)), 300px); }
  .journey .intro, .journey .steps { grid-column: 1; position: relative; z-index: 2; }
  .journey .intro { grid-row: 2; margin-top: 70svh; }
  .journey .steps { grid-row: 3; padding-bottom: 40svh; }
  .journey .intro, .journey .step {
    min-height: auto; margin-bottom: 75svh; padding: 22px 22px 24px; border-radius: 24px; opacity: 1;
    background: rgba(10, 18, 48, .82); border: 1px solid rgba(233, 196, 106, .2);
    backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
  .journey .step:last-child { margin-bottom: 0; }
  .journey .intro h2 { font-size: clamp(30px, 8vw, 40px); }
  .lesson-progress { display: none; }
  .step { opacity: 1; }
  .trio, .grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  /* on phones: the email gets its own clear box (with an envelope), the button sits under it */
  .waitlist { flex-direction: column; gap: 10px; padding: 0; border: 0; border-radius: 0; background: none; backdrop-filter: none; width: 100%; }
  .waitlist:focus-within { box-shadow: none; }
  .waitlist input { flex: none; height: 58px; padding: 0 18px 0 50px; border-radius: 18px; font-size: 17px;
    background: rgba(239, 230, 210, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23e9c46a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E") no-repeat 18px center;
    border: 1.5px solid rgba(233, 196, 106, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); transition: border-color .25s, box-shadow .25s, background-color .25s; }
  .waitlist input:focus { border-color: var(--gold); background-color: rgba(239, 230, 210, .12); box-shadow: 0 0 0 4px rgba(233, 196, 106, .18); }
  .waitlist .btn { width: 100%; height: 56px; justify-content: center; }
  .top .btn { display: none; }
  .ayah-demo .w::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- the interactive spiral ---------- */
.picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; max-width: 520px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(233, 196, 106, .22); background: rgba(18, 32, 74, .55); color: var(--muted);
  font: 500 14px var(--ui); cursor: pointer; transition: color .25s, background .25s, border-color .25s, transform .25s; }
.chip:hover { color: var(--text); border-color: rgba(233, 196, 106, .5); transform: translateY(-1px); }
.chip.on { background: linear-gradient(180deg, #f6dd98, #e2b75a); color: #1b1608; border-color: transparent; font-weight: 600; }
.example { margin-top: 18px; }
.legend .hint { margin-left: auto; color: var(--gold); opacity: .8; }
.spiral { cursor: crosshair; }
.sky-tip { position: absolute; left: 0; top: 0; padding: 7px 12px; border-radius: 10px; background: rgba(6, 11, 32, .92); border: 1px solid rgba(233, 196, 106, .35);
  font-size: 13px; color: var(--text); white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, -140%); transition: opacity .15s; }
.sky-tip b { color: var(--gold2); font-weight: 600; }
.sky-tip.show { opacity: 1; }

/* ---------- try it ---------- */
.try-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.try-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; max-width: 480px; }
.try-btn { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(233, 196, 106, .16); background: rgba(18, 32, 74, .5);
  color: var(--text); font: 500 14px var(--ui); cursor: pointer; white-space: nowrap; transition: background .3s, border-color .3s, color .3s, transform .2s; }
.try-btn:hover { border-color: rgba(233, 196, 106, .45); }
.try-btn.on { background: var(--gold); border-color: var(--gold); color: #1b1608; }
.try-cap { margin-top: 16px; min-height: 1.4em; font-size: 14.5px; color: var(--muted); }
.try-phone { position: relative; display: grid; place-items: center; gap: 14px; perspective: 1400px; }
.try-phone .device { --w: clamp(220px, min(74vw, calc((100vh - 200px) / 2.15)), 330px); }
.try-phone .halo { position: absolute; width: 130%; }
.tabhits { position: absolute; left: 6%; right: 6%; bottom: 2.6%; height: 7%; display: grid; grid-template-columns: repeat(4, 1fr); z-index: 3; }
.tabhits button { border: 0; background: transparent; cursor: pointer; border-radius: 999px; transition: background .2s; }
.tabhits button:hover { background: rgba(243, 220, 155, .10); }
.tap-hint { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); opacity: .8; }
@media (max-width: 980px) {
  .try-grid { grid-template-columns: 1fr; gap: 18px; }
  .try-copy { text-align: center; }
  .try-copy .lead { display: none; }
  .try-list { justify-content: center; max-width: 520px; margin: 18px auto 0; gap: 6px; }
  .try-btn { padding: 8px 13px; font-size: 13px; }
  .try-cap { margin-top: 10px; font-size: 13px; }
  .try-phone .device { --w: clamp(190px, min(70vw, calc((100svh - 330px) / 2.15)), 300px); }
  .tap-hint { display: none; }
  .legend .hint { display: none; }
}

/* ---------- press feedback: everything you can tap answers your finger ---------- */
.btn, .chip, .try-btn, .faq summary, .pillnav a { -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97) !important; }
.chip:active, .try-btn:active { transform: scale(.97); }
.faq details { overflow: hidden; }
.faq .ans { overflow: hidden; }
.faq summary { transition: color .25s; }
.faq summary:hover { color: var(--gold2); }

/* nothing on the site can be selected or dragged (the email box still works) */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
img, svg, canvas { -webkit-user-drag: none; user-drag: none; }
input, textarea { -webkit-user-select: text; user-select: text; }

/* ---------- try it free ---------- */
.free .lead { margin: 22px auto 0; }

/* the spiral and its buttons always on one screen */
.skymap { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 90px 0 50px; }
.skymap h2 { font-size: clamp(34px, 4.4vw, 60px); }
.skymap .lead { font-size: 16px; margin-top: 14px; }
.skymap .picker { margin-top: 22px; }
@media (max-width: 980px) {
  .skymap { padding: 80px 0 40px; }
  .skymap-grid > div:first-child { display: contents; }
  .skymap-grid { gap: 0; }
  .skymap .label { order: 1; margin-bottom: 8px; }
  .skymap h2 { order: 2; font-size: clamp(28px, 7.4vw, 40px); }
  .spiral-wrap { order: 3; max-width: min(88vw, 44svh); margin: 14px auto 0; }
  .skymap .picker { order: 4; flex-wrap: nowrap; overflow-x: auto; max-width: none; margin: 14px -24px 0; padding: 2px 24px 6px; scrollbar-width: none; }
  .skymap .picker::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .skymap .example { order: 5; margin-top: 10px; padding: 14px 18px; max-width: none; }
  .skymap .counter b { font-size: 40px; }
  .skymap .lead { order: 6; }
  .anno { display: none; }
}

/* no scrollbars anywhere on the site: everything moves with the page itself */
html { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
.rail, .try-list, .picker { scrollbar-width: none; }
.rail::-webkit-scrollbar, .try-list::-webkit-scrollbar, .picker::-webkit-scrollbar { display: none; }
.rail { overflow: hidden !important; }
@media (max-width: 980px) {
  .stories { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 70px 0 40px; }
  .stories .lead { display: none; }
  .story { width: min(72vw, 300px); }
  .rail-track { padding: 10px 24px; }
}

/* the glows behind the phones may spread past the edges, but never make the page scroll sideways */
main, .foot { overflow-x: clip; }

/* the quick fade used when jumping far up or down the page */
.curtain { position: fixed; inset: 0; z-index: 45; background: radial-gradient(ellipse at 50% 30%, #0d1838, var(--bg) 70%); opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- dhikr & duas: a tasbih you can tap ---------- */
.dhikr-grid { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-areas: "copy phone" "facts facts"; gap: 40px 60px; align-items: center; }
.dhikr-copy { grid-area: copy; }
.dhikr-side { display: contents; }
.dhikr-phone { grid-area: phone; position: relative; display: grid; place-items: center; perspective: 1400px; }
.dhikr-phone .device { --w: clamp(220px, min(26vw, calc((100vh - 200px) / 2.15)), 300px); }
.dhikr-phone .halo { width: 140%; }
.dhikr-facts { grid-area: facts; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.misbaha-wrap { margin-top: 34px; max-width: 440px; text-align: center; }
.dhikr-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.dhikr-ar { font-family: var(--quran); font-size: clamp(32px, 3.2vw, 42px); line-height: 1.8; color: var(--gold2); margin-top: 22px; }
.dhikr-en { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--muted); margin-top: -4px; }
.misbaha { position: relative; display: block; width: min(380px, 100%); aspect-ratio: 1; margin: 10px auto 0; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit;
  cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.misbaha svg { width: 100%; height: 100%; display: block; overflow: visible; }
.misbaha .pointer { fill: var(--gold); }
.misbaha .ring { transform-box: view-box; transform-origin: 200px 208px; transition: transform .32s cubic-bezier(.2, .7, .3, 1); }
.misbaha .thread { fill: none; stroke: rgba(233, 196, 106, .45); stroke-width: 1.2; }
.misbaha .bead { fill: url(#bead-navy); stroke: rgba(233, 196, 106, .55); stroke-width: 1; }
.misbaha .bead.gold { fill: url(#bead-gold); stroke: rgba(255, 243, 200, .7); }
.misbaha:focus-visible { outline: 2px solid var(--gold); outline-offset: 8px; }
.count-box { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; pointer-events: none; }
.m-count { font: 500 clamp(56px, 6vw, 78px)/1 var(--ui); color: var(--text); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.02em; }
.m-of { font-size: 12px; font-weight: 500; letter-spacing: .22em; color: var(--muted); margin-top: 10px; }
.m-note { min-height: 1.6em; margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.m-note.done { color: var(--gold2); }

/* ---------- in your language ---------- */
.langs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lang-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; max-width: 540px; }
.lang-list li { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(233, 196, 106, .22); background: rgba(18, 32, 74, .55); font-size: 15px; font-weight: 500; color: var(--text); }
.lang-list li[dir="rtl"] { font-size: 16px; }
.langs-copy .fine { max-width: 520px; margin-top: 22px; line-height: 1.55; }
.langs-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; perspective: 1400px; }
.lang-phone { position: relative; margin: 0; display: grid; justify-items: center; gap: 16px; }
.lang-phone .device { --w: clamp(200px, min(21vw, calc((100vh - 220px) / 2.15)), 280px); }
.lang-phone.fr { transform: translate(26px, 26px) rotate(-5deg); z-index: 1; }
.lang-phone.ar { transform: translate(-26px, 0) rotate(4deg); z-index: 2; }
.lang-phone .halo { width: 170%; top: 8%; }
.lang-phone figcaption { position: relative; font-size: 12px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.lang-phone.ar figcaption { letter-spacing: 0; font-size: 16px; }

@media (max-width: 980px) {
  .dhikr-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "phone" "facts"; gap: 40px; }
  .misbaha-wrap { margin-left: auto; margin-right: auto; }
  .dhikr-phone .device { --w: min(270px, 62vw); }
  .dhikr-facts { grid-template-columns: 1fr; margin-top: 0; }
  .langs-grid { grid-template-columns: 1fr; gap: 50px; }
  .lang-phone .device { --w: min(210px, 42vw); }
  .lang-phone.fr { transform: translate(14px, 18px) rotate(-5deg); }
  .lang-phone.ar { transform: translate(-14px, 0) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) { .misbaha .ring { transition: none; } }

/* the languages, each with the source of the Quran meaning */
.lang-head { margin-top: 30px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.lang-table { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; max-width: 560px; }
.lang-table li { display: grid; gap: 2px; padding: 11px 16px; border-radius: 16px; border: 1px solid rgba(233, 196, 106, .18); background: rgba(18, 32, 74, .55); }
.lang-table b { font-size: 15px; font-weight: 600; color: var(--text); }
.lang-table b[dir="rtl"] { justify-self: start; font-size: 16px; }
.lang-table span { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) {
  .lang-table { grid-template-columns: 1fr; gap: 6px; }
  .lang-table li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 14px; border-radius: 14px; }
  .lang-table b { white-space: nowrap; }
  .lang-table span { text-align: right; }
}

/* ---------- 2026-11-28: hero call to action (no form: a mail link), tajweed, pricing extras ---------- */
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.hero-cta .btn.big { margin-top: 0; }
.soon { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.soon svg { width: 18px; height: 18px; fill: var(--gold2); }

.tajweed-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.tajweed-phone { position: relative; display: grid; place-items: center; perspective: 1400px; }
.tajweed-phone .device { --w: clamp(220px, min(26vw, calc((100vh - 200px) / 2.15)), 300px); }
.tajweed-phone .halo { width: 140%; }
.tj-demo { margin-top: 30px; padding: 26px 26px 20px; border-radius: 26px; background: rgba(18, 32, 74, .55); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.tj-ayah { font-family: var(--quran); font-size: clamp(30px, 3.4vw, 44px); line-height: 2; color: var(--text); text-align: center; margin: 0; }
.tj-ayah i { font-style: normal; }
.tj-ayah .sl { color: #8b92b5; } .tj-ayah .md { color: #ff9a3d; }
.tj-ref { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--gold); margin: 4px 0 18px; }
.tj-key { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.tj-key li { display: inline-flex; align-items: center; gap: 7px; }
.tj-key i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.tj-trio { margin-top: 26px; }

.center-lead { text-align: center; max-width: 620px; margin-left: auto; margin-right: auto; }
.plan h3 { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--text); margin: 0; }
.included { list-style: none; padding: 0; margin: 40px auto 0; max-width: 760px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.included li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(18, 32, 74, .5); font-size: 14px; color: var(--text); }
.included li::before { content: '✓'; color: var(--gold); margin-right: 8px; font-weight: 700; }
.fine.center { text-align: center; }
.foot .fine a { color: var(--gold2); }

@media (max-width: 900px) {
  .tajweed-grid { grid-template-columns: 1fr; gap: 40px; }
  .tajweed-phone { order: 2; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn.big { width: 100%; }
  .soon { justify-content: center; }
}
