/* Flux IPTV: hand-written, no framework, no build step.
   Palette and type come from the app icon and the App Store pictures: paper, ink, brand blue, one yellow marker. */

@font-face{font-family:Bricolage;src:url(/fonts/bricolage.woff2) format("woff2");font-weight:500 800;font-display:swap}
@font-face{font-family:Onest;src:url(/fonts/onest.woff2) format("woff2");font-weight:400 700;font-display:swap}

:root{
  color-scheme:light dark;
  --paper:#F4F0E6; --ink:#0B1020; --blue:#0058BC; --sky:#5AA9FF; --yellow:#FFDF04;
  --bg:var(--paper); --bg-2:#EBE6D8; --fg:var(--ink);
  --fg-2:rgba(11,16,32,.7); --fg-3:rgba(11,16,32,.6);
  --rule:rgba(11,16,32,.14); --link:var(--blue);
  --shadow:rgba(11,16,32,.3);
  --display:Bricolage,Onest,ui-sans-serif,system-ui,sans-serif;
  --body:Onest,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --max:72.5rem; --gutter:clamp(20px,5vw,48px); --radius:clamp(20px,3vw,32px);
}
@media (prefers-color-scheme:dark){
  :root{--bg:#0B1020; --bg-2:#151B2F; --fg:#F4F0E6; --fg-2:rgba(244,240,230,.74); --fg-3:rgba(244,240,230,.62);
        --rule:rgba(244,240,230,.16); --link:var(--sky); --shadow:rgba(0,0,0,.55)}
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:1.5rem}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--fg);font:400 1.0625rem/1.6 var(--body);-webkit-font-smoothing:antialiased;font-synthesis:none}
h1,h2,h3,p,ul,ol,dl,dd,figure{margin:0}
ul,ol{padding:0;list-style:none}
img,svg{display:block;max-width:100%}
img{height:auto}
a{color:var(--link);text-underline-offset:.2em;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--link);outline-offset:3px;border-radius:3px}

.wrap{width:min(100% - 2*var(--gutter),var(--max));margin-inline:auto}
.skip{position:absolute;left:var(--gutter);top:-5rem;z-index:10;padding:.6rem 1rem;border-radius:8px;background:var(--fg);color:var(--bg);text-decoration:none}
.skip:focus{top:1rem}

