/* home.css */
:root {
  --bg: #0c1216;
  --bg-2: #121a1f;
  --card: #171f25;
  --line: #2a353c;
  --text: #e8eef0;
  --muted: #8b9aa3;
  --teal: #3d9b8f;
  --ink: #061014;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

/* Plan comparison replacing the decorative help demo. */
.plan-showcase { padding-block: 16px 4px; }
.plan-showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.plan-showcase-heading > div:first-child { max-width: 650px; }
.plan-eyebrow { display: inline-block; margin-bottom: 10px; color: #80d9d7; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.plan-showcase-heading h2 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; }
.plan-showcase-heading .sub { margin: 0; }
.plan-cycle-switch { display: inline-flex; flex: none; gap: 4px; padding: 4px; background: #151b20; border-radius: 7px; box-shadow: inset 0 0 0 1px #303a41; }
.plan-cycle-switch button { border: 0; border-radius: 5px; background: transparent; color: #c3d0d4; padding: 9px 13px; font: inherit; font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.plan-cycle-switch button.on { color: #f6fbfb; background: #364147; box-shadow: 0 2px 8px rgba(0,0,0,.22); }
.plan-cycle-switch button span { color: #9ae1b9; font-size: 11px; margin-left: 4px; }
.plan-showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan-showcase-card { display: flex; flex-direction: column; min-width: 0; min-height: 478px; padding: 28px 26px 26px; background: #1b2126; border: 0; border-radius: 9px; box-shadow: 0 18px 38px rgba(0,0,0,.14), inset 0 1px rgba(255,255,255,.035); }
.plan-showcase-card.featured { background: radial-gradient(circle at 85% -10%, rgba(53,137,119,.42), transparent 50%), linear-gradient(150deg, #1e2e30 0%, #1b2529 52%, #1b2126 100%); box-shadow: 0 22px 44px rgba(0,0,0,.21), inset 0 1px rgba(122,224,211,.15); }
.plan-showcase-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; min-height: 78px; }
.plan-showcase-card .plan-name { color: #8cd8d8; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.plan-showcase-card h3 { margin: 9px 0 0; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.plan-quality { background: #313c42; color: #e9f6f5; padding: 5px 8px; border-radius: 4px; font-size: 11px; font-weight: 750; }
.plan-showcase-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 12px 0 8px; }
.plan-showcase-price strong { font-size: clamp(33px, 3.2vw, 43px); line-height: 1; letter-spacing: -.04em; }
.plan-showcase-price span { color: #b8c6cb; font-size: 12px; font-weight: 600; }
.plan-showcase-summary { min-height: 38px; margin: 0 0 18px; color: #aebec4; font-size: 13px; line-height: 1.45; }
.plan-storage { display: flex; align-items: center; gap: 12px; min-height: 78px; padding: 14px 15px; background: rgba(255,255,255,.065); border-radius: 6px; }
.plan-storage strong { color: #f5fbfb; font-size: 22px; letter-spacing: -.025em; }
.plan-storage span { color: #bbc9cd; font-size: 12px; line-height: 1.35; }
.plan-showcase-card .plan-showcase-cta { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 43px; margin: 16px 0 25px; background: #f1f7f8; color: #142027; border: 0; border-radius: 5px; font-weight: 800; box-shadow: 0 6px 14px rgba(0,0,0,.13); }
.plan-showcase-card .plan-showcase-cta:hover { background: #d5f2ee; color: #0c2525; transform: translateY(-1px); }
.plan-included { margin-top: auto; color: #8fa3aa; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.plan-showcase-card ul { display: grid; gap: 11px; margin: 16px 0 0; padding: 0; list-style: none; color: #d3dfe1; font-size: 12.5px; line-height: 1.35; }
.plan-showcase-card li { display: flex; align-items: start; gap: 9px; }
.plan-showcase-card li::before { content: "✓"; flex: none; color: #91dbd8; font-weight: 800; }
.plan-showcase-note { max-width: 900px; margin: 22px 0 0; color: #b3c0c4; font-size: 12px; line-height: 1.55; }
.home-pills button:disabled { opacity: .42; cursor: not-allowed; }
@media (max-width: 980px) { .plan-showcase-heading { align-items: start; flex-direction: column; } }
@media (max-width: 850px) { .plan-showcase-grid { grid-template-columns: 1fr; } .plan-showcase-card { min-height: 0; } }
html[data-theme="light"] .plan-cycle-switch { background: #e7edef; box-shadow: inset 0 0 0 1px #cbd7db; }
html[data-theme="light"] .plan-cycle-switch button { color: #3a5159; }
html[data-theme="light"] .plan-cycle-switch button.on { background: #fff; color: #16262c; }
html[data-theme="light"] .plan-cycle-switch button span { color: #186d48; }
html[data-theme="light"] .plan-showcase-card { background: #f6f9fa; box-shadow: 0 14px 32px rgba(21,43,50,.10); }
html[data-theme="light"] .plan-showcase-card.featured { background: radial-gradient(circle at 85% -10%, rgba(61,155,143,.24), transparent 54%), #edf5f3; }
html[data-theme="light"] .plan-showcase-card .plan-name { color: #146e72; }
html[data-theme="light"] .plan-quality { background: #dce9ea; color: #26464a; }
html[data-theme="light"] .plan-storage { background: #e4ecee; }
html[data-theme="light"] .plan-storage strong { color: #14262a; }
html[data-theme="light"] .plan-storage span,
html[data-theme="light"] .plan-showcase-summary,
html[data-theme="light"] .plan-showcase-price span,
html[data-theme="light"] .plan-showcase-note { color: #53666f; }
html[data-theme="light"] .plan-showcase-card ul { color: #344951; }
html[data-theme="light"] .plan-showcase-card .plan-showcase-cta { background: #172a2f; color: #f2f8f9; }
html[data-theme="light"] .plan-showcase-card .plan-showcase-cta:hover { background: #245358; color: #fff; }

/* FIX182 — keep the billing-cycle switch and plan cards stationary on mobile. */
@media (max-width: 640px) {
  .plan-showcase-controls,
  .plan-cycle-switch {
    width: 100%;
    min-width: 0;
  }
  .plan-cycle-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 46px;
    height: 46px;
    box-sizing: border-box;
  }
  .plan-cycle-switch button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    height: 38px;
    padding: 0 7px;
    line-height: 1;
    white-space: nowrap;
  }
  .plan-cycle-switch button span {
    margin-left: 0;
    font-size: 9px;
    white-space: nowrap;
  }
  .plan-showcase-price {
    min-height: 48px;
    align-content: center;
  }
  .plan-showcase-price strong,
  .plan-showcase-price span {
    white-space: nowrap;
  }
}
html[data-theme="light"] {
  --bg: #f3f5f6;
  --bg-2: #ffffff;
  --card: #ffffff;
  --line: #d4dce0;
  --text: #142026;
  --muted: #5b6b73;
  --ink: #06201c;
  --shadow: 0 14px 36px rgba(20, 32, 38, 0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
.section,
.hd-panel {
  scroll-margin-top: 72px;
}
body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--teal); text-decoration: none; }
button, input { font: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
@media (min-width: 1101px) {
  .wrap { width: calc(100% - clamp(48px, 5vw, 96px)); max-width: none; }
}
.site-nav {
  position: relative;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--line);
}
.site-nav.is-solid {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom-color: color-mix(in srgb, var(--line) 80%, transparent);
}
html:has(body.home) {
  overflow-x: clip;
}
.home {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 90% 42% at 12% 6%, rgba(22, 48, 56, 0.55) 0%, transparent 58%),
    radial-gradient(ellipse 70% 36% at 88% 38%, rgba(16, 36, 31, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse 80% 40% at 18% 62%, rgba(20, 44, 48, 0.38) 0%, transparent 58%),
    radial-gradient(ellipse 72% 36% at 86% 88%, rgba(14, 34, 30, 0.34) 0%, transparent 55%),
    var(--bg);
}
.home .site-nav {
  background: color-mix(in srgb, var(--bg) 42%, transparent);
  border-bottom-color: transparent;
}
.home::before,
.home::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.home::before {
  background:
    radial-gradient(ellipse 48% 16% at 18% 8%, rgba(61, 155, 143, 0.58) 0%, transparent 62%),
    radial-gradient(ellipse 42% 14% at 78% 24%, rgba(61, 155, 143, 0.38) 0%, transparent 62%),
    radial-gradient(ellipse 46% 15% at 14% 48%, rgba(45, 120, 108, 0.34) 0%, transparent 60%),
    radial-gradient(ellipse 44% 14% at 86% 64%, rgba(61, 155, 143, 0.3) 0%, transparent 62%),
    radial-gradient(ellipse 50% 16% at 22% 86%, rgba(45, 120, 108, 0.28) 0%, transparent 60%);
  background-size: 130% 130%;
  background-repeat: no-repeat;
  animation: heroGlowA 16s ease-in-out infinite alternate;
}
.home::after {
  background:
    radial-gradient(ellipse 40% 14% at 86% 14%, rgba(154, 214, 168, 0.26) 0%, transparent 62%),
    radial-gradient(ellipse 44% 15% at 18% 36%, rgba(154, 214, 168, 0.2) 0%, transparent 62%),
    radial-gradient(ellipse 42% 14% at 72% 54%, rgba(154, 214, 168, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 46% 15% at 28% 74%, rgba(120, 190, 160, 0.16) 0%, transparent 62%),
    radial-gradient(ellipse 40% 14% at 78% 92%, rgba(28, 86, 74, 0.32) 0%, transparent 60%);
  background-size: 130% 130%;
  background-repeat: no-repeat;
  animation: heroGlowB 20s ease-in-out infinite alternate;
}
html[data-theme="light"] .home::before {
  background:
    radial-gradient(ellipse 46% 16% at 18% 8%, rgba(61, 155, 143, 0.26) 0%, transparent 62%),
    radial-gradient(ellipse 40% 14% at 76% 26%, rgba(61, 155, 143, 0.14) 0%, transparent 62%),
    radial-gradient(ellipse 42% 14% at 16% 48%, rgba(45, 120, 108, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 14% at 84% 66%, rgba(61, 155, 143, 0.12) 0%, transparent 62%),
    radial-gradient(ellipse 44% 15% at 24% 88%, rgba(45, 120, 108, 0.1) 0%, transparent 60%);
}
html[data-theme="light"] .home::after {
  background:
    radial-gradient(ellipse 40% 14% at 86% 14%, rgba(120, 180, 150, 0.14) 0%, transparent 62%),
    radial-gradient(ellipse 42% 14% at 18% 36%, rgba(61, 155, 143, 0.1) 0%, transparent 62%),
    radial-gradient(ellipse 40% 14% at 72% 56%, rgba(120, 180, 150, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 42% 14% at 28% 76%, rgba(61, 155, 143, 0.08) 0%, transparent 62%),
    radial-gradient(ellipse 38% 14% at 78% 92%, rgba(61, 155, 143, 0.1) 0%, transparent 60%);
}
html[data-theme="light"] .home {
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) {
  .home::before,
  .home::after {
    animation: none;
    opacity: 0.85;
  }
}
.nav-inner {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-back {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.nav-back:hover { color: var(--teal); }
.nav-brand { display: flex; align-items: center; }
.nav-brand strong { font-size: 15px; letter-spacing: 0.08em; color: var(--teal); }
.nav-links { display: flex; gap: 22px; margin-left: 18px; }
.nav-links a { color: var(--text); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--teal); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-end .btn {
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  border-width: 1px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  box-sizing: border-box;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease, filter 0.16s ease;
}
.nav-end .ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}
.nav-end .ghost:hover {
  background: transparent;
  border-color: color-mix(in srgb, var(--text) 35%, var(--line));
  color: var(--text);
  filter: none;
}
.nav-end .btn-teal {
  font-weight: 600;
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ink);
  height: 36px;
  min-height: 36px;
  max-height: 36px;
}
.nav-end .nav-toggle {
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  font-weight: 600;
}
.nav-end .btn-teal:hover {
  filter: brightness(1.07);
  color: var(--ink);
}
.nav-toggle-spacer { display: none; }
/* Menu is mobile-only — .btn { display:inline-flex } would otherwise win on PC */
.nav-toggle,
.nav-toggle-float {
  display: none !important;
}
.nav-toggle-face-close {
  display: none !important;
}
.nav-drawer,
.nav-scrim { display: none; }
.theme-switch {
  width: 46px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: #4a555c;
  padding: 2px;
  cursor: pointer;
}
html[data-theme="light"] .theme-switch { background: #c5ced3; }
.theme-knob {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  transition: transform 0.22s ease;
  transform: translateX(20px);
}
html[data-theme="light"] .theme-knob { transform: translateX(0); }
.theme-icon { width: 13px; height: 13px; display: none; fill: none; stroke: #111; stroke-width: 1.8; }
html[data-theme="dark"] .theme-icon-moon,
html:not([data-theme]) .theme-icon-moon { display: block; }
html[data-theme="light"] .theme-icon-sun { display: block; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.btn:hover { border-color: var(--teal); color: var(--teal); }
@media (hover: none) {
  .btn:hover { border-color: var(--line); color: var(--text); filter: none; }
  .btn-teal:hover { filter: none; background: var(--teal); border-color: var(--teal); color: var(--ink); }
}
.btn-teal { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.btn-teal:hover { filter: brightness(1.06); color: var(--ink); }
.btn-lg { height: 46px; padding: 0 20px; }
.ghost { color: var(--text); }
.hero-actions { gap: 12px; }
.hero-actions .btn {
  height: 43px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
  white-space: nowrap;
}
.hero-actions .btn-teal {
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(61, 155, 143, 0.18);
}
.hero-actions .btn-teal:hover {
  filter: brightness(1.06);
  color: var(--ink);
}
.hero-actions .btn:not(.btn-teal) {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  font-weight: 500;
}
.hero-actions .btn:not(.btn-teal):hover {
  border-color: color-mix(in srgb, var(--text) 35%, var(--line));
  color: var(--text);
  filter: none;
}
.hero {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding: 36px 0 20px;
  background: transparent;
}
@keyframes heroGlowA {
  0% {
    background-position: 28% 24%, 28% 24%, 28% 24%;
    opacity: 0.86;
  }
  100% {
    background-position: 42% 36%, 42% 36%, 42% 36%;
    opacity: 1;
  }
}
@keyframes heroGlowB {
  0% {
    background-position: 40% 32%, 40% 32%, 40% 32%;
    opacity: 0.82;
  }
  100% {
    background-position: 26% 22%, 26% 22%, 26% 22%;
    opacity: 1;
  }
}
html[data-theme="light"] .hero {
  background: transparent;
}
.home #features {
  position: relative;
  z-index: 1;
  background: transparent;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.eyebrow { color: var(--teal); font-size: 12px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { margin: 6px 0 0; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
h1 em { font-style: normal; color: var(--teal); }
.hero-title .ht-track {
  display: block;
}
/* Full color by default — dim only while the sequence animation runs */
.hero-title .ht-word {
  display: inline;
  color: var(--text);
  transition: color 0.35s ease;
}
.hero-title.is-seq .ht-word:not(.is-on) {
  color: color-mix(in srgb, var(--text) 34%, transparent);
}
.hero-title .ht-word.is-on {
  color: var(--text);
}
.hero-title .ht-word.ht-247 {
  color: color-mix(in srgb, var(--text) 55%, #ff6b6b);
}
.hero-title.is-seq .ht-word.ht-247:not(.is-on) {
  color: color-mix(in srgb, #ff6b6b 28%, transparent);
}
.hero-title .ht-word.ht-247.is-on {
  color: color-mix(in srgb, var(--text) 55%, #ff6b6b);
}
.hero-title .ht-word.ht-em {
  color: var(--teal);
  margin-left: 0.18em;
}
.hero-title.is-seq .ht-word.ht-em:not(.is-on) {
  color: color-mix(in srgb, var(--teal) 28%, transparent);
}
.hero-title .ht-word.ht-em.is-on {
  color: var(--teal);
}
.hero-title .ht-word + .ht-word:not(.ht-em)::before {
  content: " ";
}
@media (prefers-reduced-motion: reduce) {
  .hero-title .ht-word,
  .hero-title .ht-word.ht-247,
  .hero-title .ht-word.ht-em {
    color: inherit;
    transition: none;
  }
  .hero-title .ht-word.ht-247 { color: color-mix(in srgb, var(--text) 55%, #ff6b6b); }
  .hero-title .ht-word.ht-em { color: var(--teal); }
}
.lead { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.hero-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.dash-mock {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px;
  color: inherit;
  cursor: default;
}
.mock-top { display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 12px; }
.chip {
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.chip.ok { color: #9ee0b4; border-color: #3d7a4a; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mock-thumb { height: 140px; background: #12181c; position: relative; overflow: hidden; }
.mock-thumb.mock-sky {
  background:
    #12181c
    url("/home-samples/sky-chill-music.jpg?v=7") center / cover no-repeat;
}
.mock-thumb.mock-lofi {
  background:
    #12181c
    url("/home-samples/lofi-study.jpg?v=59") center / cover no-repeat;
}
.mock-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 34%, transparent 62%, rgba(0, 0, 0, 0.38) 100%);
}
/* Still covers video until playback — hides phone native play-button flash */
img.mock-still {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
  background: transparent;
}
.mock-clip {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  background: transparent;
  border: 0;
  display: block;
  opacity: 0;
}
video.mock-clip.is-playing {
  opacity: 1;
}
img.mock-clip {
  z-index: 0;
  opacity: 1;
}
.rain-field {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.rain-field i {
  position: absolute;
  top: -24px;
  left: var(--x);
  width: var(--w, 1.2px);
  height: var(--h, 12px);
  border-radius: 1px;
  background: linear-gradient(
    180deg,
    rgba(210, 230, 255, 0) 0%,
    rgba(210, 230, 255, var(--o, 0.4)) 55%,
    rgba(210, 230, 255, 0) 100%
  );
  opacity: 0.85;
  transform: translate3d(0, 0, 0);
  animation: rainDropFall var(--d, 1.1s) linear infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}
@keyframes rainDropFall {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, 280px, 0); }
}
.hp-led {
  position: absolute;
  z-index: 3;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--teal) 88%, #fff);
  opacity: 0.55;
  pointer-events: none;
  box-shadow: 0 0 8px currentColor;
  animation: hpLedPulse 0.9s ease-in-out infinite alternate;
}
@keyframes hpLedPulse {
  from { opacity: 0.4; transform: scale(0.85); filter: brightness(0.9); }
  to { opacity: 1; transform: scale(1.15); filter: brightness(1.25); }
}
/* Lofi rain: chromakey green window in MP4 (no CSS rain overlay). */
.mock-lofi video.mock-clip { z-index: 0; }
/* Sky Chill: city plate locked; hair + headphone LED baked into video (character-side only). */
.mock-sky .sky-stars {
  position: absolute;
  top: 10%;
  right: 8%;
  width: 36%;
  height: 26%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 34%, rgba(255,255,255,0.55) 0 0.3px, transparent 0.7px),
    radial-gradient(circle at 58% 22%, rgba(255,255,255,0.4) 0 0.28px, transparent 0.65px),
    radial-gradient(circle at 78% 48%, rgba(255,255,255,0.5) 0 0.32px, transparent 0.7px);
  opacity: 0.2;
  animation: skyStarShine 3.6s ease-in-out infinite alternate;
}
@keyframes skyStarShine {
  from { opacity: 0.1; filter: brightness(0.92); }
  to { opacity: 0.3; filter: brightness(1.06); }
}
/* Live music EQ — small on the RIGHT, bars only (no box border) */
.mock-sky .sky-eq,
.sky-eq.hd-sky-eq {
  position: absolute;
  left: auto;
  right: 8px;
  bottom: 8px;
  width: 40px;
  height: 18px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  pointer-events: none;
  box-sizing: border-box;
}
.mock-sky .sky-eq b,
.sky-eq.hd-sky-eq b {
  flex: 1 1 0;
  min-width: 2px;
  max-width: 4px;
  border-radius: 1px 1px 0 0;
  transform-origin: bottom center;
  background: linear-gradient(to top, #2dd4bf 0%, #5b8cff 45%, #ff6ad5 100%);
  box-shadow: 0 0 5px color-mix(in srgb, #7aa2ff 30%, transparent);
  animation-name: skyEqBeat;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.mock-sky .sky-eq b:nth-child(1), .sky-eq.hd-sky-eq b:nth-child(1) { height: 30%; animation-duration: 0.78s; }
.mock-sky .sky-eq b:nth-child(2), .sky-eq.hd-sky-eq b:nth-child(2) { height: 58%; animation-duration: 0.98s; animation-delay: 0.06s; }
.mock-sky .sky-eq b:nth-child(3), .sky-eq.hd-sky-eq b:nth-child(3) { height: 40%; animation-duration: 0.85s; animation-delay: 0.12s; }
.mock-sky .sky-eq b:nth-child(4), .sky-eq.hd-sky-eq b:nth-child(4) { height: 78%; animation-duration: 1.05s; animation-delay: 0.03s; }
.mock-sky .sky-eq b:nth-child(5), .sky-eq.hd-sky-eq b:nth-child(5) { height: 48%; animation-duration: 0.9s; animation-delay: 0.16s; }
.mock-sky .sky-eq b:nth-child(6), .sky-eq.hd-sky-eq b:nth-child(6) { height: 68%; animation-duration: 0.95s; animation-delay: 0.09s; }
.mock-sky .sky-eq b:nth-child(7), .sky-eq.hd-sky-eq b:nth-child(7) { height: 36%; animation-duration: 0.82s; animation-delay: 0.2s; }
.mock-sky .sky-eq b:nth-child(n+8), .sky-eq.hd-sky-eq b:nth-child(n+8) { display: none; }
@keyframes skyEqBeat {
  0% {
    transform: scaleY(0.25);
    opacity: 0.65;
    filter: brightness(0.95) saturate(1);
  }
  40% {
    transform: scaleY(0.75);
    opacity: 0.92;
  }
  70% {
    transform: scaleY(1);
    opacity: 1;
    filter: brightness(1.18) saturate(1.2);
  }
  100% {
    transform: scaleY(0.38);
    opacity: 0.75;
    filter: brightness(1.05) saturate(1.08);
  }
}
.mock-eq {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(8, 14, 18, 0.42);
  pointer-events: none;
}
.mock-eq b {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--teal) 82%, #fff);
  transform-origin: bottom center;
  animation: mockEqPulse 1.1s ease-in-out infinite alternate;
}
.mock-eq b:nth-child(1) { height: 36%; animation-duration: 0.9s; animation-delay: 0s; }
.mock-eq b:nth-child(2) { height: 58%; animation-duration: 1.15s; animation-delay: 0.08s; }
.mock-eq b:nth-child(3) { height: 44%; animation-duration: 0.95s; animation-delay: 0.16s; }
.mock-eq b:nth-child(4) { height: 72%; animation-duration: 1.25s; animation-delay: 0.04s; }
.mock-eq b:nth-child(5) { height: 50%; animation-duration: 1.05s; animation-delay: 0.2s; }
.mock-eq b:nth-child(6) { height: 64%; animation-duration: 1.2s; animation-delay: 0.12s; }
.mock-eq b:nth-child(7) { height: 40%; animation-duration: 0.88s; animation-delay: 0.18s; }
@keyframes mockEqPulse {
  from { transform: scaleY(0.45); opacity: 0.7; }
  to { transform: scaleY(1); opacity: 1; }
}
.mock-wave {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 16px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(8, 14, 18, 0.45);
  transform: translateX(-50%);
  pointer-events: none;
}
.mock-wave b {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--teal) 70%, #9ee0b4);
  transform-origin: center;
  animation: mockWavePulse 1.35s ease-in-out infinite alternate;
}
.mock-wave b:nth-child(1) { height: 28%; animation-delay: 0s; }
.mock-wave b:nth-child(2) { height: 46%; animation-delay: 0.05s; }
.mock-wave b:nth-child(3) { height: 62%; animation-delay: 0.1s; }
.mock-wave b:nth-child(4) { height: 78%; animation-delay: 0.15s; }
.mock-wave b:nth-child(5) { height: 90%; animation-delay: 0.08s; }
.mock-wave b:nth-child(6) { height: 70%; animation-delay: 0.18s; }
.mock-wave b:nth-child(7) { height: 88%; animation-delay: 0.04s; }
.mock-wave b:nth-child(8) { height: 66%; animation-delay: 0.12s; }
.mock-wave b:nth-child(9) { height: 80%; animation-delay: 0.16s; }
.mock-wave b:nth-child(10) { height: 54%; animation-delay: 0.07s; }
.mock-wave b:nth-child(11) { height: 42%; animation-delay: 0.14s; }
.mock-wave b:nth-child(12) { height: 30%; animation-delay: 0.2s; }
@keyframes mockWavePulse {
  from { transform: scaleY(0.55); opacity: 0.55; }
  to { transform: scaleY(1); opacity: 0.95; }
}
.stream-showcase {
  margin-top: 42px;
}
.stream-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.showcase-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.showcase-thumb {
  position: relative;
  height: clamp(168px, 18vw, 220px);
  background: #12181c;
  overflow: hidden;
}
.showcase-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 34%, transparent 62%, rgba(0, 0, 0, 0.38) 100%);
}
.showcase-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 12px;
}
.showcase-meta strong {
  font-size: 14px;
  font-weight: 700;
}
.showcase-wave {
  bottom: 12px;
  height: 14px;
  opacity: 0.9;
}
@media (max-width: 1100px) {
  .stream-showcase-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .showcase-thumb {
    height: clamp(150px, 28vw, 200px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .rain-field i,
  .hp-led,
  .sky-stars,
  .sky-wave i,
  .sky-eq b,
  .mock-eq b,
  .mock-wave b {
    animation: none !important;
  }
  .rain-field { opacity: 0.35; }
  .sky-stars { opacity: 0.4; }
}
/* Never show native play / controls on decorative preview thumbs (esp. iPhone) */
.mock-thumb video::-webkit-media-controls,
.mock-thumb video::-webkit-media-controls-enclosure,
.mock-thumb video::-webkit-media-controls-start-playback-button,
.mock-thumb video::-webkit-media-controls-overlay-play-button,
.mock-thumb video::-webkit-media-controls-loading-panel,
.hd-preview-thumb-video video::-webkit-media-controls,
.hd-preview-thumb-video video::-webkit-media-controls-enclosure,
.hd-preview-thumb-video video::-webkit-media-controls-start-playback-button,
.hd-preview-thumb-video video::-webkit-media-controls-overlay-play-button,
.hd-preview-thumb-video video::-webkit-media-controls-loading-panel,
.hd-stream-thumb-video video::-webkit-media-controls,
.hd-stream-thumb-video video::-webkit-media-controls-enclosure,
.hd-stream-thumb-video video::-webkit-media-controls-start-playback-button,
.hd-stream-thumb-video video::-webkit-media-controls-overlay-play-button,
.hd-stream-thumb-video video::-webkit-media-controls-loading-panel {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}
.badge.live-now {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 16px;
  padding: 0 5px;
  border: 1px solid rgba(255, 120, 120, 0.45);
  color: #ffe8e8;
  background: rgba(150, 28, 28, 0.55);
  border-radius: 3px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  box-shadow: none;
}
.badge.live-now i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffb4b4;
  box-shadow: 0 0 0 0 rgba(255, 180, 180, 0.55);
  animation: livePulse 1.4s ease-out infinite;
}
.mock-card > span .mock-247 {
  color: #ff5c5c;
  font-weight: 700;
  font-style: normal;
}
.wrap-yt {
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto;
}
.home-yt {
  margin: 22px 0 0;
}
.home-yt-frame,
.home-yt iframe {
  display: block;
  width: 100%;
  height: clamp(420px, 56vw, 700px);
  border: 0;
  border-radius: 16px;
  background: #11181c;
  box-shadow: var(--shadow);
}
.home-yt .tiny,
#homeCycleNote {
  text-align: center;
  margin: 12px 0 0;
  color: var(--muted);
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65); }
  70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .badge.live-now i {
    animation: none;
  }
  .mock-rain,
  .mock-eq b,
  .mock-wave b {
    animation: none !important;
  }
  .mock-eq b,
  .mock-wave b {
    transform: none;
    opacity: 0.85;
  }
}
.mock-meta { display: flex; align-items: center; gap: 8px; padding: 8px 10px 0; }
.mock-card strong { font-size: 13px; }
.mock-card span { display: block; padding: 2px 10px 8px; color: var(--muted); font-size: 11px; }
.plat-mini {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
  display: block;
}
.plat-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
  display: block;
}
.mock-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border: 1px solid #d45454;
  color: #ffb4b4;
}
.section { padding: 40px 0; }
.section.alt { background: var(--bg-2); }
.home .section,
.home .section.alt,
.home .final,
.home .home-marquee-sec,
.home .site-foot {
  position: relative;
  z-index: 1;
}
.home .section,
.home .section.alt,
.home .final {
  background: transparent;
}
.home .site-foot {
  border-top-color: color-mix(in srgb, var(--line) 28%, transparent);
}
.home .final {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(22, 48, 56, 0.45) 0%, transparent 70%);
}
.section h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.03em; }
.section .sub { margin: 8px 0 0; color: var(--muted); max-width: 560px; line-height: 1.5; }

/* Homepage feature marquee — decorative only */
.home-marquee-sec {
  position: relative;
  z-index: 1;
  padding: 28px 0 36px;
  overflow: hidden;
}
.home-marquee {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
@media (min-width: 1101px) {
  .home-marquee { width: calc(100% - clamp(32px, 3vw, 64px)); }
}
.home-marquee-row {
  overflow: hidden;
  width: 100%;
}
.home-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.home-marquee-set {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 5px;
  list-style: none;
  flex-shrink: 0;
}
.home-marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line) 88%, var(--teal));
  background: color-mix(in srgb, var(--card) 88%, #0a1014);
  color: var(--text);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  user-select: none;
}
.home-marquee-pill svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
}
.home-marquee-set li:nth-child(8n + 1) .home-marquee-pill svg { stroke: #3d9b8f; }
.home-marquee-set li:nth-child(8n + 2) .home-marquee-pill svg { stroke: #6eb8a8; }
.home-marquee-set li:nth-child(8n + 3) .home-marquee-pill svg { stroke: #6e9fc8; }
.home-marquee-set li:nth-child(8n + 4) .home-marquee-pill svg { stroke: #c47a7a; }
.home-marquee-set li:nth-child(8n + 5) .home-marquee-pill svg { stroke: #8fb57a; }
.home-marquee-set li:nth-child(8n + 6) .home-marquee-pill svg { stroke: #5f8fbc; }
.home-marquee-set li:nth-child(8n + 7) .home-marquee-pill svg { stroke: #b86b6b; }
.home-marquee-set li:nth-child(8n + 8) .home-marquee-pill svg { stroke: #5aa99a; }
html[data-theme="light"] .home-marquee-set li:nth-child(8n + 1) .home-marquee-pill svg { stroke: #2f7f75; }
html[data-theme="light"] .home-marquee-set li:nth-child(8n + 2) .home-marquee-pill svg { stroke: #4a9a8a; }
html[data-theme="light"] .home-marquee-set li:nth-child(8n + 3) .home-marquee-pill svg { stroke: #4f84ad; }
html[data-theme="light"] .home-marquee-set li:nth-child(8n + 4) .home-marquee-pill svg { stroke: #a85f5f; }
html[data-theme="light"] .home-marquee-set li:nth-child(8n + 5) .home-marquee-pill svg { stroke: #6f945c; }
html[data-theme="light"] .home-marquee-set li:nth-child(8n + 6) .home-marquee-pill svg { stroke: #4578a6; }
html[data-theme="light"] .home-marquee-set li:nth-child(8n + 7) .home-marquee-pill svg { stroke: #9a5555; }
html[data-theme="light"] .home-marquee-set li:nth-child(8n + 8) .home-marquee-pill svg { stroke: #3f8f80; }
html[data-theme="light"] .home-marquee-pill {
  background: color-mix(in srgb, var(--card) 92%, #e8eef0);
  box-shadow: 0 4px 14px rgba(20, 32, 38, 0.06);
}
.home-marquee-rtl .home-marquee-track {
  animation: homeMarqueeRtl 72s linear infinite;
}
.home-marquee-ltr .home-marquee-track {
  animation: homeMarqueeLtr 78s linear infinite;
}
.home-marquee-slow .home-marquee-track {
  animation-duration: 88s;
}
.home-marquee-slower .home-marquee-track {
  animation-duration: 96s;
}
@keyframes homeMarqueeRtl {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes homeMarqueeLtr {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .home-marquee-track {
    animation: none !important;
    transform: none !important;
  }
  .home-marquee-row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .home-marquee-set[aria-hidden="true"] {
    display: none;
  }
}

.cards-4, .cards-3 { display: grid; gap: 10px; margin-top: 16px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.feature-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px 56px;
  align-items: start;
}
.feature-intro h2 {
  max-width: 18ch;
}
.feature-intro .sub {
  max-width: 42ch;
}
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
  border-top: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
}
.feature-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
}
.feature-list-mark {
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 18%, transparent);
}
.feature-list strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text);
}
.feature-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  max-width: none;
}
@media (hover: hover) and (pointer: fine) {
  .feature-list li {
    transition: background 0.25s ease;
  }
  .feature-list li:hover strong {
    color: color-mix(in srgb, var(--text) 88%, var(--teal));
  }
  .feature-list li:hover .feature-list-mark {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 26%, transparent);
  }
}
@media (max-width: 860px) {
  .feature-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .feature-intro h2 {
    max-width: none;
  }
}
.card h3 { margin: 8px 0 4px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 14px; }
.ico {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.step b { display: block; color: var(--teal); font-size: 12px; letter-spacing: 0.08em; }
.step h3 { margin: 8px 0 4px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.benefit {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
}
.status-panel {
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--card) 88%, #1a3030) 0%, var(--card) 55%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 16px 14px;
  pointer-events: none;
  user-select: none;
}
.status-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.status-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9ee0b4;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
}
.status-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fd39a;
  box-shadow: 0 0 0 0 rgba(95, 211, 154, 0.55);
  animation: statusLivePulse 1.8s ease-out infinite;
}
.status-panel-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-activity {
  height: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 70%, transparent);
  overflow: hidden;
  margin-bottom: 14px;
}
.status-activity b {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--teal) 75%, #fff), transparent);
  animation: statusActivity 3.6s linear infinite;
}
.status-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.status-panel-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.status-panel-list li:first-child { border-top: 0; padding-top: 2px; }
.status-panel-list span {
  color: var(--muted);
  font-size: 13px;
}
.status-panel-list strong {
  font-size: 13px;
  font-weight: 650;
}
.status-panel-list .status-ok { color: #9ee0b4; }
@keyframes statusLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(95, 211, 154, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(95, 211, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 211, 154, 0); }
}
@keyframes statusActivity {
  from { transform: translate3d(-120%, 0, 0); }
  to { transform: translate3d(280%, 0, 0); }
}
.tiny { margin-top: 10px; color: var(--muted); font-size: 12px; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.lib-preview { gap: 18px; }
.lib-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px 16px;
  pointer-events: none;
  user-select: none;
}
.lib-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 0 2px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}
.lib-panel-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.lib-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.lib-list {
  display: grid;
  gap: 12px;
}
.lib-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg-2) 55%, transparent);
}
.lib-thumb {
  width: 88px;
  height: 50px;
  flex: 0 0 88px;
  border-radius: 9px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: #12181c center/cover no-repeat;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}
.lib-thumb-audio {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 8px 10px 7px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-2) 40%, #163038), color-mix(in srgb, var(--bg-2) 75%, #0f171b));
}
.lib-thumb-audio b {
  display: block;
  width: 2.5px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--teal) 78%, #fff);
  transform-origin: bottom center;
  animation: libEq 1.2s ease-in-out infinite alternate;
}
.lib-thumb-audio b:nth-child(1) { height: 35%; animation-delay: 0s; }
.lib-thumb-audio b:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.lib-thumb-audio b:nth-child(3) { height: 45%; animation-delay: 0.18s; }
.lib-thumb-audio b:nth-child(4) { height: 72%; animation-delay: 0.06s; }
.lib-thumb-audio b:nth-child(5) { height: 40%; animation-delay: 0.14s; }
.lib-thumb-idle b {
  animation: none;
  opacity: 0.5;
  height: 28% !important;
}
.lib-thumb-idle b:nth-child(2),
.lib-thumb-idle b:nth-child(4) { height: 42% !important; }
@keyframes libEq {
  from { transform: scaleY(0.45); opacity: 0.65; }
  to { transform: scaleY(1); opacity: 1; }
}
.lib-item-main {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 5px;
}
.lib-item-main strong {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lib-item-foot {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: 2px;
}
.lib-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.lib-badge {
  margin: 0;
  padding: 4px 8px;
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--teal));
  background: color-mix(in srgb, var(--teal) 5%, transparent);
  color: color-mix(in srgb, var(--teal) 62%, #c8e8df);
  font-size: 11px;
  font-style: normal;
  font-weight: 550;
  letter-spacing: 0.01em;
  line-height: 1.25;
  white-space: nowrap;
}
.lib-badge-muted {
  border-color: color-mix(in srgb, var(--line) 90%, transparent);
  background: color-mix(in srgb, var(--bg) 35%, transparent);
  color: var(--muted);
}
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.dest-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px 18px 18px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  pointer-events: none;
  user-select: none;
}
.dest-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--bg-2) 78%, #10161a);
}
.dest-icon .plat-logo {
  width: 24px;
  height: 24px;
  display: block;
}
.dest-icon-rtmp {
  color: var(--teal);
}
.dest-icon-rtmp svg {
  width: 20px;
  height: 20px;
}
.dest-tile-body {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 5px;
}
.dest-tile-body strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.dest-tile-body span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.dest-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  align-self: center;
  border-radius: 50%;
  background: #5fd39a;
  box-shadow: 0 0 0 3px color-mix(in srgb, #5fd39a 12%, transparent);
  opacity: 0.92;
}
.legal-note { margin-top: 14px; color: var(--muted); font-size: 12px; }
@media (prefers-reduced-motion: reduce) {
  .status-live i,
  .status-activity b,
  .lib-thumb-audio b {
    animation: none !important;
  }
}
.price-toggles { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.home-pills {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  flex: 0 0 auto;
}
.home-pills button {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}
.home-pills button:last-child { border-right: 0; }
.home-pills button.on { background: var(--teal); color: var(--ink); }
.price-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
}
.price-card-paid { border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); }
.price-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 800;
}
.price-card-head em {
  font-style: normal;
  letter-spacing: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--teal) 20%, transparent);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
}
.price-card-sum {
  display: block;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1;
  margin: 8px 0 10px;
}
.price-card-sum span { font-size: 16px; font-weight: 600; color: var(--muted); }
.price-card-count { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; }
.price-card-note { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.price-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.price-stepper b { font-size: 14px; letter-spacing: 0.06em; }
.price-stepper button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.price-bar {
  height: 4px;
  margin: 14px 0 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.price-bar i {
  display: block;
  height: 100%;
  width: 8%;
  background: var(--teal);
}
.price-bar-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.price-cta {
  margin-top: auto;
  width: 100%;
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ink);
  font-weight: 650;
  box-shadow: 0 8px 22px rgba(61, 155, 143, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, border-color 0.18s ease;
}
.price-cta:hover {
  filter: brightness(1.08);
  color: var(--ink);
  border-color: color-mix(in srgb, var(--teal) 70%, #fff);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(61, 155, 143, 0.34);
}
.price-cta:active {
  transform: translateY(0);
  filter: brightness(1.02);
  box-shadow: 0 8px 18px rgba(61, 155, 143, 0.2);
}
html[data-theme="light"] .price-cta:hover {
  color: var(--ink);
}
.price-scale-title { margin: 18px 0 8px; font-size: 15px; }
.price-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.price-scale article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: default;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}
.price-scale article:hover,
.price-scale article:active {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--teal) 40%, var(--line));
  background: color-mix(in srgb, var(--card) 88%, #163038);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}
.price-scale .ps-label,
.price-scale span { display: block; color: var(--muted); font-size: 11px; line-height: 1.2; }
.price-scale .ps-num { display: none; }
.price-scale strong { display: block; margin: 3px 0 2px; font-size: 15px; line-height: 1.15; }
.price-scale em { color: var(--muted); font-size: 10px; font-style: normal; }
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px 64px;
  align-items: start;
}
.faq-intro h2 {
  max-width: 10ch;
}
.faq-intro .sub {
  max-width: 34ch;
}
.faq {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.faq details {
  background: transparent;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 0;
  padding: 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 2px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--text);
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: -2px;
  border-right: 1.5px solid color-mix(in srgb, var(--text) 55%, transparent);
  border-bottom: 1.5px solid color-mix(in srgb, var(--text) 55%, transparent);
  transform: rotate(45deg);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.7;
}
.faq details[open] summary::after {
  margin-top: 2px;
  transform: rotate(225deg);
}
.faq details[open] summary {
  color: color-mix(in srgb, var(--text) 88%, var(--teal));
}
.faq p {
  margin: 0;
  padding: 0 28px 16px 2px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
  max-width: 52ch;
}
@media (hover: hover) and (pointer: fine) {
  .faq summary:hover {
    color: color-mix(in srgb, var(--text) 82%, var(--teal));
  }
}
@media (max-width: 860px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .faq-intro h2 {
    max-width: none;
  }
}
.site-foot {
  border-top: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
  padding: 40px 0 28px;
  margin-top: 8px;
}
.foot-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 32px 48px;
  align-items: start;
}
.foot-brand strong {
  display: block;
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.foot-brand p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 34ch;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 28px;
}
.site-foot h4 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--muted) 88%, transparent);
  text-transform: uppercase;
}
.site-foot a,
.site-foot .cookie-foot-link {
  display: block;
  width: fit-content;
  color: color-mix(in srgb, var(--text) 78%, transparent);
  margin: 0 0 9px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-foot a:hover,
.site-foot .cookie-foot-link:hover {
  color: var(--teal);
}
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--line) 45%, transparent);
}
.copy {
  margin: 0;
  color: color-mix(in srgb, var(--muted) 90%, transparent);
  font-size: 12.5px;
}
.foot-legal {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.foot-legal a,
.foot-legal .cookie-foot-link {
  margin: 0;
  font-size: 12.5px;
  color: color-mix(in srgb, var(--muted) 95%, transparent);
}
@media (max-width: 860px) {
  .foot-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .foot-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .foot-cols {
    grid-template-columns: 1fr 1fr;
  }
}
.page { padding: 48px 0 80px; }
.page h1 { font-size: 40px; }
.page p, .page li { color: var(--muted); line-height: 1.6; }
@media (max-width: 980px) {
  .hero-grid, .benefit, .split-2, .cards-4, .cards-3, .steps, .price-pair {
    grid-template-columns: 1fr 1fr;
  }
  .price-scale { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .nav-links { display: none; }
  .nav-toggle,
  .nav-end > .nav-toggle {
    display: inline-flex !important;
  }
  body.nav-open .nav-toggle-face-close {
    display: inline-flex !important;
  }
  .nav-inner { gap: 10px; }
  .nav-back { font-size: 11px; }
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    opacity: 0;
    pointer-events: none;
  }
  .nav-scrim:not([hidden]) {
    pointer-events: auto;
  }
  .nav-drawer {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    max-width: none;
    border: 0;
    border-radius: 0;
    background:
      linear-gradient(165deg, rgba(22, 58, 54, 0.94), rgba(8, 16, 18, 0.97) 48%, rgba(10, 18, 22, 0.98)),
      var(--bg);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    overscroll-behavior: contain;
  }
  .nav-drawer.is-live {
    display: flex;
  }
  html.nav-open .nav-drawer.is-live,
  body.nav-open .nav-drawer.is-live {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }
  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
  }
  .nav-drawer-head strong {
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--teal);
  }
  .nav-drawer-home-link {
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.04em;
    color: var(--teal);
    text-decoration: none;
  }
  .nav-drawer-home-link:active { opacity: 0.8; }
  .nav-drawer-back {
    width: auto;
    min-width: 44px;
    height: 40px;
    margin: 0;
    padding: 0 6px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-drawer-back:active {
    background: color-mix(in srgb, var(--teal) 12%, transparent);
  }
  .nav-drawer-back svg {
    width: 36px;
    height: 14px;
    display: block;
  }
  .nav-drawer-scroll {
    flex: 1;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 10px 12px 8px;
    -webkit-overflow-scrolling: touch;
  }
  .nav-drawer-kicker {
    margin: 10px 8px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--teal) 70%, var(--muted));
  }
  .nav-drawer-home {
    margin-bottom: 4px;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
  }
  .site-nav {
    position: relative;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
  }
  .site-nav.is-solid {
    background: color-mix(in srgb, var(--bg) 94%, transparent);
  }
  .home .site-nav {
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    border-bottom-color: color-mix(in srgb, var(--line) 55%, transparent);
  }
  .home .site-nav.is-solid {
    background: color-mix(in srgb, var(--bg) 94%, transparent);
  }
  .nav-toggle-spacer {
    display: none;
    width: 72px;
    height: 36px;
    flex: 0 0 auto;
    visibility: hidden;
    pointer-events: none;
  }
  .nav-toggle-spacer.is-on {
    display: block;
  }
  /* Keep Menu above the full-page drawer without moving it */
  body.nav-open .site-nav {
    z-index: 100;
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    pointer-events: none;
  }
  body.nav-open .site-nav .nav-brand,
  body.nav-open .site-nav .nav-back,
  body.nav-open .site-nav .theme-switch,
  body.nav-open .site-nav .btn-teal,
  body.nav-open .site-nav .ghost {
    visibility: hidden;
  }
  body.nav-open .site-nav .nav-toggle,
  body.nav-open .nav-toggle-float {
    pointer-events: auto;
  }
  .nav-end > .nav-toggle,
  .nav-toggle-float {
    position: relative;
    z-index: 5;
    width: auto;
    min-width: 72px;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1 !important;
    border-width: 1px !important;
    border-style: solid;
    border-radius: 8px;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    overflow: visible;
    white-space: nowrap;
    perspective: 900px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition:
      background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      min-width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      padding 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-toggle-flip {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
  }
  .nav-toggle-face {
    grid-area: 1 / 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.28s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-toggle-face-open {
    opacity: 1;
    color: var(--text);
    transform: translate3d(0, 0, 0);
  }
  .nav-toggle-face-close {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(10px, 0, 0);
    pointer-events: none;
    color: var(--teal);
  }
  .nav-toggle-face-close svg {
    width: 36px;
    height: 14px;
    display: block;
  }
  body.nav-open .nav-toggle-face-open {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-10px, 0, 0);
    pointer-events: none;
  }
  body.nav-open .nav-toggle-face-close {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }
  /* Pinned only after a section jump (quick re-open) */
  .nav-toggle-float {
    position: fixed !important;
    top: max(14px, env(safe-area-inset-top, 0px)) !important;
    right: max(16px, env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 100 !important;
    background: color-mix(in srgb, var(--bg) 92%, transparent) !important;
    border-color: color-mix(in srgb, var(--line) 80%, transparent) !important;
    color: var(--text);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  body.nav-open .nav-end > .nav-toggle,
  body.nav-open .nav-toggle-float {
    z-index: 101 !important;
    min-width: 52px !important;
    padding: 0 8px !important;
    background: color-mix(in srgb, var(--bg) 28%, transparent) !important;
    border-color: color-mix(in srgb, var(--teal) 45%, transparent) !important;
    color: var(--teal);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  }
  /* Drawer close lives in the Menu flip control */
  .nav-drawer-back {
    opacity: 0;
    pointer-events: none;
  }
  .nav-drawer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 8px;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
    color: inherit;
    text-decoration: none;
  }
  .nav-drawer-item:last-child { border-bottom: 0; }
  .nav-drawer-item:active,
  .nav-drawer-item:hover {
    background: color-mix(in srgb, var(--teal) 10%, transparent);
  }
  .nav-drawer-ico {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--teal);
    background: color-mix(in srgb, var(--teal) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--teal) 28%, transparent);
  }
  .nav-drawer-ico svg { width: 16px; height: 16px; }
  .nav-drawer-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .nav-drawer-copy strong {
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -0.015em;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-drawer-copy em {
    font-style: normal;
    font-size: 12px;
    line-height: 1.25;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-drawer-foot {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 8px;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
    background: color-mix(in srgb, var(--bg) 55%, transparent);
  }
  .nav-drawer-login,
  .nav-drawer-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }
  .nav-drawer-login {
    border: 1px solid var(--line);
    color: var(--text);
    background: color-mix(in srgb, var(--bg-2) 45%, transparent);
  }
  .nav-drawer-signup {
    border: 0;
    color: var(--ink);
    background: var(--teal);
  }
  .nav-end .ghost { display: none; }
  .nav-end {
    gap: 8px;
    align-items: center;
  }
  .nav-end > .btn-teal,
  .nav-end > .nav-toggle {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1 !important;
    border-width: 1px !important;
    border-style: solid;
    border-radius: 8px;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  @media (hover: none) {
    .nav-end > .btn:hover,
    .nav-end > .btn-teal:hover,
    .nav-end > .nav-toggle:hover {
      filter: none;
    }
    .nav-end > .btn-teal:hover {
      background: var(--teal);
      border-color: var(--teal);
      color: var(--ink);
    }
    .nav-end > .nav-toggle:hover {
      background: transparent;
      border-color: var(--line);
      color: var(--text);
    }
  }
  html.nav-open,
  body.nav-open {
    overflow: hidden !important;
    overscroll-behavior: none;
    touch-action: none;
  }
  body.nav-open .nav-drawer,
  body.nav-open .nav-drawer-scroll {
    touch-action: pan-y;
  }
}
@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 28px)); }
  .home-marquee { width: min(1120px, calc(100% - 28px)); }
  .hero, .section, .final { padding-top: 28px; padding-bottom: 28px; }
  .home-marquee-sec { padding: 18px 0 24px; }
  .home-marquee { gap: 9px; }
  .home-marquee-set { gap: 8px; }
  .home-marquee-pill {
    padding: 8px 12px;
    font-size: 12px;
    gap: 6px;
  }
  .home-marquee-pill svg {
    width: 13px;
    height: 13px;
  }
  .home-marquee-rtl .home-marquee-track { animation-duration: 58s; }
  .home-marquee-ltr .home-marquee-track { animation-duration: 64s; }
  .home-marquee-slow .home-marquee-track { animation-duration: 70s; }
  .home-marquee-slower .home-marquee-track { animation-duration: 76s; }
  .dest-grid { grid-template-columns: 1fr; }
  .hero-grid, .benefit, .split-2, .cards-4, .cards-3, .steps, .price-pair, .mock-grid {
    grid-template-columns: 1fr;
  }
  .price-scale {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }
  .price-scale article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 3px;
    border-radius: 8px;
    text-align: center;
    min-height: 52px;
  }
  .price-scale .ps-label { display: none; }
  .price-scale .ps-num {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.02em;
    line-height: 1.1;
    white-space: nowrap;
  }
  .price-scale .ps-num::after { content: " str"; }
  .price-scale strong {
    margin: 0;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
  }
  .price-scale em { display: none; }
  .price-scale-title { margin: 14px 0 6px; font-size: 13px; }
  .price-toggles {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    gap: 6px;
    margin: 10px 0 0;
    overflow: visible;
  }
  .home-pills {
    border-radius: 6px;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
  }
  .home-pills button {
    flex: 1 1 0;
    min-width: 0;
    height: 28px;
    padding: 0 6px;
    font-size: 11px;
  }
  .feature-list {
    margin-top: 18px;
  }
  .feature-list li {
    gap: 12px;
    padding: 14px 0;
  }
  .feature-list strong {
    font-size: 14px;
  }
  .feature-list p {
    font-size: 13px;
  }
  .nav-inner { gap: 8px; }
  .nav-brand strong { font-size: 12px; letter-spacing: 0.06em; }
  .btn { padding: 0 12px; }
  .home-yt-frame,
  .home-yt iframe { height: clamp(220px, 62vw, 380px); border-radius: 12px; }
  .mock-thumb { height: 118px; }
  .hero-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .hero-actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    justify-content: center;
    white-space: nowrap;
    padding: 0 10px;
    font-size: 13px;
    height: 42px;
  }
}


/* home-demo.css */
/* Homepage product demos — side-by-side under #features */
.hd-workflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 48px;
  align-items: stretch;
}
.hd-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hd-panel > h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin: 0 0 8px;
  min-height: 2.2em;
}
.hd-panel > .sub {
  margin: 0;
  max-width: none;
  min-height: 3.2em;
}
.hd-panel > .tiny,
.hd-panel > .legal-note {
  margin-top: 12px;
  min-height: 2.6em;
}
.hd-stage {
  position: relative;
  margin-top: 16px;
  width: 100%;
  max-width: none;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.hd-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 14px 12px;
  min-height: 500px;
  height: 500px;
  flex: 1 1 auto;
}
.hd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.hd-top strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.hd-chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--teal) 14%, transparent);
  color: color-mix(in srgb, var(--teal) 85%, #fff);
  font-size: 12px;
  font-weight: 600;
}
.hd-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.hd-tab {
  height: 30px;
  padding: 0 12px;
  border-radius: 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  background: transparent;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.hd-tab.on {
  background: var(--teal);
  border-color: var(--teal);
  color: #06201c;
}
.hd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}
.hd-btn.ghost {
  background: color-mix(in srgb, var(--bg-2) 70%, transparent);
}
.hd-btn.teal {
  background: var(--teal);
  border-color: var(--teal);
  color: #06201c;
}
.hd-btn.red {
  background: color-mix(in srgb, #d45454 88%, #000);
  border-color: #d45454;
  color: #fff;
}
.hd-btn.is-pressed {
  transform: scale(0.96);
  filter: brightness(0.92);
}
.hd-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 650;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hd-link.show {
  opacity: 1;
  transform: translateY(0);
}
.hd-scenes {
  position: relative;
  flex: 1;
  min-height: 0;
  height: 380px;
  overflow: hidden;
}
.hd-scene {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.hd-scene.is-on {
  position: relative;
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.hd-file {
  margin-top: 14px;
  padding: 12px 12px;
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg-2) 55%, transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hd-file.show {
  opacity: 1;
  transform: translateY(0);
}
.hd-fname {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 8px;
}
.hd-progress {
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 80%, transparent);
  overflow: hidden;
  margin-bottom: 8px;
}
.hd-progress > i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: var(--teal);
  transition: width 0.45s ease;
}
.hd-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.hd-status.ok { color: #9ee0b4; }
.hd-spin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--teal) 30%, transparent);
  border-top-color: var(--teal);
  animation: hdSpin 0.7s linear infinite;
  flex: 0 0 12px;
}
.hd-spin.hidden { display: none; }
@keyframes hdSpin {
  to { transform: rotate(360deg); }
}
.hd-preview-thumb {
  width: 100%;
  height: 168px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #12181c center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hd-preview-thumb-video {
  background: #12181c;
}
.hd-preview-thumb-video .hd-thumb-clip,
.hd-stream-thumb-video .hd-thumb-clip {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  background: transparent;
  opacity: 0;
}
.hd-preview-thumb-video .hd-thumb-clip.is-playing,
.hd-stream-thumb-video .hd-thumb-clip.is-playing {
  opacity: 1;
}
.hd-preview-thumb-video .hd-thumb-still,
.hd-stream-thumb-video .hd-thumb-still {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  background: #12181c;
}
.hd-preview-thumb-video .hd-thumb-rain {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 200%;
  z-index: 1;
  pointer-events: none;
  background-image: url("/home-samples/_rain-down.png");
  background-size: 100% 50%;
  background-repeat: repeat-y;
  opacity: 0.38;
  animation: hdThumbRain 1.15s linear infinite;
}
.hd-preview-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35));
}
.hd-audio-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  min-height: 34px;
}
.hd-audio-head {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  flex: 0 0 auto;
}
.hd-plus {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  border: 1px dashed var(--line);
  background: transparent;
  color: var(--teal);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: transform 0.18s ease, border-color 0.25s ease, color 0.25s ease;
}
.hd-plus span { margin-top: -2px; }
.hd-plus.is-pressed { transform: scale(0.94); }
.hd-plus.on {
  border-color: var(--teal);
  color: var(--text);
}
.hd-audio-bar .hd-btn.teal {
  margin-left: auto;
  height: 34px;
}
.hd-audio-slot {
  position: relative;
  margin-top: 8px;
  height: 118px;
  overflow: hidden;
}
.hd-audio-sheet {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg) 40%, var(--card));
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hd-audio-sheet.open {
  max-height: 118px;
  opacity: 1;
  transform: translateY(0);
}
.hd-audio-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-top: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.hd-audio-opt:first-child { border-top: 0; }
.hd-audio-opt.is-hot {
  background: color-mix(in srgb, var(--teal) 10%, transparent);
}
.hd-audio-opt .hd-mini-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  opacity: 0;
}
.hd-audio-opt.is-on .hd-mini-wave { opacity: 1; }
.hd-mini-wave b {
  width: 2px;
  border-radius: 1px;
  background: var(--teal);
  animation: hdWave 0.9s ease-in-out infinite alternate;
}
.hd-mini-wave b:nth-child(1) { height: 40%; animation-delay: 0s; }
.hd-mini-wave b:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.hd-mini-wave b:nth-child(3) { height: 50%; animation-delay: 0.18s; }
.hd-mini-wave b:nth-child(4) { height: 85%; animation-delay: 0.05s; }
@keyframes hdWave {
  from { transform: scaleY(0.45); opacity: 0.6; }
  to { transform: scaleY(1); opacity: 1; }
}
.hd-check {
  color: #9ee0b4;
  font-style: normal;
  font-weight: 700;
}
.hd-selected-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg-2) 55%, transparent);
  font-size: 13px;
  font-weight: 650;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.hd-selected-line.show {
  opacity: 1;
  transform: translateY(0);
}
.hd-media-summary {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.hd-media-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg-2) 55%, transparent);
}
.hd-media-row .hd-thumb {
  width: 64px;
  height: 38px;
  border-radius: 7px;
  background: #12181c center/cover no-repeat;
  border: 1px solid var(--line);
  flex: 0 0 64px;
}
.hd-media-row .hd-thumb.audio {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding: 6px;
  background: color-mix(in srgb, var(--bg-2) 50%, #163038);
}
.hd-media-row .hd-thumb.audio i {
  width: 2px;
  height: 55%;
  border-radius: 1px;
  background: var(--teal);
}
.hd-media-row strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
}
.hd-media-row span {
  color: var(--muted);
  font-size: 12px;
}
.hd-reuse-title {
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 10px;
}
.hd-reuse-status {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: color-mix(in srgb, var(--teal) 75%, #fff);
  min-height: 20px;
}
.hd-foot {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  min-height: 34px;
}
.hd-foot .hd-btn {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hd-foot .hd-btn.show {
  opacity: 1;
  transform: translateY(0);
}

/* Destinations / Go Live demo */
.hd-fields {
  display: grid;
  gap: 10px;
}
.hd-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 5px;
}
.hd-field .hd-input {
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 70%, transparent);
  padding: 0 11px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
}
.hd-field .hd-input.is-focus {
  border-color: color-mix(in srgb, var(--teal) 55%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 14%, transparent);
}
.hd-field .hd-input .hd-typed {
  opacity: 0.95;
}
.hd-hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.hd-card-slot {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hd-stream-card {
  width: 100%;
  background: color-mix(in srgb, var(--bg-2) 65%, var(--card));
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.hd-stream-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hd-stream-thumb {
  position: relative;
  height: 156px;
  background: #12181c center/cover no-repeat;
}
.hd-live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 18px;
  padding: 0 6px;
  border-radius: 4px;
  background: rgba(168, 32, 32, 0.88);
  border: 1px solid color-mix(in srgb, #e24b4b 80%, #fff);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.hd-live-badge.show { opacity: 1; }
.hd-live-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}
.hd-health {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(8, 14, 18, 0.55);
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  color: #e8d0a0;
  font-size: 11px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.35s ease, color 0.35s ease;
}
.hd-health.show { opacity: 1; }
.hd-health.excellent { color: #9ee0b4; }
.hd-stream-body {
  padding: 12px;
}
.hd-stream-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.hd-stream-meta img {
  width: 16px;
  height: 16px;
}
.hd-stream-meta strong {
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hd-stream-meta span {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  flex: 0 0 auto;
}
.hd-stream-actions {
  display: flex;
  gap: 8px;
}
.hd-stream-actions .hd-btn {
  flex: 1;
}
.hd-connect-line {
  margin-top: 14px;
  height: auto;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.hd-connect-line.show {
  opacity: 1;
  transform: translateY(0);
}
.hd-endpoint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--text);
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hd-endpoint.yt img {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}
.hd-endpoint [data-hd-yt-status] {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.35s ease;
}
.hd-endpoint [data-hd-yt-status].ok {
  color: #9ee0b4;
}
.hd-connect-line.is-live .hd-connect-track {
  background: color-mix(in srgb, #5fd39a 35%, var(--line));
}
.hd-connect-track {
  position: relative;
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 80%, transparent);
  overflow: hidden;
  min-width: 36px;
}
.hd-connect-track > i {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: hdDot 1.4s linear infinite;
}
@keyframes hdDot {
  from { left: 0; opacity: 0.4; }
  20% { opacity: 1; }
  to { left: calc(100% - 8px); opacity: 0.55; }
}

.hd-cursor {
  position: absolute;
  left: 40%;
  top: 40%;
  width: 18px;
  height: 18px;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  transform: translate(-2px, -2px);
  transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1), top 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, transform 0.15s ease;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.45));
}
.hd-cursor.show { opacity: 1; }
.hd-cursor.is-click { transform: translate(-2px, -2px) scale(0.88); }
.hd-cursor svg {
  width: 18px;
  height: 18px;
  display: block;
}

.hd-save-toast {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(8px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 55%, var(--card));
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 6;
}
.hd-save-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.hd-save-toast.ok { color: #9ee0b4; }

/* Lower product demos */
.hd-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: start;
}
.hd-lower-copy {
  padding-top: 0;
}
.hd-stage.lower {
  margin-top: 0;
  align-self: start;
  flex: none;
}
.hd-lower-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.hd-lower-list li {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--card) 70%, transparent);
  cursor: default;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}
