:root {
  color-scheme: dark;
  --bg: #05050d;
  --bg-2: #090a15;
  --bg-3: #10111f;
  --surface: rgba(13, 16, 29, 0.76);
  --surface-strong: rgba(17, 21, 36, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(232, 236, 255, 0.13);
  --line-strong: rgba(232, 236, 255, 0.24);
  --text: #f8f5ff;
  --muted: #c6ccde;
  --muted-soft: #8f96ad;
  --purple: #8e63ff;
  --purple-soft: rgba(142, 99, 255, 0.18);
  --gold: #e5ae58;
  --gold-soft: rgba(229, 174, 88, 0.18);
  --cyan: #6ddad8;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.46);
  --radius: 8px;
  --max: 1240px;
  --header-height: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(145deg, rgba(33, 22, 69, 0.84), transparent 34%),
    linear-gradient(210deg, rgba(9, 31, 44, 0.64), transparent 42%),
    linear-gradient(180deg, #05050d 0%, #090a15 48%, #05050d 100%);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.38) 64%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 28%, rgba(142, 99, 255, 0.08) 28% 29%, transparent 29% 100%),
    linear-gradient(18deg, transparent 0 56%, rgba(229, 174, 88, 0.065) 56% 57%, transparent 57% 100%);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 48px, 850px);
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--text);
  color: #05050d;
  font-weight: 800;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-18px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.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;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 13, 0.78);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  width: 39px;
  height: 39px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(142, 99, 255, 0.36));
}

.brand span {
  font-size: 1.02rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.036);
}

.site-nav a,
.footer-links a,
.header-store,
.language-selector summary,
.language-options a {
  border-radius: 999px;
  color: var(--muted);
  font-weight: 760;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.site-nav a {
  padding: 8px 13px;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.footer-links a:hover,
.header-store:hover,
.language-selector summary:hover,
.language-options a:hover,
.language-options a[aria-current="true"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
}

.language-selector {
  position: relative;
  min-width: 116px;
}

.language-selector summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  list-style: none;
}

.language-selector summary::-webkit-details-marker {
  display: none;
}

.language-selector summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  display: grid;
  width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 9, 18, 0.98);
  box-shadow: var(--shadow);
}

.language-options a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.language-options code {
  color: var(--muted-soft);
  font: inherit;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.header-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(229, 174, 88, 0.34);
  background: rgba(229, 174, 88, 0.09);
  color: #ffe2a5;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 3.85rem;
  font-weight: 910;
}

h2 {
  font-size: 3.05rem;
  font-weight: 890;
}

h3 {
  font-size: 1.06rem;
  font-weight: 860;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(92deg, rgba(5, 5, 13, 0.28), rgba(5, 5, 13, 0.82) 100%),
    linear-gradient(180deg, rgba(142, 99, 255, 0.12), transparent 42%);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 42px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-subtitle,
.section-heading p,
.faq-intro p,
.final-cta p,
.page-subtitle,
.boundary p {
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-subtitle {
  max-width: 650px;
  margin: 22px 0 0;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  fill: currentColor;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: rgba(229, 174, 88, 0.58);
  background: linear-gradient(135deg, #f0bd69, #9e5a2c);
  color: #100a05;
  box-shadow: 0 18px 54px rgba(229, 174, 88, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.055);
}

.button-secondary:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.085);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  padding: 7px 11px;
  border: 1px solid rgba(232, 236, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #dfe4f8;
  font-size: 0.82rem;
  font-weight: 820;
}

.hero-boundary {
  max-width: 650px;
  margin: 28px 0 0;
  padding: 14px 0 14px 18px;
  border-left: 3px solid var(--gold);
  color: #d8ddeb;
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.hero-frame,
.floating-shot,
.screenshot-card,
.feature-card,
.boundary-panel,
.final-cta-panel,
.support-card,
.notice-box,
.changelog-entry,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 26, 43, 0.86), rgba(7, 9, 18, 0.86));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.hero-frame {
  position: absolute;
  top: 16px;
  right: 0;
  width: 100%;
  max-width: 760px;
  overflow: hidden;
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
  transform-origin: center;
  box-shadow: var(--shadow), 0 0 0 1px rgba(142, 99, 255, 0.12);
}

.hero-frame::before,
.floating-shot::before,
.screenshot-card figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(180deg, transparent 64%, rgba(0, 0, 0, 0.28));
}

