:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-soft: #0b1017;
  --surface: #101722;
  --surface-2: #141e2c;
  --ink: #f4efe6;
  --muted: #a5b0be;
  --line: rgba(244, 239, 230, 0.14);
  --amber: #f5b642;
  --aqua: #20c7d9;
  --green: #54d29b;
  --red: #ff5a3d;
  --shadow: rgba(0, 0, 0, 0.48);
  --radius: 8px;
  --max: 1180px;
  font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(244, 239, 230, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 239, 230, 0.028) 1px, transparent 1px),
    var(--bg);
  background-size: 80px 80px;
  color: var(--ink);
}

main {
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(245, 182, 66, 0.12), transparent 36%, rgba(32, 199, 217, 0.1) 72%, transparent);
  opacity: 0.85;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
  scroll-margin-top: 96px;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 9, 13, 0.74);
  color: var(--ink);
  outline: none;
  padding: 14px 15px;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

label span,
legend {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.field-hint {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

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

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  margin: 12px;
  padding: 10px 14px;
  clip: auto;
  background: var(--amber);
  color: #0a0d13;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: var(--radius);
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(244, 239, 230, 0.07);
}

.site-nav a.nav-login {
  margin-left: 6px;
  color: #071017;
  background: var(--ink);
  font-weight: 900;
}

.site-nav a.nav-login:hover {
  color: #071017;
  background: var(--amber);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 239, 230, 0.06);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero-section {
  position: relative;
  scroll-margin-top: 86px;
  min-height: min(860px, calc(100vh - 76px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 44px) 56px;
  overflow-x: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: clamp(18px, 4vw, 44px);
  right: clamp(18px, 4vw, 44px);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 182, 66, 0.7), rgba(32, 199, 217, 0.5), transparent);
}

.cinematic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 34%, rgba(32, 199, 217, 0.18), transparent 28%),
    radial-gradient(circle at 18% 52%, rgba(245, 182, 66, 0.11), transparent 34%);
}

.hero-copy,
.hero-visual,
.band,
.site-footer {
  position: relative;
}

.hero-copy,
.hero-visual,
.media-copy,
.media-device-panel,
.platform-shell,
.platform-card {
  min-width: 0;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.45rem, 4.35vw, 4.35rem);
  line-height: 1.04;
  font-weight: 900;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.65;
}

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

.button,
.copy-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 800;
}

.button.primary {
  background: var(--amber);
  color: #11100b;
  box-shadow: 0 16px 38px rgba(245, 182, 66, 0.2);
}

.button.secondary,
.copy-button {
  background: rgba(244, 239, 230, 0.07);
  color: var(--ink);
  border-color: var(--line);
}

.button.full {
  width: 100%;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 640px;
  margin: 34px 0 0;
  padding: 1px;
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.proof-strip div {
  min-width: 0;
  padding: 18px;
  background: rgba(16, 23, 34, 0.88);
}

.proof-strip dt {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
}

.proof-strip dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.hero-visual {
  align-self: end;
}

.multi-device-stage {
  min-height: 650px;
  position: relative;
  display: block;
  isolation: isolate;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.multi-device-stage::before,
.multi-device-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.multi-device-stage::before {
  z-index: -4;
  inset: 2% -2% 4%;
  border: 1px solid rgba(244, 239, 230, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(244, 239, 230, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 239, 230, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 76% 18%, rgba(32, 199, 217, 0.2), transparent 24%),
    radial-gradient(circle at 18% 86%, rgba(245, 182, 66, 0.16), transparent 24%),
    linear-gradient(135deg, #111721 0%, #06080d 62%, #161017 100%);
  background-size: 54px 54px, 54px 54px, auto, auto, auto;
  box-shadow:
    inset 0 1px 0 rgba(244, 239, 230, 0.08),
    0 46px 120px rgba(0, 0, 0, 0.46);
}

.multi-device-stage::after {
  z-index: -3;
  left: 6%;
  right: 3%;
  bottom: 3%;
  height: 22%;
  border-radius: 50%;
  background:
    linear-gradient(90deg, rgba(32, 199, 217, 0.2), rgba(245, 182, 66, 0.12), transparent),
    rgba(0, 0, 0, 0.36);
  filter: blur(34px);
  opacity: 0.8;
}

.room-layer {
  position: absolute;
  z-index: -2;
  inset: 7% 3% 5%;
  overflow: hidden;
  border-radius: 20px;
}

.room-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 58%, rgba(244, 239, 230, 0.08) 58% 59%, rgba(0, 0, 0, 0.22) 59%),
    linear-gradient(90deg, rgba(244, 239, 230, 0.05), transparent 32%, rgba(244, 239, 230, 0.03));
}

.room-window {
  position: absolute;
  left: 5%;
  top: 12%;
  width: 17%;
  height: 38%;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(244, 239, 230, 0.09) 49% 51%, transparent 52%),
    linear-gradient(180deg, rgba(32, 199, 217, 0.18), rgba(8, 13, 19, 0.36));
}

.room-console {
  position: absolute;
  right: 9%;
  bottom: 16%;
  width: 46%;
  height: 8%;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(244, 239, 230, 0.16), rgba(244, 239, 230, 0.06));
  box-shadow: 0 22px 30px rgba(0, 0, 0, 0.34);
}

.room-sofa {
  position: absolute;
  left: 6%;
  bottom: 11%;
  width: 30%;
  height: 12%;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(180deg, rgba(244, 239, 230, 0.16), rgba(84, 93, 103, 0.18));
}

.room-viewer {
  position: absolute;
  left: 20%;
  bottom: 15%;
  width: 42px;
  height: 74px;
  border-radius: 999px 999px 18px 18px;
  background:
    radial-gradient(circle at 50% 17%, rgba(244, 239, 230, 0.28) 0 18%, transparent 19%),
    linear-gradient(180deg, transparent 24%, rgba(7, 9, 13, 0.72) 25%);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.32));
}

.room-plant {
  position: absolute;
  right: 4%;
  bottom: 24%;
  width: 46px;
  height: 84px;
  border-radius: 999px 999px 6px 6px;
  background:
    radial-gradient(circle at 30% 22%, rgba(84, 210, 155, 0.42), transparent 36%),
    radial-gradient(circle at 66% 16%, rgba(32, 199, 217, 0.28), transparent 34%),
    linear-gradient(180deg, transparent 58%, rgba(244, 239, 230, 0.12) 59%);
}

.hero-tv-shell {
  position: absolute;
  z-index: 2;
  left: 8%;
  top: 10%;
  width: min(760px, 88%);
  transform: rotateY(-7deg) rotateX(2deg);
  transform-origin: center;
  filter: drop-shadow(0 38px 74px rgba(0, 0, 0, 0.5));
  animation: hero-tv-breathe 7.5s ease-in-out infinite;
}

.hero-tv-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 10px solid #161b23;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(4, 6, 10, 0.86), rgba(4, 7, 12, 0.22) 56%, rgba(4, 6, 10, 0.7)),
    radial-gradient(circle at 78% 24%, rgba(32, 199, 217, 0.42), transparent 27%),
    radial-gradient(circle at 36% 18%, rgba(245, 182, 66, 0.22), transparent 26%),
    linear-gradient(135deg, #162839 0%, #071017 58%, #06070b 100%);
  box-shadow:
    inset 0 0 0 1px rgba(244, 239, 230, 0.12),
    0 0 80px rgba(32, 199, 217, 0.13);
}

.app-demo-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #05070a;
  filter: saturate(1.08) contrast(1.04);
}

.hero-tv-screen::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(244, 239, 230, 0.18) 43%, transparent 47%),
    linear-gradient(180deg, transparent 0 72%, rgba(0, 0, 0, 0.34));
  opacity: 0.64;
  pointer-events: none;
}

.screen-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 22px;
}

