/* ============================================================
   SUPER REBRANDS — public site CSS (hand-written, no framework)
   Stack: PHP plain + CSS plain. Built for Meta-ad landings.
   Style: deep black + premium red (Netflix/Tesla-tier)
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Deep black backdrop — premium streaming vibe */
  --bg-0:  #060607;
  --bg-1:  #0E0E10;
  --bg-2:  #151518;
  --bg-3:  #232328;
  --bg-4:  #2E2E34;

  /* Ink — neutral cool whites */
  --ink-0:   #FFFFFF;
  --ink-50:  #FAFAFA;
  --ink-100: #ECECEE;
  --ink-200: #B8B8BD;
  --ink-300: #84848B;
  --ink-400: #56565C;
  --ink-500: #3A3A40;

  /* Premium red — Netflix/Tesla high-conversion red.
     Names kept as --orange-* for backward compat with all components. */
  --orange-50:  #FFFFFF;
  --orange-100: #F4F4F5;
  --orange-200: #E4E4E7;
  --orange-300: #F4F4F5;
  --orange-400: #FFFFFF;   /* main — Netflix red */
  --orange-500: #D4D4D8;
  --orange-600: #3F3F46;

  /* Secondary "accent" — pure white for premium contrast (not cyan) */
  --cyan-300: #FFFFFF;
  --cyan-400: #F5F5F7;
  --cyan-500: #B8B8BD;

  /* Roku purple kept for /rebrand-roku section */
  --roku-300: #E4E4E7;
  --roku-400: #FFFFFF;
  --roku-600: #3F3F46;

  --signal-live:    #22C55E;
  --signal-warning: #F59E0B;
  --signal-alert:   #EF4444;
  --signal-info:    #60A5FA;

  --wa: #25D366;  --wa-dark: #1FB855;
  --tg: #229ED9;  --tg-dark: #1A8AC0;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-sans:    "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --fs-display-2xl: clamp(2.5rem, 7vw, 5.5rem);
  --fs-display-xl:  clamp(2rem, 5vw, 4rem);
  --fs-display-lg:  clamp(1.5rem, 3vw, 2.5rem);

  --max-prose:  68ch;
  --max-wide:   1280px;
  --max-screen: 1440px;
  --section:    clamp(3rem, 5.5vw, 4.5rem);

  --radius-sm:  4px;
  --radius:     8px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  18px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:cubic-bezier(0, 0, 0.2, 1);

  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px -2px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 32px -8px rgba(0,0,0,0.6);
  --shadow-xl: 0 24px 60px -12px rgba(0,0,0,0.7);
  --shadow-orange: 0 10px 30px -14px rgba(255,255,255,0.28);   /* premium red glow */
  --shadow-cyan:   0 0 32px -4px rgba(255,255,255,0.15);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  background: var(--bg-0);
  color: var(--ink-100);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100dvh;
  font-feature-settings: 'cv02','cv03','cv04','cv11','ss01';
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; }
button { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
hr { border: 0; border-top: 1px solid var(--bg-3); }
::selection { background: rgba(255,255,255,0.22); color: var(--ink-0); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink-0);
}

body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 30% 0%, rgba(255,255,255,0.044), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(255,255,255,0.06), transparent 70%);
}
main, header, footer { position: relative; z-index: 1; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange-600); }

/* ---------- 3. Containers ---------- */
.container-wide   { width: 100%; margin-inline: auto; max-width: var(--max-wide);   padding-inline: 1.25rem; }
.container-screen { width: 100%; margin-inline: auto; max-width: var(--max-screen); padding-inline: 1.25rem; }
@media (min-width: 768px) { .container-wide, .container-screen { padding-inline: 1.75rem; } }
@media (min-width: 1024px){ .container-wide, .container-screen { padding-inline: 2.5rem; } }

/* ---------- 4. Site header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
}
/* Background layer: always present so the blur filter never toggles (avoids flash) */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-color: rgba(10,10,11, 0);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background-color 250ms var(--ease),
              backdrop-filter 250ms var(--ease),
              -webkit-backdrop-filter 250ms var(--ease),
              border-color 250ms var(--ease);
  pointer-events: none;
  will-change: background-color, backdrop-filter;
}
.site-header.is-scrolled::before {
  background-color: rgba(10,10,11, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--bg-3);
}
.site-header__inner {
  max-width: var(--max-wide); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 1.25rem; gap: 1.5rem;
}
.site-header__brand {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem;
  color: var(--ink-0); letter-spacing: -0.02em;
}
.site-header__brand img { width: 36px; height: 36px; object-fit: contain; }
.site-header__brand:hover { color: var(--orange-300); }

.site-header__nav { display: none; gap: 1.75rem; }
.site-header__nav a {
  font-size: 0.9375rem; color: var(--ink-200);
  transition: color 200ms var(--ease); position: relative; padding: 0.25rem 0;
}
.site-header__nav a:hover { color: var(--orange-300); }
.site-header__nav a.is-active { color: var(--orange-400); }
.site-header__nav a.is-active::after {
  content: ""; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px;
  background: var(--orange-400); border-radius: 2px;
}

.site-header__actions { display: flex; align-items: center; gap: 0.625rem; }
.site-header__cta { display: none; }

/* Language switch: hidden on mobile (available inside the hamburger menu),
   shown as a subtle pill on desktop. */
.site-header__lang {
  display: none; align-items: center; gap: 0.375rem;
  font-size: 0.8125rem; color: var(--ink-200); white-space: nowrap;
  padding: 0.5rem 0.75rem; border-radius: var(--radius-full);
  box-shadow: inset 0 0 0 1px var(--bg-3);
  transition: color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.site-header__lang:hover { color: var(--orange-300); box-shadow: inset 0 0 0 1px var(--orange-400); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; color: var(--ink-100); border-radius: var(--radius-md);
}
.nav-toggle:hover { background: var(--bg-2); }

.mobile-nav { display: none; background: var(--bg-1); border-top: 1px solid var(--bg-3); }
.mobile-nav.is-open { display: block; }
.mobile-nav__inner { max-width: var(--max-wide); margin-inline: auto; padding: 0.5rem 1.25rem 1.25rem; }
.mobile-nav a {
  display: block; padding: 0.875rem 0.5rem; color: var(--ink-100);
  font-size: 0.9375rem; border-bottom: 1px solid var(--bg-2);
}
.mobile-nav a:hover { color: var(--orange-300); }
.mobile-nav__lang { display: flex; align-items: center; gap: 0.5rem; }
.mobile-nav__cta { margin-top: 1rem; display: flex; }

@media (min-width: 1024px) {
  .site-header__nav  { display: flex; }
  .site-header__cta  { display: inline-flex; }
  .site-header__lang { display: inline-flex; }
  .nav-toggle        { display: none; }
}
.site-header__spacer { height: 64px; }
@media (min-width: 1024px) { .site-header__spacer { height: 76px; } }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.5rem; font-size: 0.9375rem; font-weight: 600;
  letter-spacing: -0.01em; border-radius: var(--radius-md);
  transition: background-color 200ms var(--ease), color 200ms var(--ease),
              transform 150ms var(--ease), box-shadow 200ms var(--ease);
  cursor: pointer; user-select: none; line-height: 1; white-space: nowrap; text-align: center;
}
.btn:focus-visible { outline: 2px solid var(--orange-400); outline-offset: 2px; }
.btn:active { transform: translateY(1px); }
.btn--primary  { background: var(--orange-400); color: var(--ink-0); box-shadow: var(--shadow-orange); }
.btn--primary:hover { background: var(--orange-300); }
.btn--ghost    { background: transparent; color: var(--ink-100); box-shadow: inset 0 0 0 1px var(--bg-3); }
.btn--ghost:hover  { box-shadow: inset 0 0 0 1px var(--orange-400); color: var(--orange-300); }
.btn--cyan     { background: var(--cyan-400); color: var(--bg-0); }
.btn--cyan:hover   { background: var(--cyan-300); box-shadow: var(--shadow-cyan); }
.btn--whatsapp {
  background: var(--wa);
  /* texto oscuro: blanco sobre verde WhatsApp no pasa 4.5:1 */
  color: var(--bg-0);
  box-shadow: 0 1px 0 rgba(0,0,0,0.15) inset,
              0 4px 14px -6px rgba(37,211,102,0.45);
}
.btn--whatsapp:hover {
  background: var(--wa-dark);
  box-shadow: 0 1px 0 rgba(0,0,0,0.15) inset,
              0 6px 18px -6px rgba(37,211,102,0.55);
}
.btn--whatsapp:active { transform: translateY(1px); }
.btn--telegram {
  background: var(--tg);
  color: var(--bg-0);
  box-shadow: 0 1px 0 rgba(0,0,0,0.15) inset,
              0 4px 14px -6px rgba(34,158,217,0.45);
}
.btn--telegram:hover {
  background: var(--tg-dark);
  box-shadow: 0 1px 0 rgba(0,0,0,0.15) inset,
              0 6px 18px -6px rgba(34,158,217,0.55);
}
.btn--telegram:active { transform: translateY(1px); }
.btn--lg { padding: 1.125rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn--sm { padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
.btn--block { display: flex; width: 100%; }
.btn .btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- 6. Trust pills ---------- */
.trust-pills { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.5rem 0.875rem; font-size: 0.8125rem;
  background: var(--bg-1); color: var(--ink-100);
  box-shadow: inset 0 0 0 1px var(--bg-3);
  border-radius: var(--radius-full);
}
.trust-pill__icon { color: var(--orange-400); flex-shrink: 0; }
.trust-pill--cyan  .trust-pill__icon { color: var(--cyan-400); }
.trust-pill--green .trust-pill__icon { color: var(--signal-live); }

/* ---------- 7. Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem; font-weight: 500; text-transform: uppercase;
  /* orange-300: el rojo principal no alcanza 4.5:1 sobre fondo oscuro en texto pequeño */
  letter-spacing: 0.18em; color: var(--orange-300);
}
.eyebrow::before {
  content: ""; width: 1.75rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-400));
}
.eyebrow--cyan { color: var(--cyan-400); }
.eyebrow--cyan::before { background: linear-gradient(90deg, transparent, var(--cyan-400)); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }

/* Editorial hero tag — sits above H1. Static, no animations. */
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.875rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-200);
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--bg-3); border-radius: var(--radius-full);
  background: rgba(255,255,255,0.02);
}
.hero-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange-400); flex-shrink: 0;
}
.hero-tag__sep {
  width: 1px; height: 12px; background: var(--bg-3);
}

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head__title {
  font-family: var(--font-display); font-size: var(--fs-display-lg);
  margin-top: 0.875rem; line-height: 1.05;
}
.section-head__sub {
  margin-top: 0.875rem; color: var(--ink-200); font-size: 1.0625rem;
  max-width: 56ch; line-height: 1.6;
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-head__sub { margin-inline: auto; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 7rem 0 4rem; border-bottom: 1px solid var(--bg-3);
}
.hero::before {
  /* Luz sutil y neutra — sin blobs de color, look sobrio */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 75% 0%, rgba(255,255,255,0.045), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent 30%);
}
.hero__grid {
  display: grid; gap: 3rem; align-items: center;
  max-width: var(--max-wide); margin-inline: auto;
  padding: 0 1.25rem; position: relative;
}
.hero__grid > * { min-width: 0; }
.hero__title {
  font-family: var(--font-display);
  /* Tamaño contenido y línea más holgada: serio, no gritón */
  font-size: clamp(2.25rem, 5.2vw, 4.25rem);
  line-height: 1.06; letter-spacing: -0.025em; color: var(--ink-0);
  font-weight: 600;
}
.hero__title em { font-style: normal; color: var(--orange-400); }
.hero__title em.cyan { color: var(--cyan-400); }
.hero__sub {
  margin-top: 1.5rem; font-size: 1.125rem; color: var(--ink-200);
  max-width: 36rem; line-height: 1.65;
}
.hero__cta-row { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.875rem; }
.hero__pills { margin-top: 2rem; }

/* Méritos del hero: fila editorial con divisores, sin iconos ni píldoras */
.hero__meta {
  margin-top: 2.5rem; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.625rem 0;
  list-style: none;
  font-size: 0.875rem; color: var(--ink-300); line-height: 1.4;
}
.hero__meta li { display: inline-flex; align-items: center; }
/* Divisor al final del ítem: si la fila rompe, no queda divisor huérfano al inicio */
.hero__meta li:not(:last-child)::after {
  content: ""; width: 1px; height: 12px;
  background: var(--bg-3); margin-inline: 1rem;
}
@media (max-width: 639px) {
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 0.625rem; }
  .hero__meta li:not(:last-child)::after { display: none; }
}
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; }

/* Home hero — showcase dinámico de las últimas apps del catálogo */
.hero__fresh { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1rem; width: 100%; }
.hero__fresh-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero__fresh-eyebrow { font: 700 0.7rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange-300); }
.hero__fresh-all { font-size: 0.85rem; color: var(--ink-200); text-decoration: none; white-space: nowrap; }
.hero__fresh-all:hover { color: var(--orange-300); }
.hero__fresh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; min-width: 0; width: 100%; }
.hero__fresh-card { text-decoration: none; display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; max-width: 100%; overflow: hidden; }
.hero__fresh-media {
  position: relative; aspect-ratio: 20/9; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--bg-3);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.hero__fresh-card:hover .hero__fresh-media { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--orange-400), 0 18px 40px -18px rgba(0,0,0,.55); }
.hero__fresh-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__fresh-chip {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font: 700 0.58rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: #fff;
  background: rgba(255,255,255,0.94); padding: 0.3rem 0.45rem; border-radius: var(--radius-sm); box-shadow: 0 2px 8px -2px rgba(255,255,255,0.275);
}
.hero__fresh-name {
  display: -webkit-box; min-width: 0; max-width: 100%; min-height: 2.25em;
  font-size: 0.9rem; font-weight: 600; line-height: 1.25; color: var(--ink-50);
  overflow: hidden; overflow-wrap: anywhere; word-break: break-word;
  -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
}
@media (max-width: 560px) {
  .hero__fresh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .hero__fresh-name { font-size: .8rem; }
}

