/* ==========================================================================
   YeboTV — dark geek-cinema theme
   --------------------------------------------------------------------------
   Design intent: deep grey-blue canvas, one cyan->violet gradient used as the
   brand signature, a single warm orange reserved exclusively for the download
   action, card-based layout, and an oversized display type scale so the hero
   reads as a poster rather than a paragraph.

   Rules this file follows deliberately:
   * Exactly one accent colour drives CTAs (orange). The cyan/violet gradient
     is decoration and emphasis — never a button fill that competes with
     Download. No red and green ever sit side by side.
   * Type is fluid via clamp(); nothing depends on a media query to stay
     readable, media queries only change layout.
   * Reveal animations are progressive enhancement. Content is visible by
     default; only `html.js` hides it. A failed script must never blank the
     page.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  /* surfaces */
  --bg:            #080c18;
  --bg-soft:       #0b1223;
  --surface:       #111a2e;
  --surface-2:     #16203a;
  --surface-3:     #1c2748;
  --line:          #223052;
  --line-soft:     #1a2440;

  /* text */
  --text:          #eaeffb;
  --text-2:        #c3cdE4;
  --muted:         #96a3c4;
  --dim:           #6c7a9c;

  /* brand */
  --cyan:          #2ad9f0;
  --violet:        #a56bff;
  --indigo:        #6e7bff;
  --grad:          linear-gradient(115deg, #2ad9f0 0%, #6e7bff 46%, #a56bff 100%);
  --grad-soft:     linear-gradient(115deg, rgba(42,217,240,.16), rgba(165,107,255,.16));

  /* the one true action colour */
  --orange:        #ff7a18;
  --orange-hi:     #ff9640;
  --orange-deep:   #e05c00;
  --orange-grad:   linear-gradient(180deg, #ff9640 0%, #ff7a18 100%);

  /* status (never adjacent to its opposite) */
  --ok:            #35d6a4;
  --warn:          #ffc44d;
  --bad:           #ff6b6b;

  /* type */
  --font-display: 'Space Grotesk', 'PingFang SC', 'Hiragino Sans GB',
                  'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --font-text:    'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
                  'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', Roboto,
                  'Helvetica Neue', Arial, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, 'SF Mono', 'Cascadia Mono',
                  Menlo, Consolas, monospace;

  /* rhythm */
  --pad:           clamp(18px, 4vw, 34px);
  --gap:           clamp(16px, 2.2vw, 26px);
  --sec-y:         clamp(58px, 8vw, 116px);
  --radius:        16px;
  --radius-lg:     22px;
  --radius-sm:     10px;

  /* elevation */
  --shadow:        0 24px 60px -28px rgba(0,0,0,.85);
  --shadow-sm:     0 12px 30px -18px rgba(0,0,0,.8);
  --glow-cyan:     0 0 0 1px rgba(42,217,240,.28), 0 18px 50px -22px rgba(42,217,240,.45);
  --glow-orange:   0 14px 34px -14px rgba(255,122,24,.6);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Ambient brand wash. Fixed so it behaves like a lighting rig behind the
   page rather than a background image that scrolls away. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 12% -8%,  rgba(42,217,240,.15), transparent 62%),
    radial-gradient(820px 560px at 92% 4%,   rgba(165,107,255,.16), transparent 60%),
    radial-gradient(1000px 700px at 50% 108%, rgba(110,123,255,.10), transparent 65%);
}

body > * { position: relative; z-index: 1; }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #6ee9ff; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.022em;
  margin: 0 0 .5em;
  color: #fff;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: rgba(165,107,255,.4); color: #fff; }

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

/* ------------------------------------------------------------- utilities */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.container-narrow { max-width: 840px; }
.container-wide { max-width: 1400px; }

.section { padding: var(--sec-y) 0; position: relative; }
.section-tight { padding: calc(var(--sec-y) * .6) 0; }
.section-tint { background: linear-gradient(180deg, transparent, rgba(11,18,35,.75) 12%, rgba(11,18,35,.75) 88%, transparent); }
.section-line { border-top: 1px solid var(--line-soft); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--orange); color: #1a0d00; padding: 10px 18px;
  font-weight: 700; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.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;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad);
}

