/* novarcplayer.com — one stylesheet for every page. No scripts, no external requests. */

/* Inter for Latin text and Noto Sans Arabic for Arabic, under one name (each loads only if used). */
@font-face {
  font-family: 'NovArc Sans';
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  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: 'NovArc Sans';
  src: url('/fonts/noto-sans-arabic-arabic-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  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 {
  color-scheme: dark;
  --bg: #0a0d14;
  --bg-2: #0f1320;
  --surface: #141a29;
  --surface-2: #1a2135;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.14);
  --fg: #eef1f7;
  --fg-2: #b4bccd;
  --muted: #8b94a9;
  --indigo: #6a8bff;
  --violet: #b15cf8;
  --gradient: linear-gradient(100deg, var(--indigo), var(--violet));
  --radius: 18px;
  --gutter: 20px;
  --width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 'NovArc Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Arabic', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[lang='ar'] body,
body[lang='ar'] {
  line-height: 1.75;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--width) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface-2);
}
.skip:focus {
  top: 12px;
}

/* ---- header ------------------------------------------------------------------------------------ */

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(10 13 20 / 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand img {
  width: 34px;
  height: 32px;
}
.brand b,
.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-inline-start: auto;
  font-size: 15px;
}
.nav a {
  color: var(--fg-2);
  text-decoration: none;
}
.nav a:hover {
  color: var(--fg);
}
.nav .lang {
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
}

/* ---- buttons ----------------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgb(125 110 255 / 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -10px rgb(125 110 255 / 0.7);
}
.btn.ghost {
  background: transparent;
  border-color: var(--line-2);
  box-shadow: none;
  color: var(--fg);
}
.btn.ghost:hover {
  background: rgb(255 255 255 / 0.04);
}
.btn.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 10px;
  color: #fff;
}
.nav a.btn.small {
  color: #fff;
}

/* ---- hero -------------------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 72px 0 40px;
  text-align: center;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -120px 0 auto;
  height: 720px;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 28% 30%, rgb(106 139 255 / 0.22), transparent 70%),
    radial-gradient(38% 46% at 74% 22%, rgb(177 92 248 / 0.18), transparent 70%);
  pointer-events: none;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
}
.hero h1 {
  margin: 0 auto;
  max-width: 14ch;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}
[lang='ar'] .hero h1 {
  max-width: 16ch;
  line-height: 1.25;
  letter-spacing: 0;
}
.lede {
  margin: 22px auto 0;
  max-width: 44rem;
  color: var(--fg-2);
  font-size: clamp(17px, 2vw, 20px);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.soon {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* A TV showing the guide, with a phone adding a playlist in front of it. */
