/* Netxxus TV — landing
   Sistema: Bricolage Grotesque para títulos, Schibsted Grotesk para texto
   e IBM Plex Mono para datos (versión, tamaños y hashes).
   Un solo acento: el rojo de marca. Todo lo demás es la rampa ink. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/bricolage-var.woff2") format("woff2");
}

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/schibsted-var.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/plex-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/plex-mono-500.woff2") format("woff2");
}

:root {
  --bg: #06070c;
  --surface: #0c0f18;
  --raised: #131724;
  --raised-hover: #1a2031;
  --line: rgba(245, 247, 250, 0.09);
  --line-strong: rgba(245, 247, 250, 0.18);
  --text: #f5f7fa;
  --dim: #a7b0be;
  --muted: #8a94a4;
  --red: #d90b17;
  --red-hover: #c00913;
  --accent-ink: #ff8b93;
  --purple: #990fc7;
  --purple-soft: rgba(153, 15, 199, 0.14);
  --purple-line: rgba(153, 15, 199, 0.36);
  --purple-ink: #e0a3ff;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-text: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --r-control: 10px;
  --r-card: 14px;
  --r-panel: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1200px;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scrollbar-color: #2b3444 var(--bg);
}

/* Lenis: scroll suave sobre el scroll nativo (sticky y anclas siguen intactos). */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--red);
}

/* Superficies del navegador: selección, foco y scroll. */
::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #2b3444;
  border: 3px solid var(--bg);
  border-radius: 6px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

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

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: background-color 240ms var(--ease), border-color 240ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(6, 8, 13, 0.86);
  border-bottom-color: var(--line-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* Progreso de lectura: 2 px al pie del header. */
.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.brand:hover .brand-mark {
  transform: scale(1.05);
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.75);
}

.brand-mark svg {
  width: 13px;
  height: 13px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-name span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.alpha-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(153, 15, 199, 0.16);
  border: 1px solid rgba(153, 15, 199, 0.45);
  color: #e2b6ff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  color: var(--dim);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.site-nav a:hover {
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--raised);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
}

.header-cta:hover {
  background: var(--raised-hover);
  border-color: var(--line-strong);
}

/* Menú compacto para pantallas chicas. */
.nav-menu {
  display: none;
  position: relative;
  flex: none;
}

.nav-menu summary {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  background: var(--raised);
  color: var(--text);
  cursor: pointer;
}

.nav-menu summary svg {
  width: 18px;
  height: 18px;
}

.nav-menu[open] summary,
.nav-menu summary:hover {
  background: var(--raised-hover);
  border-color: var(--line-strong);
}

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  width: 232px;
  max-width: calc(100vw - 40px);
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.9);
}

.nav-menu-panel a {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--dim);
  font-size: 15px;
  text-decoration: none;
}

.nav-menu-panel a:hover {
  background: var(--raised);
  color: var(--text);
}

.nav-menu-panel .menu-cta {
  justify-content: center;
  margin-top: 4px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
}

.nav-menu-panel .menu-cta:hover {
  background: var(--red-hover);
  color: #fff;
}

/* ---------------------------------------------------------------- botones */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-control);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease),
    color 160ms var(--ease), transform 160ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-1px);
  }

  .btn-primary:hover {
    box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.8);
  }
}

.btn:active {
  transform: scale(0.97);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-hover);
}

.btn-secondary {
  background: var(--raised);
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--raised-hover);
  border-color: var(--line-strong);
}

.btn-phone {
  background: var(--purple-soft);
  border-color: var(--purple-line);
  color: var(--text);
}

.btn-phone:hover {
  background: rgba(153, 15, 199, 0.22);
  border-color: rgba(153, 15, 199, 0.62);
}

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7.5vw, 104px) 0 clamp(68px, 8vw, 108px);
  background:
    radial-gradient(64% 58% at 68% 44%, rgba(153, 15, 199, 0.12), transparent 68%),
    radial-gradient(48% 42% at 22% 18%, rgba(217, 11, 23, 0.08), transparent 64%);
}

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

.hero-globe-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 65% 50%,
    rgba(153, 15, 199, 0.11) 0%,
    rgba(10, 14, 25, 0.30) 42%,
    transparent 68%
  );
}

