:root {
  --bg: #102333;
  --bg-deep: #0b1824;
  --panel: rgba(40, 70, 91, .44);
  --panel-strong: rgba(48, 83, 108, .58);
  --line: rgba(133, 177, 207, .24);
  --line-strong: rgba(173, 215, 241, .48);
  --text: #f1f6f9;
  --muted: #9eb0bd;
  --muted-2: #7f96a7;
  --accent: #8ecdf6;
  --accent-strong: #b9e2fb;
  --focus: #d7efff;
  --shadow: 0 28px 70px rgba(0, 0, 0, .34);
  --radius: 4px;
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 0%, rgba(76, 130, 170, .23), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(52, 96, 130, .12), transparent 32rem),
    linear-gradient(135deg, #18344a 0%, var(--bg) 46%, #0d1d2b 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 70%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.shell { width: min(calc(100% - 44px), var(--shell)); margin: 0 auto; }
.narrow { max-width: 900px; }
.section { position: relative; padding: 92px 0; }
.compact-section { padding-top: 58px; }

.skip-link { position: fixed; left: 16px; top: -50px; z-index: 100; background: var(--focus); color: #0b1a26; padding: 10px 14px; border-radius: 3px; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(10, 24, 35, .72);
  border-bottom: 1px solid rgba(135, 181, 211, .14);
}
.nav-shell { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-word { font-size: 13px; letter-spacing: .28em; font-weight: 800; }
.brand-mark {
  position: relative;
  width: 34px;
  height: 30px;
  border: 1px solid rgba(184, 224, 250, .55);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(126, 189, 231, .18), rgba(255,255,255,.025));
  box-shadow: inset 0 0 18px rgba(131, 199, 242, .08);
}
.brand-mark::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 12px;
  left: 7px;
  top: 6px;
  border: 1.5px solid var(--accent-strong);
  border-radius: 2px;
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 20px;
  width: 3px;
  height: 5px;
  border-left: 1.5px solid var(--accent-strong);
}
.brand-mark span::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 24px;
  width: 10px;
  border-top: 1.5px solid var(--accent-strong);
}

