/* PlayTVH marketing — mirrors lib/core/theme/app_tokens.dart + AppTheme */

:root {
  /* AppTokens */
  --accent: #0e8f8a;
  --accent-soft: #3dd6c6;
  --accent-deep: #0a6b68;
  --dark-surface: #000000;
  --dark-surface-high: #141414;
  --dark-surface-highest: #1c1c1e;
  --stage-dark: #0a0e14;
  --tv-surface: #05070b;
  --tv-surface-low: #0a1016;
  --tv-container: #121820;
  --tv-container-high: #1a222c;
  --tv-container-highest: #24303c;
  --over-video: #0b0f16;
  --live: #e53935;
  --favorite: #ffc107;
  --success: #2e9b6b;
  --tertiary: #6bb0ff;

  --ink: #f2f4f7;
  --ink-soft: #e6eaf0;
  --muted: #a8b2be;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-ui: "Outfit", "Segoe UI", sans-serif;

  --space: clamp(1rem, 2.5vw, 2rem);
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 88% -8%, rgba(61, 214, 198, 0.13), transparent 55%),
    radial-gradient(900px 500px at -12% 25%, rgba(107, 176, 255, 0.08), transparent 50%),
    linear-gradient(180deg, var(--dark-surface) 0%, var(--stage-dark) 42%, var(--dark-surface) 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #7ee8dc;
}

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

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--space)));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.72) 70%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.08rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

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

/* —— Type —— */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 38ch;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}

.section {
  padding: clamp(3.75rem, 9vw, 6rem) 0;
}

.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.section h2.display {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  max-width: 18ch;
  margin-bottom: 0.9rem;
}

.section-intro {
  margin-bottom: 2.25rem;
}

.prose-muted {
  color: var(--muted);
  max-width: 48ch;
}

/* —— Buttons (FilledButton / Outlined — radiusSm) —— */
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

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

.btn-primary {
  background: var(--accent-soft);
  color: var(--dark-surface);
}

.btn-primary:hover {
  background: #6fe0d2;
  color: var(--dark-surface);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}

.btn-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* —— Hero —— */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
  min-height: calc(100svh - 4.5rem);
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(2.5rem, 6vw, 4rem);
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 8vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 0 0 1rem;
  color: var(--ink);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
  max-width: 18ch;
}

.hero .lede {
  margin-bottom: 1.75rem;
}

.hero-visual {
  position: relative;
  min-height: min(72vh, 680px);
  display: grid;
  place-items: center;
}

.hero-plane {
  position: absolute;
  inset: 4% -6vw 8% 4%;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(26, 34, 44, 0.95), rgba(10, 14, 20, 0.55) 50%, transparent),
    radial-gradient(circle at 70% 30%, rgba(61, 214, 198, 0.1), transparent 55%);
  border: 1px solid var(--line);
  z-index: 0;
}

.hero-stack {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 1rem;
  align-items: end;
  animation: hero-rise 1s var(--ease) both;
}

.hero-stack .phone {
  justify-self: end;
  z-index: 2;
}

.hero-stack .shot-wide {
  transform: translateY(-8%) scale(0.98);
  max-width: none;
}

/* —— Why —— */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(20, 20, 20, 0.55);
}

.why-item {
  padding: 1.5rem 1.35rem;
  border-right: 1px solid var(--line);
}

.why-item:last-child {
  border-right: none;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}

.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* —— Features —— */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.feature-row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.feature-row.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-visual {
  order: 1;
}

.feature-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.feature-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 40ch;
}

.feature-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.feature-list li {
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding-left: 1rem;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 2px;
  background: var(--accent-soft);
}

/* —— Platforms —— */
.platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.platform-list li {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(28, 28, 30, 0.65);
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.platform-list span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--muted);
}

.platform-note {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* —— Pricing —— */
.price-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2.5rem;
  align-items: center;
  padding: 1.75rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(61, 214, 198, 0.28);
  background:
    linear-gradient(135deg, rgba(61, 214, 198, 0.1), transparent 45%),
    rgba(20, 20, 20, 0.7);
}

.price {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}

.price-meta {
  color: var(--muted);
  margin: 0;
  max-width: 40ch;
}

.price-meta strong {
  color: var(--ink-soft);
  font-weight: 600;
}

