/* Basaer website. One idea carries the page: a day of the app's prayer skies. The hero is dawn over the hills with
   Hudhud standing on them; the features scroll past a phone whose sky moves from Fajr to night; the page ends at night.
   Colours, fonts and the chunky pressed buttons are the app's own (theme + PrayerSky.tsx). */
:root {
  --green: #0F4A33; --green-d: #062A1C; --green2: #1C6B4A; --leaf: #3CC68A; --leaf-d: #1F9963; --leaf-soft: #DAF4E6;
  --sun: #F7BB3C; --sun-d: #C98E12; --cream: #FFF8E6; --ground: #F1F4E8; --ground2: #E7EDDB; --card: #FFFFFF;
  --ink: #13261C; --ink2: #4A5D52; --line: #DCE4CF; --night: #070B26; --night2: #141A4A;
  --display: 'Baloo Bhaijaan 2', system-ui, sans-serif;
  --body: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: clamp(16px, 4vw, 32px);
}
html[lang="ar"] { --body: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: min(1160px, 100% - 2 * var(--pad)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--pad)); }
h1, h2, h3 { font-family: var(--display); color: var(--green); margin: 0; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(46px, 6.6vw, 88px); line-height: 1; letter-spacing: -0.02em; }
h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -0.01em; }
h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; }
html[lang="ar"] h1 { line-height: 1.25; letter-spacing: 0; }
html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
.sub { color: var(--ink2); font-size: 20px; max-width: 34em; margin-top: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--green); color: var(--cream); padding: 10px 16px; border-radius: 12px; font: 700 16px var(--display); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid #57AEEB; outline-offset: 3px; border-radius: 6px; }

/* Buttons: the app's pressed, chunky look */
.btn { --b: var(--green); --e: var(--green-d); --t: var(--cream); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 18px/1.2 var(--display); color: var(--t); background: var(--b); border: 2px solid var(--e); border-bottom-width: 6px; border-radius: 18px;
  padding: 12px 22px; text-decoration: none; cursor: pointer; transition: transform .1s var(--ease), border-bottom-width .1s; }
