/* The hero lab. Layout: a full-height dark hero over a fixed WebGL stage (fog + glass mark);
   the type sits in the upper half, the mark rises out of the bottom edge; scrolling turns the fog
   to the site's own white and the page continues on it. */
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Readex Pro'; src: url('/fonts/readex-arabic.woff2') format('woff2'); font-weight: 160 700; font-display: swap; }

:root {
  --night: #050a2e;      /* the top of the fog */
  --flow: #1f66ff;       /* the brand's blue */
  --violet: #6a3cff;
  --rose: #ff4fd8;       /* the light on the glass's edge */
  --paper: #f6f8fb;      /* the live site's ground */
  --ink: #12192a;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, .74);
  --type: 'Manrope', 'Readex Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
:root[lang='ar'] { --type: 'Readex Pro', 'Manrope', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif; }

* { box-sizing: border-box; }
html { background: var(--night); }
html.paper { background: var(--paper); }
body { margin: 0; color: var(--on-dark); font: 400 16px/1.6 var(--type); -webkit-font-smoothing: antialiased; background: transparent; }
a { color: inherit; text-decoration: none; }

#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; z-index: 5; inset: 0 0 auto 0; display: flex; align-items: center; gap: 28px;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) clamp(16px, 4vw, 44px) 18px;
  transition: color .4s, background .4s, backdrop-filter .4s, transform .45s cubic-bezier(.3, .7, .2, 1), opacity .35s;
}
.nav.away { transform: translateY(-110%); opacity: 0; pointer-events: none; }
.nav.scrolled { background: rgba(5, 10, 46, .28); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.nav.in-room { transform: translateY(-110%); opacity: 0; pointer-events: none; }
.nav.on-paper { color: var(--ink); background: rgba(246, 248, 251, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 18px/1 'Manrope', sans-serif; letter-spacing: -.01em; }
.brand svg { width: 28px; height: 28px; }
.links { display: flex; gap: 26px; margin-inline: auto; font-size: 14.5px; font-weight: 500; }
.links a { opacity: .82; transition: opacity .2s; }
.links a:hover { opacity: 1; }
.nav-end { display: flex; align-items: center; gap: 16px; font-size: 14.5px; font-weight: 500; }
.lang { display: inline-flex; gap: 8px; align-items: center; opacity: .82; }
.lang a { color: inherit; padding: 6px 2px; text-decoration: none; }
.lang a:hover { text-decoration: underline; text-underline-offset: 4px; } .lang i { font-style: normal; opacity: .5; }
.lang:hover { opacity: 1; }
.lang-row { display: inline-flex; gap: 8px; align-items: center; }
.lang-pick { display: none; position: relative; }
.lang-pick summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 7px 4px; font-size: 13.5px; letter-spacing: .02em; }
.lang-pick summary::-webkit-details-marker { display: none; }
.lang-pick svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-list { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; min-width: 140px; display: grid; padding: 6px; border-radius: 14px; background: rgba(10, 16, 52, .96); color: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .12); }
.lang-list a { padding: 10px 12px; border-radius: 9px; }
.lang-list a:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
.nav-account { padding: 8px 16px; border-radius: 999px; border: 1px solid currentColor; opacity: .9; }