.avatar-dot {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(244, 239, 230, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #f4efe6 0 18%, transparent 19%),
    radial-gradient(circle at 50% 72%, #20c7d9 0 30%, transparent 31%),
    #17212d;
}

.screen-topbar nav {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.screen-topbar nav span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(244, 239, 230, 0.66);
  font-size: 0.82rem;
  font-weight: 800;
}

.screen-topbar nav span.active {
  color: #061015;
  background: rgba(244, 239, 230, 0.92);
}

.screen-topbar strong {
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.86rem;
}

.screen-spotlight {
  position: relative;
  z-index: 2;
  max-width: 470px;
  padding: 42px 30px 18px;
}

.video-spotlight {
  width: fit-content;
  max-width: min(430px, calc(100% - 56px));
  margin: 132px 0 0 30px;
  padding: 16px 18px;
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 14px;
  background: rgba(5, 8, 12, 0.6);
  backdrop-filter: blur(14px);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(84, 210, 155, 0.4);
  border-radius: 999px;
  background: rgba(84, 210, 155, 0.12);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.screen-spotlight h2 {
  margin: 14px 0 0;
  font-size: clamp(1.95rem, 4.4vw, 3.45rem);
  line-height: 1;
}

.video-spotlight h2 {
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
}

.screen-spotlight p {
  margin: 12px 0 0;
  color: rgba(244, 239, 230, 0.72);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.screen-tiles {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 22px 24px 0;
}

.screen-tiles article {
  min-width: 0;
  min-height: 92px;
  display: grid;
  align-content: end;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 10px;
  background: rgba(244, 239, 230, 0.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
}

.screen-tiles article::before {
  content: "";
  display: block;
  position: absolute;
}

.screen-tiles span,
.screen-tiles strong {
  display: block;
  position: relative;
}

.screen-tiles span {
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.screen-tiles strong {
  margin-top: 5px;
  font-size: 0.94rem;
}

.tile-live {
  background:
    radial-gradient(circle at 24% 24%, rgba(245, 182, 66, 0.5), transparent 24%),
    linear-gradient(135deg, rgba(32, 199, 217, 0.25), rgba(244, 239, 230, 0.06)) !important;
}

.tile-cinema {
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 90, 61, 0.44), transparent 28%),
    linear-gradient(135deg, rgba(245, 182, 66, 0.22), rgba(244, 239, 230, 0.06)) !important;
}

.tile-series {
  background:
    radial-gradient(circle at 52% 18%, rgba(84, 210, 155, 0.44), transparent 27%),
    linear-gradient(135deg, rgba(32, 199, 217, 0.2), rgba(244, 239, 230, 0.06)) !important;
}

.tile-guide {
  background:
    radial-gradient(circle at 60% 22%, rgba(244, 239, 230, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(92, 76, 221, 0.28), rgba(244, 239, 230, 0.06)) !important;
}

.app-dot-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  padding: 18px 24px 22px;
  overflow: hidden;
}

.app-dot-row span {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(244, 239, 230, 0.93);
  color: #071017;
  font-size: 0.72rem;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.app-dot-row span:nth-child(2n) {
  background: var(--aqua);
}

.app-dot-row span:nth-child(3n) {
  background: var(--amber);
}

.tv-foot {
  display: block;
  width: 26%;
  height: 10px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.12);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.28);
}

.floating-device,
.activation-flow-card,
.playlist-flow-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(244, 239, 230, 0.14);
  background: rgba(9, 13, 19, 0.9);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(18px);
}

.floating-device {
  overflow: hidden;
  border-radius: 20px;
  animation: hero-device-float 6.2s ease-in-out infinite;
}

.tablet-device {
  left: 0;
  bottom: 16%;
  width: 36%;
  aspect-ratio: 16 / 10;
  border: 8px solid #080b10;
  transform: rotateY(10deg) rotateX(2deg);
}

.phone-device {
  left: 31%;
  bottom: 6%;
  width: 15%;
  min-width: 92px;
  aspect-ratio: 9 / 18;
  border: 7px solid #080b10;
  border-radius: 24px;
  animation-delay: -2.1s;
}

.laptop-device {
  right: 1%;
  bottom: 13%;
  width: 42%;
  aspect-ratio: 16 / 9;
  border: 7px solid #080b10;
  transform: rotateY(-8deg) rotateX(2deg);
  animation-delay: -3.2s;
}

.mini-screen {
  width: 100%;
  height: 100%;
  display: grid;
  align-content: center;
  padding: 14px;
  background:
    radial-gradient(circle at 78% 24%, rgba(32, 199, 217, 0.38), transparent 28%),
    linear-gradient(135deg, #18202d, #06080c 72%);
}

.mini-screen span,
.mini-screen strong,
.mini-screen small {
  display: block;
}

.mini-live {
  width: fit-content;
  min-height: 24px;
  display: inline-flex !important;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 90, 61, 0.15);
  color: #ff8d78;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-video {
  margin-top: 14px;
  min-height: 82px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(245, 182, 66, 0.54), transparent 50%),
    radial-gradient(circle at 68% 34%, rgba(32, 199, 217, 0.7), transparent 32%),
    #111b27;
}

.mini-controls {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.mini-controls span,
.phone-list span {
  height: 7px;
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.2);
}

.mini-controls span {
  flex: 1;
}

.phone-device strong,
.laptop-device strong {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(0.9rem, 1.6vw, 1.08rem);
}

.phone-device small,
.laptop-device small {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.35;
}

.phone-list {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.phone-list span {
  width: 100%;
}

.play-orb {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 45%;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(244, 239, 230, 0.9);
  border-radius: 50%;
  background: rgba(7, 10, 16, 0.58);
  box-shadow:
    0 0 0 12px rgba(244, 239, 230, 0.06),
    0 22px 48px rgba(0, 0, 0, 0.44);
  transform: translate(-50%, -50%);
  animation: hero-play-pulse 3.2s ease-in-out infinite;
}

.play-orb::before {
  content: "";
  margin-left: 6px;
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid var(--ink);
}

.activation-flow-card,
.playlist-flow-card {
  border-radius: 14px;
  padding: 15px;
}

.activation-flow-card span,
.activation-flow-card strong,
.activation-flow-card small,
.playlist-flow-card span,
.playlist-flow-card strong,
.playlist-flow-card small {
  display: block;
}

.activation-flow-card span,
.playlist-flow-card span {
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.activation-flow-card strong,
.playlist-flow-card strong {
  margin-top: 7px;
}

.activation-flow-card small,
.playlist-flow-card small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.35;
}

.activation-flow-card {
  left: 4%;
  top: 6%;
  width: min(250px, 40%);
}

.playlist-flow-card {
  right: 3%;
  top: 6%;
  width: min(285px, 42%);
}

.channel-carousel {
  position: absolute;
  z-index: 1;
  left: 10%;
  right: 6%;
  bottom: 0;
  height: 168px;
  transform-style: preserve-3d;
  perspective: 1100px;
  pointer-events: none;
}

.channel-carousel article {
  position: absolute;
  bottom: 0;
  width: 132px;
  height: 150px;
  display: grid;
  align-content: end;
  padding: 13px;
  border: 1px solid rgba(244, 239, 230, 0.13);
  border-radius: 14px;
  background:
    radial-gradient(circle at 60% 24%, rgba(32, 199, 217, 0.5), transparent 30%),
    linear-gradient(145deg, rgba(244, 239, 230, 0.13), rgba(7, 9, 13, 0.74));
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.42);
  animation: hero-carousel-drift 9s ease-in-out infinite;
}

.channel-carousel article:nth-child(1) {
  left: 0;
  opacity: 0.52;
  transform: translateZ(-120px) rotateY(34deg) scale(0.82);
}

.channel-carousel article:nth-child(2) {
  left: 19%;
  opacity: 0.72;
  transform: translateZ(-48px) rotateY(18deg) scale(0.92);
  animation-delay: -1.4s;
}

.channel-carousel article:nth-child(3) {
  left: 40%;
  transform: translateZ(28px) scale(1.04);
  animation-delay: -2.8s;
}

.channel-carousel article:nth-child(4) {
  right: 18%;
  opacity: 0.72;
  transform: translateZ(-48px) rotateY(-18deg) scale(0.92);
  animation-delay: -4.2s;
}

.channel-carousel article:nth-child(5) {
  right: 0;
  opacity: 0.52;
  transform: translateZ(-120px) rotateY(-34deg) scale(0.82);
  animation-delay: -5.6s;
}

.channel-carousel span,
.channel-carousel strong {
  display: block;
}

.channel-carousel span {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.channel-carousel strong {
  margin-top: 6px;
}

@keyframes hero-tv-breathe {
  0%,
  100% {
    transform: rotateY(-7deg) rotateX(2deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotateY(-5deg) rotateX(2deg) translate3d(0, -8px, 16px);
  }
}

@keyframes hero-device-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes hero-play-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 12px rgba(244, 239, 230, 0.06),
      0 22px 48px rgba(0, 0, 0, 0.44);
  }
  50% {
    box-shadow:
      0 0 0 18px rgba(32, 199, 217, 0.1),
      0 28px 58px rgba(0, 0, 0, 0.54);
  }
}

@keyframes hero-carousel-drift {
  0%,
  100% {
    margin-bottom: 0;
  }
  50% {
    margin-bottom: 10px;
  }
}

.product-hero-stage {
  min-height: 560px;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.product-hero-stage::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 7% 0 3%;
  border: 1px solid rgba(244, 239, 230, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(244, 239, 230, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 239, 230, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(16, 23, 34, 0.86), rgba(6, 10, 14, 0.94));
  background-size: 48px 48px, 48px 48px, auto;
  box-shadow: inset 0 1px 0 rgba(244, 239, 230, 0.08), 0 40px 120px rgba(0, 0, 0, 0.42);
}

.product-screen {
  position: relative;
  width: min(820px, 100%);
  margin-left: auto;
  border: 10px solid #171C24;
  border-radius: 22px;
  overflow: hidden;
  background: #05070a;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(244, 239, 230, 0.12);
}

.product-screen-bar {
  min-height: 54px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.1);
  background: rgba(8, 12, 18, 0.94);
}

.product-screen-bar span {
  font-weight: 900;
}

.product-screen-bar strong {
  color: var(--amber);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
}

.product-screen-body {
  display: grid;
  grid-template-columns: 68px 1fr;
  min-height: 430px;
  background:
    radial-gradient(circle at 80% 18%, rgba(32, 199, 217, 0.22), transparent 26%),
    linear-gradient(135deg, #0b1520, #07090d 62%);
}

.product-rail {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px 16px;
  border-right: 1px solid rgba(244, 239, 230, 0.08);
  background: rgba(7, 9, 13, 0.64);
}

.product-rail span {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.1);
}

.product-rail span.active {
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(245, 182, 66, 0.14);
}

.product-dashboard {
  padding: 28px;
}

.continue-card {
  min-height: 128px;
  display: grid;
  align-content: center;
  padding: 22px;
  border: 1px solid rgba(245, 182, 66, 0.5);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(245, 182, 66, 0.18), transparent 55%),
    rgba(244, 239, 230, 0.06);
}

