/* Zee2 Player website. One stylesheet, no inline styles anywhere (the CSP forbids them).
   Layout uses logical properties and one --flip variable, so Arabic (right to left) is the same
   design mirrored rather than a second stylesheet. Palette and shapes are from the approved
   boards: ink navy, blue accent, yellow, hard offset shadows, big round section tops. */

@font-face { font-family: "Onest"; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/onest-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/onest-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Sans Arabic"; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/noto-sans-arabic-arabic-wght-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --ink: #141C3D; --bg: #EEF1FB; --accent: #4A63E8; --link: #3A52D4; --yellow: #FFC93C; --coral: #F2553D;
  --muted: #4B5578; --card-text: #3A4467; --line: #C5CCE6; --white: #fff; --navy-soft: #C9D0EE;
  --ok-bg: #DBF3E7; --ok-fg: #0F6B45; --warn-bg: #FFF0D4; --warn-fg: #7A4706;
  --font: "Onest", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --flip: 1; --sx: 8px; --gutter: 20px; --max: 1240px;
}
[dir="rtl"] { --flip: -1; --sx: -8px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: clip; }
img, video, svg { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] .brand { letter-spacing: 0; line-height: 1.3; }
[lang="ar"] body, [lang="ar"] { line-height: 1.75; }
p { margin: 0 0 1em; max-width: 68ch; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--yellow); border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 8px; top: -80px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 99px; z-index: 50; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.ui { font-weight: 700; background: rgba(74, 99, 232, .12); padding: 0 .3em; border-radius: 5px; white-space: normal; }
.placeholder { background: var(--yellow); color: var(--ink); padding: 0 .35em; border-radius: 5px; font-weight: 600; }

/* header */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px; min-height: 76px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand i { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); flex: none; }
nav.main { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-weight: 500; font-size: 1rem; }
nav.main a { color: var(--ink); text-decoration: none; padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 99px; }
nav.main a:hover { text-decoration: underline; }
nav.main a[aria-current="page"] { font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px; border-radius: 99px; font-weight: 800; font-size: 1.0625rem; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2; text-align: center; }
.btn:hover { text-decoration: underline; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--sx) 6px 0 rgba(20, 28, 61, .25); }
.btn-lg { padding: 20px 40px; font-size: 1.125rem; }
nav.main .btn { color: #fff; padding: 10px 22px; margin-inline-start: 6px; }
nav.main .btn:hover { text-decoration: underline; }

.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 99px; font-weight: 600; font-size: .9375rem; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: ""; width: 8px; height: 8px; border-inline-end: 2px solid currentColor; border-block-end: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.langs ul { position: absolute; inset-inline-end: 0; z-index: 20; list-style: none; margin: 6px 0 0; padding: 8px; background: #fff; border-radius: 16px; box-shadow: var(--sx) 8px 0 rgba(20, 28, 61, .25); min-width: 180px; border: 1px solid var(--line); }
.langs a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; color: var(--ink); text-decoration: none; border-radius: 10px; }
.langs a:hover, .langs a[aria-current="true"] { background: var(--bg); font-weight: 800; }

.suggest { background: var(--yellow); }
.suggest .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding-block: 8px; }
.suggest p { margin: 0; }
.suggest a, .suggest button { color: var(--ink); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; background: none; border: 0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0 8px; }