.phone-frame {
  position: relative; width: min(280px, 70vw); aspect-ratio: 9/19;
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border-radius: 36px; padding: 12px;
  box-shadow:
    0 0 0 2px var(--bg-3),
    0 40px 80px -20px rgba(0,0,0,0.7),
    var(--shadow-orange);
  animation: float 6s ease-in-out infinite;
}
.phone-frame__screen {
  width: 100%; height: 100%; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
  display: flex; flex-direction: column; padding: 1.25rem; gap: 1rem;
}
.phone-frame__brand {
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 700;
  color: var(--orange-400); text-align: center;
}
.phone-frame__row {
  background: rgba(255,255,255,0.04); border-radius: 8px;
  padding: 0.625rem 0.75rem; font-size: 0.75rem; color: var(--ink-200);
  display: flex; align-items: center; gap: 0.5rem;
}
.phone-frame__row::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-400);
}
.phone-frame__glow {
  position: absolute; inset: -40px; z-index: -1;
  background: radial-gradient(circle, rgba(255,255,255,0.138), transparent 60%);
  filter: blur(40px); border-radius: 50%;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Phone rotator (used on /android): rotating real-app showcase */
.phone-rotator {
  position: relative;
  width: 100%; max-width: 320px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.phone-rotator__device {
  position: relative;
  width: 100%; aspect-ratio: 9/19;
  background: linear-gradient(160deg, #1a1a1f, #0a0a0c);
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,0.06),
    0 0 0 2px var(--bg-3),
    0 30px 80px -20px rgba(0,0,0,0.85);
  animation: float 6s ease-in-out infinite;
  isolation: isolate;
  overflow: hidden;
}
.phone-rotator__notch {
  position: absolute; top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 14px;
  background: #000;
  border-radius: 0 0 12px 12px;
  z-index: 5;
}
.phone-rotator__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-1);
}
.phone-rotator__slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem 1rem 1.25rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
  text-decoration: none;
}
.phone-rotator__slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.1) 0%, rgba(10,10,11,.2) 50%, rgba(10,10,11,.92) 100%);
  z-index: 0;
}
.phone-rotator__slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.phone-rotator__caption {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: .25rem;
}
.phone-rotator__name {
  font-family: var(--font-display);
  font-size: 1.0625rem; font-weight: 700;
  color: var(--ink-0); letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
  line-height: 1.15;
}
.phone-rotator__tag {
  font-size: .75rem; line-height: 1.4;
  color: var(--ink-200);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.phone-rotator__glow {
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(255,255,255,0.11), transparent 60%);
  filter: blur(40px);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.phone-rotator__dots {
  display: flex; gap: .375rem;
  margin-top: 1.25rem;
}
.phone-rotator__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bg-3);
  transition: width .3s var(--ease), background-color .3s var(--ease);
}
.phone-rotator__dot.is-active {
  width: 22px;
  background: var(--orange-400);
  border-radius: 3px;
}
.phone-rotator__hint {
  margin-top: .875rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-300);
  text-align: center;
  max-width: 280px;
}
@media (min-width: 1024px) {
  .phone-rotator { max-width: 340px; }
}

/* TV-frame: real product mockup for the home hero (replaces fake phone) */
.tv-frame {
  position: relative; display: block;
  width: 100%; max-width: 560px;
  margin: 0 auto;
  padding: 14px 14px 14px;
  background: linear-gradient(180deg, #1a1a1f, #0e0e12);
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 30px 80px -20px rgba(0,0,0,0.85),
    0 8px 24px -8px rgba(0,0,0,0.6);
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tv-frame:hover { transform: translateY(-4px); }
.tv-frame__screen {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
  aspect-ratio: 16/9;
}
.tv-frame__screen img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
/* TV stand (small trapezoid below the bezel) */
.tv-frame__stand {
  display: block; width: 38%; height: 10px;
  margin: 8px auto 0;
  background: linear-gradient(180deg, #2a2a32, #14141a);
  border-radius: 0 0 6px 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.tv-frame__caption {
  display: block;
  margin-top: .875rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: .6875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--ink-300);
}
/* Soft purple/red glow behind the TV */
.tv-frame__glow {
  /* Halo neutro y discreto — el color lo pone la pantalla, no el marco */
  position: absolute; inset: -30px -10px -10px;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(255,255,255,0.07), transparent 60%);
  filter: blur(28px);
  border-radius: 24px;
  opacity: .9;
  transition: opacity .4s var(--ease);
}
.tv-frame:hover .tv-frame__glow { opacity: 1.2; }

/* ---------- Lightbox: ver imágenes en grande ---------- */
[data-lightbox] { cursor: zoom-in; }
button[data-lightbox] { padding: 0; border: 0; background: none; text-align: inherit; font: inherit; color: inherit; }
button.tv-frame[data-lightbox] {
  /* el reset de button no debe pisar el chasis del TV */
  background: linear-gradient(180deg, #1a1a1f, #0e0e12);
  width: 100%; max-width: 560px; padding: 14px;
}
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  background: rgba(5,5,8,0.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: zoom-out;
  animation: lightbox-in 160ms var(--ease-out);
}
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__img {
  max-width: min(1400px, 96vw); max-height: 92vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px -12px rgba(0,0,0,0.9), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.lightbox__close {
  position: absolute; top: 1rem; right: 1.25rem;
  width: 44px; height: 44px;
  font-size: 1.75rem; line-height: 1;
  color: var(--ink-100); background: rgba(255,255,255,0.06);
  border: 1px solid var(--bg-3); border-radius: var(--radius-full);
  cursor: pointer;
}
.lightbox__close:hover { color: var(--ink-0); background: rgba(255,255,255,0.12); }

/* Hero Roku: TV con producto real + miniaturas del resto del catálogo */
.roku-hero-stack { width: 100%; max-width: 600px; margin: 0 auto; }
.roku-hero-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem; margin-top: 1.25rem;
}
.roku-hero-thumb {
  display: block; border-radius: var(--radius-md); overflow: hidden;
  background: var(--bg-1);
  box-shadow: inset 0 0 0 1px var(--bg-3);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.roku-hero-thumb:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--roku-400); }
.roku-hero-thumb img {
  /* height:auto — sin esto, el atributo height del <img> anula el aspect-ratio */
  display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover;
}
.roku-hero-thumb span {
  display: block; padding: 0.5rem 0.625rem;
  font-family: var(--font-mono); font-size: 0.625rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-200); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (min-width: 1024px) {
  .hero { padding: 9rem 0 5rem; }
  .hero__grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .hero__visual .phone-frame { width: 320px; }
  .tv-frame { max-width: 600px; padding: 16px 16px 16px; }
}

/* ---------- 9. Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(19,19,22,0.6), transparent); }

/* ---------- 10. Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--bg-3); border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--bg-3);
}
.stat { background: var(--bg-1); padding: 2rem 1.5rem; text-align: center; }
.stat__num {
  font-family: var(--font-display); font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700; color: var(--orange-400); line-height: 1;
  font-feature-settings: 'tnum';
}
.stat__label {
  margin-top: 0.625rem; font-size: 0.8125rem; color: var(--ink-200);
  text-transform: uppercase; letter-spacing: 0.1em;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 11. Service / value cards ---------- */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  position: relative; overflow: hidden;
  background: var(--bg-1); padding: 2rem 1.75rem; border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--bg-3);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-400), transparent);
  opacity: 0; transition: opacity 250ms var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22), 0 20px 50px -16px rgba(255,255,255,0.138);
}
.feature-card:hover::before { opacity: 1; }
.feature-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.066); color: var(--orange-400);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card__icon--cyan { background: rgba(255,255,255,0.10); color: var(--cyan-400); }
.feature-card__title {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  color: var(--ink-0); margin-bottom: 0.625rem;
}
.feature-card__desc { color: var(--ink-200); font-size: 0.9375rem; line-height: 1.6; }

/* ---------- 12. Apps showcase + tabs ---------- */
.tabs {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem;
  padding: 0.375rem; background: var(--bg-1); border-radius: var(--radius-full);
  box-shadow: inset 0 0 0 1px var(--bg-3); width: fit-content;
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 0.5rem 1rem; font-size: 0.8125rem; font-weight: 500;
  color: var(--ink-200); border-radius: var(--radius-full);
  white-space: nowrap; cursor: pointer; user-select: none;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
.tab:hover { color: var(--ink-0); }
.tab.is-active { background: var(--orange-400); color: var(--ink-0); }
.tab__count {
  margin-left: 0.375rem; padding: 0 0.375rem;
  background: rgba(255,255,255,0.1); border-radius: var(--radius-full);
  font-size: 0.6875rem; font-weight: 600;
}
.tab.is-active .tab__count { background: rgba(0,0,0,0.2); }

.apps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 768px) { .apps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px){ .apps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.app-card {
  position: relative; display: flex; flex-direction: column;
  min-width: 0;
  background: var(--bg-1); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--bg-3);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.app-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-400), transparent);
  opacity: 0; transition: opacity 250ms var(--ease); z-index: 4;
}
.app-card:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.275),
              0 24px 48px -16px rgba(255,255,255,0.138),
              0 8px 24px -8px rgba(0,0,0,0.6);
}
.app-card:hover::before { opacity: 1; }

/* Media: cover full-bleed with title overlay. 16:9 matches the app covers
   so landscape screenshots show without vertical cropping. */
.app-card__media {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
}
.app-card__media img {
  position: relative; z-index: 1; /* por encima del placeholder de respaldo */
  width: 100%; height: 100%; object-fit: contain; object-position: center;
}
/* No per-image zoom — the whole card lifts + grows uniformly (see .app-card:hover),
   so the cover never distorts or zooms unevenly. */
.app-card__placeholder {
  --brand: var(--orange-400);
  position: absolute; inset: 0; z-index: 0; /* capa de respaldo bajo la imagen */
  display: grid; place-items: center;
  padding-bottom: 1.4rem; /* deja respirar el título del overlay */
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 20% 0%, color-mix(in srgb, var(--brand) 58%, transparent), transparent 62%),
    linear-gradient(150deg, color-mix(in srgb, var(--brand) 26%, var(--bg-1)) 0%, var(--bg-1) 72%);
}
/* rejilla técnica sutil, desvanecida hacia la esquina */
.app-card__placeholder::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--brand) 14%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--brand) 14%, transparent) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 120% at 20% 0%, #000, transparent 70%);
          mask-image: radial-gradient(120% 120% at 20% 0%, #000, transparent 70%);
}
.app-card__placeholder span {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 2.75rem; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1;
  color: color-mix(in srgb, var(--brand) 20%, #fff);
  text-shadow: 0 2px 26px color-mix(in srgb, var(--brand) 70%, transparent);
}

/* Top-left: status chips (★, NEW, Roku) */
.app-card__top {
  position: absolute; top: .625rem; left: .625rem; z-index: 3;
  display: flex; gap: .25rem;
}
.app-card__chip {
  display: inline-flex; align-items: center; justify-content: center;
  height: 22px; padding: 0 .5rem; border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: .625rem; font-weight: 600;
  letter-spacing: 0.08em; line-height: 1;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.app-card__chip--hot {
  background: rgba(255,255,255,0.94); color: var(--ink-0);
  font-size: .75rem; font-weight: 700;
}
.app-card__chip--new {
  background: rgba(255,255,255,.92); color: var(--bg-0);
}
.app-card__chip--roku {
  background: rgba(255,255,255,0.94); color: #fff;
}
.app-card__chip--house {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-300));
  color: var(--ink-0); font-weight: 700; letter-spacing: 0.04em;
  box-shadow: 0 2px 8px -2px rgba(255,255,255,0.275);
}

/* Top-right: rating */
.app-card__rating {
  position: absolute; top: .625rem; right: .625rem; z-index: 3;
  display: inline-flex; align-items: center; gap: .25rem;
  height: 22px; padding: 0 .5rem; border-radius: var(--radius-sm);
  background: rgba(10,10,11,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: .6875rem; font-weight: 600;
  color: var(--orange-400); line-height: 1;
}

/* Bottom overlay with title (always visible) + hover hint */
.app-card__overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.5rem 1rem .9rem;
  background: linear-gradient(to top, rgba(8,8,11,.9) 0%, rgba(8,8,11,.45) 24%, transparent 48%);
}
.app-card__title {
  font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700;
  color: var(--ink-0); line-height: 1.18; letter-spacing: -0.01em;
  overflow-wrap: anywhere; word-break: break-word;
  text-shadow: 0 1px 6px rgba(0,0,0,.75);
}
.app-card__hover {
  display: block; margin-top: .3rem;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-300);
  opacity: 0; transform: translateY(4px);
  transition: opacity 250ms var(--ease), transform 250ms var(--ease);
}
.app-card:hover .app-card__hover { opacity: 1; transform: translateY(0); }
.app-card__hover::after { content: " →"; }

/* Body — info bar at bottom */
.app-card__body {
  padding: .75rem 1rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  border-top: 1px solid var(--bg-3);
}

/* Platform icons (small monochrome) */
.app-card__platforms { display: flex; gap: .375rem; align-items: center; }
.app-card__plat {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.05); color: var(--ink-300);
  font-family: var(--font-mono); font-size: .5625rem; font-weight: 600;
  letter-spacing: 0.04em;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.app-card__plat img {
  width: 14px; height: 14px;
  filter: brightness(0) invert(.7);
  transition: filter .2s var(--ease);
}
.app-card:hover .app-card__plat img { filter: brightness(0) invert(1); }
.app-card__plat--roku { background: rgba(255,255,255,0.083); color: var(--roku-300); }

/* Price block — compact, right aligned */
.app-card__price {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1;
}
.app-card__price-label {
  font-family: var(--font-mono); font-size: .6875rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-300); margin-bottom: .25rem;
}
.app-card__price-amount {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--orange-400); letter-spacing: -0.02em;
}
.app-card__price-before {
  color: var(--ink-400); font: 500 .75rem/1 var(--font-mono);
}
.app-card__price-note {
  font-family: var(--font-mono); font-size: .6875rem;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-400); margin-top: .25rem;
}

/* ---------- 13. Process steps ---------- */
.steps {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--bg-3); border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--bg-3);
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--bg-1); padding: 2rem 1.75rem; }
.step__num {
  /* Número contenido en chip mono — sobrio, no protagonista */
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem;
  font-family: var(--font-mono); font-size: 0.9375rem; font-weight: 600;
  color: var(--ink-100); line-height: 1; font-feature-settings: 'tnum';
  border: 1px solid var(--bg-3); border-radius: var(--radius-full);
  background: rgba(255,255,255,0.02);
}
.step__title {
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600;
  color: var(--ink-0); margin-top: 1rem; margin-bottom: 0.5rem;
}
.step__desc { color: var(--ink-200); font-size: 0.9375rem; line-height: 1.5; }