.continue-card span,
.continue-card strong,
.continue-card small {
  display: block;
}

.continue-card span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.continue-card strong {
  margin-top: 8px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.continue-card small {
  margin-top: 8px;
  color: var(--muted);
}

.product-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.product-category-grid article {
  min-height: 144px;
  padding: 18px;
  border: 1px solid rgba(244, 239, 230, 0.1);
  border-radius: 10px;
  background: rgba(16, 23, 34, 0.72);
}

.product-category-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #061014;
  background: var(--aqua);
  font-weight: 950;
}

.product-category-grid strong,
.product-category-grid small {
  display: block;
}

.product-category-grid strong {
  margin-top: 20px;
}

.product-category-grid small {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.4;
}

.portal-receipt,
.activation-receipt {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 12px;
  background: rgba(15, 22, 32, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.portal-receipt {
  right: 2%;
  bottom: 0;
  width: min(360px, 50%);
  padding: 18px;
}

.activation-receipt {
  left: 2%;
  bottom: 8%;
  width: min(260px, 42%);
  padding: 16px;
}

.portal-receipt span,
.portal-receipt strong,
.portal-receipt small,
.activation-receipt span,
.activation-receipt strong,
.activation-receipt small {
  display: block;
}

.portal-receipt span,
.activation-receipt span {
  color: var(--aqua);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-receipt strong,
.activation-receipt strong {
  margin-top: 8px;
}

.portal-receipt small,
.activation-receipt small {
  margin-top: 7px;
  color: var(--muted);
}

.receipt-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.receipt-actions em {
  min-height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--green);
  background: rgba(84, 210, 155, 0.12);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 900;
}

.tv-lounge {
  min-height: 520px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.tv-lounge::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 12% -4% 0;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(21, 27, 37, 0.4), rgba(3, 11, 16, 0.7)),
    radial-gradient(circle at 20% 92%, rgba(245, 182, 66, 0.16), transparent 24%);
  box-shadow: inset 0 1px 0 rgba(244, 239, 230, 0.08), 0 40px 90px rgba(0, 0, 0, 0.42);
}

.tv-lounge::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: 10%;
  right: 8%;
  bottom: 6%;
  height: 20px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  filter: blur(18px);
}

.neon-cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.neon-chip {
  position: absolute;
  min-width: 64px;
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 199, 217, 0.72);
  border-radius: 14px;
  background: rgba(13, 18, 29, 0.7);
  color: #dffbff;
  font-size: 0.76rem;
  font-weight: 900;
  box-shadow:
    0 0 16px rgba(32, 199, 217, 0.45),
    inset 0 0 18px rgba(245, 182, 66, 0.08);
  animation: float-neon 5.6s ease-in-out infinite;
}

.chip-live {
  left: 12%;
  top: 8%;
}

.chip-wifi {
  left: 43%;
  top: 1%;
  animation-delay: -1.2s;
}

.chip-uhd {
  right: 6%;
  top: 14%;
  animation-delay: -2.2s;
}

.chip-cast {
  left: 5%;
  bottom: 24%;
  animation-delay: -3.1s;
}

.chip-iptv {
  right: 2%;
  bottom: 18%;
  animation-delay: -4s;
}

.tv-frame {
  width: min(800px, 100%);
  border: 12px solid #171C24;
  border-radius: 28px;
  background: #05070A;
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(244, 239, 230, 0.12),
    0 0 80px rgba(32, 199, 217, 0.14);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
  transform-origin: center;
}

.tv-screen {
  min-height: 430px;
  overflow: hidden;
  border-radius: 14px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(4, 6, 9, 0.72), rgba(4, 8, 12, 0.25)),
    radial-gradient(circle at 72% 28%, rgba(32, 199, 217, 0.4), transparent 32%),
    linear-gradient(135deg, #153747 0%, #0D1825 42%, #06080C 100%);
}

.tv-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 58px;
}

.tv-tabs button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(244, 239, 230, 0.12);
  color: rgba(244, 239, 230, 0.72);
  font-weight: 800;
}

.tv-tabs button.active {
  color: #0A1118;
  background: rgba(244, 239, 230, 0.92);
}

.tv-spotlight p,
.tv-spotlight h2,
.tv-spotlight span {
  display: block;
  max-width: 560px;
}

.tv-spotlight p {
  margin: 0 0 12px;
  color: #F4EFE6;
  font-weight: 900;
}

.tv-spotlight h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.tv-spotlight span {
  margin-top: 12px;
  color: rgba(244, 239, 230, 0.72);
}

.program-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.program-card {
  min-height: 96px;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(245, 182, 66, 0.18), transparent 44%),
    rgba(8, 11, 16, 0.74);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.program-card:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(32, 199, 217, 0.24), transparent 48%),
    rgba(8, 11, 16, 0.74);
}

.program-card:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(84, 210, 155, 0.22), transparent 48%),
    rgba(8, 11, 16, 0.74);
}

.program-card:nth-child(4) {
  background:
    linear-gradient(135deg, rgba(255, 90, 61, 0.18), transparent 48%),
    rgba(8, 11, 16, 0.74);
}

.program-card.active,
.program-card:hover {
  transform: translateY(-8px);
  border-color: rgba(32, 199, 217, 0.88);
  box-shadow: 0 18px 36px rgba(32, 199, 217, 0.18);
}

.program-card span,
.program-card strong {
  display: block;
}

.program-card span {
  color: var(--aqua);
  font-size: 0.77rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-card strong {
  margin-top: 20px;
}

.app-dock {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  overflow: hidden;
}

.app-dock span {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(244, 239, 230, 0.92);
  color: #071017;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  animation: dock-pulse 5s ease-in-out infinite;
}

.app-dock span:nth-child(even) {
  background: var(--aqua);
  animation-delay: -1.8s;
}

.device-float {
  position: absolute;
  right: 0;
  bottom: 7%;
  width: min(260px, 40%);
  padding: 18px;
  border: 1px solid rgba(32, 199, 217, 0.78);
  border-radius: 18px;
  background: rgba(11, 17, 25, 0.9);
  box-shadow: 0 0 34px rgba(32, 199, 217, 0.22);
  animation: float-device 4.8s ease-in-out infinite;
}

.device-float span,
.device-float strong,
.device-float small {
  display: block;
}

.device-float span {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.device-float strong {
  margin-top: 8px;
  color: var(--amber);
  font-family: Consolas, "Liberation Mono", monospace;
}

.device-float small {
  margin-top: 6px;
  color: var(--muted);
}

@keyframes float-neon {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -16px, 0);
  }
}

@keyframes float-device {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes dock-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.04);
  }
}

.band {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 98px) clamp(18px, 4vw, 26px);
  scroll-margin-top: 86px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.section-heading p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.experience-band {
  max-width: 1280px;
}