/* ----------------------------------------------------------------- hero */
main { position: relative; z-index: 2; }
.hero {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: calc(env(safe-area-inset-top, 0px) + 16vh) 20px 0; padding-inline: clamp(16px, 4vw, 44px);
}
.eyebrow { margin: 0 0 18px; font-size: 15px; font-weight: 500; color: var(--on-dark-2); letter-spacing: .01em; }
.title {
  margin: 0; max-width: 15ch; font-weight: 700; font-size: clamp(38px, 5.6vw, 80px); line-height: 1.04;
  letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 2px 40px rgba(5, 10, 46, .35);
}
:root[lang='ar'] .title { letter-spacing: 0; line-height: 1.16; font-weight: 600; max-width: none; }
.title .line { display: block; white-space: nowrap; }
.typed { white-space: nowrap; background: linear-gradient(100deg, #ffffff 10%, #b9cbff 55%, #ffb6f2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { display: inline-block; width: .06em; height: .86em; margin-inline-start: .06em; vertical-align: -.06em; background: #fff; border-radius: 2px; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lede { margin: 24px 0 0; max-width: min(1000px, 100%); text-wrap: balance; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.75; color: var(--on-dark-2); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; margin-top: 30px; }
.pill {
  padding: 13px 26px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .72); font-weight: 600; font-size: 15.5px;
  background: rgba(255, 255, 255, .06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .25s, color .25s, transform .25s;
}
.pill:hover { background: #fff; color: var(--night); }
.pill:active { transform: scale(.98); }
.quiet { font-weight: 500; font-size: 15.5px; color: var(--on-dark-2); border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 2px; }
.quiet:hover { color: #fff; border-color: #fff; }
.fine { margin: 14px 0 0; font-size: 13px; color: rgba(255, 255, 255, .55); }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 999px; }

/* ------------------------------------------------- under the mark, then white */
.under {
  min-height: 120vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center;
  padding: 0 clamp(16px, 4vw, 44px) 10vh; gap: 2px; font-size: 15.5px; line-height: 1.5;
}
.under p { margin: 0; max-width: 60ch; text-shadow: 0 1px 18px rgba(20, 0, 40, .35); }
.under .under-lead { font-weight: 700; font-size: 16.5px; }
.after {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 30vh clamp(16px, 4vw, 44px) 16vh; color: var(--ink);
}
.after h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
:root[lang='ar'] .after h2 { letter-spacing: 0; line-height: 1.3; font-weight: 600; }

/* 2: the one price, as one card in the reference's manner: pale grey, the brand's blue edge. */
.price-card {
  position: relative; overflow: hidden; isolation: isolate; width: min(620px, 100%); margin-top: 48px; padding: 34px 34px 28px; text-align: start;
  border-radius: 26px; background: #fff; border: 1.5px solid var(--flow); box-shadow: 0 30px 80px -40px rgba(31, 102, 255, .45);
}
.price-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(31, 102, 255, .12), transparent 70%); }
.price-card:hover::before { opacity: 1; }
.price-card { padding: 0 0 26px; background: #fff; }
.price-head {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 30px 26px; text-align: center;
  background: linear-gradient(180deg, #eef3ff, #fff);
}
.price-name { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; box-shadow: 0 1px 0 #dbe4ff, 0 6px 16px -10px rgba(31, 102, 255, .6); font: 700 14px/1 'Manrope', sans-serif; color: var(--flow); }
.price-name svg { width: 20px; height: 20px; }
.price { margin: 8px 0 0; }
.price b { font: italic 700 clamp(60px, 7vw, 88px)/1 'Manrope', sans-serif; letter-spacing: -.045em; color: var(--flow); }
.price-note { font-size: 14.5px; font-weight: 500; color: #4a5568; }
.price-list { margin: 0 30px; padding: 22px 0 0; border-top: 1px solid #e8ebf2; list-style: none; display: grid; gap: 12px; font-size: 15px; line-height: 1.55; color: #39445a; }
.price-list li { position: relative; padding-inline-start: 30px; }
.price-list li::before { content: ''; position: absolute; inset-inline-start: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: #e3ebff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f66ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.price-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 30px 0; }
.price-or { grid-column: 1 / -1; text-align: center; font-size: 13.5px; color: #6b7487; }
.plan-btn { display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; padding: 14px 16px; border-radius: 14px; background: var(--flow); color: #fff; font-weight: 600; font-size: 14.5px; transition: transform .2s, box-shadow .2s, background .2s; }
.plan-btn:hover { background: #1554e0; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(31, 102, 255, .9); }
.plan-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
/* The App Store, not open yet: Apple's own badge style (black, thin grey rim), centred under the buttons that buy. */
.soon { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.store { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; height: 52px; border-radius: 12px; background: #000; border: 1px solid #a6a6a6; color: #fff; direction: ltr; transition: transform .2s, box-shadow .2s; }
.store:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .7); }
.store svg { width: 26px; height: 26px; margin-top: -3px; }
.store span { white-space: nowrap; display: flex; flex-direction: column; line-height: 1.05; font: 600 19px/1.05 -apple-system, 'SF Pro Display', 'Manrope', sans-serif; letter-spacing: -.01em; text-align: left; }
.store small { font: 500 11px/1.3 'Readex Pro', 'Manrope', sans-serif; color: #fff; letter-spacing: 0; }
:root[lang='ar'] .store small { direction: rtl; text-align: left; }
.price-trial { margin: 14px 30px 0; text-align: center; font-size: 14px; color: #4a5568; }
.price-now { margin: 16px 30px 0; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; font-size: 14px; font-weight: 600; color: #13804b; }
.price-now svg { width: 18px; height: 18px; flex: none; }
.price-soon { margin: 6px 30px 0; text-align: center; font-size: 13px; color: #7a8699; line-height: 1.7; }
.price-try { margin: 18px 30px 0; padding: 12px 16px; border-radius: 12px; background: #f4f6fa; text-align: center; font-size: 13.5px; color: #4a5568; }
.price-try a { color: var(--flow); font-weight: 600; }

/* 3: the full list, as the reference's table: a grey panel, rows ruled, the one package's column in blue. */
.unpack { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6vh clamp(16px, 4vw, 44px) 10vh; color: var(--ink); }
.unpack h2 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15; letter-spacing: -.03em; }
:root[lang='ar'] .unpack h2 { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
.table { position: relative; width: min(1060px, 100%); margin-top: 40px; padding: 20px 24px; border-radius: 24px; background: #ececef; text-align: start; }
.table::before { content: ''; position: absolute; top: 20px; bottom: 20px; inset-inline-end: 24px; width: var(--col); border-radius: 18px; background: #c9dcff; }
.table { --col: clamp(150px, 26%, 260px); }
.t-row { position: relative; display: grid; grid-template-columns: 1fr var(--col); align-items: center; min-height: 72px; border-top: 1px solid #d6d8de; }
.t-row:first-child { border-top: 0; }
.t-head { min-height: 128px; }
.t-name { padding: 16px 18px 16px 4px; }
:root[dir='rtl'] .t-name { padding: 16px 4px 16px 18px; }
.t-name { display: flex; align-items: flex-start; gap: 16px; }
.t-icon { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--ink); transition: color .25s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.t-icon svg { width: 26px; height: 26px; }
.t-type { font: 600 26px/1 'Readex Pro', sans-serif; padding-bottom: 6px; }
.t-row:hover .t-icon { color: var(--flow); transform: scale(1.08) rotate(-4deg); }
.t-icon svg path, .t-icon svg rect, .t-icon svg circle { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.4s cubic-bezier(.3, .6, .2, 1) .4s; }
.table.in .t-icon svg path, .table.in .t-icon svg rect, .table.in .t-icon svg circle { stroke-dashoffset: 0; }
.t-name b { display: block; font-size: 16px; font-weight: 700; }
.t-name p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.55; color: #4a5568; max-width: 62ch; }
.t-col { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; padding: 10px; }
.t-head .t-col b { font: 700 17px/1.2 'Manrope', sans-serif; }
.t-head .t-col span[dir] { font: italic 700 24px/1.2 'Manrope', sans-serif; color: var(--flow); }
.t-head .t-col small { font-size: 12.5px; color: #39445a; }
.t-heart { position: absolute; top: -8px; inset-inline-end: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #ff3b5c; font-size: 17px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35); }
.table.in .t-heart { animation: pop .7s cubic-bezier(.3, 1.7, .5, 1) .6s both; }
@keyframes pop { from { transform: scale(0) rotate(-20deg); } to { transform: none; } }
.t-yes { width: 26px; height: 26px; border-radius: 50%; background: var(--flow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.t-soon { padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--flow); font-size: 12.5px; font-weight: 700; }

/* 4: what it does, as the reference's grey tiles: the name small on top, one big sign, a line under. */
.features { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4vh clamp(16px, 4vw, 44px) 14vh; color: var(--ink); }
.features h2 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
:root[lang='ar'] .features h2 { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: min(1160px, 100%); margin-top: 44px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 26px 28px; border-radius: 22px; background: #ececef; transition: background .25s, transform .25s; }
.tile:hover { background: #e4e6ec; transform: translateY(-3px); }
.tile h3 { margin: 0; font-size: 15px; font-weight: 600; color: #39445a; }
.glyph { display: grid; place-items: center; height: 108px; color: var(--ink); }
.glyph svg { width: 84px; height: 84px; }
.glyph-type { font: 600 74px/1 'Readex Pro', sans-serif; padding-bottom: 26px; }
.tile p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #4a5568; max-width: 34ch; }
.rise { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.rise.in { opacity: 1; transform: none; }
.tile .glyph svg path, .tile .glyph svg rect, .tile .glyph svg circle { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.6s cubic-bezier(.3, .6, .2, 1); transition-delay: calc(var(--i, 0) * 90ms + 250ms); }
.tile.in .glyph svg path, .tile.in .glyph svg rect, .tile.in .glyph svg circle { stroke-dashoffset: 0; }
.tile .glyph { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), color .25s; }
.tile:hover .glyph { transform: scale(1.08) rotate(-3deg); color: var(--flow); }
/* 4: the tour. Words on one side, the real app in device frames on the other, alternating. */
.tour { display: flex; flex-direction: column; gap: clamp(90px, 13vh, 160px); padding: 8vh clamp(16px, 4vw, 44px) 14vh; color: var(--ink); }
.show { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(28px, 5vw, 80px); width: min(1200px, 100%); margin: 0 auto; }
.show.flip .show-words { order: 2; }
.show-words h2 { margin: 10px 0 0; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
:root[lang='ar'] .show-words h2 { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
.show-words p { margin: 16px 0 0; font-size: 16.5px; line-height: 1.75; color: #4a5568; max-width: 46ch; }
.show-words p.soon-line { padding-inline-start: 14px; border-inline-start: 3px solid #c9dcff; color: #39445a; font-size: 15.5px; }
.kicker { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--flow); letter-spacing: .02em; }
.soon-tag { display: inline-block; margin-inline-end: 10px; padding: 5px 12px; border-radius: 999px; background: #e3ebff; color: var(--flow); font-size: 12.5px; font-weight: 700; }
.show-stage { position: relative; aspect-ratio: 16 / 11.5; border-radius: 32px; background: radial-gradient(120% 90% at 30% 15%, #e9efff, #ececef 72%); }
.dev { margin: 0; position: absolute; transform: translateY(var(--py, 0px)); }
.dev img { display: block; width: 100%; }

/* Frames, style B (Yasser, 25 Oct: "aluminium"): black screens in thin silver rims, a silver laptop base. */
.dev .scr, .laptop .lid { background: #0b0d12; box-shadow: 0 0 0 2px #c9cdd4, 0 0 0 3px #9aa0a9, 0 30px 50px -22px rgba(16, 24, 60, .45); }
.dev.iphone, .dev.ipad, .dev.laptop, .dev.tv { will-change: transform; }

.laptop { left: 8%; right: 8%; top: 10%; }
.laptop .lid { position: relative; padding: 1.6%; border-radius: 14px 14px 3px 3px; }
.laptop .lid img { border-radius: 3px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.laptop .cam { position: absolute; top: .55%; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #2a2f3a; }
.laptop .base { position: relative; height: 0; padding-bottom: 2.6%; margin: 3px -7% 0; border-radius: 2px 2px 14px 14px / 2px 2px 100% 100%; background: linear-gradient(#eceef2, #c5c9d0 55%, #9ea3ac); }
.laptop .base i { position: absolute; top: 0; left: 50%; width: 14%; height: 40%; transform: translateX(-50%); border-radius: 0 0 7px 7px; background: linear-gradient(#b3b8c1, #d4d7dd); }

.iphone { width: 24%; right: 5%; bottom: -9%; }
:root[dir='rtl'] .iphone { right: auto; left: 5%; }
.iphone .scr { overflow: hidden; padding: 4.5%; border-radius: 16% / 7.4%; }
.iphone .scr img { border-radius: 12% / 5.6%; }

.ipad { width: 54%; left: 4%; bottom: -7%; }
:root[dir='rtl'] .ipad { left: auto; right: 4%; }
.ipad .scr { position: relative; padding: 2.4%; border-radius: 5.5% / 8%; }
.ipad .scr img { aspect-ratio: 1180 / 820; object-fit: cover; object-position: top left; border-radius: 2.6% / 3.8%; }
.ipad .cam { position: absolute; top: .8%; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #2a2f3a; }

.tv { left: 6%; right: 6%; top: 9%; }
.tv .scr { padding: .7%; border-radius: 8px; }
.tv .scr img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 3px; }
.tv .stand { display: block; width: 24%; height: 12px; margin: 3px auto 0; border-radius: 0 0 10px 10px; background: linear-gradient(#d9dce1, #9ea3ac); }

/* Arrangements. */
/* One tablet: the panel hugs it, with an even margin. */
.solo-tab { aspect-ratio: auto; padding: 5.5%; }
.solo-tab .ipad, :root[dir='rtl'] .solo-tab .ipad { position: relative; width: 100%; left: auto; right: auto; top: auto; bottom: auto; }
.duo-tab .ipad { width: 70%; left: 5%; top: 12%; bottom: auto; }
:root[dir='rtl'] .duo-tab .ipad { left: auto; right: 5%; }
.trio .laptop { left: 18%; right: 3%; top: 7%; }
:root[dir='rtl'] .trio .laptop { left: 3%; right: 18%; }
.trio .ipad { width: 46%; left: 3%; bottom: -8%; }
:root[dir='rtl'] .trio .ipad { left: auto; right: 3%; }
.trio .iphone { width: 20%; right: 4%; }
:root[dir='rtl'] .trio .iphone { right: auto; left: 4%; }
.prayer .laptop { left: 4%; right: 20%; top: 6%; }
:root[dir='rtl'] .prayer .laptop { left: 20%; right: 4%; }
.prayer .ipad { width: 48%; left: auto; right: 4%; bottom: -8%; }
:root[dir='rtl'] .prayer .ipad { right: auto; left: 4%; }
.tvset .tv { left: 4%; right: 14%; top: 6%; }
:root[dir='rtl'] .tvset .tv { left: 14%; right: 4%; }
.tvset .ipad { width: 40%; left: 3%; bottom: -8%; }
:root[dir='rtl'] .tvset .ipad { left: auto; right: 3%; }
.tvset .iphone { width: 19%; }

/* The two live sections. */
.live { width: min(1200px, 100%); margin: 0 auto; }
.live-words h2 { margin: 10px 0 0; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
:root[lang='ar'] .live-words h2 { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
.live-words p { margin: 14px 0 0; font-size: 16.5px; line-height: 1.75; color: #4a5568; max-width: 60ch; }

/* Remote: a dark wide room; the words above, the TV and the phone below. */
.remote-live { padding: clamp(36px, 5vw, 64px); border-radius: 36px; background: radial-gradient(90% 70% at 70% 0%, #2a3a8f 0%, #0d1335 55%, #070a1c 100%); color: #fff; text-align: center; }
.remote-live .live-words p { color: rgba(255, 255, 255, .78); margin-inline: auto; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.7; max-width: 64ch; }
.remote-live .kicker { color: #8fb0ff; }
.remote-live .soon-tag { background: rgba(143, 176, 255, .16); color: #b9cdff; }
.remote-live .live-stage { position: relative; height: clamp(280px, 40vw, 520px); margin-top: 40px; }
.remote-live .tv { left: 10%; right: 22%; top: 0; }
:root[dir='rtl'] .remote-live .tv { left: 22%; right: 10%; }
.screens { position: relative; }
.screens img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 3px; }
.screens img + img { position: absolute; left: .7%; top: .7%; width: 98.6%; height: auto; }
.screens img { opacity: 0; transition: opacity .6s ease; }
.screens img.on { opacity: 1; }
.remote-live .iphone { width: 17%; right: 6%; left: auto; bottom: -4%; transform: rotate(-4deg); }
:root[dir='rtl'] .remote-live .iphone { right: auto; left: 6%; transform: rotate(4deg); }
.remote-live .iphone .scr { position: relative; }
.tap { position: absolute; width: 22%; aspect-ratio: 1; margin: -11% 0 0 -11%; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); opacity: 0; transition: left .4s, top .4s; }
.go .tap { animation: tap .9s ease-out; }
@keyframes tap { 0% { opacity: 0; transform: scale(.4); } 20% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } }
.pulse { position: absolute; right: 14%; bottom: 30%; width: 30%; overflow: visible; }
:root[dir='rtl'] .pulse { right: auto; left: 14%; transform: scaleX(-1); }
.pulse path { fill: none; stroke: #8fb0ff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 14 260; stroke-dashoffset: 0; opacity: 0; filter: drop-shadow(0 0 6px #8fb0ff); }
@keyframes pulse { 0% { opacity: 0; stroke-dashoffset: 14; } 15% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -250; } }

/* Prayer: the words and the faith switch beside a day that passes over the laptop. */
.prayer-live { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; --dusk: 0; }
.prayer-live .live-stage { position: relative; padding: 4% 5% 6%; border-radius: 32px; background: linear-gradient(180deg, color-mix(in srgb, #ffe7c2 calc((1 - var(--dusk)) * 100%), #cfd6ff), #ececef 70%); transition: background .3s; }
.faiths { display: inline-flex; gap: 4px; margin-top: 22px; padding: 4px; border-radius: 999px; background: #e9ecf3; }
.faiths button { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border: 0; border-radius: 999px; background: none; color: #4a5568; cursor: pointer; }
.faiths button.on { background: #fff; color: var(--ink); box-shadow: 0 4px 12px -6px rgba(16, 24, 60, .4); }
.arc { display: block; width: 100%; overflow: visible; }
.arc path { fill: none; stroke: rgba(18, 25, 42, .18); stroke-width: 2; stroke-dasharray: 4 6; }
.arc .sun { fill: #ffb547; filter: drop-shadow(0 0 10px rgba(255, 181, 71, .9)); }
.arc .mk circle { fill: #fff; stroke: var(--ink); stroke-width: 2; transition: fill .3s, r .3s; }
.arc .mk text { font: 600 12px/1 var(--type); fill: #39445a; }
.arc .mk text.at { font-weight: 500; font-size: 11px; fill: #6b7487; }
.arc .mk.now circle { fill: #ffb547; stroke: #ffb547; r: 7; }
.arc .mk.now text { fill: var(--ink); }
.prayer-live .laptop { position: relative; left: auto; right: auto; top: auto; margin: 8px 6% 0; }
.film { position: relative; container-type: inline-size; overflow: hidden; border-radius: 3px; }
.film img { aspect-ratio: 16 / 10; object-fit: cover; }
/* The notice and the calm screen, drawn as the app draws them. */
.pr-notice-x { position: absolute; top: 5%; left: 50%; width: 56%; transform: translate(-50%, -12px); opacity: 0; padding: 2.2cqw 2.4cqw 1.6cqw; border-radius: 1.6cqw; background: #12151f; color: #fff; box-shadow: 0 1.6cqw 4cqw rgba(0, 0, 0, .45); transition: opacity .35s, transform .35s; direction: inherit; }
[data-phase='notice'] .pr-notice-x, [data-phase='press'] .pr-notice-x { opacity: 1; transform: translate(-50%, 0) scale(1.35); }
/* The notice is the idea here: larger, from the top of the picture. */
.pr-notice-x { transform-origin: 50% 0; }
.pr-notice-x .t { display: flex; align-items: center; gap: 1.4cqw; }
.pr-notice-x .ic { flex: 0 0 auto; width: 3.6cqw; height: 3.6cqw; padding: .7cqw; border-radius: .9cqw; background: #2a2e3a; color: #ffcb6b; }
.pr-notice-x b { display: block; font-size: 1.9cqw; line-height: 1.2; }
.pr-notice-x small { display: block; margin-top: .3cqw; font-size: 1.1cqw; color: rgba(255, 255, 255, .6); }
.pr-notice-x .acts { display: flex; gap: .8cqw; margin-top: 1.6cqw; }
.pr-notice-x .b { font-style: normal; font-size: 1.15cqw; font-weight: 700; padding: .8cqw 1.3cqw; border-radius: .9cqw; background: #2a2e3a; transition: transform .15s; }
.pr-notice-x .b.main { background: #fff; color: #12151f; }
[data-phase='press'] .pr-notice-x .b.main { transform: scale(.92); }
.pr-notice-x .bar { display: block; height: .3cqw; margin-top: 1.4cqw; border-radius: 1px; background: linear-gradient(90deg, #ffcb6b, #ffcb6b) 0 0 / 100% 100% no-repeat, #2a2e3a; }
[data-phase='notice'] .pr-notice-x .bar { animation: bar 2.6s linear forwards; }
@keyframes bar { to { background-size: 0 100%, auto; } }
.pr-paused-x { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2cqw; background: radial-gradient(60% 60% at 50% 45%, #1c2030, #0c0e15); color: #fff; opacity: 0; transition: opacity .5s; }
[data-phase='paused'] .pr-paused-x { opacity: 1; }
.pr-paused-x .ic.big { width: 6cqw; height: 6cqw; padding: 1.2cqw; border-radius: 1.4cqw; background: #2a2e3a; color: #ffcb6b; }
.pr-paused-x .greet { font-size: 3.4cqw; line-height: 1.2; }
.pr-paused-x .waits { font-size: 1.4cqw; color: rgba(255, 255, 255, .65); }
.pr-paused-x .b { font-style: normal; font-size: 1.3cqw; font-weight: 700; padding: 1cqw 2cqw; border-radius: 1cqw; background: #fff; color: #12151f; }

/* 5: the story room. Full width, pinned while the page scrolls; the remote first, then prayer. */
.story { position: relative; height: 520vh; }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story-bg { position: absolute; inset: 0; }
.story-bg.night { background: radial-gradient(80% 70% at 70% 0%, #2a3a8f 0%, #0d1335 55%, #070a1c 100%); }
.story-bg.day { display: none; }
.scene { position: absolute; inset: 0; display: grid; align-content: center; padding: 88px clamp(20px, 5vw, 80px) 48px; transition: opacity .2s linear; }
.scene-remote { opacity: calc(1 - var(--k, 0)); transform: translateY(calc(var(--k, 0) * -40px)); pointer-events: auto; }
.scene-prayer { opacity: var(--k, 0); transform: translateY(calc((1 - var(--k, 0)) * 40px)); }
.story[data-scene='remote'] .scene-prayer, .story[data-scene='prayer'] .scene-remote { pointer-events: none; }

/* The remote: words on top; below, the phone standing straight, a thin link, and the screen it plays on. */
.scene-remote.remote-live { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(24px, 4vh, 44px); text-align: center; border-radius: 0; background: none; }
.scene-remote .live-words { max-width: 760px; }
.scene-remote .live-words h2 { font-size: clamp(30px, 3.4vw, 50px); }
.scene-remote .live-words p { margin-top: 12px; font-size: clamp(16px, 1.25vw, 18px); }
.scene-remote .live-words .fine-print { font-size: 14px; color: rgba(255, 255, 255, .55); max-width: 70ch; }
.rstage { display: grid; grid-template-columns: auto clamp(60px, 9vw, 140px) auto; align-items: end; justify-content: center; }
.rstage .dev, :root[dir='rtl'] .rstage .dev { position: relative; inset: auto; left: auto; right: auto; top: auto; bottom: auto; transform: none; }
.rstage .r-phone, :root[dir='rtl'] .rstage .r-phone { width: clamp(150px, 13vw, 210px); transform: none; }
.r-phone .scr { position: relative; }
.r-link { position: relative; align-self: center; height: 2px; margin: 0 10px; background: repeating-linear-gradient(90deg, rgba(143, 176, 255, .45) 0 6px, transparent 6px 12px); }
.r-link .dot { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #b9cdff; box-shadow: 0 0 14px 3px rgba(143, 176, 255, .8); opacity: 0; }
:root[dir='rtl'] .r-link .dot { left: auto; right: 0; }
.go .r-link .dot { animation: travel .7s .15s ease-in-out; }
@keyframes travel { 0% { opacity: 0; left: 0; } 15% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; left: 100%; } }
:root[dir='rtl'] .go .r-link .dot { animation-name: travel-rtl; }
@keyframes travel-rtl { 0% { opacity: 0; right: 0; } 15% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; right: 100%; } }
.r-target { display: flex; flex-direction: column; align-items: center; gap: 14px; width: clamp(360px, 42vw, 640px); }
.r-chip { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: 13px; font-weight: 600; }
.r-chip span { padding: 6px 14px; border-radius: 999px; color: rgba(255, 255, 255, .6); transition: background .3s, color .3s; }
.r-chip span.on { background: #fff; color: #0b0d12; }
.r-screens { position: relative; width: 100%; }
.r-screens .dev { width: 100%; opacity: 0; transition: opacity .6s ease; }
.r-screens .dev.on { opacity: 1; }
.rstage .r-screens .tv, :root[dir='rtl'] .rstage .r-screens .tv { position: absolute; left: 0; right: 0; bottom: 0; }
.rstage .r-screens .laptop { margin: 0 auto; width: 86%; }
.r-screens .screens img + img { left: 0; top: 0; width: 100%; }
.lit .r-screens .dev.on .lid, .lit .r-screens .dev.on .scr { box-shadow: 0 0 0 2px #c9cdd4, 0 0 0 3px #9aa0a9, 0 0 44px 6px rgba(143, 176, 255, .45); }

/* Prayer inside the room, on the same night: the words and the three faiths beside a stack of the
   app's own notices, one for each faith, arriving from below as the page scrolls. */
.scene-prayer.prayer-live { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 90px); color: #fff; }
.scene-prayer .live-words p { color: rgba(255, 255, 255, .75); }
.scene-prayer .soon-tag { background: rgba(143, 176, 255, .16); color: #b9cdff; }
.faith-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 6px; max-width: 460px; }
.faith-list li { display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); cursor: pointer; transition: background .3s, border-color .3s, opacity .3s; opacity: .55; }
.faith-list li b { font-size: 16px; }
.faith-list li small { font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.faith-list li.on { opacity: 1; background: rgba(255, 255, 255, .07); border-color: rgba(255, 203, 107, .45); }
.ptv { display: grid; gap: 18px; justify-items: center; }
.ptv .tv, :root[dir='rtl'] .ptv .tv { position: relative; inset: auto; left: auto; right: auto; top: auto; width: 100%; transform: none; }
.film video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; }
.ptv .pr-notice-x { width: 58%; }
.p-day { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.p-day span { display: grid; text-align: center; }
.p-day b { font-weight: 600; }
.p-day small { font-size: 11.5px; }
.p-day span.now { color: #ffcb6b; }
.p-day .pd-faith { align-self: center; padding: 4px 12px; border-radius: 999px; background: #ffcb6b; color: #12151f; font-weight: 800; font-size: 12px; }

/* 6: Kids. One screen in the middle; the grown-up's rules settle around it; night when time is up. */
.kids-room { position: relative; height: 300vh; color: var(--ink); background: linear-gradient(180deg, #f6f8fb 0%, #e6f1ff 30%, #fff1e4 100%); transition: background .8s; }
.kids-room.night { background: linear-gradient(180deg, #f6f8fb 0%, #1d2766 22%, #2e3b94 100%); color: #fff; }
.kr-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; gap: clamp(24px, 4vw, 64px); width: min(1240px, 100%); margin: 0 auto; padding: 0 clamp(16px, 4vw, 44px); }
.kr-words h2 { margin: 10px 0 0; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -.03em; line-height: 1.1; }
:root[lang='ar'] .kr-words h2 { letter-spacing: 0; line-height: 1.3; }
.kr-words p { margin: 16px 0 0; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; color: #39445a; transition: color .8s; }
.night .kr-words p { color: rgba(255, 255, 255, .78); }
.kr-stage { position: relative; padding: 9% 8%; }
.kr-stage .kr-laptop, :root[dir='rtl'] .kr-stage .kr-laptop { position: relative; inset: auto; left: auto; right: auto; top: auto; width: 100%; transform: none; }
.kr-screens { position: relative; }
.kr-screens img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 3px; opacity: 0; transition: opacity .6s; }
.kr-screens img + img { position: absolute; left: 1.6%; top: 1.6%; width: 96.8%; }
.kr-screens img.on { opacity: 1; }
/* The rules: small white cards that settle onto the corners of the screen. */
.rule { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: #fff; color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(16, 24, 60, .45), 0 0 0 1px rgba(16, 24, 60, .05); opacity: 0; transform: translateY(24px) scale(.92); transition: opacity .5s, transform .6s cubic-bezier(.2, 1.3, .4, 1); }
.rule.on { opacity: 1; transform: none; }
:root[dir='rtl'] .rule { padding: 12px 12px 12px 16px; }
.rule b { display: block; font-size: 14.5px; }
.rule small { display: block; margin-top: 2px; font-size: 12.5px; color: #6b7487; }
.rule .ri { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.rule .ri svg { width: 22px; height: 22px; }
.r-pin { top: 2%; left: 0; } .r-pin .ri { background: #ffe8c2; color: #b45309; }
.r-chose { top: 22%; right: -2%; } .r-chose .ri { background: #dcfce7; color: #15803d; }
.r-time { bottom: 18%; left: -3%; } .r-time .ri { background: #e3ebff; color: var(--flow); }
.r-bed { bottom: 2%; right: 4%; } .r-bed .ri { background: #ede9fe; color: #6d28d9; }
:root[dir='rtl'] .r-pin { left: auto; right: 0; } :root[dir='rtl'] .r-chose { right: auto; left: -2%; }
:root[dir='rtl'] .r-time { left: auto; right: -3%; } :root[dir='rtl'] .r-bed { right: auto; left: 4%; }
.dots { letter-spacing: 3px; color: var(--ink) !important; font-weight: 800; }
.ring svg { width: 30px; height: 30px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: #c9d6ff; stroke-width: 4; }
.ring circle.left { stroke: var(--flow); stroke-linecap: round; transition: stroke-dasharray .2s; }
.night .r-bed { box-shadow: 0 0 0 2px #a78bfa, 0 18px 40px -18px rgba(0, 0, 0, .6); }

/* 7: how it works. */
.how, .voices, .faq { padding: 14vh clamp(16px, 4vw, 44px) 4vh; color: var(--ink); }
.how-head { text-align: center; }
.how-head h2 { margin: 10px 0 0; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.03em; line-height: 1.15; }
:root[lang='ar'] .how-head h2 { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
.how-steps { list-style: none; margin: 48px auto 0; padding: 0; width: min(1160px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.hs { position: relative; padding: 26px 26px 28px; border-radius: 24px; background: #ececef; }
.hs-n { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-top: 20px; border-radius: 50%; background: var(--flow); color: #fff; font: 800 14px/1 'Manrope', sans-serif; }
.hs { display: flex; flex-direction: column; }
.hs .hs-art { order: -1; }
.hs-art { position: relative; height: 150px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; padding: 0 16px; direction: ltr; }
.hs h3 { margin: 10px 0 0; font-size: 18px; }
.hs p { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: #4a5568; }
.mini-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 12px; background: var(--flow); color: #fff; font-size: 13.5px; font-weight: 700; }
.mini-btn svg { width: 16px; height: 16px; }
.dl-bar { position: absolute; left: 16px; right: 16px; bottom: 22px; height: 5px; border-radius: 3px; background: #e6e9f0; }
.dl-bar::after { content: ''; position: absolute; inset: 0 100% 0 0; border-radius: 3px; background: var(--flow); }
.run .dl-bar::after { animation: dl 1.4s .3s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes dl { to { right: 0; } }
.field { flex: 1; min-width: 0; display: flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid #d5dae5; font: 500 13px/1 'Manrope', monospace; color: var(--ink); white-space: nowrap; overflow: hidden; }
.add-btn { padding: 12px 16px; border-radius: 12px; background: #e3e6ee; color: #6b7487; font-size: 13.5px; font-weight: 700; transition: background .3s, color .3s; }
.added .add-btn { background: var(--flow); color: #fff; }
.caret { width: 1.5px; height: 18px; margin-left: 2px; background: var(--flow); animation: blink 1s steps(1) infinite; }
.counts { display: flex; gap: 18px; }
.counts span { display: grid; justify-items: center; }
.counts b { font: 800 30px/1 'Manrope', sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; }
.counts small { margin-top: 4px; font-size: 12px; color: #6b7487; }
.play { position: absolute; right: 16px; bottom: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--flow); box-shadow: 0 0 0 0 rgba(31, 102, 255, .4); }
.play::after { content: ''; position: absolute; left: 15px; top: 12px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
.added .play { animation: ping 1.6s 1.2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31, 102, 255, .45); } 100% { box-shadow: 0 0 0 18px rgba(31, 102, 255, 0); } }

/* 8: reviews, two slow rows. */
.voices { padding-bottom: 6vh; overflow: hidden; }
.vrow { margin-top: 18px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); direction: ltr; }
.vrow:first-of-type { margin-top: 44px; }
.vtrack { display: flex; gap: 16px; width: max-content; animation: slide 46s linear infinite; }
.vrow[data-dir='-1'] .vtrack { animation-direction: reverse; animation-duration: 54s; }
.vrow:hover .vtrack { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.vcard { margin: 0; width: 320px; padding: 22px 22px 18px; border-radius: 20px; background: #fff; box-shadow: 0 20px 40px -28px rgba(16, 24, 60, .35); }
:root[lang='ar'] .vcard { direction: rtl; }
.vcard blockquote { margin: 0; font-size: 17px; line-height: 1.55; font-weight: 600; }
.vcard figcaption { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; }
.vava { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e3ebff; color: var(--flow); font-weight: 800; font-size: 13px; }
.vcard small { margin-inline-start: auto; padding: 3px 9px; border-radius: 999px; background: #f1f3f8; color: #6b7487; font-size: 12px; }

/* 9: FAQ. */
.faq-list { width: min(820px, 100%); margin: 40px auto 0; display: grid; gap: 10px; }
.qa { border-radius: 18px; background: #ececef; }
.qa summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-size: 17px; font-weight: 700; position: relative; }
:root[dir='rtl'] .qa summary { padding: 20px 22px 20px 56px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; position: absolute; inset-inline-end: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s; }
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.qa[open] .qa-a { grid-template-rows: 1fr; }
.qa-a p { overflow: hidden; margin: 0; padding: 0 22px; font-size: 15.5px; line-height: 1.7; color: #39445a; }
.qa[open] .qa-a p { padding-bottom: 20px; }
.qa:first-child { background: #fff; box-shadow: inset 0 0 0 1.5px var(--flow); }

/* 10: the end, on the hero's night. */
.final { position: relative; overflow: hidden; margin: 12vh clamp(16px, 3vw, 32px) 4vh; padding: 16vh clamp(16px, 4vw, 44px); border-radius: 36px; text-align: center; color: #fff;
  background: radial-gradient(80% 90% at 50% 120%, #ff4fd8 0%, #6a3cff 30%, #1f2a8f 58%, #070a1c 100%); }
.fglow { position: absolute; left: 50%; top: 100%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -40%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 79, 216, .5), transparent 60%); filter: blur(30px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-50%, -46%) scale(1.08); opacity: .8; } }
.final-inner { position: relative; }
.final h2 { margin: 0; font-size: clamp(36px, 5vw, 72px); letter-spacing: -.035em; line-height: 1.05; }
:root[lang='ar'] .final h2 { letter-spacing: 0; line-height: 1.25; }
.final-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.final-acts .plan-btn { padding: 15px 24px; }
.final-try { margin: 18px 0 0; font-size: 14px; color: rgba(255, 255, 255, .75); }
.final-try a { color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .5); }

.foot { padding: 0 clamp(16px, 4vw, 44px) 6vh; text-align: center; color: #6b7487; font-size: 13px; }
.foot p { margin: 0 auto; max-width: 70ch; }

@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .vcard { width: 260px; }
  .final { border-radius: 24px; padding: 12vh 18px; }
  .kids-room { height: auto; }
  .kr-pin { position: relative; height: auto; grid-template-columns: 1fr; padding: 12vh 18px; }
  .rule { position: relative; inset: auto !important; margin-top: 10px; opacity: 1; transform: none; }
  .kr-stage { padding: 0; }
  .story { height: auto; }
  .story-pin { position: relative; height: auto; overflow: visible; }
  .story-bg.day { display: none; }
  .scene { position: relative; inset: auto; opacity: 1 !important; transform: none !important; padding: 56px 18px; }
  .scene-prayer { background: #0b0f26; }

  .scene-remote.remote-live, .scene-prayer.prayer-live { grid-template-columns: 1fr; }
  .rstage { grid-template-columns: 30% 8% 1fr; width: 100%; }
  .rstage .r-phone, :root[dir='rtl'] .rstage .r-phone { width: 100%; }
  .r-target { width: 100%; }
  .r-chip { font-size: 11px; }
  .prayer-live { grid-template-columns: 1fr; }
  .remote-live { padding: 28px 18px; border-radius: 24px; }
  .remote-live .live-stage { height: 230px; }
  .arc .mk text { font-size: 16px; }
  .show { grid-template-columns: 1fr; }
  .show.flip .show-words { order: 0; }
  .show-stage { border-radius: 24px; }
  .laptop .lid { border-radius: 10px 10px 4px 4px; }
  .store { padding: 0 10px; gap: 7px; }
  .store svg { width: 20px; height: 20px; }
  .store span { font-size: 15px; white-space: nowrap; }
  .store small { font-size: 10px; }
  .table { padding: 12px 12px; --col: 104px; }
  .table::before { top: 12px; bottom: 12px; inset-inline-end: 12px; }
  .t-name p { display: none; }
  .t-name { gap: 10px; align-items: center; }
  .t-icon { width: 36px; height: 36px; border-radius: 11px; }
  .t-icon svg { width: 20px; height: 20px; }
  .t-head .t-col span[dir] { font-size: 19px; }
  .price-actions { grid-template-columns: 1fr; }
  .price-head { padding: 26px 20px 22px; }
  .price-list, .price-actions, .price-try, .price-trial, .price-now, .price-soon { margin-inline: 20px; }
  .links { display: none; }
  .lang-row { display: none; }
  .lang-pick { display: block; }
  .lang { opacity: 1; }
  .nav { gap: 12px; }
  .nav-end { margin-inline-start: auto; }
  .hero { padding-top: calc(env(safe-area-inset-top, 0px) + 15vh); }
}
@media (prefers-reduced-motion: reduce) { .vtrack, .fglow, .play, .caret { animation: none !important; } .rule { opacity: 1; transform: none; } .dev { transform: none !important; } .rise { opacity: 1; transform: none; transition: none; } .tile .glyph svg *, .t-icon svg * { stroke-dashoffset: 0 !important; transition: none !important; } .caret { animation: none; } .nav { transition: none; } }

/* Reviews as scattered cards, after the reference (2026-10-26). Desktop: placed by hand in a
   fixed box; phone: one under the other. They rise in one after another, then drift a little. */
.vscatter { position: relative; width: min(1120px, 100%); height: 910px; margin: 56px auto 0; }
.vnote { position: absolute; margin: 0; padding: 22px 34px 20px; border-radius: 18px; background: #c4dcff; color: #0b1020; text-align: center; box-shadow: 0 24px 50px -30px rgba(16, 24, 60, .45); opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 130ms); }
.vscatter.in .vnote { opacity: 1; transform: none; animation: vfloat 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s + 1s); }
@keyframes vfloat { 50% { translate: 0 -8px; } }
.vemo { margin: 0 0 4px; font-size: 22px; letter-spacing: 2px; }
.vnote blockquote { margin: 0; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; }
.vnote figcaption { margin-top: 10px; font-size: 14px; line-height: 1.35; }
.vnote figcaption b { display: block; } .vnote figcaption small { color: #3c4a66; font-size: 13px; }
.vn1 { left: 24%; top: 0; } .vn2 { right: 0; top: 190px; } .vn3 { left: 2%; top: 205px; }
.vn4 { left: 8%; top: 395px; } .vn5 { right: 0; top: 575px; } .vn6 { left: 16%; top: 760px; }
:root[lang='ar'] .vnote { direction: rtl; }
@media (max-width: 860px) {
  .vscatter { height: auto; display: grid; gap: 14px; }
  .vnote { position: static; }
}
@media (prefers-reduced-motion: reduce) { .vnote { transition: none; opacity: 1; transform: none; } .vscatter.in .vnote { animation: none; } }

/* Beyond the first six: the rest flow in a loose, staggered wrap that holds any number.
   Short words are set large, long ones smaller, so every card stays a card. */
.vmore { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 18px 16px; width: min(1180px, 100%); margin: 30px auto 0; }
.vmore .vnote { position: static; max-width: 440px; opacity: 1; transform: none; animation: none; transition: none; }
.vmore .vnote:nth-child(5n+2) { margin-top: 26px; } .vmore .vnote:nth-child(5n+4) { margin-top: 12px; } .vmore .vnote:nth-child(5n) { margin-top: 34px; }
.vmore .vnote.hide { display: none; }
.vnote.s blockquote { font-size: clamp(24px, 2.4vw, 32px); } .vnote.m blockquote { font-size: clamp(20px, 1.8vw, 24px); } .vnote.l blockquote { font-size: 18px; line-height: 1.3; font-weight: 700; }
.vacts { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.vacts button, .vacts a { padding: 13px 24px; border-radius: 999px; border: 0; font: 700 15px/1 inherit; font-family: inherit; cursor: pointer; text-decoration: none; }
.vacts button { background: #12192a; color: #fff; } .vacts a { background: #fff; color: #12192a; box-shadow: inset 0 0 0 1px #d5dae4; }

/* Compliance fixes (2026-10-26): taxes under the price, where the reviews come from, legal links. */
.price-tax { display: block; margin-top: 4px; font-size: 12.5px; color: #7a8699; }
.vsource { margin: 10px auto 0; max-width: 52ch; font-size: 14px; color: #6b7487; }
.foot-links { margin-top: 10px; font-size: 14px; } .foot-links a { color: inherit; }

/* The launch offer above the price (2026-10-27): a badge, no struck-out price and no date. */
.price-offer { display: inline-block; margin: 14px 0 -4px; padding: 5px 14px; border-radius: 999px; background: linear-gradient(90deg, #ff4d8d, #7b5cff); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 10px 22px -12px rgba(255, 77, 141, .9); }