.hero-globe-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-globe-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 7, 12, 0.88) 0%, rgba(6, 7, 12, 0.56) 40%, rgba(6, 7, 12, 0.08) 72%, rgba(6, 7, 12, 0.22) 100%),
    linear-gradient(180deg, rgba(6, 7, 12, 0.28) 0%, transparent 20%, transparent 78%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

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

.hero-alpha-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(153, 15, 199, 0.14);
  border: 1px solid rgba(153, 15, 199, 0.38);
  color: #e2b6ff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(2.55rem, 1rem + 3.2vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: #ffffff;
}

.desktop-break {
  display: none;
}

@media (min-width: 881px) {
  .desktop-break {
    display: inline;
  }
}

.lead {
  margin-top: 22px;
  max-width: 46ch;
  color: var(--dim);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12.5px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.devices {
  position: relative;
  width: 100%;
  max-width: 640px;
  perspective: 1400px;
}

.devices::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 10%;
  width: 80%;
  height: 78%;
  background: radial-gradient(
    ellipse at center,
    rgba(124, 92, 255, 0.16) 0%,
    rgba(217, 11, 23, 0.08) 46%,
    transparent 74%
  );
  filter: blur(48px);
  z-index: 0;
  pointer-events: none;
}

.tv {
  width: 100%;
  max-width: 640px;
  position: relative;
  z-index: 1;
  transform: rotateY(-3deg) rotateX(1deg);
  transition: transform 380ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .devices:hover .tv {
    transform: rotateY(-1.2deg) rotateX(0.5deg);
  }
}

.tv-screen {
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-panel);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.tv-screen img {
  width: 100%;
  aspect-ratio: 1594 / 862;
  border-radius: 8px;
  background: var(--surface);
  display: block;
}

.phone {
  position: absolute;
  right: -16px;
  bottom: -28px;
  width: clamp(140px, 24vw, 185px);
  z-index: 2;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.85));
  transition: transform 380ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .phone:hover {
    transform: translateY(-8px) scale(1.02);
  }
}

.phone-screen {
  position: relative;
  padding: 6px;
  background: #0d1017;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.8), 0 12px 30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.phone-screen::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 4px;
  background: #1e2433;
  border-radius: 4px;
  z-index: 3;
}

.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 28%, transparent 58%);
  border-radius: 22px;
  pointer-events: none;
  z-index: 4;
}

.phone-screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 540 / 1166;
  border-radius: 22px;
  display: block;
}

.hero-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 44px;
  color: var(--muted);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-ink);
  flex: none;
}

/* Palabras del titular separadas por GSAP para la entrada escalonada. */
.word {
  display: inline-block;
}

/* --------------------------------------------------------------- secciones */

.section {
  padding: clamp(64px, 7.5vw, 100px) 0;
}

.section[id] {
  scroll-margin-top: 84px;
}

h1,
h2 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 32px 64px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-head h2 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 36rem;
  justify-self: start;
  color: var(--dim);
  font-size: 15.5px;
}

/* --------------------------------------------------------------- features */

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 6vw, 72px);
}

.features li {
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
}

.feature-icon {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.features h3 {
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.features p {
  margin-top: 8px;
  max-width: 46ch;
  color: var(--dim);
  font-size: 15px;
}

/* ---------------------------------------------------------------- screens */

.screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.screen {
  margin: 0;
}

.screen-frame {
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color 180ms var(--ease);
}

.screen:hover .screen-frame {
  border-color: var(--line-strong);
}

.screen-frame img {
  width: 100%;
  border-radius: 8px;
  transition: transform 520ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .screen:hover .screen-frame img {
    transform: scale(1.015);
  }
}

.screen figcaption {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
}

.screen figcaption strong {
  color: var(--dim);
  font-weight: 500;
}

/* ---------------------------------------------------------------- celular */

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.35);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.pill-badge svg {
  width: 15px;
  height: 15px;
}

.section-celular {
  background: radial-gradient(
    700px 420px at 50% 0%,
    rgba(229, 9, 20, 0.07),
    transparent 70%
  );
  border-top: 1px solid var(--line);
}

.phone-showcase {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.phone-card {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.phone-frame {
  position: relative;
  padding: 8px 8px 12px;
  background: #0d1117;
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: transform 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}

.phone-notch {
  width: 32px;
  height: 4px;
  background: #1c2230;
  border-radius: 4px;
  margin: 0 auto 6px;
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .phone-card:hover .phone-frame {
    transform: translateY(-6px);
    border-color: var(--purple-line);
    box-shadow: 0 22px 44px -12px rgba(0, 0, 0, 0.85);
  }
}

.phone-card figcaption {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phone-card figcaption strong {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.phone-card figcaption span {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.45;
}

.mobile-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.m-feat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m-feat-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.m-feat-head svg {
  width: 18px;
  height: 18px;
  color: var(--purple-ink);
  flex: none;
}

.m-feat h3 {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.m-feat p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--dim);
}

.celular-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.12) 0%, var(--surface) 65%);
  border: 1px solid var(--purple-line);
  border-radius: var(--r-card);
}

.celular-cta-content h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.celular-cta-content p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--dim);
}