.media-player-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  margin: 0;
  padding: clamp(58px, 8vw, 92px) max(clamp(18px, 4vw, 44px), calc((100vw - var(--max)) / 2));
  border-top: 1px solid rgba(244, 239, 230, 0.1);
  border-bottom: 1px solid rgba(244, 239, 230, 0.1);
  background:
    linear-gradient(90deg, rgba(244, 239, 230, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 239, 230, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(32, 199, 217, 0.18), transparent 27%),
    radial-gradient(circle at 14% 88%, rgba(245, 182, 66, 0.14), transparent 28%),
    linear-gradient(135deg, #0d131c 0%, #07090d 58%, #101722 100%);
  background-size: 80px 80px, 80px 80px, auto, auto, auto;
  color: var(--ink);
  overflow: hidden;
}

.media-copy {
  max-width: 790px;
  position: relative;
  z-index: 1;
}

.media-kicker {
  width: fit-content;
  margin: 0 0 10px;
  padding: 8px 11px;
  border: 1px solid rgba(245, 182, 66, 0.34);
  border-radius: var(--radius);
  background: rgba(245, 182, 66, 0.1);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.media-copy h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.45vw, 4.45rem);
  line-height: 1.02;
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.media-copy h2 span {
  display: block;
  color: var(--amber);
}

.media-copy p {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.65;
}

.media-disclaimer {
  max-width: 760px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(245, 182, 66, 0.22);
  border-radius: var(--radius);
  background: rgba(245, 182, 66, 0.08);
  color: rgba(244, 239, 230, 0.78);
  font-size: 0.92rem;
  font-weight: 800;
}

.media-visual-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.human-spotlight,
.human-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, 0.13);
  border-radius: 18px;
  background: rgba(16, 23, 34, 0.72);
  box-shadow: inset 0 1px 0 rgba(244, 239, 230, 0.08), 0 28px 80px rgba(0, 0, 0, 0.28);
}

.human-spotlight {
  margin: 0;
  min-height: 250px;
}

.human-spotlight img,
.human-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #071017;
  filter: saturate(1.04) contrast(1.04);
}

.human-spotlight img {
  aspect-ratio: 16 / 10;
}

.human-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(5, 8, 12, 0.84));
  pointer-events: none;
}

.human-spotlight figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.human-spotlight span,
.human-card span {
  display: block;
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.human-spotlight strong {
  display: block;
  max-width: 360px;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.22;
}

.media-device-panel {
  position: relative;
  z-index: 1;
  min-height: 332px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(244, 239, 230, 0.13);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 16%, rgba(32, 199, 217, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(244, 239, 230, 0.08), rgba(244, 239, 230, 0.035));
  box-shadow: inset 0 1px 0 rgba(244, 239, 230, 0.08), 0 28px 80px rgba(0, 0, 0, 0.34);
}

.media-device-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(32, 199, 217, 0.14);
  border-radius: 14px;
  pointer-events: none;
}

.device-panel-kicker {
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.media-device-panel > strong {
  max-width: 340px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.04;
}

.device-panel-row {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(244, 239, 230, 0.11);
  border-radius: var(--radius);
  background: rgba(7, 9, 13, 0.54);
}

.device-panel-row span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #071017;
  background: var(--amber);
  font-size: 0.78rem;
  font-weight: 950;
}

.device-panel-row p {
  margin: 0;
}

.device-panel-row b,
.device-panel-row small {
  display: block;
}

.device-panel-row b {
  color: var(--ink);
}

.device-panel-row small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.platform-band {
  max-width: none;
  padding: clamp(34px, 6vw, 76px) max(clamp(18px, 4vw, 44px), calc((100vw - 1320px) / 2));
  overflow-x: hidden;
}

.human-band {
  max-width: 1280px;
}

.human-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.human-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.human-card img {
  aspect-ratio: 16 / 10.5;
}

.human-card div {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 20px;
}

.human-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.06;
}

.human-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.platform-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 84% 10%, rgba(245, 182, 66, 0.18), transparent 26%),
    radial-gradient(circle at 12% 90%, rgba(32, 199, 217, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(16, 23, 34, 0.96), rgba(8, 12, 18, 0.98));
  box-shadow: inset 0 1px 0 rgba(244, 239, 230, 0.08), 0 30px 90px rgba(0, 0, 0, 0.34);
}

.platform-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.platform-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 2.15rem);
}

.platform-head p {
  margin: 10px 0 0;
  color: rgba(244, 239, 230, 0.72);
  font-weight: 700;
}

.install-help-button {
  flex: 0 0 auto;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(245, 182, 66, 0.38);
  border-radius: var(--radius);
  padding: 0 28px;
  color: #11100b;
  background: var(--amber);
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(245, 182, 66, 0.16);
}

.install-help-button::before {
  content: "?";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.platform-card {
  position: relative;
  min-height: 138px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, 0.13);
  border-radius: 12px;
  background: rgba(244, 239, 230, 0.065);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(244, 239, 230, 0.08), 0 16px 36px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.platform-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--aqua));
  opacity: 0.72;
}

.platform-card:hover {
  transform: translateY(-5px);
  background: rgba(244, 239, 230, 0.1);
  box-shadow: inset 0 1px 0 rgba(244, 239, 230, 0.1), 0 24px 46px rgba(0, 0, 0, 0.28);
}

.platform-card.muted-card {
  background: rgba(244, 239, 230, 0.045);
}

.platform-logo-img {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  width: 100%;
  height: 44px;
  object-fit: contain;
  object-position: left center;
  padding: 7px 8px;
  border: 1px solid rgba(14, 18, 28, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.platform-card div,
.platform-card a,
.platform-card em {
  position: relative;
  z-index: 1;
}

.platform-card div {
  grid-column: 1 / 2;
}

.platform-card small,
.platform-card strong,
.platform-card p {
  display: block;
}

.platform-card small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.platform-card strong {
  margin-top: 3px;
  font-size: 1rem;
  color: var(--ink);
}

.platform-card p {
  margin: 5px 0 0;
  color: rgba(165, 176, 190, 0.88);
  font-size: 0.78rem;
  line-height: 1.35;
}

.platform-card em {
  position: absolute;
  right: 16px;
  top: 20px;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(245, 182, 66, 0.34);
  border-radius: 999px;
  padding: 0 9px;
  color: var(--amber);
  background: rgba(245, 182, 66, 0.08);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.platform-card a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 199, 217, 0.28);
  border-radius: 50%;
  color: var(--aqua);
  background: rgba(32, 199, 217, 0.1);
  font-size: 1rem;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(32, 199, 217, 0.12);
}

.platform-card a:hover {
  color: #071017;
  background: var(--aqua);
}

.big-screen-showcase {
  position: relative;
  margin-top: 26px;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(244, 239, 230, 0.1), transparent 18%),
    radial-gradient(circle at 50% 18%, rgba(32, 199, 217, 0.24), transparent 30%),
    linear-gradient(180deg, #1A2426 0%, #0A0F13 100%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.big-screen-showcase::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background:
    linear-gradient(90deg, rgba(245, 182, 66, 0.16), transparent 34%, rgba(32, 199, 217, 0.14)),
    rgba(244, 239, 230, 0.08);
}

.wall-screen {
  position: relative;
  width: min(840px, 100%);
  margin: 0 auto;
  padding: 10px;
  border: 4px solid #1B2027;
  border-radius: 8px;
  background: #090C10;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
}

.wall-scene {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 3px;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.28), rgba(5, 8, 12, 0.08)),
    radial-gradient(circle at 74% 22%, rgba(245, 182, 66, 0.48), transparent 18%),
    radial-gradient(circle at 18% 76%, rgba(32, 199, 217, 0.42), transparent 24%),
    linear-gradient(135deg, #1289B5 0%, #79C7D4 44%, #D5A448 100%);
  transition: background 260ms ease;
}