.floating-shot::before {
  opacity: 0.42;
}

.hero-frame img,
.floating-shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}

.hero-frame img {
  aspect-ratio: 1729 / 910;
}

.floating-shot {
  position: absolute;
  z-index: 2;
  overflow: hidden;
}

.floating-shot-live {
  left: -12px;
  bottom: 46px;
  width: 48%;
}

.floating-shot-epg {
  right: 20px;
  bottom: 0;
  width: 41%;
}

.proof-band {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 13, 0.74);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.proof-strip div {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.038);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-size: 0.92rem;
}

.proof-strip span {
  margin-top: 3px;
  color: var(--muted-soft);
  font-size: 0.88rem;
}

.showcase,
.features,
.boundary,
.faq,
.final-cta,
.support-content,
.legal-content {
  padding: 92px 0;
}

#screens,
#features,
#faq {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 14px 0 0;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.screenshot-card {
  grid-column: span 3;
  overflow: hidden;
}

.screenshot-card-large {
  grid-column: span 6;
}

.screenshot-card figure {
  position: relative;
  margin: 0;
}

.screenshot-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  background: #070914;
}

.screenshot-card figcaption {
  display: grid;
  gap: 5px;
  padding: 17px 18px 18px;
}

.screenshot-card figcaption strong {
  font-size: 1.02rem;
}

.screenshot-card figcaption span {
  color: var(--muted);
}

.feature-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.support-card,
.notice-box,
.changelog-entry {
  padding: 24px;
}

.feature-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  padding: 7px;
  border: 1px solid rgba(229, 174, 88, 0.28);
  border-radius: var(--radius);
  background: var(--gold-soft);
  fill: #ffd58d;
}

.feature-card p,
.support-card p,
.notice-box p,
.changelog-entry li,
.prose p,
.prose li {
  color: var(--muted);
}

.feature-card p,
.support-card p {
  margin: 12px 0 0;
}

.boundary {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(105deg, rgba(142, 99, 255, 0.16), transparent 46%),
    rgba(3, 4, 9, 0.34);
}

.boundary-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
  padding: 32px;
}

.boundary p {
  margin: 16px 0 0;
}

.boundary-points {
  display: grid;
  gap: 11px;
}

.boundary-points span {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(232, 236, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.044);
  color: #eef1ff;
  font-weight: 760;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: 46px;
  align-items: start;
}

.faq-intro p {
  margin: 18px 0 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 19px 22px;
  color: var(--text);
  font-weight: 850;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-size: 1.18rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.final-cta {
  padding-top: 0;
}

.final-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(130deg, rgba(229, 174, 88, 0.12), transparent 36%),
    linear-gradient(240deg, rgba(142, 99, 255, 0.18), transparent 48%),
    rgba(10, 13, 24, 0.9);
}

.final-cta p {
  margin: 14px 0 0;
}

.site-footer {
  padding: 46px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #05050d;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 32px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 700px;
  margin: 0;
  color: var(--muted-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-links a {
  padding: 8px 10px;
}

.page-main {
  min-height: 58vh;
}

.page-hero {
  padding: 94px 0 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(115deg, rgba(142, 99, 255, 0.18), transparent 42%),
    rgba(5, 5, 13, 0.42);
}

.page-hero h1 {
  font-size: 3.6rem;
}

.page-subtitle {
  margin: 18px 0 0;
}

.page-subtitle a,
.prose a {
  color: #ffe2a5;
  font-weight: 850;
}

.prose {
  font-size: 1.04rem;
}

.prose h2 {
  margin-top: 36px;
  font-size: 1.5rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 14px 0 0;
}

.notice-box {
  margin-bottom: 20px;
  border-color: rgba(229, 174, 88, 0.32);
  background:
    linear-gradient(135deg, rgba(229, 174, 88, 0.12), transparent 42%),
    rgba(17, 21, 36, 0.76);
}

.notice-box h2,
.support-card h2 {
  font-size: 1.22rem;
}

.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.changelog-entry {
  border-left: 3px solid var(--purple);
}

.changelog-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted-soft);
  font-weight: 850;
}