/* ---------- 14. Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  position: relative; padding: 2rem 1.75rem;
  background: var(--bg-1); border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px var(--bg-3);
  display: flex; flex-direction: column;
}
.price-card--featured {
  background: linear-gradient(160deg, var(--bg-1), rgba(255,255,255,0.028));
  box-shadow: inset 0 0 0 2px var(--orange-400), var(--shadow-orange);
}
@media (min-width: 1024px) { .price-card--featured { transform: translateY(-8px); } }

.price-card__ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange-400); color: var(--ink-0);
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 0.375rem 0.875rem; border-radius: var(--radius-full);
  white-space: nowrap;
}
.price-card__name {
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--orange-400);
}
.price-card__price {
  font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1;
  margin-top: 0.875rem; color: var(--ink-0);
}
.price-card__price-note { font-size: 0.875rem; color: var(--ink-300); margin-top: 0.5rem; }
.price-card__features { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.625rem; flex: 1; }
.price-card__feature {
  display: flex; align-items: flex-start; gap: 0.625rem;
  font-size: 0.9375rem; color: var(--ink-100);
}
.price-card__feature::before {
  content: "✓"; color: var(--orange-400); font-weight: 700; flex-shrink: 0; line-height: 1.4;
}
.price-card__feature--off { color: var(--ink-400); }
.price-card__feature--off::before { content: "—"; color: var(--ink-400); }
.price-card__cta { margin-top: 2rem; }

/* ---------- 15. Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.tcard {
  padding: 1.75rem; background: var(--bg-1); border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--bg-3);
  display: flex; flex-direction: column; gap: 1rem;
}
.tcard__rating { color: var(--orange-400); font-size: 0.875rem; letter-spacing: 0.1em; }
.tcard__text { color: var(--ink-100); font-size: 0.9375rem; line-height: 1.65; flex: 1; }
.tcard__author { display: flex; align-items: center; gap: 0.75rem; }
.tcard__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-400), var(--cyan-400));
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--ink-0); font-size: 0.875rem;
}
.tcard__name { font-weight: 600; color: var(--ink-0); font-size: 0.9375rem; }
.tcard__role { font-size: 0.75rem; color: var(--ink-300); }
.tcard__flag { font-size: 1.125rem; line-height: 1; }

/* ---------- 16. FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--bg-1); border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--bg-3); overflow: hidden;
  transition: box-shadow 200ms var(--ease);
}
.faq-item[open] { box-shadow: inset 0 0 0 1px var(--orange-400); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink-0);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; color: var(--orange-400); font-weight: 400;
  transition: transform 200ms var(--ease); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body {
  padding: 0 1.5rem 1.5rem; color: var(--ink-200); line-height: 1.65; font-size: 0.9375rem;
}

/* ---------- 17. Footer ---------- */
.site-footer {
  margin-top: var(--section);
  border-top: 1px solid var(--bg-3);
  background: linear-gradient(180deg, var(--bg-0), rgba(19,19,22,0.4));
}
.site-footer__inner {
  max-width: var(--max-wide); margin-inline: auto; padding: 4rem 1.25rem 2rem;
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 768px)  { .site-footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; padding-inline: 1.75rem; } }
@media (min-width: 1024px) { .site-footer__inner { padding-inline: 2.5rem; } }

.site-footer__brand-row { display: inline-flex; align-items: center; gap: 0.75rem; }
.site-footer__brand-row img { width: 44px; height: 44px; }
.site-footer__brand-row span {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink-0);
}
.site-footer__tagline { margin-top: 1rem; color: var(--ink-300); font-size: 0.9375rem; line-height: 1.65; max-width: 32ch; }
.site-footer__socials { margin-top: 1.5rem; display: flex; gap: 0.625rem; }
.site-footer__col-title {
  font-family: var(--font-mono); font-size: 0.6875rem;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--orange-400);
  margin-bottom: 1rem;
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer__col a { font-size: 0.9375rem; color: var(--ink-200); }
.site-footer__col a:hover { color: var(--orange-300); }
.site-footer__legal {
  max-width: var(--max-wide); margin-inline: auto; padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--bg-2);
  font-size: 0.8125rem; line-height: 1.65; color: var(--ink-300);
}
.site-footer__legal p + p { margin-top: 0.5rem; }
.site-footer__legal strong { color: var(--ink-200); }
.site-footer__legal a { color: var(--orange-400); }
@media (min-width: 768px)  { .site-footer__legal { padding-inline: 1.75rem; } }
@media (min-width: 1024px) { .site-footer__legal { padding-inline: 2.5rem; } }
.site-footer__bottom {
  max-width: var(--max-wide); margin-inline: auto; padding: 1.5rem 1.25rem 2rem;
  border-top: 1px solid var(--bg-2);
  display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.8125rem; color: var(--ink-400);
}
@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row; justify-content: space-between; align-items: center;
    padding-inline: 1.75rem;
  }
}
@media (min-width: 1024px) { .site-footer__bottom { padding-inline: 2.5rem; } }

/* ---------- 18. Floating contact ---------- */
.floating-fab {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.625rem;
}
@media print { .floating-fab { display: none; } }
.fab-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange-400); color: var(--ink-0);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-orange), 0 8px 24px -4px rgba(0,0,0,0.5);
  transition: transform 200ms var(--ease), background-color 200ms var(--ease); cursor: pointer;
}
.fab-btn:hover { background: var(--orange-300); transform: scale(1.06); }
.fab-panel {
  display: none; flex-direction: column; gap: 0.5rem;
  width: 290px; padding: 1rem; background: var(--bg-1);
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px var(--bg-3), var(--shadow-xl);
  animation: fabIn 200ms var(--ease-out);
}
.fab-panel.is-open { display: flex; }
@keyframes fabIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fab-panel__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.25rem; }
.fab-panel__title {
  font-family: var(--font-mono); font-size: 0.6875rem;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--orange-400);
}
.fab-panel__close { color: var(--ink-300); padding: 0.25rem; line-height: 0; }
.fab-panel__close:hover { color: var(--ink-0); }
.fab-panel__intro { color: var(--ink-300); font-size: 0.8125rem; line-height: 1.5; margin-bottom: 0.625rem; }
.fab-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem; border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px var(--bg-3);
  transition: box-shadow 200ms var(--ease), background-color 200ms var(--ease);
}
.fab-link:hover { box-shadow: inset 0 0 0 1px var(--orange-400); background: rgba(255,255,255,0.028); }
.fab-link__icon {
  width: 36px; height: 36px; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.fab-link__icon--wa { background: var(--wa); }
.fab-link__icon--tg { background: var(--tg); }
.fab-link__label { font-size: 0.875rem; color: var(--ink-0); font-weight: 500; }
.fab-link__sub { display: block; font-size: 0.75rem; color: var(--ink-300); }

/* ---------- 19. Forms ---------- */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label {
  font-family: var(--font-mono); font-size: 0.6875rem;
  text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-300);
}
.form-field input, .form-field select, .form-field textarea,
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="number"], input[type="password"], textarea, select {
  background: var(--bg-1); color: var(--ink-50);
  box-shadow: inset 0 0 0 1px var(--bg-3);
  border: 0; border-radius: var(--radius-md);
  padding: 0.75rem 0.875rem; width: 100%; font-family: inherit;
  transition: box-shadow 200ms var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus,
input:focus, textarea:focus, select:focus {
  outline: 0; box-shadow: inset 0 0 0 2px var(--orange-400);
}
::placeholder { color: var(--ink-400); opacity: 1; }
.form-help { font-size: 0.8125rem; color: var(--ink-300); }
.form-checkbox { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: var(--ink-200); }
.form-checkbox input { accent-color: var(--orange-400); margin-top: 0.25rem; }

.alert {
  padding: 1rem 1.25rem; border-radius: var(--radius-md);
  font-size: 0.9375rem; line-height: 1.5;
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.alert--success { background: rgba(34,197,94,0.10); color: var(--signal-live);  box-shadow: inset 0 0 0 1px rgba(34,197,94,0.3); }
.alert--error   { background: rgba(239,68,68,0.10); color: var(--signal-alert); box-shadow: inset 0 0 0 1px rgba(239,68,68,0.3); }
.alert--info    { background: rgba(96,165,250,0.10);color: var(--signal-info);  box-shadow: inset 0 0 0 1px rgba(96,165,250,0.3); }

/* ---------- 20. Roku spotlight ---------- */
.roku-section { position: relative; overflow: hidden; padding-block: var(--section); }
.roku-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(255,255,255,0.11), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(255,255,255,0.06), transparent 70%);
}
.roku-section__grid {
  position: relative; max-width: var(--max-wide); margin-inline: auto; padding: 0 1.25rem;
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) { .roku-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.roku-badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.75rem; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.083); color: var(--roku-300);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.roku-features { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .roku-features { grid-template-columns: 1fr 1fr; } }
.roku-feature {
  display: flex; align-items: flex-start; gap: 0.625rem;
  font-size: 0.9375rem; color: var(--ink-100);
}
.roku-feature::before { content: "✓"; color: var(--roku-400); font-weight: 700; flex-shrink: 0; }

.roku-mockup {
  position: relative; aspect-ratio: 4/5; max-width: 380px; margin-inline: auto;
  border-radius: var(--radius-2xl); overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,0.16), var(--bg-1));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.165), 0 40px 80px -20px rgba(0,0,0,0.7);
  padding: 2.5rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
}
.roku-mockup__label {
  font-family: var(--font-mono); font-size: 0.6875rem;
  text-transform: uppercase; letter-spacing: 0.25em; color: var(--roku-300);
}
.roku-mockup__device {
  width: 60%; aspect-ratio: 3/4;
  background: var(--bg-1); border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px var(--bg-3);
  padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem;
}
.roku-mockup__brand {
  width: 100%; padding: 0.5rem; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.083); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.165);
  text-align: center; font-family: var(--font-display); font-size: 0.75rem;
  color: var(--roku-300); font-weight: 700;
}
.roku-mockup__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.375rem; flex: 1; }
.roku-mockup__tiles div { aspect-ratio: 1/1; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--bg-3); }
.roku-mockup__tiles div.active { background: var(--roku-400); box-shadow: inset 0 0 0 1px var(--roku-300); }

/* Roku product screenshot (replaces the CSS mockup on the home spotlight) */
.roku-shot {
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.7),
              0 0 0 1px var(--bg-3);
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.roku-shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px -12px rgba(255,255,255,0.138),
              0 0 0 1px rgba(255,255,255,0.22);
}
.roku-shot img { display: block; width: 100%; height: auto; }

/* ---------- 21. Final CTA block ---------- */
.cta-block {
  position: relative; overflow: hidden;
  border-radius: var(--radius-2xl);
  padding: 3rem 2rem; text-align: center;
  background: linear-gradient(135deg, var(--bg-1), rgba(255,255,255,0.044));
  box-shadow: inset 0 0 0 1px var(--bg-3);
}
.cta-block::before {
  content: ""; position: absolute; top: -50%; right: -20%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.099), transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.cta-block__title {
  font-family: var(--font-display); font-size: var(--fs-display-xl);
  line-height: 1.05; max-width: 16ch; margin: 0.875rem auto 0; position: relative;
}
.cta-block__title em { font-style: normal; color: var(--orange-400); }
.cta-block__sub { margin-top: 1rem; color: var(--ink-200); max-width: 44ch; margin-inline: auto; position: relative; }
.cta-block__row {
  margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.875rem; justify-content: center; position: relative;
}
@media (min-width: 768px) { .cta-block { padding: 4rem 3rem; } }

/* ---------- 22. Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.8125rem; color: var(--ink-300); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.375rem;
}
.breadcrumb a { color: var(--ink-300); }
.breadcrumb a:hover { color: var(--orange-400); }
.breadcrumb__sep { color: var(--ink-400); }
.breadcrumb__current { color: var(--ink-100); }

/* ---------- 23. Helpers ---------- */
.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }
.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;
}
.divider { height: 1px; background: var(--bg-3); margin-block: 2rem; }
.tag {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.25rem 0.625rem; border-radius: var(--radius-full);
  background: var(--bg-2); color: var(--ink-200);
  font-size: 0.75rem; box-shadow: inset 0 0 0 1px var(--bg-3);
}
.tag--orange { background: rgba(255,255,255,0.066); color: var(--orange-300); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.165); }
.tag--cyan   { background: rgba(255,255,255,0.10);  color: var(--cyan-400);    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); }
.tag--roku   { background: rgba(255,255,255,0.055);color: var(--roku-300);   box-shadow: inset 0 0 0 1px rgba(255,255,255,0.165); }
.kbd {
  font-family: var(--font-mono); font-size: 0.75rem;
  padding: 0.125rem 0.5rem; border-radius: var(--radius-sm);
  background: var(--bg-2); color: var(--ink-100); box-shadow: inset 0 0 0 1px var(--bg-3);
}

/* ---------- 24. Animations ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: 0s !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 25. Admin ---------- */
.admin-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.5rem 1rem; font-size: 0.875rem; border-radius: var(--radius-md);
  transition: background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease);
  cursor: pointer; line-height: 1.2; border: 0;
}
.admin-btn-primary { background: var(--orange-400); color: var(--ink-0); }
.admin-btn-primary:hover { background: var(--orange-300); }
.admin-btn-ghost { background: var(--bg-2); color: var(--ink-100); box-shadow: inset 0 0 0 1px var(--bg-3); }
.admin-btn-ghost:hover { background: var(--bg-3); }
.admin-btn-danger { background: rgba(239,68,68,0.18); color: var(--signal-alert); box-shadow: inset 0 0 0 1px rgba(239,68,68,0.4); }
.admin-btn-danger:hover { background: var(--signal-alert); color: #fff; }
.admin-input {
  width: 100%; padding: 0.5rem 0.75rem;
  background: var(--bg-1); color: var(--ink-50);
  box-shadow: inset 0 0 0 1px var(--bg-3); border-radius: var(--radius-md); border: 0;
}
.admin-input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--orange-400); }
.admin-label {
  display: block; font-family: var(--font-mono);
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--ink-300); margin-bottom: 0.375rem;
}

