/* ============================================================
   IPTVRebrand — 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:  #0A0A0B;
  --bg-1:  #131316;
  --bg-2:  #1C1C20;
  --bg-3:  #26262C;
  --bg-4:  #313138;

  /* 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:  #FFE6E8;
  --orange-100: #FFB8BE;
  --orange-200: #FF7A85;
  --orange-300: #FF3744;
  --orange-400: #E50914;   /* main — Netflix red */
  --orange-500: #B30710;
  --orange-600: #80050B;

  /* 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: #C9A0FF;
  --roku-400: #A86FDD;
  --roku-600: #662D91;

  --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(3.5rem, 8vw, 6rem);

  --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 0 40px -8px rgba(229,9,20,0.5);   /* 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(229,9,20,0.40); 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(229,9,20,0.08), 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; }

.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__cta { margin-top: 1rem; display: flex; }

@media (min-width: 1024px) {
  .site-header__nav { display: flex; }
  .site-header__cta { 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);
  color: #fff;
  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: #fff;
  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;
  letter-spacing: 0.18em; color: var(--orange-400);
}
.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.22em;
  text-transform: uppercase; color: var(--ink-300);
}
.hero-tag span:first-child { color: var(--orange-400); }
.hero-tag__sep {
  width: 1px; height: 14px; 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 {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(229,9,20,0.18), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(255,255,255,0.10), transparent 70%);
}
.hero__grid {
  display: grid; gap: 3rem; align-items: center;
  max-width: var(--max-wide); margin-inline: auto;
  padding: 0 1.25rem; position: relative;
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display-2xl);
  line-height: 0.98; letter-spacing: -0.035em; color: var(--ink-0);
}
.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: 2rem; display: flex; flex-wrap: wrap; gap: 0.875rem; }
.hero__pills { margin-top: 2rem; }
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; }

.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(229,9,20,0.25), 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(229,9,20,0.20), 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 {
  position: absolute; inset: -30px -10px -10px;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(229,9,20,0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(168,111,221,0.15), transparent 65%);
  filter: blur(28px);
  border-radius: 24px;
  opacity: .9;
  transition: opacity .4s var(--ease);
}
.tv-frame:hover .tv-frame__glow { opacity: 1.2; }

@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(229,9,20,0.4), 0 20px 50px -16px rgba(229,9,20,0.25);
}
.feature-card:hover::before { opacity: 1; }
.feature-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: rgba(229,9,20,0.12); 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, 1fr); gap: 1rem; }
@media (min-width: 768px) { .apps-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px){ .apps-grid { grid-template-columns: repeat(4, 1fr); } }

.app-card {
  position: relative; display: flex; flex-direction: column;
  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(-4px);
  box-shadow: inset 0 0 0 1px rgba(229,9,20,0.5),
              0 24px 48px -16px rgba(229,9,20,0.25),
              0 8px 24px -8px rgba(0,0,0,0.6);
}
.app-card:hover::before { opacity: 1; }

/* Media: cover full-bleed with title overlay */
.app-card__media {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
}
.app-card__media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease);
}
.app-card:hover .app-card__media img { transform: scale(1.06); }
.app-card__placeholder {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
}
.app-card__placeholder span {
  font-family: var(--font-display); font-size: 3rem; font-weight: 700;
  color: rgba(229,9,20,.45); letter-spacing: -0.04em;
}

/* 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(229,9,20,.92); 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(168,111,221,.92); color: #fff;
}

/* 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: 2rem 1rem .875rem;
  background: linear-gradient(to top, rgba(10,10,11,.95) 30%, rgba(10,10,11,.7) 60%, transparent);
}
.app-card__title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--ink-0); line-height: 1.2; letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.app-card__hover {
  display: block; margin-top: .25rem;
  font-family: var(--font-mono); font-size: .6875rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--orange-400);
  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(168,111,221,.15); 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: .5625rem;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--ink-400); margin-bottom: .25rem;
}
.app-card__price-amount {
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 700;
  color: var(--orange-400); letter-spacing: -0.02em;
}
.app-card__price-note {
  font-family: var(--font-mono); font-size: .5625rem;
  text-transform: uppercase; letter-spacing: .12em;
  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 {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
  color: var(--orange-400); line-height: 1; font-feature-settings: 'tnum';
}
.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(229,9,20,0.05));
  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__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(229,9,20,0.05); }
.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(168,111,221,0.20), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(102,45,145,0.15), 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(168,111,221,0.15); color: var(--roku-300);
  box-shadow: inset 0 0 0 1px rgba(168,111,221,0.4);
  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(102,45,145,0.4), var(--bg-1));
  box-shadow: inset 0 0 0 1px rgba(168,111,221,0.3), 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(168,111,221,0.15); box-shadow: inset 0 0 0 1px rgba(168,111,221,0.3);
  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(168,111,221,0.25),
              0 0 0 1px rgba(168,111,221,0.40);
}
.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(229,9,20,0.08));
  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(229,9,20,0.18), 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(229,9,20,0.12); color: var(--orange-300); box-shadow: inset 0 0 0 1px rgba(229,9,20,0.3); }
.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(168,111,221,0.10);color: var(--roku-300);   box-shadow: inset 0 0 0 1px rgba(168,111,221,0.3); }
.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(168,111,221,0.35),
              0 20px 50px -16px rgba(168,111,221,0.25);
}
/* 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(168,111,221,0.10); 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(168,111,221,0.6);
  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(168,111,221,0.12);
  box-shadow: inset 0 0 0 1px rgba(168,111,221,0.30);
  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(168,111,221,0.06);
  box-shadow: inset 0 0 0 1px rgba(168,111,221,0.20);
  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(168,111,221,0.4),
              0 20px 50px -16px rgba(168,111,221,0.25);
}
.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(168,111,221,0.5);
}
.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(168,111,221,0.12);
  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(168,111,221,0.06);
  box-shadow: inset 0 0 0 1px rgba(168,111,221,0.20);
  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(168,111,221,0.40);
}
.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(229,9,20,.30); }
.ring-gold-400\/40 { box-shadow: 0 0 0 1px rgba(229,9,20,.40); }
.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(229,9,20,0.03), 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(229,9,20,0.4), 0 20px 50px -16px rgba(229,9,20,0.2);
}
.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(229,9,20,0.4), 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(229,9,20,.3);
}
.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(229,9,20,0.06), 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: cover; }

/* ---------- 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/10; }
  .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; }
}