.btn-large {
  padding: 0 24px;
  height: 48px;
  font-size: 15px;
}

/* ---------------------------------------------------------------- instalar */

.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 6vw, 80px);
}

.install-intro h2 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.install-intro p {
  margin-top: 16px;
  max-width: 30rem;
  color: var(--dim);
  font-size: 15.5px;
}

.note {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.5;
}

.note svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: var(--muted);
}

.steps {
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
}

.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.steps h3 {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.steps p {
  margin-top: 6px;
  max-width: 48ch;
  color: var(--dim);
  font-size: 15px;
}

/* ---------------------------------------------------------------- descarga */

.download {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 3.5vw, 44px);
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}

.download-head {
  max-width: 68rem;
}

.app-id {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.app-tile {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  flex: none;
}

.app-tile svg {
  width: 17px;
  height: 17px;
}

.app-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.app-package {
  color: var(--muted);
  font-size: 12px;
}

.download h2 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.download-intro {
  margin-top: 14px;
  max-width: 64ch;
  color: var(--dim);
  font-size: 16px;
}

/* ---------------------------------------------------------------- phone download banner */

.phone-download-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  align-items: center;
  gap: 36px;
  padding: 32px 36px;
  background: linear-gradient(
    135deg,
    rgba(124, 92, 255, 0.14) 0%,
    rgba(217, 11, 23, 0.06) 45%,
    var(--surface) 78%
  );
  border: 1px solid var(--purple-line);
  border-radius: var(--r-panel);
  box-shadow: 0 20px 48px -18px rgba(0, 0, 0, 0.8);
  margin-top: 32px;
  margin-bottom: 44px;
}

.phone-download-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.phone-download-badge svg {
  width: 14px;
  height: 14px;
}

.phone-download-content h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.phone-download-content p {
  margin-top: 10px;
  max-width: 54ch;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.55;
}

.phone-download-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.phone-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  margin-bottom: 18px;
}

.phone-download-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-download-mockup .phone-frame {
  width: 100%;
  max-width: 220px;
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.phone-download-mockup img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

.download-tv-section-head {
  margin-bottom: 20px;
}

.download-tv-section-head h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.download-tv-section-head p {
  margin-top: 4px;
  color: var(--dim);
  font-size: 14.5px;
}

.apk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.apk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: border-color 180ms var(--ease), transform 220ms var(--ease);
}

/* Spotlight que sigue al puntero: solo un brillo de marca muy bajo. */
.apk-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 0),
    rgba(229, 9, 20, 0.09),
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .apk-card:hover {
    transform: translateY(-3px);
  }

  .apk-card:hover::after {
    opacity: 1;
  }
}

.apk-card:hover {
  border-color: var(--line-strong);
}

.apk-card-reco {
  border-color: rgba(217, 11, 23, 0.45);
}

.apk-card-reco:hover {
  border-color: rgba(217, 11, 23, 0.72);
}

.apk-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
}

.apk-card h3 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.apk-badge {
  flex: none;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-transform: uppercase;
}

.apk-for {
  flex: 1;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.55;
}

.apk-meta {
  color: var(--muted);
  font-size: 12.5px;
}

.apk-card .btn {
  width: 100%;
  height: 44px;
  margin-top: 6px;
  font-size: 14px;
}

.verify {
  margin-top: 2px;
  border-top: 1px solid var(--line);
}

.verify summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  transition: color 160ms var(--ease);
}

.verify summary:hover {
  color: var(--text);
}

.verify summary svg {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform 200ms var(--ease);
}

.verify[open] summary svg {
  transform: rotate(180deg);
}