.prose-stream { max-width: var(--max-prose); color: var(--ink-100); }
.prose-stream h1, .prose-stream h2, .prose-stream h3, .prose-stream h4 {
  font-family: var(--font-display); letter-spacing: -0.02em; color: var(--ink-0);
  margin-top: 2rem; margin-bottom: 0.75rem;
}
.prose-stream h2 { font-size: 1.875rem; }
.prose-stream h3 { font-size: 1.5rem; }
.prose-stream p, .prose-stream ul, .prose-stream ol { margin-bottom: 1rem; line-height: 1.7; }
.prose-stream a { color: var(--orange-400); }
.prose-stream a:hover { text-decoration: underline; }
.prose-stream strong { color: var(--ink-0); }
.prose-stream blockquote {
  border-left: 3px solid var(--orange-400); padding-left: 1rem;
  color: var(--ink-100); font-style: italic;
}
.prose-stream code {
  font-family: var(--font-mono); background: var(--bg-1);
  padding: 0.125rem 0.375rem; border-radius: 4px; font-size: 0.9em;
}
.prose-stream ul { list-style: disc; padding-left: 1.5rem; }
.prose-stream ol { list-style: decimal; padding-left: 1.5rem; }

@media print {
  body { background: #fff; color: #000; }
  body::before { display: none; }
  .floating-fab, .site-header, .site-footer { display: none; }
}

/* ---------- 26. Thunder Player (Roku landing) ---------- */
.tp-hero__shot {
  position: relative;
  display: block; width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.7),
              0 0 0 1px var(--bg-3);
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
}
.tp-hero__shot img,
.tp-hero__shot video { display: block; width: 100%; height: auto; }

/* Login activation flow: 2 screenshots side-by-side + connector arrow */
.tp-flow {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: stretch;
  margin: 1rem 0;
}
@media (min-width: 1024px) {
  .tp-flow {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: stretch;
  }
}
.tp-flow__shot {
  position: relative; margin: 0;
  background: var(--bg-1);
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px var(--bg-3),
              0 16px 40px -16px rgba(0,0,0,0.6);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tp-flow__shot:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.193),
              0 20px 50px -16px rgba(255,255,255,0.138);
}
/* Force matching aspect ratio so both cards level visually */
.tp-flow__shot img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: var(--bg-2);
  border-bottom: 1px solid var(--bg-3);
}
.tp-flow__shot figcaption {
  padding: 1rem 1.125rem;
  font-size: .8125rem; line-height: 1.6;
  color: var(--ink-200);
  flex: 1; /* push captions to fill height equally */
}
.tp-flow__shot figcaption strong { color: var(--ink-0); font-weight: 600; }
.tp-flow__shot figcaption em {
  font-style: normal; font-family: var(--font-mono);
  font-size: .8125em; color: var(--roku-300);
  background: rgba(255,255,255,0.055); padding: 0 .25rem; border-radius: 3px;
}
.tp-flow__step-pill {
  position: absolute; top: .75rem; left: .75rem;
  z-index: 2;
  padding: .3125rem .625rem;
  background: var(--roku-400); color: #fff;
  font-family: var(--font-mono);
  font-size: .625rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px -4px rgba(255,255,255,0.33);
  line-height: 1;
}
/* Connector arrow between the two cards */
.tp-flow__arrow {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  margin: 0 auto;
  color: var(--roku-300);
  background: rgba(255,255,255,0.066);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.165);
  border-radius: 50%;
  transform: rotate(90deg);
  transition: transform .3s var(--ease);
}
.tp-flow__arrow svg { width: 22px; height: 22px; }
@media (min-width: 1024px) {
  .tp-flow__arrow { transform: none; align-self: center; }
}
/* Final result caption */
.tp-flow__caption {
  text-align: center; max-width: 56rem; margin: 1.25rem auto 0;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.033);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.11);
  border-radius: var(--radius-md);
  color: var(--ink-100); font-size: .9375rem; line-height: 1.6;
}
.tp-flow__caption strong { color: var(--roku-300); font-weight: 600; }

/* CTA refinement: stronger weight + tight icon spacing */
.tp-cta {
  font-weight: 700;
  letter-spacing: -0.005em;
}
.tp-cta .btn__icon { width: 20px; height: 20px; margin-right: .125rem; }
.tp-cta__sub {
  display: block;
  margin-top: .625rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: .6875rem; font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-300);
  text-transform: uppercase;
}

.tp-features {
  display: grid; gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .tp-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .tp-features { grid-template-columns: repeat(3, 1fr); } }

.tp-feature {
  background: var(--bg-1);
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px var(--bg-3);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tp-feature:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22),
              0 20px 50px -16px rgba(255,255,255,0.138);
}
.tp-feature picture {
  display: block; aspect-ratio: 16/9; overflow: hidden;
  background: var(--bg-2); border-bottom: 1px solid var(--bg-3);
}
.tp-feature img { width: 100%; height: 100%; object-fit: cover; }
.tp-feature h3 {
  font-family: var(--font-display); font-size: 1.125rem;
  font-weight: 600; color: var(--ink-0);
  padding: 1.25rem 1.25rem .375rem;
}
.tp-feature p {
  color: var(--ink-200); font-size: .9375rem; line-height: 1.6;
  padding: 0 1.25rem 1.25rem;
}

.tp-login-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .tp-login-grid--two { grid-template-columns: repeat(2, 1fr); }
}
.tp-login-card {
  position: relative;
  background: var(--bg-1);
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px var(--bg-3);
  padding: 1.75rem;
  transition: box-shadow .25s var(--ease);
}
.tp-login-card:hover {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.275);
}
.tp-login-card__num {
  font-family: var(--font-mono);
  font-size: .75rem; font-weight: 600;
  color: var(--roku-300);
  letter-spacing: 0.18em;
}
.tp-login-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  color: var(--ink-0);
  margin: .5rem 0 .75rem;
}
.tp-login-card p {
  color: var(--ink-200); font-size: .9375rem; line-height: 1.6;
}
.tp-login-card__pill {
  display: inline-block;
  margin-top: 1rem;
  padding: .375rem .75rem;
  background: rgba(255,255,255,0.066);
  color: var(--roku-300);
  font-family: var(--font-mono);
  font-size: .6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  border-radius: var(--radius-full);
}
.tp-login-foot {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.033);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.11);
  border-radius: var(--radius-md);
  color: var(--ink-200); font-size: .9375rem; line-height: 1.6;
  text-align: center;
}

.tp-split {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) {
  .tp-split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.tp-split__media {
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.6),
              0 0 0 1px var(--bg-3);
}
.tp-split__media img { width: 100%; height: auto; display: block; }

.tp-list {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: flex; flex-direction: column; gap: .625rem;
}
.tp-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-200);
  font-size: .9375rem; line-height: 1.6;
}
.tp-list li::before {
  content: "";
  position: absolute; left: 0; top: .5em;
  width: .5rem; height: .5rem;
  background: var(--roku-300);
  border-radius: 50%;
}
.tp-list li strong { color: var(--ink-0); font-weight: 600; }

.tp-admin-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .tp-admin-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tp-admin-grid { grid-template-columns: repeat(3, 1fr); } }

.tp-admin-card {
  background: var(--bg-1);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--bg-3);
  padding: 1.25rem;
  transition: box-shadow .2s var(--ease);
}
.tp-admin-card:hover {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
}
.tp-admin-card h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--ink-0);
  margin-bottom: .375rem;
}
.tp-admin-card p {
  color: var(--ink-200); font-size: .875rem; line-height: 1.55;
}

/* ============================================================
   27. Utility classes (used by admin/ — Tailwind-compatible API)
   ============================================================ */

/* Display & layout */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.place-items-center { place-items: center; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.min-w-0 { min-width: 0; }
.min-h-dvh { min-height: 100dvh; }
.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-auto { width: auto; }
.cursor-pointer { cursor: pointer; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }

/* Sizing */
.w-2 { width: .5rem; }   .h-2 { height: .5rem; }
.w-3 { width: .75rem; }  .h-3 { height: .75rem; }
.w-4 { width: 1rem; }    .h-4 { height: 1rem; }
.w-5 { width: 1.25rem; } .h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }  .h-6 { height: 1.5rem; }
.w-8 { width: 2rem; }    .h-8 { height: 2rem; }
.w-10 { width: 2.5rem; } .h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }   .h-12 { height: 3rem; }
.w-14 { width: 3.5rem; } .h-14 { height: 3.5rem; }
.w-20 { width: 5rem; }   .h-20 { height: 5rem; }
.w-32 { width: 8rem; }   .h-32 { height: 8rem; }
.w-44 { width: 11rem; }  .h-44 { height: 11rem; }
.w-60 { width: 15rem; }  .h-60 { height: 15rem; }
.w-72 { width: 18rem; }  .h-72 { height: 18rem; }
.max-w-screen { max-width: var(--max-screen); }
.max-w-prose { max-width: var(--max-prose); }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