.section-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.section-title {
  font-size: clamp(30px, 4.4vw, 54px);
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.section-sub { color: var(--muted); font-size: clamp(15.5px, 1.5vw, 18px); max-width: 66ch; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

.lead { font-size: clamp(17px, 1.9vw, 20.5px); color: var(--text-2); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 14px; }
.tiny { font-size: 12.8px; }
.center { text-align: center; }
.mono { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }

/* Initials badge replaces the wordy "My account" label on narrow screens. */
.show-sm { display: none; }
@media (max-width: 700px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
}
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; }

.stack > * + * { margin-top: var(--gap); }
.flex { display: flex; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 10px; } .gap-2 { gap: 18px; } .gap-3 { gap: 26px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,12,24,.82);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line-soft);
}
.site-header.is-stuck { box-shadow: 0 12px 40px -24px rgba(0,0,0,.9); }

.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 72px;
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  color: #050912; flex-shrink: 0;
  box-shadow: 0 8px 22px -10px rgba(110,123,255,.8);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: -.03em; color: #fff;
}
.brand-tag { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

.nav { display: flex; align-items: center; gap: 3px; margin-left: 10px; }
.nav a:not(.btn) {
  color: var(--text-2); font-size: 14.6px; font-weight: 500;
  padding: 9px 12px; border-radius: 9px; white-space: nowrap;
  transition: background .16s, color .16s;
}
/* The :not(.btn) guards matter. The mobile download CTA is an <a class="btn
   btn-primary"> living inside .nav; .nav a (0,1,1) would otherwise outrank
   .btn-primary (0,1,0) and repaint its text muted grey on the orange fill. */
.nav a:not(.btn):hover { background: rgba(255,255,255,.055); color: #fff; }
.nav a.is-active { color: #fff; }
.nav a.is-active::after {
  content: ""; display: block; height: 2px; border-radius: 2px;
  margin-top: 6px; background: var(--grad);
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }

/* language switcher — must stay reachable at every breakpoint */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border: 1px solid var(--line);
  border-radius: 999px; background: rgba(255,255,255,.03);
  flex-shrink: 0;
}
.lang-switch a {
  font-size: 12.4px; font-weight: 700; letter-spacing: .02em;
  padding: 6px 11px; border-radius: 999px; color: var(--muted);
  transition: background .16s, color .16s; white-space: nowrap;
}
.lang-switch a:hover { color: #fff; background: rgba(255,255,255,.07); }
.lang-switch a.is-active {
  background: var(--grad); color: #050912;
  box-shadow: 0 6px 18px -8px rgba(110,123,255,.9);
}

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  cursor: pointer; place-items: center; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  border-radius: 2px; background: var(--text); transition: transform .2s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  font-family: var(--font-text); font-weight: 650; font-size: 15.2px;
  line-height: 1.1; cursor: pointer; text-align: center;
  transition: transform .16s, box-shadow .16s, background .16s, border-color .16s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* The download action. Nothing else on the site uses this fill. */
.btn-primary {
  background: var(--orange-grad); color: #1c0d00;
  box-shadow: var(--glow-orange);
  font-weight: 700;
}
.btn-primary:hover { background: linear-gradient(180deg, #ffa659 0%, #ff8a2e 100%); color: #1c0d00; }

.btn-grad { background: var(--grad); color: #050912; font-weight: 700; }
.btn-grad:hover { color: #050912; filter: brightness(1.08); }

.btn-ghost {
  background: rgba(255,255,255,.04); color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,.09); color: #fff; border-color: #2c3d64; }

.btn-quiet { background: transparent; color: var(--text-2); border-color: transparent; padding: 10px 14px; }
.btn-quiet:hover { background: rgba(255,255,255,.06); color: #fff; }

.btn-danger { background: rgba(255,107,107,.12); color: #ffb3b3; border-color: rgba(255,107,107,.35); }
.btn-danger:hover { background: rgba(255,107,107,.2); color: #fff; }

.btn-sm { padding: 9px 15px; font-size: 13.6px; border-radius: 10px; }
.btn-lg { padding: 17px 30px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 14.8px; color: var(--cyan);
}
.link-arrow:hover { gap: 11px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: clamp(52px, 7vw, 104px) 0 clamp(46px, 6vw, 86px); overflow: hidden; }

.hero-inner { position: relative; z-index: 2; max-width: 940px; }

.hero-title {
  font-size: clamp(40px, 8.2vw, 96px);
  line-height: .98;
  letter-spacing: -.045em;
  margin-bottom: 26px;
}
.hero-lead {
  font-size: clamp(16.5px, 1.95vw, 21px);
  color: var(--text-2); max-width: 62ch; margin-bottom: 32px;
}
.hero-lead strong { color: #fff; font-weight: 700; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Positive framing of the Android-only constraint: a device bar rather than
   a red "NO SMART TV" disclaimer. */
.device-bar { margin-top: 38px; }
.device-bar-label {
  font-size: 12.6px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 12px;
}
.device-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.device-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.035);
  font-size: 13.6px; font-weight: 550; color: var(--text-2);
}
.device-chip svg { color: var(--cyan); flex-shrink: 0; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: clamp(14px, 2vw, 26px);
  margin-top: clamp(38px, 5vw, 58px);
  padding-top: clamp(26px, 3.4vw, 38px);
  border-top: 1px solid var(--line-soft);
}
.hero-stat .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1; letter-spacing: -.035em;
  color: #fff; display: flex; align-items: baseline; gap: 3px;
}
.hero-stat .num i { font-style: normal; font-size: .5em; color: var(--cyan); font-weight: 600; }
.hero-stat .lbl { font-size: 13.2px; color: var(--muted); margin-top: 9px; }

/* ------------------------------------------------------------ trust rail */
.trust-rail {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden;
}
.trust-item { background: var(--bg-soft); padding: clamp(20px, 2.6vw, 30px); }
.trust-item .ico {
  width: 40px; height: 40px; border-radius: 11px; display: grid;
  place-items: center; margin-bottom: 15px;
  background: var(--grad-soft); color: var(--cyan);
  border: 1px solid rgba(42,217,240,.24);
}
.trust-item h3 { font-size: 16.6px; margin-bottom: 7px; }
.trust-item p { font-size: 14.2px; color: var(--muted); line-height: 1.6; }

/* ----------------------------------------------------------------- cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}

.card-hover:hover {
  border-color: #2c3d64; transform: translateY(-3px); box-shadow: var(--shadow);
}

.cat-card {
  display: block; color: inherit; position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: clamp(20px, 2.4vw, 26px);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.cat-card:hover { color: inherit; border-color: #2c3d64; transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.cat-card:hover::after { transform: scaleX(1); }
.cat-card .ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid;
  place-items: center; margin-bottom: 17px; color: var(--cyan);
  background: var(--grad-soft); border: 1px solid rgba(42,217,240,.22);
}
.cat-card h3 { font-size: 19px; margin-bottom: 8px; }
.cat-card p { font-size: 14.2px; color: var(--muted); min-height: 44px; }
.cat-card .count {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-size: 13px; font-weight: 650; color: var(--cyan);
  padding: 5px 11px; border-radius: 999px;
  background: rgba(42,217,240,.1); border: 1px solid rgba(42,217,240,.2);
}

/* ------------------------------------------------------------ plan cards */
.plan-card { display: flex; flex-direction: column; position: relative; }
.plan-card.is-featured {
  border-color: rgba(165,107,255,.5);
  background: linear-gradient(180deg, rgba(165,107,255,.11), rgba(17,26,46,1) 46%);
  box-shadow: 0 26px 60px -34px rgba(165,107,255,.7);
}
.plan-card .badge-float {
  position: absolute; top: -11px; left: clamp(20px, 2.4vw, 28px);
  font-size: 11.4px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
  background: var(--grad); color: #050912;
}
.plan-card h3 { font-size: 21px; margin-bottom: 4px; }
.plan-card .term { font-size: 13.6px; color: var(--muted); margin-bottom: 18px; }
.plan-card .price {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 4vw, 44px); line-height: 1; letter-spacing: -.04em;
  color: #fff; display: flex; align-items: baseline; gap: 4px;
}
.plan-card .price .unit { font-size: .38em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan-card .price-sub { font-size: 13.6px; color: var(--cyan); margin-top: 9px; font-weight: 600; }
.plan-card .rand { font-size: 12.8px; color: var(--dim); margin-top: 4px; }
.plan-card ul { list-style: none; padding: 0; margin: 22px 0 24px; flex: 1; }
.plan-card li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.1px; color: var(--text-2); padding: 6px 0;
}
.plan-card li svg { color: var(--ok); flex-shrink: 0; margin-top: 4px; }
.plan-card .device-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 650; color: var(--cyan);
  background: rgba(42,217,240,.09); border: 1px solid rgba(42,217,240,.22);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 16px;
}

/* ------------------------------------------------------ plan compare grid */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line-soft); background: var(--surface); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 660px; }
.compare-table th, .compare-table td { padding: 0; border-bottom: 1px solid var(--line-soft); }
.compare-table thead th {
  padding: 18px 16px; text-align: center; vertical-align: bottom;
  background: var(--surface-2); position: sticky; top: 0; z-index: 3;
}
.compare-table thead th:first-child { text-align: left; }
.compare-table thead .cdur {
  font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff;
}
.compare-table thead .cfrm { font-size: 12.4px; color: var(--dim); font-weight: 500; margin-top: 3px; }
.compare-table tbody th {
  text-align: left; padding: 18px 16px; background: var(--surface-2);
  position: sticky; left: 0; z-index: 2;
  font-family: var(--font-display); font-weight: 650; font-size: 15.4px; color: #fff;
  border-right: 1px solid var(--line-soft);
}
.compare-table tbody th .dev-sub { font-size: 12.4px; color: var(--dim); font-weight: 500; font-family: var(--font-text); margin-top: 3px; }

.cell {
  display: block; width: 100%; text-align: center; padding: 16px 12px;
  color: inherit; transition: background .16s;
}
.cell:hover { background: rgba(255,255,255,.04); color: inherit; }
.cell .amt { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; letter-spacing: -.02em; }
.cell .per { font-size: 12.8px; color: var(--muted); margin-top: 4px; }
.cell .save {
  display: inline-block; margin-top: 8px; font-size: 11.4px; font-weight: 700;
  letter-spacing: .04em; padding: 3px 8px; border-radius: 999px;
  background: rgba(53,214,164,.13); color: var(--ok);
}
.cell.is-best { background: rgba(255,122,24,.055); }
.cell.is-best .amt { color: var(--orange-hi); }
.cell .go {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 9px;
  font-size: 12.4px; font-weight: 650; color: var(--cyan);
}

/* --------------------------------------------------------- channel lists */
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px; font-size: 13.8px; font-weight: 550;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  color: var(--text-2); transition: all .16s;
}
.chip:hover { color: #fff; border-color: #2f4270; background: rgba(255,255,255,.07); }
.chip.is-active { background: var(--grad); color: #050912; border-color: transparent; font-weight: 700; }
.chip .n { opacity: .7; font-size: 12.2px; }

.search-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.channel-block { margin-bottom: clamp(30px, 4vw, 48px); }
.channel-block-head {
  display: flex; align-items: center; gap: 13px; flex-wrap: wrap;
  margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
}
.channel-block-head h3 { font-size: 19px; margin: 0; }
.channel-block-head .n {
  font-size: 12.6px; font-weight: 650; color: var(--cyan);
  background: rgba(42,217,240,.1); border: 1px solid rgba(42,217,240,.2);
  padding: 4px 10px; border-radius: 999px;
}

.channel-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
  gap: 10px;
}
.channel-item {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line-soft);
  font-size: 14.4px; transition: border-color .16s, background .16s;
}
.channel-item:hover { border-color: #2c3d64; background: var(--surface-2); }
.channel-item .dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad);
}
.channel-item .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-badge {
  font-size: 10.6px; font-weight: 700; letter-spacing: .05em;
  padding: 3px 7px; border-radius: 5px; flex-shrink: 0;
  background: rgba(255,255,255,.07); color: var(--muted);
}
.q-badge.q-fhd { background: rgba(42,217,240,.14); color: var(--cyan); }
.q-badge.q-4k { background: rgba(165,107,255,.18); color: #c9a6ff; }
.channel-item .prem {
  font-size: 10.6px; font-weight: 700; padding: 3px 7px; border-radius: 5px;
  background: rgba(255,196,77,.14); color: var(--warn); flex-shrink: 0;
}

/* ------------------------------------------------------- device columns */
.device-col {
  border-radius: var(--radius); border: 1px solid var(--line-soft);
  background: var(--surface); padding: clamp(22px, 2.6vw, 30px);
  display: flex; flex-direction: column;
}
.device-col-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.device-col-head .ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  flex-shrink: 0;
}
.device-col.is-ok  .ico { background: rgba(53,214,164,.13); color: var(--ok); }
.device-col.is-mid .ico { background: rgba(255,196,77,.13); color: var(--warn); }
.device-col.is-no  .ico { background: rgba(255,107,107,.13); color: var(--bad); }
.device-col h3 { font-size: 18px; margin: 0; }
.device-col .sub { font-size: 13.4px; color: var(--dim); margin-bottom: 18px; }
.device-col ul { list-style: none; padding: 0; margin: 0; }
.device-col li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0; font-size: 14.2px; color: var(--text-2);
  border-bottom: 1px dashed var(--line-soft);
}
.device-col li:last-child { border-bottom: 0; }
.device-col li .mark { flex-shrink: 0; margin-top: 4px; }
.device-col.is-ok  li .mark { color: var(--ok); }
.device-col.is-mid li .mark { color: var(--warn); }
.device-col.is-no  li .mark { color: var(--bad); }
.device-col .note { font-size: 13px; color: var(--dim); margin-top: 8px; }

/* ------------------------------------------------------------- features */
.feature {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px);
}
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid;
  place-items: center; margin-bottom: 16px;
  background: var(--grad-soft); color: var(--cyan);
  border: 1px solid rgba(42,217,240,.22);
}
.feature h3 { font-size: 17.4px; margin-bottom: 8px; }
.feature p { font-size: 14.3px; color: var(--muted); }