.wall-scene.mode-Maison-connectée {
  background:
    radial-gradient(circle at 18% 34%, rgba(84, 210, 155, 0.5), transparent 22%),
    radial-gradient(circle at 78% 64%, rgba(32, 199, 217, 0.42), transparent 24%),
    linear-gradient(135deg, #132236, #0D1320 56%, #1B2F32);
}

.wall-scene.mode-Photos {
  background:
    radial-gradient(circle at 24% 20%, rgba(245, 182, 66, 0.54), transparent 24%),
    radial-gradient(circle at 74% 58%, rgba(255, 90, 61, 0.34), transparent 22%),
    linear-gradient(135deg, #244F68, #72B6C3 45%, #E1B86B);
}

.wall-scene.mode-Diffusion {
  background:
    radial-gradient(circle at 20% 60%, rgba(32, 199, 217, 0.6), transparent 24%),
    radial-gradient(circle at 78% 24%, rgba(245, 182, 66, 0.42), transparent 20%),
    linear-gradient(135deg, #07111A, #123452 58%, #0E1014);
}

.wall-scene.mode-Télécommande {
  background:
    radial-gradient(circle at 22% 28%, rgba(244, 239, 230, 0.28), transparent 20%),
    radial-gradient(circle at 78% 68%, rgba(84, 210, 155, 0.46), transparent 24%),
    linear-gradient(135deg, #111723, #07090D 62%, #243129);
}

.wall-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.46)),
    repeating-linear-gradient(90deg, transparent 0 70px, rgba(244, 239, 230, 0.045) 71px 72px);
}

.scene-copy {
  position: absolute;
  left: 34px;
  top: 34px;
  max-width: 420px;
  z-index: 1;
}

.scene-copy span,
.scene-copy strong {
  display: block;
}

.scene-copy span {
  color: var(--amber);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.scene-copy strong {
  margin-top: 12px;
  font-size: clamp(1.55rem, 3.3vw, 2.8rem);
  line-height: 1.06;
}

.scene-strip {
  position: absolute;
  z-index: 1;
  left: 34px;
  right: 34px;
  bottom: 28px;
  display: flex;
  gap: 14px;
  justify-content: center;
}

.scene-card {
  min-width: 150px;
  min-height: 64px;
  border: 1px solid rgba(244, 239, 230, 0.24);
  border-radius: 14px;
  background: rgba(7, 9, 13, 0.52);
  color: var(--ink);
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.scene-card.active {
  border-color: var(--ink);
  background: rgba(7, 9, 13, 0.74);
  box-shadow: 0 0 0 2px rgba(244, 239, 230, 0.18);
}

.mode-dock {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 940px;
  margin: 28px auto 0;
}

.mode-dock button {
  min-height: 82px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(244, 239, 230, 0.92);
  color: #111820;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.mode-dock button:hover,
.mode-dock button.active {
  transform: translateY(-8px);
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(32, 199, 217, 0.26), 0 18px 40px rgba(0, 0, 0, 0.28);
}

.activation-layout,
.upload-grid,
.simple-upload-layout,
.reseller-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 22px;
}

.panel,
.workflow-list article,
.price-card,
.credit-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 23, 34, 0.84);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.activation-form,
.upload-form,
.support-form {
  display: grid;
  align-content: start;
  gap: 17px;
  padding: clamp(18px, 3vw, 28px);
}

.plan-option {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 9, 13, 0.52);
}

.plan-option input {
  width: 18px;
}

.plan-option strong,
.plan-option small {
  display: block;
}

.plan-option small,
.form-note {
  color: var(--muted);
}

.form-note {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
}

.activation-console {
  padding: clamp(20px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(245, 182, 66, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(32, 199, 217, 0.12), transparent 72%),
    rgba(16, 23, 34, 0.88);
}

.console-topline,
.license-grid,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.status-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--green);
  background: rgba(84, 210, 155, 0.13);
}

.device-readout span,
.license-grid span {
  display: block;
  color: var(--muted);
  margin-bottom: 7px;
}

.device-readout strong {
  display: block;
  color: var(--amber);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.license-grid {
  align-items: stretch;
}

.license-grid div {
  flex: 1;
  min-width: 0;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(7, 9, 13, 0.58);
}

.license-grid strong {
  overflow-wrap: anywhere;
}

.copy-button {
  width: fit-content;
}

.upload-band {
  max-width: 1280px;
}

.upload-band .section-heading {
  max-width: 820px;
}

.upload-band .section-heading h2 {
  letter-spacing: 0;
}

.client-portal-page main {
  min-height: 100vh;
}

.client-portal-page .site-header {
  background: rgba(7, 9, 13, 0.88);
}

.client-portal-teaser {
  max-width: 1120px;
}

.portal-entry-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(120deg, rgba(32, 199, 217, 0.14), transparent 44%),
    rgba(12, 18, 26, 0.88);
}

.portal-entry-panel h3 {
  margin: 14px 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.portal-entry-panel p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.portal-hero {
  width: min(100% - 48px, 1180px);
  min-height: 58vh;
  margin: 0 auto;
  padding: clamp(126px, 14vw, 170px) 0 clamp(44px, 8vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.portal-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.95;
}

.portal-hero-copy p:not(.section-kicker) {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.portal-device-gate {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(145deg, rgba(245, 182, 66, 0.12), transparent 48%),
    rgba(12, 18, 26, 0.92);
}

.portal-device-gate input,
.bound-device-field input {
  color: var(--amber);
  font-family: Consolas, "Liberation Mono", monospace;
  font-weight: 900;
}

.portal-workspace {
  width: min(100% - 48px, 1180px);
  margin: 0 auto clamp(52px, 8vw, 90px);
  display: grid;
  gap: 18px;
}

.portal-device-summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  background:
    linear-gradient(90deg, rgba(84, 210, 155, 0.1), transparent 48%),
    rgba(12, 18, 26, 0.92);
}

.portal-device-summary strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--amber);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
}

.portal-device-summary small {
  color: var(--muted);
}

.portal-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 239, 230, 0.05);
}

.portal-tabs button {
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 950;
}

.portal-tabs button.active {
  color: #090807;
  border-color: rgba(245, 182, 66, 0.62);
  background: linear-gradient(135deg, var(--amber), #ffe1a3);
  box-shadow: 0 16px 34px rgba(245, 182, 66, 0.18);
}

.portal-panel {
  display: block;
}

.portal-panel .upload-form,
.portal-panel .simple-manager-panel {
  min-height: 0;
}

.bound-device-field input {
  background: rgba(245, 182, 66, 0.08);
}

.simple-upload-layout {
  position: relative;
  align-items: stretch;
}

.simple-upload-layout::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 6%;
  right: 6%;
  top: 48%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(32, 199, 217, 0.7), rgba(245, 182, 66, 0.58), transparent);
  box-shadow: 0 0 32px rgba(32, 199, 217, 0.26);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 9, 13, 0.52);
}

.segmented button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.segmented button.active {
  background: var(--aqua);
  color: #061014;
}

.xtream-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.simple-upload-form {
  gap: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(244, 239, 230, 0.055), transparent 18%),
    rgba(16, 23, 34, 0.92);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
}

.simple-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: clamp(18px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
}

.device-entry-card {
  background:
    linear-gradient(90deg, rgba(32, 199, 217, 0.08), transparent 42%),
    rgba(7, 9, 13, 0.16);
}

.device-entry-card input[name="uploadDeviceId"] {
  min-height: 58px;
  color: var(--amber);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 900;
  text-transform: uppercase;
}

.simple-step:last-child {
  border-bottom: 0;
}

.playlist-entry-card {
  grid-template-columns: auto minmax(0, 1fr);
}

.simple-step label,
.playlist-entry-card .segmented,
.playlist-entry-card .wide-field,
.playlist-entry-card .button {
  grid-column: 1 / -1;
}

.step-number {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #061014;
  background: var(--aqua);
  font-weight: 950;
}

.step-copy strong,
.step-copy small {
  display: block;
}

.step-copy strong {
  font-size: 1.02rem;
}

.step-copy small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.file-control {
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 9, 13, 0.74);
  padding: 8px;
}

.file-control input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-control strong {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 12px;
  color: #061014;
  background: var(--aqua);
  font-weight: 900;
}

.file-control em {
  min-width: 0;
  color: var(--muted);
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-sync-panel {
  min-height: 100%;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(145deg, rgba(32, 199, 217, 0.13), transparent 44%),
    linear-gradient(315deg, rgba(245, 182, 66, 0.11), transparent 52%),
    rgba(16, 23, 34, 0.88);
}

.simple-manager-panel {
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(145deg, rgba(32, 199, 217, 0.15), transparent 34%),
    linear-gradient(315deg, rgba(245, 182, 66, 0.11), transparent 56%),
    rgba(16, 23, 34, 0.92);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.simple-manager-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.simple-manager-head h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.simple-manager-head .section-kicker {
  margin-bottom: 8px;
}

.sync-preview {
  margin-top: 18px;
  padding: 10px;
  border: 1px solid rgba(32, 199, 217, 0.26);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.42), rgba(7, 9, 13, 0.72)),
    rgba(244, 239, 230, 0.045);
}

.sync-preview-screen {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 10px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(4, 7, 11, 0.86), rgba(7, 17, 24, 0.58)),
    linear-gradient(135deg, #071017, #12313b 56%, #0b0f14);
  box-shadow: inset 0 0 46px rgba(32, 199, 217, 0.12);
}

.sync-preview-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 38%, rgba(244, 239, 230, 0.16) 46%, transparent 55%);
  transform: translateX(-100%);
  animation: sync-scan 5.2s ease-in-out infinite;
}

.sync-preview-topline,
.sync-preview-device,
.sync-preview-playlist,
.sync-preview-rail {
  position: relative;
  z-index: 1;
}

.sync-preview-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sync-preview-topline strong {
  color: var(--green);
}

.sync-preview-device,
.sync-preview-playlist {
  margin-top: 22px;
}

.sync-preview-device span,
.sync-preview-playlist span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sync-preview-device strong,
.sync-preview-playlist strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.sync-preview-device strong {
  color: var(--amber);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: clamp(1.25rem, 3vw, 2.1rem);
}