/* —— Stores —— */
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.store-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 48ch;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.75rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 0.9rem;
}

.site-footer a:first-child {
  margin-left: 0;
}

.site-footer a:hover {
  color: var(--accent-soft);
}

/* —— Legal pages —— */
.page-main {
  width: min(720px, calc(100% - 2 * var(--space)));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.page-main .back {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.page-main .back:hover {
  color: var(--accent-soft);
}

.page-main h1.display {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  margin: 0.5rem 0 0.35rem;
}

.page-main .meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.75rem;
}

.page-main h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 2.25rem 0 0.65rem;
  color: var(--ink);
}

.page-main p,
.page-main li {
  color: var(--muted);
}

.page-main ul,
.page-main ol {
  padding-left: 1.2rem;
}

.page-main li + li {
  margin-top: 0.4rem;
}

.page-main code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}

.page-main strong {
  color: var(--ink-soft);
  font-weight: 600;
}

/* ========== Device mockups (app chrome) ========== */

.phone {
  width: min(292px, 72vw);
  aspect-ratio: 9 / 19.4;
  border-radius: 34px;
  border: 1px solid var(--line-strong);
  background: #050505;
  padding: 9px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.phone-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  background: var(--dark-surface);
}

.shot-wide {
  display: block;
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: #020305;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.phone-screen {
  height: 100%;
  border-radius: 26px;
  background: var(--dark-surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  background: #000;
  border-radius: 14px;
  z-index: 3;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 1rem 0.2rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.phone-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.9rem 0.7rem;
  gap: 0.5rem;
}

.phone-appbar strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.chip {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-soft);
  background: rgba(61, 214, 198, 0.16);
  border: 1px solid rgba(61, 214, 198, 0.28);
  padding: 0.28rem 0.5rem;
  border-radius: var(--radius-sm);
}

.chip-row {
  display: flex;
  gap: 0.35rem;
  padding: 0 0.75rem 0.55rem;
  overflow: hidden;
}

.chip-row .chip {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  font-weight: 600;
}

.chip-row .chip.on {
  color: var(--accent-soft);
  background: rgba(61, 214, 198, 0.16);
  border-color: rgba(61, 214, 198, 0.28);
}

.channel-list {
  flex: 1;
  overflow: hidden;
  padding: 0 0.55rem 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Channel card — matches app card plate + focus rim */
.ch-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.55rem;
  align-items: start;
  padding: 0.55rem 0.55rem 0.5rem;
  border-radius: var(--radius-md);
  background: var(--dark-surface-high);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ch-card.is-focus {
  border-color: rgba(242, 244, 247, 0.88);
  background: #1a1a1c;
  box-shadow: 0 0 0 1px rgba(61, 214, 198, 0.25);
}

.ch-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--ink);
  background: var(--dark-surface-highest);
  letter-spacing: -0.02em;
}

.ch-meta {
  min-width: 0;
}

.ch-name {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.2rem;
}

.ch-name strong {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.star {
  color: var(--favorite);
  font-size: 0.65rem;
  line-height: 1;
}

.now-block,
.next-block {
  font-size: 0.58rem;
  line-height: 1.25;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-block b {
  color: var(--ink-soft);
  font-weight: 600;
}

.live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--live);
  margin-right: 0.25rem;
  vertical-align: middle;
}

.ch-bar {
  margin-top: 0.28rem;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.ch-bar i {
  display: block;
  height: 100%;
  background: var(--accent-soft);
  border-radius: 2px;
}

.phone-tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.92);
  padding: 0.5rem 0.2rem 0.65rem;
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  gap: 0.1rem;
}

.phone-tabbar span {
  position: relative;
  padding-top: 0.15rem;
}

.phone-tabbar span.is-on {
  color: var(--accent-soft);
}

.phone-tabbar span.is-on::before {
  content: "";
  position: absolute;
  top: -0.35rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: rgba(61, 214, 198, 0.55);
}

/* Player */
.player-screen {
  background: var(--video-letterbox, #000);
}

.player-stage {
  flex: 1;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(61, 214, 198, 0.1), transparent 52%),
    linear-gradient(180deg, #101820, #000);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.player-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 2.1rem 0.85rem 1.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.player-top strong {
  font-size: 0.78rem;
  font-weight: 700;
}

.player-top span {
  font-size: 0.58rem;
  color: var(--muted);
}

.glass-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 15, 22, 0.55);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: var(--ink);
}