/* Spacing */
.p-0 { padding: 0; }
.p-1 { padding: .25rem; }
.p-2 { padding: .5rem; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.px-1 { padding-inline: .25rem; }
.px-2 { padding-inline: .5rem; }
.px-3 { padding-inline: .75rem; }
.px-4 { padding-inline: 1rem; }
.px-5 { padding-inline: 1.25rem; }
.px-6 { padding-inline: 1.5rem; }
.px-8 { padding-inline: 2rem; }
.px-10 { padding-inline: 2.5rem; }
.py-1 { padding-block: .25rem; }
.py-2 { padding-block: .5rem; }
.py-3 { padding-block: .75rem; }
.py-4 { padding-block: 1rem; }
.py-5 { padding-block: 1.25rem; }
.py-6 { padding-block: 1.5rem; }
.py-8 { padding-block: 2rem; }
.py-10 { padding-block: 2.5rem; }
.pt-2 { padding-top: .5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.m-0 { margin: 0; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ml-2 { margin-left: .5rem; }
.ml-3 { margin-left: .75rem; }
.mr-2 { margin-right: .5rem; }
.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.space-y-1 > * + * { margin-top: .25rem; }
.space-y-2 > * + * { margin-top: .5rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* Background colors */
.bg-bg-0 { background-color: var(--bg-0); }
.bg-bg-1 { background-color: var(--bg-1); }
.bg-bg-2 { background-color: var(--bg-2); }
.bg-bg-3 { background-color: var(--bg-3); }
.bg-orange-400 { background-color: var(--orange-400); }
.bg-cyan-400 { background-color: var(--cyan-400); }
.bg-signal-alert\/15 { background-color: rgba(239,68,68,.15); }
.bg-signal-live\/15  { background-color: rgba(34,197,94,.15); }
.bg-signal-info\/15  { background-color: rgba(96,165,250,.15); }
.bg-signal-warning\/15 { background-color: rgba(245,158,11,.15); }
.bg-white { background: #fff; }
.bg-black { background: #000; }
.bg-transparent { background: transparent; }

/* Text */
.text-ink-0   { color: var(--ink-0); }
.text-ink-50  { color: var(--ink-50); }
.text-ink-100 { color: var(--ink-100); }
.text-ink-200 { color: var(--ink-200); }
.text-ink-300 { color: var(--ink-300); }
.text-ink-400 { color: var(--ink-400); }
.text-orange-300 { color: var(--orange-300); }
.text-orange-400 { color: var(--orange-400); }
.text-cyan-300 { color: var(--cyan-300); }
.text-cyan-400 { color: var(--cyan-400); }
.text-signal-live  { color: var(--signal-live); }
.text-signal-alert { color: var(--signal-alert); }
.text-signal-info  { color: var(--signal-info); }
.text-signal-warning { color: var(--signal-warning); }
.text-white { color: #fff; }
.text-bg-0 { color: var(--bg-0); }

/* Legacy gold tokens (referenced by some admin templates) — alias to orange */
.text-gold-400 { color: var(--orange-400); }
.bg-gold-400 { background-color: var(--orange-400); }
.ring-gold-400 { box-shadow: 0 0 0 1px var(--orange-400); }
.ring-gold-400\/30 { box-shadow: 0 0 0 1px rgba(255,255,255,0.165); }
.ring-gold-400\/40 { box-shadow: 0 0 0 1px rgba(255,255,255,0.22); }
.hover\:text-gold-400:hover { color: var(--orange-400); }

/* Font */
.font-display { font-family: var(--font-display); }
.font-sans { font-family: var(--font-sans); }
.font-mono { font-family: var(--font-mono); }
.font-thin { font-weight: 100; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-xs { font-size: .75rem; line-height: 1.4; }
.text-sm { font-size: .875rem; line-height: 1.5; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; line-height: 1.5; }
.text-xl { font-size: 1.25rem; line-height: 1.4; }
.text-2xl { font-size: 1.5rem; line-height: 1.3; }
.text-3xl { font-size: 1.875rem; line-height: 1.25; }
.text-4xl { font-size: 2.25rem; line-height: 1.2; }
.text-5xl { font-size: 3rem; line-height: 1.1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.italic { font-style: italic; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.15; }
.leading-snug { line-height: 1.3; }
.leading-relaxed { line-height: 1.65; }
.tracking-tight { letter-spacing: -0.02em; }
.tracking-wide { letter-spacing: 0.025em; }

/* Borders & rings */
.border { border: 1px solid var(--bg-3); }
.border-0 { border: 0; }
.border-t { border-top: 1px solid var(--bg-3); }
.border-b { border-bottom: 1px solid var(--bg-3); }
.border-l { border-left: 1px solid var(--bg-3); }
.border-r { border-right: 1px solid var(--bg-3); }
.border-y { border-block: 1px solid var(--bg-3); }
.border-bg-3 { border-color: var(--bg-3); }
.border-orange-400 { border-color: var(--orange-400); }
.rounded { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }
.ring-1 { box-shadow: 0 0 0 1px var(--bg-3); }
.ring-2 { box-shadow: 0 0 0 2px var(--bg-3); }
.ring-bg-3 { box-shadow: 0 0 0 1px var(--bg-3); }
.ring-signal-alert\/30 { box-shadow: 0 0 0 1px rgba(239,68,68,.30); }
.ring-signal-live\/30  { box-shadow: 0 0 0 1px rgba(34,197,94,.30); }
.ring-signal-info\/30  { box-shadow: 0 0 0 1px rgba(96,165,250,.30); }
.ring-orange-400 { box-shadow: 0 0 0 1px var(--orange-400); }

/* Shadow */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-none { box-shadow: none; }

/* Effects */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: .5; }
.opacity-70 { opacity: .7; }
.opacity-90 { opacity: .9; }
.opacity-100 { opacity: 1; }
.transition { transition: all 200ms var(--ease); }
.transition-colors { transition: color 200ms var(--ease), background-color 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.transition-transform { transition: transform 200ms var(--ease); }
.transition-opacity { transition: opacity 200ms var(--ease); }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

/* Hover variants (admin uses these heavily) */
.hover\:bg-bg-2:hover { background-color: var(--bg-2); }
.hover\:bg-bg-3:hover { background-color: var(--bg-3); }
.hover\:bg-orange-300:hover { background-color: var(--orange-300); }
.hover\:bg-orange-400:hover { background-color: var(--orange-400); }
.hover\:text-orange-400:hover { color: var(--orange-400); }
.hover\:text-orange-300:hover { color: var(--orange-300); }
.hover\:text-ink-0:hover { color: var(--ink-0); }
.hover\:text-signal-alert:hover { color: var(--signal-alert); }
.hover\:text-white:hover { color: #fff; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:opacity-100:hover { opacity: 1; }

/* Focus */
.focus\:outline-none:focus { outline: none; }

/* Misc */
.list-disc { list-style: disc; padding-left: 1.5rem; }
.list-decimal { list-style: decimal; padding-left: 1.5rem; }
.list-none { list-style: none; padding-left: 0; }
.uppercase { text-transform: uppercase; }

/* Responsive lg */
@media (min-width: 1024px) {
  .lg\:p-10 { padding: 2.5rem; }
  .lg\:px-10 { padding-inline: 2.5rem; }
  .lg\:py-10 { padding-block: 2.5rem; }
  .lg\:flex { display: flex; }
  .lg\:grid { display: grid; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:grid { display: grid; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:grid { display: grid; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 28. Compatible-with bar ---------- */
.compat {
  padding: 2.5rem 0; border-block: 1px solid var(--bg-3);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.017), transparent);
}
.compat__label {
  font-family: var(--font-mono); font-size: .6875rem;
  text-transform: uppercase; letter-spacing: .22em;
  color: var(--ink-300); text-align: center; margin-bottom: 1.5rem;
}
.compat__row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.5rem 2rem; align-items: center;
}
.compat__item {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--ink-300); font-size: .8125rem;
  transition: color .25s var(--ease);
}
.compat__item:hover { color: var(--ink-100); }
.compat__item img {
  width: 28px; height: 28px;
  filter: brightness(0) invert(.7);
  transition: filter .25s var(--ease);
}
.compat__item:hover img { filter: brightness(0) invert(1); }
@media (max-width: 640px) {
  .compat__row { gap: 1rem 1.25rem; }
  .compat__item span { display: none; }
}

/* ---------- 29. Blog ---------- */
.post-feature {
  display: grid; grid-template-columns: 1fr; gap: 0; overflow: hidden;
  background: var(--bg-1); border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px var(--bg-3);
  margin-bottom: 3rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.post-feature:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22), 0 20px 50px -16px rgba(255,255,255,0.11);
}
.post-feature__media {
  aspect-ratio: 16/9; overflow: hidden; background: var(--bg-2);
}
.post-feature__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.post-feature:hover .post-feature__media img { transform: scale(1.04); }
.post-feature__body { padding: 2rem 1.75rem; }
.post-feature__title {
  font-family: var(--font-display); font-size: 1.875rem; font-weight: 600;
  color: var(--ink-0); margin: .875rem 0 .75rem; line-height: 1.15;
}
.post-feature__excerpt { color: var(--ink-200); font-size: 1.0625rem; line-height: 1.6; max-width: 64ch; }
@media (min-width: 1024px) {
  .post-feature { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .post-feature__body { padding: 3rem 2.5rem; }
}

.post-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 768px)  { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  background: var(--bg-1); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--bg-3);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22), 0 20px 40px -16px rgba(0,0,0,0.5);
}
.post-card__link { display: flex; flex-direction: column; height: 100%; }
.post-card__media {
  aspect-ratio: 16/9; overflow: hidden; background: var(--bg-2);
}
.post-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__media--blank {
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
}
.post-card__media--blank span {
  font-family: var(--font-display); font-size: 4rem; color: rgba(255,255,255,0.165);
}
.post-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.post-card__tags { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: .625rem; }
.post-card__title {
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 600;
  color: var(--ink-0); margin-bottom: .5rem; line-height: 1.25;
}
.post-card__excerpt {
  font-size: .875rem; color: var(--ink-300); line-height: 1.5; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.post-meta {
  display: inline-flex; align-items: center; gap: .625rem;
  font-family: var(--font-mono); font-size: .75rem; color: var(--ink-300);
  margin-top: .875rem;
}
.post-meta__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-400); }

.pagination {
  margin-top: 3rem; display: flex; justify-content: center; align-items: center; gap: 1.25rem;
  font-size: .875rem;
}
.pagination a {
  padding: .625rem 1rem; border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px var(--bg-3); color: var(--ink-100);
  transition: box-shadow .2s var(--ease), color .2s var(--ease);
}
.pagination a:hover { box-shadow: inset 0 0 0 1px var(--orange-400); color: var(--orange-400); }
.pagination__current { color: var(--ink-300); font-family: var(--font-mono); font-size: .8125rem; }

/* ---------- 30. Single post ---------- */
.post__hero {
  padding-top: 7rem; padding-bottom: 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.033), transparent);
  border-bottom: 1px solid var(--bg-3);
}
.post__title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.025em;
  color: var(--ink-0); margin-top: .75rem;
}
.post__lead {
  margin-top: 1.25rem; font-size: 1.125rem; color: var(--ink-200);
  line-height: 1.65; max-width: 64ch;
}
.post__meta { margin-top: 1.5rem; }
.post__cover {
  margin-block: 2rem;
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.5);
}
.post__cover img { width: 100%; aspect-ratio: 16/9; object-fit: contain; }

/* ---------- 31. Mobile polish — catalog cards + app detail ---------- */
/* Catalog: bigger, more legible cards on small phones */
@media (max-width: 479px) {
  .apps-grid { grid-template-columns: 1fr; gap: 1rem; }
  .app-card__media { aspect-ratio: 16/9; }
  .app-card__title { font-size: 1.25rem; }
  .app-card__overlay { padding: 2.5rem 1.125rem 1rem; }
  .app-card__hover { opacity: 1; transform: none; font-size: .75rem; }
  .app-card__body { padding: .875rem 1.125rem 1.125rem; }
  .app-card__price-amount { font-size: 1.375rem; }
  .app-card__plat { width: 26px; height: 26px; }
  .app-card__plat img { width: 16px; height: 16px; }
  .app-card__chip { height: 24px; font-size: .6875rem; }
  .app-card__rating { height: 24px; font-size: .75rem; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .apps-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .app-card__title { font-size: 1.0625rem; }
  .app-card__price-amount { font-size: 1.1875rem; }
}

/* Dedicated grid for app screenshots — different rhythm than catalog cards */
.shots-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px)  { .shots-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .shots-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

/* App detail page — mobile refinements */
@media (max-width: 767px) {
  /* Hero — softer top spacing, tighter title scale, breathing tags row */
  .hero { padding-top: 5.5rem !important; }
  .hero__title { font-size: clamp(2rem, 8.5vw, 3rem); line-height: 1.05; letter-spacing: -.025em; }
  .hero__sub { font-size: 1rem; margin-top: 1rem; line-height: 1.55; }
  .hero__cta-row { gap: .625rem; margin-top: 1.5rem; }
  .hero__cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .breadcrumb { font-size: .75rem; flex-wrap: wrap; gap: .25rem .375rem; }

  /* Spec sheet — more compact on mobile, easier to scan */
  .spec-sheet { border-radius: var(--radius-lg); }
  .spec-row { padding: 1rem 1.125rem; }
  .spec-row__key { font-size: .625rem; }
  .spec-row__val { font-size: .875rem; margin-top: .25rem; }

  /* Check grid — same refinement */
  .check-grid { border-radius: var(--radius-lg); }
  .check-grid__item { padding: 1rem 1.125rem; font-size: .9375rem; line-height: 1.5; }

  /* Pricing cards — tighter padding, bigger emphasis on price */
  .price-card { padding: 1.75rem 1.25rem; border-radius: var(--radius-lg); }
  .price-card--featured { margin-top: .875rem; }   /* room for ribbon */
  .price-card__ribbon { font-size: .625rem; padding: .3125rem .75rem; }
  .price-card__name { font-size: .8125rem; letter-spacing: .14em; }
  .price-card__price { font-size: 2.5rem; }
  .price-card__features { margin-top: 1.25rem; gap: .5rem; }
  .price-card__cta { margin-top: 1.5rem; }
  .pricing-grid { gap: 1rem; }

  /* Section heads tighter */
  .section { padding-block: 2.5rem; }
  .section-head { margin-bottom: 1.5rem; }

  /* Dedicated landing banner — wrap tidy, no overflow */
  .dedicated-landing-banner { display: flex !important; padding: .75rem 1rem !important; font-size: .875rem; line-height: 1.4; }
  .dedicated-landing-banner svg { flex-shrink: 0; }

  /* Trust row — comfortable spacing between rating/used-by */
  .post__title { font-size: clamp(1.625rem, 6.5vw, 2.25rem); line-height: 1.15; }
  .post__lead  { font-size: 1rem; }
  .post__hero  { padding-top: 5.5rem; }
  .post__cover { margin-block: 1.25rem; border-radius: var(--radius-lg); }

  /* Blog cards bigger on phones */
  .post-card__title { font-size: 1.0625rem; }
  .post-card__body  { padding: 1.125rem; }
  .post-feature__title { font-size: 1.5rem; }
  .post-feature__body  { padding: 1.5rem 1.25rem; }
  .post-feature__excerpt { font-size: 1rem; }

  /* CTA blocks — readable, no oversize titles */
  .cta-block__title { font-size: 1.5rem !important; line-height: 1.2; }
  .cta-block__row .btn { flex: 1 1 100%; justify-content: center; }

  /* Floating contact: smaller footprint */
  .floating-fab { transform: scale(.92); transform-origin: bottom right; }
}

/* Phones < 380 — extra defensive */
@media (max-width: 380px) {
  .container-wide { padding-inline: 1rem !important; }
  .hero__title { font-size: 1.875rem; }
  .price-card__price { font-size: 2.25rem; }
  .breadcrumb { font-size: .6875rem; }
}

/* ============================================================
   RED NOIR ATMOSPHERE  (additive global decoration)
   Pure CSS · pointer-events:none · z-index 0 (behind content).
   Inspired by the "red noir" reference. No HTML/JS touched.
   Revert: delete this whole block. ponytail: cosmetic-only layer.
   ============================================================ */

/* Supersedes the base body::before (last definition wins):
   central red core glow + the original corner washes + a faint
   engineering grid, all softened by a radial vignette mask. */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60vw 60vw at 50% 34%, rgba(255,255,255,0.055), transparent 60%),
    radial-gradient(ellipse 60% 40% at 30% 0%,  rgba(255,255,255,0.044), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(255,255,255,0.05), transparent 70%),
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: auto, auto, auto, 46px 46px, 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 28%, #000 42%, transparent 88%);
          mask-image: radial-gradient(circle at 50% 28%, #000 42%, transparent 88%);
}

/* Starfield — faint dots on a 1px pseudo-element. Two identical
   bands 800px apart so the slow upward drift loops seamlessly. */
body::after {
  content: ""; position: fixed; top: 0; left: 0; width: 1px; height: 1px;
  z-index: 0; pointer-events: none; border-radius: 50%; background: transparent;
  box-shadow:
    180px  60px rgba(255,255,255,.55),  640px 220px rgba(255,255,255,.40),
    980px 120px rgba(255,255,255,.50), 1280px 360px rgba(255,255,255,.35),
    320px 440px rgba(255,255,255,.45), 1520px 540px rgba(255,255,255,.40),
    760px 640px rgba(255,255,255,.45), 1120px 720px rgba(255,255,255,.30),
    120px 300px rgba(255,255,255,.40), 1700px 180px rgba(255,255,255,.35),
    180px  860px rgba(255,255,255,.55),  640px 1020px rgba(255,255,255,.40),
    980px 920px rgba(255,255,255,.50), 1280px 1160px rgba(255,255,255,.35),
    320px 1240px rgba(255,255,255,.45),1520px 1340px rgba(255,255,255,.40),
    760px 1440px rgba(255,255,255,.45),1120px 1520px rgba(255,255,255,.30),
    120px 1100px rgba(255,255,255,.40),1700px 980px rgba(255,255,255,.35);
  animation: noir-stars 140s linear infinite;
}
@keyframes noir-stars { to { transform: translateY(-800px); } }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

/* ---- App detail hero: brand-colored glow backdrop (no screenshot bleed) ----
   --bc is the app's brand colour as an "r,g,b" triple, set inline per app. */
.app-hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(58% 56% at 18% -14%, rgba(var(--bc, 255,255,255), 0.34), transparent 60%),
    radial-gradient(42% 46% at 96% -8%,  rgba(var(--bc, 255,255,255), 0.15), transparent 55%),
    linear-gradient(180deg, rgba(8,8,11,0.22), transparent 38%, var(--bg-0) 92%);
}
.app-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 75% at 22% 0%, #000 22%, transparent 68%);
          mask-image: radial-gradient(120% 75% at 22% 0%, #000 22%, transparent 68%);
}
.hero > .hero__grid { position: relative; z-index: 1; }

/* Blog cover photo credit (real photo attribution) */
.post__cover-credit { font-size: .75rem; color: var(--ink-400); margin: .5rem .25rem 0; text-align: right; }
.post__cover-credit a { color: var(--ink-300); text-decoration: underline; text-underline-offset: 2px; }
.post__cover-credit a:hover { color: var(--orange-300); }

/* ---- /apps catalog: editorial header + poster collage ---- */
.catalog-hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem;
  align-items: center; margin-bottom: 2.75rem;
}
.catalog-hero__title { font-size: var(--fs-display-xl); margin-top: .5rem; }
.catalog-hero__sub { color: var(--ink-200); margin-top: 1rem; max-width: 48ch; }
.catalog-hero__stats {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 0;
  margin-top: 1.5rem; font-size: .875rem; color: var(--ink-300);
}
.catalog-hero__stats li { display: inline-flex; align-items: center; }
.catalog-hero__stats li:not(:last-child)::after {
  content: "·"; color: var(--ink-400); margin: 0 .85rem;
}
.catalog-hero__stats strong { color: var(--orange-400); font-size: 1.05rem; font-weight: 700; margin-right: .35rem; }
.catalog-hero__cta { margin-top: 1.75rem; }