.sync-preview-playlist strong {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.sync-preview-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.sync-preview-rail span {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), rgba(245, 182, 66, 0.86));
  animation: sync-pulse 2.8s ease-in-out infinite;
}

.sync-preview-rail span:nth-child(2) {
  animation-delay: -0.8s;
}

.sync-preview-rail span:nth-child(3) {
  animation-delay: -1.6s;
}

@keyframes sync-scan {
  0%,
  42% {
    transform: translateX(-100%);
  }
  68%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes sync-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  45% {
    opacity: 1;
  }
}

.portal-sync-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.portal-sync-head h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.portal-sync-head .section-kicker {
  margin-bottom: 8px;
}

.device-switcher {
  display: block;
  margin-top: 18px;
}

.device-switcher select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink);
  background: rgba(7, 9, 13, 0.64);
}

.manager-summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: var(--radius);
  background: rgba(7, 9, 13, 0.34);
}

.manager-summary strong,
.manager-summary small {
  display: block;
}

.manager-summary small {
  margin-top: 4px;
  color: var(--muted);
}

.manager-summary button {
  min-height: 38px;
  border: 1px solid rgba(255, 90, 61, 0.38);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--red);
  background: rgba(255, 90, 61, 0.1);
  font-weight: 800;
}

.manager-summary button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.simple-manager-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 12px 0 0;
}

.simple-manager-toolbar button {
  min-height: 38px;
  border: 1px solid rgba(255, 90, 61, 0.38);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--red);
  background: rgba(255, 90, 61, 0.1);
  font-weight: 800;
}

.simple-manager-toolbar button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.status-pill[data-state="ready"] {
  color: var(--aqua);
  background: rgba(32, 199, 217, 0.14);
}

.status-pill[data-state="error"] {
  color: var(--red);
  background: rgba(255, 90, 61, 0.14);
}

.linked-list {
  display: grid;
  gap: 12px;
  min-height: 160px;
  padding: 18px 0;
}

.empty-linked {
  display: grid;
  place-items: center;
  min-height: 150px;
  margin: 0;
  padding: 22px;
  border: 1px dashed rgba(244, 239, 230, 0.2);
  border-radius: var(--radius);
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
  background: rgba(7, 9, 13, 0.34);
}

.linked-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: var(--radius);
  background: rgba(7, 9, 13, 0.48);
}

.linked-entry[data-state="paused"] {
  border-color: rgba(244, 239, 230, 0.08);
  opacity: 0.72;
}

.linked-entry-meta {
  min-width: 0;
}

.linked-entry-meta strong,
.linked-entry-meta small {
  display: block;
}

.linked-entry-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.linked-entry-badges span {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #071017;
  background: var(--aqua);
  font-size: 0.74rem;
  font-weight: 900;
}

.linked-entry-badges .default-badge {
  color: #11100b;
  background: var(--amber);
}

.linked-entry-badges .paused-badge {
  color: var(--muted);
  background: rgba(244, 239, 230, 0.1);
}

.linked-entry-meta strong,
.linked-entry-meta small {
  overflow-wrap: anywhere;
}

.linked-entry-meta small,
.linked-entry-actions small {
  margin-top: 6px;
  color: var(--muted);
}

.linked-entry-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  justify-items: stretch;
}

.linked-entry-actions button {
  min-height: 38px;
  width: 100%;
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--ink);
  background: rgba(244, 239, 230, 0.07);
  font-weight: 800;
}

.linked-entry-actions button:disabled {
  color: var(--green);
  border-color: rgba(84, 210, 155, 0.28);
  background: rgba(84, 210, 155, 0.12);
  cursor: default;
}

.linked-entry-actions button.danger {
  color: var(--red);
  border-color: rgba(255, 90, 61, 0.38);
  background: rgba(255, 90, 61, 0.1);
}

.mini-steps {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.mini-steps span {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(244, 239, 230, 0.055);
}

.workflow-list {
  display: grid;
  gap: 14px;
}

.workflow-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 22px;
}

.workflow-list span {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #11100b;
  background: var(--amber);
  font-weight: 900;
}

.workflow-list h3,
.workflow-list p,
.price-card p,
.price-card h3 {
  margin: 0;
}

.workflow-list p {
  color: var(--muted);
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  padding: 24px;
}

.price-card.featured {
  border-color: rgba(245, 182, 66, 0.8);
  background:
    linear-gradient(145deg, rgba(245, 182, 66, 0.16), transparent 46%),
    rgba(16, 23, 34, 0.9);
}

.price-card p {
  color: var(--amber);
  font-weight: 800;
}

.price-card h3 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.price-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  color: var(--ink);
}

.price-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--green);
}

.reseller-copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.reseller-copy .button {
  margin-top: 18px;
}

.credit-table {
  overflow: hidden;
}

.credit-table div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.credit-table div:last-child {
  border-bottom: 0;
}

.credit-table strong {
  color: var(--amber);
  font-size: 1.25rem;
}

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

.support-form .wide,
.support-form button {
  grid-column: 1 / -1;
}

.support-form button {
  width: fit-content;
}

.legal-strip {
  position: relative;
  max-width: var(--max);
  margin: 0 auto 40px;
  padding: 24px clamp(18px, 4vw, 26px);
  border: 1px solid rgba(255, 90, 61, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 90, 61, 0.08);
}

.legal-strip strong {
  display: block;
  color: var(--red);
  margin-bottom: 8px;
}