.player-bottom {
  padding: 1.5rem 0.85rem 0.95rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent);
  z-index: 2;
}

.player-bottom .title {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.12rem;
}

.player-bottom .sub {
  font-size: 0.6rem;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.player-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.player-progress i {
  display: block;
  height: 100%;
  width: 42%;
  background: var(--accent-soft);
  border-radius: 2px;
  animation: progress-drift 8s ease-in-out infinite alternate;
}

.player-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.58rem;
  color: var(--muted);
}

.player-chip {
  border: 1px solid rgba(61, 214, 198, 0.4);
  color: var(--accent-soft);
  background: rgba(61, 214, 198, 0.1);
  padding: 0.18rem 0.4rem;
  border-radius: 8px;
  font-weight: 700;
}

.zap-card {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 28%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 15, 22, 0.82);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.7rem;
  animation: zap-pulse 5s var(--ease) infinite;
  z-index: 2;
}

.zap-card .zlogo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--tv-container-highest);
  color: var(--accent-soft);
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
}

.zap-card strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
}

.zap-card span {
  font-size: 0.58rem;
  color: var(--muted);
}

/* TV shell with side rail */
.tv-shell {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #020305;
  padding: 7px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.tv-screen {
  height: 100%;
  border-radius: 9px;
  background: var(--tv-surface);
  display: grid;
  grid-template-columns: 72px 1fr;
  overflow: hidden;
}

.tv-rail {
  background: var(--tv-surface-low);
  border-right: 1px solid var(--line);
  padding: 0.65rem 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tv-rail .rail-item {
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.4rem 0.35rem;
  border-radius: 8px;
  text-align: center;
}

.tv-rail .rail-item.on {
  color: var(--ink);
  background: rgba(61, 214, 198, 0.16);
  color: var(--accent-soft);
}

.tv-main {
  padding: 0.65rem 0.7rem;
  min-width: 0;
  background: linear-gradient(180deg, var(--tv-container), var(--tv-surface));
}

.tv-main .tv-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.epg {
  display: grid;
  gap: 0.3rem;
}

.epg-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.3rem;
  min-height: 30px;
}

.epg-ch {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  padding: 0 0.25rem;
}

.epg-blocks {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 0.22rem;
}

.epg-blocks b {
  display: flex;
  align-items: center;
  padding: 0.28rem 0.35rem;
  font-size: 0.52rem;
  font-weight: 600;
  border-radius: 6px;
  background: var(--tv-container-high);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.epg-blocks b.on {
  background: rgba(61, 214, 198, 0.16);
  border-color: rgba(61, 214, 198, 0.4);
  color: var(--ink);
}

/* Wide EPG for features */
.tv-wide {
  width: 100%;
  max-width: 520px;
  aspect-ratio: auto;
}

.tv-wide .tv-screen {
  display: block;
  padding: 0.85rem;
  min-height: 220px;
}

.tv-wide .tv-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.7rem;
}

.tv-wide .tv-head strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.tv-wide .tv-head span {
  font-size: 0.72rem;
  color: var(--muted);
}

.tv-wide .epg-row {
  grid-template-columns: 70px 1fr;
  min-height: 38px;
}

.tv-wide .epg-ch {
  font-size: 0.7rem;
}

.tv-wide .epg-blocks b {
  font-size: 0.62rem;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
}

/* —— Motion —— */
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progress-drift {
  from {
    width: 30%;
  }
  to {
    width: 68%;
  }
}

@keyframes zap-pulse {
  0%,
  68%,
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
  76%,
  90% {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

  .hero-stack,
  .player-progress i,
  .zap-card,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
    order: -1;
  }

  .hero-plane {
    inset: -2% -4% 18% -4%;
  }

  .hero-stack {
    grid-template-columns: 1fr;
    justify-items: center;
    width: auto;
  }

  .hero-stack .shot-wide {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .why-item:last-child {
    border-bottom: none;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-visual {
    order: unset;
  }

  .platform-list {
    grid-template-columns: 1fr 1fr;
  }

  .price-panel {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 520px) {
  .nav a:nth-child(n + 4) {
    display: none;
  }

  .platform-list {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: relative;
  }
}