/* ---------------------------------------------------------------- steps */
.step-card { position: relative; padding-top: 34px; }
.step-num {
  position: absolute; top: -14px; left: clamp(20px, 2.4vw, 28px);
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  width: 40px; height: 40px; border-radius: 12px; display: grid;
  place-items: center; background: var(--grad); color: #050912;
  box-shadow: 0 10px 26px -12px rgba(110,123,255,.9);
}
.step-card h3 { font-size: 17.4px; margin-bottom: 8px; }
.step-card p { font-size: 14.3px; color: var(--muted); }

/* ------------------------------------------------------------ faq / list */
.faq-item {
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--surface); margin-bottom: 11px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 19px 22px;
  display: flex; align-items: center; gap: 15px;
  font-family: var(--font-display); font-weight: 650; font-size: 16.6px; color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; margin-left: auto; font-size: 22px; font-weight: 400;
  color: var(--cyan); flex-shrink: 0; transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: rgba(255,255,255,.03); }
.faq-item .faq-body { padding: 0 22px 21px; color: var(--muted); font-size: 14.8px; }
.faq-item .faq-body > * + * { margin-top: .8em; }

.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 7px 0; font-size: 15px; color: var(--text-2);
}
.check-list svg { color: var(--ok); flex-shrink: 0; margin-top: 4px; }