.legal-strip p {
  max-width: 960px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  padding: 24px clamp(18px, 4vw, 44px) 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

.toast {
  position: fixed;
  z-index: 50;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 44px));
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111925;
  color: var(--ink);
  box-shadow: 0 20px 60px var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    display: grid;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7, 9, 13, 0.96);
    box-shadow: 0 24px 70px var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a.nav-login {
    margin-left: 0;
  }

  .portal-hero,
  .portal-workspace {
    width: min(100% - 32px, 1180px);
  }

  .portal-hero {
    min-height: auto;
    padding-top: 110px;
    grid-template-columns: 1fr;
  }

  .portal-entry-panel,
  .portal-device-summary {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-section,
  .media-player-band,
  .activation-layout,
  .upload-grid,
  .simple-upload-layout,
  .reseller-layout,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .platform-head {
    display: grid;
    align-items: start;
  }

  .platform-head .button {
    width: fit-content;
  }

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

  .human-card-grid {
    grid-template-columns: 1fr;
  }

  .human-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    grid-template-rows: none;
  }

  .human-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .hero-section {
    min-height: auto;
  }

  .multi-device-stage {
    min-height: 620px;
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
  }

  .proof-strip,
  .support-form {
    grid-template-columns: 1fr;
  }

  .support-form button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .portal-tabs,
  .portal-entry-panel {
    grid-template-columns: 1fr;
  }

  .portal-hero-copy h1 {
    font-size: clamp(2.15rem, 13vw, 3.1rem);
  }

  .site-header {
    min-height: 68px;
  }

  .site-nav {
    top: 68px;
  }

  .hero-section {
    gap: 26px;
    padding-top: 34px;
    padding-left: 20px;
    padding-right: 36px;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 7.8vw, 2.05rem);
    line-height: 1.08;
  }

  .hero-copy,
  .media-copy {
    width: 100%;
    max-width: calc(100vw - 72px);
  }

  .hero-lede,
  .media-copy p,
  .media-disclaimer,
  .hero-actions,
  .proof-strip {
    width: 100%;
    max-width: 100%;
  }

  .hero-visual {
    order: 0;
  }

  .multi-device-stage {
    min-height: 390px;
    max-width: calc(100vw - 40px);
    margin-bottom: 8px;
    overflow: hidden;
  }

  .multi-device-stage::before {
    inset: 0;
    border-radius: 16px;
  }

  .multi-device-stage::after {
    left: 10%;
    right: 10%;
    bottom: 1%;
    height: 18%;
  }

  .room-layer {
    inset: 0;
    border-radius: 16px;
  }

  .room-window,
  .room-console,
  .room-plant {
    display: none;
  }

  .room-sofa {
    left: 8%;
    width: 42%;
    height: 10%;
  }

  .hero-tv-shell {
    left: 4%;
    top: 8%;
    width: 92%;
    transform: none;
  }

  .hero-tv-screen {
    border-width: 6px;
    border-radius: 16px;
  }

  .screen-topbar {
    gap: 9px;
    min-height: 44px;
    padding: 0 12px;
  }

  .avatar-dot {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }

  .screen-topbar nav span {
    min-height: 26px;
    padding: 0 9px;
    font-size: 0.72rem;
  }

  .screen-topbar nav span:nth-child(n+4),
  .screen-topbar strong {
    display: none;
  }

  .screen-spotlight {
    padding: 22px 16px 8px;
  }

  .video-spotlight {
    max-width: calc(100% - 28px);
    margin: 86px 0 0 14px;
    padding: 12px;
  }

  .status-pill {
    min-height: 24px;
    font-size: 0.66rem;
  }

  .screen-spotlight h2 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }

  .video-spotlight h2 {
    font-size: 1.05rem;
  }

  .screen-spotlight p {
    max-width: 230px;
    font-size: 0.75rem;
  }

  .screen-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 14px 0;
  }

  .screen-tiles article {
    min-height: 68px;
    padding: 10px;
  }

  .screen-tiles article:nth-child(n+3) {
    display: none;
  }

  .screen-tiles strong {
    font-size: 0.82rem;
  }

  .app-dot-row,
  .tablet-device,
  .laptop-device,
  .activation-flow-card,
  .channel-carousel {
    display: none;
  }

  .phone-device {
    display: none;
  }

  .playlist-flow-card {
    left: 4%;
    right: 4%;
    top: auto;
    bottom: 4%;
    width: auto;
    padding: 12px;
  }

  .playlist-flow-card strong {
    font-size: 0.9rem;
  }

  .playlist-flow-card small {
    font-size: 0.76rem;
  }

  .play-orb {
    width: 58px;
    height: 58px;
    left: 51%;
    top: 42%;
  }

  .play-orb::before {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 18px;
  }

  .product-hero-stage {
    min-height: 360px;
  }

  .product-hero-stage::before {
    inset: 0;
    border-radius: 16px;
  }

  .product-screen {
    width: 100%;
    border-width: 6px;
    border-radius: 16px;
  }

  .product-screen-bar {
    min-height: 42px;
    padding: 0 12px;
  }

  .product-screen-bar strong {
    display: none;
  }

  .product-screen-body {
    grid-template-columns: 44px 1fr;
    min-height: 260px;
  }

  .product-rail {
    gap: 10px;
    padding: 16px 10px;
  }

  .product-rail span {
    width: 24px;
    height: 24px;
  }

  .product-dashboard {
    padding: 14px;
  }

  .continue-card {
    min-height: 96px;
    padding: 14px;
  }

  .continue-card strong {
    font-size: 1.25rem;
  }

  .product-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-category-grid article {
    min-height: 92px;
    padding: 12px;
  }

  .product-category-grid article:nth-child(3) {
    display: none;
  }

  .product-category-grid span {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .product-category-grid strong {
    margin-top: 10px;
    font-size: 0.9rem;
  }

  .product-category-grid small {
    display: none;
  }

  .portal-receipt,
  .activation-receipt {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 10px;
  }

  .activation-receipt {
    display: none;
  }

  .tv-lounge {
    min-height: 240px;
  }

  .tv-lounge::before {
    inset: 0;
  }

  .neon-cloud,
  .device-float {
    display: none;
  }

  .tv-frame {
    width: 100%;
    border-width: 6px;
    border-radius: 18px;
    transform: none;
  }

  .tv-screen {
    min-height: 224px;
    padding: 12px;
  }

  .tv-tabs {
    gap: 6px;
    margin-bottom: 26px;
    overflow: hidden;
  }

  .tv-tabs button {
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .tv-tabs button:nth-child(n+4) {
    display: none;
  }

  .tv-spotlight h2 {
    font-size: 1.5rem;
  }

  .tv-spotlight span {
    font-size: 0.8rem;
  }

  .program-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .program-card {
    min-height: 62px;
    padding: 10px;
  }

  .program-card strong {
    margin-top: 8px;
    font-size: 0.82rem;
  }

  .app-dock {
    display: none;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    padding: 14px 12px;
  }

  .proof-strip dt {
    font-size: 1.05rem;
  }

  .proof-strip dd {
    font-size: 0.82rem;
  }

  .hero-actions .button,
  .copy-button {
    width: 100%;
  }

  .media-player-band {
    gap: 24px;
    padding: 44px 36px 44px 20px;
  }

  .media-copy h2 {
    font-size: clamp(1.95rem, 8vw, 2.18rem);
    line-height: 1.08;
  }

  .media-device-panel {
    min-height: auto;
    padding: 18px;
  }

  .media-device-panel::before {
    inset: 10px;
  }

  .media-device-panel > strong {
    font-size: 1.3rem;
  }

  .device-panel-row {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 12px;
  }

  .device-panel-row span {
    width: 30px;
    height: 30px;
  }

  .platform-shell {
    border-radius: 18px;
    padding: 16px;
  }

  .platform-head {
    gap: 18px;
  }

  .install-help-button {
    width: 100%;
    justify-content: center;
  }

  .platform-card a {
    width: 32px;
  }

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

  .platform-card {
    min-height: auto;
    grid-template-columns: 46px minmax(0, 1fr) 34px;
    padding: 18px;
  }

  .platform-card div {
    grid-column: 1 / 3;
  }

  .platform-logo-img {
    height: 50px;
    object-position: center;
  }

  .platform-card em {
    position: static;
    grid-column: 1 / 3;
    width: fit-content;
    margin-top: 8px;
  }

  .hero-copy h1,
  .hero-lede,
  .hero-actions,
  .proof-strip,
  .media-copy h2,
  .media-copy p,
  .media-disclaimer,
  .media-visual-stack,
  .human-spotlight,
  .media-device-panel {
    width: min(100%, calc(100vw - 56px));
    max-width: 320px;
  }

  .human-card-grid {
    gap: 14px;
  }

  .human-card {
    grid-template-columns: 1fr;
  }

  .human-card img {
    height: auto;
    aspect-ratio: 16 / 10.5;
  }

  .human-card div {
    padding: 16px;
  }

  .license-grid,
  .console-topline,
  .portal-sync-head,
  .simple-manager-head,
  .manager-summary,
  .linked-entry,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .simple-step,
  .playlist-entry-card,
  .simple-manager-head,
  .xtream-fields {
    grid-template-columns: 1fr;
  }

  .simple-step .step-number,
  .simple-manager-head .step-number {
    margin-bottom: -4px;
  }

  .linked-entry {
    grid-template-columns: 1fr;
  }

  .linked-entry-actions {
    justify-items: stretch;
    min-width: 0;
  }

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

  .workflow-list span {
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Premium sales pass - storefront + guided client portal */
.sales-rhythm {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.sales-rhythm span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 999px;
  padding: 0 12px;
  color: rgba(244, 239, 230, 0.84);
  background: rgba(244, 239, 230, 0.06);
  font-size: 0.78rem;
  font-weight: 900;
}

.sales-rhythm span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--aqua);
  box-shadow: 0 0 16px rgba(32, 199, 217, 0.72);
}

.stage-human-image {
  position: absolute;
  z-index: -1;
  inset: 7% 3% 5%;
  width: 94%;
  height: 88%;
  border-radius: 20px;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.92) contrast(1.05);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.28) 54%, rgba(0, 0, 0, 0.12));
}

.stage-human-image + .room-layer {
  opacity: 0.58;
}

.hero-section {
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
}

.hero-copy h1 {
  max-width: 760px;
  letter-spacing: 0;
}

.hero-lede {
  color: rgba(244, 239, 230, 0.74);
}

.proof-strip dt {
  color: var(--amber);
}

.platform-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.platform-card:hover {
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(245, 182, 66, 0.2);
}

.portal-assistant-hero {
  width: min(100% - 48px, 1240px);
  min-height: 68vh;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.54fr);
  padding-top: clamp(112px, 12vw, 158px);
}

.portal-assistant-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: max(24px, calc((100% - 1240px) / 2));
  right: max(24px, calc((100% - 1240px) / 2));
  top: 106px;
  bottom: 18px;
  border: 1px solid rgba(244, 239, 230, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 22%, rgba(32, 199, 217, 0.2), transparent 28%),
    linear-gradient(115deg, rgba(245, 182, 66, 0.11), transparent 38%),
    rgba(7, 11, 16, 0.4);
  pointer-events: none;
}

.portal-step-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.portal-assistant-hero > .portal-step-track {
  grid-column: 1 / -1;
  margin-top: -8px;
}

.portal-step-track li {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: var(--radius);
  background: rgba(244, 239, 230, 0.055);
}

.portal-step-track span,
.portal-step-track strong,
.portal-step-track small {
  display: block;
}

.portal-step-track span {
  color: var(--aqua);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
  font-weight: 900;
}

.portal-step-track strong {
  margin-top: 9px;
  color: var(--ink);
}

.portal-step-track small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.portal-hero-side {
  display: grid;
  gap: 14px;
}

.portal-card-label {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #061014;
  background: var(--aqua);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.portal-device-gate {
  border-color: rgba(245, 182, 66, 0.22);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.portal-live-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(32, 199, 217, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(110deg, rgba(32, 199, 217, 0.16), transparent 48%),
    rgba(10, 16, 22, 0.84);
}

.portal-live-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 40%, rgba(244, 239, 230, 0.18) 48%, transparent 56%);
  transform: translateX(-100%);
  animation: sync-scan 4.8s ease-in-out infinite;
}

