:root {
  --ground: #0A0E15;
  --ground-2: #0F1520;
  --card: #121A27;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --text: #EEF2F7;
  --text-2: #A9B4C4;
  --text-3: #6F7B8D;
  --blue: #5FB7E6;
  --red: #E5484D;
  --radius: 22px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ground);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
}
.display {
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
  font-size: clamp(44px, 7.4vw, 96px);
}
.headline {
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.04;
  font-size: clamp(34px, 5vw, 64px);
}
.accent { color: var(--red); }
.lede { font-size: clamp(17px, 1.6vw, 21px); color: var(--text-2); max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px;
  border-radius: 14px; font-weight: 600; font-size: 16px;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-store { background: #fff; color: #000; }
.btn-store:hover { background: #E8ECF1; }
.btn-store svg { width: 22px; height: 22px; }
.btn-store small { display: block; font-size: 11px; font-weight: 500; line-height: 1; opacity: .7; }
.btn-store b { display: block; font-size: 18px; line-height: 1.1; letter-spacing: -0.01em; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.btn-ghost svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(10,14,21,.78); border-color: var(--line);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; font-size: 15px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
.nav-get { height: 36px; padding: 0 16px; border-radius: 999px; background: #fff; color: #000; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; }
.nav-get:hover { background: #E8ECF1; color: #000 !important; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 140px 0 0; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 0%, rgba(95,183,230,.20), transparent 70%);
}
.hero .wrap { position: relative; }
.hero .icon { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 28px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.hero .lede { margin: 22px auto 0; }
.hero-cta { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-art { position: relative; margin-top: 64px; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 3840 / 1646; object-fit: cover; }
.hero-art::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(to bottom, transparent, var(--ground));
}
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: -10px; position: relative; z-index: 2; padding: 0 24px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--text-2); background: rgba(255,255,255,.02); }

/* ---------- Platform sections ---------- */
.platform { padding: 140px 0 0; }
.platform-head { text-align: center; margin-bottom: 56px; }
.platform-head .headline { margin-top: 14px; }
.platform-head .lede { margin: 18px auto 0; }

.device-name { font-size: clamp(56px, 9vw, 120px); font-weight: 800; letter-spacing: -0.045em; line-height: .9; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.18); user-select: none; margin-bottom: 18px; }

.stage {
  position: relative; border-radius: 32px; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 0%, rgba(95,183,230,.14), transparent 70%), var(--ground-2);
  border: 1px solid var(--line);
}

/* iPhone: phone-framed preview beside text */
.phone-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; padding: 64px; }
.phone {
  width: min(330px, 100%); margin: 0 auto; aspect-ratio: 886 / 1920; border-radius: 52px; padding: 12px;
  background: linear-gradient(145deg, #2A3140, #0C0F15); box-shadow: 0 40px 90px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08);
  position: relative;
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 41px; background: #000; }
.points { list-style: none; display: grid; gap: 28px; }
.points li { border-left: 2px solid var(--line-2); padding-left: 20px; }
.points b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.points b em { font-style: normal; color: var(--red); }
.points span { display: block; margin-top: 6px; color: var(--text-2); font-size: 16px; }

/* iPad + Apple TV: wide framed preview */
.wide-stage { padding: 56px 56px 0; }
.tablet {
  max-width: 960px; margin: 0 auto; border-radius: 34px 34px 0 0; padding: 14px 14px 0;
  background: linear-gradient(145deg, #2A3140, #0C0F15); box-shadow: 0 -10px 80px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08);
}
.tablet video { width: 100%; aspect-ratio: 1600 / 1200; object-fit: cover; border-radius: 22px 22px 0 0; background: #000; }
.tv { max-width: 1040px; margin: 0 auto; }
.tv-screen { border-radius: 14px; padding: 10px; background: #050608; box-shadow: 0 40px 100px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08); }
.tv-screen video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #000; }
.tv-foot { width: 22%; height: 10px; margin: 0 auto; background: linear-gradient(#1A1F28, #0C0F15); border-radius: 0 0 8px 8px; }
.tv-stage { padding: 64px 56px 72px; }

.sound {
  position: absolute; right: 18px; bottom: 18px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(10,14,21,.7); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .2s;
}
.sound:hover { background: rgba(30,36,48,.9); }
.sound svg { width: 18px; height: 18px; }
.sound .on { display: none; }
.sound[aria-pressed="true"] .on { display: block; }
.sound[aria-pressed="true"] .off { display: none; }

/* Screenshot rails */
.rail-wrap { position: relative; margin-top: 28px; }
.rail {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 24px 20px;
  scroll-padding: 0 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  max-width: calc(var(--max) + 48px); margin: 0 auto;
}
.rail::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; scroll-snap-align: start; border-radius: 18px; overflow: hidden; cursor: zoom-in; border: 1px solid var(--line); background: var(--card); transition: transform .35s var(--ease), border-color .35s var(--ease); }
.shot:hover { transform: translateY(-6px); border-color: var(--line-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot.p { width: 248px; aspect-ratio: 1320 / 2868; }
.shot.l { width: 520px; aspect-ratio: 2752 / 2064; }
.rail-nav { display: flex; justify-content: flex-end; gap: 10px; max-width: var(--max); margin: 6px auto 0; padding: 0 24px; }
.rail-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .2s, opacity .2s; }
.rail-nav button:hover { background: rgba(255,255,255,.06); }
.rail-nav button:disabled { opacity: .3; cursor: default; }
.rail-nav svg { width: 18px; height: 18px; }

/* Apple TV gallery */
.tv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.tv-grid figure { cursor: zoom-in; }
.tv-grid .frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--card); aspect-ratio: 16 / 9; transition: transform .35s var(--ease), border-color .35s var(--ease); }
.tv-grid figure:hover .frame { transform: translateY(-4px); border-color: var(--line-2); }
.tv-grid img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.tv-grid figcaption { margin-top: 12px; font-size: 15px; font-weight: 600; }
.tv-grid figcaption span { display: block; font-weight: 400; color: var(--text-3); font-size: 14px; margin-top: 2px; }

.film-cta { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- Device switcher ---------- */
.pick { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; font-size: 15px; color: var(--text-3); }
.pick span { margin-right: 4px; }
.pick a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; color: var(--text-2); border: 1px solid var(--line); transition: color .2s, border-color .2s, background .2s; }
.pick a:hover { color: var(--text); border-color: var(--line-2); background: rgba(255,255,255,.04); }
.pick svg, .switch svg { width: 17px; height: 17px; flex: none; }

.switch-bar { position: sticky; top: 76px; z-index: 40; display: flex; justify-content: center; margin-top: 72px; pointer-events: none; }
.switch {
  position: relative; display: flex; gap: 4px; padding: 5px; border-radius: 999px; pointer-events: auto;
  background: rgba(18,26,39,.82); border: 1px solid var(--line-2); box-shadow: 0 12px 40px rgba(0,0,0,.45);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.switch a {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 20px;
  border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--text-2); transition: color .3s var(--ease); white-space: nowrap;
}
.switch a:hover { color: var(--text); }
.switch a.active { color: #0A0E15; }
.switch-thumb { position: absolute; z-index: 0; top: 5px; height: 40px; left: 0; width: 0; border-radius: 999px; background: #fff; opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; }
.switch-thumb.on { opacity: 1; }
.devices .platform:first-of-type { padding-top: 72px; }
.platform { scroll-margin-top: 72px; }
@media (max-width: 720px) {
  .switch-bar { top: 72px; margin-top: 56px; }
  .switch a { padding: 0 14px; font-size: 14px; height: 38px; gap: 6px; }
  .switch-thumb { height: 38px; }
  .devices .platform:first-of-type { padding-top: 56px; }
  .platform { scroll-margin-top: 92px; }
}

/* ---------- FAQ ---------- */
.faq { padding: 150px 0 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 19px; font-weight: 600; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--text-2); }

.sport-data { list-style: none; margin: 0 40px 18px 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sport-data li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); background: rgba(255,255,255,.015); }
.sport-data li:first-child { border-top: 0; }
.sport-data b { font-weight: 700; font-size: 15px; }
.sport-data span { color: var(--text-2); font-size: 15px; }
@media (max-width: 720px) { .sport-data { margin-right: 0; } .sport-data li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Final CTA ---------- */
.final { position: relative; margin-top: 150px; padding: 120px 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.final::before { content: ""; position: absolute; inset: 0; background: url("media/hero-1200.webp") center 30% / cover no-repeat; opacity: .16; filter: blur(2px); }
.final::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 50%, transparent, var(--ground) 85%); }
.final .wrap { position: relative; z-index: 1; }
.final .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 28px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.final .hero-cta { margin-top: 32px; }
.fine { margin-top: 26px; font-size: 13px; color: var(--text-3); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--text-3); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer a:hover { color: var(--text); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(5,7,11,.94); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img, .lightbox video { max-width: min(100%, 1600px); max-height: calc(100vh - 48px); border-radius: 14px; box-shadow: 0 30px 100px rgba(0,0,0,.7); }
.lightbox video { width: min(100%, 1400px); }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.lightbox-close svg { width: 18px; height: 18px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .phone-stage { grid-template-columns: 1fr; padding: 48px 28px; gap: 48px; }
  .points { max-width: 460px; margin: 0 auto; }
  .tv-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav-links li:not(:last-child) { display: none; }
  .hero { padding-top: 112px; }
  .hero-art { margin-top: 44px; }
  .hero-art img { aspect-ratio: 16 / 10; object-position: 50% 0; }
  .platform { padding-top: 104px; }
  .wrap.flush { padding: 0; }
  .stage { border-radius: 0; border-left: 0; border-right: 0; }
  .wide-stage { padding: 32px 16px 0; }
  .tablet { border-radius: 22px 22px 0 0; padding: 8px 8px 0; }
  .tablet video { border-radius: 15px 15px 0 0; }
  .tv-stage { padding: 36px 16px 44px; }
  .shot.p { width: 64vw; }
  .shot.l { width: 86vw; }
  .rail-nav { display: none; }
  .tv-grid { grid-template-columns: 1fr; }
  .faq { padding-top: 110px; }
  .final { margin-top: 110px; padding: 90px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .shot, .tv-grid .frame { transition: none; }
}

/* ---------- Sports Hub teaser ---------- */
.teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 40px; border-radius: 32px; border: 1px solid var(--line);
  background: radial-gradient(70% 90% at 0% 0%, rgba(229,72,77,.12), transparent 70%), var(--ground-2); transition: border-color .3s var(--ease); }
.teaser:hover { border-color: var(--line-2); }
.teaser img { width: 100%; border-radius: 16px; border: 1px solid var(--line); }
.teaser .headline { margin-top: 14px; font-size: clamp(30px, 3.8vw, 48px); }
.teaser .lede { margin-top: 16px; }
@media (max-width: 980px) { .teaser { grid-template-columns: 1fr; padding: 24px; gap: 28px; } }

/* ---------- TivEPG Remote teaser ---------- */
.teaser-remote { background: radial-gradient(70% 90% at 100% 0%, rgba(95,183,230,.13), transparent 70%), var(--ground-2); }
.remote-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.remote-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.remote-steps li > span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--ground); background: var(--blue); }
.remote-steps b { color: var(--text); }
.remote-steps p { margin: 4px 0 0; color: var(--text-2); font-size: 15px; }
.remote-steps .remote-trust { border: 0; background: none; padding: 4px 2px 0; color: var(--text-3); font-size: 14px; }

/* ---------- Key features ---------- */
.kf-head { max-width: 720px; }
.kf-head .headline { margin-top: 14px; }
.kf-head .lede { margin-top: 16px; }
.kf-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kf-card { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ground-2); transition: border-color .3s var(--ease); }
.kf-card:hover { border-color: var(--line-2); }
.kf-num { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.kf-card h3 { margin: 10px 0 0; font-size: 20px; color: var(--text); }
.kf-card p { margin: 8px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.kf-card .kf-find { margin-top: auto; padding-top: 16px; font-size: 14px; color: var(--text-2); }
.kf-find span { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.kf-find b { color: var(--text); }
.kf-find a { color: var(--blue); }
@media (max-width: 1100px) { .kf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kf-grid { grid-template-columns: 1fr; } .kf-card { padding: 20px; } }