.verify-body {
  padding-top: 10px;
}

.hash-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hash-row code {
  flex: 1;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  word-break: break-all;
  user-select: all;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--raised);
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
  flex: none;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease),
    transform 100ms var(--ease);
}

.copy-btn:hover {
  background: var(--raised-hover);
  border-color: var(--line-strong);
}

.copy-btn:active {
  transform: scale(0.97);
}

/* Downloader code + QR inside APK cards & install */
.dl-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 9px 11px;
  border: 1px solid rgba(243, 118, 35, 0.32);
  border-radius: 9px;
  background: rgba(243, 118, 35, 0.08);
}

.dl-code-info {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.dl-icon {
  width: 34px;
  height: 19px;
  border-radius: 4px;
  object-fit: cover;
  flex: none;
}

.dl-code-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.dl-label {
  color: #ffb178;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dl-code {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  user-select: all;
}

.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
}

.qr-frame {
  padding: 8px;
  background: #ffffff;
  border-radius: 10px;
  line-height: 0;
}

.qr-frame img {
  display: block;
  width: 132px;
  height: 132px;
}

.qr-caption {
  color: var(--muted);
  font-size: 11.5px;
  text-align: center;
  word-break: break-all;
}

.phone-qr-details {
  margin-top: 14px;
  max-width: 340px;
}

.phone-qr-details .qr-wrap {
  align-items: flex-start;
}

.downloader-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(243, 118, 35, 0.3);
  border-radius: 10px;
  background: rgba(243, 118, 35, 0.07);
}

.downloader-note img {
  width: 48px;
  height: 27px;
  border-radius: 5px;
  object-fit: cover;
  margin-top: 2px;
  flex: none;
}

.downloader-note p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--dim);
}

.downloader-note strong {
  color: var(--text);
}

.changelog-box {
  border-top: 1px solid var(--line);
}

.changelog-list {
  display: grid;
  gap: 6px;
  padding: 10px 0 4px 18px;
  list-style: disc;
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.55;
}

.apk-help {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.apk-help h3 {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.apk-help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.apk-help-grid > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
}

.apk-help-grid dt {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
}

.apk-help-grid dd {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.55;
}

.apk-help-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  max-width: 80ch;
  color: var(--muted);
  font-size: 13px;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.specs > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.specs dt {
  color: var(--muted);
  font-size: 12.5px;
}

.specs dd {
  color: var(--text);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
}

/* -------------------------------------------------------------------- faq */

.faq {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
}

.faq h2 {
  position: sticky;
  top: 96px;
  align-self: start;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: 16.5px;
  font-weight: 500;
  cursor: pointer;
  transition: color 160ms var(--ease);
}

.faq-list summary:hover {
  color: var(--dim);
}

.faq-list summary svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--muted);
  transition: transform 200ms var(--ease);
}

.faq-list details[open] summary svg {
  transform: rotate(180deg);
}

.faq-list .answer {
  padding: 0 0 24px;
  max-width: 68ch;
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.65;
}

.faq-list .answer p + p {
  margin-top: 10px;
}

.faq-list a,
.prose a {
  color: var(--accent-ink);
  text-decoration-color: rgba(255, 139, 147, 0.4);
  text-underline-offset: 3px;
}

.faq-list a:hover,
.prose a:hover {
  text-decoration-color: var(--accent-ink);
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, auto);
  gap: 48px;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 22rem;
  color: var(--muted);
  font-size: 14px;
}