.portal-live-card span,
.portal-live-card strong,
.portal-live-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.portal-live-card span {
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.portal-live-card strong {
  margin-top: 8px;
}

.portal-live-card small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.portal-device-summary {
  position: relative;
  overflow: hidden;
}

.portal-device-summary::after {
  content: "";
  position: absolute;
  inset: auto 18px 14px 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(32, 199, 217, 0.7), rgba(245, 182, 66, 0.7), transparent);
  opacity: 0.5;
}

.portal-tabs {
  gap: 12px;
  padding: 10px;
}

.portal-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  text-align: center;
}

.portal-tabs button span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: var(--aqua);
  background: rgba(32, 199, 217, 0.12);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
}

.portal-tabs button.active span {
  color: #090807;
  background: rgba(7, 9, 13, 0.16);
}

.portal-panel .simple-upload-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.44fr);
  align-items: stretch;
}

.portal-panel .playlist-entry-card {
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.portal-import-aside {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(180deg, rgba(32, 199, 217, 0.12), transparent 42%),
    rgba(7, 9, 13, 0.22);
}

.portal-import-aside strong {
  font-size: clamp(1.22rem, 2.4vw, 1.72rem);
  line-height: 1.12;
}

.portal-import-aside p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.portal-mini-tv {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  display: grid;
  align-content: end;
  gap: 7px;
  margin-top: 8px;
  border: 8px solid #080b10;
  border-radius: 14px;
  padding: 16px;
  background:
    radial-gradient(circle at 76% 18%, rgba(32, 199, 217, 0.42), transparent 28%),
    radial-gradient(circle at 22% 28%, rgba(245, 182, 66, 0.3), transparent 30%),
    linear-gradient(135deg, #101a26, #05070a 70%);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
}

.portal-mini-tv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 38%, rgba(244, 239, 230, 0.16) 46%, transparent 55%);
  transform: translateX(-100%);
  animation: sync-scan 5s ease-in-out infinite;
}

.portal-mini-tv span,
.portal-mini-tv strong,
.portal-mini-tv small {
  position: relative;
  z-index: 1;
  display: block;
}

.portal-mini-tv span {
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.portal-mini-tv strong {
  font-size: 1.25rem;
}

.portal-mini-tv small {
  color: var(--green);
}

.linked-entry {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.linked-entry:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 199, 217, 0.24);
  background: rgba(12, 20, 28, 0.72);
}

.linked-entry-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-workspace.just-synced .sync-preview-screen {
  border-color: rgba(84, 210, 155, 0.72);
  box-shadow:
    inset 0 0 46px rgba(84, 210, 155, 0.2),
    0 0 0 1px rgba(84, 210, 155, 0.18),
    0 24px 80px rgba(84, 210, 155, 0.12);
}

.portal-workspace.just-synced .sync-preview-rail span {
  background: linear-gradient(90deg, var(--green), var(--aqua), var(--amber));
  animation-duration: 820ms;
}

.portal-workspace.just-synced .sync-preview-playlist strong {
  color: var(--green);
}

@media (max-width: 920px) {
  .hero-section,
  .portal-assistant-hero,
  .portal-panel .simple-upload-form {
    grid-template-columns: 1fr;
  }

  .portal-assistant-hero::before {
    left: 16px;
    right: 16px;
  }

  .portal-step-track {
    grid-template-columns: 1fr;
  }

  .portal-assistant-hero > .portal-step-track {
    margin-top: 0;
  }

  .portal-panel .playlist-entry-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .linked-entry-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .stage-human-image {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.24;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 72%);
  }

  .sales-rhythm {
    width: min(100%, calc(100vw - 56px));
  }

  .sales-rhythm span {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .portal-tabs button {
    min-height: 58px;
  }

  .portal-assistant-hero {
    gap: 20px;
  }

  .portal-device-gate {
    gap: 14px;
    padding: 18px;
  }

  .portal-import-aside {
    padding: 18px;
  }

  .portal-mini-tv {
    min-height: 138px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-live-card::before,
  .portal-mini-tv::before,
  .portal-workspace.just-synced .sync-preview-rail span {
    animation: none !important;
  }
}

/* Front polish pass - clearer device signal and stronger mobile first viewport */
.button,
.copy-button,
.nav-login {
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.copy-button:hover,
.nav-login:hover {
  transform: translateY(-1px);
}

.button.primary:hover {
  box-shadow: 0 20px 46px rgba(245, 182, 66, 0.28);
}

.mobile-hero-device {
  display: none;
}

.sales-rhythm {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 640px;
  gap: 0;
  padding: 10px 12px;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(32, 199, 217, 0.08), rgba(245, 182, 66, 0.08)),
    rgba(11, 16, 23, 0.72);
}

.sales-rhythm::before {
  content: "";
  position: absolute;
  left: 44px;
  right: 44px;
  top: 25px;
  height: 2px;
  background: linear-gradient(90deg, rgba(32, 199, 217, 0.72), rgba(245, 182, 66, 0.72));
  opacity: 0.72;
}

.sales-rhythm span {
  position: relative;
  min-height: 50px;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 22px 8px 0;
  background: transparent;
  text-align: center;
}

.sales-rhythm span::before {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin: 0;
  transform: translateX(-50%);
  outline: 5px solid rgba(11, 16, 23, 0.92);
}

.portal-signal-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
  margin-top: 24px;
  padding: 8px;
  border: 1px solid rgba(32, 199, 217, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(32, 199, 217, 0.12), rgba(245, 182, 66, 0.1)),
    rgba(10, 16, 22, 0.7);
}

.portal-signal-route span {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(244, 239, 230, 0.9);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.portal-signal-route span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--aqua);
  box-shadow: 0 0 16px rgba(32, 199, 217, 0.72);
}

.portal-signal-route span:nth-child(2)::before {
  background: var(--amber);
  box-shadow: 0 0 16px rgba(245, 182, 66, 0.64);
}

.portal-signal-route span:nth-child(3)::before {
  background: var(--green);
  box-shadow: 0 0 16px rgba(84, 210, 155, 0.64);
}

@media (max-width: 920px) {
  .portal-signal-route {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-section {
    padding-right: 20px;
  }

  .hero-copy,
  .media-copy {
    max-width: calc(100vw - 40px);
  }

  .mobile-hero-device {
    width: min(100%, calc(100vw - 40px));
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(108px, 0.72fr);
    gap: 10px;
    align-items: stretch;
    margin-top: 18px;
    padding: 10px;
    border: 1px solid rgba(244, 239, 230, 0.14);
    border-radius: 16px;
    background:
      linear-gradient(120deg, rgba(32, 199, 217, 0.14), rgba(245, 182, 66, 0.08)),
      rgba(12, 18, 26, 0.82);
    box-shadow: inset 0 1px 0 rgba(244, 239, 230, 0.08), 0 20px 52px rgba(0, 0, 0, 0.28);
  }

  .mobile-hero-screen {
    position: relative;
    min-height: 104px;
    overflow: hidden;
    border: 5px solid #080b10;
    border-radius: 13px;
    background: #05070a;
  }

  .mobile-hero-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.05);
  }

  .mobile-hero-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.5));
    pointer-events: none;
  }

  .mobile-hero-state {
    position: absolute;
    z-index: 1;
    left: 8px;
    bottom: 8px;
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 8px;
    color: #061014;
    background: var(--green);
    font-size: 0.62rem;
    font-weight: 950;
    text-transform: uppercase;
  }

  .mobile-hero-meta {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 6px;
  }

  .mobile-hero-meta span,
  .mobile-hero-meta strong,
  .mobile-hero-meta small {
    display: block;
  }

  .mobile-hero-meta span {
    color: var(--aqua);
    font-size: 0.64rem;
    font-weight: 950;
    text-transform: uppercase;
  }

  .mobile-hero-meta strong {
    color: var(--ink);
    font-family: Consolas, "Liberation Mono", monospace;
    font-size: 0.84rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .mobile-hero-meta small {
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .sales-rhythm {
    width: min(100%, calc(100vw - 40px));
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 8px 4px;
  }

  .sales-rhythm::before {
    left: 30px;
    right: 30px;
    top: 22px;
  }

  .sales-rhythm span {
    min-height: 46px;
    padding: 20px 3px 0;
    font-size: 0.68rem;
  }

  .portal-hero-copy h1 {
    font-size: clamp(2rem, 10.2vw, 2.65rem);
    line-height: 1.02;
  }

  .portal-hero-copy p:not(.section-kicker) {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .portal-signal-route {
    display: none;
  }
}