.catalog-hero__collage { position: relative; height: clamp(260px, 28vw, 360px); }
.catalog-hero__poster {
  position: absolute; width: 58%; aspect-ratio: 16 / 9; object-fit: contain;
  border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 22px 46px -20px rgba(0,0,0,0.85);
  transition: transform .3s var(--ease);
}
/* Diagonal cascade — each screen steps down-and-right, clearly readable */
.catalog-hero__poster:nth-child(1) { top: 0;   left: 2%;  transform: rotate(-5deg); z-index: 1; }
.catalog-hero__poster:nth-child(2) { top: 25%; left: 21%; transform: rotate(1deg);  z-index: 2; }
.catalog-hero__poster:nth-child(3) { top: 50%; left: 40%; transform: rotate(6deg);  z-index: 3; }
.catalog-hero__poster:hover { transform: translateY(-6px) rotate(0) scale(1.03); z-index: 4; }
@media (prefers-reduced-motion: reduce) { .catalog-hero__poster { transition: none; } }

@media (max-width: 900px) {
  .catalog-hero { grid-template-columns: 1fr; gap: 1.25rem; }
  .catalog-hero__collage { height: clamp(230px, 60vw, 320px); margin-top: .5rem; }
  .catalog-hero__poster { width: 62%; }
  .catalog-hero__poster:nth-child(1) { left: 0; }
  .catalog-hero__poster:nth-child(3) { left: 36%; }
}

.catalog-toolbar {
  display: flex; flex-direction: column; gap: .75rem;
  margin-bottom: 2rem; padding: 1rem 1.1rem;
  background: rgba(19,19,22,0.7);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--bg-3); border-radius: var(--radius-lg);
}
.catalog-toolbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.catalog-toolbar__label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600;
  color: var(--ink-300); min-width: 5.5rem;
}
.catalog-toolbar__chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.catalog-toolbar__count { font-size: .8rem; color: var(--ink-300); margin: .1rem 0 0; }
.catalog-toolbar__count #catalog-count { color: var(--orange-400); font-weight: 700; }

.filter-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .42rem .8rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em;
  border-radius: var(--radius-full); box-shadow: inset 0 0 0 1px var(--bg-3);
  color: var(--ink-200); background: transparent; cursor: pointer;
  transition: color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.filter-chip img { width: 14px; height: 14px; opacity: .8; }
.filter-chip:hover { color: var(--orange-300); box-shadow: inset 0 0 0 1px var(--orange-400); }
.filter-chip.is-active { background: var(--orange-400); color: var(--ink-0); box-shadow: inset 0 0 0 1px var(--orange-400); }

