:root {
  color-scheme: dark;
  --bg: #090d18;
  --panel: #101726;
  --line: #242e44;
  --text: #f7f8fd;
  --muted: #b6c1d5;
  --lime: #baf474;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--bg); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.03; letter-spacing: -.025em; }
h2 { font-size: clamp(2.55rem, 5.5vw, 4.8rem); font-weight: 640; }
h3 { font-size: 1.4rem; letter-spacing: -.018em; line-height: 1.15; }
.wrap { width: min(1220px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 12px; background: var(--bg); transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid #ffffff16; background: #090e1a; }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: self-end; gap: 10px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 500; font-size: 1.12rem; letter-spacing: .24em; }
nav { display: flex; gap: clamp(14px, 3vw, 38px); color: var(--muted); font-size: .88rem; }
nav a, .footer a { padding-block: 10px; }
nav a:hover, .footer a:hover, .secondary:hover { color: var(--lime); }
.nav-cta { padding: 10px 15px; border: 1px solid #46516b; border-radius: 9px; font-size: .85rem; font-weight: 650; white-space: nowrap; }
.nav-cta:hover { border-color: var(--lime); }
.hero { overflow: hidden; background: radial-gradient(ellipse at 82% 86%, #123fba 0%, #0c255c 30%, transparent 61%), linear-gradient(135deg,#090d18 12%,#0b1530); }
.hero-layout { display: grid; grid-template-columns: 1fr 1.08fr; min-height: clamp(555px, 52vw, 680px); align-items: center; gap: clamp(22px,4vw,64px); }
.hero-copy { padding-block: 45px; position: relative; z-index: 1; }
.signal, .eyebrow, .art-label { font-size: .72rem; letter-spacing: .15em; font-weight: 750; color: var(--lime); }
.signal, .art-label { display: flex; align-items: center; gap: 9px; }
.signal span, .art-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px #baf47455; }
h1 { font-size: clamp(3.1rem, 7.1vw, 7rem); font-weight: 665; line-height: .98; margin-block: 25px 22px; letter-spacing: -.032em; }
h1 em { color: #c1d2ff; font-style: normal; }
.lede { max-width: 390px; color: #c9d4e9; font-size: clamp(1rem, 1.45vw, 1.2rem); }
.actions { display: flex; gap: 12px 20px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.button, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 17px; border-radius: 9px; font-size: .9rem; font-weight: 700; }
.button { color: #142017; background: var(--lime); border: 0; }
a.button:hover { background: #dcffb7; }
.secondary { padding-inline: 0; }
.platform { color: var(--muted); margin-top: 18px; font-size: .82rem; }
.hero-art { min-width: 0; align-self: stretch; position: relative; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; inset: 8% -22% 2% -12%; z-index: -1; background: repeating-linear-gradient(0deg, #b6ccff18 0 1px, transparent 1px 46px), repeating-linear-gradient(90deg, #b6ccff18 0 1px, transparent 1px 46px); mask-image: radial-gradient(ellipse, #000 20%, transparent 70%); }
.art-label { position: absolute; top: 10%; right: 0; color: #e3ebff; border: 1px solid #a5beff5c; border-radius: 6px; background: #101d44; padding: 7px 10px; font-size: .6rem; z-index: 2; }
.device-wide, .device-phone { position: absolute; height: auto; }
/* Mask stray pixels outside each supplied bezel without adding a new frame. */
.render.duo { clip-path: inset(0 round 11% / 8%); }
.render.tablet { clip-path: inset(0 round 7.1% / 5.4%); }
.render.phone-guide, .render.phone-editor { clip-path: inset(0 round 18.5% / 9.1%); }
.device-wide { width: min(67%, 365px); left: 11%; top: 50%; transform: translateY(-50%) rotate(-8deg); }
.image-filters { position: absolute; pointer-events: none; }
/* Whiten cool highlights in the hero guide while retaining the lime live markers. */
.device-phone { filter: url("#neutral-guide-text"); width: min(35%, 185px); right: 0; top: 56%; transform: translateY(-50%) rotate(8deg); }
.server-strip { border-block: 1px solid var(--line); background: #0d1320; }
.server-inner { display: flex; align-items: center; justify-content: center; gap: 22px 50px; min-height: 90px; flex-wrap: wrap; padding-block: 16px; }
.server-inner p { color: var(--muted); font-size: .86rem; }
.server-inner ul { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: 18px clamp(20px,4vw,56px); flex-wrap: wrap; font-size: 1.18rem; font-weight: 680; }
.plex { color: #f8ba52; } .jelly { color: #a8a2ff; } .emby { color: var(--lime); }
.section { padding-block: clamp(65px, 8vw, 118px); }
.section-intro { max-width: 710px; margin-bottom: 36px; }
.eyebrow { margin-bottom: 13px; }
.section-intro > p:last-child:not(.eyebrow), .split-copy > p:last-child { color: var(--muted); max-width: 545px; margin-top: 17px; font-size: 1.08rem; }
.feature-grid, .steps, .device-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.feature-grid article { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px,3vw,32px); }
.feature-grid p, .steps p { color: var(--muted); margin-top: 10px; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #baf47418; color: var(--lime); font-size: 1.6rem; margin-bottom: 22px; }
.split { margin-top: clamp(55px,8vw,105px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 64px); padding: clamp(22px,5vw,66px); background: radial-gradient(ellipse at bottom right,#113d84,transparent 70%),#10172a; border: 1px solid var(--line); border-radius: 24px; }
.channel-preview {
  width: min(100%, 460px);
  justify-self: center;
  filter: drop-shadow(0 20px 28px #04091688);
}
.channel-preview img { width: 100%; }
.device-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.device-grid img { width: auto; max-width: 100%; max-height: 320px; margin-inline: auto; }
.device-grid figure { display: flex; flex-direction: column; justify-content: end; }
.device-grid img { max-height: clamp(190px, 23vw, 330px); }
figcaption { text-align: center; color: #e3eafd; margin-top: 10px; font-size: .85rem; }
.device-grid figcaption span { display: block; color: var(--muted); font-size: .78rem; margin-top: 3px; }
.device-section { background: linear-gradient(150deg,#0f1830,#0b1222); border-block: 1px solid var(--line); }
.device-grid figure { background: #080f22; border: 1px solid var(--line); border-radius: 16px; padding: 15px 10px; }
.steps { padding: 0; margin: 0; list-style: none; counter-reset: step; }
.steps li { padding: 20px 12px 18px 0; border-top: 1px solid #536382; counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font-size: .78rem; font-weight: 750; color: var(--lime); margin-bottom: 12px; }
.faq { border-top: 1px solid var(--line); display: grid; grid-template-columns: .75fr 1.25fr; gap: 28px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 17px 5px; font-weight: 650; }
summary::marker { color: var(--lime); }
details p { padding: 0 5px 16px; color: var(--muted); }
.pricing { border-top: 1px solid var(--line); }
.pricing-options { color: var(--muted); margin-bottom: 22px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.price-card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.price-card .price { color: var(--text); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; line-height: 1.2; margin-block: 24px 12px; }
.price span { font-size: 1rem; font-weight: 400; color: var(--muted); white-space: nowrap; }
.price-card > p:last-child, .pricing-note { color: var(--muted); }
.pricing-note { margin-top: 18px; font-size: .84rem; }
.download { padding-block: 72px; text-align: center; background: radial-gradient(ellipse at bottom,#153c98,transparent 75%),#101a33; border-block: 1px solid var(--line); }
.download-layout { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 7vw, 100px); text-align: left; }
.download-mark { width: clamp(105px, 15vw, 190px); flex: none; filter: drop-shadow(0 12px 26px #050b21aa); }
.download p { color: #d7e2fc; margin: 12px 0 20px; }
.download button { background: #293957; border: 1px solid #8292b0; color: #e1e8f8; min-width: 150px; }
.download .availability { margin-bottom: 0; font-size: .84rem; }
.footer { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; color: var(--muted); font-size: .86rem; }
.copyright { padding-bottom: 24px; color: var(--muted); font-size: .78rem; text-align: center; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
}
@media (max-width: 720px) {
  .nav { flex-wrap: wrap; padding-block: 12px 4px; }
  nav { order: 2; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); gap: 5px; }
  .hero-layout, .split, .faq { grid-template-columns: 1fr; }
  .hero-layout { gap: 0; min-height: auto; }
  .hero-copy { padding: 48px 0 20px; }
  h1 { font-size: clamp(3.2rem, 12vw, 5.55rem); }
  .hero-art { min-height: clamp(320px, 94vw, 475px); width: min(100%, 480px); justify-self: center; }
  .art-label { top: 5%; }
  .device-wide { width: min(62%, 275px); left: 10%; }
  .device-phone { width: min(33%, 145px); right: 4%; }
  .feature-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .server-inner { gap: 5px 24px; flex-direction: column; }
  .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .download-layout { flex-direction: column; text-align: center; }
  .device-grid figure { padding: 8px 4px; }
  .device-grid img { max-height: min(40vw, 230px); }
  .device-grid figcaption { font-size: .73rem; overflow-wrap: anywhere; }
}
@media (max-width: 370px) { .wrap { width: calc(100% - 32px); } }
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

/* Product support page */
.support-hero { padding-block: clamp(56px, 8vw, 100px); background: radial-gradient(ellipse at right bottom, #123fba66, transparent 65%), #0b1530; }
.support-hero h1 { font-size: clamp(2.9rem, 7vw, 6rem); }
.support-hero .lede { max-width: 600px; }
.support-hero .secondary { margin-top: 20px; }
.support-faq { max-width: 920px; }
.support-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 80px); border-top: 1px solid var(--line); }
.support-contact h2 { font-size: clamp(2.55rem, 4.5vw, 4rem); }
.support-contact-copy > p:last-child { margin-top: 20px; color: var(--muted); }
.support-form { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.support-form > p { color: var(--muted); font-size: .9rem; }
.support-form label { display: block; margin-top: 22px; margin-bottom: 8px; font-weight: 600; }
.support-form label span { font-weight: 400; color: var(--muted); font-size: .85rem; }
.support-form select, .support-form textarea { display: block; width: 100%; border: 1px solid #536382; border-radius: 8px; padding: 12px; font: inherit; color: var(--text); background: var(--bg); }
.support-form textarea { resize: vertical; min-height: 180px; }
.support-form textarea::placeholder { color: var(--muted); opacity: 1; }
.support-form :is(select, textarea, button):focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.support-form button { margin-top: 22px; cursor: pointer; font-family: inherit; }
.support-form button:hover { background: #dcffb7; }
.support-form #form-status:not(:empty) { margin-top: 16px; }
.support-alternative { margin-top: 18px; color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.support-alternative a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .support-contact { grid-template-columns: 1fr; }
}

.support-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.support-actions button { margin-top: 0; }
.support-copy { border: 1px solid #536382; border-radius: 9px; padding: 12px 17px; min-height: 48px; background: transparent; color: var(--text); font-size: .9rem; }
.support-actions .support-copy:hover { background: #293957; }

.support-footer-meta { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 28px; text-align: center; color: var(--muted); }
.support-footer-meta > a { padding: 8px 12px; font-size: .86rem; }
.support-footer-meta > a:hover { color: var(--lime); }
.support-footer-meta .copyright { padding-bottom: 0; }

/* Missing-page broadcast illustration */
.error-page { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 80% 45%, #14377466, transparent 55%), var(--bg); }
.error-layout { flex: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 36px; padding-block: 80px; }
.error-copy h1 { font-size: clamp(3rem, 6.3vw, 5.7rem); letter-spacing: -.032em; }
.error-copy .lede { max-width: 430px; }
.error-art { position: relative; width: 100%; height: 440px; isolation: isolate; }
.error-tear, .error-tear-shadow { position: absolute; inset: 45px 5px 35px; clip-path: polygon(7% 20%, 15% 16%, 17% 7%, 28% 12%, 36% 3%, 44% 9%, 55% 0, 61% 8%, 76% 5%, 78% 15%, 92% 20%, 88% 29%, 100% 37%, 91% 49%, 97% 58%, 87% 65%, 90% 79%, 77% 77%, 72% 91%, 60% 85%, 50% 98%, 40% 90%, 29% 96%, 24% 85%, 12% 88%, 15% 73%, 3% 68%, 9% 55%, 0 45%, 10% 35%); }
.error-tear-shadow { background: #839bc0; transform: translate(-5px, 7px) rotate(-3deg); z-index: -1; }
.error-tear { background: #03070e; transform: rotate(-5deg); box-shadow: inset 0 0 50px #000; overflow: hidden; }
.error-broadcast { position: absolute; inset: 12% 6%; transform: rotate(8deg) scale(1.08); font-size: .75rem; }
.error-guide-heading { display: flex; justify-content: space-between; color: var(--lime); font-weight: 700; letter-spacing: .1em; padding: 10px; }
.error-guide-row { display: grid; grid-template-columns: 29% 1fr; gap: 6px; margin-bottom: 6px; min-height: 65px; }
.error-guide-row > span { display: flex; flex-direction: column; justify-content: center; background: #242b34; padding: 10px; }
.error-guide-row .error-program { background: #415132; color: #fff; border-left: 2px solid var(--lime); }
.error-static { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, #0004 0 1px, transparent 1px 4px); opacity: .5; }
.error-art-number { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(6rem, 15vw, 12rem); font-weight: 750; letter-spacing: .015em; color: #fff; text-shadow: 3px 3px #165de8, -2px -2px #142b49; }
.error-paper-edge { position: absolute; width: 68%; height: 66px; right: 2%; bottom: 44px; transform: rotate(-15deg); background: linear-gradient(165deg, #53647e, #152139 65%, #0a101e); clip-path: polygon(0 15%, 12% 28%, 18% 12%, 30% 24%, 39% 8%, 52% 19%, 66% 0, 76% 16%, 87% 8%, 100% 0, 92% 77%, 73% 89%, 47% 100%, 19% 74%); filter: drop-shadow(0 15px 12px #0008); }
.error-film { position: absolute; display: grid; place-items: center; width: 68px; height: 54px; border-block: 6px dotted #64748e; background: #18233c; color: var(--lime); box-shadow: 0 15px 25px #0005; }
.error-film-one { right: 5%; top: 20px; transform: rotate(20deg); }
.error-film-two { left: 8%; bottom: 5px; transform: rotate(-23deg); }
.error-footer .copyright { text-align: center; }
@media (max-width: 720px) {
  .error-layout { grid-template-columns: 1fr; gap: 12px; padding-block: 48px; }
  .error-art { height: 330px; max-width: 480px; justify-self: center; }
  .error-art-number { font-size: clamp(6rem, 25vw, 9rem); }
}