/* -------------------------------------------------------------- surfaces */
.band {
  border-radius: var(--radius-lg); border: 1px solid var(--line-soft);
  background: var(--surface); padding: clamp(24px, 3.2vw, 42px);
}
.band-info {
  background: rgba(42,217,240,.06); border-color: rgba(42,217,240,.22);
}
.band-warn {
  background: rgba(255,196,77,.07); border-color: rgba(255,196,77,.26);
  color: #ffe6ab;
}
.band-note {
  background: rgba(255,255,255,.028); border-color: var(--line);
  color: var(--muted); font-size: 14.2px;
}

.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid rgba(165,107,255,.3);
  background:
    radial-gradient(760px 400px at 8% 0%, rgba(42,217,240,.2), transparent 62%),
    radial-gradient(700px 420px at 96% 100%, rgba(165,107,255,.24), transparent 62%),
    var(--surface);
  padding: clamp(28px, 4vw, 54px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(25px, 3.2vw, 38px); margin-bottom: 10px; }
.cta-band p { color: var(--muted); max-width: 54ch; }

/* download hero band — the loudest orange on the site */
.dl-band {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,122,24,.17), rgba(255,122,24,.05) 52%, rgba(165,107,255,.12));
  border: 1px solid rgba(255,122,24,.34);
  padding: clamp(26px, 3.6vw, 48px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.dl-band h2 { font-size: clamp(26px, 3.4vw, 42px); margin-bottom: 10px; letter-spacing: -.035em; }
.dl-band p { color: var(--text-2); max-width: 58ch; }
.dl-code {
  font-family: var(--font-mono); font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700; letter-spacing: .1em; color: var(--orange-hi);
  background: rgba(0,0,0,.34); border: 1px dashed rgba(255,122,24,.45);
  padding: 14px 22px; border-radius: 12px; display: inline-block;
}

/* ---------------------------------------------------------------- forms */
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 13.8px; font-weight: 600;
  color: var(--text-2); margin-bottom: 7px;
}
.field label .req { color: var(--orange); margin-left: 3px; }
.field .hint { font-size: 12.6px; color: var(--dim); margin-top: 6px; }
.field .err { font-size: 12.8px; color: var(--bad); margin-top: 6px; }