.footer-col h3 {
  color: var(--muted);
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-col ul {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.footer-col a {
  color: var(--dim);
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* ------------------------------------------------------------- privacidad */

.privacy {
  padding: 56px 0 104px;
}

.privacy .wrap {
  max-width: 720px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.back-link:hover {
  color: var(--text);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

.privacy h1 {
  margin-top: 32px;
  font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.privacy-updated {
  margin-top: 12px;
  color: var(--muted);
}

.prose {
  margin-top: 40px;
  color: var(--dim);
  font-size: 16.5px;
  line-height: 1.7;
}

.prose h2 {
  margin-top: 44px;
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.prose p {
  margin-top: 14px;
}

.prose ul {
  margin-top: 14px;
  padding-left: 20px;
  list-style: disc;
}

.prose li {
  margin-top: 6px;
}

.prose li::marker {
  color: var(--muted);
}

.prose strong {
  color: var(--text);
  font-weight: 500;
}

.prose .contact-box {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

/* ------------------------------------------------------------------ motion */

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --------------------------------------------------------------- 404 page */

.error-page {
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding: 64px 0 96px;
}

.error-card {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.error-card h1 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.error-card p {
  margin-top: 16px;
  color: var(--dim);
  font-size: 16px;
  line-height: 1.6;
}

.error-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
  .apk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }

  .install-grid,
  .faq {
    gap: 40px;
  }

  .download {
    gap: 32px;
  }
}

@media (max-width: 880px) {
  .site-nav {
    display: none;
  }

  .nav-menu {
    display: block;
  }

  .site-header .wrap {
    gap: 16px;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    padding: 48px 0 64px;
    background:
      radial-gradient(520px 380px at 50% 78%, rgba(153, 15, 199, 0.10), transparent 70%),
      radial-gradient(400px 300px at 20% 25%, rgba(217, 11, 23, 0.06), transparent 65%);
  }

  .hero-globe-vignette {
    background:
      linear-gradient(180deg, rgba(6, 7, 12, 0.86) 0%, rgba(6, 7, 12, 0.52) 48%, rgba(6, 7, 12, 0.24) 76%, var(--bg) 100%);
  }

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

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

  .hero-visual {
    align-items: flex-start;
  }

  .tv {
    max-width: 100%;
  }

  .phone {
    right: -6px;
    bottom: -20px;
    width: 135px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head,
  .install-grid,
  .faq {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    gap: 10px;
    margin-bottom: 32px;
  }

  .features,
  .screens {
    grid-template-columns: 1fr;
  }

  .screens {
    gap: 28px;
  }

  .phone-showcase {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    gap: 16px;
  }

  .phone-card {
    flex: 0 0 210px;
    scroll-snap-align: start;
  }

  .phone-download-banner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .phone-download-mockup {
    display: none;
  }

  .celular-cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq {
    gap: 24px;
  }

  .faq h2 {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .apk-grid {
    grid-template-columns: 1fr;
  }

  .apk-help-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(var(--max), 100% - 40px);
  }

  .site-header .wrap {
    gap: 16px;
  }

  .header-cta {
    display: none;
  }

  .nav-menu {
    margin-left: auto;
  }

  .brand-name span {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .lead {
    font-size: 16.5px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-meta {
    font-size: 12px;
  }

  .hero-caption {
    margin-top: 28px;
  }

  .tv-screen {
    padding: 8px;
    border-radius: 14px;
  }

  .tv-screen img {
    border-radius: 6px;
  }

  .phone {
    right: 2px;
    bottom: -14px;
    width: 108px;
  }

  .phone-screen {
    padding: 4px;
    border-radius: 20px;
  }

  .phone-screen img {
    border-radius: 16px;
  }

  .phone-screen::before {
    width: 20px;
    height: 3px;
    top: 6px;
  }

  .mobile-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .phone-download-actions .btn {
    width: 100%;
  }

  .steps li {
    grid-template-columns: 32px 1fr;
    gap: 12px;
  }

  .specs {
    gap: 8px 20px;
  }

  .specs dd {
    font-size: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .privacy {
    padding: 40px 0 72px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .dl-code-box {
    flex-wrap: wrap;
  }

  .dl-code-box .copy-btn {
    width: 100%;
    text-align: center;
  }
}

/* Adsterra non-intrusive ad bands */
.ad-band {
  padding: 18px 0;
}

.ad-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(15, 17, 26, 0.72);
  border: 1px solid var(--line);
  overflow: hidden;
}

.ad-label {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ad-slot {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.ad-slot-native {
  min-height: 96px;
}

.ad-slot-468 {
  min-height: 60px;
}

.ad-slot-728 {
  min-height: 90px;
}

.ad-slot-320 {
  min-height: 50px;
}

.ad-slot-300 {
  min-height: 250px;
}

.ad-smartlink {
  font-size: 11px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ad-smartlink:hover {
  color: var(--text);
}

.ad-band-320 {
  display: none;
}

@media (max-width: 780px) {
  .ad-band-728 {
    display: none;
  }
  .ad-band-320 {
    display: block;
  }
}

@media (max-width: 560px) {
  .ad-band-468 {
    display: none;
  }
  .ad-box {
    padding: 10px 6px;
  }
}