/* Buscador del catálogo (reemplaza los chips de filtro) */
.catalog-search { position: relative; display: flex; align-items: center; max-width: 420px; }
.catalog-search__icon { position: absolute; left: .9rem; color: var(--ink-300); pointer-events: none; }
.catalog-search__input {
  width: 100%; padding: .7rem 1rem .7rem 2.7rem;
  font-size: .95rem; color: var(--ink-100, #ececf0);
  background: rgba(0,0,0,0.28); border: 1px solid var(--bg-3);
  border-radius: var(--radius-full); outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.catalog-search__input::placeholder { color: var(--ink-300); }
.catalog-search__input:focus { border-color: var(--orange-400); box-shadow: 0 0 0 3px rgba(255,255,255,0.08); }
.filter-chip.is-active img { opacity: 1; filter: brightness(0) invert(1); }
.filter-chip.roku.is-active { background: var(--roku-400); box-shadow: inset 0 0 0 1px var(--roku-400); }
.filter-chip.roku:hover { color: var(--roku-300); box-shadow: inset 0 0 0 1px var(--roku-400); }

/* ---- Glass pill navbar (red-noir reference) -------------------
   CSS-only restyle of the existing header markup. No HTML/JS change.
   Outer header = positioning + click-through gutter; the inner row
   becomes a floating glass pill. Revert: delete this sub-block. */
.site-header { padding-top: 0.55rem; pointer-events: none; }
.site-header > * { pointer-events: auto; }

/* The old full-width scroll bar is replaced by the pill surface. */
.site-header::before,
.site-header.is-scrolled::before { display: none; }

.site-header__inner {
  width: min(100% - 1.25rem, 1180px);
  margin-inline: auto;
  padding: 0.5rem 0.75rem 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(12,12,14,0.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
          backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 34px -12px rgba(0,0,0,0.75);
  transition: background-color 250ms var(--ease), border-color 250ms var(--ease);
}
.site-header.is-scrolled .site-header__inner {
  background: rgba(12,12,14,0.82);
  border-color: rgba(255,255,255,0.13);
}

/* Mobile drawer floats to match the pill instead of a full-width bar. */
.mobile-nav {
  width: min(100% - 1.25rem, 1180px);
  margin: 0.5rem auto 0;
  background: rgba(12,12,14,0.94);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mobile-nav a { border-bottom-color: rgba(255,255,255,0.06); }

/* Header height grew slightly; keep the spacer (inner pages) clear of it. */
.site-header__spacer { height: 72px; }
@media (min-width: 1024px) { .site-header__spacer { height: 84px; } }

/* Mobile: drop the long wordmark so logo + CTA + menu breathe in the pill.
   The brand <a> keeps its aria-label, so this stays accessible. */
@media (max-width: 480px) {
  .site-header__brand span { display: none; }
  .site-header__inner { padding-left: 0.85rem; gap: 0.5rem; }
}

/* =====================================================================
   STORE SKIN — piel estilo "app store" (referencia) SOLO para /apps.
   Todo scopeado bajo .store-skin: no afecta home, blog, ni otras páginas.
   ===================================================================== */
.store-skin {
  /* TU paleta (tokens del sitio) — solo se toma la ESTRUCTURA de la referencia */
  --s-bg:       var(--bg-0);          /* #0A0A0B */
  --s-card:     var(--bg-1);          /* #131316 */
  --s-ink:      var(--ink-0);         /* #FFFFFF */
  --s-ink-2:    var(--ink-200);       /* #B8B8BD */
  --s-muted:    var(--ink-300);       /* #84848B */
  --s-border:   var(--bg-3);          /* #26262C */
  --s-primary:  var(--orange-400);    /* #FFFFFF rojo de marca */
  --s-primary-d:var(--orange-500);
  --s-navy-1:   var(--bg-1);
  --s-navy-2:   var(--bg-0);
  --s-green:    var(--signal-live);   /* #22C55E (tu token) para los checks */
  --s-amber:    var(--signal-warning);/* #F59E0B (tu token) */
  --s-radius:  14px;
  --s-radius-sm:10px;
  background: transparent;        /* deja ver tu fondo: rejilla + starfield */
  font-family: var(--font-sans);
}
.store-skin .container-wide { max-width: 1240px; margin-inline: auto; padding-inline: 24px; }

/* ---- HERO ---- */
.store-hero {
  /* transparente: se ve tu rejilla + brillitos del body. Solo un glow rojo extra sutil. */
  background: radial-gradient(1000px 480px at 80% -10%, rgba(255,255,255,0.077), transparent 62%);
  color: #fff; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.store-hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.store-hero__copy { min-width: 0; }
.breadcrumb--onDark { color: rgba(255,255,255,.55); margin-bottom: 1.25rem; }
.breadcrumb--onDark a { color: rgba(255,255,255,.7); }
.breadcrumb--onDark .breadcrumb__current { color: #fff; }
.store-hero__pill {
  display: inline-block; padding: .4rem .85rem; border-radius: 999px;
  background: rgba(255,255,255,0.077); border: 1px solid rgba(255,255,255,0.22);
  color: var(--orange-300); font-size: .8rem; font-weight: 600; letter-spacing: .01em;
}
.store-hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em;
  margin: 1.1rem 0 0;
}
.store-hero__sub { color: var(--ink-200); font-size: 1.05rem; max-width: 30rem; margin: 1rem 0 1.6rem; }
.store-hero__cta { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.store-hero__count { color: var(--ink-300); font-size: .9rem; font-weight: 500; }
.store-hero__chips { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; gap: 2rem; flex-wrap: wrap; }
.store-hero__chips li { display: flex; flex-direction: column; }
.store-hero__chips strong { font-size: .92rem; font-weight: 700; }
.store-hero__chips span { color: var(--ink-300); font-size: .8rem; }

/* botones store */
.store-btn {
  display: inline-flex; align-items: center; gap: .45rem; justify-content: center;
  padding: .72rem 1.3rem; border-radius: 10px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: background .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.store-btn--primary { background: var(--s-primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(255,255,255,0.303); }
.store-btn--primary:hover { background: var(--s-primary-d); transform: translateY(-1px); }
.store-btn--ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.store-btn--ghost:hover { background: rgba(255,255,255,.12); }
.store-btn--block { width: 100%; }

/* tarjeta destacada del hero */
.store-hero__featured { min-width: 0; }
.store-feat {
  display: block; background: var(--s-card); color: var(--s-ink);
  border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(2,6,23,.7);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.store-feat:hover { transform: translateY(-4px); }
.store-feat__banner { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--bg-2), var(--bg-0)); }
.store-feat__banner img { width: 100%; height: 100%; object-fit: contain; }
.store-feat__tag { position: absolute; top: .7rem; right: .7rem; background: var(--s-amber); color: #fff; font-size: .7rem; font-weight: 700; padding: .28rem .6rem; border-radius: 999px; }
.store-feat__body { padding: 1.1rem 1.2rem 1.3rem; }
.store-feat__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.store-feat__row h3 { font-size: 1.15rem; font-weight: 700; margin: 0; color: var(--s-ink); }
.store-feat__price { color: var(--s-primary); font-weight: 800; font-size: 1.3rem; }
.store-feat__rating { color: var(--s-amber); font-size: .85rem; margin-top: .35rem; letter-spacing: -1px; }
.store-feat__rating span { color: var(--s-muted); margin-left: .35rem; letter-spacing: 0; }
.store-feat__feats { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .4rem; }
.store-feat__feats li { position: relative; padding-left: 1.5rem; font-size: .85rem; color: var(--s-ink-2); }
.store-feat__feats li::before { content: "✓"; position: absolute; left: 0; color: var(--s-green); font-weight: 800; }
.store-feat__more { display: inline-block; margin-top: 1rem; color: var(--s-primary); font-weight: 600; font-size: .9rem; }

/* ---- STATS ---- */
.store-stats { background: transparent; border-top: 1px solid var(--s-border); border-bottom: 1px solid var(--s-border); }
.store-stats__inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 3.5rem; padding: 1.4rem 24px; }
.store-stats__inner div { display: flex; flex-direction: column; align-items: center; }
.store-stats__inner strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--s-ink); }
.store-stats__inner span { color: var(--s-muted); font-size: .82rem; }

/* ---- CATALOG (fondo claro) ---- */
.store-catalog { background: transparent; padding: clamp(2.5rem,5vw,4rem) 0 5rem; }
.store-catalog__head { margin-bottom: 1.8rem; }
.store-catalog__head h2 { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 800; color: var(--s-ink); margin: 0; }
.store-catalog__head p { color: var(--s-muted); margin: .4rem 0 0; }

.store-layout { display: grid; grid-template-columns: 260px 1fr; gap: 1.8rem; align-items: start; }
.store-sidebar { position: sticky; top: 84px; display: grid; gap: 1rem; }
.store-side-card { background: var(--s-card); border: 1px solid var(--s-border); border-radius: var(--s-radius); padding: 1.1rem 1.15rem; }
.store-side-card h3 { font-size: .95rem; font-weight: 700; color: var(--s-ink); margin: 0 0 .8rem; }
.store-cats { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.store-cats button {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: .6rem .8rem; border-radius: var(--s-radius-sm); border: 0; cursor: pointer;
  background: transparent; color: var(--s-ink-2); font-size: .9rem; font-weight: 600; text-align: left;
  transition: background .15s, color .15s;
}
.store-cats button span { font-size: .78rem; color: var(--s-muted); background: var(--bg-3); padding: .05rem .5rem; border-radius: 999px; }
.store-cats button:hover { background: var(--s-bg); }
.store-cats button.is-active { background: var(--s-primary); color: #fff; }
.store-cats button.is-active span { background: rgba(255,255,255,.22); color: #fff; }
.store-side-custom { text-align: center; }
.store-side-custom__ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.066); display: grid; place-items: center; margin: 0 auto .6rem; font-size: 1.3rem; }
.store-side-custom p { color: var(--s-muted); font-size: .85rem; margin: .3rem 0 .9rem; }

/* ---- toolbar / search (claro) ---- */
.store-skin .catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.3rem; flex-wrap: wrap; flex-direction: row;
  background: none; border: 0; padding: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0;
}
.store-skin .catalog-toolbar__count #catalog-count { color: var(--s-primary); }
.store-skin .catalog-search { position: relative; flex: 1; max-width: 340px; margin-left: auto; }
.store-skin .catalog-search__icon { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--s-muted); }
.store-skin .catalog-search__input {
  width: 100%; padding: .7rem 1rem .7rem 2.5rem; border-radius: 999px;
  border: 1px solid var(--s-border); background: var(--bg-2); color: var(--s-ink); font-size: .92rem;
}
.store-skin .catalog-search__input::placeholder { color: var(--s-muted); }
.store-skin .catalog-search__input:focus { outline: none; border-color: var(--s-primary); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.store-skin .catalog-toolbar__count { color: var(--s-muted); font-size: .88rem; order: -1; }

/* ---- grid + store card ---- */
.store-skin .apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 640px) { .store-skin .apps-grid { grid-template-columns: 1fr; } }

.store-card {
  display: flex; flex-direction: column; background: var(--s-card);
  border: 1px solid var(--s-border); border-radius: var(--s-radius); overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.store-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.22); box-shadow: 0 18px 40px -18px rgba(255,255,255,0.154), 0 8px 24px -8px rgba(0,0,0,.6); }
.store-card__banner { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-2); }
.store-card__banner img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.store-card__ph {
  position: absolute; inset: 0; z-index: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: #fff;
  background: linear-gradient(140deg, var(--brand, #2563eb), color-mix(in srgb, var(--brand,#2563eb) 45%, #0b1220));
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.store-card__badge { position: absolute; top: .6rem; left: .6rem; z-index: 2; background: #fff; color: var(--bg-0); font-size: .7rem; font-weight: 700; padding: .28rem .6rem; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.store-card__badge.is-popular { background: var(--s-amber); color: #fff; }
.store-card__head { display: flex; align-items: center; gap: .7rem; padding: 0 1.1rem; margin-top: -1.5rem; position: relative; z-index: 3; }
.store-card__icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #fff;
  background: linear-gradient(140deg, var(--brand, #2563eb), color-mix(in srgb, var(--brand,#2563eb) 55%, #0b1220));
  border: 3px solid var(--s-card); box-shadow: 0 6px 16px -6px rgba(0,0,0,.5);
}
.store-card__name { font-size: 1.02rem; font-weight: 700; color: var(--s-ink); margin: 0; line-height: 1.2; padding-top: 1.2rem; }
.store-card__name a { color: inherit; }
.store-card__body { padding: .7rem 1.1rem 0; flex: 1; }
.store-card__desc { color: var(--s-muted); font-size: .88rem; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.store-card__feats { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .38rem; }
.store-card__feats li { position: relative; padding-left: 1.4rem; font-size: .82rem; color: var(--s-ink-2); line-height: 1.35; }
.store-card__feats li::before { content: "✓"; position: absolute; left: 0; color: var(--s-green); font-weight: 800; }
.store-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.1rem 1.1rem; margin-top: 1rem; }
.store-card__price { color: var(--s-primary); font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; }
.store-card__price--deal { display: inline-flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.store-card__price--deal s { color: var(--s-muted); font-size: .82rem; font-weight: 500; }
.store-card__pricetag { font: 700 .56rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--orange-300); background: color-mix(in srgb, var(--s-primary) 14%, transparent); padding: .24rem .38rem; border-radius: var(--radius-sm); }
.store-card__price--quote { font-size: 1rem; color: var(--s-muted); }
.store-card__cta { background: var(--s-primary); color: #fff; padding: .55rem 1rem; border-radius: 9px; font-weight: 600; font-size: .85rem; transition: background .15s, transform .15s; }
.store-card__cta:hover { background: var(--s-primary-d); transform: translateY(-1px); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .store-hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .store-hero__featured { max-width: 460px; }
  .store-layout { grid-template-columns: 1fr; }
  .store-sidebar { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .store-sidebar { grid-template-columns: 1fr; }
  .store-stats__inner { gap: 1.5rem 2rem; }
}

/* =====================================================================
   STORE DETAIL — ficha con estructura de la referencia (tu paleta).
   ===================================================================== */
.store-detail__top { padding-bottom: 3rem; }
.sd-breadcrumb { margin-bottom: 1.4rem; color: var(--s-muted); }
.sd-breadcrumb a:hover { color: var(--s-ink); }

.sd-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.sd-main { min-width: 0; display: grid; gap: 2.25rem; }

/* galería */
.sd-gallery { display: grid; gap: .75rem; }
.sd-gallery__main {
  display: block; width: 100%; padding: 0; cursor: zoom-in;
  aspect-ratio: 16/9; border-radius: var(--s-radius); overflow: hidden;
  border: 1px solid var(--s-border); background: var(--bg-2);
}
.sd-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.sd-thumbs { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .25rem; }
.sd-thumb {
  flex: 0 0 92px; aspect-ratio: 16/10; padding: 0; cursor: pointer;
  border-radius: 8px; overflow: hidden; border: 2px solid transparent;
  background: var(--bg-2); opacity: .55; transition: opacity .15s, border-color .15s;
}
.sd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sd-thumb:hover, .sd-thumb.is-active { opacity: 1; border-color: var(--s-primary); }

/* bloques de contenido */
.sd-block { display: grid; gap: .9rem; }
.sd-h2 { font-family: var(--font-display); font-size: clamp(1.3rem,2.5vw,1.6rem); font-weight: 800; color: var(--s-ink); margin: 0; }
.sd-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.sd-checks li { position: relative; padding-left: 1.7rem; color: var(--s-ink-2); line-height: 1.5; }
.sd-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--s-green); font-weight: 800; }
.sd-checks--sm li { font-size: .88rem; padding-left: 1.45rem; }

/* card de compra sticky */
.sd-aside { position: sticky; top: 84px; }
.sd-buy { background: var(--s-card); border: 1px solid var(--s-border); border-radius: var(--s-radius); padding: 1.4rem; display: grid; gap: 1rem; }
.sd-buy__head { display: flex; align-items: center; gap: .8rem; }
.sd-buy__icon {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: #fff;
  background: linear-gradient(140deg, var(--brand, #2A2A30), color-mix(in srgb, var(--brand, #2A2A30) 55%, #0b0b0d));
}
.sd-buy__name { font-size: 1.25rem; font-weight: 800; color: var(--s-ink); margin: 0; line-height: 1.15; }
.sd-buy__tag { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--s-muted); }
.sd-buy__price { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; color: var(--s-primary); display: flex; align-items: baseline; gap: .5rem; }
.sd-buy__price s { color: var(--s-muted); font-size: 1.05rem; font-weight: 600; }
.sd-buy__price span { font-family: var(--font-sans); font-size: .8rem; font-weight: 500; color: var(--s-muted); }
.sd-buy .store-btn--primary { background: var(--wa); box-shadow: none; }      /* botón WhatsApp verde (tu canal) */
.sd-buy .store-btn--primary:hover { background: var(--wa-dark); }
.sd-buy__plans { text-align: center; color: var(--s-primary); font-weight: 600; font-size: .9rem; }
.sd-buy__plans:hover { text-decoration: underline; }
.sd-buy__note { text-align: center; font-size: .8rem; color: var(--s-muted); margin: 0; }
.sd-buy__sec { border-top: 1px solid var(--s-border); padding-top: 1rem; display: grid; gap: .6rem; }
.sd-buy__h3 { font-size: .95rem; font-weight: 700; color: var(--s-ink); margin: 0; }
.sd-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.sd-pills span { font-size: .78rem; color: var(--s-ink-2); background: var(--bg-2); border: 1px solid var(--s-border); padding: .3rem .6rem; border-radius: 999px; }
.sd-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; border-top: 1px solid var(--s-border); padding-top: 1rem; text-align: center; }
.sd-badges strong { display: block; font-size: .82rem; color: var(--s-ink); }
.sd-badges span { font-size: .7rem; color: var(--s-muted); }

/* relacionadas */
.store-detail__related .sd-h2 { margin-bottom: 1.2rem; }
.sd-related-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .sd-related-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 900px) {
  .sd-layout { grid-template-columns: 1fr; gap: 2.25rem; }
  .sd-aside { position: static; }
  /* móvil: la caja de compra (precio + WhatsApp) va justo después de las fotos */
  .sd-main { display: contents; }
  .sd-main > * { min-width: 0; }
  .sd-gallery { order: -2; }
  .sd-aside { order: -1; }
}

/* ---- Carrusel del hero (apps destacadas) ---- */
.store-carousel { position: relative; overflow: hidden; }
.store-carousel__track { display: flex; transition: transform .55s var(--ease); }
.store-carousel__slide { flex: 0 0 100%; min-width: 0; }
.store-carousel__dots { display: flex; gap: .45rem; justify-content: center; margin-top: .9rem; }
.store-carousel__dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.28); transition: width .25s var(--ease), background .25s;
}
.store-carousel__dot:hover { background: rgba(255,255,255,.5); }
.store-carousel__dot.is-active { width: 22px; background: var(--s-primary); }


/* ---- WhatsApp: botones store verdes con logo + logo en .btn--whatsapp ---- */
.store-btn--wa {
  background: rgba(255,255,255,.05); color: var(--s-ink);
  border-color: var(--s-border); box-shadow: none;
}
.store-btn--wa:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); transform: translateY(-1px); }
.store-btn--wa .wa-ico { color: #25D366; }   /* logo verde WhatsApp como acento */
.store-btn .wa-ico, .btn .wa-ico { flex: 0 0 auto; }
.btn--whatsapp { display: inline-flex; align-items: center; gap: .5em; }
.btn--whatsapp::before {
  content: ""; flex: 0 0 auto; width: 1.15em; height: 1.15em; background: currentColor;
  -webkit-mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M12.04%202C6.58%202%202.13%206.45%202.13%2011.91c0%201.75.46%203.45%201.32%204.95L2%2022l5.25-1.38a9.9%209.9%200%20004.79%201.22h.01c5.46%200%209.91-4.45%209.91-9.91%200-2.65-1.03-5.14-2.9-7.01A9.82%209.82%200%200012.04%202Zm-3.2%205.83c.15%200%20.3%200%20.43.01.14.01.33-.05.51.39.18.44.62%201.53.68%201.64.06.11.09.24.02.39-.07.15-.11.24-.22.37-.11.13-.23.29-.33.39-.11.11-.23.23-.1.45.13.22.57.93%201.21%201.51.83.74%201.53.97%201.75%201.08.22.11.35.09.48-.06.13-.15.55-.64.7-.86.15-.22.3-.18.5-.11.2.07%201.28.6%201.5.71.22.11.37.16.42.26.06.09.06.55-.13%201.09-.19.53-1.11%201.02-1.55%201.09-.39.06-.89.08-1.44-.09-.34-.11-.76-.25-1.31-.49-2.32-.93-3.81-3.33-3.92-3.48-.12-.15-.94-1.25-.94-2.38s.59-1.69.8-1.92c.21-.23.46-.29.61-.29Z%27/%3E%3C/svg%3E");
          mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M12.04%202C6.58%202%202.13%206.45%202.13%2011.91c0%201.75.46%203.45%201.32%204.95L2%2022l5.25-1.38a9.9%209.9%200%20004.79%201.22h.01c5.46%200%209.91-4.45%209.91-9.91%200-2.65-1.03-5.14-2.9-7.01A9.82%209.82%200%200012.04%202Zm-3.2%205.83c.15%200%20.3%200%20.43.01.14.01.33-.05.51.39.18.44.62%201.53.68%201.64.06.11.09.24.02.39-.07.15-.11.24-.22.37-.11.13-.23.29-.33.39-.11.11-.23.23-.1.45.13.22.57.93%201.21%201.51.83.74%201.53.97%201.75%201.08.22.11.35.09.48-.06.13-.15.55-.64.7-.86.15-.22.3-.18.5-.11.2.07%201.28.6%201.5.71.22.11.37.16.42.26.06.09.06.55-.13%201.09-.19.53-1.11%201.02-1.55%201.09-.39.06-.89.08-1.44-.09-.34-.11-.76-.25-1.31-.49-2.32-.93-3.81-3.33-3.92-3.48-.12-.15-.94-1.25-.94-2.38s.59-1.69.8-1.92c.21-.23.46-.29.61-.29Z%27/%3E%3C/svg%3E");
}
/* Si el botón ya trae su propio <svg>, no dibujar el logo otra vez. */
.btn--whatsapp:has(svg)::before { display: none; }

/* ---- Mobile: toolbar del catálogo apila, buscador full-width ---- */
@media (max-width: 700px) {
  .store-skin .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .store-skin .catalog-search { max-width: none; margin-left: 0; width: 100%; }
  .store-skin .catalog-toolbar__count { order: 0; }
}

/* ---- Roku: grid multi-columna (sin sidebar) con las store cards ---- */
.store-roku .apps-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ---- Métodos de pago (ficha): logos reales en badge blanco ---- */
.sd-pay { display: flex; flex-wrap: wrap; gap: .5rem; }
.sd-pay__logo {
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; min-width: 46px; padding: 0 .55rem;
  background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.sd-pay__logo img { height: 17px; width: auto; display: block; }

/* ---------- Aviso de cookies ----------
   Barra abajo, no un muro modal: se puede seguir leyendo el sitio mientras se decide.
   Mobile primero: en pantallas chicas se apila y los botones ocupan el ancho. */
.ck {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; flex-direction: column; gap: .9rem;
  padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom));
  background: var(--bg-1); border-top: 1px solid var(--bg-3);
  box-shadow: 0 -10px 30px rgba(0,0,0,.45);
  animation: ck-in .35s cubic-bezier(.16,1,.3,1);
}
@keyframes ck-in { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ck { animation: none; } }

.ck__txt strong { display: block; color: var(--ink-0); font-size: .95rem; margin-bottom: .25rem; }
.ck__txt p { margin: 0; font-size: .84rem; line-height: 1.55; color: var(--ink-200); }
.ck__txt a { color: var(--orange-300, #FFFFFF); text-decoration: underline; text-underline-offset: 2px; }
.ck__btns { display: flex; gap: .5rem; }
.ck__btns .btn { flex: 1; justify-content: center; }

@media (min-width: 720px) {
  .ck {
    flex-direction: row; align-items: center; justify-content: center; gap: 2rem;
    padding: 1rem 1.5rem;
  }
  .ck__txt { max-width: 62ch; }
  .ck__btns { flex: 0 0 auto; }
  .ck__btns .btn { flex: 0 0 auto; }
}

/* ---------- Invitación a crear cuenta (home + catálogo) ----------
   A propósito NO reusa .cta-block: ese es el cierre de "hablemos por WhatsApp" y si los dos
   bloques se ven igual, el segundo se lee como relleno. Este va a dos columnas en escritorio
   (argumento | beneficios) y apilado en móvil. */
.join__box {
  display: grid; gap: 2rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  background: var(--bg-1); border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px var(--bg-3);
  position: relative; overflow: hidden;
}
.join__box::before {   /* halo tenue, mismo recurso que el resto del sitio */
  content: ''; position: absolute; inset: -40% 55% 40% -10%;
  background: radial-gradient(circle, rgba(255,255,255,0.077), transparent 62%);
  pointer-events: none;
}
.join__intro, .join__list { position: relative; }
.join__title {
  font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  line-height: 1.15; margin: .5rem 0 0; color: var(--ink-0);
}
.join__title em { font-style: normal; color: var(--orange-400); }
.join__sub { margin: .9rem 0 0; color: var(--ink-200); max-width: 46ch; }
.join__row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.join__row .btn { flex: 1 1 auto; justify-content: center; }

.join__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; align-content: center; }
.join__item { display: flex; gap: .85rem; align-items: flex-start; }
.join__item strong { display: block; color: var(--ink-0); font-size: .95rem; margin-bottom: .2rem; }
.join__item p { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--ink-300); }
.join__ico {
  flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: var(--radius-md); background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--bg-3); color: var(--orange-400);
}
.join__ico svg { width: 20px; height: 20px; }

@media (min-width: 900px) {
  .join__box { grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
  .join__row .btn { flex: 0 0 auto; }
}
.join--compact .join__box { padding: clamp(1.35rem, 1rem + 1.4vw, 2rem); }

/* ---------- Chip de "crea tu cuenta" (catálogo) ----------
   Entra por la derecha cuando la persona ya bajó por el catálogo. Esquinas cuadradas
   (nada de cápsulas) y por encima del botón flotante de contacto, nunca encima. */
.joinchip {
  position: fixed; right: 1.25rem; bottom: 6.25rem; z-index: 70;
  width: min(21rem, calc(100vw - 2.5rem));
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .95rem 1rem;
  background: var(--bg-1); border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--bg-3), 0 14px 34px rgba(0,0,0,.5);
  transform: translateX(calc(100% + 2rem)); opacity: 0;
  transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .3s ease;
}
.joinchip.is-in { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .joinchip { transition: opacity .2s ease; transform: none; }
}
.joinchip__ico {
  flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: var(--radius-md); background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--bg-3); color: var(--orange-400);
}
.joinchip__ico svg { width: 18px; height: 18px; }
.joinchip__txt { min-width: 0; }
.joinchip__txt strong { display: block; color: var(--ink-0); font-size: .9rem; }
.joinchip__txt p { margin: .2rem 0 .7rem; font-size: .8rem; line-height: 1.5; color: var(--ink-300); }
.joinchip__x {
  position: absolute; top: .4rem; right: .5rem;
  background: none; border: 0; color: var(--ink-400); font-size: 1.15rem; line-height: 1;
  cursor: pointer; padding: .25rem .35rem; border-radius: var(--radius-sm);
}
.joinchip__x:hover { color: var(--ink-100); background: var(--bg-2); }