/* hero */
.hero { position: relative; overflow: hidden; }
.ring { position: absolute; border-radius: 50%; pointer-events: none; }
.hero .ring-a { width: 420px; height: 420px; border: 46px solid var(--accent); inset-inline-start: -200px; bottom: -330px; }
.hero .ring-b { width: 460px; height: 460px; border: 50px solid var(--yellow); inset-inline-end: -150px; top: -170px; }
.hero .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; padding-block: clamp(40px, 8vw, 96px) clamp(90px, 12vw, 150px); }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
.hero .lede { font-size: clamp(1.1rem, 2.4vw, 1.4375rem); max-width: 34em; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.fine { font-size: .9375rem; color: var(--muted); margin: 0; }
.hero-text .say { margin-top: -16px; }  /* sits with the note above it, not as a third block */
.hero-media { flex: 1 1 460px; min-width: 0; position: relative; padding-block-end: 50px; }

/* device frames */
.frame { margin: 0; background: #060913; border: 10px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: calc(var(--sx) * 1.75) 14px 0 rgba(20, 28, 61, .25); position: relative; }
.frame video, .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-tv { aspect-ratio: 16 / 9; }
.frame-phone { aspect-ratio: 9 / 19.5; border-width: 7px; border-radius: 28px; }
.frame-tablet { aspect-ratio: 4 / 3; border-width: 8px; border-radius: 20px; }
.tilt-l { transform: rotate(calc(-2deg * var(--flip))); }
.tilt-r { transform: rotate(calc(2deg * var(--flip))); }
.hero-phone { position: absolute; inset-inline-end: 4px; bottom: 0; width: clamp(110px, 26%, 160px); transform: rotate(calc(4deg * var(--flip))); }
.vbtn { position: absolute; inset-inline-end: 8px; bottom: 8px; min-width: 44px; min-height: 44px; border-radius: 99px; border: 2px solid #fff; background: rgba(6, 9, 19, .72); color: #fff; font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; padding: 0 12px; }
.vbtn[hidden] { display: none; }
.cap { font-size: .9375rem; color: var(--muted); margin: 10px 0 0; }

/* sections */
.band { border-radius: 56px 56px 0 0; margin-top: -56px; position: relative; overflow: hidden; }
.band .wrap { position: relative; padding-block: clamp(64px, 9vw, 110px) clamp(90px, 12vw, 170px); }
.band h2 { font-size: clamp(2rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.band-yellow { background: var(--yellow); }
.band-accent { background: var(--accent); color: #fff; }
.band-ink { background: var(--ink); color: #fff; }
.band-yellow .ring { width: 420px; height: 420px; border: 46px solid var(--coral); inset-inline-end: -120px; bottom: -200px; }
.band-accent .ring { width: 440px; height: 440px; border: 48px solid var(--yellow); inset-inline-start: -160px; top: -180px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.split > * { min-width: 0; }
.stack { flex: 1 1 440px; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.lede-2 { font-size: clamp(1.05rem, 2.2vw, 1.3125rem); max-width: 28em; margin: 0; }
.cards { flex: 1 1 400px; display: flex; flex-direction: column; gap: 26px; padding: 10px 14px; }
.card { background: var(--bg); border-radius: 22px; padding: 26px 28px; box-shadow: var(--sx) 8px 0 rgba(20, 28, 61, .25); display: flex; flex-direction: column; gap: 6px; }
.card:nth-child(1) { transform: rotate(calc(-3deg * var(--flip))); }
.card:nth-child(2) { transform: rotate(calc(2deg * var(--flip))); }
.card:nth-child(3) { transform: rotate(calc(-1.5deg * var(--flip))); }
.card b { font-size: 1.5rem; font-weight: 800; }
.card span { font-size: 1.0625rem; color: var(--card-text); }
.shots { display: flex; flex-wrap: wrap; gap: 32px; padding-block-start: 56px; }
.shots > figure { flex: 1 1 280px; margin: 0; min-width: 0; }
.shots .frame { border-width: 8px; border-radius: 18px; box-shadow: var(--sx) 8px 0 rgba(20, 28, 61, .25); }
.shots > figure:nth-child(odd) .frame { transform: rotate(calc(-1.2deg * var(--flip))); }
.shots > figure:nth-child(even) .frame { transform: rotate(calc(1deg * var(--flip))); }

.qr-card { flex: 0 1 340px; margin: 0 auto; background: #0B0F1C; color: var(--bg); border: 9px solid var(--ink); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; box-shadow: calc(var(--sx) * 1.5) 12px 0 rgba(20, 28, 61, .4); transform: rotate(calc(-3deg * var(--flip))); }
.qr-card b { font-size: 1.125rem; }
.qr-card svg { width: 148px; height: 148px; background: #fff; border-radius: 10px; padding: 8px; }
.qr-code { font-size: 1.625rem; font-weight: 600; letter-spacing: .14em; font-variant-numeric: tabular-nums; direction: ltr; }
.qr-card small { font-size: .875rem; color: #C4CCEE; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; font-size: 1.25rem; max-width: 36em; counter-reset: s; }
.steps li { display: flex; gap: 18px; align-items: flex-start; counter-increment: s; }
.steps li::before { content: counter(s); flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.band-accent .fine { color: #fff; }
.band-ink .lede-2 { color: var(--navy-soft); }
.platforms { display: flex; flex-wrap: wrap; gap: 26px; margin: 48px 0 0; padding: 0; list-style: none; }
.platforms li { flex: 1 1 230px; }
.plat { display: flex; flex-direction: column; gap: 6px; height: 100%; background: var(--bg); color: var(--ink); border-radius: 22px; padding: 26px; box-shadow: var(--sx) 8px 0 var(--yellow); text-decoration: none; }
.plat:hover b { text-decoration: underline; }
.plat b { font-size: 1.5rem; font-weight: 800; }
.plat span { color: var(--card-text); }
.band-ink .legal { margin-top: 56px; border-top: 1px solid #36406B; padding-top: 28px; }

/* pages */
.page-head { background: var(--ink); color: #EEF1FF; }
.page-head .wrap { padding-block: 44px 60px; }
.page-head h1 { font-size: clamp(2.2rem, 7vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 14px; }
.page-head p { font-size: 1.1875rem; color: #C4CCEE; margin: 0; max-width: 40em; }
.page { padding-block: 56px 88px; }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.75rem; font-weight: 800; margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.25rem; font-weight: 700; margin: 1.8em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 1.4em; max-width: 68ch; }
.prose li { margin-bottom: .45em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .9375rem; margin: 1.2em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; min-width: 9em; }
.prose th { background: #fff; }
.prose code { font-size: .9em; background: rgba(20, 28, 61, .08); padding: 1px 5px; border-radius: 4px; direction: ltr; unicode-bidi: isolate; }
.notice { background: var(--yellow); border-radius: 22px; padding: 22px 26px; margin-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.notice p { margin: 0; }
.pill { display: inline-block; font-size: .8125rem; font-weight: 600; padding: 3px 11px; border-radius: 99px; background: var(--warn-bg); color: var(--warn-fg); white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok-fg); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }

/* features */
.feat { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; padding-block: 48px; border-top: 1px solid var(--line); }
.feat:first-of-type { border-top: 0; }
.feat-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.feat h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
.feat h3 { font-size: 1rem; font-weight: 800; margin-top: 4px; }
.feat p { margin: 0; }
.feat-media { flex: 1 1 380px; min-width: 0; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; }
.feat-media figure { margin: 0; flex: 1 1 280px; min-width: 0; }
.feat-media figure.is-phone { flex: 0 1 150px; }
.qa-media { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; margin: 14px 0; }
.qa-media figure { margin: 0; flex: 0 1 150px; min-width: 0; }
.qa-media .frame { box-shadow: var(--sx) 8px 0 rgba(20, 28, 61, .25); border-width: 7px; border-radius: 24px; }
.feat-media .frame { box-shadow: var(--sx) 8px 0 rgba(20, 28, 61, .25); border-width: 7px; border-radius: 16px; }
.feat-media .frame-phone { border-radius: 24px; }
.mini { font-size: .9375rem; color: var(--muted); }

/* download */
.dl-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.dl { flex: 1 1 440px; min-width: 0; background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--sx) 8px 0 rgba(20, 28, 61, .25); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.dl header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; width: 100%; }
.dl h2 { font-size: 1.625rem; font-weight: 800; }
.dl p { margin: 0; color: var(--muted); }
.dl .btn { color: #fff; }
.ghost { border: 1.5px solid var(--line); color: var(--muted); padding: 10px 20px; border-radius: 99px; font-weight: 700; }

/* help */
.help-wrap { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.help-side { flex: 1 1 230px; max-width: 280px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.help-side nav ul { list-style: none; margin: 0; padding: 0; }
.help-side nav a { display: flex; align-items: center; min-height: 44px; padding: 6px 10px; color: var(--muted); font-weight: 500; text-decoration: none; border-radius: 10px; }
.help-side nav a:hover { color: var(--ink); text-decoration: underline; }
.help-side h2 { font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 0 0 6px; }
.help-main { flex: 999 1 560px; min-width: 0; max-width: 780px; }
.tools { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.tools label { font-weight: 700; display: block; margin-bottom: 4px; }
.tools input[type="search"] { width: 100%; min-height: 48px; font: inherit; padding: 10px 16px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips button { min-height: 44px; padding: 8px 16px; border-radius: 99px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tools[hidden] { display: none; }
.topic { margin-bottom: 52px; }
.topic > h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 14px; }
.qa { border-top: 1px solid var(--line); padding: 22px 0; }
.qa h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.qa h3 a { color: var(--ink); text-decoration: none; }
.qa h3 a:hover { text-decoration: underline; }
.qa .blk { margin: 14px 0; padding: 14px 18px; background: #fff; border-radius: 16px; }
.qa .blk h4 { font-size: .9375rem; font-weight: 800; letter-spacing: 0; margin-bottom: 6px; color: var(--link); }
.qa .blk ol { margin: 0; padding-inline-start: 1.4em; }
.qa .blk li { margin-bottom: .5em; }
.qa .blk p { margin: 0; }
.qa .blk.na { background: transparent; border: 1.5px dashed var(--line); }
.qa .blk.na h4 { color: var(--muted); }
.qa .note { color: var(--muted); font-size: .9375rem; margin: 10px 0 0; }
.help-main[data-dev="apple"] .blk[data-d="android"], .help-main[data-dev="apple"] .blk[data-d="tv"],
.help-main[data-dev="android"] .blk[data-d="apple"], .help-main[data-dev="android"] .blk[data-d="tv"],
.help-main[data-dev="tv"] .blk[data-d="apple"], .help-main[data-dev="tv"] .blk[data-d="android"],
.help-main[data-dev="apple"] .qa-media[data-d="android"], .help-main[data-dev="tv"] .qa-media[data-d="android"] { display: none; }
.qa[hidden], .topic[hidden] { display: none; }
.empty { font-weight: 700; }

/* pair */
.pair-card { background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--sx) 8px 0 rgba(20, 28, 61, .25); max-width: 40rem; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pair-code { font-size: 2rem; font-weight: 800; letter-spacing: .16em; direction: ltr; font-variant-numeric: tabular-nums; }
.pair-card p { margin: 0; }

/* footer */
.site-foot { background: var(--ink); color: var(--navy-soft); font-size: .9375rem; }
.site-foot .wrap { padding-block: 36px; display: flex; flex-direction: column; gap: 22px; }
.site-foot p { margin: 0; max-width: 56em; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; border-top: 1px solid #36406B; padding-top: 22px; }
.site-foot a { color: #fff; font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; }
.site-foot ul { display: flex; flex-wrap: wrap; gap: 0 22px; list-style: none; padding: 0; margin: 0; }

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .band { border-radius: 36px 36px 0 0; margin-top: -36px; }
  .card:nth-child(n), .qr-card, .tilt-l, .tilt-r, .shots > figure .frame { transform: none; }
  .hero .ring-b { width: 300px; height: 300px; border-width: 34px; inset-inline-end: -120px; }
  .hero .ring-a { display: none; }
  nav.main a { padding: 10px 8px; }
  .btn-lg { padding: 16px 28px; }
  .page { padding-block: 36px 64px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mini-h { font-size: 1.5rem !important; margin-top: 56px; letter-spacing: -0.01em; }
h2.h3 { font-size: 1.25rem; font-weight: 800; margin-top: 12px; }
a, button, summary { touch-action: manipulation; }
/* 44 px minimum touch targets for links that are otherwise only as tall as their text */
.qa h3 a { display: inline-block; padding-block: 12px; margin-block: -12px; }
nav.main a, .site-foot a { min-width: 44px; justify-content: center; }