.input, .select, .textarea {
  width: 100%; padding: 12px 15px; border-radius: var(--radius-sm);
  background: rgba(0,0,0,.28); border: 1px solid var(--line);
  color: var(--text); font-size: 15px;
  transition: border-color .16s, box-shadow .16s;
}
.input::placeholder, .textarea::placeholder { color: #5d6b88; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(42,217,240,.14);
}
.input.is-bad, .textarea.is-bad { border-color: var(--bad); }
.textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2396a3c4' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
  padding-right: 40px;
}
.select option { background: #0f172a; color: var(--text); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.2px; color: var(--text-2); cursor: pointer;
}
.check input { width: 17px; height: 17px; margin-top: 4px; accent-color: var(--orange); flex-shrink: 0; }

/* ----------------------------------------------------------------- flash */
.flash-wrap { position: fixed; top: 86px; right: 20px; z-index: 300; max-width: min(400px, calc(100vw - 40px)); }
.flash {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 14px 17px; border-radius: 12px; margin-bottom: 10px;
  font-size: 14.2px; box-shadow: var(--shadow);
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  animation: flashIn .26s ease-out;
}
@keyframes flashIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.flash-success { border-color: rgba(53,214,164,.4); background: rgba(53,214,164,.12); color: #c7f6e6; }
.flash-error   { border-color: rgba(255,107,107,.4); background: rgba(255,107,107,.12); color: #ffd2d2; }
.flash-warning { border-color: rgba(255,196,77,.4);  background: rgba(255,196,77,.12);  color: #ffecc4; }

/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line-soft); }
.table { width: 100%; border-collapse: collapse; font-size: 14.2px; min-width: 620px; }
.table th {
  text-align: left; padding: 13px 16px; background: var(--surface-2);
  font-size: 12.4px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.table td { padding: 13px 16px; border-top: 1px solid var(--line-soft); color: var(--text-2); vertical-align: middle; }
.table tr:hover td { background: rgba(255,255,255,.02); }
.table .strong { color: #fff; font-weight: 600; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.8px; font-weight: 700; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.07); color: var(--muted);
}
.tag-ok   { background: rgba(53,214,164,.14); color: var(--ok); }
.tag-warn { background: rgba(255,196,77,.14); color: var(--warn); }
.tag-bad  { background: rgba(255,107,107,.14); color: #ff9d9d; }
.tag-info { background: rgba(42,217,240,.13); color: var(--cyan); }
.tag-grad { background: var(--grad); color: #050912; }

.code-pill {
  font-family: var(--font-mono); font-size: 14px; font-weight: 700;
  letter-spacing: .06em; color: #fff;
  background: rgba(0,0,0,.35); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 8px; display: inline-block;
}

/* ------------------------------------------------------------ stats row */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--gap); }
.stat-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; }
.stat-card .num {
  font-family: var(--font-display); font-weight: 700; font-size: 34px;
  line-height: 1; letter-spacing: -.03em; color: #fff;
}
.stat-card .lbl { font-size: 13.2px; color: var(--muted); margin-top: 9px; }

/* ----------------------------------------------------------- auth pages */
.auth-shell {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr;
  position: relative;
}

/* Compact brand + language switch for narrow screens, where .auth-aside is
   hidden. Hidden on wide screens so only one switcher is ever on screen. */
.auth-topbar {
  display: none;
  position: absolute; z-index: 5;
  top: 16px; left: var(--pad); right: var(--pad);
  align-items: center; justify-content: space-between; gap: 14px;
}
.auth-topbar .brand { margin: 0; }
.auth-topbar .brand-tag { display: none; }
.auth-aside {
  position: relative; overflow: hidden; padding: clamp(34px, 5vw, 66px);
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(760px 520px at 10% 0%, rgba(42,217,240,.2), transparent 62%),
    radial-gradient(700px 560px at 92% 100%, rgba(165,107,255,.24), transparent 62%),
    var(--bg-soft);
  border-right: 1px solid var(--line-soft);
}
.auth-aside h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.035em; }
.auth-main { display: grid; place-items: center; padding: clamp(30px, 5vw, 60px) var(--pad); }
.auth-card { width: 100%; max-width: 424px; }
.auth-card h1 { font-size: clamp(27px, 3.2vw, 36px); margin-bottom: 8px; }
.auth-card .sub { color: var(--muted); margin-bottom: 30px; font-size: 15px; }
.auth-foot { margin-top: 26px; font-size: 14.4px; color: var(--muted); }