/* IVA: texto estable y desglose legible, sin alertas ni animaciones. */
.catalog-tax-label { display:block; flex-basis:100%; margin-top:.25rem; font:500 .75rem/1.4 var(--font-body,sans-serif); color:var(--ink-300); letter-spacing:normal; text-transform:none; white-space:normal; }
.catalog-tax-breakdown { margin:0 0 1.2rem; padding:.9rem 0; border-top:1px solid var(--bg-3); border-bottom:1px solid var(--bg-3); font-size:.875rem; line-height:1.6; }
.catalog-tax-breakdown > div { display:flex; justify-content:space-between; gap:1rem; }
.catalog-tax-breakdown dt { font-weight:400; color:var(--ink-300); }
.catalog-tax-breakdown dd { margin:0; font-variant-numeric:tabular-nums; white-space:nowrap; }
.catalog-tax-breakdown .catalog-tax-total { margin-top:.4rem; padding-top:.4rem; border-top:1px solid var(--bg-3); font-weight:700; }
.catalog-tax-breakdown .catalog-tax-total dt { color:inherit; font-weight:700; }
.packhero__price:has(.catalog-tax-label) { flex-wrap:wrap; }

@media (max-width: 560px) {
  /* En móvil el botón flotante manda: el chip se corre a la izquierda y no lo tapa. */
  .joinchip { right: .75rem; left: .75rem; width: auto; bottom: 5.5rem; }
}

/* ---- Markdown: videos y tablas en posts y descripciones (md_to_html) ---- */
.prose-stream .md-video { margin: 1.75rem 0; }
.prose-stream .md-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; }
.prose-stream .md-video figcaption { margin-top: .6rem; font-size: .9rem; line-height: 1.5; color: var(--ink-300); text-align: center; }
.prose-stream .md-table { overflow-x: auto; margin: 1.5rem 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--bg-3); }
.prose-stream .md-table table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.prose-stream .md-table th, .prose-stream .md-table td { padding: .7rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bg-3); }
.prose-stream .md-table th { color: var(--ink-0); font-weight: 600; background: var(--bg-2); }
.prose-stream .md-table tr:last-child td { border-bottom: 0; }

/* ==== SUPER REBRANDS — blanco y negro ==== */
/* Lo que antes era rojo ahora es blanco: el texto encima pasa a negro. */
.btn--primary, .btn--primary:hover,
.tab.is-active, .price-card__ribbon, .fab-btn, .fab-btn:hover,
.admin-btn-primary, .admin-btn-primary:hover,
.app-card__chip--hot, .app-card__chip--roku, .app-card__chip--house,
.hero__fresh-chip, .tp-flow__step-pill,
.filter-chip.is-active, .filter-chip.roku.is-active,
.bg-orange-400, .bg-gold-400, .tcard__avatar { color: var(--bg-0); }
.btn--primary { box-shadow: 0 10px 30px -14px rgba(255,255,255,0.35); }
.btn--primary:hover { background: #E4E4E7; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55); color: var(--ink-0); }
.site-header__lang:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45); }
.tcard__avatar { background: linear-gradient(135deg, #FFFFFF, #A1A1AA); }
::selection { background: rgba(255,255,255,0.22); color: #fff; }
::-webkit-scrollbar-thumb:hover { background: var(--bg-4); }

/* Palabra destacada del título: plata en vez de color. */
.hero__title em {
  background: linear-gradient(180deg, #FFFFFF 20%, #9C9CA3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Home hero: título corto + vitrina con foto y precio ---- */
.hero--home { padding: 7.5rem 0 4.5rem; }
.hero__grid--home { gap: 2.75rem; }
@media (min-width: 1024px) {
  .hero__grid--home { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 3.5rem; }
}
.hero--home .hero__title { font-size: clamp(2.6rem, 5.4vw, 4.5rem); }
.hero--home .hero__sub { margin-top: 1.25rem; font-size: 1.125rem; color: var(--ink-200); max-width: 30rem; }
.hero--home .hero__cta-row { margin-top: 2rem; }
.hero--home .hero__cta-row .btn--lg { padding: 1.05rem 1.35rem; }

.hero-show { display: grid; gap: 1rem; min-width: 0; }
.hero-show__main {
  display: block; overflow: hidden; border-radius: var(--radius-xl); background: var(--bg-1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 30px 70px -30px rgba(0,0,0,.8);
  transition: box-shadow .25s var(--ease);
}
.hero-show__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.hero-show__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.hero-show__main:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 30px 70px -30px rgba(0,0,0,.8); }
.hero-show__main:hover .hero-show__media img { transform: scale(1.03); }
.hero-show__info {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1rem 1.25rem 1.1rem;
}
.hero-show__text { display: grid; gap: .35rem; min-width: 0; }
.hero-show__label {
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-200);
}
.hero-show__name {
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 600; line-height: 1.15;
  color: var(--ink-0); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.hero-show__price { display: grid; justify-items: end; gap: .1rem; flex-shrink: 0; }
.hero-show__price s { font-size: .9rem; color: var(--ink-300); }
.hero-show__price strong {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1; color: var(--ink-0);
}
.hero-show__price .hero-show__quote { font-size: 1.1rem; }

.hero-show__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.hero-show__mini { display: grid; gap: .45rem; min-width: 0; }
.hero-show__thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--bg-2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transition: box-shadow .25s var(--ease);
}
.hero-show__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.hero-show__mini:hover .hero-show__thumb { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.hero-show__mini:hover .hero-show__thumb img { transform: scale(1.04); }
.hero-show__mini-name {
  font-size: .875rem; font-weight: 600; color: var(--ink-50); line-height: 1.25;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.hero-show__mini-price { font-size: .875rem; font-weight: 700; color: var(--ink-0); }
.hero-show__mini-price s { font-weight: 400; color: var(--ink-300); margin-right: .2rem; }
.hero-show__all { justify-self: end; font-size: .875rem; color: var(--ink-200); }
.hero-show__all:hover { color: var(--ink-0); }
@media (max-width: 639px) {
  .hero--home { padding: 6rem 0 3rem; }
  .hero-show__info { padding: .85rem 1rem .95rem; }
  .hero-show__row { gap: .6rem; }
  .hero-show__mini-name, .hero-show__mini-price { font-size: .75rem; }
}
/* ---- Catálogo /apps: título corto + destacadas con foto y precio ---- */
.cat-hero { padding: 2rem 0 2.5rem; }
.cat-hero__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.25rem 2rem; margin-top: 1.1rem;
}
.cat-hero__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; }
.cat-hero__meta { margin-top: .6rem; color: var(--ink-300); font-size: 1rem; }
.cat-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cat-hero__actions .btn svg { width: 18px; height: 18px; }
.cat-hero__feat { margin-top: 2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 899px) { .cat-hero__feat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* ---- Blanco y negro en todo el sitio: sin colores de acento ---- */
:root { --signal-live: #E4E4E7; }
.store-skin { --s-primary-d: #E4E4E7; --s-green: var(--ink-200); --s-amber: #FFFFFF; }
.store-btn--primary, .store-btn--primary:hover,
.store-card__cta, .store-card__cta:hover,
.store-cats button.is-active { color: var(--bg-0); }
.store-cats button.is-active span { background: rgba(0,0,0,.12); color: var(--bg-0); }
.store-card__badge.is-popular { background: #fff; color: var(--bg-0); }
.store-card__pricetag { color: var(--ink-0); background: rgba(255,255,255,.1); }
.store-skin .catalog-search__input:focus { border-color: rgba(255,255,255,.45); box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.store-btn--wa .wa-ico { color: currentColor; }
/* Fondos de respaldo e íconos de app: grafito, no el color de cada app */
.store-card__ph, .store-card__icon, .sd-buy__icon {
  background: linear-gradient(140deg, #2A2A30, #111114); color: #fff;
}
.app-card__placeholder {
  background: linear-gradient(150deg, #1E1E23 0%, var(--bg-1) 72%) !important;
}
.app-card__placeholder::before, .app-card__placeholder::after { opacity: .35; filter: grayscale(1); }
.app-card__placeholder span { color: #fff; text-shadow: none; }
/* WhatsApp y Telegram con el mismo estilo que el resto de botones */
.btn--whatsapp { background: #fff; color: var(--bg-0); box-shadow: 0 10px 30px -14px rgba(255,255,255,.35); }
.btn--whatsapp:hover { background: #E4E4E7; box-shadow: 0 10px 30px -14px rgba(255,255,255,.35); }
.btn--telegram { background: transparent; color: var(--ink-0); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn--telegram:hover { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
/* ---- Ficha de app: fotos + compra arriba (móvil: fotos → precio → resto) ---- */
.sd-layout { grid-template-areas: "shots aside" "main aside"; row-gap: 2.25rem; }
.sd-shots { grid-area: shots; min-width: 0; }
.sd-main  { grid-area: main; }
.sd-aside { grid-area: aside; align-self: start; }
.store-detail__top { padding-top: 5.5rem !important; }
.sd-buy .store-btn--primary { background: #fff; color: var(--bg-0); }
.sd-buy .store-btn--primary:hover { background: #E4E4E7; }
.sd-buy__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.1rem; font-size: .875rem; }
.sd-buy__links a { color: var(--ink-200); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.sd-buy__links a:hover { color: var(--ink-0); }
@media (max-width: 900px) {
  .sd-layout { grid-template-areas: "shots" "aside" "main"; row-gap: 1.5rem; }
  .sd-main { display: grid; }
  .sd-gallery, .sd-aside { order: 0; }
  .store-detail__top { padding-top: 4.75rem !important; }
  .sd-breadcrumb { margin-bottom: .9rem; font-size: .8rem; }
  .sd-buy { padding: 1.1rem; }
  .sd-buy__price { font-size: 1.85rem; }
}
/* ---- Móvil: aviso de cookies compacto y categorías en una fila ---- */
@media (max-width: 719px) {
  .ck { padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom)); gap: .55rem; }
  .ck__txt strong { display: none; }
  .ck__txt p { font-size: .8rem; line-height: 1.45; }
}
@media (max-width: 900px) {
  .store-side-custom { display: none; }
  .store-sidebar { grid-template-columns: 1fr !important; }
  .store-side-card { padding: .5rem; }
  .store-side-card h3 { display: none; }
  .store-cats { display: flex; gap: .5rem; }
  .store-cats li { flex: 1; }
  .store-cats button { justify-content: center; gap: .5rem; }
}
/* ---- Estilo uniforme: sin rayitas decorativas ni bordes izquierdos ---- */
.eyebrow, .hero-tag, .hero__fresh-eyebrow {
  font-family: var(--font-sans); font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--ink-300);
}
.eyebrow::before, .hero-tag::before, .phone-frame__row::before { display: none; }
.hero-tag { gap: .6rem; }
.prose-stream blockquote {
  border-left: 0; padding: .9rem 1.1rem; border-radius: var(--radius-md);
  background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--bg-3); font-style: normal;
}
.prose-stream a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
/* ---- Landings de producto: título → foto → precio/compra (móvil en ese orden) ---- */
.lp-hero { padding: 6.5rem 0 3.5rem; }
.lp-hero__grid { grid-template-areas: "top" "visual" "buy"; gap: 1.4rem; }
.lp-hero__top { grid-area: top; min-width: 0; }
.lp-hero__visual { grid-area: visual; min-width: 0; }
.lp-hero__buy { grid-area: buy; min-width: 0; }
@media (min-width: 1024px) {
  .lp-hero { padding: 7.5rem 0 4.5rem; }
  .lp-hero__grid {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    grid-template-areas: "top visual" "buy visual"; column-gap: 3.5rem; row-gap: 1.5rem; align-items: start;
  }
  .lp-hero__top { align-self: end; }
  .lp-hero__visual { align-self: center; }
}
.lp-hero__visual img, .lp-hero__visual video { display: block; width: 100%; height: auto; border-radius: var(--radius-xl); }
.lp-hero__visual > * { border-radius: var(--radius-xl); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 70px -30px rgba(0,0,0,.85); }
.lp-badge {
  display: inline-block; margin-top: 1rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-200); padding: .4rem .75rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.lp-title { margin-top: .9rem; font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.lp-title small { display: block; margin-top: .55rem; font-size: .42em; font-weight: 500; line-height: 1.3; color: var(--ink-200); letter-spacing: 0; }
.lp-sub { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--ink-200); max-width: 34rem; }
.lp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .85rem; margin-top: 1.1rem; }
.lp-price strong { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 2.8rem); font-weight: 700; line-height: 1; color: var(--ink-0); }
.lp-price s { font-size: 1.15rem; color: var(--ink-300); }
.lp-price span { font-size: .9rem; color: var(--ink-300); }
.lp-note { margin: .35rem 0 0; font-size: .875rem; color: var(--ink-300); }
.lp-hero .hero__cta-row { margin-top: 1.4rem; }
@media (max-width: 639px) {
  .lp-hero .hero__cta-row .btn { width: 100%; }
}
/* Listas de las landings: marca simple, sin puntos de color */
.spr-list li::before { content: "✓"; width: auto; height: auto; top: 0; left: 0; border-radius: 0; background: none; box-shadow: none; color: var(--ink-200); font-weight: 700; }