.changelog-entry h2 {
  font-size: 1.52rem;
}

.changelog-entry ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1140px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-frame {
    left: 0;
    right: auto;
    width: 92%;
  }

  .floating-shot-live {
    left: 4%;
  }

  .floating-shot-epg {
    right: 6%;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 68px;
  }

  .container,
  .narrow {
    width: min(100% - 32px, var(--max));
  }

  .header-store {
    display: none;
  }

  .language-selector {
    min-width: 82px;
    margin-left: auto;
  }

  .language-selector summary {
    min-height: 40px;
    padding: 0 11px;
    font-size: 0.86rem;
  }

  .language-options {
    right: -54px;
    width: min(260px, calc(100vw - 32px));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(8, 9, 18, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 13px 14px;
    border-radius: var(--radius);
  }

  .hero {
    padding: 52px 0 66px;
  }

  .hero-visual {
    display: grid;
    min-height: 0;
    gap: 12px;
  }

  .hero-frame,
  .floating-shot {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    transform: none;
  }

  .floating-shot-live,
  .floating-shot-epg {
    display: none;
  }

  .proof-strip,
  .boundary-panel,
  .faq-layout,
  .final-cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-card,
  .screenshot-card-large {
    grid-column: 1 / -1;
  }

  .feature-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-actions,
  .footer-links {
    justify-content: flex-start;
  }

  .showcase,
  .features,
  .boundary,
  .faq,
  .final-cta,
  .support-content,
  .legal-content {
    padding: 68px 0;
  }

  .final-cta {
    padding-top: 0;
  }
}

html[dir="rtl"] .button svg {
  margin-right: 0;
  margin-left: 10px;
}

html[dir="rtl"] .language-selector summary::after {
  margin-left: 0;
  margin-right: 9px;
}

html[dir="rtl"] .language-options {
  right: auto;
  left: 0;
}

html[dir="rtl"] .hero-boundary {
  padding: 14px 18px 14px 0;
  border-left: 0;
  border-right: 3px solid var(--gold);
}

html[dir="rtl"] .faq-item summary::after {
  float: left;
}

@media (max-width: 920px) {
  html[dir="rtl"] .language-selector {
    margin-left: 0;
    margin-right: auto;
  }

  html[dir="rtl"] .language-options {
    right: auto;
    left: -54px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .brand img {
    width: 35px;
    height: 35px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  h1 {
    font-size: 2.28rem;
  }

  h2,
  .page-hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle,
  .section-heading p,
  .faq-intro p,
  .final-cta p,
  .page-subtitle,
  .boundary p {
    font-size: 1.02rem;
  }

  .hero-actions,
  .final-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    white-space: normal;
    text-align: center;
  }

  .hero-badges {
    gap: 7px;
  }

  .hero-badges li {
    font-size: 0.78rem;
  }

  .hero-boundary {
    display: none;
  }

  .screenshot-grid,
  .feature-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-card img {
    object-fit: contain;
  }

  .feature-card,
  .support-card,
  .notice-box,
  .changelog-entry,
  .boundary-panel,
  .final-cta-panel {
    padding: 20px;
  }

  .screenshot-card figcaption {
    padding: 15px;
  }

  .page-hero {
    padding: 70px 0 46px;
  }
}

@media (max-width: 520px) {
  .container,
  .narrow {
    width: min(100% - 32px, 358px);
  }
}