/* ------------------------------------------------------------------ type */
h1,h2{font-family:var(--display);font-weight:800;letter-spacing:-.026em;word-spacing:.03em;line-height:1;text-wrap:balance;font-optical-sizing:auto}
h2{font-size:clamp(2.1rem,1rem + 3.6vw,3.6rem)}
.label{font:600 .9375rem/1.3 var(--body);letter-spacing:0;color:var(--fg-3)}
p{text-wrap:pretty}
.hl{background:linear-gradient(98deg,rgba(255,223,4,0) .4%,var(--yellow) 2.2%,var(--yellow) 96%,rgba(255,223,4,0) 99%) no-repeat 0 86%/100% .66em;color:var(--ink);padding:0 .1em;margin:0 -.1em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
@media (prefers-color-scheme:dark){.hl{background:none;color:var(--yellow);padding:0;margin:0}}   /* on dark paper the marker would hide half of the ink letters: yellow type instead */

/* ------------------------------------------------------------------ header */
.top{padding-block:clamp(16px,2.4vw,26px)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.brand{display:inline-flex;align-items:center;gap:.7rem;color:var(--fg);text-decoration:none;font:700 1.25rem/1 var(--display);letter-spacing:-.015em}
.brand img{width:36px;height:36px}
.nav{display:flex;gap:clamp(1.1rem,3vw,2rem);font-size:.9375rem}
.nav a{padding:.5rem 0;color:var(--fg-2);text-decoration:none}
.nav a:hover{color:var(--fg)}
.nav a[aria-current]{color:var(--fg);box-shadow:inset 0 -.16em 0 var(--yellow)}
@media (max-width:520px){.nav a:nth-child(2){display:none}}

/* ------------------------------------------------------------------ hero */
.hero{padding-top:clamp(1.75rem,5vw,4.5rem)}
.hero .label{margin-bottom:1.25rem}
.hero h1{font-size:clamp(2.5rem,6.1vw,5rem);max-width:13em}
.hero-sub{display:grid;gap:1.75rem;margin-top:clamp(1.5rem,3vw,2.25rem)}
.lede{max-width:35rem;font-size:clamp(1.125rem,1.02rem + .45vw,1.3125rem);line-height:1.5;color:var(--fg-2)}
.get{display:grid;gap:.75rem;justify-items:start}
.badge{display:inline-block;line-height:0}
.badge img{width:auto;height:52px}
.fine{max-width:20rem;font-size:.875rem;line-height:1.45;color:var(--fg-3);text-wrap:balance}

/* ------------------------------------------------------------------ devices (flat bezel; sizes in container units so one rule scales them) */
.stage,.panel{position:relative;overflow:hidden;container-type:inline-size;border-radius:var(--radius);background:var(--bg-2)}
.stage{background:var(--blue);--shadow:rgba(0,0,0,.5)}
.dev{position:absolute;container-type:inline-size}
.bezel{background:#0C0D12;box-shadow:inset 0 0 0 .22cqw rgba(255,255,255,.13),0 3.2cqw 6cqw -2.4cqw var(--shadow)}
.screen{position:relative;overflow:hidden;background:#000;line-height:0}
.screen img{width:100%;height:100%;object-fit:cover}
.phone .bezel{padding:2.15cqw;border-radius:13.5cqw}
.phone .screen{aspect-ratio:1320/2868;border-radius:11.35cqw}
.ipad .bezel{padding:2.65cqw;border-radius:5cqw}
.ipad .screen{aspect-ratio:2752/2064;border-radius:2.6cqw}
.tv .bezel{padding:1.1cqw;border-radius:1.4cqw}
.tv .screen{aspect-ratio:16/9;border-radius:.7cqw}
.stand{display:block;width:5cqw;height:4cqw;margin:0 auto;background:#14161d}
.base{display:block;width:24cqw;height:1.2cqw;margin:0 auto;border-radius:999px;background:#14161d}
.isl{position:absolute;left:50%;top:1.15%;width:28.6%;height:3.9%;transform:translateX(-50%);border-radius:999px;background:#000}

/* hero: Apple TV behind, iPad and iPhone in front */
.comp-hero{aspect-ratio:1160/640;margin-top:clamp(2rem,5vw,4rem)}
.comp-hero .d0{left:20cqw;top:7cqw;width:60cqw}
.comp-hero .d1{left:4cqw;top:30cqw;width:38cqw}
.comp-hero .d2{left:76cqw;top:22cqw;width:17cqw}
@media (max-width:700px){
  .comp-hero{aspect-ratio:1/1.05}
  .comp-hero .d0{left:4cqw;top:7cqw;width:92cqw}
  .comp-hero .d1{left:2cqw;top:56cqw;width:56cqw}
  .comp-hero .d2{left:66cqw;top:54cqw;width:26cqw}
}

/* ------------------------------------------------------------------ statement */
.lead{display:grid;gap:1rem 3rem;padding-block:clamp(3.25rem,8vw,6.5rem) 0}
.lead p{font:500 clamp(1.5rem,.85rem + 2.1vw,2.375rem)/1.24 var(--display);letter-spacing:-.02em;text-wrap:balance}
.lead .dim{color:var(--fg-3)}
@media (min-width:860px){.lead{grid-template-columns:minmax(0,13rem) minmax(0,1fr)}.lead .label{padding-top:.6rem}}

/* ------------------------------------------------------------------ feature rows */
.row{display:grid;gap:2rem 4.5rem;align-items:center;padding-block:clamp(3.5rem,8vw,6.5rem) 0}
.row .label{margin-bottom:1rem}
.row h2{margin-bottom:1.25rem}
.row p+p{margin-top:1rem}
.row .txt p{max-width:30rem;color:var(--fg-2)}
@media (min-width:900px){
  .row{grid-template-columns:repeat(12,minmax(0,1fr))}
  .row .txt{grid-column:1/6}
  .row .panel{grid-column:7/13}
  .row.flip .txt{grid-column:8/13;grid-row:1}
  .row.flip .panel{grid-column:1/8;grid-row:1}
}
.comp-browse{aspect-ratio:1/.98}
.comp-browse .d0{left:4cqw;top:10cqw;width:92cqw}
.comp-browse .d1{left:58cqw;top:42cqw;width:34cqw}
.comp-guide{aspect-ratio:1/.9}
.comp-guide .d1{left:4cqw;top:13cqw;width:92cqw}
.comp-guide .d2{left:64cqw;top:40cqw;width:29cqw}

/* ------------------------------------------------------------------ player */
.player{padding-block:clamp(3.5rem,8vw,6.5rem) 0}
.player-head{display:grid;gap:1.25rem 4.5rem;align-items:end;margin-bottom:clamp(1.75rem,4vw,3rem)}
.player-head .label{margin-bottom:1rem}
.player-head p{max-width:30rem;color:var(--fg-2)}
@media (min-width:900px){.player-head{grid-template-columns:repeat(12,minmax(0,1fr))}.player-head>div{grid-column:1/8}.player-head>p{grid-column:8/13}}
.comp-player{aspect-ratio:1160/650;margin:0}
.comp-player .d0{left:5cqw;top:8.5cqw;width:56cqw}
.comp-player .d1{left:56cqw;top:15cqw;width:40cqw}
@media (max-width:700px){
  .comp-player{aspect-ratio:1/1}
  .comp-player .d0{left:4cqw;top:6cqw;width:92cqw}
  .comp-player .d1{left:36cqw;top:50cqw;width:60cqw}
}
.feat-cols{display:grid;gap:2.75rem 4.5rem;margin-top:clamp(1.75rem,4vw,3rem)}
.feat-cols h3{margin-bottom:.9rem;font:700 1.5rem/1.2 var(--display);letter-spacing:-.015em}
@media (min-width:900px){.feat-cols{grid-template-columns:1fr 1fr}}
.feat li{display:grid;gap:.15rem 1.5rem;padding:1.05rem 0;border-top:1px solid var(--rule)}
.feat li:last-child{border-bottom:1px solid var(--rule)}
.feat b{font:700 1.125rem/1.3 var(--display);letter-spacing:-.01em}
.feat span{color:var(--fg-2)}
@media (min-width:560px){.feat li{grid-template-columns:minmax(0,9.5rem) 1fr;align-items:baseline}}
.credit{margin-top:1.5rem;font-size:.8125rem;color:var(--fg-3)}

/* ------------------------------------------------------------------ spec lists */
.more,.formats{padding-block:clamp(3.5rem,8vw,6.5rem) 0}
.more>h2,.formats .split{margin-bottom:clamp(1.25rem,3vw,2.25rem)}
.more>h2{font-size:clamp(1.9rem,1rem + 3vw,3rem)}
.formats .split{display:grid;gap:1.25rem 4.5rem;align-items:end}
.formats .split p{max-width:30rem;color:var(--fg-2)}
@media (min-width:900px){.formats .split{grid-template-columns:repeat(12,minmax(0,1fr))}.formats .split h2{grid-column:1/8}.formats .split p{grid-column:8/13}}
.spec{display:grid}
.spec>div{display:grid;gap:.35rem 3rem;padding:1.35rem 0;border-top:1px solid var(--rule)}
.spec>div:last-child{border-bottom:1px solid var(--rule)}
.spec dt{font:700 1.25rem/1.3 var(--display);letter-spacing:-.012em}
.spec dd{max-width:44rem;color:var(--fg-2)}
@media (min-width:760px){.spec>div{grid-template-columns:minmax(0,15rem) minmax(0,1fr)}}

/* ------------------------------------------------------------------ closing + footer */
.closing{padding-block:clamp(4rem,11vw,9.5rem)}
.closing h2{font-size:clamp(2.4rem,1rem + 5.2vw,4.75rem)}
.closing p{max-width:30rem;margin:1.25rem 0 1.75rem;color:var(--fg-2)}
.foot{padding-block:2.25rem 3rem;border-top:1px solid var(--rule);font-size:.9375rem;color:var(--fg-2)}
.foot .wrap{display:grid;gap:2rem}
.foot .brand{font-size:1.125rem}
.foot nav{display:grid;gap:.4rem;justify-items:start}
.foot nav a{color:var(--fg);text-decoration:none}
.foot nav a:hover{text-decoration:underline}
.legal{display:grid;gap:.6rem;font-size:.8125rem;line-height:1.5;color:var(--fg-3)}
@media (min-width:860px){.foot .wrap{grid-template-columns:1fr 1fr 1.5fr;align-items:start}}

/* ------------------------------------------------------------------ inner pages (support, privacy, terms) */
.page-head{padding-block:clamp(2rem,6vw,5rem) clamp(1.75rem,4vw,3rem)}
.page-head h1{font-size:clamp(2.6rem,1rem + 5.4vw,5rem)}
.page-head p{max-width:34rem;margin-top:1.25rem;font-size:clamp(1.125rem,1.02rem + .45vw,1.3125rem);line-height:1.5;color:var(--fg-2)}
.page-head .meta{margin-top:.75rem;font-size:.9375rem;color:var(--fg-3)}
.page-head .mail{font:700 clamp(1.3rem,.9rem + 1.6vw,2rem)/1.2 var(--display);letter-spacing:-.015em;word-break:break-word}
.page-body{padding-bottom:clamp(4rem,10vw,8rem)}
.sec-title{margin:clamp(3rem,7vw,5.5rem) 0 clamp(1rem,2.5vw,1.75rem);font-size:clamp(1.75rem,1rem + 2.6vw,2.75rem)}
.sec-title.first{margin-top:0}
.faq{border-top:1px solid var(--rule)}
.faq details{border-bottom:1px solid var(--rule)}
.faq summary{display:flex;align-items:baseline;justify-content:space-between;gap:1.5rem;padding:1.15rem 0;cursor:pointer;list-style:none;font:700 1.1875rem/1.35 var(--display);letter-spacing:-.01em}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:none;font:500 1.6rem/1 var(--body);color:var(--fg-3)}
.faq details[open] summary::after{content:"\2212"}
.faq summary:hover{color:var(--link)}
.faq .ans{max-width:42rem;padding:0 0 1.5rem;color:var(--fg-2)}
.faq .ans>*+*{margin-top:.8rem}
.faq .ans ul,.faq .ans ol{padding-left:1.3rem;list-style:revert}
.faq .ans li+li{margin-top:.25rem}
.faq .ans strong,.prose strong{font-weight:600;color:var(--fg)}
.prose{max-width:42rem}
.prose section+section{margin-top:2.25rem}
.prose h2{margin-bottom:.7rem;font-size:1.5rem;line-height:1.25;letter-spacing:-.02em}
.prose h2 .n{color:var(--fg-3);font-weight:600}
.prose p,.prose li{color:var(--fg-2)}
.prose p+p,.prose p+ul,.prose ul+p{margin-top:.8rem}
.prose ul{padding-left:1.3rem;list-style:disc}
.prose li+li{margin-top:.3rem}
.notfound{padding-block:clamp(4rem,12vw,9rem)}
.notfound h1{font-size:clamp(2.6rem,1rem + 5.4vw,5rem)}
.notfound p{max-width:30rem;margin:1.25rem 0 1.75rem;color:var(--fg-2)}