.devices {
  position: relative;
  max-width: 1040px;
  margin: 56px auto 0;
  padding-bottom: 28px;
}
.tv {
  position: relative;
  margin-inline-end: 7%;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, #1c2233, #10141f);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(0 0 0 / 0.4);
}
.tv img {
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
  width: 100%;
}
.tv::after {
  /* the stand */
  content: '';
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 26%;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #1a2031, #0c1018);
}
.phone {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 23%;
  min-width: 150px;
  padding: 7px;
  border-radius: 30px;
  background: #0d1119;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px -20px rgb(0 0 0 / 0.9);
}
.phone img {
  border-radius: 23px;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

/* ---- sections ---------------------------------------------------------------------------------- */

section {
  padding: 84px 0;
}
.section-head {
  max-width: 44rem;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}
[lang='ar'] .section-head h2 {
  line-height: 1.35;
  letter-spacing: 0;
}
.section-head p {
  margin: 14px 0 0;
  color: var(--fg-2);
}
.section-head.start {
  margin-inline: 0;
  text-align: start;
}
/* The page's shared SVG definitions (the icon gradient). */
.defs {
  position: absolute;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
}
.feature svg {
  width: 26px;
  height: 26px;
  margin-bottom: 16px;
  /* The page's shared gradient, or plain indigo if it's missing. */
  stroke: url(#icon-gradient) var(--indigo);
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.feature p {
  margin: 0;
  color: var(--fg-2);
  font-size: 16px;
}

.how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}
.tv.tv-shot {
  margin: 0 0 22px;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 26px;
}
.steps li {
  position: relative;
  padding-inline-start: 62px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
}
.steps h3 {
  margin: 0 0 6px;
  font-size: 20px;
}
.steps p {
  margin: 0;
  color: var(--fg-2);
}
.callout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.panel {
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.panel.accent {
  background:
    radial-gradient(120% 140% at 0% 0%, rgb(106 139 255 / 0.18), transparent 60%),
    radial-gradient(120% 140% at 100% 100%, rgb(177 92 248 / 0.16), transparent 60%),
    var(--surface);
  border-color: rgb(141 120 255 / 0.35);
}
.panel h2 {
  margin: 0 0 12px;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.panel p {
  margin: 0 0 12px;
  color: var(--fg-2);
}
.panel p:last-child {
  margin-bottom: 0;
}

.faq {
  max-width: 50rem;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 36px 20px 0;
  position: relative;
  font-weight: 600;
  font-size: 18px;
}
[dir='rtl'] .faq summary {
  padding: 20px 0 20px 36px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  inset-inline-end: 4px;
  top: 16px;
  color: var(--indigo);
  font-size: 24px;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: 0 0 20px;
  color: var(--fg-2);
}

/* ---- footer ------------------------------------------------------------------------------------ */

.foot {
  margin-top: 40px;
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-inline-start: auto;
}
.foot a {
  color: var(--fg-2);
  text-decoration: none;
}
.foot a:hover {
  color: var(--fg);
}
.foot .fine {
  flex-basis: 100%;
  margin: 0;
  font-size: 13px;
}

/* ---- legal pages ------------------------------------------------------------------------------- */

.doc {
  max-width: 46rem;
  margin: 0 auto;
  padding: 56px 0 24px;
}
.doc h1 {
  margin: 0 0 6px;
  font-size: clamp(34px, 5vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.doc .updated {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 15px;
}
.doc h2 {
  margin: 40px 0 10px;
  font-size: 23px;
  letter-spacing: -0.01em;
}
.doc h3 {
  margin: 24px 0 6px;
  font-size: 18px;
}
.doc p,
.doc li {
  color: var(--fg-2);
}
.doc ul {
  padding-inline-start: 22px;
}
.doc li {
  margin: 6px 0;
}
.doc a {
  color: var(--indigo);
}
.doc strong {
  color: var(--fg);
}
.note {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgb(255 196 87 / 0.35);
  background: rgb(255 196 87 / 0.07);
  color: #f3d9a4;
  font-size: 15px;
}
.center-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 18px;
  padding: 80px 0;
}
.center-page h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 48px);
  letter-spacing: -0.03em;
}
.center-page p {
  margin: 0;
  color: var(--fg-2);
}

/* ---- smaller screens --------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .how {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }
  body {
    font-size: 16px;
  }
  .nav .hide-sm {
    display: none;
  }
  .nav {
    gap: 12px;
  }
  .hero {
    padding-top: 48px;
  }
  .devices {
    margin-top: 40px;
  }
  .tv {
    margin-inline-end: 12%;
    padding: 6px;
    border-radius: 12px;
  }
  .phone {
    width: 30%;
    min-width: 0;
    padding: 4px;
    border-radius: 18px;
  }
  .phone img {
    border-radius: 14px;
  }
  section {
    padding: 64px 0;
  }
  .features,
  .callout {
    grid-template-columns: minmax(0, 1fr);
  }
  .panel {
    padding: 26px;
  }
  .foot nav {
    margin-inline-start: 0;
  }
}

@media (max-width: 420px) {
  .brand span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .faq summary::after {
    transition: none;
  }
}