.site-nav { display: flex; align-items: center; gap: 26px; font-size: 13px; color: #b7c5cf; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.nav-download { border: 1px solid var(--line-strong); padding: 8px 13px; border-radius: 3px; color: #eaf6fd !important; background: rgba(107, 169, 211, .08); }
.nav-toggle { display: none; width: 40px; height: 36px; background: transparent; border: 1px solid var(--line); border-radius: 3px; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; height: 1px; background: var(--text); margin: 4px 0; }

.hero { padding-top: 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.45fr; align-items: center; gap: 56px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { color: var(--accent); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #8bd2ff; box-shadow: 0 0 15px rgba(139, 210, 255, .75); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 16px 0 20px; font-size: clamp(42px, 5.4vw, 74px); line-height: 1.02; letter-spacing: -.045em; font-weight: 730; }
h1 span { color: #a6d9fa; }
.hero-lead { max-width: 620px; color: #b8c6d0; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 26px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border-radius: 3px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 750; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover, .button:focus-visible { transform: translateY(-1px); }
.button-primary { color: #071824; background: linear-gradient(180deg, #b8e3fc, #82c3ec); border-color: #ccecff; box-shadow: 0 10px 28px rgba(63, 151, 210, .22); }
.button-secondary { background: rgba(54, 86, 108, .3); }
.provider-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.provider-strip span, .tech-badges span { border: 1px solid var(--line); background: rgba(39, 65, 84, .38); color: #a9bcc9; border-radius: 3px; padding: 6px 9px; font-size: 11px; }
.hero-screen { position: relative; z-index: 2; }
.screen-frame { padding: 7px; border: 1px solid rgba(160, 206, 236, .32); background: rgba(11, 25, 36, .65); box-shadow: var(--shadow); border-radius: 5px; overflow: hidden; transform: perspective(1300px) rotateY(-3deg) rotateX(1deg); }
.screen-topbar { height: 20px; display: flex; align-items: center; gap: 5px; padding: 0 5px; }
.screen-topbar span { width: 5px; height: 5px; border-radius: 50%; background: rgba(179, 211, 231, .36); }
.screen-frame img { width: 100%; height: auto; border: 1px solid rgba(255,255,255,.05); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero-glow-one { width: 520px; height: 520px; right: -160px; top: -80px; background: radial-gradient(circle, rgba(83, 152, 197, .19), transparent 68%); }
.hero-glow-two { width: 430px; height: 430px; left: -170px; bottom: -200px; background: radial-gradient(circle, rgba(79, 138, 178, .12), transparent 68%); }

.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading h2, .showcase-copy h2, .detail-panel h2, .download-card h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.13; letter-spacing: -.03em; margin: 10px 0 13px; }
.section-heading p, .showcase-copy p, .detail-panel p, .download-card p { color: var(--muted); font-size: 15px; line-height: 1.75; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature-card, .server-card, .detail-panel {
  background: linear-gradient(145deg, rgba(54, 88, 111, .42), rgba(27, 48, 64, .42));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-card h3, .server-card h3 { font-size: 17px; margin: 18px 0 8px; }
.feature-card p, .server-card p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.65; }
.feature-icon { width: 42px; height: 38px; position: relative; opacity: .85; }
.tv-icon { border: 2px solid #6ca6d0; border-radius: 5px; }
.tv-icon::before { content:""; position:absolute; inset:6px; border: 1px solid #6ca6d0; }
.tv-icon::after { content:""; position:absolute; width:14px; left:12px; bottom:-7px; border-bottom:2px solid #6ca6d0; box-shadow: 0 -4px 0 -1px #6ca6d0; }
.film-icon { border: 2px solid #6ca6d0; border-radius: 5px; }
.film-icon::before { content:""; position:absolute; inset:5px; border-top: 3px dotted #6ca6d0; border-bottom: 3px dotted #6ca6d0; }
.film-icon::after { content:""; position:absolute; left:15px; top:10px; border-left:12px solid #6ca6d0; border-top:8px solid transparent; border-bottom:8px solid transparent; }
.library-icon { border: 2px solid #6ca6d0; border-radius: 4px; box-shadow: 7px -7px 0 -2px #173247, 7px -7px 0 0 #6ca6d0, 14px -14px 0 -2px #173247, 14px -14px 0 0 #6ca6d0; }
.controls-icon::before, .controls-icon::after { content:""; position:absolute; border:2px solid #6ca6d0; border-radius:50%; }
.controls-icon::before { width:34px; height:34px; left:0; top:2px; }
.controls-icon::after { width:10px; height:10px; left:12px; top:14px; }

.showcase-section, .media-server-section, .gallery-section, .faq-section { background: rgba(7, 18, 27, .17); border-top: 1px solid rgba(120,170,203,.10); border-bottom: 1px solid rgba(120,170,203,.10); }
.showcase-grid { display: grid; grid-template-columns: minmax(300px, .66fr) minmax(0, 1.08fr); gap: 40px; align-items: center; }
.showcase-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; width: 100%; border: 1px solid rgba(151, 198, 228, .3); padding: 6px; background: rgba(8, 20, 29, .54); border-radius: 4px; box-shadow: 0 22px 55px rgba(0,0,0,.24); overflow: hidden; }
.showcase-image img { width: 100%; height: 100%; object-fit: contain; object-position: top center; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 9px; color: #c5d2da; font-size: 13px; }
.check-list li::before { content:""; display:inline-block; width:7px; height:7px; margin-right:10px; border:1px solid var(--accent); transform: rotate(45deg); }
.server-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 34px; }
.server-name { font-size: 19px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.02em; }
.media-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.large-gap { gap: 22px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.detail-list { display: grid; gap: 0; margin-top: 22px; }
.detail-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 18px; padding: 12px 0; border-top: 1px solid rgba(128, 174, 204, .15); }
.detail-list strong { font-size: 12px; }
.detail-list span { color: var(--muted); font-size: 12px; }
.tech-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 20px; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery-card { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #0a1721; padding: 0; cursor: zoom-in; text-align: left; }
.gallery-card img { width: 100%; height: 100%; object-fit: contain; object-position: top center; transition: transform .25s ease, opacity .25s ease; }
.gallery-card:hover img, .gallery-card:focus-visible img { transform: scale(1.012); opacity: .92; }
.gallery-card span { position: absolute; left: 11px; bottom: 10px; padding: 6px 9px; border: 1px solid rgba(178,215,238,.22); background: rgba(8, 20, 29, .82); backdrop-filter: blur(8px); color: #e5eff5; font-size: 11px; border-radius: 3px; }
.gallery-wide { grid-column: span 2; aspect-ratio: 18 / 9; }

.changelog-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; align-items: start; }
.release-list { display: grid; gap: 10px; }
.release { border: 1px solid var(--line); background: rgba(35, 61, 80, .38); padding: 20px; border-radius: 4px; }
.release.current { border-color: rgba(149, 211, 249, .5); background: linear-gradient(145deg, rgba(62, 105, 133, .48), rgba(31, 55, 72, .42)); }
.release-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.release-head span:last-child:not(:first-child) { color: #0b1e2a; background: #9bd6fa; padding: 3px 7px; border-radius: 2px; font-size: 9px; }
.release h3 { margin: 8px 0 9px; font-size: 17px; }
.release ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }

.download-card { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 34px; border: 1px solid rgba(157, 211, 244, .45); background: linear-gradient(145deg, rgba(61, 106, 137, .5), rgba(25, 47, 63, .5)); border-radius: 5px; box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.download-card h2 { margin-bottom: 6px; }
.download-card p { margin-bottom: 0; }
.download-actions { display: grid; justify-items: center; gap: 8px; flex: 0 0 auto; }
.download-note { color: var(--muted-2); font-size: 10px; }
.install-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.install-step { display: flex; gap: 14px; padding: 18px; border: 1px solid rgba(133, 177, 207, .16); background: rgba(26, 48, 64, .25); }
.install-step > span { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.install-step strong { font-size: 13px; }
.install-step p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.faq-list { display: grid; gap: 8px; }
details { border: 1px solid var(--line); background: rgba(35, 61, 80, .3); border-radius: 4px; }
summary { list-style: none; cursor: pointer; padding: 17px 18px; font-size: 13px; font-weight: 700; }
summary::-webkit-details-marker { display:none; }
summary::after { content:"+"; float:right; color:var(--accent); }
details[open] summary::after { content:"–"; }
details p { color: var(--muted); font-size: 12px; margin: 0; padding: 0 18px 18px; max-width: 760px; }

.site-footer { padding: 34px 0 42px; border-top: 1px solid rgba(132, 178, 208, .14); background: rgba(5, 14, 21, .25); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.footer-brand { pointer-events: none; }
.site-footer p { margin: 0; color: #7f94a2; font-size: 10px; }
.copyright { white-space: nowrap; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 26px; background: rgba(3, 9, 14, .92); opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(96vw, 1500px); max-height: 88vh; border: 1px solid rgba(181, 218, 241, .3); box-shadow: 0 28px 90px rgba(0,0,0,.6); }
.lightbox-close { position: absolute; top: 18px; right: 22px; width: 40px; height: 40px; border-radius: 3px; border: 1px solid var(--line-strong); background: rgba(25, 47, 63, .8); font-size: 24px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .06s; }
.delay-2 { transition-delay: .12s; }
.delay-3 { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .screen-frame { transform: none; }
}

@media (max-width: 980px) {
  .hero-grid, .showcase-grid, .changelog-grid { grid-template-columns: 1fr; }
  .showcase-image { max-width: 100%; }
  .hero-grid { gap: 36px; }
  .hero-copy { max-width: 760px; }
  .screen-frame { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .server-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 16px; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding: 68px 0; }
  .hero { padding-top: 58px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 14px; right: 14px; top: 62px; display: none; padding: 12px; flex-direction: column; align-items: stretch; gap: 0; background: rgba(11, 26, 38, .97); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 10px; }
  .nav-download { margin-top: 5px; }
  h1 { font-size: clamp(38px, 12vw, 58px); }
  .hero-lead { font-size: 15px; }
  .feature-grid, .media-pair, .gallery-grid, .install-grid { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: auto; }
  .download-card { align-items: flex-start; flex-direction: column; }
  .download-actions { justify-items: stretch; width: 100%; }
  .detail-list > div { grid-template-columns: 1fr; gap: 3px; }
  .footer-grid { grid-template-columns: 1fr; }
}