/* ------------------------------------------------------------- dashboard */
.dash-grid { display: grid; grid-template-columns: 236px minmax(0,1fr); gap: clamp(20px, 2.6vw, 34px); align-items: start; }
.dash-nav {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 12px; position: sticky; top: 92px;
}
.dash-nav a {
  display: flex; align-items: center; gap: 11px; padding: 11px 14px;
  border-radius: var(--radius-sm); color: var(--text-2); font-size: 14.6px;
  font-weight: 550; transition: background .16s, color .16s;
}
.dash-nav a:hover { background: rgba(255,255,255,.05); color: #fff; }
.dash-nav a.is-active { background: var(--grad-soft); color: #fff; border: 1px solid rgba(42,217,240,.24); }

.page-head { margin-bottom: clamp(24px, 3vw, 36px); }
.page-head h1 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.035em; margin-bottom: 8px; }
.page-head p { color: var(--muted); }

.empty {
  text-align: center; padding: clamp(34px, 5vw, 60px) 24px;
  border: 1px dashed var(--line); border-radius: var(--radius);
  color: var(--muted); background: rgba(255,255,255,.015);
}
.empty svg { color: var(--dim); margin: 0 auto 16px; }

/* ---------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, transparent, rgba(6,9,18,.9));
  margin-top: clamp(50px, 7vw, 100px);
  padding: clamp(44px, 5vw, 74px) 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: clamp(24px, 3vw, 46px);
}
.footer-brand p { color: var(--muted); font-size: 14.3px; max-width: 42ch; margin-top: 15px; }
.footer-col h4 {
  font-size: 12.4px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 15px; font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-2); font-size: 14.3px; }
.footer-col a:hover { color: var(--cyan); }

.pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pay-pill {
  font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 7px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-soft); color: var(--muted);
}
.footer-bottom {
  margin-top: clamp(30px, 4vw, 48px); padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13.2px; color: var(--dim);
}
.footer-disclaimer { margin-top: 16px; font-size: 12.4px; color: #59637f; max-width: 92ch; }

/* ----------------------------------------------------- reveal animation */
/* Progressive enhancement: visible by default, hidden only once JS confirms
   it is running. A script error must never blank the page. */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* -------------------------------------------------------------- mobile nav
   The language switcher stays in the header at EVERY breakpoint — it is a
   brand requirement. When space runs out it is the Sign-up CTA that moves
   into the collapsed menu, not the switcher. */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .brand-tag { display: none; }

  .site-header.is-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #0a1020; border-bottom: 1px solid var(--line);
    padding: 14px var(--pad) 22px; margin: 0;
    box-shadow: var(--shadow); max-height: 78vh; overflow-y: auto;
  }
  .site-header.is-open .nav a:not(.btn) { padding: 13px 14px; font-size: 15.6px; border-radius: 10px; }
  .site-header.is-open .nav a.is-active::after { display: none; }
  .site-header.is-open .nav .nav-cta-mobile { margin-top: 12px; }
}

@media (max-width: 760px) {
  .header-inner { gap: 12px; }
  .brand-mark { width: 34px; height: 34px; font-size: 17px; }
  .brand-name { font-size: 17px; }
  .header-actions .btn-signup { display: none; }
  .nav-cta-mobile { display: inline-flex; }
}

@media (min-width: 761px) { .nav-cta-mobile { display: none; } }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust-rail { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-nav { position: static; display: flex; gap: 6px; overflow-x: auto; }
  .dash-nav a { white-space: nowrap; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  /* the aside is gone, so surface the compact bar it was carrying */
  .auth-topbar { display: flex; }
  .auth-main { padding-top: 92px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .dl-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .compare-table tbody th { position: static; }
  .flash-wrap { top: auto; bottom: 16px; right: 16px; left: 16px; max-width: none; }
}

@media (max-width: 480px) {
  .trust-rail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .lang-switch a { padding: 6px 9px; font-size: 11.8px; }
  .channel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .brand-text { display: none; }
}

/* ---------------------------------------------------------------- print */
@media print {
  body::before, .site-header, .site-footer, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