.hd-lower-list li:hover,
.hd-lower-list li:active {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--teal) 38%, var(--line));
  background: color-mix(in srgb, var(--card) 82%, #163038);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}
.hd-lower-list strong {
  font-size: 14px;
  font-weight: 650;
}
.hd-lower-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.hd-lower-cta { margin: 18px 0 0; }
.hd-lower-copy .sub { max-width: 520px; }
.hd-frame.hd-help-frame,
.hd-frame.hd-status-frame {
  min-height: 0;
  height: auto;
}
.hd-frame.hd-help-frame {
  min-height: 460px;
  height: 460px;
  overflow: hidden;
  padding-bottom: 14px;
}
.hd-help-items {
  min-height: 250px;
}
.hd-status-frame .hd-stream-card {
  width: 100%;
  opacity: 1;
  transform: none;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.hd-status-frame .hd-stream-card:hover,
.hd-status-frame .hd-stream-card:active {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--teal) 35%, var(--line));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}
.hd-status-frame .hd-stream-thumb {
  height: 156px;
  position: relative;
  overflow: hidden;
}
.hd-stream-thumb-video {
  background: #12181c;
}
.hd-stream-thumb-video .hd-thumb-rain {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 200%;
  z-index: 1;
  pointer-events: none;
  background-image: url("/home-samples/_rain-down.png");
  background-size: 100% 50%;
  background-repeat: repeat-y;
  opacity: 0.38;
  animation: hdThumbRain 1.15s linear infinite;
}
@keyframes hdThumbRain {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}
.hd-ready-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: color-mix(in srgb, #5fd39a 22%, rgba(8, 14, 18, 0.7));
  border: 1px solid color-mix(in srgb, #5fd39a 55%, var(--line));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.hd-ready-badge.show { opacity: 1; }
.hd-ready-badge svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #9ee0b4;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hd-status-note {
  margin: 12px 0 0;
  min-height: 36px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}
.hd-status-note.ok { color: #9ee0b4; }
.hd-status-note.warn { color: #e8d0a0; }
.hd-status-frame .hd-cursor {
  position: absolute;
}

.hd-uptime-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.hd-uptime-live {
  display: none;
}
.hd-uptime-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.hd-uptime-pill {
  margin-left: auto;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--teal) 35%, var(--line));
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  color: color-mix(in srgb, var(--teal) 80%, #fff);
  font-size: 11px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hd-uptime-pill.show {
  opacity: 1;
  transform: translateY(0);
}
.hd-uptime-pulse {
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 80%, transparent);
  overflow: hidden;
  margin-bottom: 14px;
}
.hd-uptime-pulse b {
  display: block;
  height: 100%;
  width: 34%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  transform: translateX(-120%);
  opacity: 0.35;
}
.hd-uptime-pulse.on b {
  opacity: 1;
  animation: hdPulseSweep 2.2s ease-in-out infinite;
}
@keyframes hdPulseSweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(320%); }
}
.hd-uptime-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.hd-uptime-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg-2) 50%, transparent);
}
.hd-uptime-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.hd-uptime-list strong {
  font-size: 13px;
  font-weight: 650;
  color: var(--text);
  transition: color 0.35s ease;
}
.hd-uptime-list strong.ok { color: #9ee0b4; }
.hd-uptime-foot {
  margin-top: 14px;
  min-height: 20px;
  color: color-mix(in srgb, var(--teal) 75%, #fff);
  font-size: 13px;
  font-weight: 600;
}

.hd-help-search {
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 70%, transparent);
  padding: 0 12px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.hd-help-search.is-focus {
  border-color: color-mix(in srgb, var(--teal) 55%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 14%, transparent);
  color: var(--text);
}
.hd-help-items { display: grid; gap: 8px; }
.hd-help-item {
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg-2) 45%, transparent);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.hd-help-item.is-hot {
  border-color: color-mix(in srgb, var(--teal) 40%, var(--line));
  background: color-mix(in srgb, var(--teal) 8%, transparent);
}
.hd-help-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  padding: 12px;
  cursor: default;
}
.hd-help-a {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}
.hd-help-item.open .hd-help-a {
  max-height: 110px;
  opacity: 1;
  padding: 0 12px 12px;
}
.hd-help-bubble {
  margin-top: 0;
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: color-mix(in srgb, #163038 35%, var(--card));
  transform: translateY(4px);
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease, padding 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.hd-help-bubble.show {
  max-height: 72px;
  margin-top: 12px;
  padding: 10px 12px;
  opacity: 1;
  transform: translateY(0);
  border: 1px solid color-mix(in srgb, #5fd39a 30%, var(--line));
}
.hd-help-bubble span {
  display: block;
  color: #9ee0b4;
  font-size: 12px;
  font-weight: 700;
}
.hd-help-bubble em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}
.hd-help-frame { position: relative; }
.hd-help-frame .hd-cursor {
  position: absolute;
}

@media (max-width: 980px) {
  .hd-workflow {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 36px;
  }
  .hd-panel > h2 {
    font-size: clamp(1.4rem, 5vw, 1.75rem);
    min-height: 0;
  }
  .hd-panel > .sub,
  .hd-panel > .tiny,
  .hd-panel > .legal-note {
    min-height: 0;
  }
  .hd-frame {
    height: auto;
    min-height: 480px;
  }
  .hd-lower {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .hd-scenes {
    height: 360px;
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  .hd-workflow {
    gap: 32px;
  }
  .hd-frame {
    min-height: 460px;
    padding: 14px 12px 12px;
  }
  .hd-preview-thumb { height: 150px; }
  .hd-stream-card { width: 100%; }
  .hd-stream-thumb { height: 140px; }
  .hd-endpoint { font-size: 10px; }
  .hd-status-frame .hd-stream-thumb { height: 140px; }
  .hd-stream-body { padding: 10px; }
  .hd-stream-actions { gap: 6px; }
  .hd-stream-actions .hd-btn {
    height: 28px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 7px;
  }
  .hd-lower-list {
    gap: 8px;
    margin-top: 12px;
  }
  .hd-lower-list li {
    padding: 8px 10px;
    border-radius: 8px;
    gap: 2px;
  }
  .hd-lower-list strong { font-size: 13px; }
  .hd-lower-list span {
    font-size: 12px;
    line-height: 1.3;
  }
  .hd-status-note {
    min-height: 18px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hd-scene,
  .hd-file,
  .hd-link,
  .hd-audio-sheet,
  .hd-selected-line,
  .hd-stream-card,
  .hd-cursor,
  .hd-save-toast,
  .hd-btn,
  .hd-progress > i,
  .hd-connect-line,
  .hd-uptime-pill,
  .hd-help-a,
  .hd-help-bubble,
  .hd-ready-badge,
  .hd-status-note {
    transition: none !important;
    animation: none !important;
  }
  .hd-spin,
  .hd-mini-wave b,
  .hd-connect-track > i,
  .hd-uptime-pulse b,
  .hd-thumb-rain,
  .hd-sky-eq b {
    animation: none !important;
  }
  .hd-cursor { display: none !important; }
}


/* home-workflow-v2.css */
/* Homepage-only product walkthrough. Values mirror the current dark app in styles.css. */
.hd-stage.wf-stage { min-height: 520px; overflow: hidden; }
.wf-stage *, .wf-stage *::before, .wf-stage *::after { box-sizing: border-box; }
.wf-shell {
  --wf-bg: #111318; --wf-panel: #20232a; --wf-panel-2: #252932;
  --wf-input: #383d46; --wf-line: #4a515d; --wf-text: #eef1f4;
  --wf-muted: #9aa2ad; --wf-accent: #45cabe;
  position: relative; display: flex; flex-direction: column; width: 100%; height: 520px;
  min-width: 0; overflow: hidden; border: 1px solid #3f4650; border-radius: 5px;
  background: var(--wf-bg); color: var(--wf-text); font-family: "Segoe UI", system-ui, sans-serif;
  box-shadow: 0 16px 46px rgba(0,0,0,.34);
}
.wf-stage.is-playing .wf-shell { border-color: #626a75; }
.wf-appbar { flex: 0 0 41px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 13px; border-bottom: 1px solid #3f4650; background: #181b21; }
.wf-brand { display: inline-flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; }
.wf-logo { width: 22px; height: 22px; object-fit: contain; }
.wf-brand b { font-size: 10px; letter-spacing: .07em; font-weight: 650; color: #d9dfe4; }
.wf-nav { color: #9aa2ad; font-size: 10px; white-space: nowrap; }
.wf-nav span { padding: 0 4px; color: #59616c; }
.wf-screen { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #20232a; }
.wf-scene { position: absolute; inset: 0; padding: 17px; opacity: 0; visibility: hidden; transform: translateY(7px); transition: opacity .42s ease, transform .42s ease, visibility .42s; overflow: hidden; }
.wf-scene.is-active { opacity: 1; visibility: visible; transform: translateY(0); z-index: 1; }
.wf-cursor { position: absolute; z-index: 12; left: 60%; top: 35%; width: 18px; height: 18px; color: #fff; pointer-events: none; opacity: 0; transform: translate(-2px,-2px); transition: left .48s ease, top .48s ease, opacity .2s ease, transform .15s ease; filter: drop-shadow(0 1px 2px #000); }
.wf-cursor svg { width: 18px; height: 18px; display: block; }
.wf-cursor.is-visible { opacity: 1; }
.wf-cursor.is-click { transform: translate(-2px,-2px) scale(.84); }
.wf-progress { flex: 0 0 2px; background: #303640; }
.wf-progress i { display: block; width: 0; height: 2px; background: var(--wf-accent); transition: width .35s ease; }
.wf-page-head, .wf-dashboard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 17px; }
.wf-page-head strong, .wf-dashboard-head b { display: block; font-size: 16px; line-height: 1.2; font-weight: 650; color: #f0f2f5; }
.wf-page-head small, .wf-dashboard-head small { display: block; margin-top: 5px; color: var(--wf-muted); font-size: 10px; line-height: 1.4; }
.wf-page-head .wf-social { width: 25px; height: 25px; }
.wf-social { width: 19px; height: 19px; object-fit: contain; flex: 0 0 auto; }
.wf-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.wf-choice { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 74px; padding: 10px; border: 1px solid var(--wf-line); border-radius: 3px; background: #252932; color: #b8bec6; font-size: 18px; }
.wf-choice.is-selected { background: #2b3038; border-color: #5b636e; box-shadow: inset 3px 0 0 var(--wf-accent); }
.wf-choice:not(.is-selected) i { visibility: hidden; }
.wf-choice span { min-width: 0; flex: 1; }
.wf-choice strong, .wf-choice small { display: block; font-size: 11px; line-height: 1.3; }
.wf-choice strong { color: var(--wf-text); font-weight: 630; }
.wf-choice small { margin-top: 3px; color: var(--wf-muted); font-size: 9px; }
.wf-choice i { color: var(--wf-accent); font-size: 11px; font-style: normal; }
.wf-route { display: flex; flex-direction: column; position: relative; margin-top: 13px; padding: 12px 29px 12px 13px; border: 1px solid #5b636e; border-radius: 3px; background: #2b3038; box-shadow: inset 3px 0 0 var(--wf-accent); }
.wf-route:not(.is-selected) { border-color: #4a515d; background: #252932; box-shadow: none; }
.wf-route strong { font-size: 12px; font-weight: 640; }
.wf-route small { margin-top: 4px; color: var(--wf-muted); font-size: 10px; line-height: 1.35; }
.wf-route > span { position: absolute; top: 13px; right: 12px; color: #e4e8eb; font-size: 20px; }
.wf-channel { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 9px; border: 1px solid #5b636e; border-radius: 3px; background: #2b3038; box-shadow: inset 3px 0 0 var(--wf-accent); }
.wf-avatar { display: grid; place-items: center; width: 36px; height: 36px; background: #303640; border: 1px solid #515965; border-radius: 3px; color: #dce1e5; font-size: 11px; font-weight: 650; }
.wf-channel > span:nth-child(2) { flex: 1; min-width: 0; }
.wf-channel strong, .wf-channel small { display: block; }
.wf-channel strong { font-size: 12px; }
.wf-channel small { margin-top: 3px; color: var(--wf-muted); font-size: 10px; }
.wf-channel i { color: var(--wf-accent); font-style: normal; font-size: 14px; }
.wf-channel-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 18px; color: var(--wf-muted); font-size: 10px; }
.wf-button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 12px; border: 1px solid #59616c; border-radius: 4px; background: #3a4049; color: #f2f5f6; font-size: 11px; font-weight: 620; white-space: nowrap; }
.wf-button.is-pressed, .wf-video-preview.is-pressed, .wf-plus.is-pressed { background-color: #454b55; border-color: #7a8790; }
.wf-wizard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.wf-wizard-top strong { font-size: 14px; font-weight: 650; }
.wf-connected { color: #c3ced2; border: 1px solid #47555d; background: #202a30; border-radius: 3px; padding: 4px 7px; font-size: 9px; white-space: nowrap; }
.wf-connected::first-letter { color: var(--wf-accent); }
.wf-steps { display: flex; align-items: center; gap: 5px; min-width: 0; padding-bottom: 9px; margin-bottom: 9px; border-bottom: 1px solid #3b414c; color: #859098; font-size: 8px; white-space: nowrap; overflow: hidden; }
.wf-steps b { color: #f0f2f5; border-bottom: 2px solid var(--wf-accent); padding-bottom: 4px; font-weight: 630; }
.wf-steps span { overflow: hidden; text-overflow: ellipsis; }
.wf-channel-mini { display: flex; align-items: center; gap: 7px; min-height: 27px; margin-bottom: 8px; color: #e9edf0; font-size: 10px; }
.wf-channel-mini .wf-social { width: 16px; height: 16px; }
.wf-channel-mini span { margin-left: auto; color: var(--wf-muted); font-size: 9px; }
.wf-media-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 0; }
.wf-media-main, .wf-media-side { min-width: 0; padding: 9px; border: 1px solid #3f4650; border-radius: 4px; background: #1f242b; }
.wf-section-label { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 8px; color: #eef2f4; font-size: 11px; font-weight: 630; }
.wf-section-label small { color: var(--wf-muted); font-size: 8px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-modes { display: grid; gap: 5px; margin-bottom: 10px; }
.wf-modes > div { display: flex; align-items: center; gap: 6px; min-height: 30px; padding: 5px 7px; border: 1px solid #4a515d; border-radius: 3px; background: #252932; color: #aeb7c0; font-size: 11px; }
.wf-modes > div.is-selected { border-color: #5b636e; background: #2b3038; box-shadow: inset 2px 0 0 var(--wf-accent); }
.wf-modes strong { color: #eef1f4; font-size: 10px; font-weight: 590; }
.wf-modes i { margin-left: auto; color: var(--wf-accent); font-style: normal; }
.wf-modes > div:not(.is-selected) i { visibility: hidden; }
.wf-field { min-width: 0; margin-bottom: 8px; }
.wf-field > span { display: block; margin-bottom: 4px; color: #a6b2bb; font-size: 9px; font-weight: 550; }
.wf-input, .wf-select { display: flex; align-items: center; min-width: 0; height: 34px; padding: 0 9px; border: 1px solid #565e69; border-radius: 4px; background: var(--wf-input); color: #f1f3f5; font-size: 10px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-input b, .wf-select b { margin-left: auto; font-weight: 500; color: #d9dfe4; }
.wf-input.is-focus { border-color: var(--wf-accent); }
.wf-input span { overflow: hidden; text-overflow: ellipsis; }
.wf-media-note { color: var(--wf-muted); font-size: 9px; line-height: 1.4; }
.wf-video-preview { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; max-height: 118px; border: 1px solid #4a515d; border-radius: 3px; background: #0d1116 center/cover no-repeat; }
.wf-video-preview > span { display: flex; flex-direction: column; align-items: center; color: #aeb7c0; font-size: 20px; }
.wf-video-preview small { font-size: 9px; }
.wf-video-preview.has-video > span { display: none; }
.wf-audio-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.wf-audio-bar strong { font-size: 10px; font-weight: 600; }
.wf-plus { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #515965; border-radius: 3px; color: #e4e8eb; background: #303640; font-size: 15px; line-height: 1; }
.wf-plus.is-open { border-color: var(--wf-accent); color: var(--wf-accent); }
.wf-audio-tray { display: grid; grid-template-rows: 0fr; margin-top: 4px; transition: grid-template-rows .38s ease; }
.wf-audio-tray.is-open { grid-template-rows: 1fr; }
.wf-audio-scroll { min-height: 0; max-height: 96px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #59616c #20232a; }
.wf-audio-scroll > div { min-height: 24px; padding: 5px 7px; border-bottom: 1px solid #3b414c; color: #cbd1d5; font-size: 9px; }
.wf-audio-scroll > div.is-selected { background: #2b3038; color: #f0f2f5; }
.wf-audio-scroll i, .wf-audio-selected i { float: right; color: var(--wf-accent); font-style: normal; }
.wf-audio-scroll > div:not(.is-selected) i { display: none; }
.wf-audio-selected { opacity: 0; height: 0; overflow: hidden; color: #e9edf0; font-size: 9px; transition: opacity .3s ease, height .3s ease; }
.wf-audio-selected.is-visible { opacity: 1; height: 23px; padding: 5px 7px; border: 1px solid #4a515d; border-radius: 3px; background: #252932; }
.wf-footer { display: flex; justify-content: space-between; gap: 7px; margin-top: 10px; }
.wf-picker { position: absolute; z-index: 5; left: 6%; right: 6%; top: 9%; bottom: 7%; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #4a515d; border-radius: 3px; background: #20232a; box-shadow: 0 0 0 999px rgba(0,0,0,.52), 0 26px 70px rgba(0,0,0,.55); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .34s ease, transform .34s ease, visibility .34s; }
.wf-picker.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.wf-picker-head { display: flex; gap: 8px; align-items: center; padding: 10px; border-bottom: 1px solid #3b414c; background: #252932; }
.wf-picker-head strong, .wf-picker-head small { display: block; }
.wf-picker-head strong { font-size: 11px; }
.wf-picker-head small { margin-top: 2px; color: var(--wf-muted); font-size: 9px; }
.wf-picker-tabs { display: flex; gap: 12px; padding: 8px 10px 0; border-bottom: 1px solid #3b414c; white-space: nowrap; overflow: hidden; }
.wf-picker-tabs span { padding: 0 0 7px; color: #b8bec6; font-size: 9px; }
.wf-picker-tabs .is-selected { color: #f0f2f5; border-bottom: 2px solid var(--wf-accent); }
.wf-picker-list { flex: 1; padding: 9px; }
.wf-picker-row { display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid #4a515d; border-radius: 3px; background: #252932; }
.wf-picker-row.is-selected { border-color: var(--wf-accent); background: #2b3038; }
.wf-picker-row img { width: 55px; aspect-ratio: 16/9; object-fit: cover; border-radius: 2px; }
.wf-picker-row span { flex: 1; min-width: 0; }
.wf-picker-row strong, .wf-picker-row small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wf-picker-row strong { font-size: 10px; }
.wf-picker-row small { margin-top: 3px; color: var(--wf-muted); font-size: 9px; }
.wf-picker-row i { color: var(--wf-accent); visibility: hidden; font-style: normal; }
.wf-picker-row.is-selected i { visibility: visible; }
.wf-picker-foot { display: flex; justify-content: flex-end; gap: 6px; padding: 7px 9px; border-top: 1px solid #3b414c; }
.wf-picker-foot .wf-button { min-height: 30px; font-size: 10px; }
.wf-manual-form { max-width: 390px; padding: 14px; border: 1px solid #3f4650; border-radius: 4px; background: #1f242b; }
.wf-manual-form .wf-field { margin-bottom: 13px; }
.wf-manual-form p { margin: 4px 0 0; color: var(--wf-muted); font-size: 10px; line-height: 1.4; }
.wf-info-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 11px; padding: 13px; border: 1px solid #3f4650; border-radius: 4px; background: #1f242b; }
.wf-info-grid .wf-input { height: 31px; border-color: #4a545f; background: #313841; }
.wf-info-grid .wf-input { opacity: .55; transition: opacity .35s ease; }
.wf-info-grid.is-updated .wf-input { opacity: 1; }
.wf-destination-form { position: relative; max-width: 390px; padding: 13px; border: 1px solid #3f4650; border-radius: 4px; background: #1f242b; }
.wf-destination-form .wf-select { margin-bottom: 12px; }
.wf-dest-trigger { gap: 8px; }
.wf-dest-trigger strong { flex: 1; font-size: 10px; font-weight: 590; }
.wf-dest-menu { position: absolute; z-index: 3; top: 142px; left: 13px; right: 13px; padding: 4px; border: 1px solid #565e69; border-radius: 5px; background: #343942; box-shadow: 0 14px 34px rgba(0,0,0,.42); opacity: 0; visibility: hidden; transform: translateY(-5px); transition: opacity .28s ease, transform .28s ease, visibility .28s; }
.wf-dest-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.wf-dest-menu > div { display: flex; align-items: center; gap: 8px; height: 33px; padding: 0 7px; border-radius: 3px; color: #f1f3f5; }
.wf-dest-menu > div.is-selected { background: #c3c3c3; color: #15191e; }
.wf-dest-menu .wf-social, .wf-rtmp-icon { width: 19px; height: 19px; }
.wf-dest-menu strong { flex: 1; font-size: 10px; font-weight: 560; }
.wf-dest-menu i { visibility: hidden; font-style: normal; font-size: 10px; }
.wf-dest-menu > div.is-selected i { visibility: visible; }
.wf-rtmp-icon { display: grid; place-items: center; color: #d9dfe4; font-size: 16px; }
.wf-save.is-pulsed, .wf-next.is-pulsed { border-color: #7a8790; background: #454b55; }
.wf-connection-card { display: flex; gap: 10px; align-items: center; max-width: 390px; padding: 10px; border: 1px solid #4a515d; border-radius: 4px; background: #252932; }
.wf-connection-card .wf-social { width: 26px; height: 26px; }
.wf-connection-card strong, .wf-connection-card small { display: block; }
.wf-connection-card strong { font-size: 12px; }
.wf-connection-card small { margin-top: 3px; color: var(--wf-muted); font-size: 9px; }
.wf-connection-steps { display: grid; gap: 10px; max-width: 390px; margin-top: 15px; }
.wf-connection-steps > div { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border: 1px solid #4a515d; border-radius: 4px; background: #252932; color: var(--wf-muted); font-size: 11px; transition: color .3s ease, border-color .3s ease; }
.wf-connection-steps > div.is-ready { color: #f0f2f5; border-color: #5b636e; }
.wf-connection-steps i { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid #59616c; border-radius: 50%; color: transparent; font-style: normal; font-size: 10px; }
.wf-connection-steps .is-ready i { color: var(--wf-accent); border-color: var(--wf-accent); }
.wf-explain { color: var(--wf-muted); font-size: 10px; line-height: 1.4; }
.wf-stream-card { max-width: 410px; overflow: hidden; border: 1px solid #3f4650; border-radius: 5px; background: #1f242b; opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
.wf-stream-card.is-visible { opacity: 1; transform: translateY(0); }
.wf-stream-picture { position: relative; height: 148px; background: #0a1014 center/cover no-repeat; }
.wf-stream-picture { height: 158px; overflow: hidden; }
.wf-media-visual { position: absolute; inset: 0; display: block; overflow: hidden; background: #0a1014; }
.wf-media-visual .wf-still, .wf-media-visual .wf-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.wf-media-visual .wf-still { z-index: 0; }
.wf-media-visual .wf-clip { z-index: 1; opacity: 0; transition: opacity .25s ease; }
.wf-media-visual .wf-clip.is-playing { opacity: 1; }
.wf-rain { position: absolute; z-index: 2; inset: 0 0 auto; height: 200%; pointer-events: none; background: url('/home-samples/_rain-down.png') 0 0 / 100% 50% repeat-y; opacity: .38; animation: wf-rain-fall 1.15s linear infinite; }
@keyframes wf-rain-fall { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.wf-sky-eq { position: absolute; z-index: 2; right: 8px; bottom: 8px; display: flex; align-items: end; gap: 2px; width: 43px; height: 20px; pointer-events: none; }
.wf-sky-eq b { flex: 1; min-width: 2px; max-width: 4px; height: 70%; border-radius: 1px 1px 0 0; background: linear-gradient(to top,#2dd4bf,#5b8cff 55%,#ff6ad5); box-shadow: 0 0 6px rgba(108,167,255,.55); transform-origin: bottom; animation: wf-eq-beat .85s ease-in-out infinite alternate; }
.wf-sky-eq b:nth-child(2n) { animation-duration: 1.1s; animation-delay: .12s; }
.wf-sky-eq b:nth-child(3n) { animation-duration: .7s; animation-delay: .24s; }
@keyframes wf-eq-beat { from { transform: scaleY(.25); opacity: .65; } to { transform: scaleY(1); opacity: 1; } }
.wf-stream-picture .wf-ready, .wf-stream-picture .wf-live-badge, .wf-stream-picture .wf-health { z-index: 4; }
.wf-video-preview { position: relative; overflow: hidden; }
.wf-video-preview > .wf-media-visual { display: none; }
.wf-video-preview.has-video > .wf-media-visual { display: block; }
.wf-video-preview.has-video > span:not(.wf-media-visual) { display: none; }
.wf-ready { position: absolute; top: 8px; left: 8px; padding: 3px 6px; border: 1px solid #59616c; border-radius: 3px; background: #252932; color: #d9dfe4; font-size: 9px; font-weight: 650; }
.wf-ready.is-hidden { opacity: 0; }
.wf-live-badge { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 3px; background: #b52e38; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .04em; opacity: 0; transition: opacity .3s ease; }
.wf-live-badge.is-visible { opacity: 1; }
.wf-live-badge i { width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.wf-health { position: absolute; right: 8px; bottom: 8px; padding: 4px 7px; border: 1px solid #59616c; border-radius: 3px; background: rgba(31,36,43,.9); color: #d9dfe4; font-size: 9px; font-weight: 600; opacity: 0; transition: opacity .3s ease, color .3s ease; }
.wf-health.is-visible { opacity: 1; }
.wf-health.is-live { border-color: #4d806d; color: #a6e1ba; }
.wf-stream-copy { padding: 11px; }
.wf-stream-title { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; min-width: 0; }
.wf-stream-title .wf-social { width: 16px; height: 16px; }
.wf-stream-title strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.wf-stream-title small { color: var(--wf-muted); font-size: 10px; }
.wf-stream-actions { display: flex; gap: 7px; }
.wf-stream-actions .wf-button { flex: 1; }
.wf-go-live.is-ready { border-color: #5b636e; background: #454b55; color: #fff; }
.wf-go-live.is-live { border-color: #82444a; background: #663339; }
.wf-spinner { width: 10px; height: 10px; margin-right: 5px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: wf-spin .75s linear infinite; }
@keyframes wf-spin { to { transform: rotate(360deg); } }
.wf-connect-line { display: flex; align-items: center; gap: 9px; max-width: 410px; min-height: 29px; margin-top: 13px; color: var(--wf-muted); opacity: 0; transform: translateY(7px); transition: opacity .35s ease, transform .35s ease; }
.wf-connect-line.is-visible { opacity: 1; transform: translateY(0); }
.wf-endpoint { display: inline-flex; align-items: center; gap: 5px; color: var(--wf-text); font-size: 10px; font-weight: 650; white-space: nowrap; }
.wf-endpoint .wf-social { width: 15px; height: 15px; }
.wf-connect-status { color: var(--wf-muted); font-weight: 550; }
.wf-connect-line.is-live .wf-connect-status { color: #a6e1ba; }
.wf-connect-track { position: relative; flex: 1; min-width: 24px; height: 2px; border-radius: 2px; background: #4a515d; }
.wf-connect-line.is-live .wf-connect-track { background: #4d806d; }
.wf-connect-track i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--wf-accent); box-shadow: 0 0 8px rgba(69,202,190,.6); animation: wf-connect-dot 1.3s linear infinite; }
@keyframes wf-connect-dot { from { left: 0; opacity: .5; } 20% { opacity: 1; } to { left: calc(100% - 8px); opacity: .55; } }
.wf-activity { max-width: 410px; margin-top: 10px; padding: 6px 8px; border: 1px solid #3f4650; border-radius: 4px; background: #1f242b; }
.wf-activity-head, .wf-activity-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wf-activity-head { margin-bottom: 4px; }
.wf-activity-head strong { font-size: 10px; color: #edf1f3; }
.wf-activity-state { color: var(--wf-muted); font-size: 9px; }
.wf-activity.is-live .wf-activity-state { color: #a6e1ba; }
.wf-activity-row { padding: 4px 0; border-top: 1px solid #343b44; font-size: 9px; }
.wf-activity-row > span { color: var(--wf-muted); }
.wf-activity-row strong { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e6ebee; font-weight: 600; }
.wf-activity-row em { color: #aab5bc; font-size: 8px; font-style: normal; }
.wf-activity-row.wf-activity-video, .wf-activity-row.wf-activity-audio { justify-content: flex-start; min-height: 28px; padding: 2px 0; }
.wf-activity-video > img { flex: 0 0 38px; width: 38px; height: 22px; border-radius: 2px; object-fit: cover; }
.wf-activity-row > span:not(.wf-music-icon, .wf-play, .wf-sound-wave) { display: block; flex: 1; min-width: 0; }
.wf-activity-row small { display: block; margin-bottom: 1px; color: var(--wf-muted); font-size: 7px; line-height: 1; }
.wf-activity-row.wf-activity-audio .wf-music-icon { flex-basis: 22px; width: 22px; height: 22px; }
.wf-activity-row.wf-activity-audio .wf-play { flex-basis: 22px; width: 22px; height: 22px; }
.wf-sound-wave { display: flex; align-items: center; gap: 2px; width: 100%; height: 14px; overflow: hidden; }
.wf-sound-wave i { display: block; flex: 1; min-width: 2px; max-width: 4px; max-height: 14px; border-radius: 2px; background: linear-gradient(180deg,#7fd3c9,#387e79); opacity: .7; transform-origin: center; }
.wf-activity.is-live .wf-sound-wave i { animation: wf-wave-play .85s ease-in-out infinite alternate; }
.wf-activity.is-live .wf-sound-wave i:nth-child(3n) { animation-delay: .22s; }
.wf-activity.is-live .wf-sound-wave i:nth-child(4n) { animation-delay: .4s; }
@keyframes wf-wave-play { to { transform: scaleY(.45); opacity: 1; } }
.wf-activity-meter { height: 3px; margin-top: 5px; border-radius: 3px; background: #303840; overflow: hidden; }
.wf-activity-meter i { display: block; width: 35%; height: 100%; background: var(--wf-accent); opacity: .55; }
.wf-activity.is-live .wf-activity-meter i { opacity: 1; animation: wf-meter 2.2s linear infinite alternate; }
@keyframes wf-meter { to { width: 92%; } }

/* The entry choice follows the current five-platform Create Stream screen. */
.wf-platform-label { margin: 5px 0 8px; color: #cbd2d8; font-size: 10px; font-weight: 620; }
.wf-platform-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.wf-platform { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; position: relative; min-width: 0; min-height: 70px; padding: 7px 4px; border: 1px solid var(--wf-line); border-radius: 3px; background: #252932; }
.wf-platform .wf-social, .wf-platform .wf-rtmp-icon { width: 21px; height: 21px; }
.wf-platform strong { color: #e5e9ec; font-size: 10px; font-weight: 620; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.wf-platform i { position: absolute; right: 5px; top: 4px; color: var(--wf-accent); font-size: 10px; font-style: normal; opacity: 0; }
.wf-platform.is-selected { border-color: #63a9a2; background: #2b3038; box-shadow: inset 2px 0 0 var(--wf-accent); }
.wf-platform.is-selected i { opacity: 1; }

/* The connected YouTube Details step has its own structure; Manual stays a media form. */
.wf-wizard-details { display: flex; align-items: baseline; gap: 8px; margin: -1px 0 6px; }
.wf-wizard-details strong { font-size: 12px; }
.wf-wizard-details small { color: var(--wf-muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-channel-mini { padding: 5px 7px; border: 1px solid #444c56; border-radius: 3px; background: #252932; }
.wf-channel-mini > span { display: flex; flex-direction: column; margin-left: 0; flex: 1; }
.wf-channel-mini span small { margin: 0 0 2px; font-size: 8px; }
.wf-channel-mini span strong { font-size: 10px; }
.wf-channel-mini em { color: #b7c1c7; font-size: 9px; font-style: normal; }
.wf-auto-layout { grid-template-columns: minmax(0,1.04fr) minmax(0,1fr); gap: 8px; }
.wf-auto-layout .wf-media-main { padding: 8px; }
.wf-title-field > span { display: flex; justify-content: space-between; }
.wf-title-field small { color: var(--wf-muted); font-weight: 500; }
.wf-description-field .wf-input { height: 43px; align-items: flex-start; padding-top: 8px; color: #929da6; white-space: normal; font-weight: 400; }
.wf-auto-meta { display: grid; gap: 5px; margin-bottom: 10px; }
.wf-auto-meta span { display: flex; justify-content: space-between; gap: 5px; color: #9daab3; font-size: 9px; }
.wf-auto-meta b { color: #e4e8eb; font-size: 9px; font-weight: 550; text-align: right; }
.wf-auto-source { padding-top: 8px; border-top: 1px solid #3e4650; }
.wf-auto-side { min-width: 0; }
.wf-auto-side > .wf-field { margin-bottom: 5px; }
.wf-auto-side .wf-media-side { padding: 7px; }
.wf-auto-side .wf-video-preview { height: 105px; max-height: 105px; aspect-ratio: auto; }
.wf-manual-layout .wf-media-main { display: flex; flex-direction: column; justify-content: flex-start; }

/* Compact version of the app's music icon, play control, and track list. */
.wf-audio-bar { min-height: 34px; margin-top: 6px; }
.wf-audio-bar strong, .wf-audio-bar small { display: block; }
.wf-audio-bar small { margin-top: 2px; color: var(--wf-muted); font-size: 8px; }
.wf-audio-scroll { max-height: 132px; }
.wf-auto-layout .wf-audio-scroll { max-height: 111px; }
.wf-audio-scroll > .wf-audio-row { display: flex; align-items: center; gap: 5px; min-height: 32px; padding: 4px; margin-bottom: 3px; border: 1px solid #424954; border-radius: 3px; background: #272c34; }
.wf-audio-row.is-selected { border-color: #59616c; box-shadow: inset 2px 0 0 var(--wf-accent); }
.wf-audio-radio { display: block; flex: 0 0 12px; width: 12px; height: 12px; border: 1px solid #76848c; border-radius: 50%; background: #1e252c; }
.wf-audio-row.is-selected .wf-audio-radio { border-color: var(--wf-accent); box-shadow: inset 0 0 0 3px #1e252c; background: var(--wf-accent); }
.wf-audio-row strong, .wf-audio-selected strong { flex: 1; min-width: 0; color: #eef2f4; font-size: 9px; font-weight: 610; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-music-icon { display: grid; place-items: center; flex: 0 0 23px; width: 23px; height: 23px; border: 1px solid #4b535e; border-radius: 3px; background: #303640; color: #cbd3d8; }
.wf-music-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wf-play { display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; border: 1px solid #535d68; border-radius: 3px; background: #333a43; color: #e8edf0; }
.wf-play svg { width: 15px; height: 15px; fill: currentColor; }
.wf-play.is-playing { border-color: var(--wf-accent); color: var(--wf-accent); }
.wf-play.is-playing svg { transform: scale(.85); }
.wf-more { color: #a9b2b9; font-size: 13px; line-height: 1; }
.wf-audio-row i, .wf-audio-selected i { display: none; font-size: 10px; }
.wf-audio-row.is-selected i, .wf-audio-selected i { display: block; margin-left: 0; }
.wf-audio-selected.is-visible { display: flex; align-items: center; gap: 5px; height: 32px; padding: 4px; margin-top: 4px; }

/* A small anchored dropdown keeps two tracks visible and the rest scrollable. */
.wf-auto-side .wf-media-side { position: relative; }
.wf-auto-layout .wf-audio-tray { position: absolute; z-index: 6; top: auto; bottom: 42px; left: 7px; right: 7px; display: block; width: auto; max-height: 86px; margin: 0; padding: 5px; overflow: hidden; border: 1px solid #5b6670; border-radius: 4px; background: #222831; box-shadow: 0 12px 25px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: none; transition: opacity .2s ease, visibility .2s; }
.wf-auto-layout .wf-audio-tray.is-open { opacity: 1; visibility: visible; }
.wf-audio-tray-head { display: none; }
.wf-auto-layout .wf-audio-scroll { max-height: 72px; overflow-y: auto; }
.wf-auto-layout .wf-audio-scroll > .wf-audio-row { min-height: 31px; }
.wf-auto-layout .wf-plus.is-picked { border-color: #6fa99f; color: #91d1c6; font-size: 12px; }

/* Manual RTMP mirrors the app's one-editor workflow: credentials beside source media. */
.wf-manual-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.wf-manual-heading strong, .wf-manual-heading small { display: block; }
.wf-manual-heading strong { font-size: 16px; line-height: 1.15; }
.wf-manual-heading small { margin-top: 3px; color: var(--wf-muted); font-size: 9px; }
.wf-manual-heading em { padding: 4px 7px; border: 1px solid #56616b; border-radius: 3px; color: #ced7db; font-size: 8px; font-style: normal; letter-spacing: .08em; }
.wf-manual-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 9px; }
.wf-manual-left, .wf-manual-right { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.wf-manual-box, .wf-manual-info { min-width: 0; padding: 10px; border: 1px solid #424a54; border-radius: 4px; background: #1e242b; }
.wf-manual-section-head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 9px; }
.wf-manual-section-head strong { font-size: 11px; }
.wf-manual-section-head small { color: var(--wf-muted); font-size: 8px; }
.wf-manual-platform { display: flex; align-items: center; gap: 7px; padding: 6px 8px; margin-bottom: 9px; border: 1px solid #59626d; border-radius: 3px; background: #2b323a; }
.wf-manual-platform .wf-social { width: 18px; height: 18px; }
.wf-manual-platform span { flex: 1; }
.wf-manual-platform strong, .wf-manual-platform small { display: block; }
.wf-manual-platform strong { font-size: 10px; }
.wf-manual-platform small { color: var(--wf-muted); font-size: 8px; }
.wf-manual-platform i { color: var(--wf-accent); font-size: 11px; font-style: normal; }
.wf-manual-box .wf-field { margin-bottom: 7px; }
.wf-manual-box .wf-input { height: 28px; font-size: 9px; }
.wf-manual-box p { margin: 5px 0 0; color: var(--wf-muted); font-size: 8px; line-height: 1.3; }
.wf-manual-info { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 10px; }
.wf-manual-info strong { font-size: 9px; white-space: nowrap; }
.wf-manual-info span { color: var(--wf-muted); font-size: 8px; text-align: right; }
.wf-manual-source .wf-modes { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 9px; }
.wf-manual-source .wf-modes > div { min-width: 0; min-height: 32px; padding: 4px; }
.wf-manual-source .wf-modes strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.wf-manual-video-label { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 5px; font-size: 9px; font-weight: 630; }
.wf-manual-video-label small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--wf-muted); font-size: 8px; font-weight: 500; }
.wf-manual-preview { max-height: 127px; }
.wf-manual-library { display: flex; align-items: center; gap: 7px; height: 0; padding: 0 6px; overflow: hidden; border: 0 solid #545e68; border-radius: 3px; background: #2b323a; opacity: 0; transition: height .28s ease, opacity .28s ease, margin .28s ease; }
.wf-manual-library.is-open { height: 41px; margin-top: 5px; border-width: 1px; opacity: 1; }
.wf-manual-library img { width: 48px; height: 27px; object-fit: cover; }
.wf-manual-library span, .wf-manual-audio span:not(.wf-music-icon) { flex: 1; min-width: 0; }
.wf-manual-library strong, .wf-manual-library small, .wf-manual-audio strong, .wf-manual-audio small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-manual-library strong, .wf-manual-audio strong { font-size: 9px; }
.wf-manual-library small, .wf-manual-audio small { margin-top: 2px; color: var(--wf-muted); font-size: 8px; }
.wf-manual-library i, .wf-manual-audio i { color: var(--wf-accent); font-size: 11px; font-style: normal; opacity: 0; }
.wf-manual-library.is-selected i, .wf-manual-audio.is-selected i { opacity: 1; }
.wf-manual-audio { display: flex; align-items: center; gap: 6px; min-height: 37px; margin-top: 7px; padding: 4px 6px; border: 1px solid #464e58; border-radius: 3px; background: #282e36; }
.wf-manual-audio.is-selected { border-color: #61a9a0; box-shadow: inset 2px 0 0 var(--wf-accent); }
.wf-manual-actions { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.wf-manual-actions > span:first-child { color: var(--wf-muted); font-size: 8px; }
.wf-manual-actions .wf-button { min-height: 30px; font-size: 10px; }

/* The chooser keeps the current app's tabs, search, list and selection footer. */
.wf-picker { left: 5%; right: 5%; top: 5%; bottom: 5%; }
.wf-picker-head { flex: 0 0 auto; }
.wf-picker-head > b { margin-left: auto; color: #b7c0c7; font-size: 18px; font-weight: 400; }
.wf-picker-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; padding: 8px 9px; border: 0; }
.wf-picker-tabs span { display: grid; grid-template-columns: 18px 1fr; grid-template-rows: auto auto; gap: 1px 4px; min-width: 0; min-height: 43px; padding: 5px; border: 1px solid #4a515d; border-radius: 3px; background: #252932; }
.wf-picker-tabs span.is-selected { border: 1px solid #62a9a0; background: #2b3038; box-shadow: inset 2px 0 0 var(--wf-accent); }
.wf-picker-tabs b { grid-row: 1/3; align-self: center; color: #d6dfe3; font-size: 13px; }
.wf-picker-tabs strong { color: #e9edf0; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-picker-tabs small { color: var(--wf-muted); font-size: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-picker-tools { display: flex; gap: 6px; padding: 0 9px 8px; }
.wf-picker-tools div, .wf-picker-tools > small { display: flex; align-items: center; height: 26px; padding: 0 7px; border: 1px solid #4a515d; border-radius: 3px; background: #282d35; color: var(--wf-muted); font-size: 9px; }
.wf-picker-tools div { flex: 1; gap: 5px; }
.wf-picker-tools > small { color: #d9e0e3; white-space: nowrap; }
.wf-picker-list-head { display: flex; justify-content: space-between; padding: 7px 10px; border-top: 1px solid #3b414c; color: #e9edf0; font-size: 10px; }
.wf-picker-list-head span { color: var(--wf-muted); font-size: 9px; }
.wf-picker-list { min-height: 0; padding: 3px 9px 9px; }
.wf-picker-row { min-height: 53px; }
.wf-picker-row img { width: 72px; }
.wf-picker-foot { align-items: center; min-height: 46px; margin-top: auto; }
.wf-picker-foot > small { flex: 1; color: var(--wf-muted); font-size: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-picker-confirm.is-selected { border-color: #55aaa1; background: #398f87; }
.wf-scene[data-wf-scene="wizard"] .wf-footer { position: absolute; left: 17px; right: 17px; bottom: 9px; margin: 0; }
@media (max-width: 980px) { .hd-stage.wf-stage, .wf-shell { height: 520px; min-height: 520px; } }
@media (max-width: 480px) {
  .hd-stage.wf-stage, .wf-shell { height: 550px; min-height: 550px; }
  #hdMediaDemo.wf-stage, #hdMediaDemo .wf-shell { height: 640px; min-height: 640px; }
  .wf-scene { padding: 12px; }
  .wf-brand b { font-size: 9px; }
  .wf-nav { font-size: 9px; }
  .wf-choice-grid { gap: 6px; }
  .wf-choice { padding: 7px; min-height: 72px; gap: 6px; }
  .wf-choice strong { font-size: 10px; }
  .wf-choice small { font-size: 8px; }
  .wf-media-layout { gap: 5px; }
  .wf-media-main, .wf-media-side { padding: 6px; }
  .wf-steps { font-size: 9px; gap: 3px; }
  .wf-steps span { display: none; }
  .wf-modes strong, .wf-field > span, .wf-media-note,
  .wf-audio-scroll > div, .wf-audio-selected { font-size: 10px; }
  .wf-input, .wf-section-label small { font-size: 10px; }
  .wf-picker { left: 3%; right: 3%; }
  .wf-connect-line { gap: 6px; }
  .wf-endpoint { font-size: 9px; }
  .wf-platform-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wf-platform { min-height: 61px; }
  .wf-auto-layout, .wf-manual-layout { grid-template-columns: 1fr; gap: 6px; }
  .wf-auto-layout .wf-media-main, .wf-auto-side .wf-media-side { padding: 5px; }
  .wf-wizard-details small, .wf-description-field, .wf-auto-meta { display: none; }
  .wf-auto-layout .wf-modes { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wf-auto-layout .wf-media-main { padding-bottom: 2px; }
  .wf-auto-side .wf-video-preview { height: 105px; }
  .wf-auto-layout .wf-audio-scroll { max-height: 106px; }
  .wf-auto-layout .wf-audio-tray { top: auto; bottom: 42px; left: 5px; right: 5px; max-height: 86px; }
  .wf-auto-layout .wf-audio-scroll { max-height: 72px; }
  .wf-manual-layout .wf-audio-scroll { max-height: 98px; }
  .wf-manual-columns { grid-template-columns: 1fr; }
  .wf-manual-workspace .wf-manual-right { display: none; }
  .wf-manual-workspace.is-media-step .wf-manual-left { display: none; }
  .wf-manual-workspace.is-media-step .wf-manual-right { display: flex; }
  .wf-manual-info { display: none; }
  .wf-manual-preview { max-height: 170px; }
  .wf-picker-tabs { gap: 3px; padding: 7px 5px; }
  .wf-picker-tabs span { grid-template-columns: 1fr; min-height: 37px; padding: 4px; }
  .wf-picker-tabs b, .wf-picker-tabs small { display: none; }
  .wf-picker-tabs strong { align-self: center; font-size: 8px; text-align: center; }
  .wf-picker-tools { padding: 0 5px 6px; }
  .wf-picker-foot > small { display: none; }
  .wf-picker { top: 10%; bottom: auto; height: 375px; }
  .wf-scene[data-wf-scene="wizard"] .wf-footer { left: 12px; right: 12px; bottom: 8px; }
  #hdMediaDemo .wf-stream-picture { height: 225px; }
  #hdDestDemo .wf-stream-picture { height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .wf-stage *, .wf-stage *::before, .wf-stage *::after { transition: none !important; animation: none !important; }
  .wf-cursor { display: none; }
  .wf-progress { display: none; }
  .wf-rain, .wf-sky-eq b, .wf-activity-meter i, .wf-sound-wave i { animation: none !important; }
}

/* The dashboard uses a thin sampled audio waveform and unboxed controls. */
.wf-sound-wave { display: block; width: 100%; max-width: none; height: 13px; overflow: visible; }
.wf-sound-wave line { stroke: #70b1ac; stroke-width: .72px; vector-effect: non-scaling-stroke; opacity: .82; }
.wf-activity.is-live .wf-sound-wave line { stroke: #82ccc5; }
.wf-music-icon, .wf-play { flex: 0 0 18px; width: 18px; height: 18px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.wf-music-icon svg, .wf-play svg { width: 15px; height: 15px; }
.wf-play.is-playing { background: transparent; }
.wf-activity-row .wf-music-icon, .wf-activity-row .wf-play { flex-basis: 18px; width: 18px; height: 18px; }
.wf-starting-media { position: absolute; right: 17px; bottom: 14px; left: 17px; display: grid; gap: 6px; width: auto; margin: 0; padding: 10px 12px; border: 1px solid #48535d; border-radius: 4px; background: #252b33; }
.wf-starting-media > strong { color: #dfe8ea; font-size: 9px; }
.wf-starting-media > div { display: flex; align-items: center; gap: 7px; min-height: 29px; border-top: 1px solid #3c454e; color: #dbe3e6; font-size: 9px; }
.wf-starting-media img { width: 48px; aspect-ratio: 16 / 9; object-fit: cover; }
.wf-starting-media span:not(.wf-music-icon) { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-starting-media small { display: block; color: var(--wf-muted); font-size: 7px; }

/* Smart audio choices open under the source row. Exactly two are visible. */
.wf-auto-layout .wf-audio-tray { position: relative; top: auto; bottom: auto; left: auto; right: auto; z-index: 2; width: 100%; max-height: 0; height: auto; margin: 0; padding: 0 5px; border-width: 0; visibility: visible; opacity: 0; box-shadow: none; transform: translateY(-5px); transition: max-height .32s ease, padding .32s ease, border-width .32s ease, opacity .24s ease, transform .32s ease; }
.wf-auto-layout .wf-audio-tray.is-open { max-height: 84px; padding: 5px; border-width: 1px; opacity: 1; transform: translateY(0); }
.wf-auto-layout .wf-audio-scroll { max-height: 70px; overflow-y: auto; }
.wf-auto-layout .wf-audio-scroll > .wf-audio-row { min-height: 31px; }

/* The Smart preview follows the same 16:9 source shape as Manual. */
.wf-auto-side .wf-video-preview { width: min(100%, 226px); height: auto; max-height: none; aspect-ratio: 16 / 9; }

/* Distinct Smart wizard screens modeled on the connected YouTube flow. */
.wf-smart-step-kicker { margin: 3px 0 11px; color: #7dc2bb; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.wf-google-card, .wf-smart-info, .wf-smart-setting, .wf-smart-key, .wf-smart-schedule, .wf-smart-thumbnail { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #4a515d; border-radius: 4px; background: #252932; }
.wf-google-card { margin-top: 24px; box-shadow: inset 3px 0 0 #67b5aa; }
.wf-google-card > div, .wf-smart-setting > span, .wf-smart-schedule > div, .wf-smart-thumbnail > span { flex: 1; min-width: 0; }
.wf-google-card strong, .wf-google-card small, .wf-smart-info strong, .wf-smart-info small, .wf-smart-setting strong, .wf-smart-setting small, .wf-smart-schedule strong, .wf-smart-schedule small, .wf-smart-thumbnail strong, .wf-smart-thumbnail small { display: block; }
.wf-google-card strong, .wf-smart-info strong, .wf-smart-setting strong, .wf-smart-schedule strong, .wf-smart-thumbnail strong { font-size: 11px; }
.wf-google-card small, .wf-smart-info small, .wf-smart-setting small, .wf-smart-schedule small, .wf-smart-thumbnail small { margin-top: 4px; color: var(--wf-muted); font-size: 9px; line-height: 1.4; }
.wf-google-mark { display: grid; place-items: center; flex: 0 0 33px; width: 33px; height: 33px; border-radius: 50%; background: #fff; }
.wf-google-mark img { display: block; width: 22px; height: 22px; object-fit: contain; }
.wf-google-steps { display: grid; gap: 11px; margin: 23px 0 0 8px; color: #d7dde1; font-size: 10px; }
.wf-google-steps span { display: flex; align-items: center; gap: 9px; }
.wf-google-steps i { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #69747d; border-radius: 50%; color: #79c5bd; font-size: 9px; font-style: normal; }
.wf-google-note { margin-top: 18px; color: var(--wf-muted); font-size: 9px; line-height: 1.45; }
.wf-smart-info { flex-direction: column; align-items: flex-start; margin: 13px 0 8px; }
.wf-smart-setting { justify-content: space-between; margin-top: 8px; }
.wf-smart-setting em { color: #aeb8c0; font-size: 10px; font-style: normal; }
.wf-smart-setting i, .wf-smart-settings i { color: #79c5bd; font-style: normal; }
.wf-smart-settings { display: grid; gap: 7px; margin-top: 12px; }
.wf-smart-settings > div { display: grid; grid-template-columns: 1fr auto; gap: 3px; padding: 10px; border: 1px solid #4a515d; border-radius: 4px; background: #252932; }
.wf-smart-settings strong { font-size: 10px; }.wf-smart-settings small { grid-column: 1; color: var(--wf-muted); font-size: 9px; }
.wf-smart-settings i { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.wf-smart-visibility { display: flex; gap: 6px; margin-top: 12px; }
.wf-smart-visibility > * { flex: 1; padding: 8px 4px; border: 1px solid #4a515d; border-radius: 4px; background: #252932; color: #b8c0c5; font-size: 9px; font-weight: 500; text-align: center; }
.wf-smart-visibility strong { border-color: #70bcb2; color: #eaf2f2; }
.wf-smart-schedule { justify-content: space-between; margin-top: 9px; }
.wf-smart-schedule .wf-button { min-height: 28px; font-size: 9px; }
.wf-smart-schedule-preview { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .38s ease, opacity .25s ease, padding .38s ease; }
.wf-smart-schedule-preview.is-open { max-height: 90px; margin-top: 7px; padding: 9px; border: 1px solid #5c686f; border-radius: 4px; background: #282e36; opacity: 1; }
.wf-smart-schedule-preview strong, .wf-smart-schedule-preview span, .wf-smart-schedule-preview small { display: block; font-size: 9px; line-height: 1.45; }
.wf-smart-schedule-preview span, .wf-smart-schedule-preview small { color: var(--wf-muted); }
.wf-smart-thumbnail { width: min(100%, 225px); margin-top: 10px; padding: 5px; }
.wf-smart-thumbnail img { width: 64px; aspect-ratio: 16 / 9; object-fit: cover; }
.wf-smart-key { justify-content: space-between; margin-top: 15px; }
.wf-smart-key span { display: flex; align-items: center; gap: 6px; font-size: 10px; }
.wf-smart-key small { color: var(--wf-muted); font-size: 9px; }
.wf-smart-footer { position: absolute; right: 17px; bottom: 12px; left: 17px; display: flex; justify-content: space-between; }

@media (max-width: 480px) {
  .wf-starting-media { right: 12px; bottom: 12px; left: 12px; }
  #hdMediaDemo.wf-stage, #hdMediaDemo .wf-shell { height: 550px; min-height: 550px; }
  .wf-platform-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .wf-platform { min-height: 50px; gap: 3px; padding: 5px 2px; }
  .wf-platform .wf-social, .wf-platform .wf-rtmp-icon { width: 17px; height: 17px; }
  .wf-platform strong { font-size: 8px; }
  .wf-auto-side .wf-video-preview { width: min(100%, 205px); max-height: none; height: auto; aspect-ratio: 16 / 9; }
  .wf-scene[data-wf-scene="wizard"].is-media-step .wf-title-field { display: none; }
  .wf-scene[data-wf-scene="wizard"].is-media-step .wf-auto-layout .wf-media-main { padding: 0; border: 0; background: transparent; }
  .wf-scene[data-wf-scene="wizard"].is-audio-open .wf-auto-layout .wf-media-main { display: none; }
  .wf-scene[data-wf-scene="wizard"] .wf-auto-layout .wf-modes { margin-bottom: 2px; }
  .wf-scene[data-wf-scene="wizard"] .wf-audio-bar { min-height: 29px; margin-top: 3px; }
  #hdMediaDemo .wf-stream-picture { height: 170px; }
  .wf-smart-thumbnail { display: none; }
  .wf-smart-footer { right: 12px; left: 12px; }
}


/* home-theme-v2.css */
/* Keep the dashboard's charcoal surfaces while restoring the homepage's green glow. */
html:not([data-theme="light"]) {
  --bg: #101a1c;
  --bg-2: #172320;
  --card: #202a2b;
  --line: #38504d;
  --text: #eef1f4;
  --muted: #9aa2ad;
  --teal: #45cabe;
  --shadow: 0 16px 46px rgba(0,0,0,.34);
}
html:not([data-theme="light"]) .home { background: radial-gradient(ellipse 80% 38% at 12% 8%,rgba(27,71,64,.56),transparent 65%),radial-gradient(ellipse 70% 34% at 92% 43%,rgba(19,65,54,.42),transparent 65%),radial-gradient(ellipse 65% 32% at 12% 83%,rgba(25,69,58,.36),transparent 65%),#101a1c; }
html:not([data-theme="light"]) .home::before,
html:not([data-theme="light"]) .home::after { animation-duration: 22s; }
html:not([data-theme="light"]) .home::before { background: radial-gradient(ellipse 43% 15% at 18% 10%,rgba(47,141,119,.28),transparent 65%),radial-gradient(ellipse 41% 13% at 82% 48%,rgba(50,135,112,.2),transparent 65%),radial-gradient(ellipse 46% 17% at 25% 85%,rgba(48,130,108,.18),transparent 68%); }
html:not([data-theme="light"]) .home::after { background: radial-gradient(ellipse 35% 12% at 82% 18%,rgba(109,193,157,.13),transparent 67%),radial-gradient(ellipse 42% 17% at 15% 62%,rgba(76,159,133,.12),transparent 67%); }
html:not([data-theme="light"]) .home .site-nav { background: rgba(18,34,33,.78); border-bottom-color: #34514a; }
html:not([data-theme="light"]) .home .section.alt,
html:not([data-theme="light"]) .home .final { background: linear-gradient(110deg,#162522,#14201f 55%,#193029); }
html:not([data-theme="light"]) .home .section:not(.alt) { background: linear-gradient(115deg,#111d1e,#152823 68%,#13201e); }
html:not([data-theme="light"]) .home #features { background: radial-gradient(ellipse 58% 45% at 95% 28%,rgba(34,104,83,.28),transparent 72%),linear-gradient(115deg,#111b1d,#182c26 80%); }
html:not([data-theme="light"]) .home .home-marquee-sec { background: #172621; }
html:not([data-theme="light"]) .home .site-foot { background: #16231f; border-top: 1px solid #38504d; }
html:not([data-theme="light"]) .hero-title .ht-word.ht-247,
html:not([data-theme="light"]) .hero-title .ht-word.ht-247.is-on { color: #eef1f4; }
html:not([data-theme="light"]) .hero-title.is-seq .ht-word.ht-247:not(.is-on) { color: #697079; }
html:not([data-theme="light"]) .mock-card > span .mock-247 { color: #d9dfe4; }
html:not([data-theme="light"]) .mock-sky .sky-eq b,
html:not([data-theme="light"]) .sky-eq.hd-sky-eq b { background: #45cabe; box-shadow: none; }

html:not([data-theme="light"]) .dash-mock,
html:not([data-theme="light"]) .mock-card,
html:not([data-theme="light"]) .card,
html:not([data-theme="light"]) .step,
html:not([data-theme="light"]) .status-panel,
html:not([data-theme="light"]) .lib-panel,
html:not([data-theme="light"]) .lib-item,
html:not([data-theme="light"]) .dest-tile,
html:not([data-theme="light"]) .price-card,
html:not([data-theme="light"]) .price-scale article,
html:not([data-theme="light"]) .hd-frame,
html:not([data-theme="light"]) .hd-lower-list li,
html:not([data-theme="light"]) .hd-stream-card {
  background: #202a2b;
  border-color: #39504d;
  border-radius: 5px;
}
html:not([data-theme="light"]) .mock-card,
html:not([data-theme="light"]) .lib-item { background: #25312f; }
html:not([data-theme="light"]) .price-card-paid { border-color: #4e8d80; box-shadow: inset 3px 0 0 #45cabe,0 0 24px rgba(46,140,119,.1); }
html:not([data-theme="light"]) .price-card-head em,
html:not([data-theme="light"]) .hd-chip,
html:not([data-theme="light"]) .chip,
html:not([data-theme="light"]) .home-marquee-pill,
html:not([data-theme="light"]) .lib-badge {
  background: #2b403c;
  border-color: #42645d;
  color: #d9dfe4;
  border-radius: 4px;
  box-shadow: none;
}
html:not([data-theme="light"]) .home-marquee-pill { border-radius: 999px; }
html:not([data-theme="light"]) .home-marquee-pill svg { stroke: #8ebdb7 !important; }
html:not([data-theme="light"]) .price-scale article:hover,
html:not([data-theme="light"]) .hd-lower-list li:hover {
  background: #292e36;
  border-color: #59616c;
  box-shadow: none;
}
html:not([data-theme="light"]) .home-pills { border-color: #4a515d; border-radius: 4px; }
html:not([data-theme="light"]) .home-pills button { border-color: #4a515d; color: #d9dfe4; }
html:not([data-theme="light"]) .home-pills button.on { background: #3a4049; color: #fff; box-shadow: inset 0 -2px 0 #45cabe; }
html:not([data-theme="light"]) .home .btn,
html:not([data-theme="light"]) .home .btn-teal,
html:not([data-theme="light"]) .home .price-cta,
html:not([data-theme="light"]) .home .hd-btn.teal,
html:not([data-theme="light"]) .price-stepper button {
  background: #284941;
  border-color: #42776b;
  color: #f2f5f6;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(69,202,190,.08);
}
html:not([data-theme="light"]) .home .btn:hover,
html:not([data-theme="light"]) .home .price-cta:hover,
html:not([data-theme="light"]) .price-stepper button:hover {
  background: #326357;
  border-color: #62b1a0;
  color: #fff;
  filter: none;
  transform: none;
  box-shadow: 0 0 0 2px rgba(69,202,190,.12),0 7px 21px rgba(39,139,115,.2);
}
html:not([data-theme="light"]) .home .nav-end .ghost,
html:not([data-theme="light"]) .home .hero-actions .btn:not(.btn-teal) { background: #243431; color: #d9e6e2; }
html:not([data-theme="light"]) .home .nav-end .ghost:hover,
html:not([data-theme="light"]) .home .hero-actions .btn:not(.btn-teal):hover { background: #304c43; border-color: #5ba392; box-shadow: 0 0 0 2px rgba(69,202,190,.1),0 8px 22px rgba(27,111,88,.17); }
html:not([data-theme="light"]) .home .btn-lg { height: 38px; }
html:not([data-theme="light"]) .home .hd-tab.on { background: #303640; border-color: #59616c; color: #eef1f4; box-shadow: inset 0 -2px 0 #45cabe; }
html:not([data-theme="light"]) .home-yt-frame,
html:not([data-theme="light"]) .home-yt iframe,
html:not([data-theme="light"]) .dest-icon,
html:not([data-theme="light"]) .lib-thumb { border-radius: 4px; }
.workflow-summary { margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }
.home .nav-brand { gap: 8px; }
.home .nav-logo { display: block; width: 25px; height: 27px; flex: 0 0 25px; object-fit: contain; }
.home .nav-drawer-home-link { display: inline-flex; align-items: center; gap: 8px; }
.price-currency-label { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 600; }
.price-currency-label select { min-height: 36px; padding: 0 28px 0 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--text); font: inherit; cursor: pointer; }
.price-currency-label select:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.price-currency-note { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
@media (max-width: 980px) {
  .price-toggles { flex-wrap: wrap; }
  .price-currency-label { flex: 1 1 100%; justify-content: flex-end; }
  html:not([data-theme="light"]) .home .nav-drawer { background: #172420; color: #eef1f4; }
  html:not([data-theme="light"]) .home .nav-drawer-head,
  html:not([data-theme="light"]) .home .nav-drawer-foot { background: #20312c; border-color: #38504d; }
  html:not([data-theme="light"]) .home .nav-drawer-scroll { background: #172420; }
  html:not([data-theme="light"]) .home .nav-drawer-item { border-color: #343b44; }
  html:not([data-theme="light"]) .home .nav-drawer-item:hover,
  html:not([data-theme="light"]) .home .nav-drawer-item:active { background: #294139; }
  html:not([data-theme="light"]) .home .nav-drawer-ico { background: #303640; border-color: #4a515d; color: #8ebdb7; border-radius: 4px; }
  html:not([data-theme="light"]) .home .nav-drawer-home-link,
  html:not([data-theme="light"]) .home .nav-drawer-kicker { color: #d9e0e3; }
  html:not([data-theme="light"]) .home .nav-drawer-login,
  html:not([data-theme="light"]) .home .nav-drawer-signup { background: #284941; border: 1px solid #42776b; color: #f2f5f6; border-radius: 4px; }
  html:not([data-theme="light"]) .home .nav-end > .nav-toggle,
  html:not([data-theme="light"]) .home .nav-toggle-float { background: #303640 !important; border-color: #59616c !important; color: #eef1f4; border-radius: 4px; }
}

/* Use the app's charcoal palette across the page, with one soft ambient glow. */
html:not([data-theme="light"]) {
  --bg: #181c22;
  --bg-2: #20242c;
  --card: #252a32;
  --line: #49525b;
  --teal: #6bbab1;
}
html:not([data-theme="light"]) body,
html:not([data-theme="light"]) .home { background: #181c22; }
html:not([data-theme="light"]) .home::before { background: radial-gradient(ellipse 42% 26% at 11% 13%,rgba(71,133,119,.13),transparent 80%),radial-gradient(ellipse 35% 22% at 89% 51%,rgba(79,144,132,.12),transparent 82%),radial-gradient(ellipse 40% 23% at 22% 86%,rgba(78,136,125,.1),transparent 80%); }
html:not([data-theme="light"]) .home::after { background: radial-gradient(ellipse 25% 15% at 75% 15%,rgba(106,183,169,.07),transparent 78%); }
html:not([data-theme="light"]) .home .section,
html:not([data-theme="light"]) .home .section:not(.alt),
html:not([data-theme="light"]) .home .section.alt,
html:not([data-theme="light"]) .home #features,
html:not([data-theme="light"]) .home .final,
html:not([data-theme="light"]) .home .home-marquee-sec,
html:not([data-theme="light"]) .home .site-foot { background: transparent; }
html:not([data-theme="light"]) .home .site-nav { background: rgba(27,32,39,.9); border-bottom-color: #48535b; }
html:not([data-theme="light"]) .dash-mock,
html:not([data-theme="light"]) .mock-card,
html:not([data-theme="light"]) .card,
html:not([data-theme="light"]) .step,
html:not([data-theme="light"]) .status-panel,
html:not([data-theme="light"]) .lib-panel,
html:not([data-theme="light"]) .lib-item,
html:not([data-theme="light"]) .dest-tile,
html:not([data-theme="light"]) .price-card,
html:not([data-theme="light"]) .price-scale article,
html:not([data-theme="light"]) .hd-frame,
html:not([data-theme="light"]) .hd-lower-list li,
html:not([data-theme="light"]) .hd-stream-card { background: #252a32; border-color: #49525b; }
html:not([data-theme="light"]) .mock-card,
html:not([data-theme="light"]) .lib-item { background: #282d35; }
html:not([data-theme="light"]) .price-card-paid { border-color: #709f98; box-shadow: inset 3px 0 0 #69b9af,0 0 26px rgba(89,165,150,.08); }
html:not([data-theme="light"]) .price-card-head em,
html:not([data-theme="light"]) .hd-chip,
html:not([data-theme="light"]) .chip,
html:not([data-theme="light"]) .home-marquee-pill,
html:not([data-theme="light"]) .lib-badge { background: #303740; border-color: #56616a; color: #dce4e7; }
html:not([data-theme="light"]) .home .btn,
html:not([data-theme="light"]) .home .btn-teal,
html:not([data-theme="light"]) .home .price-cta,
html:not([data-theme="light"]) .home .hd-btn.teal,
html:not([data-theme="light"]) .price-stepper button,
html:not([data-theme="light"]) .home .nav-end .ghost,
html:not([data-theme="light"]) .home .hero-actions .btn:not(.btn-teal) { background: #343b44; border-color: #69757d; color: #f2f5f6; box-shadow: inset 0 -2px 0 rgba(103,185,173,.52); }
html:not([data-theme="light"]) .home .btn:hover,
html:not([data-theme="light"]) .home .btn-teal:hover,
html:not([data-theme="light"]) .home .price-cta:hover,
html:not([data-theme="light"]) .home .hd-btn.teal:hover,
html:not([data-theme="light"]) .price-stepper button:hover,
html:not([data-theme="light"]) .home .nav-end .ghost:hover,
html:not([data-theme="light"]) .home .hero-actions .btn:not(.btn-teal):hover { background: #434b54; border-color: #8cbeb5; color: #fff; filter: none; transform: translateY(-1px); box-shadow: inset 0 -2px 0 #78c6ba,0 0 17px rgba(90,173,157,.13); }
html:not([data-theme="light"]) .hero-title .ht-word.ht-247,
html:not([data-theme="light"]) .hero-title .ht-word.ht-247.is-on { color: #d9575f; }
html:not([data-theme="light"]) .hero-title.is-seq .ht-word.ht-247:not(.is-on) { color: #9f4b50; }
@media (max-width: 980px) {
  html:not([data-theme="light"]) .home .nav-drawer,
  html:not([data-theme="light"]) .home .nav-drawer-scroll { background: #20252d; }
  html:not([data-theme="light"]) .home .nav-drawer-head,
  html:not([data-theme="light"]) .home .nav-drawer-foot { background: #282e37; border-color: #4a545e; }
  html:not([data-theme="light"]) .home .nav-drawer-item:hover,
  html:not([data-theme="light"]) .home .nav-drawer-item:active { background: #343d46; }
  html:not([data-theme="light"]) .home .nav-drawer-login,
  html:not([data-theme="light"]) .home .nav-drawer-signup { background: #343b44; border-color: #69757d; box-shadow: inset 0 -2px 0 #6bbab1; }
}

/* A single fine border on controls; selection comes from the fill, not an inset line. */
html:not([data-theme="light"]) .home .btn,
html:not([data-theme="light"]) .home .price-cta,
html:not([data-theme="light"]) .home .hd-btn,
html:not([data-theme="light"]) .home .price-stepper button,
html:not([data-theme="light"]) .home .nav-drawer-login,
html:not([data-theme="light"]) .home .nav-drawer-signup {
  border-width: 1px;
  border-color: #59636d;
  box-shadow: none;
}
html:not([data-theme="light"]) .home .btn:hover,
html:not([data-theme="light"]) .home .price-cta:hover,
html:not([data-theme="light"]) .home .hd-btn:hover,
html:not([data-theme="light"]) .home .price-stepper button:hover,
html:not([data-theme="light"]) .home .nav-drawer-login:hover,
html:not([data-theme="light"]) .home .nav-drawer-signup:hover {
  border-color: #79aaa2;
  background-color: #414951;
  box-shadow: none;
}
html:not([data-theme="light"]) .home .home-pills button.on,
html:not([data-theme="light"]) .home .hd-tab.on { box-shadow: none; }
html:not([data-theme="light"]) .home .home-pills,
html:not([data-theme="light"]) .home .price-card,
html:not([data-theme="light"]) .home .price-scale article { border-width: 1px; border-color: #59636d; box-shadow: none; }
html:not([data-theme="light"]) .home .price-card-paid { border-color: #6a8b85; box-shadow: none; }
html:not([data-theme="light"]) .home .price-scale article:hover,
html:not([data-theme="light"]) .home .hd-lower-list li:hover { border-color: #79aaa2; background: #2d333b; box-shadow: none; transform: none; }

/* The taller preview fills the feature column without a short, wide card. */
@media (min-width: 981px) {
  #reliability .hd-lower { align-items: stretch; }
  #reliability .hd-stage.lower { align-self: stretch; }
  #reliability .hd-frame.hd-status-frame { height: 100%; min-height: 100%; }
  #reliability .hd-status-frame .hd-stream-card { display: flex; flex: 1 1 auto; flex-direction: column; }
  #reliability .hd-status-frame .hd-stream-thumb { flex: 1 1 auto; height: auto; min-height: 190px; }
  #reliability .hd-status-frame .hd-stream-body { flex: 0 0 auto; }
  #reliability .hd-status-frame .hd-status-note { flex: 0 0 auto; }
}

/* Put the guide label below the Help Center title. */
.home .hd-help-top { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-bottom: 11px; }
.home .hd-help-top .hd-chip { height: auto; padding: 0; border: 0; background: transparent; box-shadow: none; color: var(--muted); font-size: 11px; }

html:not([data-theme="light"]) .home .hero-actions .btn:not(.btn-teal),
html:not([data-theme="light"]) .home .hero-actions .btn:not(.btn-teal):hover,
html:not([data-theme="light"]) .home .hd-btn.teal,
html:not([data-theme="light"]) .home .hd-btn.teal:hover,
html:not([data-theme="light"]) .home .nav-end .ghost,
html:not([data-theme="light"]) .home .nav-end .ghost:hover,
html:not([data-theme="light"]) .home .btn,
html:not([data-theme="light"]) .home .btn:hover { box-shadow: none; border-width: 1px; }
html:not([data-theme="light"]) .home .hd-btn.red { background: #a94349; border-color: #bb5c62; color: #fff; box-shadow: none; }
html:not([data-theme="light"]) .home .hd-btn.red:hover { background: #b94d54; border-color: #ca6b70; box-shadow: none; }

/* Filled, square-edged plan cards with a clear primary action. */
.home .plan-showcase-card {
  position: relative;
  overflow: hidden;
  min-height: 452px;
  border: 1px solid rgba(168, 188, 179, .2);
  border-radius: 3px;
  padding: 30px 30px 29px;
  box-shadow: 0 18px 38px rgba(0,0,0,.14);
}
.home .plan-showcase-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #71848a, #3c514d 70%, transparent);
}
html:not([data-theme="light"]) .home .plan-showcase-card { background: #232a30; }
html:not([data-theme="light"]) .home .plan-showcase-card.featured {
  background: radial-gradient(circle at 95% 0%, rgba(76,128,111,.25), transparent 45%), linear-gradient(155deg, #283b39, #232b30 70%);
  box-shadow: 0 20px 42px rgba(0,0,0,.18);
}
.home .plan-showcase-card.featured::before { background: linear-gradient(90deg, #7cc4a4, #538c78 75%, transparent); }
.home .plan-showcase-card:last-child::before { background: linear-gradient(90deg, #9eb3a4, #638172 75%, transparent); }
.home .plan-feature-tag {
  position: absolute;
  right: 0;
  top: 0;
  padding: 8px 13px;
  background: #dbe9df;
  color: #21392f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
}
.home .plan-showcase-card .plan-name { color: #b3d5c5; }
.home .plan-showcase-card h3 { max-width: 330px; font-size: 23px; }
.home .plan-showcase-price { margin: 17px 0 10px; }
.home .plan-showcase-price strong { font-size: clamp(38px, 3.5vw, 49px); font-weight: 780; }
.home .plan-quality, .home .plan-storage { border-radius: 2px; }
.home .plan-storage { background: rgba(238,246,242,.07); border: 1px solid rgba(181,207,195,.08); }
.home .plan-showcase-card .plan-showcase-cta,
html:not([data-theme="light"]) .home .plan-showcase-card .plan-showcase-cta {
  border: 0;
  border-radius: 2px;
  background: #edf3ee;
  color: #1b3029;
  box-shadow: none;
  font-size: 14px;
}
.home .plan-showcase-card .plan-showcase-cta:hover,
html:not([data-theme="light"]) .home .plan-showcase-card .plan-showcase-cta:hover {
  border: 0;
  background: #d9e8da;
  color: #162b24;
  box-shadow: none;
}
html[data-theme="light"] .home .plan-showcase-card { background: #f1f5f2; box-shadow: 0 20px 40px rgba(20,45,35,.09); }
html[data-theme="light"] .home .plan-showcase-card.featured { background: linear-gradient(150deg, #e8f3ec, #f1f5f2 78%); }
html[data-theme="light"] .home .plan-showcase-card .plan-name { color: #2a6550; }
html[data-theme="light"] .home .plan-storage { background: #e4ebe6; border-color: #d4ded6; }
html[data-theme="light"] .home .plan-showcase-card .plan-showcase-cta { background: #263b32; color: #fff; }
html[data-theme="light"] .home .plan-showcase-card .plan-showcase-cta:hover { background: #355543; color: #fff; }

/* Demo frames are guides, not heavy outlined boxes. */
.home .dash-mock,
.home .mock-card,
.home .hd-frame,
.home .hd-lower-list li {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(151, 176, 167, .22);
}
html:not([data-theme="light"]) .home .dash-mock,
html:not([data-theme="light"]) .home .mock-card,
html:not([data-theme="light"]) .home .hd-frame,
html:not([data-theme="light"]) .home .hd-lower-list li { border-color: rgba(151, 176, 167, .22); }

/* Homepage controls use one quiet grey border and a lighter grey hover. */
html:not([data-theme="light"]) .home { --line: #59616b; }
html:not([data-theme="light"]) .home .btn,
html:not([data-theme="light"]) .home .price-cta,
html:not([data-theme="light"]) .home .price-stepper button,
html:not([data-theme="light"]) .home .nav-drawer-login,
html:not([data-theme="light"]) .home .nav-drawer-signup {
  border: 1px solid #606973;
  background: #343b44;
  color: #f2f4f6;
  box-shadow: none;
}
html:not([data-theme="light"]) .home .btn:hover,
html:not([data-theme="light"]) .home .price-cta:hover,
html:not([data-theme="light"]) .home .price-stepper button:hover,
html:not([data-theme="light"]) .home .nav-drawer-login:hover,
html:not([data-theme="light"]) .home .nav-drawer-signup:hover {
  border-color: #dce2e6;
  background: #dce2e6;
  color: #20262c;
  box-shadow: none;
  filter: none;
  transform: none;
}
/* Keep the secondary hero and Dashboard actions distinct from View plans/My account. */
html:not([data-theme="light"]) .home .hero-actions .btn:not(.btn-teal),
html:not([data-theme="light"]) .home .nav-end .ghost,
html:not([data-theme="light"]) .home .nav-drawer-login {
  border-color: #c9d0d6;
  background: #c9d0d6;
  color: #232a31;
  box-shadow: none;
}
html:not([data-theme="light"]) .home .hero-actions .btn:not(.btn-teal):hover,
html:not([data-theme="light"]) .home .nav-end .ghost:hover,
html:not([data-theme="light"]) .home .nav-drawer-login:hover {
  border-color: #f1f3f5;
  background: #f1f3f5;
  color: #1d2329;
  box-shadow: none;
}
html:not([data-theme="light"]) .home .nav-drawer-item:hover,
html:not([data-theme="light"]) .home .nav-drawer-item:active { background: #454d56; }

/* Card edges, pricing controls, and the two setup walkthroughs stay one pixel wide. */
html:not([data-theme="light"]) .home :is(.dash-mock, .mock-card, .card, .step, .status-panel, .lib-panel, .lib-item, .dest-tile, .price-card, .price-scale article, .hd-frame, .hd-lower-list li, .hd-stream-card, .plan-showcase-card, .home-marquee-pill) {
  border-width: 1px;
  border-style: solid;
  border-color: #525b65;
  box-shadow: none;
}
html:not([data-theme="light"]) .home .price-card-paid { border-color: #59636d; box-shadow: none; }
html:not([data-theme="light"]) .home .price-scale article:hover,
html:not([data-theme="light"]) .home .hd-lower-list li:hover { border-color: #8f99a3; box-shadow: none; }
html:not([data-theme="light"]) .home .home-pills { border: 1px solid #59616b; box-shadow: none; }
html:not([data-theme="light"]) .home .home-pills button { border: 0; border-right: 1px solid #59616b; box-shadow: none; }
html:not([data-theme="light"]) .home .home-pills button:last-child { border-right: 0; }
html:not([data-theme="light"]) .home .home-pills button.on,
html:not([data-theme="light"]) .home .hd-tab.on { background: #4a525c; color: #f2f4f6; box-shadow: none; }
html:not([data-theme="light"]) .home .plan-showcase-card::before { display: none; }
html:not([data-theme="light"]) .home .plan-showcase-card .plan-showcase-cta { border: 1px solid #dce2e6; }
html:not([data-theme="light"]) .home .wf-shell,
html:not([data-theme="light"]) .home .wf-stage.is-playing .wf-shell {
  --wf-line: #59636d;
  border: 1px solid #59636d;
  box-shadow: none;
}
html:not([data-theme="light"]) .home .wf-stage :is(.wf-choice.is-selected, .wf-route, .wf-channel, .wf-modes > div.is-selected, .wf-platform.is-selected, .wf-audio-row.is-selected, .wf-manual-audio.is-selected, .wf-picker-tabs span.is-selected, .wf-google-card) {
  border-width: 1px;
  border-color: #626c76;
  box-shadow: none;
}
html:not([data-theme="light"]) .home .wf-stage :is(.wf-input.is-focus, .wf-plus.is-open, .wf-picker-row.is-selected, .wf-audio-row.is-selected .wf-audio-radio) { border-color: #8d98a2; }

/* Pack cards: stream count on line one, total and per-stream price on line two. */
.home .price-scale .ps-price-line { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.home .price-scale .ps-price-line strong { display: inline; margin: 0; font-size: 14px; }
.home .price-scale .ps-price-line em { display: inline; font-size: 10px; }
@media (min-width: 641px) and (max-width: 1200px) {
  .home .price-scale { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.home .price-scale .ps-mobile-choice { display: none; }
@media (max-width: 640px) {
  .home .price-scale {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .home .price-scale::-webkit-scrollbar { display: none; }
  .home .price-scale article {
    flex: 0 0 116px;
    min-width: 116px;
    min-height: 48px;
    padding: 0;
    border-radius: 6px !important;
    scroll-snap-align: start;
    transform: none;
  }
  .home .price-scale article:hover { transform: none; }
  .home .price-scale .ps-label,
  .home .price-scale .ps-num,
  .home .price-scale .ps-price-line { display: none; }
  .home .price-scale .ps-mobile-choice {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #eef1f3;
    cursor: pointer;
    font: inherit;
    text-align: left;
    line-height: 1.15;
  }
  .home .price-scale .ps-choice-radio { width: 13px; height: 13px; flex: 0 0 13px; border: 1px solid #9aa6af; border-radius: 50%; }
  .home .price-scale article.is-selected .ps-choice-radio { border-color: #dce2e6; box-shadow: inset 0 0 0 3px #343b44; background: #dce2e6; }
  .home .price-scale .ps-choice-copy { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
  .home .price-scale .ps-choice-count { color: #b7c1c9; font-size: 9px; white-space: nowrap; }
  .home .price-scale .ps-choice-total { font-size: 12px; font-weight: 650; white-space: nowrap; }
  html:not([data-theme="light"]) .home .price-scale article.is-selected { background: #343b44; border-color: #c9d0d6; }
  .home .price-scale article.is-selected .ps-choice-count { color: #f2f4f6; }
  .home .price-scale .ps-mobile-choice:focus-visible { outline: 2px solid #c9d0d6; outline-offset: -3px; }
  html[data-theme="light"] .home .price-scale .ps-mobile-choice { color: #232a31; }
  html[data-theme="light"] .home .price-scale .ps-choice-count { color: #52626b; }
  html[data-theme="light"] .home .price-scale article.is-selected { background: #dce2e6; border-color: #64717a; }
  html[data-theme="light"] .home .price-scale article.is-selected .ps-choice-radio { background: #34434b; border-color: #34434b; box-shadow: inset 0 0 0 3px #dce2e6; }
}

/* Keep the homepage sections and setup introductions close together. */
.home .hero { padding-bottom: 16px; }
.home .section:not(.home-marquee-sec) { padding-top: 28px; padding-bottom: 28px; }
.home .home-marquee-sec { padding-top: 18px; padding-bottom: 18px; }
.home #pricing { padding-top: 22px; }
.home .hd-workflow { gap: 24px; margin-top: 24px; }
.home .hd-panel > h2 { min-height: 0; margin-bottom: 6px; }
.home .hd-panel > .sub { min-height: 0; margin: 0; }
.home .hd-panel .hd-stage { margin-top: 12px; }
.home .workflow-summary { margin-top: 14px; }
@media (max-width: 980px) {
  .home .hd-workflow { gap: 24px; margin-top: 20px; }
  html:not([data-theme="light"]) .home .nav-end #navStart {
    border-color: #c9d0d6;
    background: #c9d0d6;
    color: #232a31;
  }
  html:not([data-theme="light"]) .home .nav-end #navStart:hover,
  html:not([data-theme="light"]) .home .nav-end #navStart:focus-visible {
    border-color: #f1f3f5;
    background: #f1f3f5;
    color: #1d2329;
  }
}
@media (max-width: 640px) {
  .home .hero { padding-top: 24px; padding-bottom: 16px; }
  .home .section:not(.home-marquee-sec) { padding-top: 20px; padding-bottom: 20px; }
  .home .home-marquee-sec { padding-top: 14px; padding-bottom: 14px; }
  .home #pricing { padding-top: 20px; }
  .home .hd-workflow { gap: 22px; margin-top: 18px; }
  .home .hd-panel > h2 { margin-bottom: 4px; }
  .home .hd-panel .hd-stage { margin-top: 10px; }
}

/* Bring the plans heading closer to the long-running streams preview. */
.home #reliability { padding-bottom: 12px; }
.home #support { padding-top: 8px; padding-bottom: 16px; }
.home #support .plan-showcase { padding-top: 20px; }
.home #faq { padding-top: 20px; }
@media (max-width: 640px) {
  .home #reliability { padding-bottom: 10px; }
  .home #support { padding-top: 10px; padding-bottom: 12px; }
  .home #faq { padding-top: 16px; }
}

/* Keep plan inquiries readable without the former bright white fill. */
html:not([data-theme="light"]) .home .plan-showcase-card .plan-showcase-cta {
  border: 1px solid #c4ccd1;
  background: #c4ccd1;
  color: #232a31;
  box-shadow: none;
}
html:not([data-theme="light"]) .home .plan-showcase-card .plan-showcase-cta:hover,
html:not([data-theme="light"]) .home .plan-showcase-card .plan-showcase-cta:focus-visible {
  border-color: #dce2e6;
  background: #dce2e6;
  color: #20262c;
  box-shadow: none;
}

/* Desktop cloud story uses open space and small animated accents, without a card outline. */
.home .feature-cloud {
  width: 100%;
  max-width: none;
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: none;
}
.home .feature-cloud-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a6d4ce;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.home .feature-cloud-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ecfc5;
  box-shadow: 0 0 0 3px rgba(142,207,197,.15);
  animation: feature-cloud-pulse 2.8s ease-in-out infinite;
}
@keyframes feature-cloud-pulse {
  50% { box-shadow: 0 0 0 7px rgba(142,207,197,0); }
}
.home .feature-cloud ol { margin: 15px 0 0; padding: 0; list-style: none; }
.home .feature-cloud li {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr);
  gap: 15px;
  padding: 10px 0 12px;
  border: 0;
}
.home .feature-cloud li > span,
.home .feature-list-mark {
  width: 22px;
  height: 2px;
  margin-top: 9px;
  border-radius: 2px;
  background: #8ecfc5;
  box-shadow: none;
  transform-origin: left center;
  animation: feature-dash-breathe 3s ease-in-out infinite;
}
.home .feature-cloud li:nth-child(2) > span,
.home .feature-list li:nth-child(2n) .feature-list-mark { animation-delay: .5s; }
.home .feature-cloud li:nth-child(3) > span,
.home .feature-list li:nth-child(3n) .feature-list-mark { animation-delay: 1s; }
@keyframes feature-dash-breathe {
  0%, 100% { opacity: .48; transform: scaleX(.62); }
  50% { opacity: 1; transform: scaleX(1); }
}
.home .feature-cloud strong { display: block; color: var(--text); font-size: 15px; line-height: 1.3; }
.home .feature-cloud p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
html[data-theme="light"] .home .feature-cloud-label { color: #266f66; }
html[data-theme="light"] .home .feature-cloud-dot { background: #328f83; box-shadow: 0 0 0 3px rgba(50,143,131,.14); }
html[data-theme="light"] .home .feature-cloud li > span,
html[data-theme="light"] .home .feature-list-mark { background: #328f83; }
@media (min-width: 861px) {
  .home .feature-list { border-top: 0; }
  .home .feature-list li { grid-template-columns: 24px minmax(0,1fr); gap: 15px; border-bottom: 0; }
  .home .feature-list li:hover .feature-list-mark { box-shadow: none; }
}
@media (max-width: 860px) {
  .home .feature-cloud,
  .home .feature-list .feature-extra { display: none; }
  .home .feature-list-mark { width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; animation: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 18%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .home .feature-cloud-dot,
  .home .feature-cloud li > span,
  .home .feature-list-mark { animation: none; transform: none; }
}

/* Pricing actions have the same grey-white resting state as View pricing. */
html:not([data-theme="light"]) .home .price-card .price-cta {
  border: 1px solid #c9d0d6;
  background: #c9d0d6;
  color: #232a31;
  font-weight: 500;
  text-shadow: none;
  box-shadow: none;
}
html:not([data-theme="light"]) .home .price-card .price-cta:hover,
html:not([data-theme="light"]) .home .price-card .price-cta:focus-visible {
  border-color: #f1f3f5;
  background: #f1f3f5;
  color: #1d2329;
  text-shadow: none;
  box-shadow: none;
}


/* home-mobile.css */
/* Phone layout for the Smart and Manual setup walkthroughs. */
@media (max-width: 480px) {
  .hd-workflow { gap: 38px; }
  .hd-panel > h2 { font-size: 1.55rem; line-height: 1.15; }
  .hd-panel > .sub { font-size: 14px; line-height: 1.5; }
  .hd-stage.wf-stage, .wf-shell,
  #hdMediaDemo.wf-stage, #hdMediaDemo .wf-shell {
    height: 630px;
    min-height: 630px;
  }
  .wf-shell { border-radius: 12px; }
  .wf-appbar { flex-basis: 48px; padding-inline: 14px; }
  .wf-logo { width: 27px; height: 27px; }
  .wf-brand b { font-size: 11px; letter-spacing: .04em; }
  .wf-nav { display: none; }
  .wf-scene { padding: 15px; }
  .wf-page-head, .wf-dashboard-head { margin-bottom: 16px; align-items: center; }
  .wf-page-head strong, .wf-dashboard-head b { font-size: 18px; }
  .wf-page-head small, .wf-dashboard-head small { font-size: 11px; }
  .wf-button { min-height: 38px; padding-inline: 11px; font-size: 11px; }
  .wf-dashboard-head .wf-button { flex: 0 0 auto; }
  .wf-stream-picture, #hdMediaDemo .wf-stream-picture,
  #hdDestDemo .wf-stream-picture { height: 175px; }
  .wf-stream-copy { padding: 12px; }
  .wf-stream-title strong { font-size: 12px; }
  .wf-stream-title small { font-size: 10px; }
  .wf-stream-actions .wf-button { min-height: 39px; }
  .wf-starting-media { right: 15px; bottom: 15px; left: 15px; padding: 12px; gap: 8px; border-radius: 8px; }
  .wf-starting-media > strong { font-size: 11px; }
  .wf-starting-media > div { min-height: 36px; font-size: 10px; }
  .wf-starting-media small { font-size: 9px; }
  .wf-starting-media img { width: 55px; }
  .wf-platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .wf-platform { min-height: 64px; gap: 5px; padding: 7px 4px; border-radius: 7px; }
  .wf-platform .wf-social, .wf-platform .wf-rtmp-icon { width: 22px; height: 22px; }
  .wf-platform strong { font-size: 10px; }
  .wf-platform-label, .wf-route small { font-size: 11px; }
  .wf-route { padding: 14px 30px 14px 12px; border-radius: 7px; }
  .wf-route strong { font-size: 12px; }
  .wf-channel { min-height: 72px; border-radius: 7px; }
  .wf-channel strong { font-size: 13px; }
  .wf-channel small { font-size: 11px; }
  .wf-smart-step-kicker { font-size: 10px; }
  .wf-smart-info, .wf-smart-setting, .wf-smart-key,
  .wf-smart-schedule, .wf-google-card, .wf-smart-thumbnail { border-radius: 7px; }
  .wf-google-card strong, .wf-smart-info strong, .wf-smart-setting strong,
  .wf-smart-schedule strong, .wf-smart-thumbnail strong { font-size: 12px; }
  .wf-google-card small, .wf-smart-info small, .wf-smart-setting small,
  .wf-smart-schedule small, .wf-smart-thumbnail small { font-size: 10px; }
  .wf-field > span, .wf-manual-section-head small { font-size: 10px; }
  .wf-input, .wf-select { height: 38px; font-size: 11px; }
  .wf-media-main, .wf-media-side, .wf-auto-layout .wf-media-main,
  .wf-auto-side .wf-media-side { padding: 8px; border-radius: 7px; }
  .wf-modes > div { min-height: 37px; border-radius: 6px; }
  .wf-modes strong { font-size: 10px; }
  .wf-picker { top: 8%; height: 440px; border-radius: 9px; }
  .wf-picker-row strong, .wf-picker-row small { font-size: 10px; }
  .wf-picker-tabs strong { font-size: 9px; }
  .wf-manual-heading { margin-bottom: 12px; }
  .wf-manual-heading strong { font-size: 18px; }
  .wf-manual-heading small { font-size: 11px; }
  .wf-manual-box { padding: 12px; border-radius: 8px; }
  .wf-manual-section-head strong { font-size: 12px; }
  .wf-manual-platform { min-height: 47px; border-radius: 6px; }
  .wf-manual-platform strong { font-size: 11px; }
  .wf-manual-platform small { font-size: 10px; }
  .wf-manual-box .wf-input { height: 38px; font-size: 10px; }
  .wf-manual-box p { font-size: 10px; line-height: 1.45; }
  .wf-manual-source .wf-modes > div { min-height: 40px; }
  .wf-manual-source .wf-modes strong { font-size: 10px; }
  .wf-manual-video-label, .wf-manual-video-label small { font-size: 10px; }
  .wf-manual-audio { min-height: 42px; border-radius: 6px; }
  .wf-manual-library strong, .wf-manual-audio strong { font-size: 10px; }
  .wf-manual-actions .wf-button { min-height: 38px; font-size: 11px; }
  .wf-connect-line { flex-wrap: wrap; gap: 7px; }
  .wf-connect-status { white-space: normal; }
  .wf-activity { padding: 10px; border-radius: 7px; }
  .wf-activity-head strong { font-size: 11px; }
  .wf-activity-state, .wf-activity-row { font-size: 10px; }
}
@media (max-width: 480px) {
  .wf-smart-settings strong { font-size: 11px; }
  .wf-smart-settings small { font-size: 10px; }
  .wf-smart-visibility > * { font-size: 10px; }
  .wf-smart-schedule .wf-button { font-size: 10px; }
  .wf-audio-bar strong, .wf-section-label { font-size: 11px; }
  .wf-audio-bar small, .wf-manual-actions > span:first-child { font-size: 10px; }
}

/* Mobile-only, one card at a time for plans and setup examples. */
.plan-showcase-controls { display: flex; align-items: center; }
.mobile-carousel-nav { display: none; }
@media (max-width: 640px) {
  .home .plan-showcase-heading { gap: 12px; margin-bottom: 12px; }
  .home .plan-showcase-controls { width: 100%; justify-content: space-between; gap: 6px; }
  .home .plan-cycle-switch { gap: 1px; padding: 3px; }
  .home .plan-cycle-switch button { padding: 7px 8px; font-size: 10px; }
  .home .plan-cycle-switch button span { margin-left: 2px; font-size: 9px; }
  .home .mobile-carousel-nav { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; }
  .home .mobile-carousel-nav button {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 33px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #dce2e6;
    cursor: pointer;
  }
  .home .mobile-carousel-nav button svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .home .mobile-carousel-nav button:not(:disabled):hover { color: #fff; }
  .home .mobile-carousel-nav button:disabled { opacity: .38; cursor: default; }
  .home .mobile-carousel-nav button:focus-visible { outline: 2px solid #dce2e6; outline-offset: 2px; }
  .home #planCarousel,
  .home #workflowCarousel {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .home #planCarousel::-webkit-scrollbar,
  .home #workflowCarousel::-webkit-scrollbar { display: none; }
  .home #planCarousel .plan-showcase-card {
    flex: 0 0 100%;
    min-width: 100%;
    min-height: 0;
    padding: 20px;
    scroll-snap-align: start;
  }
  .home #planCarousel .plan-showcase-card.featured .plan-feature-tag {
    position: static;
    align-self: flex-start;
    margin-bottom: 13px;
    padding: 0;
    background: transparent;
    color: #b3d5c5;
    font-size: 9px;
  }
  .home .workflow-carousel-wrap { position: relative; margin-top: 24px; }
  .home #workflowCarousel { margin-top: 0; }
  .home .workflow-carousel-nav { position: absolute; z-index: 2; top: 0; right: 0; justify-content: flex-end; margin: 0; }
  .home #workflowCarousel .hd-panel > h2 { padding-right: 72px; }
  .home #workflowCarousel .hd-panel {
    flex: 0 0 100%;
    min-width: 100%;
    height: auto;
    scroll-snap-align: start;
  }
  html[data-theme="light"] .home .mobile-carousel-nav button { color: #344951; }
  html[data-theme="light"] .home .mobile-carousel-nav button:not(:disabled):hover { color: #172a2f; }
  html[data-theme="light"] .home #planCarousel .plan-showcase-card.featured .plan-feature-tag { color: #2a6550; }
}
@media (max-width: 360px) {
  .home #workflowCarousel .hd-panel > h2 { font-size: 20px; }
}


/* cookie-consent.css */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 10, 0.72);
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 80;
}
.cookie-overlay[hidden],
.cookie-banner[hidden] {
  display: none !important;
  pointer-events: none !important;
}
.cookie-modal {
  position: relative;
  width: min(500px, 100%);
  background: var(--card, #171f25);
  color: var(--text, #e8eef0);
  border: 1px solid var(--line, #2a353c);
  border-radius: 12px;
  box-shadow: var(--shadow, 0 12px 40px rgba(0, 0, 0, 0.28));
  padding: 22px 22px 18px;
}
.cookie-modal h2 {
  margin: 0 36px 8px 0;
  font-size: 18px;
  font-weight: 600;
}
.cookie-lead {
  margin: 0 0 16px;
  color: var(--muted, #8b9aa3);
  font-size: 13px;
  line-height: 1.45;
}
.cookie-list { display: grid; gap: 10px; }
.cookie-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line, #2a353c);
}
.cookie-row:first-child { border-top: 0; padding-top: 0; }
.cookie-row-text { min-width: 0; flex: 1; }
.cookie-row-text strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 4px;
}
.cookie-row-text p {
  margin: 0;
  color: var(--muted, #8b9aa3);
  font-size: 12px;
  line-height: 1.4;
}
.cookie-switch {
  width: 40px;
  height: 22px;
  flex: 0 0 40px;
  margin-top: 2px;
  border: 0;
  border-radius: 999px;
  background: #4a555c;
  padding: 2px;
  cursor: pointer;
}
.cookie-switch.on { background: var(--teal, #3d9b8f); }
.cookie-switch.locked { cursor: default; opacity: 0.95; }
.cookie-knob {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  transform: translateX(0);
  transition: transform 0.16s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}
.cookie-switch.on .cookie-knob { transform: translateX(18px); }
.cookie-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted, #8b9aa3);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cookie-x:hover { background: var(--hover, #182228); color: var(--text, #e8eef0); }
.cookie-x svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}
.cookie-btn {
  height: 34px;
  border: 1px solid var(--line, #2a353c);
  border-radius: 7px;
  background: transparent;
  color: var(--text, #e8eef0);
  padding: 0 12px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.cookie-btn:hover { border-color: var(--teal, #3d9b8f); }
.cookie-btn-teal {
  background: var(--teal, #3d9b8f);
  border-color: var(--teal, #3d9b8f);
  color: #06201c;
}
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 70;
  max-width: 560px;
  margin: 0 auto;
  background: color-mix(in srgb, var(--card, #171f25) 92%, transparent);
  color: var(--text, #e8eef0);
  border: 1px solid var(--line, #2a353c);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px 16px 14px;
}
.cookie-banner-inner { display: grid; gap: 12px; }
.cookie-banner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted, #8b9aa3);
}
.cookie-banner-link {
  color: var(--teal, #3d9b8f);
  text-decoration: none;
  font-weight: 650;
}
.cookie-banner-link:hover { text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
button.cookie-foot-link {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  margin: 6px 0;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
button.cookie-foot-link:hover { color: var(--teal, #3d9b8f); }
@media (max-width: 520px) {
  .cookie-actions,
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-actions .cookie-btn,
  .cookie-banner-actions .cookie-btn { flex: 1 1 calc(50% - 8px); }
}

/* FIX568: bounded home content with breathing room on wide screens. */
.wrap{width:calc(100% - clamp(32px,5vw,80px))!important;max-width:1400px!important;margin-left:auto!important;margin-right:auto!important}
@media(max-width:640px){.wrap{width:calc(100% - 28px)!important}}

/* FIX569: keep the animated feature strip inside the same home content bounds. */
.home .home-marquee{width:calc(100% - clamp(32px,5vw,80px))!important;max-width:1400px!important;margin-inline:auto!important}
.home #planCarousel .plan-badges{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex:0 0 auto}
.home #planCarousel .plan-showcase-card.featured .plan-feature-tag{position:static!important;align-self:auto!important;margin:0!important;padding:5px 7px!important;font-size:9px!important;line-height:1.2;background:#dbe9df;color:#21392f;letter-spacing:.05em;white-space:nowrap}
@media(max-width:640px){.home .home-marquee{width:calc(100% - 28px)!important}}