.btn:active { transform: translateY(3px); border-bottom-width: 3px; }
.btn-sun { --b: var(--sun); --e: var(--sun-d); --t: #3A2600; }
.btn-sm { font-size: 15px; padding: 7px 14px; border-bottom-width: 4px; border-radius: 14px; }

/* Header: night glass, the colour at the top of the dawn sky, so it reads as part of the sky rather than a green bar */
.top { position: sticky; top: 0; z-index: 30; background: rgba(27, 37, 84, .86); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top-row { display: flex; align-items: center; gap: 24px; height: 66px; }
/* The wordmark: Hudhud himself, and the name in cream with his gold crest as the dot under it */
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-bird { width: 44px; height: 44px; display: block; margin-block: -4px 0; }
.brand-bird img { width: 100%; height: 100%; }
.brand-name { position: relative; font: 800 25px/1 var(--display); color: var(--cream); letter-spacing: -0.01em; padding-bottom: 2px; }
.brand-name::after { content: ''; position: absolute; inset-inline-start: 2px; bottom: -4px; width: 22px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--sun), #FF9F6B); }
html[lang="ar"] .brand-name { font-size: 27px; padding-bottom: 0; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; font: 700 16px var(--display); color: rgba(255, 248, 230, .82); padding: 8px 12px; border-radius: 12px; }
.nav a:hover { color: var(--sun); background: rgba(255, 255, 255, .08); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang { font: 600 15px 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui; color: var(--cream); background: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 255, 255, .22); border-bottom-width: 4px; border-radius: 14px; padding: 5px 13px; cursor: pointer; }
.lang:hover { background: rgba(255, 255, 255, .16); }
.lang:active { transform: translateY(2px); border-bottom-width: 2px; }
html[lang="ar"] .lang { font-family: 'IBM Plex Sans', system-ui; }

/* ——— Hero: dawn ——— */
.hero { position: relative; isolation: isolate; color: var(--cream); padding: clamp(56px, 9vw, 112px) 0 clamp(150px, 15vw, 210px); overflow: hidden; }
.hero-sky { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #1B2554 0%, #3A3478 34%, #8A4A84 62%, #D8697A 82%, #F08A5D 100%); }
.stars { position: absolute; inset: 0 0 35% 0; opacity: .75;
  background-image: radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 22% 40%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 35% 12%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 48% 30%, #fff 50%, transparent 52%), radial-gradient(2px 2px at 63% 10%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 72% 34%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 84% 20%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 92% 44%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 6% 52%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 56% 50%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 30% 62%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 78% 58%, #fff 50%, transparent 52%); }
.hero .stars { animation: starsfade 2.4s var(--ease) both; }
@keyframes starsfade { from { opacity: 1; } to { opacity: .55; } }
.hero-sun { position: absolute; left: 62%; bottom: 70px; width: 150px; height: 150px; border-radius: 50%; background: #FFE2AE;
  box-shadow: 0 0 0 26px rgba(255, 196, 140, .22), 0 0 0 64px rgba(255, 160, 120, .12), 0 0 140px 60px rgba(255, 140, 100, .35); animation: rise 2.4s var(--ease) both; }
html[dir="rtl"] .hero-sun { left: auto; right: 62%; }
@keyframes rise { from { transform: translateY(90px); } to { transform: none; } }
.cloud { position: absolute; height: 22px; border-radius: 22px; background: rgba(255, 205, 210, .32); }
.cloud::before, .cloud::after { content: ''; position: absolute; border-radius: 50%; background: inherit; }
.cloud::before { width: 46%; height: 220%; left: 14%; bottom: 40%; } .cloud::after { width: 30%; height: 160%; left: 50%; bottom: 40%; }
.c1 { width: 150px; top: 9%; left: 46%; animation: drift 70s linear infinite; }
.c2 { width: 110px; top: 40%; left: 78%; animation: drift 90s linear infinite reverse; }
html[dir="rtl"] .c1 { left: auto; right: 46%; } html[dir="rtl"] .c2 { left: auto; right: 78%; }
@keyframes drift { from { translate: 0 0; } 50% { translate: 60px 0; } to { translate: 0 0; } }
.hills { position: absolute; left: 0; bottom: -1px; width: 100%; height: 34%; min-height: 150px; }
.hero .h-back { fill: #4A2E5C; } .hero .h-front { fill: var(--ground); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px 40px; align-items: end; }
.hero h1 { color: var(--cream); max-width: 8.6em; }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; color: rgba(255, 248, 230, .9); margin: 22px 0 30px; max-width: 31em; }
.hero-note { margin-top: 18px; font-size: 16px; color: rgba(255, 248, 230, .82); }
.hero-bird { display: grid; justify-items: center; align-self: end; margin-bottom: clamp(-150px, -11vw, -96px); }
.bird-btn { background: none; border: 0; padding: 0; cursor: pointer; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.bird { display: block; }
.bird svg, .bird img { width: 100%; height: auto; display: block; overflow: visible; }
#heroBird { width: clamp(190px, 24vw, 300px); }

/* Get the app: the App Store button with the social accounts right beside it */
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 9px 22px 7px 18px; border-radius: 18px; text-decoration: none;
  background: #000; color: #fff; border: 2px solid #000; border-bottom-width: 6px; border-bottom-color: #2A2A2A; transition: transform .1s var(--ease), border-bottom-width .1s; }
html[dir="rtl"] .store { padding: 9px 18px 7px 22px; }
a.store:active { transform: translateY(3px); border-bottom-width: 3px; }
.store svg { width: 30px; height: 30px; fill: #fff; flex: none; margin-top: -3px; }
.store span { display: grid; line-height: 1.15; text-align: start; }
.store small { font: 500 13px var(--body); opacity: .85; }
.store b { font: 700 23px/1.1 -apple-system, 'SF Pro Display', var(--display); letter-spacing: -0.01em; }
.store.soon { cursor: default; background: #1A1D2B; border-color: #1A1D2B; border-bottom-color: #34384B; }
.store.soon small { color: var(--sun); opacity: 1; font-weight: 600; }
.store.soon svg { opacity: .7; }
.sbtns { display: flex; gap: 8px; }
.sbtn { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: var(--card); color: var(--ink); text-decoration: none;
  border: 2px solid rgba(0, 0, 0, .12); border-bottom-width: 6px; transition: transform .1s var(--ease), border-bottom-width .1s; }
.sbtn:active { transform: translateY(3px); border-bottom-width: 3px; }
.sbtn svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sbtn svg .fill { fill: currentColor; stroke: none; }
.sbtn.ig { color: #C13584; } .sbtn.tt { color: #111; } .sbtn.yt { color: #E62117; }
.or { font: 600 14px var(--body); color: inherit; opacity: .75; padding-inline: 4px; }

/* ——— A day with the Quran ——— */
.day { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.day-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 6vw, 96px); }
.feat { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; padding-block: 28px; opacity: .3; transition: opacity .5s var(--ease); max-width: 33em; }
.feat.on { opacity: 1; }
.feat:first-child { min-height: 60vh; justify-content: flex-start; padding-top: 8vh; }
.feat:last-child { min-height: 70vh; }
.f-name { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font: 700 15px var(--display); color: var(--green); background: var(--leaf-soft); border-radius: 99px; padding: 3px 13px 3px 4px; margin-bottom: 14px; }
html[dir="rtl"] .f-name { padding: 3px 4px 3px 13px; }
.f-time { font: 700 13px var(--display); color: var(--cream); background: #1B2554; border-radius: 99px; padding: 1px 10px; }
.feat[data-sky="sunrise"] .f-time { background: #9A7BC4; } .feat[data-sky="duha"] .f-time { background: #3B8FD9; } .feat[data-sky="dhuhr"] .f-time { background: #1F6FC1; }
.feat[data-sky="asr"] .f-time { background: #C98A3A; } .feat[data-sky="maghrib"] .f-time { background: #B8456A; } .feat[data-sky="isha"] .f-time { background: #2A2E6E; } .feat[data-sky="night"] .f-time { background: #070B26; }
.feat p { font-size: 19px; margin-top: 14px; color: var(--ink); }
.feat .f-small { font-size: 16px; color: var(--ink2); }
.f-fig { display: none; }

.day-stage { position: relative; }
.window { position: sticky; top: 88px; height: min(700px, calc(100vh - 120px)); min-height: 560px; border-radius: 40px; overflow: hidden; isolation: isolate;
  --ox: 50%; --oy: 92%; --oc: #FFD9A0; --og: rgba(255, 158, 107, .5); --hb: #4A2E5C; --hf: #2A1E45; --st: .7; }
.sky { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; z-index: -2; }
.sky.on { opacity: 1; }
.sky-fajr { background: linear-gradient(180deg, #1B2554, #4B3E86 40%, #C1587A 75%, #F08A5D); }
.sky-sunrise { background: linear-gradient(180deg, #3B5BA8, #9A7BC4 42%, #F4A96A 76%, #FFD38A); }
.sky-duha { background: linear-gradient(180deg, #2E7CCF, #6AAFE8 40%, #B6DCF7 75%, #FFE9B8); }
.sky-dhuhr { background: linear-gradient(180deg, #1F6FC1, #3C95DE 40%, #8CC7F2 75%, #D6EEFF); }
.sky-asr { background: linear-gradient(180deg, #5E6FB6, #C98A7A 42%, #F2A65A 76%, #FFD27A); }
.sky-maghrib { background: linear-gradient(180deg, #2B2160, #7A3B7E 40%, #D6506B 75%, #F59A55); }
.sky-isha { background: linear-gradient(180deg, #141A4A, #2A2E6E 45%, #5A4A8E 80%, #8E6A9A); }
.sky-night { background: linear-gradient(180deg, #070B26, #141A4A 40%, #26306E 75%, #3A3F86); }
.window .stars { inset: 0 0 30% 0; opacity: var(--st); transition: opacity 1s ease; z-index: -1; }
.orb { position: absolute; left: var(--ox); top: var(--oy); width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; z-index: -1;
  background: var(--oc); box-shadow: 0 0 0 18px var(--og), 0 0 90px 40px var(--og); transition: left 1.1s var(--ease), top 1.1s var(--ease), background .9s, box-shadow .9s; }
.window.is-moon .orb { box-shadow: inset -16px -6px 0 0 rgba(20, 26, 74, .85), 0 0 50px 8px rgba(220, 227, 255, .25); }
.window .hills { height: 24%; min-height: 0; z-index: -1; }
.window .h-back { fill: var(--hb); transition: fill 1s ease; } .window .h-front { fill: var(--hf); transition: fill 1s ease; }
.window[data-sky="fajr"] { --ox: 50%; --oy: 86%; --oc: #FFD9A0; --og: rgba(255, 158, 107, .45); --hb: #4A2E5C; --hf: #2A1E45; --st: .75; }
.window[data-sky="sunrise"] { --ox: 24%; --oy: 64%; --oc: #FFF1C2; --og: rgba(255, 197, 107, .45); --hb: #7A4E66; --hf: #5A3A55; --st: 0; }
.window[data-sky="duha"] { --ox: 34%; --oy: 26%; --oc: #FFF6D6; --og: rgba(255, 230, 150, .5); --hb: #6FA9D6; --hf: #4C8CC4; --st: 0; }
.window[data-sky="dhuhr"] { --ox: 72%; --oy: 13%; --oc: #FFFBEA; --og: rgba(255, 243, 176, .55); --hb: #5C9BD0; --hf: #3E7FB8; --st: 0; }
.window[data-sky="asr"] { --ox: 80%; --oy: 44%; --oc: #FFF0B8; --og: rgba(255, 193, 94, .5); --hb: #A86A40; --hf: #8A4A2A; --st: 0; }
.window[data-sky="maghrib"] { --ox: 40%; --oy: 84%; --oc: #FFC98A; --og: rgba(255, 122, 90, .5); --hb: #4E2558; --hf: #33163F; --st: .35; }
.window[data-sky="isha"] { --ox: 74%; --oy: 20%; --oc: #F4F1D6; --og: rgba(220, 227, 255, .15); --hb: #2A2A62; --hf: #171A45; --st: .8; }
.window[data-sky="night"] { --ox: 78%; --oy: 12%; --oc: #F4F1D6; --og: rgba(220, 227, 255, .15); --hb: #141A44; --hf: #0B0F2E; --st: 1; }
.phone { position: absolute; left: 50%; bottom: 5%; height: 88%; width: auto; max-width: 70%; aspect-ratio: 1350 / 2760; translate: -50% 0; filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .35)); }
/* the screens come already framed in Apple's iPhone 18 Pro bezel (assets/screens), so nothing here draws a frame */
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .55s ease; }
.phone img.on { opacity: 1; }
.stage-bird { position: absolute; width: 124px; bottom: 2.5%; inset-inline-start: 4%; z-index: 2; }

/* the rest of the app */
.more { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); padding-top: 32px; }
.more-title { font-size: 24px; color: var(--ink); margin-bottom: 20px; }
.more-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.more-list li { display: grid; gap: 6px; align-content: start; font-size: 16px; color: var(--ink2); }
.more-list b { font: 700 19px var(--display); color: var(--green); }
.mi { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--card); border: 2px solid var(--line); border-bottom-width: 4px; color: var(--green); margin-bottom: 6px; }
.mi svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ——— Umrah and Hajj: two phones beside the copy, on a Makkah-at-dusk band ——— */
.occ { position: relative; isolation: isolate; padding: clamp(56px, 8vw, 104px) 0; overflow: hidden; color: var(--cream);
  background: linear-gradient(180deg, #2B2160, #5A3A7E 45%, #B8456A 85%, #F08A5D); }
.occ h2 { color: var(--cream); }
.occ .sub { color: rgba(255, 248, 230, .86); }
.occ .f-name { background: rgba(255, 255, 255, .12); }
.occ .f-time { background: #F7BB3C; color: #3A2600; }
.occ-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px 56px; align-items: center; }
.occ-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.occ-list li { display: grid; gap: 6px; align-content: start; font-size: 16px; color: rgba(255, 248, 230, .82); }
.occ-list b { font: 700 19px var(--display); color: var(--cream); }
.occ .mi { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); color: #F7D88A; }
.occ-phones { position: relative; height: clamp(460px, 46vw, 620px); }
.occ-phones img { position: absolute; height: 92%; width: auto; aspect-ratio: 1350 / 2760; filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .35)); }
.occ-p1 { inset-inline-start: 0; top: 0; }
.occ-p2 { inset-inline-end: 0; bottom: 0; }

/* ——— Hudhud, the coach ——— */
.coach { background: var(--leaf-soft); padding: clamp(56px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.coach-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px 64px; align-items: center; }
.coach-art { display: grid; justify-items: center; gap: 14px; }
#coachBird { width: clamp(200px, 24vw, 280px); }
.bubble { position: relative; background: var(--card); color: var(--ink); font: 700 19px/1.4 var(--display); padding: 12px 20px; border-radius: 20px; border: 2px solid var(--line); border-bottom-width: 5px; max-width: 320px; text-align: center; min-height: 58px; display: grid; place-items: center; }
.bubble::after { content: ''; position: absolute; left: 50%; bottom: -12px; width: 18px; height: 18px; margin-left: -9px; background: var(--card); border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: rotate(45deg); }
.coach-copy p { font-size: 20px; margin-top: 16px; max-width: 30em; }
.moods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.mood { font: 700 16px var(--display); color: var(--green); background: var(--card); border: 2px solid rgba(15, 74, 51, .16); border-bottom-width: 4px; border-radius: 99px; padding: 7px 16px; cursor: pointer; }
.mood:active { transform: translateY(2px); border-bottom-width: 2px; }
.mood[aria-pressed="true"] { background: var(--green); color: var(--cream); border-color: var(--green-d); }

/* ——— Promise ——— */
.promise { padding: clamp(40px, 6vw, 72px) 0; }
.promise-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.promise-row li { display: grid; gap: 6px; align-content: start; padding: 4px 24px; border-inline-start: 2px solid var(--line); font-size: 16px; color: var(--ink2); }
.promise-row li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.promise-row b { font: 800 clamp(24px, 2.4vw, 30px)/1.1 var(--display); color: var(--green); }

/* ——— Videos ——— */
.videos { padding: clamp(48px, 7vw, 96px) 0; background: var(--card); border-block: 1px solid var(--line); }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rail-nav { display: flex; gap: 8px; flex: none; }
.rail-btn { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--ground); border: 2px solid var(--line); border-bottom-width: 4px; cursor: pointer; color: var(--green); }
.rail-btn:active { transform: translateY(2px); border-bottom-width: 2px; }
.rail-btn:disabled { opacity: .35; cursor: default; transform: none; border-bottom-width: 4px; }
.rail-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .rail-btn svg { transform: scaleX(-1); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(170px, 18vw, 214px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px max(var(--pad), (100% - 1160px) / 2) 18px; scroll-padding-inline: max(var(--pad), (100% - 1160px) / 2); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.vcard { scroll-snap-align: start; display: grid; gap: 10px; align-content: start; }
.vthumb { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--ground2) center / cover no-repeat; border: 2px solid rgba(0, 0, 0, .08); border-bottom-width: 6px; }
.vthumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .35)); }
.vplay { position: absolute; z-index: 1; inset-inline-start: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; transition: transform .2s var(--ease); }
.vplay svg { width: 18px; height: 18px; fill: var(--green); margin-inline-start: 3px; }
html[dir="rtl"] .vplay svg { transform: scaleX(-1); margin: 0 3px 0 0; }
.vthumb:hover .vplay { transform: scale(1.08); }
.vcard h4 { margin: 0; font: 700 17px/1.3 var(--display); color: var(--ink); }
.vlinks { display: flex; gap: 4px; margin-inline-start: -6px; }
.vlinks a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--ink2); }
.vlinks a:hover { background: var(--ground); color: var(--green); }
.vlinks svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vlinks svg .fill, .soc-ico svg .fill { fill: currentColor; stroke: none; }
.vmore { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 40px; }
.vbox { background: var(--ground); border: 2px solid var(--line); border-bottom-width: 6px; border-radius: 28px; padding: 28px; }
.vbox h3 { font-size: 28px; }
.vbox p { color: var(--ink2); margin-top: 6px; }
.socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.soc { display: flex; align-items: center; gap: 12px; background: var(--card); border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 18px; padding: 10px 12px; text-decoration: none; min-width: 0; }
.soc:active { transform: translateY(2px); border-bottom-width: 2px; }
.soc b { display: block; font: 700 16px var(--display); color: var(--ink); overflow: hidden; text-overflow: ellipsis; text-align: start; }
.soc small { display: block; font-size: 13px; color: var(--ink2); }
.soc > span:last-child { min-width: 0; }
.soc-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.soc-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.soc-ico.ig { background: linear-gradient(45deg, #F9A23B, #E1306C 50%, #8A3AB9); } .soc-ico.tt { background: #111; } .soc-ico.yt { background: #E62117; }
.suggest-box { display: grid; justify-items: start; align-content: start; gap: 4px; position: relative; }
.suggest-box .btn { margin-top: 16px; }
.sug-bird { width: 76px; height: 76px; margin-bottom: 4px; }

/* ——— FAQ ——— */
.faq { padding: clamp(56px, 8vw, 104px) 0; }
.faq h2 { margin-bottom: 24px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 0; font: 700 21px/1.35 var(--display); color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 12px; height: 12px; margin-top: 8px; border-right: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(45deg); transition: transform .25s var(--ease); }
details[open] summary::after { transform: rotate(225deg); margin-top: 13px; }
details p { padding: 0 0 22px; color: var(--ink2); max-width: 36em; }

/* ——— Night ——— */
.final { position: relative; isolation: isolate; color: var(--cream); padding: clamp(72px, 10vw, 128px) 0 clamp(64px, 8vw, 96px); overflow: hidden; text-align: center; }
.final-sky { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ground) 0, #3A3F86 2%, #26306E 30%, #141A4A 70%, var(--night)); }
.final-sky .stars { inset: 8% 0 0 0; opacity: .9; }
.final-sky .moon { position: absolute; top: 16%; inset-inline-end: 14%; width: 64px; height: 64px; border-radius: 50%; background: #F4F1D6; box-shadow: inset -14px -5px 0 0 #1D2458, 0 0 50px 6px rgba(220, 227, 255, .2); }
html[dir="rtl"] .final-sky .moon { box-shadow: inset 14px -5px 0 0 #1D2458, 0 0 50px 6px rgba(220, 227, 255, .2); }
.final-box { display: grid; justify-items: center; }
.final-bird { width: 150px; margin-bottom: 8px; }
.final h2 { color: var(--cream); max-width: 12em; }
.final p { color: rgba(255, 248, 230, .82); font-size: 20px; margin: 14px 0 30px; max-width: 28em; }
.final .get { justify-content: center; }
.foot { background: var(--night); color: rgba(255, 248, 230, .7); padding: 28px 0 40px; font-size: 15px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; }
.brand.small .brand-bird { width: 40px; height: 40px; }
.brand.small .brand-name { font-size: 21px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { text-decoration: none; color: rgba(255, 248, 230, .85); display: inline-block; padding: 10px 0; }
.foot-links a:hover { color: var(--sun); }
.copy { margin-inline-start: auto; }

/* ——— Tablet and phone ——— */
@media (max-width: 980px) {
  .nav { display: none; }
  .top-actions { margin-inline-start: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-bird { margin: 8px 0 -120px; justify-items: center; }
  .day-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 32px; }
  .stage-bird { width: 96px; }
  .more-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coach-grid { grid-template-columns: 1fr; text-align: center; }
  .coach-copy p { margin-inline: auto; }
  .moods { justify-content: center; }
  .promise-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .promise-row li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .vmore { grid-template-columns: 1fr; }
  .occ-grid { grid-template-columns: 1fr; }
  .occ-phones { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 759px) {
  .day-grid { grid-template-columns: 1fr; }
  .day-stage { display: none; }
  .feat, .feat:first-child, .feat:last-child { min-height: 0; opacity: 1; padding: 0 0 56px; max-width: none; }
  .f-fig { display: block; position: relative; height: 460px; margin: 0 0 24px; border-radius: 32px; overflow: hidden; }
  .f-fig img { position: absolute; left: 50%; top: 26px; width: 260px; height: auto; aspect-ratio: 1350 / 2760; translate: -50% 0; filter: drop-shadow(0 24px 26px rgba(0, 0, 0, .35)); }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .top-row { gap: 12px; }
  .brand-name { font-size: 22px; }
  .brand-bird { width: 38px; height: 38px; }
  .hero { padding-top: 40px; }
  .lead { margin: 16px 0 24px; }
  .get { gap: 8px; }
  .get { flex-wrap: nowrap; gap: 6px; }
  .store { min-height: 56px; flex: 1 1 auto; min-width: 0; justify-content: center; gap: 8px; padding: 7px 12px 5px; }
  html[dir="rtl"] .store { padding: 7px 12px 5px; }
  .store svg { width: 24px; height: 24px; }
  .store b { font-size: 20px; }
  .store small { font-size: 11.5px; }
  .sbtns { flex: none; gap: 6px; }
  .sbtn { width: 46px; height: 56px; border-radius: 15px; }
  .sbtn svg { width: 23px; height: 23px; }
  .more-list { grid-template-columns: 1fr; gap: 22px; }
  .promise-row { grid-template-columns: 1fr; gap: 20px; }
  .promise-row li { border-inline-start: 0; padding-inline: 0; }
  .row-head { display: block; }
  .rail-nav { display: none; }
  .socials { grid-template-columns: 1fr; }
  .occ-list { grid-template-columns: 1fr; }
  .occ-phones { height: 420px; }
  .vbox { padding: 22px; }
  .copy { margin-inline-start: 0; width: 100%; }
}

/* Small phones (iPhone SE 1st gen, small Androids, a folded Galaxy Fold): header buttons stay on one line,
   and the App Store badge takes the full width with the social buttons under it */
.btn-sm, .lang, .store small, .store b { white-space: nowrap; }
@media (max-width: 374px) {
  .top-row { gap: 8px; }
  .brand { gap: 6px; min-height: 44px; }
  .brand-bird { width: 32px; height: 32px; }
  .brand-name, html[lang="ar"] .brand-name { font-size: 20px; }
  .top-actions { gap: 6px; }
  .lang { font-size: 13.5px; padding: 4px 9px; }
  .btn-sm { font-size: 13.5px; padding: 6px 10px; }
}
@media (max-width: 359px) {
  .get, .final .get { flex-wrap: wrap; }
  .store { flex: 1 1 100%; }
  .sbtns { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 300px) {
  .brand-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
