/* KHONSU TV — the site.
   Layout: one night, top to bottom. The moon rises behind the hero's TV, a second TV stays pinned
   while the app's screens play on it, and the page sets into a glowing horizon at the footer.
   Colors and the glass are the app's own (KHONSU TV app/app.css: the night #0A0E18, the moon's bone,
   the silver-blue of his logo, each section's card gradient). Single dark look, by choice. */

:root {
  color-scheme: dark;
  /* color */
  --night: #06080F;          /* the page */
  --night-2: #0A0E18;        /* the app's night */
  --ink: #0E1320;
  --bone: #E8E6E1;           /* the moon: what is chosen or pressed */
  --text: #F4F3EF;
  --muted: #B9B6AE;
  --faint: #8F8C84;
  --silver: #AFC3DB;         /* the silver-blue of his logo, for small details */
  --ok: #34D399;
  --line: rgba(232, 230, 225, .12);
  --line-2: rgba(232, 230, 225, .22);
  --glass: rgba(232, 230, 225, .045);
  --glass-2: rgba(232, 230, 225, .085);
  --g-moon: linear-gradient(135deg, #FFFFFF 0%, #E8E6E1 48%, #CFCCC3 100%);
  --g-home: linear-gradient(140deg, #ffffff, #c9d5e6 48%, #5f7393);
  --g-live: linear-gradient(140deg, #ff5f6d, #c2185b 60%, #6a1b4d);
  --g-vod: linear-gradient(140deg, #ffb347, #f7791c 55%, #a8361f);
  --g-series: linear-gradient(140deg, #9d50ff, #5b2bd8 55%, #2a1a7a);
  --g-fav: linear-gradient(140deg, #ff7eb3, #e0457b 55%, #7a1f4c);
  --g-multi: linear-gradient(140deg, #ffb25e, #e0702f 55%, #6b2c17);
  --g-dl: linear-gradient(140deg, #2fe0a8, #12a07a 55%, #0b4f55);
  --g-set: linear-gradient(140deg, #9fb4c9, #56708c 55%, #26364a);
  /* type */
  /* type, his word of 11 November 2026: the English bold and clear, the Arabic easy on the eye */
  --f-display-en: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --f-display-ar: "Almarai", "Segoe UI", Tahoma, sans-serif;
  --f-body-en: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --f-body-ar: "Almarai", "Segoe UI", Tahoma, system-ui, sans-serif;
  --f-mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, "Roboto Mono", monospace;
  --f-app: "Albert Sans", "Segoe UI", system-ui, sans-serif;   /* the screens drawn inside the TV and the phone */
  --f-app-ar: "Almarai", "Segoe UI", Tahoma, sans-serif;
  --f-display: var(--f-display-en);
  --f-body: var(--f-body-en);
  /* layout */
  --hdr: 64px;
  --wrap: 1200px;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .7, .1, 1);
}
html[lang="ar"] { --f-display: var(--f-display-ar); --f-body: var(--f-body-ar); --muted: #CAC7BF; --faint: #A6A39B; }

@property --aura-c { syntax: '<color>'; inherits: true; initial-value: rgba(175, 195, 219, .3); }
@property --pct { syntax: '<integer>'; inherits: false; initial-value: 37; }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(175, 195, 219, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }
html:not([lang="ar"]) [data-l="ar"], html[lang="ar"] [data-l="en"] { display: none !important; }
html[lang="ar"] body { font-size: 18px; line-height: 1.9; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 10px); inset-inline-start: 16px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--bone); color: var(--night-2); font-weight: 700; text-decoration: none; transform: translateY(-160%); opacity: 0; transition: transform .2s, opacity .2s; }
.skip:focus { transform: none; opacity: 1; }
section[id], #main { scroll-margin-top: calc(var(--hdr) + 8px); }
main > section, .ftr { overflow-x: clip; } /* glows and auras may reach past the edge; the page never scrolls sideways */

.wrap { width: 100%; max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* headings */
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font: 800 clamp(44px, 5.5vw, 84px)/1.03 var(--f-display); letter-spacing: -.035em; }
h2 { font: 800 clamp(32px, 3.7vw, 54px)/1.1 var(--f-display); letter-spacing: -.03em; }
h3 { font: 700 21px/1.3 var(--f-body); letter-spacing: -.01em; }
html[lang="ar"] h1 { font-weight: 800; font-size: clamp(36px, 4.6vw, 70px); line-height: 1.4; letter-spacing: 0; }
html[lang="ar"] h2 { font-weight: 800; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.45; letter-spacing: 0; }
html[lang="ar"] h3 { letter-spacing: 0; }
h1 em, h2 em { font-style: normal; background: linear-gradient(100deg, #ffffff 10%, #dfe7f2 45%, var(--silver) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .06em; }
html[lang="ar"] h1 em { font-style: normal; }
.eyebrow { margin: 0 0 14px; font: 600 12.5px/1 var(--f-body); letter-spacing: .28em; text-transform: uppercase; color: var(--silver); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; text-transform: none; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { margin-bottom: 16px; }
.sec-center { margin-inline: auto; text-align: center; }
.sec-center .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.sec-lead { margin: 0; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); max-width: 62ch; }
.sec-center .sec-lead { margin-inline: auto; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1.1 var(--f-body); text-decoration: none; color: var(--text); cursor: pointer;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn .ic { width: 20px; height: 20px; }
.btn-moon { background: var(--g-moon); color: var(--night-2); box-shadow: 0 12px 34px -14px rgba(232, 230, 225, .65), inset 0 1px 0 #fff; --eye: #E8E6E1; }
.btn-moon:hover { transform: translateY(-2px); box-shadow: 0 18px 46px -14px rgba(232, 230, 225, .8), inset 0 1px 0 #fff; }
.btn-glass { background: var(--glass-2); border-color: var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(232, 230, 225, .14); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line-2); }
.btn-ghost:hover { background: var(--glass-2); }
.btn-lg { min-height: 60px; padding: 0 28px; font-size: 17px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-xs { min-height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-lines { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; text-align: start; }
.btn-lines small { font: 500 12.5px/1 var(--f-body); opacity: .72; letter-spacing: .01em; }
.btn-lg .btn-lines small { font-size: 13px; }

/* ------------------------------------------------------------------ header */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(180deg, rgba(6, 8, 15, .78), rgba(6, 8, 15, .45));
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.hdr.is-scrolled { border-bottom-color: var(--line); background: rgba(6, 8, 15, .82); }
.hdr-in { height: var(--hdr); display: flex; align-items: center; gap: 28px; max-width: 1400px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.wm { font: 600 15px/1 var(--f-body-en); letter-spacing: .36em; color: var(--bone); margin-inline-end: -.36em; }
html[dir="rtl"] .wm { margin-inline-end: 0; margin-inline-start: -.36em; }
.tvpill { font: 800 10px/1 var(--f-body-en); letter-spacing: .14em; color: var(--night-2); background: var(--bone); border-radius: 99px; padding: 4px 7px 4px 8px; margin-inline-start: 4px; }
.nav { display: flex; gap: 6px; margin-inline-start: 12px; }
.nav a { padding: 8px 12px; border-radius: 99px; text-decoration: none; font-size: 15px; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--glass); }
.hdr-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 14.5px; transition: background .2s; }
.lang:hover { background: var(--glass-2); }
.lang [lang="ar"] { font-family: var(--f-body-ar); font-size: 15px; }
.lang [lang="en"] { font-family: var(--f-body-en); }
.lang .ic { width: 18px; height: 18px; color: var(--silver); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; padding-block: calc(var(--hdr) + env(safe-area-inset-top, 0px) + clamp(36px, 6vw, 84px)) clamp(40px, 6vw, 72px); overflow: clip; background: radial-gradient(110% 70% at 72% 0%, #0f1830 0%, #080c18 52%, var(--night) 100%); }
html[dir="rtl"] .hero { background: radial-gradient(110% 70% at 28% 0%, #0f1830 0%, #080c18 52%, var(--night) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; z-index: -1; background: radial-gradient(60% 90% at 60% 100%, rgba(175, 195, 219, .12), transparent 70%); pointer-events: none; }
html[dir="rtl"] .hero::after { background: radial-gradient(60% 90% at 40% 100%, rgba(175, 195, 219, .12), transparent 70%); }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.moon-wrap { position: absolute; z-index: -2; top: clamp(-40px, -2vw, 0px); inset-inline-end: 3.5vw; width: clamp(200px, 30vw, 450px); aspect-ratio: 1; pointer-events: none; }
.moon { width: 100%; height: 100%; display: block; animation: moonrise 2.4s var(--ease) both; }
@keyframes moonrise { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: center; max-width: 1400px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 24px; }
.lead { margin: 0 0 32px; max-width: 34em; font-size: clamp(17px, 1.45vw, 19.5px); color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: 7px; }
.facts .ic { width: 16px; height: 16px; color: var(--ok); }
.hero-stage { position: relative; padding-block: 2% 7%; }
.hero-stage::before { content: ""; position: absolute; inset: 15% -6% -4%; z-index: -1; background: radial-gradient(50% 45% at 50% 62%, rgba(175, 195, 219, .2), transparent 72%); pointer-events: none; }

/* the TV, the phone, and the app drawn at its own size and scaled to fit */
.tv { margin: 0; position: relative; }
.tv-frame { position: relative; padding: clamp(5px, .55vw, 9px); border-radius: clamp(10px, 1.1vw, 16px); background: linear-gradient(180deg, #262d3c, #0b0e15 50%, #141922); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 50px 90px -40px rgba(0, 0, 0, .95), 0 30px 140px -50px rgba(175, 195, 219, .28); }
.tv-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 3px; overflow: hidden; background: #000; container-type: inline-size; }
.tv-screen::after { content: ""; position: absolute; inset: 0; z-index: 8; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 34%); }
.tv-stand { position: relative; height: clamp(18px, 2.4vw, 34px); }
.tv-stand::before { content: ""; position: absolute; left: 50%; top: 0; width: 7%; height: 70%; transform: translateX(-50%); background: linear-gradient(90deg, #121620, #2a3140, #121620); }
.tv-stand::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 34%; height: 30%; transform: translateX(-50%); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #2a3140, #0d1017); box-shadow: 0 14px 30px -6px rgba(0, 0, 0, .9); }
.phone { position: relative; padding: 3.4%; border-radius: 13% / 6.2%; background: linear-gradient(155deg, #444c5f, #13161f 38%, #222836); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 70px -24px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .6); }
.phone-screen { position: relative; aspect-ratio: 390 / 844; border-radius: 10% / 4.7%; overflow: hidden; background: var(--night-2); }
.phone-screen::before { content: ""; position: absolute; z-index: 9; top: 1.5%; left: 36%; width: 28%; height: 3.4%; border-radius: 99px; background: #000; }
.vp { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; transform: scale(var(--k, .5)); direction: ltr; }
.vp[data-w="390"] { width: 390px; height: 844px; }
.phone-hero { position: absolute; z-index: 3; width: 20%; inset-inline-start: -5%; bottom: -7%; transform: rotate(var(--tilt, -5deg)); }
html[dir="rtl"] .phone-hero { --tilt: 5deg; }

.platforms { list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 20px; background: rgba(10, 14, 24, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; }
.platforms li { display: flex; align-items: center; gap: 14px; padding: 18px 22px; }
.platforms li + li { border-inline-start: 1px solid var(--line); }
.platforms .os { width: 28px; height: 28px; flex: none; color: var(--bone); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.os-android { --eye: var(--night-2); }
.platforms b { display: block; font-weight: 650; font-size: 16px; line-height: 1.25; }
.platforms small { display: block; color: var(--faint); font-size: 13.5px; line-height: 1.3; }
.platforms .is-soon .os { color: var(--faint); }

/* ------------------------------------------------------------------ the app, drawn (design pixels) */
.app { position: absolute; inset: 0; overflow: hidden; background: var(--night-2); color: #F4F3EF; font: 400 14px/1.3 var(--f-app); text-align: left; direction: ltr; -webkit-font-smoothing: antialiased; }
html[lang="ar"] .app [data-l="ar"] { font-family: var(--f-app-ar); }
.app svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.app img { max-width: none; }
.a-mark { position: absolute; right: -90px; top: 90px; width: 600px; height: 600px; background: url("../img/logo-512.png") center / contain no-repeat; opacity: .035; pointer-events: none; }
.a-top { position: absolute; left: 46px; right: 46px; top: 26px; height: 42px; display: flex; align-items: center; gap: 18px; z-index: 4; }
.a-brand { display: flex; align-items: center; gap: 13px; }
.a-brand img { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
.a-brand b { font: 600 18px/1 var(--f-app); letter-spacing: .34em; color: #E8E6E1; }
.a-brand i { font: 800 10px/1 var(--f-app); font-style: normal; letter-spacing: .12em; color: #0A0E18; background: #E8E6E1; border-radius: 99px; padding: 4px 8px; margin-left: -4px; }
.a-clock { margin-left: auto; font: 500 16px/1 var(--f-app); color: #DAD7D0; }
.a-av { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #1C2A3B; border: 2px solid rgba(175, 195, 219, .5); font: 700 15px/1 var(--f-app); color: #E8E6E1; flex: none; }
.a-av::after { content: ""; position: absolute; right: -2px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #34D399; border: 2px solid #0A0E18; }
.a-chip { display: inline-flex; align-items: center; gap: 8px; height: 27px; padding: 0 13px; border-radius: 99px; background: rgba(10, 14, 24, .58); border: 1px solid rgba(232, 230, 225, .24); font: 600 12.5px/1 var(--f-app); color: #F4F3EF; white-space: nowrap; }
.a-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #AFC3DB; }
.a-facts { display: flex; align-items: center; gap: 9px; font: 500 14.5px/1 var(--f-app); color: #E6E3DC; white-space: nowrap; }
.a-facts i { font-style: normal; opacity: .6; }
.a-rate { background: #AFC3DB; color: #0A0E18; font-weight: 800; font-size: 13.5px; padding: 5px 8px; border-radius: 7px; }
.a-btn { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 22px; border-radius: 99px; font: 600 15.5px/1 var(--f-app); white-space: nowrap; color: #F4F3EF; }
.a-btn svg { font-size: 19px; }
.a-btn-moon { background: linear-gradient(135deg, #fff, #E8E6E1 48%, #CFCCC3); color: #0A0E18; box-shadow: 0 12px 30px -12px rgba(232, 230, 225, .65); }
.a-btn-glass { background: rgba(10, 14, 24, .55); border: 1px solid rgba(232, 230, 225, .26); }
.a-btn-round { width: 44px; padding: 0; justify-content: center; background: rgba(10, 14, 24, .55); border: 1px solid rgba(232, 230, 225, .26); }
.a-btn-round.is-on svg { fill: #ff7eb3; stroke: #ff7eb3; }
.a-h { margin: 0 0 13px; font: 700 18px/1 var(--f-app); }
.a-live { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; background: rgba(10, 14, 24, .7); font: 700 11.5px/1 var(--f-app); letter-spacing: .06em; text-transform: uppercase; }
.a-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 0 3px rgba(255, 77, 94, .25); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.pg { position: absolute; left: 12px; right: 12px; bottom: 9px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .25); z-index: 2; }
.pg b { display: block; height: 100%; border-radius: 2px; background: #E8E6E1; }

/* home */
.ah-bg { position: absolute; inset: 0; }
.ah-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.ah-bg img.on { opacity: 1; animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.13) translate(1.4%, 1%); } to { transform: scale(1.03); } }
.ah-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10, 14, 24, .95) 0%, rgba(10, 14, 24, .74) 30%, rgba(10, 14, 24, .2) 56%, rgba(10, 14, 24, 0) 72%),
  linear-gradient(180deg, rgba(10, 14, 24, .55) 0%, rgba(10, 14, 24, 0) 17%, rgba(10, 14, 24, 0) 38%, rgba(10, 14, 24, .86) 58%, #0A0E18 72%); }
.ah-info { position: absolute; left: 46px; top: 104px; width: 660px; height: 252px; z-index: 3; }
.ah-slide { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .9s var(--ease); pointer-events: none; }
.ah-slide.on { opacity: 1; transform: none; }
.ah-title { margin: 14px 0 11px; font: 800 52px/1.05 var(--f-app); letter-spacing: -.012em; color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, .55); white-space: nowrap; }
.ah-plot { margin: 13px 0 0; max-width: 560px; font: 400 15.5px/1.5 var(--f-app); color: #D9D6CF; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ah-btns { display: flex; gap: 10px; margin-top: 22px; }
.ah-dots { position: absolute; left: 46px; top: 372px; display: flex; gap: 7px; z-index: 3; }
.ah-dots i { position: relative; width: 26px; height: 3px; border-radius: 2px; background: rgba(232, 230, 225, .26); overflow: hidden; }
.ah-dots i.on { width: 42px; transition: width .4s; }
.ah-dots i.on::after { content: ""; position: absolute; inset: 0; background: #E8E6E1; transform-origin: left; animation: fill var(--slide, 6s) linear both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ah-tiles { position: absolute; left: 46px; right: 46px; top: 402px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; z-index: 3; }
.a-tile { position: relative; height: 72px; display: flex; align-items: center; gap: 11px; padding: 0 12px; border-radius: 17px; background: linear-gradient(160deg, rgba(30, 38, 56, .92), rgba(13, 18, 30, .94)); border: 1px solid rgba(232, 230, 225, .1); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .7); min-width: 0; }
.a-ic { position: relative; flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 8px 16px -8px rgba(0, 0, 0, .7); }
.a-ic svg { font-size: 30px; }
.a-ic svg[viewBox] { stroke-width: 1.4; }
.t-live .a-ic { background: var(--g-live); } .t-vod .a-ic { background: var(--g-vod); } .t-series .a-ic { background: var(--g-series); }
.t-fav .a-ic { background: var(--g-fav); } .t-multi .a-ic { background: var(--g-multi); } .t-dl .a-ic { background: var(--g-dl); } .t-set .a-ic { background: var(--g-set); }
.t-live .a-ic::after { content: ""; position: absolute; top: -4px; right: -4px; width: 13px; height: 13px; border-radius: 50%; background: #ff4d5e; border: 2.5px solid #131a28; }
.a-tt { min-width: 0; }
.a-tt b { display: block; font: 700 14.5px/1.12 var(--f-app); }
.a-tt small { display: block; margin-top: 3px; font: 400 11.5px/1.2 var(--f-app); color: #B9B6AE; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-cont { position: absolute; left: 46px; right: 0; top: 498px; z-index: 3; }
.ah-thumbs { display: flex; gap: 16px; }
.a-th { position: relative; flex: none; width: 228px; height: 128px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(232, 230, 225, .12); background: #141a26; }
.a-th img { width: 100%; height: 100%; object-fit: cover; }
.a-th::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, rgba(10, 14, 24, 0), rgba(10, 14, 24, .92)); }
.a-th .nm { position: absolute; left: 12px; right: 12px; bottom: 18px; z-index: 2; font: 700 13px/1.2 var(--f-app); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-credit { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 22px; font: 500 11px/1 var(--f-app); letter-spacing: .08em; color: #8F8C84; }
.a-donate { display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0; font-size: 12px; color: #C9C6BE; }

/* phone home */
.app-phone .ph-hero { position: absolute; left: 0; right: 0; top: 0; height: 540px; }
.app-phone .ph-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.app-phone .ph-hero img.on { opacity: 1; animation: kenburns 9s ease-out both; }
.ph-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 24, .7) 0%, rgba(10, 14, 24, 0) 16%, rgba(10, 14, 24, 0) 40%, rgba(10, 14, 24, .9) 76%, #0A0E18 100%); }
.ph-status { position: absolute; left: 0; right: 0; top: 0; height: 50px; padding: 14px 30px 0; display: flex; justify-content: space-between; align-items: center; z-index: 5; font: 650 15px/1 var(--f-app); }
.ph-sys { display: inline-flex; gap: 5px; align-items: center; }
.ph-sys i { display: block; width: 16px; height: 10px; border-radius: 2px; background: linear-gradient(90deg, #F4F3EF 70%, rgba(244, 243, 239, .3) 70%); }
.ph-sys i:nth-child(1) { width: 15px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 0; background: #F4F3EF; }
.ph-sys i:nth-child(2) { width: 14px; border-radius: 99px 99px 0 0; clip-path: polygon(50% 100%, 0 0, 100% 0); background: #F4F3EF; }
.ph-sys i:nth-child(3) { width: 22px; border-radius: 3px; }
.ph-top { position: absolute; left: 18px; right: 18px; top: 60px; display: flex; align-items: center; justify-content: space-between; z-index: 4; }
.ph-top .a-brand { gap: 10px; }
.ph-top .a-brand img { width: 32px; height: 32px; }
.ph-top .a-brand b { font-size: 14px; letter-spacing: .3em; }
.ph-top .a-brand i { font-size: 8.5px; padding: 3px 6px; }
.ph-top .a-av { width: 34px; height: 34px; font-size: 13px; }
.ph-info { position: absolute; left: 18px; right: 18px; top: 318px; height: 196px; z-index: 3; }
.ph-title { margin: 12px 0 10px; font: 800 31px/1.06 var(--f-app); letter-spacing: -.01em; color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }
.app-phone .a-facts { font-size: 13px; }
.ph-btns { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; }
.ph-btns .a-btn-moon { flex: 1; justify-content: center; height: 46px; }
.ph-btns .a-btn-round { width: 46px; height: 46px; }
.app-phone .ah-dots { left: 18px; top: 530px; }
.app-phone .ah-dots i { width: 18px; } .app-phone .ah-dots i.on { width: 30px; }
.ph-cards { position: absolute; left: 14px; right: 14px; top: 552px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; z-index: 3; }
.ph-cards .a-tile { height: 70px; border-radius: 17px; padding: 0 11px; gap: 10px; }
.ph-cards .a-ic { width: 44px; height: 44px; border-radius: 13px; }
.ph-cards .a-ic svg { font-size: 28px; }
.ph-cards .a-tt b { font-size: 15px; }
.ph-cards .a-tt small { font-size: 12px; }

/* scenes inside the story's TV */
.scene { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
#stage[data-scene="pick"] .scene[data-s="pick"], #stage[data-scene="rows"] .scene[data-s="rows"], #stage[data-scene="live"] .scene[data-s="live"],
#stage[data-scene="multi"] .scene[data-s="multi"], #stage[data-scene="intro"] .scene[data-s="intro"], #stage[data-scene="dl"] .scene[data-s="dl"],
#stage[data-scene="qr"] .scene[data-s="qr"], #stage[data-scene="upd"] .scene[data-s="upd"] { opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; }

/* pick */
.pk-info { position: absolute; left: 46px; top: 150px; width: 640px; height: 250px; z-index: 3; }
.pk-info .ah-btns { position: absolute; left: 0; top: 156px; margin: 0; }
.pk-src { position: absolute; right: 46px; top: 120px; width: 340px; z-index: 3; padding: 20px 20px 10px; border-radius: 20px; background: rgba(10, 14, 24, .62); border: 1px solid rgba(232, 230, 225, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pk-h { margin: 0 0 12px; font: 650 12px/1 var(--f-app); letter-spacing: .16em; text-transform: uppercase; color: #AFC3DB; }
html[lang="ar"] .pk-h { letter-spacing: 0; font-size: 14px; }
.pk-i { position: relative; display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 12px; margin-bottom: 8px; border-radius: 14px; font: 600 16px/1 var(--f-app); color: #B9B6AE; transition: background .4s, color .4s; overflow: hidden; }
.pk-i b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: rgba(232, 230, 225, .1); color: #E8E6E1; transition: background .4s, color .4s; }
.pk-bar { position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(232, 230, 225, .12); }
[data-pick="0"] .pk-i:nth-of-type(1), [data-pick="1"] .pk-i:nth-of-type(2), [data-pick="2"] .pk-i:nth-of-type(3) { background: rgba(232, 230, 225, .1); color: #fff; }
[data-pick="0"] .pk-i:nth-of-type(1) b, [data-pick="1"] .pk-i:nth-of-type(2) b, [data-pick="2"] .pk-i:nth-of-type(3) b { background: #E8E6E1; color: #0A0E18; }
[data-pick="0"] .pk-i:nth-of-type(1) .pk-bar::after, [data-pick="1"] .pk-i:nth-of-type(2) .pk-bar::after, [data-pick="2"] .pk-i:nth-of-type(3) .pk-bar::after { content: ""; position: absolute; inset: 0; border-radius: 2px; background: #E8E6E1; transform-origin: left; animation: fill var(--slide, 3.6s) linear both; }
.pk-still { position: absolute; right: 46px; bottom: 44px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 99px; background: rgba(10, 14, 24, .62); border: 1px solid rgba(232, 230, 225, .16); font: 600 14px/1 var(--f-app); color: #DAD7D0; }
.pk-still svg { font-size: 20px; color: #AFC3DB; }
.scene[data-s="pick"] .ah-shade { background:
  linear-gradient(90deg, rgba(10, 14, 24, .92) 0%, rgba(10, 14, 24, .6) 34%, rgba(10, 14, 24, .1) 60%, rgba(10, 14, 24, .5) 100%),
  linear-gradient(180deg, rgba(10, 14, 24, .5) 0%, rgba(10, 14, 24, 0) 20%, rgba(10, 14, 24, 0) 60%, rgba(10, 14, 24, .9) 100%); }

/* page chrome shared by rows, live, downloads, settings */
.pg-top { position: absolute; left: 24px; right: 24px; top: 16px; height: 50px; display: flex; align-items: center; gap: 18px; z-index: 3; }
.pill-home { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px 0 7px; border-radius: 99px; background: rgba(232, 230, 225, .06); border: 1px solid rgba(232, 230, 225, .14); font: 650 16px/1 var(--f-app); }
.pill-home img { width: 36px; height: 36px; border-radius: 50%; }
.pill-home svg { font-size: 18px; color: #DAD7D0; }
.pg-icons { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.pg-icons > svg { font-size: 23px; color: #DAD7D0; }
.pg-icons .a-av { width: 40px; height: 40px; }
.pg-filters { position: absolute; left: 24px; right: 24px; top: 78px; display: flex; gap: 12px; z-index: 3; }
.pg-select, .pg-search { display: flex; align-items: center; height: 46px; padding: 0 18px; border-radius: 13px; background: rgba(10, 14, 24, .6); border: 1px solid rgba(232, 230, 225, .14); font: 500 15.5px/1 var(--f-app); }
.pg-select { width: 520px; justify-content: space-between; }
.pg-select svg { transform: rotate(90deg); font-size: 18px; color: #B9B6AE; }
.pg-search { flex: 1; gap: 12px; color: #8F8C84; }
.pg-search svg { font-size: 20px; color: #B9B6AE; }
.caret { width: 2px; height: 20px; background: #E8E6E1; animation: blink 1.1s steps(1) infinite; }
.pg-meta { position: absolute; left: 24px; right: 24px; top: 136px; margin: 0; display: flex; align-items: center; gap: 10px; font: 500 13.5px/1 var(--f-app); color: #B9B6AE; z-index: 3; }
.pg-tools { margin-left: auto; display: flex; gap: 22px; font-size: 20px; color: #DAD7D0; }
.rw-h { position: absolute; left: 24px; top: 168px; margin: 0; display: flex; align-items: baseline; gap: 9px; font: 700 18px/1 var(--f-app); z-index: 3; }
.rw-h small { font: 500 12px/1 var(--f-mono); color: #B9B6AE; }
.rw-h2 { top: 436px; }
.rw-row { position: absolute; left: 24px; top: 194px; display: flex; gap: 15px; z-index: 3; }
.rw-row2 { top: 462px; }
.pst { position: relative; flex: none; width: 128px; height: 192px; border-radius: 12px; background: #141a26; transition: transform .45s var(--ease), box-shadow .45s; }
.pst img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 1px solid rgba(232, 230, 225, .1); }
.pst .rt { position: absolute; top: 8px; left: 8px; padding: 4px 7px; border-radius: 7px; background: rgba(10, 14, 24, .78); font: 600 11.5px/1 var(--f-mono); font-style: normal; color: #F4F3EF; }
.pst .nw { position: absolute; top: 8px; right: 8px; padding: 4px 7px; border-radius: 7px; background: #E8E6E1; color: #0A0E18; font: 800 11px/1 var(--f-app); font-style: normal; }
.pst .pg { left: 9px; right: 9px; bottom: 9px; }
.pst .nm { position: absolute; left: 2px; right: 2px; top: 200px; font: 500 12.5px/1.25 var(--f-app); color: #DAD7D0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-focus="0"] .pst[data-i="0"], [data-focus="1"] .pst[data-i="1"], [data-focus="2"] .pst[data-i="2"], [data-focus="3"] .pst[data-i="3"], [data-focus="4"] .pst[data-i="4"],
[data-focus="5"] .pst[data-i="5"], [data-focus="6"] .pst[data-i="6"], [data-focus="7"] .pst[data-i="7"], [data-focus="8"] .pst[data-i="8"], [data-focus="9"] .pst[data-i="9"] { transform: scale(1.08); z-index: 2; box-shadow: 0 0 0 3px #E8E6E1, 0 0 0 9px rgba(232, 230, 225, .16), 0 26px 50px -16px rgba(0, 0, 0, .9); }

/* live */
.lv-title { font: 700 20px/1 var(--f-app); }
.lv-cats { position: absolute; left: 24px; top: 84px; width: 214px; display: grid; gap: 6px; z-index: 3; }
.lv-cats > span { display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px; border-radius: 12px; font: 600 14.5px/1 var(--f-app); color: #DAD7D0; }
.lv-cats > span small { margin-left: auto; font: 500 11.5px/1 var(--f-mono); color: #8F8C84; }
.lv-cats > span.on { background: linear-gradient(135deg, #fff, #E8E6E1 48%, #CFCCC3); color: #0A0E18; }
.lv-cats > span.on small { color: #3c4252; }
.lv-cats svg { font-size: 16px; }
.lv-list { position: absolute; left: 254px; top: 84px; width: 476px; display: grid; gap: 6px; z-index: 3; }
.lv-ch { position: relative; display: flex; align-items: center; gap: 14px; height: 76px; padding: 0 14px; border-radius: 14px; border: 1px solid transparent; transition: background .35s, border-color .35s; }
.lv-ch .lg { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font: 800 16px/1 var(--f-app); font-style: normal; color: #fff; background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 45%, #0A0E18)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.lv-tx { flex: 1; min-width: 0; }
.lv-tx b { display: block; font: 700 15.5px/1.2 var(--f-app); }
.lv-tx small { display: block; margin-top: 4px; font: 400 13px/1.2 var(--f-app); color: #B9B6AE; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-pg { display: block; position: relative; margin-top: 8px; height: 3px; border-radius: 2px; background: rgba(232, 230, 225, .14); }
.lv-pg b { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: #AFC3DB; }
.lv-ch .fv { font-size: 18px; color: #ffd27a; fill: #ffd27a; stroke: #ffd27a; }
[data-ch="0"] .lv-ch[data-i="0"], [data-ch="1"] .lv-ch[data-i="1"], [data-ch="2"] .lv-ch[data-i="2"], [data-ch="3"] .lv-ch[data-i="3"], [data-ch="4"] .lv-ch[data-i="4"] { background: rgba(232, 230, 225, .1); border-color: rgba(232, 230, 225, .55); box-shadow: 0 0 0 4px rgba(232, 230, 225, .08); }
.lv-player { position: absolute; left: 752px; right: 24px; top: 84px; height: 283px; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid rgba(232, 230, 225, .14); z-index: 3; }
.lv-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
[data-ch="0"] .lv-pics img[data-i="0"], [data-ch="1"] .lv-pics img[data-i="1"], [data-ch="2"] .lv-pics img[data-i="2"], [data-ch="3"] .lv-pics img[data-i="3"], [data-ch="4"] .lv-pics img[data-i="4"] { opacity: 1; }
.lv-player .a-live { top: 14px; left: 14px; }
.lv-vol { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 14, 24, .6); font-size: 20px; }
.lv-guide { position: absolute; left: 752px; right: 24px; top: 384px; height: 310px; z-index: 3; }
.lv-gv { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
[data-ch="0"] .lv-gv[data-i="0"], [data-ch="1"] .lv-gv[data-i="1"], [data-ch="2"] .lv-gv[data-i="2"], [data-ch="3"] .lv-gv[data-i="3"], [data-ch="4"] .lv-gv[data-i="4"] { opacity: 1; }
.lv-gh { margin: 0 0 12px; display: flex; align-items: baseline; gap: 12px; font: 500 13px/1 var(--f-app); color: #AFC3DB; letter-spacing: .1em; text-transform: uppercase; }
html[lang="ar"] .lv-gh { letter-spacing: 0; text-transform: none; font-size: 14px; }
.lv-gh b { font: 700 19px/1 var(--f-app); color: #F4F3EF; letter-spacing: 0; text-transform: none; }
.lv-g { display: flex; gap: 16px; padding: 16px 18px; margin-bottom: 10px; border-radius: 14px; background: rgba(232, 230, 225, .05); border: 1px solid rgba(232, 230, 225, .1); }
.lv-g .tm { font: 500 14px/1.3 var(--f-mono); color: #B9B6AE; padding-top: 2px; }
.lv-gt { flex: 1; min-width: 0; }
.lv-gt i { display: inline-block; margin-bottom: 7px; padding: 4px 8px; border-radius: 6px; background: #AFC3DB; color: #0A0E18; font: 800 10.5px/1 var(--f-app); font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.lv-gt i.nx { background: rgba(232, 230, 225, .14); color: #E8E6E1; }
.lv-gt b { display: block; font: 650 16px/1.25 var(--f-app); }

/* multi */
.ms-bar { position: absolute; left: 24px; right: 24px; top: 10px; height: 52px; display: flex; align-items: center; gap: 16px; z-index: 4; }
.ms-bar .pill-home { height: 46px; }
.ms-bar .pill-home img { width: 32px; height: 32px; }
.ms-name { font: 700 19px/1 var(--f-app); }
.ms-count { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 99px; background: rgba(232, 230, 225, .08); font: 500 13px/1 var(--f-app); color: #DAD7D0; }
.ms-count b { display: none; font: 700 14px/1 var(--f-mono); color: #fff; }
[data-ms="1"] .ms-count .c1, [data-ms="2"] .ms-count .c2, [data-ms="4"] .ms-count .c4, [data-ms="4c"] .ms-count .c4, [data-ms="big"] .ms-count .c4 { display: inline; }
.ms-lay { margin-left: auto; display: flex; gap: 6px; }
.ms-lay i { width: 40px; height: 32px; border-radius: 9px; border: 1px solid rgba(232, 230, 225, .2); background:
  linear-gradient(#DAD7D0, #DAD7D0) 9px 8px / 9px 6px no-repeat, linear-gradient(#DAD7D0, #DAD7D0) 21px 8px / 9px 6px no-repeat,
  linear-gradient(#DAD7D0, #DAD7D0) 9px 17px / 9px 6px no-repeat, linear-gradient(#DAD7D0, #DAD7D0) 21px 17px / 9px 6px no-repeat; opacity: .6; transition: background-color .3s, opacity .3s; }
.ms-lay .lb { background:
  linear-gradient(#DAD7D0, #DAD7D0) 8px 8px / 15px 15px no-repeat, linear-gradient(#DAD7D0, #DAD7D0) 25px 8px / 7px 4px no-repeat,
  linear-gradient(#DAD7D0, #DAD7D0) 25px 13.5px / 7px 4px no-repeat, linear-gradient(#DAD7D0, #DAD7D0) 25px 19px / 7px 4px no-repeat; }
[data-ms="4"] .ms-lay .l4, [data-ms="4c"] .ms-lay .l4, [data-ms="big"] .ms-lay .lb { opacity: 1; background-color: rgba(232, 230, 225, .16); border-color: rgba(232, 230, 225, .6); }
.ms-add { height: 40px; padding: 0 16px; font-size: 14px; }
.ms-t { position: absolute; left: 88.5px; top: 72px; width: 547.5px; height: 308px; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid rgba(232, 230, 225, .12); transition: left .8s var(--ease), top .8s var(--ease), width .8s var(--ease), height .8s var(--ease), opacity .6s, transform .8s var(--ease), box-shadow .5s; }
.ms-t img { width: 100%; height: 100%; object-fit: cover; }
.ms-l { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); height: 32px; padding: 0 12px 0 8px; border-radius: 99px; background: rgba(10, 14, 24, .72); font: 650 13.5px/1 var(--f-app); white-space: nowrap; overflow: hidden; }
.ms-l .snd { display: none; width: 22px; height: 22px; border-radius: 50%; place-items: center; background: #E8E6E1; color: #0A0E18; font-style: normal; }
.ms-l .snd svg { font-size: 14px; }
.mt-b { left: 644px; }
.mt-c { top: 388px; }
.mt-d { left: 644px; top: 388px; }
[data-ms="1"] .mt-a { left: 85.5px; top: 72px; width: 1109px; height: 624px; }
[data-ms="1"] .mt-b, [data-ms="1"] .mt-c, [data-ms="1"] .mt-d, [data-ms="2"] .mt-c, [data-ms="2"] .mt-d { opacity: 0; transform: scale(.9); }
[data-ms="2"] .mt-a { left: 24px; top: 212px; width: 612px; height: 344px; }
[data-ms="2"] .mt-b { left: 644px; top: 212px; width: 612px; height: 344px; }
[data-ms="big"] .mt-a { left: 24px; top: 141px; width: 864px; height: 486px; }
[data-ms="big"] .mt-b { left: 896px; top: 72px; width: 360px; height: 202.5px; }
[data-ms="big"] .mt-c { left: 896px; top: 282.5px; width: 360px; height: 202.5px; }
[data-ms="big"] .mt-d { left: 896px; top: 493px; width: 360px; height: 202.5px; }
[data-ms="1"] .mt-a .snd, [data-ms="2"] .mt-a .snd, [data-ms="4"] .mt-a .snd, [data-ms="4c"] .mt-c .snd, [data-ms="big"] .mt-c .snd { display: grid; }
[data-ms="1"] .mt-a, [data-ms="2"] .mt-a, [data-ms="4"] .mt-a, [data-ms="4c"] .mt-c, [data-ms="big"] .mt-c { box-shadow: 0 0 0 3px #E8E6E1, 0 20px 40px -20px rgba(0, 0, 0, .9); }
[data-ms="big"] .ms-l { height: 28px; font-size: 12px; }
.ms-tap { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; border: 3px solid rgba(232, 230, 225, .9); opacity: 0; z-index: 3; pointer-events: none; }
[data-ms="4c"] .ms-tap { animation: tap .9s ease-out .1s both; }
@keyframes tap { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* intro */
.in-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: kenburns 14s linear infinite alternate; }
.in-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 24, .78) 0%, rgba(10, 14, 24, 0) 24%, rgba(10, 14, 24, 0) 56%, rgba(10, 14, 24, .92) 100%); }
.in-top { position: absolute; left: 32px; right: 32px; top: 26px; display: flex; align-items: center; gap: 16px; z-index: 3; }
.in-back { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 14, 24, .55); border: 1px solid rgba(232, 230, 225, .2); font-size: 22px; }
.in-name b { display: block; font: 750 21px/1.15 var(--f-app); }
.in-name small { display: block; margin-top: 5px; font: 400 14px/1.2 var(--f-app); color: #DAD7D0; }
.in-song { margin-left: auto; display: inline-flex; align-items: flex-end; gap: 3px; height: 34px; padding: 0 14px; border-radius: 99px; background: rgba(10, 14, 24, .6); border: 1px solid rgba(175, 195, 219, .4); align-items: center; font: 600 13px/1 var(--f-app); color: #AFC3DB; opacity: 0; transition: opacity .5s; }
.in-song i { display: block; width: 3px; height: 14px; border-radius: 2px; background: #AFC3DB; transform-origin: bottom; animation: eq .9s ease-in-out infinite; }
.in-song i:nth-child(2) { animation-delay: -.3s; } .in-song i:nth-child(3) { animation-delay: -.6s; } .in-song i:nth-child(4) { animation-delay: -.15s; margin-right: 8px; }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
[data-iv="1"] .in-song, [data-iv="2"] .in-song { opacity: 1; }
.in-mid { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-62%); display: flex; justify-content: center; align-items: center; gap: 46px; z-index: 3; }
.in-c { position: relative; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 14, 24, .45); border: 1px solid rgba(232, 230, 225, .22); font-size: 30px; }
.in-c small { position: absolute; font: 700 10px/1 var(--f-app); top: 52%; }
.in-play { width: 94px; height: 94px; font-size: 38px; background: rgba(232, 230, 225, .16); }
.in-skip { position: absolute; right: 40px; bottom: 150px; z-index: 4; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 22px 0 26px; border-radius: 99px; background: linear-gradient(135deg, #fff, #E8E6E1 48%, #CFCCC3); color: #0A0E18; font: 700 18px/1 var(--f-app); box-shadow: 0 0 0 4px rgba(232, 230, 225, .2), 0 20px 40px -12px rgba(0, 0, 0, .8); opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .45s, transform .5s var(--ease), box-shadow .3s; }
.in-skip svg { font-size: 22px; }
[data-iv="1"] .in-skip { opacity: 1; transform: none; }
[data-iv="2"] .in-skip { opacity: 1; transform: scale(.94); box-shadow: 0 0 0 10px rgba(232, 230, 225, .28), 0 20px 40px -12px rgba(0, 0, 0, .8); }
.in-bar { position: absolute; left: 32px; right: 32px; bottom: 26px; z-index: 3; }
.in-track { position: relative; height: 6px; border-radius: 3px; background: rgba(232, 230, 225, .22); margin-bottom: 18px; }
.in-seg { position: absolute; left: 5.3%; width: 8%; top: -3px; bottom: -3px; border-radius: 3px; background: rgba(175, 195, 219, .55); box-shadow: 0 0 12px rgba(175, 195, 219, .6); }
.in-done { position: absolute; left: 0; top: 0; bottom: 0; width: 4%; border-radius: 3px; background: #E8E6E1; transition: width .5s var(--ease); }
.in-head { position: absolute; top: 50%; left: 4%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .6); transition: left .5s var(--ease); }
[data-iv="1"] .in-done, [data-iv="2"] .in-done { width: 6%; } [data-iv="1"] .in-head, [data-iv="2"] .in-head { left: 6%; }
[data-iv="3"] .in-done { width: 14%; } [data-iv="3"] .in-head { left: 14%; }
.in-row { display: flex; align-items: center; gap: 12px; }
.in-time { font: 500 15px/1 var(--f-mono); color: #DAD7D0; margin-right: 8px; }
.in-time b { font-weight: 500; color: #fff; }
.in-time .t2, [data-iv="3"] .in-time .t1 { display: none; } [data-iv="3"] .in-time .t2 { display: inline; }
.in-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 99px; background: rgba(10, 14, 24, .55); border: 1px solid rgba(232, 230, 225, .2); font: 600 14px/1 var(--f-app); }
.in-btn svg { font-size: 18px; }
.in-ico { margin-left: auto; display: flex; gap: 22px; font-size: 23px; color: #E8E6E1; }

/* downloads */
.dl-off { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px; margin-left: auto; border-radius: 99px; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .35); color: #7ce8be; font: 650 13.5px/1 var(--f-app); }
.dl-off svg { font-size: 18px; }
.dl-off + .pg-icons { margin-left: 0; }
.dl-h { position: absolute; left: 32px; top: 84px; margin: 0; font: 800 32px/1 var(--f-app); z-index: 3; }
.dl-sub { position: absolute; left: 32px; top: 126px; margin: 0; font: 500 15px/1 var(--f-app); color: #B9B6AE; z-index: 3; }
.dl-list { position: absolute; left: 32px; right: 32px; top: 164px; display: grid; gap: 12px; z-index: 3; }
.dl-r { display: flex; align-items: center; gap: 20px; height: 118px; padding: 0 22px 0 12px; border-radius: 18px; background: linear-gradient(160deg, rgba(30, 38, 56, .75), rgba(13, 18, 30, .85)); border: 1px solid rgba(232, 230, 225, .1); }
.dl-r img { width: 168px; height: 94px; border-radius: 11px; object-fit: cover; }
.dl-tx { flex: 1; min-width: 0; }
.dl-tx b { display: block; font: 700 18px/1.2 var(--f-app); }
.dl-tx small { display: block; margin-top: 6px; font: 400 14px/1.2 var(--f-app); color: #B9B6AE; }
.dl-pg { display: block; position: relative; height: 5px; margin-top: 12px; max-width: 520px; border-radius: 3px; background: rgba(232, 230, 225, .14); overflow: hidden; }
.dl-pg b { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: linear-gradient(90deg, #2fe0a8, #12a07a); }
.run-a { width: 46%; animation: grow-a 7s linear infinite; }
.run-b { width: 37%; animation: grow-b 9s linear infinite; }
@keyframes grow-a { from { width: 8%; } 92% { width: 100%; } to { width: 100%; } }
@keyframes grow-b { from { width: 37%; --pct: 37; } 90% { width: 100%; --pct: 100; } to { width: 100%; --pct: 100; } }
.dl-st { flex: none; display: inline-flex; align-items: center; gap: 8px; min-width: 110px; font: 650 14.5px/1 var(--f-app); color: #DAD7D0; }
.dl-st.ok { color: #7ce8be; }
.dl-st svg { font-size: 18px; }
.dl-pct { font: 600 15px/1 var(--f-mono); color: #fff; animation: grow-b 9s linear infinite; counter-reset: p var(--pct); }
.dl-pct::after { content: counter(p) "%"; }
.dl-go { height: 42px; padding: 0 18px; font-size: 14.5px; }
.dl-go.a-btn-glass { width: 42px; padding: 0; justify-content: center; }

/* qr */
.qr-card { position: absolute; left: 96px; top: 62px; width: 880px; height: 596px; padding: 34px 40px; border-radius: 28px; background: linear-gradient(160deg, rgba(30, 38, 56, .9), rgba(13, 18, 30, .96)); border: 1px solid rgba(232, 230, 225, .14); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); z-index: 3; }
.qr-h { margin: 0 0 18px; font: 800 28px/1 var(--f-app); }
.qr-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(232, 230, 225, .07); margin-bottom: 26px; }
.qr-tabs > span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 99px; font: 600 14.5px/1 var(--f-app); color: #B9B6AE; }
.qr-tabs > span.on { background: linear-gradient(135deg, #fff, #E8E6E1 48%, #CFCCC3); color: #0A0E18; }
.qr-tabs svg { font-size: 18px; }
.qr-body { display: flex; gap: 40px; align-items: center; }
.qr-code { position: relative; flex: none; width: 300px; height: 300px; padding: 18px; border-radius: 22px; background: #fff; }
.qr-canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.qr-code img { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; box-shadow: 0 0 0 6px #fff; }
.qr-ok { position: absolute; inset: 0; border-radius: 22px; display: grid; place-items: center; background: rgba(10, 14, 24, .78); color: #34D399; font-size: 96px; opacity: 0; transform: scale(.9); transition: opacity .4s, transform .5s var(--ease); }
.qr-ok svg { stroke-width: 2.4; }
[data-qr="3"] .qr-ok { opacity: 1; transform: none; }
.qr-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.qr-steps li { display: flex; align-items: center; gap: 16px; font: 500 19px/1.35 var(--f-app); color: #DAD7D0; }
.qr-steps b { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 800 16px/1 var(--f-app); background: rgba(232, 230, 225, .1); color: #E8E6E1; transition: background .4s, color .4s; }
[data-qr="0"] .qr-steps li:nth-child(1) b, [data-qr="1"] .qr-steps li:nth-child(2) b, [data-qr="2"] .qr-steps li:nth-child(2) b, [data-qr="3"] .qr-steps li:nth-child(3) b { background: #E8E6E1; color: #0A0E18; }
.qr-st { position: absolute; left: 40px; right: 40px; bottom: 30px; margin: 0; height: 52px; display: flex; align-items: center; padding: 0 20px; border-radius: 14px; background: rgba(232, 230, 225, .06); font: 600 16px/1 var(--f-app); }
.qr-st > span { display: inline-flex; align-items: center; gap: 12px; }
.qr-st .r { display: none; color: #7ce8be; }
.qr-st .r svg { font-size: 20px; }
[data-qr="3"] .qr-st .w { display: none; } [data-qr="3"] .qr-st .r { display: inline-flex; }
.spin { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(232, 230, 225, .25); border-top-color: #E8E6E1; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* the phone beside the TV while the QR scene plays */
.app-pair { padding: 0 22px; }
.pr-brand { position: absolute; left: 22px; top: 70px; display: flex; align-items: center; gap: 10px; }
.pr-brand img { width: 34px; height: 34px; border-radius: 50%; }
.pr-brand b { font: 600 14px/1 var(--f-app); letter-spacing: .3em; color: #E8E6E1; }
.pr-brand i { font: 800 8.5px/1 var(--f-app); font-style: normal; letter-spacing: .12em; color: #0A0E18; background: #E8E6E1; border-radius: 99px; padding: 3px 6px; }
.pr-h { position: absolute; left: 22px; right: 22px; top: 136px; margin: 0; font: 800 30px/1.1 var(--f-app); }
.pr-p { position: absolute; left: 22px; right: 22px; top: 184px; margin: 0; font: 400 15px/1.45 var(--f-app); color: #B9B6AE; }
.pr-f { position: absolute; left: 22px; right: 22px; display: block; height: 74px; padding: 12px 16px; border-radius: 16px; background: rgba(232, 230, 225, .06); border: 1px solid rgba(232, 230, 225, .14); }
.pr-f:nth-of-type(1) { top: 270px; } .pr-f:nth-of-type(2) { top: 356px; } .pr-f:nth-of-type(3) { top: 442px; }
.pr-f small { display: block; font: 600 12px/1 var(--f-app); color: #AFC3DB; margin-bottom: 10px; }
.pr-f b { display: block; font: 500 16.5px/1.2 var(--f-mono); white-space: nowrap; overflow: hidden; clip-path: inset(0 100% 0 0); transition: clip-path 1s steps(16); }
[data-qr="1"] .ty1, [data-qr="2"] .ty1, [data-qr="3"] .ty1 { clip-path: inset(0 0 0 0); }
[data-qr="1"] .ty2, [data-qr="2"] .ty2, [data-qr="3"] .ty2 { clip-path: inset(0 0 0 0); transition-delay: .5s; }
[data-qr="1"] .ty3, [data-qr="2"] .ty3, [data-qr="3"] .ty3 { clip-path: inset(0 0 0 0); transition-delay: 1s; }
.pr-send { position: absolute; left: 22px; right: 22px; top: 548px; height: 56px; justify-content: center; font-size: 17px; transition: transform .25s, background .3s; }
.pr-send .s1 { display: none; }
[data-qr="2"] .pr-send { transform: scale(.96); }
[data-qr="3"] .pr-send { background: #34D399; color: #04281c; }
[data-qr="3"] .pr-send .s0 { display: none; } [data-qr="3"] .pr-send .s1 { display: inline; }

/* settings › updates */
.st-nav { position: absolute; left: 24px; top: 84px; width: 236px; display: grid; gap: 6px; z-index: 3; }
.st-nav > span { display: flex; align-items: center; height: 46px; padding: 0 16px; border-radius: 12px; font: 600 15.5px/1 var(--f-app); color: #DAD7D0; }
.st-nav > span.on { background: linear-gradient(135deg, #fff, #E8E6E1 48%, #CFCCC3); color: #0A0E18; }
.up-card { position: absolute; left: 284px; right: 24px; top: 84px; padding: 28px 30px; border-radius: 22px; background: linear-gradient(160deg, rgba(30, 38, 56, .85), rgba(13, 18, 30, .92)); border: 1px solid rgba(232, 230, 225, .12); z-index: 3; }
.up-top { display: flex; align-items: center; gap: 18px; }
.up-top img { width: 62px; height: 62px; border-radius: 50%; }
.up-top b { display: block; font: 800 24px/1.1 var(--f-app); }
.up-top small { display: block; margin-top: 6px; font: 500 15px/1.2 var(--f-app); color: #B9B6AE; }
.up-note { margin: 22px 0 26px; font: 400 16px/1.55 var(--f-app); color: #DAD7D0; max-width: 800px; }
.up-act { position: relative; height: 50px; }
.up-act > span { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 12px; height: 50px; font: 650 16px/1 var(--f-app); opacity: 0; transition: opacity .35s; }
.up-b0 { padding: 0 24px; }
.up-b1 { width: 560px; }
.up-pg { position: relative; width: 340px; height: 8px; border-radius: 4px; background: rgba(232, 230, 225, .16); overflow: hidden; }
.up-pg b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 4px; background: #E8E6E1; }
[data-up="1"] .up-pg b { animation: upfill 2.2s ease-in-out forwards; }
@keyframes upfill { to { width: 100%; } }
.up-b2 { color: #7ce8be; } .up-b2 svg { font-size: 24px; }
.up-b3 { color: #DAD7D0; }
[data-up="0"] .up-b0, [data-up="1"] .up-b1, [data-up="2"] .up-b2, [data-up="3"] .up-b3 { opacity: 1; }
.up-row { position: absolute; left: 284px; right: 24px; top: 446px; display: flex; align-items: center; gap: 18px; height: 84px; padding: 0 26px; border-radius: 18px; background: rgba(232, 230, 225, .05); border: 1px solid rgba(232, 230, 225, .1); z-index: 3; }
.up-row > svg { font-size: 26px; color: #AFC3DB; }
.up-row2 { top: 546px; }
.up-row2 > img { width: 30px; height: 30px; border-radius: 50%; }
.up-v { margin-left: auto; font: 500 12px/1 var(--f-app); letter-spacing: .08em; color: #8F8C84; }
.up-row b { display: block; font: 700 17px/1.2 var(--f-app); }
.up-row small { display: block; margin-top: 5px; font: 400 14px/1.2 var(--f-app); color: #B9B6AE; }

/* ------------------------------------------------------------------ the story */
.story { position: relative; padding-block: clamp(80px, 10vw, 140px) clamp(40px, 6vw, 90px); }
.story > .wrap { max-width: 1400px; }
.story .sec-head { max-width: 760px; }
.story-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); grid-template-areas: "steps stage"; gap: clamp(32px, 4.5vw, 76px); align-items: start; }
.story-steps { grid-area: steps; }
.story-stage { grid-area: stage; position: sticky; top: max(calc(var(--hdr) + 24px), calc(50vh - 290px)); z-index: 1; }
.story-stage::before { content: ""; position: absolute; inset: -14% -10% -6%; z-index: -1; background: radial-gradient(closest-side, var(--aura-c), transparent); transition: --aura-c .9s ease; pointer-events: none; }
.step { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; padding-block: 48px; opacity: .38; transition: opacity .5s; }
.step.is-on { opacity: 1; }
html:not(.js) .step { opacity: 1; }
.step:first-child { min-height: 64vh; }
.step:last-child { min-height: 80vh; }
.step-tag { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 650 15px/1 var(--f-body); color: var(--text); }
.step-tag .tg { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--g); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 22px -10px rgba(0, 0, 0, .8); }
.step-tag .tg svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step-tag .tg svg use { stroke-width: inherit; }
.step h3 { font: 800 clamp(27px, 2.6vw, 38px)/1.14 var(--f-display); letter-spacing: -.025em; margin-bottom: 16px; }
html[lang="ar"] .step h3 { font-weight: 800; font-size: clamp(24px, 2.3vw, 33px); line-height: 1.5; letter-spacing: 0; }
.step > p { margin: 0 0 20px; color: var(--muted); max-width: 52ch; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.ticks li { position: relative; padding-inline-start: 26px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--silver); border-bottom: 2px solid var(--silver); transform: rotate(-45deg); }
.stage-dots { list-style: none; margin: 18px 0 0; padding: 0; display: flex; justify-content: center; gap: 8px; }
.stage-dots button { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: var(--line-2); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.stage-dots button[aria-current="true"] { width: 30px; background: var(--bone); }
/* the app inside the TV keeps its own left-to-right layout in both languages, so the phone keeps to the right */
.stage-phone { position: absolute; z-index: 4; width: 19%; right: 1%; bottom: 6%; opacity: 0; transform: translateY(30px) rotate(var(--tilt, 5deg)); transition: opacity .6s, transform .8s var(--ease); pointer-events: none; }
#stage[data-scene="qr"] .stage-phone { opacity: 1; transform: rotate(var(--tilt, 5deg)); }

/* the ear: three episodes, one song */
.ear { margin: 4px 0 22px; padding: 18px 18px 14px; border-radius: 18px; border: 1px solid var(--line); background: rgba(10, 14, 24, .5); max-width: 520px; }
.ear-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 12px; margin-bottom: 8px; }
.ear-l { font: 500 13px/1 var(--f-mono); color: var(--faint); }
html[lang="ar"] .ear-l { font-family: var(--f-body-ar); font-size: 14px; }
.ear-w { width: 100%; height: 36px; display: block; }
.ear-w rect { fill: rgba(232, 230, 225, .28); }
.ear-w rect.song { fill: var(--silver); }
.ear-w .seg { fill: rgba(175, 195, 219, .12); stroke: rgba(175, 195, 219, .6); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.ear figcaption { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.ear-k { flex: none; width: 14px; height: 14px; border-radius: 4px; background: var(--silver); }

/* ------------------------------------------------------------------ the details */
.craft { padding-block: clamp(70px, 9vw, 130px); }
.craft-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) clamp(24px, 3vw, 44px); }
.cr { position: relative; min-width: 0; }
.cr-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; color: var(--bone); background: linear-gradient(160deg, rgba(232, 230, 225, .12), rgba(232, 230, 225, .03)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.cr-ic .ic { width: 24px; height: 24px; }
.cr h3 { font-size: 19.5px; margin-bottom: 8px; }
.cr p { margin: 0; color: var(--muted); font-size: 16px; max-width: 34ch; }

/* ------------------------------------------------------------------ numbers */
.numbers { padding-block: clamp(30px, 5vw, 60px); border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(232, 230, 225, .025), rgba(232, 230, 225, 0)); }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.num { padding: 18px clamp(14px, 2.4vw, 32px); }
.num + .num { border-inline-start: 1px solid var(--line); }
.num b { display: flex; align-items: baseline; gap: 6px; font: 800 clamp(42px, 4.8vw, 72px)/1 var(--f-display-en); letter-spacing: -.04em; color: var(--text); }
.num b small { font-size: .38em; letter-spacing: 0; color: var(--silver); font-family: var(--f-body-en); font-weight: 600; }
.num > span { display: block; margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.45; }

/* ------------------------------------------------------------------ download */
.get { position: relative; padding-block: clamp(80px, 10vw, 140px); }
.get::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 40% at 50% 8%, rgba(175, 195, 219, .1), transparent 70%); pointer-events: none; }
.ver-line { margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; font-size: 15px; color: var(--muted); }
.ver b { font: 700 15.5px/1 var(--f-body-en); font-variant-numeric: tabular-nums; color: var(--text); }
.sig { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 99px; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35); color: #8ef0c9; font-size: 13.5px; font-weight: 600; }
.sig .ic { width: 17px; height: 17px; }
.whatsnew { margin: 14px auto 0; max-width: 64ch; font-size: 15px; color: var(--faint); line-height: 1.6; }
.whatsnew b { color: var(--silver); font-weight: 650; }
.os-note { margin: -20px auto 36px; max-width: 640px; padding: 14px 18px; border-radius: 14px; text-align: center; border: 1px solid var(--line-2); background: var(--glass); color: var(--muted); font-size: 15.5px; }
.get-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dl-card { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding: 26px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(232, 230, 225, .06), rgba(232, 230, 225, .015) 60%); transition: border-color .3s, transform .3s var(--ease); }
.dl-card:hover { border-color: var(--line-2); }
.dl-card.is-you { border-color: rgba(232, 230, 225, .5); box-shadow: 0 0 0 4px rgba(232, 230, 225, .06), 0 30px 70px -40px rgba(175, 195, 219, .45); }
.dl-head { display: flex; align-items: center; gap: 14px; }
.dl-head h3 { font-size: 21px; }
.dl-head p { margin: 2px 0 0; font-size: 14px; color: var(--faint); line-height: 1.4; }
.dl-os { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(232, 230, 225, .08); border: 1px solid var(--line); color: var(--bone); --eye: #1a2030; }
.dl-os .ic { width: 26px; height: 26px; stroke-width: 1.6; }
.you { display: none; margin-inline-start: auto; align-self: flex-start; padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--bone); color: var(--night-2); white-space: nowrap; }
.is-you .you { display: inline-block; }
.dl-card .btn { min-height: 62px; justify-content: flex-start; padding: 0 22px; }
.dl-card .btn small, .more-btns .btn small { font-family: var(--f-body-en); font-size: 12.5px; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; font-size: 15px; color: var(--muted); line-height: 1.5; }
.steps li { counter-increment: s; position: relative; padding-inline-start: 36px; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 600 12.5px/1 var(--f-mono); background: rgba(232, 230, 225, .1); color: var(--bone); }
.steps b { color: var(--text); font-weight: 650; }
.hash { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; }
.hash summary { cursor: pointer; font: 500 13px/1 var(--f-mono); color: var(--faint); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.hash summary::-webkit-details-marker { display: none; }
.hash summary::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--line-2); font-size: 12px; }
.hash[open] summary::before { content: "−"; }
.hash-in { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.hash code { flex: 1; min-width: 0; font: 400 12px/1.5 var(--f-mono); color: var(--muted); word-break: break-all; direction: ltr; text-align: left; }
.copy { flex: none; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 13px; color: var(--text); }
.copy:hover { background: var(--glass-2); }
.copy.is-done { border-color: rgba(52, 211, 153, .5); color: #8ef0c9; }
.samsung { margin-top: 20px; display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 22px; border: 1px dashed var(--line-2); }
.samsung p { margin: 0; flex: 1; min-width: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.samsung p b { color: var(--text); font-weight: 650; margin-inline-end: 6px; }
.soon { flex: none; padding: 6px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 650; color: var(--silver); border: 1px solid rgba(175, 195, 219, .4); }
.get-foot { margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: 15px; color: var(--muted); }
.get-foot > * { display: inline-flex; align-items: center; gap: 8px; }
.get-foot a { color: var(--silver); text-decoration: none; }
.get-foot a:hover { text-decoration: underline; }
.get-foot .ic { width: 17px; height: 17px; }

/* ------------------------------------------------------------------ questions */
.faq { padding-block: clamp(70px, 9vw, 130px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--hdr) + 40px); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font: 600 18px/1.4 var(--f-body); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { width: 22px; height: 22px; color: var(--silver); transition: transform .35s var(--ease); }
.qa[open] summary .ic { transform: rotate(45deg); }
.qa p { margin: -6px 0 22px; color: var(--muted); max-width: 62ch; }

/* ------------------------------------------------------------------ support */
.support { padding-block: clamp(40px, 6vw, 90px); }
.sup-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(70% 120% at 0% 0%, rgba(175, 195, 219, .14), transparent 60%), linear-gradient(170deg, rgba(232, 230, 225, .05), rgba(232, 230, 225, .01)); }
html[dir="rtl"] .sup-card { background: radial-gradient(70% 120% at 100% 0%, rgba(175, 195, 219, .14), transparent 60%), linear-gradient(170deg, rgba(232, 230, 225, .05), rgba(232, 230, 225, .01)); }
.sup-copy h2 { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 14px; }
html[lang="ar"] .sup-copy h2 { font-size: clamp(26px, 2.8vw, 40px); }
.sup-copy p { margin: 0; color: var(--muted); max-width: 44ch; }
.give { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gv { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 16px 18px; border-radius: 18px; background: rgba(6, 8, 15, .5); border: 1px solid var(--line); }
.gv-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 22%, transparent); color: color-mix(in srgb, var(--c) 60%, #fff); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.gv-ic .ic { width: 21px; height: 21px; }
.gv > b { font-size: 16.5px; font-weight: 650; }
.gv > small { color: var(--faint); font-family: var(--f-mono); font-size: 12.5px; }
.gv > .btn { margin-inline-start: auto; }
.gv > .btn .ic { width: 16px; height: 16px; }
html[dir="rtl"] .gv > .btn .ic { transform: scaleX(-1); }
.num-box { display: inline-flex; align-items: center; gap: 8px; }
.num-box .nb { font: 500 15px/1 var(--f-mono); letter-spacing: .04em; color: var(--text); direction: ltr; }

/* ------------------------------------------------------------------ more from KHONSU */
.more { padding-block: clamp(20px, 3vw, 40px) clamp(70px, 9vw, 120px); }
.more-card { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 28px; padding: 26px 30px; border-radius: 26px; border: 1px solid var(--line); background: rgba(232, 230, 225, .025); }
.more-card > img { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8); }
.more-copy { flex: 1 1 320px; min-width: 0; }
.more-copy .eyebrow { margin-bottom: 8px; }
.more-copy h2 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 6px; }
html[lang="ar"] .more-copy h2 { font-family: var(--f-display-en); letter-spacing: -.03em; }
.more-copy p { margin: 0; color: var(--muted); font-size: 16px; }
.more-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.more-btns .btn { min-height: 54px; }
.more-btns .os-android { --eye: #222838; }

/* ------------------------------------------------------------------ footer */
.ftr { position: relative; overflow: hidden; padding-top: clamp(50px, 6vw, 80px); border-top: 1px solid var(--line); background: radial-gradient(70% 60% at 50% 115%, rgba(175, 195, 219, .16), transparent 70%); }
.ftr-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px 40px; align-items: start; padding-bottom: env(safe-area-inset-bottom, 0px); }
.credit { margin: 14px 0 0; font-size: 13px; letter-spacing: .08em; color: var(--faint); }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: flex-end; }
.ftr-nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.ftr-nav a:hover { color: var(--text); }
.disclaimer { grid-column: 1 / -1; margin: 10px 0 0; max-width: 90ch; font-size: 13.5px; line-height: 1.65; color: var(--faint); }
.copyright { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--faint); }
/* the credits the open pictures ask for: who made each, its licence, a link */
.credits { grid-column: 1 / -1; max-width: 90ch; font-size: 13px; line-height: 1.65; color: var(--faint); }
.credits p { margin: 0 0 6px; }
.credits summary { cursor: pointer; color: var(--muted); width: fit-content; }
.credits ul { margin: 10px 0 0; padding-inline-start: 18px; display: grid; gap: 4px; }
.credits a { color: var(--silver); }
.credits b { color: var(--muted); font-weight: 600; }
.ftr-word { margin-top: clamp(20px, 3vw, 40px); text-align: center; font: 600 clamp(80px, 19vw, 300px)/.78 var(--f-body-en); letter-spacing: .14em; margin-inline-end: -.14em; color: transparent; -webkit-text-stroke: 1px rgba(232, 230, 225, .1); background: linear-gradient(180deg, rgba(232, 230, 225, .1), rgba(232, 230, 225, 0) 75%); -webkit-background-clip: text; background-clip: text; user-select: none; white-space: nowrap; overflow: hidden; }

/* ------------------------------------------------------------------ reveal: visible at rest, moves only where scroll timelines exist */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sec-head, .cr, .dl-card, .num, .qa, .sup-card, .more-card, .samsung {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
    }
    @keyframes rise { from { transform: translateY(30px); } to { transform: none; } } /* movement only: what is not yet scrolled to is still there for a reader, a search engine or a screenshot */
  }
}

/* ------------------------------------------------------------------ widths */
@media (max-width: 1180px) {
  .nav { display: none; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 640px; }
  .hero-stage { margin-top: 8px; padding-inline: 2% 0; }
  .phone-hero { width: 24%; inset-inline-start: -1%; bottom: -1%; }
  .moon-wrap { top: calc(var(--hdr) + 10px); inset-inline-end: -12%; width: clamp(200px, 52vw, 380px); opacity: .9; }
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms li:nth-child(3) { border-inline-start: 0; }
  .platforms li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .story-grid { display: block; }
  .story-stage { position: sticky; top: calc(var(--hdr) + env(safe-area-inset-top, 0px) + 6px); padding-block: 8px 14px; margin-inline: auto; max-width: 560px; }
  .story-stage::after { content: ""; position: absolute; inset: -12px -100vw -26px; z-index: -2; background: linear-gradient(180deg, var(--night) 70%, rgba(6, 8, 15, 0)); }
  .story-stage::before { inset: -4% -4% 0; }
  .step { min-height: 64vh; padding-block: 28px; }
  .step:first-child { min-height: 56vh; }
  .stage-dots { margin-top: 10px; }
  .stage-phone { width: 21%; right: 1%; bottom: 14%; }
  .craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .get-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; }
  .samsung { max-width: 620px; margin-inline: auto; }
  .faq-grid, .sup-card { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
}
@media (max-width: 760px) {
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num:nth-child(3) { border-inline-start: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ftr-in { grid-template-columns: minmax(0, 1fr); }
  .ftr-nav { justify-content: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .hdr-end .btn { display: none; }
  .lang { height: 38px; }
  .cta .btn { width: 100%; justify-content: flex-start; }
  .platforms { grid-template-columns: minmax(0, 1fr); }
  .platforms li { border-inline-start: 0 !important; padding: 14px 18px; }
  .platforms li + li { border-top: 1px solid var(--line); }
  .craft-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-card { padding: 20px; }
  .samsung { flex-wrap: wrap; }
  .samsung p { flex-basis: 100%; order: 3; }
  .samsung .soon { margin-inline-start: auto; }
  .gv > .btn { margin-inline-start: 0; }
  .ear-row { grid-template-columns: 74px minmax(0, 1fr); }
}
@media (max-height: 560px) and (max-width: 980px) {
  .story-stage { position: relative; top: 0; }
}

/* ------------------------------------------------------------------ less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ah-bg img.on, .app-phone .ph-hero img.on, .in-pic { animation: none; transform: none; }
}
