/*
Theme Name: StreamCentral.io
Theme URI: https://streamcentral.io/
Author: StreamCentral
Description: Custom classic WordPress theme for the StreamCentral 2.0 website, including Live, Clips, Relay, Audio, shared navigation/footer, and a Contact Form 7-powered demo modal.
Version: 2.0.0
Text Domain: streamcentral
*/
/*
 * StreamCentral V3 — Tidied production stylesheet
 * Source order and cascade preserved; only formatting/comments normalized.
 */

/* ==========================================================
   STREAMCENTRAL V3 — SHARED DESIGN SYSTEM Pages: body.page-home body.page-live body.page-audio body.page-clips body.page-relay
   ========================================================== */

:root {
  --bg: #071019;
  --bg-2: #0a1420;
  --panel: #0d1824;
  --panel-2: #101f2d;
  --line: rgba(255,255,255,.10);
  --line-soft: rgba(255,255,255,.06);
  --text: #f5f8fb;
  --muted: #9eb0bf;
  --cyan: #35d6ff;
  --blue: #2f6bff;
  --violet: #5d8dff;
  --green: #35d6ff;
  --orange: #ff8a3d;
  --red: #ff5d72;
  --shadow: 0 28px 80px rgba(0,0,0,.42);
  --radius: 18px;
  --radius-lg: 24px;
  --max: 1180px;
  --accent: var(--cyan);
  --accent-2: var(--blue);
  --accent-soft: rgba(53,214,255,.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: radial-gradient(circle at 8% -5%,rgba(47,107,255,.15),transparent 30%),
    radial-gradient(circle at 92% 5%,rgba(53,214,255,.10),transparent 25%),
    var(--bg);
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.page-live, body.page-audio, body.page-clips, body.page-relay {
  --accent: #35d6ff;
  --accent-2: #2f6bff;
  --accent-soft: rgba(53,214,255,.10);
}

body::before {
  content: "";
  position: fixed;
  width: 440px;
  height: 440px;
  right: -130px;
  top: 24%;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle,color-mix(in srgb,var(--accent) 15%, transparent),transparent 66%);
  filter: blur(10px);
  animation: ambientFloat 12s ease-in-out infinite alternate;
}

@keyframes ambientFloat {
  from { transform: translate3d(0,-18px,0) scale(.96); opacity: .45; }

  to { transform: translate3d(-46px,42px,0) scale(1.10); opacity: .9; }
}

a { color: inherit; text-decoration: none; }

img,video { display: block; max-width: 100%; }

button,input { font: inherit; }

.container { width: min(var(--max),calc(100% - 48px)); margin-inline: auto; }

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line-soft);
  position: relative;
}

.section.alt { background: linear-gradient(180deg,rgba(255,255,255,.014),rgba(255,255,255,0)); }

.section.tight { padding: 66px 0; }

.eyebrow,.kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

h1,h2,h3,p { margin-top: 0; }

h1 {
  font-size: 60px;
  line-height: 1.02;
  letter-spacing: -3px;
  margin-bottom: 22px;
}

h2 {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -1.8px;
  margin: 10px 0 15px;
}

h3 {
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.7px;
}

.grad {
  background: linear-gradient(90deg,var(--accent),#80a9ff 50%,var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: #b8c8d5;
  font-size: 20px;
  line-height: 1.65;
  max-width: 730px;
}

.sub {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 820px;
}

.muted { color: var(--muted); }

.small { font-size: 13px; }

.divider {
  height: 1px;
  background: var(--line-soft);
  margin: 28px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7,16,25,.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.065);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.5px;
  white-space: nowrap;
}

.brand span { color: var(--accent); }

.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #b9c8d4;
  font-size: 14px;
}

.navlinks a { position: relative; transition: color .24s ease,transform .24s ease; }

.navlinks a:hover,.navlinks a.active { color: #fff; transform: translateY(-1px); }

.navlinks a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,var(--accent),var(--accent-2));
}

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  color: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: white;
  background: rgba(255,255,255,.015);
  font-size: 14px;
  font-weight: 800;
  transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease,background .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb,var(--accent) 45%, transparent);
  background: rgba(255,255,255,.03);
}

.btn.primary {
  border: 0;
  color: #041018;
  background: linear-gradient(135deg,var(--accent),var(--accent-2));
  box-shadow: 0 12px 34px color-mix(in srgb,var(--accent-2) 20%, transparent);
}

.btn.primary:hover { box-shadow: 0 18px 42px color-mix(in srgb,var(--accent-2) 30%, transparent); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.chips {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.chip {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.024);
  color: #a7b8c6;
  font-size: 12px;
  transition: transform .24s ease,border-color .24s ease,background .24s ease;
}

.chip:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb,var(--accent) 32%, transparent);
  background: var(--accent-soft);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 36px;
}

.card {
  padding: 24px;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg,rgba(16,31,44,.95),rgba(9,22,32,.95));
  transition: transform .35s cubic-bezier(.2,.8,.2,1),border-color .35s ease,box-shadow .35s ease;
}

.card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb,var(--accent) 34%, transparent);
  box-shadow: 0 22px 54px rgba(0,0,0,.28);
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb,var(--accent) 19%, transparent);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 18px;
  transition: transform .35s ease,box-shadow .35s ease,background .35s ease;
}

.card:hover .icon {
  transform: translateY(-2px) scale(1.04);
  background: color-mix(in srgb,var(--accent) 14%, transparent);
  box-shadow: 0 0 28px color-mix(in srgb,var(--accent) 12%, transparent);
}

.card h3 { font-size: 22px; margin-bottom: 9px; }

.card p { color: var(--muted); line-height: 1.55; }

.list {
  display: grid;
  gap: 8px;
  color: #c6d3dd;
  font-size: 13px;
}

.list div::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
  margin-right: 8px;
}

.screen, .product-stage {
  --parallax-y: 0px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0px;
  background: rgba(255,255,255,.035);
  box-shadow: var(--shadow);
  transform: translate3d(0,var(--parallax-y),0);
  will-change: transform;
  transition: border-color .35s ease,box-shadow .35s ease;
  overflow: hidden;
}

.screen:hover,.product-stage:hover { border-color: color-mix(in srgb,var(--accent) 34%, transparent); box-shadow: 0 36px 92px rgba(0,0,0,.42); }

.product-stage { padding: 14px; border-radius: 24px; }

.product-stage::before {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  right: -75px;
  top: -85px;
  border-radius: 50%;
  background: radial-gradient(circle,color-mix(in srgb,var(--accent) 16%, transparent),transparent 70%);
  filter: blur(14px);
}

.placeholder {
  height: 100%;
  min-height: 260px;
/*  border: 1px dashed color-mix(in srgb,var(--accent) 50%, transparent);
*/  border-radius: 13px;
  background: linear-gradient(135deg,color-mix(in srgb,var(--accent) 6%, transparent),rgba(47,107,255,.035));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #87a2b6;
  font-size: 12px;
  position: relative;
  overflow: hidden;
}

.placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,transparent 0 42%,rgba(255,255,255,.035) 50%,transparent 58% 100%);
  transform: translateX(-140%);
  transition: transform .9s ease;
}

.screen:hover .placeholder::after, .product-stage:hover .placeholder::after { transform: translateX(140%); }

.placeholder strong {
  color: #e0edf6;
  font-size: 14px;
  margin-bottom: 6px;
}

.product {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

.product.reverse { grid-template-columns: 1.1fr .9fr; }

.product h3 { font-size: 36px; margin: 8px 0 15px; }

.product p { color: var(--muted); line-height: 1.7; }

.screen .placeholder { height: 380px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
  margin-top: 34px;
}

.stat {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.024);
  transition: transform .3s ease,border-color .3s ease;
}

.stat:hover { transform: translateY(-4px); border-color: color-mix(in srgb,var(--accent) 28%, transparent); }

.stat b {
  display: block;
  font-size: 27px;
  margin-bottom: 4px;
}

.stat span { color: var(--muted); font-size: 13px; }

.workflow {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 10px;
  margin-top: 34px;
}

.step {
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.024);
  transition: transform .3s ease,border-color .3s ease,background .3s ease;
}

.step:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb,var(--accent) 30%, transparent);
  background: var(--accent-soft);
}

.step em {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
  margin-bottom: 13px;
}

.step b {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

.step span { font-size: 12px; color: var(--muted); }

.feature-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
  margin-top: 28px;
}

.mini-feature {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.024);
  transition: transform .3s ease,border-color .3s ease;
}

.mini-feature:hover { transform: translateY(-4px); border-color: color-mix(in srgb,var(--accent) 28%, transparent); }

.mini-feature i {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 12px;
}

.mini-feature b { display: block; margin-bottom: 6px; }

.mini-feature span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.cta {
  padding: 52px;
  border: 1px solid color-mix(in srgb,var(--accent) 26%, transparent);
  border-radius: 22px;
  background: linear-gradient(135deg,color-mix(in srgb,var(--accent-2) 17%, transparent),color-mix(in srgb,var(--accent) 8%, transparent),rgba(47,107,255,.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -110px;
  bottom: -200px;
  border-radius: 50%;
  background: radial-gradient(circle,color-mix(in srgb,var(--accent) 18%, transparent),transparent 66%);
  animation: ctaPulse 7s ease-in-out infinite alternate;
}

@keyframes ctaPulse {
  from { transform: translateY(18px) scale(.95); opacity: .4; }

  to { transform: translateY(-12px) scale(1.08); opacity: .75; }
}

.cta h2 { font-size: 38px; margin: 8px 0; }

/* ==========================================================
   Footer
   ========================================================== */

.footer-wrap { border-top: 1px solid var(--line-soft); background: rgba(4,11,17,.54); }

.footer {
  padding: 48px 0 58px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
  color: #7f94a5;
  font-size: 13px;
}

.footer-brand p { max-width: 310px; line-height: 1.6; }

.footer h4 {
  color: #dce7ef;
  margin: 0 0 13px;
  font-size: 13px;
}

.footer-links { display: grid; gap: 9px; }

.footer-links a { transition: color .2s ease,transform .2s ease; }

.footer-links a:hover { color: #fff; transform: translateX(2px); }

.footer-bottom {
  grid-column: 1/-1;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translate3d(0,28px,0);
  transition: opacity .75s cubic-bezier(.2,.8,.2,1),
    transform .75s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--delay,0ms);
}

.reveal.from-left { transform: translate3d(-36px,12px,0); }

.reveal.from-right { transform: translate3d(36px,12px,0); }

.reveal.scale-in { transform: scale(.97) translateY(18px); }

.reveal.is-visible { opacity: 1; transform: translate3d(0,0,0) scale(1); }

.cards .reveal:nth-child(2), .feature-row .reveal:nth-child(2) { --delay: 70ms; }

.cards .reveal:nth-child(3), .feature-row .reveal:nth-child(3) { --delay: 140ms; }

.cards .reveal:nth-child(4), .feature-row .reveal:nth-child(4) { --delay: 210ms; }

.cards .reveal:nth-child(5) { --delay: 80ms; }

.cards .reveal:nth-child(6) { --delay: 150ms; }

/* ==========================================================
   HOME — clean multi-product overview
   ========================================================== */

.page-home .hero {
  padding: 88px 0 72px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 55px;
  align-items: center;
  min-height: 650px;
}

.hero-stage {
  position: relative;
  min-height: 520px;
  perspective: 1200px;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 10% 4% 8% 4%;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(53,214,255,.11),transparent 62%);
  filter: blur(28px);
}

.ui {
  --parallax-y: 0px;
  position: absolute;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg,#102330,#091722);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translate3d(0,var(--parallax-y),0);
  will-change: transform;
  transition: border-color .35s ease,box-shadow .35s ease;
}

.ui:hover { border-color: rgba(53,214,255,.32); box-shadow: 0 34px 95px rgba(0,0,0,.52); }

.bar {
  height: 36px;
  border-bottom: 1px solid var(--line);
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #536979;
}

.inside { padding: 16px; height: calc(100% - 36px); }

.ui.live {
  width: 410px;
  height: 270px;
  right: 0;
  top: 0;
  transform: translate3d(0,var(--parallax-y),0) rotate(1.5deg);
}

.ui.ai {
  width: 430px;
  height: 285px;
  left: 0;
  top: 170px;
  z-index: 2;
  transform: translate3d(0,var(--parallax-y),0) rotate(-2deg);
}

.ui.wave {
  width: 350px;
  height: 205px;
  right: 18px;
  bottom: 0;
  z-index: 3;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 12px;
  margin-top: 28px;
}

.logo-pill {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.024);
  text-align: center;
  color: #9fb1c1;
  font-weight: 800;
  transition: transform .28s ease,border-color .28s ease,color .28s ease;
}

.logo-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(53,214,255,.28);
  color: #fff;
}

.product-family {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-top: 34px;
}

.family-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg,rgba(16,31,44,.92),rgba(9,22,32,.92));
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease,border-color .35s ease,box-shadow .35s ease;
}

.family-card:hover {
  transform: translateY(-7px);
  border-color: rgba(53,214,255,.28);
  box-shadow: 0 22px 54px rgba(0,0,0,.28);
}

.family-card .icon { margin-bottom: 20px; }

.family-card p { color: var(--muted); line-height: 1.6; }

.family-card .btn { margin-top: auto; align-self: flex-start; }

.relay-home {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.relay-map {
  display: grid;
  grid-template-columns: 1fr 88px 1.3fr;
  gap: 18px;
  align-items: center;
  padding: 28px;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg,rgba(16,31,44,.75),rgba(9,22,32,.75));
  box-shadow: var(--shadow);
}

.relay-node {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  text-align: center;
}

.relay-node strong { display: block; margin-bottom: 5px; }

.relay-core {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,rgba(53,214,255,.18),rgba(47,107,255,.14));
  border: 1px solid rgba(53,214,255,.28);
  color: #35d6ff;
  font-size: 24px;
  box-shadow: 0 0 45px rgba(53,214,255,.08);
}

.output-stack { display: grid; gap: 10px; }

/* ==========================================================
   LIVE — cinematic / broadcast-first
   ========================================================== */

.live-hero { padding: 82px 0 58px; }

.live-hero-copy {
  display: grid;
  grid-template-columns: 1.05fr .75fr;
  gap: 60px;
  align-items: end;
}

.live-hero-media {
  margin-top: 46px;
  min-height: 520px;
  border: 1px solid rgba(53,214,255,.18);
  border-radius: 26px;
  background: linear-gradient(180deg,rgba(53,214,255,.035),rgba(47,107,255,.025)),
    rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.live-hero-media::after {
  content: "LIVE";
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,45,75,.12);
  color: #ff7185;
  border: 1px solid rgba(255,93,114,.28);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}

.live-hero-media .placeholder {
  min-height: 520px;
  border: 0;
  border-radius: 25px;
}

.live-floating {
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 280px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7,16,25,.82);
  backdrop-filter: blur(12px);
}

.live-floating .meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
  margin-top: 9px;
}

.live-floating .meter span {
  display: block;
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg,var(--cyan),var(--green));
}

.live-feature-band {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
  margin-top: 28px;
}

.live-feature-band .mini-feature { min-height: 150px; }

/* ==========================================================
   AUDIO / WAVE — data console / timeline-first
   ========================================================== */

.audio-hero {
  padding: 84px 0 66px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 50px;
  align-items: center;
}

.audio-console {
  --parallax-y: 0px;
  position: relative;
  padding: 18px;
  border: 1px solid rgba(53,214,255,.20);
  border-radius: 22px;
  background: linear-gradient(180deg,rgba(10,29,31,.92),rgba(7,20,25,.92));
  box-shadow: var(--shadow);
  transform: translate3d(0,var(--parallax-y),0);
}

.waveform {
  height: 170px;
  border-radius: 14px;
  background: repeating-linear-gradient(90deg,transparent 0 24px,rgba(255,255,255,.045) 25px),
    repeating-linear-gradient(0deg,transparent 0 32px,rgba(255,255,255,.04) 33px),
    linear-gradient(180deg,rgba(53,214,255,.03),rgba(47,107,255,.02));
  position: relative;
  overflow: hidden;
}

.waveform::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg,transparent,var(--green),#2f6bff,var(--green),transparent);
  box-shadow: 0 -14px 0 -1px rgba(53,214,255,.55),
    0 14px 0 -1px rgba(47,107,255,.45),
    0 -28px 0 -1px rgba(53,214,255,.25),
    0 28px 0 -1px rgba(47,107,255,.22);
  filter: drop-shadow(0 0 8px rgba(53,214,255,.35));
}

.audio-metrics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 12px;
}

.audio-metric {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.022);
}

.audio-metric b { display: block; font-size: 18px; }

.audio-metric span { font-size: 11px; color: var(--muted); }

.timeline-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.022);
  font-size: 13px;
}

.timeline-row .time { color: var(--green); font-weight: 800; }

.timeline-row .tag { color: var(--muted); font-size: 11px; }

.audio-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: stretch;
}

.audio-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.022);
}

/* ==========================================================
   CLIPS — editor workspace / creative-first
   ========================================================== */

.clips-hero {
  padding: 82px 0 72px;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 52px;
  align-items: center;
}

.editor-shell {
  --parallax-y: 0px;
  border: 1px solid rgba(53,214,255,.22);
  border-radius: 22px;
  background: linear-gradient(180deg,rgba(22,18,40,.92),rgba(11,18,31,.94));
  box-shadow: var(--shadow);
  transform: translate3d(0,var(--parallax-y),0);
  overflow: hidden;
}

.editor-top {
  height: 44px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: #aebbd0;
  font-size: 12px;
}

.editor-body {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 12px;
  padding: 12px;
}

.editor-preview {
  min-height: 330px;
  border: 1px dashed rgba(53,214,255,.38);
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #90a0b5;
  font-size: 12px;
  background: linear-gradient(135deg,rgba(53,214,255,.05),rgba(47,107,255,.04));
}

.editor-side { display: grid; gap: 10px; }

.editor-box {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.022);
}

.editor-box b {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}

.editor-box span { font-size: 11px; color: var(--muted); }

.topic-strip {
  display: flex;
  gap: 7px;
  padding: 0 12px 12px;
}

.topic-strip span {
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg,var(--violet),var(--blue));
}

.topic-strip span:nth-child(1) { width: 28%; }

.topic-strip span:nth-child(2) { width: 20%; }

.topic-strip span:nth-child(3) { width: 31%; }

.topic-strip span:nth-child(4) { width: 15%; }

.highlight-strip {
  display: flex;
  gap: 7px;
  padding: 0 12px 14px;
}

.highlight-strip span {
  height: 7px;
  border-radius: 999px;
  background: rgba(53,214,255,.75);
}

.highlight-strip span:nth-child(1) { width: 15%; margin-left: 8%; }

.highlight-strip span:nth-child(2) { width: 10%; }

.highlight-strip span:nth-child(3) { width: 13%; }

.clip-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 34px;
}

.clip-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.022);
}

.clip-visual {
  aspect-ratio: 16/9;
  border-radius: 12px;
  border: 1px dashed rgba(53,214,255,.34);
  display: grid;
  place-items: center;
  color: #899db0;
  background: rgba(53,214,255,.03);
  margin-bottom: 14px;
}

.vertical-demo {
  max-width: 280px;
  aspect-ratio: 9/16;
  margin-inline: auto;
  border: 1px dashed rgba(53,214,255,.35);
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #9aa8bb;
  background: linear-gradient(180deg,rgba(53,214,255,.06),rgba(47,107,255,.025));
}

/* ==========================================================
   RELAY — network / routing-first
   ========================================================== */

.relay-hero {
  padding: 84px 0 70px;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 56px;
  align-items: center;
}

.relay-diagram {
  --parallax-y: 0px;
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(53,214,255,.20);
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%,rgba(53,214,255,.07),transparent 35%),
    linear-gradient(180deg,rgba(31,21,21,.80),rgba(14,17,25,.92));
  box-shadow: var(--shadow);
  transform: translate3d(0,var(--parallax-y),0);
  overflow: hidden;
}

.relay-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom,rgba(0,0,0,.9),rgba(0,0,0,.2));
}

.relay-core-large {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 132px;
  height: 132px;
  transform: translate(-50%,-50%);
  border-radius: 28px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(135deg,rgba(53,214,255,.18),rgba(47,107,255,.15));
  border: 1px solid rgba(53,214,255,.34);
  box-shadow: 0 0 70px rgba(53,214,255,.12);
  z-index: 4;
}

.relay-core-large i {
  font-size: 28px;
  color: #35d6ff;
  display: block;
  margin-bottom: 6px;
}

.relay-core-large b { font-size: 13px; }

.endpoint {
  position: absolute;
  width: 160px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(7,16,25,.84);
  backdrop-filter: blur(10px);
  z-index: 5;
}

.endpoint b {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.endpoint span { font-size: 11px; color: var(--muted); }

.endpoint.in {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.endpoint.out1 { right: 28px; top: 70px; }

.endpoint.out2 { right: 28px; top: 180px; }

.endpoint.out3 { right: 28px; top: 290px; }

.endpoint.out4 { right: 28px; top: 400px; }

.flow-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg,rgba(53,214,255,.05),#35d6ff,rgba(47,107,255,.8));
  transform-origin: left center;
  z-index: 2;
  opacity: .8;
}

.flow-in {
  left: 190px;
  top: 50%;
  width: calc(50% - 240px);
}

.flow-out1 {
  left: calc(50% + 66px);
  top: 50%;
  width: 230px;
  transform: rotate(-31deg);
}

.flow-out2 {
  left: calc(50% + 66px);
  top: 50%;
  width: 200px;
  transform: rotate(-12deg);
}

.flow-out3 {
  left: calc(50% + 66px);
  top: 50%;
  width: 200px;
  transform: rotate(12deg);
}

.flow-out4 {
  left: calc(50% + 66px);
  top: 50%;
  width: 230px;
  transform: rotate(31deg);
}

.relay-pulse {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35d6ff;
  box-shadow: 0 0 16px #35d6ff;
  animation: relayPulse 2.8s linear infinite;
  z-index: 6;
}

.relay-pulse.p1 { left: 205px; top: calc(50% - 3px); }

.relay-pulse.p2 {
  right: 200px;
  top: 120px;
  animation-delay: .7s;
}

.relay-pulse.p3 {
  right: 210px;
  top: 235px;
  animation-delay: 1.4s;
}

@keyframes relayPulse {
  0% { opacity: 0; transform: scale(.7); }

  20% { opacity: 1; }

  80% { opacity: 1; }

  100% { opacity: 0; transform: translateX(70px) scale(1.15); }
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 8px;
  margin-top: 24px;
}

.day {
  min-height: 150px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.022);
}

.day strong { font-size: 12px; }

.slot {
  margin-top: 9px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(53,214,255,.08);
  border: 1px solid rgba(53,214,255,.18);
  font-size: 10px;
  color: #d7c3b8;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width:1080px) {
  .navlinks { gap: 16px; }

  .product-family { grid-template-columns: repeat(2,1fr); }

  .live-hero-copy { grid-template-columns: 1fr; }
}

@media (max-width:980px) {
  h1 { font-size: 52px; }

  h2 { font-size: 38px; }

  .navlinks {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 77px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: rgba(7,16,25,.97);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .navlinks.open { display: flex; }

  .navlinks a.active::after { display: none; }

  .mobile-toggle { display: grid; place-items: center; }

  .actions .btn:first-child { display: none; }

  .page-home .hero, .audio-hero, .clips-hero, .relay-hero { grid-template-columns: 1fr; }

  .hero-stage { margin-top: 18px; }

  .cards { grid-template-columns: repeat(2,1fr); }

  .product,.product.reverse { grid-template-columns: 1fr; }

  .stats,.feature-row,.live-feature-band { grid-template-columns: repeat(2,1fr); }

  .workflow { grid-template-columns: repeat(3,1fr); }

  .relay-home { grid-template-columns: 1fr; }

  .audio-split { grid-template-columns: 1fr; }

  .clip-grid { grid-template-columns: 1fr 1fr; }

  .footer { grid-template-columns: repeat(2,1fr); }
}

@media (max-width:680px) {
  .container { width: min(100% - 28px,var(--max)); }

  h1 { font-size: 43px; letter-spacing: -2px; }

  h2 { font-size: 34px; }

  .lead { font-size: 17px; }

  .section { padding: 66px 0; }

  .page-home .hero { padding-top: 62px; }

  .hero-stage { min-height: 420px; }

  .ui.live { width: 84%; height: 220px; }

  .ui.ai {
    width: 88%;
    height: 230px;
    top: 135px;
  }

  .ui.wave {
    width: 72%;
    height: 170px;
    right: 0;
  }

  .cards,.stats,.feature-row,.workflow,.footer,.product-family,.live-feature-band,.clip-grid { grid-template-columns: 1fr; }

  .cta { align-items: flex-start; flex-direction: column; }

  .footer-bottom { flex-direction: column; }

  .product-stage .placeholder { min-height: 350px; }

  .live-hero-media,.live-hero-media .placeholder { min-height: 400px; }

  .live-floating {
    position: static;
    width: auto;
    margin: 14px;
  }

  .audio-metrics { grid-template-columns: 1fr; }

  .editor-body { grid-template-columns: 1fr; }

  .relay-diagram { min-height: 630px; }

  .endpoint.in {
    left: 50%;
    top: 28px;
    transform: translateX(-50%);
  }

  .relay-core-large { top: 255px; }

  .endpoint.out1,.endpoint.out2,.endpoint.out3,.endpoint.out4 {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 78%;
  }

  .endpoint.out1 { top: 360px; }

  .endpoint.out2 { top: 430px; }

  .endpoint.out3 { top: 500px; }

  .endpoint.out4 { top: 570px; }

  .flow-line,.relay-pulse { display: none; }

  .schedule-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }

  *,*::before,*::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1 !important; transform: none !important; }

  .ui,.screen,.product-stage,.audio-console,.editor-shell,.relay-diagram { --parallax-y: 0px !important; }
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 36px;
  max-width: 220px;
  object-fit: contain;
}

.footer-brand .brand-logo { height: 40px; max-width: 240px; }

@media (max-width:680px) {
  .brand-logo { height: 31px; max-width: 180px; }

  .footer-brand .brand-logo { height: 34px; max-width: 200px; }
}

/* ==========================================================
   RESPONSIVE ALIGNMENT PASS Desktop: 1141px+ Tablet: 721px–1140px Mobile: 720px and below Small mobile: 480px and below
   ========================================================== */

main, section, .container, .hero > *, .product > *, .product-hero > *, .live-hero-copy > *, .audio-hero > *, .clips-hero > *, .relay-hero > *, .relay-home > *, .audio-split > *, .footer > * {
  min-width: 0;
}

p, .card, .family-card, .timeline-row, .endpoint, .footer-links a { overflow-wrap: anywhere; }

.nav { position: relative; }

.mobile-nav-actions { display: none; }

@media (min-width: 1141px) {
  .container { width: min(var(--max), calc(100% - 56px)); }

  /* Desktop navigation — restored clean text-link style */
  .navlinks {
    display: flex;
    align-items: center;
    gap: 28px;
  }

  .navlinks a {
    position: relative;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #b9c8d4;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    transition: color .24s ease;
  }

  .navlinks a:hover {
    color: #fff;
    background: transparent;
    transform: none;
  }

  .navlinks a.active {
    color: #fff;
    background: transparent;
    transform: none;
  }

  .navlinks a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -15px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
  }

  .actions { flex: 0 0 auto; }

  .brand { flex: 0 0 auto; }

  .product-family, .cards, .feature-row, .stats, .workflow { align-items: stretch; }
}

@media (max-width: 1140px) {
  .container { width: min(var(--max), calc(100% - 40px)); }

  .site-header { background: rgba(7,16,25,.88); }

  .nav { min-height: 72px; }

  .brand-logo { height: 34px; max-width: 200px; }

  .navlinks {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    z-index: 100;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
    padding: 16px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    background: rgba(7,16,25,.985);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0,0,0,.48);
    backdrop-filter: blur(20px);
  }

  .navlinks.open { display: grid; }

  .navlinks > a {
    display: flex;
    align-items: center;
    min-height: 45px;
    padding: 11px 13px;
    border-radius: 10px;
    background: rgba(255,255,255,.018);
  }

  .navlinks > a:hover, .navlinks > a.active { transform: none; background: var(--accent-soft); }

  .navlinks > a.active::after { display: none; }

  .mobile-nav-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid var(--line-soft);
  }

  .mobile-nav-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid var(--line);
    font-weight: 800;
    color: #fff;
  }

  .mobile-nav-actions .mobile-demo {
    color: #041018;
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
  }

  .mobile-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
  }

  .desktop-login { display: none; }

  .actions { margin-left: auto; }

  .page-home .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: auto;
    padding: 68px 0 62px;
  }

  .page-home .hero > div:first-child { max-width: 800px; }

  h1 { font-size: clamp(50px, 6.4vw, 64px); }

  h2 { font-size: clamp(36px, 4.5vw, 44px); }

  .hero-stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    min-height: auto;
    perspective: none;
  }

  .hero-stage::before { inset: 5% 8%; }

  .ui, .ui.live, .ui.ai, .ui.wave {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    transform: translate3d(0,var(--parallax-y),0);
  }

  .ui.live { grid-column: 1 / -1; }

  .ui.live .placeholder { min-height: 230px; }

  .ui.ai .placeholder, .ui.wave .placeholder { min-height: 180px; }

  .ui .inside { height: auto; }

  .product, .product.reverse, .audio-split, .relay-home { grid-template-columns: 1fr; gap: 36px; }

  .product-family { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .feature-row, .stats, .live-feature-band { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .workflow { grid-template-columns: repeat(3, minmax(0,1fr)); }

  .footer { grid-template-columns: 1.4fr 1fr 1fr; }

  .footer > div:nth-child(4) { grid-column: 2 / 4; }

  .live-hero { padding: 64px 0 56px; }

  .live-hero-copy { grid-template-columns: 1fr; gap: 18px; }

  .live-hero-copy > div:last-child .chips { margin-top: 0; }

  .live-hero-media, .live-hero-media .placeholder { min-height: 440px; }

  .audio-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 64px 0 58px;
  }

  .audio-console { width: 100%; }

  .clips-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 64px 0 58px;
  }

  .editor-shell { width: 100%; }

  .relay-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 64px 0 58px;
  }

  .relay-diagram { width: 100%; }

  .schedule-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .container { width: min(var(--max), calc(100% - 32px)); }

  .section { padding: 68px 0; }

  .section.tight { padding: 54px 0; }

  .lead { font-size: 18px; }

  .sub { font-size: 16px; }

  .product-family, .cards { grid-template-columns: 1fr; }

  .footer { grid-template-columns: 1fr 1fr; gap: 28px; }

  .footer > div:nth-child(4) { grid-column: auto; }

  .footer-bottom { grid-column: 1 / -1; }

  .editor-body { grid-template-columns: 1fr; }

  .editor-side { grid-template-columns: repeat(3, minmax(0,1fr)); }

  .clip-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .schedule-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .container { width: min(var(--max), calc(100% - 28px)); }

  .nav { min-height: 68px; }

  .brand-logo { height: 30px; max-width: 164px; }

  .actions > .btn.primary { display: none; }

  .navlinks {
    grid-template-columns: 1fr;
    left: 0;
    right: 0;
    padding: 14px;
  }

  .mobile-nav-actions { grid-template-columns: 1fr; }

  .navlinks > a, .mobile-nav-actions a { min-height: 46px; }

  h1 {
    font-size: clamp(39px, 11vw, 48px);
    line-height: 1.04;
    letter-spacing: -2px;
  }

  h2 { font-size: clamp(31px, 8.5vw, 37px); line-height: 1.1; }

  .lead { font-size: 17px; line-height: 1.6; }

  .section { padding: 60px 0; }

  .hero-ctas { align-items: stretch; }

  .hero-ctas .btn { flex: 1 1 180px; }

  .chips { gap: 7px; }

  .chip { padding: 7px 9px; }

  .hero-stage { grid-template-columns: 1fr; }

  .ui.live { grid-column: auto; }

  .ui.live .placeholder, .ui.ai .placeholder, .ui.wave .placeholder { min-height: 165px; }

  .logo-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .logo-strip .logo-pill:last-child { grid-column: 1 / -1; }

  .feature-row, .stats, .live-feature-band { grid-template-columns: 1fr 1fr; }

  .workflow { grid-template-columns: 1fr 1fr; }

  .screen .placeholder { height: auto; min-height: 285px; }

  .product-stage .placeholder { min-height: 310px; }

  .product h3 { font-size: 31px; }

  .cta {
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cta h2 { font-size: 31px; }

  .cta .btn { width: 100%; }

  .live-hero-media, .live-hero-media .placeholder { min-height: 340px; }

  .live-floating {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 12px;
  }

  .audio-metrics { grid-template-columns: 1fr 1fr 1fr; }

  .timeline-row {
    grid-template-columns: 74px minmax(0,1fr) auto;
    gap: 9px;
    padding: 11px;
  }

  .editor-side { grid-template-columns: 1fr; }

  .clip-grid { grid-template-columns: 1fr; }

  .vertical-demo { max-width: 240px; }

  .relay-diagram {
    min-height: auto;
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .relay-diagram .relay-grid { position: absolute; }

  .relay-diagram .endpoint, .relay-diagram .relay-core-large {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    transform: none;
  }

  .relay-core-large {
    width: 100%;
    height: 92px;
    border-radius: 18px;
  }

  .flow-line, .relay-pulse { display: none; }

  .schedule-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .day { min-height: 130px; }

  /* ==========================================================
     Footer
     ========================================================== */

  .footer {
    grid-template-columns: 1fr;
    padding: 40px 0 46px;
    gap: 24px;
  }

  .footer-bottom {
    grid-column: auto;
    flex-direction: column;
    gap: 8px;
  }

  .footer-brand .brand-logo { height: 34px; max-width: 190px; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 24px); }

  .brand-logo { height: 28px; max-width: 150px; }

  .mobile-toggle { width: 40px; height: 40px; }

  .section { padding: 52px 0; }

  .page-home .hero, .audio-hero, .clips-hero, .relay-hero { padding-top: 50px; padding-bottom: 48px; }

  .hero-ctas { flex-direction: column; }

  .hero-ctas .btn { width: 100%; flex-basis: auto; }

  .feature-row, .stats, .live-feature-band, .workflow, .audio-metrics, .logo-strip { grid-template-columns: 1fr; }

  .logo-strip .logo-pill:last-child { grid-column: auto; }

  .timeline-row { grid-template-columns: 1fr auto; }

  .timeline-row .time { grid-column: 1 / -1; }

  .editor-top {
    height: auto;
    min-height: 44px;
    gap: 8px;
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .topic-strip, .highlight-strip { overflow: hidden; }



  .schedule-grid { grid-template-columns: 1fr; }

  .day { min-height: auto; }

  .relay-map { grid-template-columns: 1fr; }

  .relay-core { margin-inline: auto; transform: rotate(90deg); }

  .output-stack { width: 100%; }
}

@media (hover:none) {
  .card:hover, .family-card:hover, .mini-feature:hover, .stat:hover, .step:hover, .logo-pill:hover, .btn:hover, .chip:hover {
    transform: none;
  }
}

/* ==========================================================
   HOMEPAGE PRODUCT TEASER ROWS
   ========================================================== */

.product-teaser-section { --teaser-accent: var(--cyan); --teaser-accent-2: var(--blue); }

.product-teaser-section.teaser-live, .product-teaser-section.teaser-wave, .product-teaser-section.teaser-clips, .product-teaser-section.teaser-relay {
  --teaser-accent: #35d6ff;
  --teaser-accent-2: #2f6bff;
}

.product-teaser {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 58px;
  align-items: center;
}

.product-teaser.reverse { grid-template-columns: 1.12fr .88fr; }

.teaser-copy { max-width: 520px; }

.product-teaser.reverse .teaser-copy { justify-self: end; }

.teaser-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 12px;
  color: var(--teaser-accent);
  background: color-mix(in srgb,var(--teaser-accent) 9%, transparent);
  border: 1px solid color-mix(in srgb,var(--teaser-accent) 20%, transparent);
  font-size: 17px;
}

.product-teaser .kicker { color: var(--teaser-accent); }

.product-teaser h2 {
  margin-top: 9px;
  margin-bottom: 13px;
  font-size: 40px;
}

.product-teaser .sub {
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 20px;
}

.teaser-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 25px;
  color: #c3d0da;
  font-size: 12px;
}

.teaser-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.teaser-points i { color: var(--teaser-accent); font-size: 10px; }

.product-teaser .btn.primary { background: linear-gradient(135deg,var(--teaser-accent),var(--teaser-accent-2)); box-shadow: 0 12px 32px color-mix(in srgb,var(--teaser-accent-2) 18%, transparent); }

.teaser-visual {
  --parallax-y: 0px;
  display: block;
  min-width: 0;
  color: inherit;
  transform: translate3d(0,var(--parallax-y),0);
  will-change: transform;
}

.teaser-window, .mini-wave-console, .mini-editor, .teaser-relay-map {
  min-height: 330px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg,rgba(16,31,44,.90),rgba(9,22,32,.90));
  box-shadow: 0 28px 72px rgba(0,0,0,.30);
  transition: transform .35s ease,border-color .35s ease,box-shadow .35s ease;
}

.teaser-visual:hover > * {
  transform: translateY(-5px);
  border-color: color-mix(in srgb,var(--teaser-accent) 30%, transparent);
  box-shadow: 0 34px 86px rgba(0,0,0,.40);
}

.teaser-window { padding: 0; overflow: hidden; }

.teaser-window-bar {
  min-height: 43px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  color: #9fb2c1;
  font-size: 11px;
}

.teaser-window-bar span:first-child {
  color: #ff7185;
  font-weight: 900;
  letter-spacing: .7px;
}

.teaser-window-bar i { font-size: 7px; margin-right: 4px; }

.teaser-placeholder {
  min-height: 286px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  background: radial-gradient(circle at 50% 45%,rgba(53,214,255,.08),transparent 32%),
    linear-gradient(135deg,rgba(53,214,255,.025),rgba(47,107,255,.03));
  color: #829bad;
  font-size: 12px;
}

.teaser-placeholder > i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #d9f8ff;
  background: rgba(53,214,255,.10);
  border: 1px solid rgba(53,214,255,.20);
  margin-bottom: 3px;
}

.teaser-placeholder strong { color: #dce9f2; }

.mini-wave-console { border-color: rgba(53,214,255,.15); background: linear-gradient(180deg,rgba(10,29,31,.88),rgba(7,20,25,.92)); }

.mini-wave-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 3px 14px;
  font-size: 12px;
  color: #d7e7e3;
  font-weight: 800;
}

.online-dot {
  color: #72e6ff;
  font-size: 10px;
  letter-spacing: .6px;
}

.mini-waveform {
  height: 135px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.055);
  background: repeating-linear-gradient(90deg,transparent 0 23px,rgba(255,255,255,.04) 24px),
    repeating-linear-gradient(0deg,transparent 0 28px,rgba(255,255,255,.035) 29px),
    rgba(53,214,255,.02);
}

.mini-waveform::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg,transparent,#35d6ff,#2f6bff,#35d6ff,transparent);
  box-shadow: 0 -13px 0 -1px rgba(53,214,255,.52),
    0 13px 0 -1px rgba(47,107,255,.44),
    0 -26px 0 -1px rgba(53,214,255,.22),
    0 26px 0 -1px rgba(47,107,255,.20);
}

.mini-events {
  display: grid;
  gap: 7px;
  margin-top: 11px;
}

.mini-events > div {
  display: grid;
  grid-template-columns: 75px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.018);
  font-size: 11px;
}

.mini-events b { color: #63dcff; }

.mini-events span { color: #c1cdd5; }

.mini-events em {
  font-style: normal;
  color: #829aa9;
  font-size: 9px;
  letter-spacing: .5px;
}

/* ==========================================================
   AI Clips
   ========================================================== */

.mini-editor {
  border-color: rgba(53,214,255,.17);
  background: linear-gradient(180deg,rgba(22,18,40,.90),rgba(11,18,31,.94));
  padding: 0;
  overflow: hidden;
}

.mini-editor-top {
  min-height: 43px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: #aebbd0;
  font-size: 11px;
}

.mini-editor-body {
  display: grid;
  grid-template-columns: 1fr 145px;
  gap: 10px;
  padding: 11px;
}

.mini-editor-preview {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px dashed rgba(53,214,255,.30);
  border-radius: 10px;
  color: #8898ac;
  font-size: 10px;
  background: linear-gradient(135deg,rgba(53,214,255,.045),rgba(47,107,255,.025));
}

.mini-editor-preview i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #d9f8ff;
  background: rgba(53,214,255,.10);
  border: 1px solid rgba(53,214,255,.20);
}

.mini-editor-side { display: grid; gap: 7px; }

.mini-editor-side > div {
  padding: 10px;
  border-radius: 9px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.018);
}

.mini-editor-side b {
  display: block;
  font-size: 10px;
  margin-bottom: 4px;
}

.mini-editor-side span { color: #8f9db0; font-size: 9px; }

.mini-topic-line, .mini-highlight-line {
  display: flex;
  gap: 6px;
  padding: 0 11px 9px;
}

.mini-topic-line span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,#35d6ff,#2f6bff);
}

.mini-topic-line span:nth-child(1) { width: 27%; }

.mini-topic-line span:nth-child(2) { width: 19%; }

.mini-topic-line span:nth-child(3) { width: 29%; }

.mini-topic-line span:nth-child(4) { width: 18%; }

.mini-highlight-line { padding-bottom: 12px; padding-left: 54px; }

.mini-highlight-line span {
  height: 6px;
  border-radius: 999px;
  background: rgba(53,214,255,.72);
}

.mini-highlight-line span:nth-child(1) { width: 18%; }

.mini-highlight-line span:nth-child(2) { width: 11%; }

.mini-highlight-line span:nth-child(3) { width: 15%; }

.teaser-relay-map {
  display: grid;
  grid-template-columns: 1fr 88px 1.3fr;
  gap: 18px;
  align-items: center;
  padding: 26px;
}

@media (max-width:1140px) {
  .product-teaser, .product-teaser.reverse { grid-template-columns: 1fr 1fr; gap: 38px; }

  .product-teaser h2 { font-size: 36px; }

  .teaser-copy, .product-teaser.reverse .teaser-copy { max-width: none; justify-self: stretch; }
}

@media (max-width:820px) {
  .product-teaser, .product-teaser.reverse { grid-template-columns: 1fr; gap: 30px; }

  .product-teaser.reverse .teaser-visual { order: 2; }

  .product-teaser.reverse .teaser-copy { order: 1; }

  .teaser-copy { max-width: 620px; }

  .teaser-window, .mini-wave-console, .mini-editor, .teaser-relay-map { min-height: 300px; }
}

@media (max-width:720px) {
  .product-teaser-section { padding: 56px 0; }

  .product-teaser h2 { font-size: 32px; }

  .product-teaser .sub { font-size: 16px; }

  .teaser-points { display: grid; gap: 8px; }

  .product-teaser .btn { width: 100%; }

  .mini-editor-body { grid-template-columns: 1fr; }

  .mini-editor-side { grid-template-columns: repeat(3,1fr); }

  .teaser-relay-map { grid-template-columns: 1fr; }

  .teaser-relay-map .relay-core { margin-inline: auto; transform: rotate(90deg); }

  .mini-events > div { grid-template-columns: 68px minmax(0,1fr) auto; }
}

@media (max-width:480px) {
  .product-teaser h2 { font-size: 29px; }

  .teaser-window, .mini-wave-console, .mini-editor, .teaser-relay-map { min-height: auto; }

  .teaser-placeholder { min-height: 220px; }

  .mini-waveform { height: 110px; }

  .mini-events > div { grid-template-columns: 1fr auto; }

  .mini-events b { grid-column: 1 / -1; }

  .mini-editor-side { grid-template-columns: 1fr; }

  .mini-editor-preview { min-height: 165px; }
}

/* ==========================================================
   BLUE-ONLY STREAMCENTRAL BRAND THEME
   ========================================================== */

body.page-home, body.page-live, body.page-audio, body.page-clips, body.page-relay {
  --accent: #35d6ff;
  --accent-2: #2f6bff;
  --accent-soft: rgba(53,214,255,.10);
}

.product-teaser-section { --teaser-accent: #35d6ff !important; --teaser-accent-2: #2f6bff !important; }

.page-audio .audio-console, .teaser-wave .mini-wave-console { border-color: rgba(53,214,255,.18); background: linear-gradient(180deg,rgba(10,26,35,.92),rgba(7,19,28,.94)); }

.page-audio .waveform::before, .teaser-wave .mini-waveform::before { background: linear-gradient(90deg,transparent,#35d6ff,#2f6bff,#35d6ff,transparent); }

.page-audio .timeline-row .time, .teaser-wave .mini-events b, .teaser-wave .online-dot { color: #63dcff; }

/* ==========================================================
   AI Clips
   ========================================================== */

.page-clips .editor-shell, .teaser-clips .mini-editor { border-color: rgba(53,214,255,.20); background: linear-gradient(180deg,rgba(14,25,40,.94),rgba(9,18,31,.96)); }

.page-clips .editor-preview, .teaser-clips .mini-editor-preview { border-color: rgba(53,214,255,.30); background: linear-gradient(135deg,rgba(53,214,255,.045),rgba(47,107,255,.025)); }

.page-clips .topic-strip span, .teaser-clips .mini-topic-line span { background: linear-gradient(90deg,#35d6ff,#2f6bff); }

.page-clips .highlight-strip span, .teaser-clips .mini-highlight-line span { background: rgba(53,214,255,.72); }

.page-clips .vertical-demo { border-color: rgba(53,214,255,.32); background: linear-gradient(180deg,rgba(53,214,255,.05),rgba(47,107,255,.025)); }

.page-relay .relay-diagram {
  border-color: rgba(53,214,255,.20);
  background: radial-gradient(circle at 50% 50%,rgba(53,214,255,.07),transparent 35%),
    linear-gradient(180deg,rgba(12,25,36,.84),rgba(8,17,27,.94));
}

.page-relay .relay-core-large, .teaser-relay .relay-core {
  background: linear-gradient(135deg,rgba(53,214,255,.18),rgba(47,107,255,.15));
  border-color: rgba(53,214,255,.32);
  box-shadow: 0 0 70px rgba(53,214,255,.10);
}

.page-relay .relay-core-large i, .teaser-relay .relay-core i { color: #35d6ff; }

.page-relay .flow-line { background: linear-gradient(90deg,rgba(53,214,255,.05),#35d6ff,rgba(47,107,255,.80)); }

.page-relay .relay-pulse { background: #35d6ff; box-shadow: 0 0 16px #35d6ff; }

.page-relay .slot {
  background: rgba(53,214,255,.08);
  border-color: rgba(53,214,255,.18);
  color: #c5d9e5;
}

.teaser-live .teaser-window-bar span:first-child, .page-live .live-hero-media::after { color: #ff7185; }

/* ==========================================================
   RELAY CONNECTOR FIX — exact SVG paths + endpoint ports
   ========================================================== */

.page-relay .flow-line, .page-relay .relay-pulse { display: none !important; }

.page-relay .relay-diagram { isolation: isolate; }

.page-relay .relay-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 3;
  display: block !important;
}

.page-relay .relay-link-path {
  fill: none;
  stroke: url(#relayLineGradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: .9;
}

.page-relay .relay-moving-dot { fill: #35d6ff; opacity: 0; }

.page-relay .output-endpoint { overflow: visible; padding-left: 18px; }

.page-relay .relay-port {
  position: absolute;
  left: -5px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #35d6ff;
  border: 2px solid rgba(7,16,25,.92);
  box-shadow: 0 0 0 1px rgba(53,214,255,.30),
    0 0 14px rgba(53,214,255,.68);
  z-index: 8;
}

.page-relay .input-endpoint { overflow: visible; }

.page-relay .relay-port-input {
  left: auto;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
}

.page-relay .endpoint, .page-relay .relay-core-large { z-index: 5; }

@media (max-width:720px) {
  .page-relay .relay-links { display: block !important; }

  .page-relay .relay-port { left: -5px; top: 19px; }

  .page-relay .relay-port-input {
    left: 50%;
    right: auto;
    top: auto;
    bottom: -5px;
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion:reduce) {
  .page-relay .relay-moving-dot { display: none; }
}

/* ==========================================================
   HOMEPAGE HERO — BROWSER CAROUSEL One browser-style product preview rotating every 4 seconds.
   ========================================================== */

.hero-carousel-wrap { min-width: 0; position: relative; }

.hero-carousel-wrap::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 420px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle,rgba(53,214,255,.10),transparent 68%);
  filter: blur(24px);
}

.hero-browser-carousel {
  position: relative;
  min-height: 500px;
/*  padding: 18px;
  border: 1px solid rgba(53,214,255,.10);*/
  border-radius: 26px;
  background: linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.012));
  box-shadow: 0 34px 90px rgba(0,0,0,.32);
  overflow: hidden;
}

.browser-carousel-track { position: relative; min-height: 410px; }

.browser-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(28px,0,0) scale(.985);
  transition: opacity .65s cubic-bezier(.2,.8,.2,1),
    transform .65s cubic-bezier(.2,.8,.2,1),
    visibility .65s;
  pointer-events: none;
}

.browser-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0,0,0) scale(1);
  pointer-events: auto;
}

.browser-slide.exiting {
  opacity: 0;
  visibility: visible;
  transform: translate3d(-24px,0,0) scale(.985);
}

.browser-shell {
  height: 100%;
  min-height: 410px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 19px;
  overflow: hidden;
  background: linear-gradient(180deg,#102330,#091722);
  box-shadow: 0 26px 70px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.02);
  transition: border-color .3s ease,box-shadow .3s ease;
}

.browser-slide:hover .browser-shell { border-color: rgba(53,214,255,.30); box-shadow: 0 32px 86px rgba(0,0,0,.50),
    0 0 34px rgba(53,214,255,.05); }

.browser-chrome {
  height: 46px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 90px 1fr 90px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.012);
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #536979;
}

.browser-title {
  text-align: center;
  color: #b9c9d6;
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.browser-status {
  text-align: right;
  color: #718b9f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .6px;
  white-space: nowrap;
}

.live-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #ff7185;
  box-shadow: 0 0 10px rgba(255,113,133,.55);
}

.browser-content {
  min-height: 364px;
  padding: 16px;
  position: relative;
}

.browser-demo-placeholder {
  min-height: 330px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  border: 1px dashed rgba(53,214,255,.35);
  border-radius: 13px;
  color: #849cad;
  font-size: 11px;
  background: radial-gradient(circle at 50% 45%,rgba(53,214,255,.07),transparent 32%),
    linear-gradient(135deg,rgba(53,214,255,.03),rgba(47,107,255,.025));
}

.browser-demo-placeholder strong, .browser-clip-main strong { color: #dce9f2; font-size: 13px; }

.browser-demo-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 14px;
  color: #35d6ff;
  background: rgba(53,214,255,.08);
  border: 1px solid rgba(53,214,255,.18);
  font-size: 18px;
}

.browser-content-wave { display: flex; flex-direction: column; }

.browser-wave-preview {
  min-height: 330px;
  padding: 16px;
  border-radius: 13px;
  border: 1px solid rgba(53,214,255,.10);
  background: rgba(255,255,255,.012);
}

.browser-waveform {
  height: 170px;
  border-radius: 11px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
  background: repeating-linear-gradient(90deg,transparent 0 23px,rgba(255,255,255,.035) 24px),
    repeating-linear-gradient(0deg,transparent 0 30px,rgba(255,255,255,.03) 31px),
    rgba(53,214,255,.02);
}

.browser-waveform::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg,transparent,#35d6ff,#2f6bff,#35d6ff,transparent);
  box-shadow: 0 -15px 0 -1px rgba(53,214,255,.52),
    0 15px 0 -1px rgba(47,107,255,.42),
    0 -30px 0 -1px rgba(53,214,255,.24),
    0 30px 0 -1px rgba(47,107,255,.18);
}

.browser-wave-meta {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.browser-wave-meta > div {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 9px;
  font-size: 10px;
  background: rgba(255,255,255,.012);
}

.browser-wave-meta b { color: #63dcff; }

.browser-wave-meta span { color: #c0ccd5; }

.browser-wave-meta em {
  font-style: normal;
  font-size: 8px;
  letter-spacing: .5px;
  color: #788ea0;
}

.browser-content-clips { display: flex; flex-direction: column; }

.browser-clip-preview {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 10px;
}

.browser-clip-main {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  border: 1px dashed rgba(53,214,255,.30);
  border-radius: 11px;
  color: #8498ab;
  font-size: 10px;
  background: linear-gradient(135deg,rgba(53,214,255,.035),rgba(47,107,255,.02));
}

.browser-clip-side { display: grid; gap: 8px; }

.browser-clip-side > div {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.055);
  background: rgba(255,255,255,.015);
}

.browser-clip-side b {
  display: block;
  color: #cdd8e1;
  font-size: 10px;
  margin-bottom: 5px;
}

.browser-clip-side span { color: #7f94a7; font-size: 9px; }

.browser-topic-track, .browser-highlight-track {
  display: flex;
  gap: 6px;
  margin-top: 11px;
}

.browser-topic-track span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,#35d6ff,#2f6bff);
}

.browser-topic-track span:nth-child(1) { width: 28%; }

.browser-topic-track span:nth-child(2) { width: 18%; }

.browser-topic-track span:nth-child(3) { width: 30%; }

.browser-topic-track span:nth-child(4) { width: 17%; }

.browser-highlight-track { margin-left: 46px; }

.browser-highlight-track span {
  height: 6px;
  border-radius: 999px;
  background: rgba(53,214,255,.68);
}

.browser-highlight-track span:nth-child(1) { width: 18%; }

.browser-highlight-track span:nth-child(2) { width: 12%; }

.browser-highlight-track span:nth-child(3) { width: 16%; }

.browser-content-relay { display: grid; place-items: center; }

.browser-relay-flow {
  width: 100%;
  min-height: 320px;
  display: grid;
  grid-template-columns: 1fr 100px 1.3fr;
  gap: 18px;
  align-items: center;
}

.browser-relay-node {
  min-height: 72px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 11px;
  background: rgba(255,255,255,.018);
}

.browser-relay-node b { font-size: 11px; margin-bottom: 4px; }

.browser-relay-node span { color: #8095a5; font-size: 9px; }

.browser-relay-core {
  width: 86px;
  height: 86px;
  margin: auto;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 19px;
  color: #35d6ff;
  background: linear-gradient(135deg,rgba(53,214,255,.15),rgba(47,107,255,.12));
  border: 1px solid rgba(53,214,255,.25);
  box-shadow: 0 0 35px rgba(53,214,255,.06);
}

.browser-relay-core i { display: block; margin-bottom: 5px; }

.browser-relay-core b {
  display: block;
  font-size: 10px;
  color: #dbe9f1;
}

.browser-relay-outputs { display: grid; gap: 8px; }

/* ==========================================================
   footer under carousel
   ========================================================== */

.browser-carousel-footer {
  min-height: 54px;
  padding: 12px 4px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.browser-carousel-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.browser-carousel-label span {
  color: #dce8f0;
  font-size: 12px;
  font-weight: 800;
}

.browser-carousel-label small { color: #71889a; font-size: 9px; }

.browser-carousel-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.browser-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: #415565;
  transition: width .3s ease,background .3s ease,transform .3s ease;
}

.browser-carousel-dots button:hover { transform: scale(1.15); }

.browser-carousel-dots button.active { width: 24px; background: linear-gradient(90deg,#35d6ff,#2f6bff); }

@media (max-width:1140px) {
  .hero-carousel-wrap { max-width: 850px; }

  .hero-browser-carousel { min-height: 480px; }

  .browser-carousel-track { min-height: 390px; }

  .browser-shell { min-height: 390px; }

  .browser-content { min-height: 344px; }

  .browser-demo-placeholder { min-height: 310px; }
}

@media (max-width:720px) {
  .hero-browser-carousel {
    padding: 11px;
    min-height: 400px;
    border-radius: 20px;
  }

  .browser-carousel-track { min-height: 325px; }

  .browser-shell { min-height: 325px; border-radius: 15px; }

  .browser-chrome {
    height: 42px;
    grid-template-columns: 64px 1fr 64px;
    padding: 0 10px;
  }

  .browser-title { font-size: 9px; }

  .browser-status { font-size: 7px; }

  .browser-content { min-height: 283px; padding: 10px; }

  .browser-demo-placeholder { min-height: 260px; }

  .browser-wave-preview { min-height: 260px; padding: 10px; }

  .browser-waveform { height: 118px; }

  .browser-wave-meta > div { grid-template-columns: 60px 1fr auto; }

  .browser-clip-preview { grid-template-columns: 1fr; }

  .browser-clip-main { min-height: 180px; }

  .browser-clip-side { grid-template-columns: repeat(3,1fr); }

  .browser-relay-flow {
    min-height: 260px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .browser-relay-core { width: 70px; height: 70px; }

  .browser-relay-outputs { grid-template-columns: repeat(3,1fr); }

  .browser-relay-node { min-height: 58px; padding: 8px; }
}

@media (max-width:480px) {
  .browser-carousel-footer { align-items: flex-start; flex-direction: column; }

  .browser-clip-side { grid-template-columns: 1fr; }

  .browser-relay-outputs { grid-template-columns: 1fr; }

  .browser-wave-meta > div { grid-template-columns: 1fr auto; }

  .browser-wave-meta b { grid-column: 1 / -1; }

  .browser-relay-flow { min-height: auto; }
}

@media (prefers-reduced-motion:reduce) {
  .browser-slide { transition: none; }
}

/* ==========================================================
   HERO CAROUSEL — SUBTLE PER-SLIDE MICRO-ANIMATIONS Add your screenshots using the four CSS variables below. Example: :root { --slide-live-bg:url("images/live.jpg"); }
   ========================================================== */

:root {
  --slide-live-bg: url("images/live.jpg");
  --slide-wave-bg: url("images/wave.jpg");
  --slide-clips-bg: url("images/clips.jpg");
  --slide-relay-bg: url("images/relay.jpg");
}

.slide-bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.slide-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: .72;
  transform: scale(1.015);
  animation: slideImageDrift 10s ease-in-out infinite alternate;
}

.slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,rgba(7,16,25,.18),rgba(7,16,25,.42)),
    radial-gradient(circle at 50% 50%,transparent 10%,rgba(7,16,25,.16) 75%);
}

.slide-bg-live::before { background-image: var(--slide-live-bg); }

.slide-bg-wave::before { background-image: var(--slide-wave-bg); }

.slide-bg-clips::before { background-image: var(--slide-clips-bg); }

.slide-bg-relay::before { background-image: var(--slide-relay-bg); }

@keyframes slideImageDrift {
  from { transform: scale(1.015) translate3d(-3px,-2px,0); }

  to { transform: scale(1.035) translate3d(4px,3px,0); }
}

/* ==========================================================
   ---------------------------------------------------------- LIVE — scanline + subtle framing corners ----------------------------------------------------------
   ========================================================== */

.live-motion-overlay {
  position: absolute;
  inset: 16px;
  z-index: 5;
  pointer-events: none;
  border-radius: 12px;
  overflow: hidden;
}

.live-scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  height: 26%;
  opacity: .16;
  background: linear-gradient(180deg,transparent,rgba(53,214,255,.22),transparent);
  filter: blur(1px);
  animation: liveScan 4.8s ease-in-out infinite;
}

@keyframes liveScan {
  0% { transform: translateY(-20%); opacity: 0; }

  15% { opacity: .12; }

  70% { opacity: .18; }

  100% { transform: translateY(430%); opacity: 0; }
}

.live-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: .38;
  animation: liveCornerPulse 2.8s ease-in-out infinite alternate;
}

.live-corner.tl {
  left: 10px;
  top: 10px;
  border-left: 1px solid #35d6ff;
  border-top: 1px solid #35d6ff;
}

.live-corner.tr {
  right: 10px;
  top: 10px;
  border-right: 1px solid #35d6ff;
  border-top: 1px solid #35d6ff;
}

.live-corner.bl {
  left: 10px;
  bottom: 10px;
  border-left: 1px solid #35d6ff;
  border-bottom: 1px solid #35d6ff;
}

.live-corner.br {
  right: 10px;
  bottom: 10px;
  border-right: 1px solid #35d6ff;
  border-bottom: 1px solid #35d6ff;
}

@keyframes liveCornerPulse {
  from { opacity: .22; filter: drop-shadow(0 0 0 rgba(53,214,255,0)); }

  to { opacity: .55; filter: drop-shadow(0 0 6px rgba(53,214,255,.28)); }
}

.wave-motion-overlay {
  position: absolute;
  inset: 16px;
  z-index: 6;
  pointer-events: none;
  overflow: hidden;
  border-radius: 12px;
}

.wave-playhead {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 3%;
  width: 1px;
  opacity: .68;
  background: linear-gradient(180deg,transparent,#35d6ff 18%,#35d6ff 82%,transparent);
  box-shadow: 0 0 12px rgba(53,214,255,.38);
  animation: wavePlayhead 5.4s linear infinite;
}

.wave-playhead::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: #35d6ff;
  box-shadow: 0 0 12px rgba(53,214,255,.72);
}

.wave-sweep {
  position: absolute;
  inset: 0;
  opacity: .11;
  background: linear-gradient(90deg,transparent,rgba(53,214,255,.18),transparent);
  transform: translateX(-100%);
  animation: waveSweep 6s ease-in-out infinite;
}

@keyframes wavePlayhead {
  from { left: 3%; }

  to { left: 97%; }
}

@keyframes waveSweep {
  0%,15% { transform: translateX(-100%); }

  75%,100% { transform: translateX(100%); }
}

/* ==========================================================
   ---------------------------------------------------------- AI CLIPS — focus ring + highlight shimmer ----------------------------------------------------------
   ========================================================== */

.clips-motion-overlay {
  position: absolute;
  inset: 16px;
  z-index: 6;
  pointer-events: none;
  border-radius: 12px;
  overflow: hidden;
}

.clips-focus-ring {
  position: absolute;
  width: 88px;
  height: 52px;
  left: 16%;
  top: 26%;
  border: 1px solid rgba(53,214,255,.34);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(53,214,255,.06);
  animation: clipsFocus 4.6s ease-in-out infinite;
}

@keyframes clipsFocus {
  0% { transform: translate3d(0,0,0); opacity: .18; }

  25% { opacity: .48; }

  50% { transform: translate3d(78px,22px,0); opacity: .42; }

  75% { opacity: .48; }

  100% { transform: translate3d(155px,-5px,0); opacity: .18; }
}

.clips-shimmer {
  position: absolute;
  left: -35%;
  bottom: 24px;
  width: 32%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,transparent,rgba(53,214,255,.48),transparent);
  filter: blur(.2px);
  animation: clipsShimmer 3.8s ease-in-out infinite;
}

@keyframes clipsShimmer {
  from { transform: translateX(0); opacity: 0; }

  20% { opacity: .35; }

  80% { opacity: .35; }

  to { transform: translateX(420%); opacity: 0; }
}

/* ==========================================================
   ---------------------------------------------------------- RELAY — exact line/dot routing, same idea as Relay page ----------------------------------------------------------
   ========================================================== */

.browser-relay-flow { position: relative; isolation: isolate; }

.carousel-relay-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

.carousel-relay-path {
  fill: none;
  stroke: url(#carouselRelayGradient);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: .82;
}

.carousel-relay-dot { fill: #35d6ff; opacity: 0; }

.carousel-relay-input, .carousel-relay-output, .carousel-relay-core {
  position: relative;
  z-index: 4;
  overflow: visible;
}

.carousel-relay-port {
  position: absolute;
  left: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #35d6ff;
  border: 2px solid rgba(7,16,25,.92);
  box-shadow: 0 0 0 1px rgba(53,214,255,.24),
    0 0 12px rgba(53,214,255,.55);
}

.carousel-relay-port.input-port { left: auto; right: -4px; }

@media (max-width:720px) {
  .live-motion-overlay, .wave-motion-overlay, .clips-motion-overlay { inset: 10px; }

  .carousel-relay-port {
    left: 50%;
    top: -4px;
    transform: translateX(-50%);
  }

  .carousel-relay-port.input-port {
    left: 50%;
    right: auto;
    top: auto;
    bottom: -4px;
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion:reduce) {
  .slide-bg::before, .live-scanline, .live-corner, .wave-playhead, .wave-sweep, .clips-focus-ring, .clips-shimmer {
    animation: none !important;
  }

  .carousel-relay-dot { display: none; }
}

/* ==========================================================
   HERO CAROUSEL IMAGE FIX Recommended source image size for ALL four slides: 1600 x 1200 px (4:3) Also works well at 1440 x 1080 or 2000 x 1500.
   ========================================================== */

.hero-carousel-wrap { width: 100%; }

.hero-browser-carousel { width: 100%; min-height: 0; }

.browser-carousel-track { min-height: 0 !important; aspect-ratio: 4 / 3; }

.browser-slide { height: 100%; }

.browser-shell {
  min-height: 0 !important;
  height: 100%;
  display: grid;
  grid-template-rows: 46px 1fr;
}

.browser-content { min-height: 0 !important; height: 100%; }

.slide-bg::before {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  opacity: .92;
  transform: scale(1);
  animation: slideImageDriftContained 10s ease-in-out infinite alternate;
}

@keyframes slideImageDriftContained {
  from { transform: scale(1.000) translate3d(-1px,-1px,0); }

  to { transform: scale(1.012) translate3d(2px,1px,0); }
}

.slide-bg {
  background: radial-gradient(circle at 50% 45%,rgba(53,214,255,.045),transparent 45%),
    #091722;
}

.browser-demo-placeholder, .browser-wave-preview, .browser-clip-preview, .browser-relay-flow { transition: opacity .3s ease; }

@media (max-width:1140px) {
  .browser-carousel-track { aspect-ratio: 4 / 3; }
}

@media (max-width:720px) {
  .browser-carousel-track { aspect-ratio: 4 / 3; }

  .browser-shell { grid-template-rows: 42px 1fr; }

  .browser-content { overflow: hidden; }
}

@media (prefers-reduced-motion:reduce) {
  .slide-bg::before { animation: none !important; transform: none !important; }
}

/* ==========================================================
   CAROUSEL BACKGROUND IMAGE STACKING FIX The previous version used negative z-index values, which could place the screenshot behind the slide's dark background.
   ========================================================== */

.slide-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.slide-bg::before { z-index: 0 !important; pointer-events: none; }

.slide-bg::after { z-index: 1 !important; pointer-events: none; }

.slide-bg > * { position: relative; z-index: 2; }

.slide-bg > .live-motion-overlay, .slide-bg > .wave-motion-overlay, .slide-bg > .clips-motion-overlay {
  position: absolute;
  z-index: 6;
}

.slide-bg-live .browser-demo-placeholder {
  background: radial-gradient(circle at 50% 45%,rgba(53,214,255,.05),transparent 35%),
    rgba(7,16,25,.22);
}

.slide-bg-wave .browser-wave-preview { background: rgba(7,16,25,.28); }

.slide-bg-clips .browser-clip-main, .slide-bg-clips .browser-clip-side > div { background: rgba(7,16,25,.30); }

.slide-bg-relay .browser-relay-node, .slide-bg-relay .browser-relay-core { backdrop-filter: blur(2px); }

/* ==========================================================
   AI CLIPS HERO ANIMATION — full vertical story crop pan Simulates a 9:16 social crop moving left to right.
   ========================================================== */

.clips-focus-ring { display: none !important; }

.clips-motion-overlay {
  position: absolute;
  inset: 16px;
  z-index: 6;
  pointer-events: none;
  border-radius: 12px;
  overflow: hidden;
}

.story-pan-track {
  position: absolute;
  left: 8%;
  right: 32%;
  top: 10%;
  bottom: 14%;
  border-radius: 14px;
}

.story-pan-frame {
  position: absolute;
  top: 50%;
  left: 0;
  width: min(24%, 150px);
  aspect-ratio: 9 / 16;
  transform: translateY(-50%);
  border-radius: 18px;
  border: 1.5px solid rgba(53,214,255,.78);
  background: linear-gradient(180deg,rgba(7,16,25,.12),rgba(7,16,25,.20));
  box-shadow: 0 0 0 1px rgba(53,214,255,.16),
    0 0 22px rgba(53,214,255,.18),
    inset 0 0 0 1px rgba(255,255,255,.03);
  overflow: hidden;
  animation: storyCropSweep 4.6s ease-in-out infinite alternate;
}

.story-pan-screen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg,rgba(53,214,255,.07),rgba(47,107,255,.03)),
    radial-gradient(circle at 50% 30%,rgba(53,214,255,.10),transparent 45%);
}

/* ==========================================================
   subtle header/footer bars so it reads like a vertical social crop
   ========================================================== */

.story-pan-screen::before, .story-pan-screen::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.story-pan-screen::before { top: 12px; width: 42%; }

.story-pan-screen::after {
  left: 10px;
  right: 16px;
  bottom: 12px;
  height: 12px;
  background: linear-gradient(90deg,rgba(53,214,255,.34),rgba(47,107,255,.24));
}

.story-pan-label {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 999px;
  color: #d8eef8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .5px;
  background: rgba(7,16,25,.64);
  border: 1px solid rgba(53,214,255,.22);
  box-shadow: 0 0 12px rgba(53,214,255,.10);
}

.story-pan-track::before, .story-pan-track::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  pointer-events: none;
}

.story-pan-track::before {
  inset: 0;
  border: 1px dashed rgba(53,214,255,.10);
  border-radius: 14px;
}

.clips-shimmer {
  position: absolute;
  left: -35%;
  bottom: 24px;
  width: 32%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,transparent,rgba(53,214,255,.48),transparent);
  filter: blur(.2px);
  animation: clipsShimmer 3.8s ease-in-out infinite;
}

@keyframes storyCropSweep {
  0% {
    left: 0%;
    box-shadow: 0 0 0 1px rgba(53,214,255,.16),
      0 0 18px rgba(53,214,255,.14),
      inset 0 0 0 1px rgba(255,255,255,.03);
  }

  50% {
    box-shadow: 0 0 0 1px rgba(53,214,255,.22),
      0 0 26px rgba(53,214,255,.22),
      inset 0 0 0 1px rgba(255,255,255,.04);
  }

  100% {
    left: calc(100% - min(24%, 150px));
    box-shadow: 0 0 0 1px rgba(53,214,255,.16),
      0 0 18px rgba(53,214,255,.14),
      inset 0 0 0 1px rgba(255,255,255,.03);
  }
}

@media (max-width:1140px) {
  .story-pan-track { left: 8%; right: 35%; }

  .story-pan-frame { width: min(26%, 130px); }

  @keyframes storyCropSweep {
    0% { left: 0%; }

    100% { left: calc(100% - min(26%, 130px)); }
  }
}

@media (max-width:720px) {
  .clips-motion-overlay { inset: 10px; }

  .story-pan-track {
    left: 8%;
    right: 8%;
    top: 8%;
    bottom: 38%;
  }

  .story-pan-frame { width: min(30%, 108px); border-radius: 14px; }

  .story-pan-label { font-size: 8px; padding: 3px 7px; }

  @keyframes storyCropSweep {
    0% { left: 0%; }

    100% { left: calc(100% - min(30%, 108px)); }
  }
}

@media (max-width:480px) {
  .story-pan-track { bottom: 42%; }

  .story-pan-frame { width: min(34%, 94px); }

  @keyframes storyCropSweep {
    0% { left: 0%; }

    100% { left: calc(100% - min(34%, 94px)); }
  }
}

@media (prefers-reduced-motion:reduce) {
  .story-pan-frame { animation: none !important; left: 35%; }
}

/* ==========================================================
   AI CLIPS STORY PAN TWEAK - remove the extra/back box - use only the existing dotted placeholder frame - make the 9:16 crop reach top and bottom of that dotted frame
   ========================================================== */

.story-pan-track::before, .story-pan-track::after { display: none !important; content: none !important; }

/* ==========================================================
   Align the moving crop to the dotted preview frame area on the left side of the AI Clips slide.
   ========================================================== */

.story-pan-track {
  left: 8.5% !important;
  right: 33% !important;
  top: 10.5% !important;
  bottom: 14.2% !important;
  border: none !important;
  border-radius: 14px;
  overflow: hidden;
}

.story-pan-frame {
  top: 0 !important;
  bottom: 0 !important;
  height: 100% !important;
  width: 30% !important;
  max-width: none !important;
  min-width: 0 !important;
  aspect-ratio: auto !important;
  transform: none !important;
  border-radius: 18px !important;
  animation: storyCropSweepFull 4.6s ease-in-out infinite alternate !important;
}

.story-pan-screen { inset: 0; border-radius: inherit; }

@keyframes storyCropSweepFull {
  0% {
    left: 0%;
    box-shadow: 0 0 0 1px rgba(53,214,255,.16),
      0 0 18px rgba(53,214,255,.14),
      inset 0 0 0 1px rgba(255,255,255,.03);
  }

  50% {
    box-shadow: 0 0 0 1px rgba(53,214,255,.22),
      0 0 26px rgba(53,214,255,.22),
      inset 0 0 0 1px rgba(255,255,255,.04);
  }

  100% {
    left: calc(100% - 30%);
    box-shadow: 0 0 0 1px rgba(53,214,255,.16),
      0 0 18px rgba(53,214,255,.14),
      inset 0 0 0 1px rgba(255,255,255,.03);
  }
}

@media (max-width:1140px) {
  .story-pan-track {
    left: 8.5% !important;
    right: 35% !important;
    top: 10.5% !important;
    bottom: 14.2% !important;
  }

  .story-pan-frame { width: 32% !important; }

  @keyframes storyCropSweepFull {
    0% { left: 0%; }

    100% { left: calc(100% - 32%); }
  }
}

@media (max-width:720px) {
  .story-pan-track {
    left: 8.5% !important;
    right: 8.5% !important;
    top: 8.8% !important;
    bottom: 39% !important;
  }

  .story-pan-frame { width: 34% !important; border-radius: 14px !important; }

  @keyframes storyCropSweepFull {
    0% { left: 0%; }

    100% { left: calc(100% - 34%); }
  }
}

@media (max-width:480px) {
  .story-pan-track { bottom: 42% !important; }

  .story-pan-frame { width: 36% !important; }

  @keyframes storyCropSweepFull {
    0% { left: 0%; }

    100% { left: calc(100% - 36%); }
  }
}

@media (prefers-reduced-motion:reduce) {
  .story-pan-frame { left: 32% !important; animation: none !important; }
}

/* ==========================================================
   HOMEPAGE LIVE SLIDE — player + edit flow layout Inspired by the reference: large player, right edit panel, timeline below, subtle playback animation.
   ========================================================== */

:root { --slide-live-player-bg: url("images/live.jpg"); }

.browser-content-live {
  padding: 12px;
  background: radial-gradient(circle at 35% 40%,rgba(53,214,255,.05),transparent 32%),
    linear-gradient(180deg,#0c1d2a,#081621);
}

.live-flow-card {
  position: relative;
  height: 100%;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  background: rgba(255,255,255,.012);
  overflow: hidden;
}

.live-flow-main {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
  height: 100%;
  min-height: 0;
  position: relative;
  z-index: 2;
}

.live-player-panel, .live-edit-sidebar { min-width: 0; }

.live-player-panel {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 10px;
  min-height: 0;
}

.live-player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 0;
  color: #8ea4b5;
  font-size: 9px;
}

.live-player-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.live-player-title span {
  color: #c9d7e2;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-player-title b {
  padding: 3px 8px;
  border-radius: 999px;
  color: #d7d0ff;
  font-size: 8px;
  letter-spacing: .4px;
  background: rgba(138,115,255,.10);
}

.live-player-link { white-space: nowrap; }

.live-player-screen {
  min-height: 0;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  background: #f4f5f7;
  padding: 8px;
  overflow: hidden;
}

.live-player-shot {
  position: relative;
  height: 100%;
  min-height: 174px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg,rgba(7,16,25,.10),rgba(7,16,25,.08)),
    var(--slide-live-player-bg) center center / cover no-repeat,
    radial-gradient(circle at 40% 35%,rgba(53,214,255,.12),transparent 35%),
    #d9dde3;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.live-player-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,.04),transparent 20%,transparent 80%,rgba(0,0,0,.06));
  pointer-events: none;
}

.live-player-shot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 66px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: rgba(8,25,37,.55);
  border: 1px solid rgba(53,214,255,.32);
  box-shadow: 0 0 22px rgba(53,214,255,.18);
  backdrop-filter: blur(4px);
}

.live-player-overlay {
  position: absolute;
  inset: auto 14px 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
}

.live-player-badge {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .45px;
  color: #dceaf3;
  background: rgba(8,25,37,.62);
  border: 1px solid rgba(255,255,255,.08);
}

.live-player-badge.alt { color: #ffb3bc; }

.live-player-shot .live-player-overlay::before {
  content: "";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 50%;
  top: -82px;
  transform: translateX(-50%);
  color: #dff4ff;
  font-size: 20px;
  z-index: 3;
}

.live-player-timeline {
  min-height: 52px;
  padding: 10px 12px 12px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 10px;
  background: rgba(255,255,255,.018);
  overflow: hidden;
}

.timeline-select-window {
  position: relative;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.02)),
    repeating-linear-gradient(90deg,transparent 0 29px,rgba(255,255,255,.03) 30px);
}

.timeline-select-window::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  height: 22px;
  transform: translateY(-50%);
  border-radius: 4px;
  background: #d4d8de;
}

.timeline-select-window::after {
  content: "";
  position: absolute;
  left: 34%;
  width: 12%;
  top: 50%;
  height: 22px;
  transform: translateY(-50%);
  border-radius: 4px;
  background: rgba(46,123,247,.15);
  box-shadow: inset 2px 0 0 #4ee58b,
    inset -2px 0 0 #ff6e64;
}

.timeline-pin {
  position: absolute;
  top: -4px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .3px;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-pin.in { left: 34%; background: #ff625b; }

.timeline-pin.out { left: 46%; background: #4da4ff; }

.timeline-cursor {
  position: absolute;
  top: 13px;
  bottom: 8px;
  left: 40%;
  width: 2px;
  background: #46c7ff;
  box-shadow: 0 0 12px rgba(70,199,255,.4);
  animation: liveTimelineCursor 4.2s ease-in-out infinite alternate;
}

@keyframes liveTimelineCursor {
  from { left: 35.2%; }

  to { left: 44.2%; }
}

.live-player-controls {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 10px;
  background: rgba(255,255,255,.015);
  color: #8ea2b3;
  font-size: 10px;
}

.control-time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.control-time strong { color: #d7e4ee; font-size: 12px; }

.control-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #9fb5c6;
}

.control-actions .play-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg,#35d6ff,#2f6bff);
  box-shadow: 0 10px 20px rgba(47,107,255,.18);
  animation: livePlayPulse 2.2s ease-in-out infinite;
}

@keyframes livePlayPulse {
  0%,100% { transform: scale(1); }

  50% { transform: scale(1.06); }
}

.control-export {
  display: flex;
  gap: 7px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.control-export span {
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800;
}

.chip-green { background: rgba(78,229,139,.10); color: #6ef0a5; }

.chip-red { background: rgba(255,110,100,.10); color: #ff8d86; }

.chip-blue { background: rgba(53,214,255,.10); color: #8cdbff; }

.live-edit-sidebar {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  min-height: 0;
}

.live-sidebar-card {
  padding: 12px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  background: rgba(255,255,255,.015);
  color: #8fa5b6;
  font-size: 10px;
}

.live-sidebar-card.primary { background: rgba(255,255,255,.022); }

.sidebar-title {
  color: #dce8f0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .5px;
  margin-bottom: 10px;
}

.sidebar-title.slim { margin-bottom: 8px; }

.sidebar-title.small-gap { margin-top: 12px; }

.live-cut-row {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.cut-label { font-weight: 900; font-size: 9px; }

.cut-label.in { color: #69e69f; }

.cut-label.out { color: #ff857d; }

.cut-time {
  padding: 8px 10px;
  border-radius: 8px;
  color: #d3e0e9;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
}

.live-cut-duration { margin: 10px 0; }

.live-update-button, .live-export-cta {
  display: grid;
  place-items: center;
  min-height: 36px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 900;
  background: linear-gradient(135deg,#5d95ff,#4f82f6);
  color: #fff;
}

.live-queue-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  align-items: start;
  padding: 10px;
  border-radius: 8px;
  background: rgba(140,189,255,.08);
  border: 1px solid rgba(145,192,255,.18);
}

.queue-dot {
  width: 10px;
  height: 10px;
  margin-top: 2px;
  border-radius: 50%;
  background: #59dd82;
  box-shadow: 0 0 8px rgba(89,221,130,.45);
}

.live-queue-item b {
  display: block;
  color: #d8e6ef;
  margin-bottom: 2px;
}

.live-input-pill {
  padding: 10px 12px;
  border-radius: 8px;
  color: #d3e0e9;
  border: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.025);
}

.live-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
  margin-bottom: 12px;
}

.live-tag-grid span {
  padding: 6px 8px;
  border-radius: 8px;
  color: #dce8f3;
  font-size: 9px;
  background: rgba(82,144,255,.14);
  border: 1px solid rgba(130,176,255,.12);
}

.live-flow-motion {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.live-scanline {
  position: absolute;
  left: 18px;
  right: 244px;
  top: -10%;
  height: 24%;
  opacity: .10;
  background: linear-gradient(180deg,transparent,rgba(53,214,255,.20),transparent);
  animation: liveFlowScan 5.4s ease-in-out infinite;
}

@keyframes liveFlowScan {
  0% { transform: translateY(-10%); opacity: 0; }

  20% { opacity: .10; }

  80% { opacity: .14; }

  100% { transform: translateY(420%); opacity: 0; }
}

.timeline-pulse {
  position: absolute;
  left: 26%;
  bottom: 98px;
  width: 88px;
  height: 2px;
  background: linear-gradient(90deg,transparent,#35d6ff,transparent);
  box-shadow: 0 0 10px rgba(53,214,255,.34);
  animation: timelinePulseMove 4.2s ease-in-out infinite alternate;
}

@keyframes timelinePulseMove {
  from { left: 30%; }

  to { left: 41%; }
}

@media (max-width:1140px) {
  .live-flow-main { grid-template-columns: 1fr 190px; }

  .live-player-screen { padding: 6px; }

  .live-player-shot { min-height: 160px; }

  .live-player-controls { grid-template-columns: 110px 1fr; }

  .control-export { grid-column: 1 / -1; justify-content: flex-start; }

  .live-scanline { right: 212px; }
}

@media (max-width:720px) {
  .browser-content-live { padding: 8px; }

  .live-flow-card { padding: 8px; }

  .live-flow-main { grid-template-columns: 1fr; gap: 8px; }

  .live-player-panel { gap: 8px; }

  .live-player-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .live-player-shot { min-height: 150px; }

  .live-player-controls { grid-template-columns: 1fr; justify-items: flex-start; }

  .control-actions { width: 100%; justify-content: flex-start; }

  .control-export { justify-content: flex-start; }

  .live-edit-sidebar { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }

  .live-sidebar-card:last-child { grid-column: 1 / -1; }

  .live-scanline { left: 12px; right: 12px; }

  .timeline-pulse { bottom: 214px; }
}

@media (max-width:480px) {
  .live-edit-sidebar { grid-template-columns: 1fr; }

  .live-player-title { width: 100%; }

  .live-player-title span { max-width: 160px; }

  .live-player-link { font-size: 8px; }

  .live-player-controls { padding: 8px; }
}

@media (prefers-reduced-motion:reduce) {
  .timeline-cursor, .control-actions .play-button, .live-scanline, .timeline-pulse { animation: none !important; }
}

/* ==========================================================
   LIVE HERO SLIDE — simplified like Wave
   ========================================================== */

.browser-content-live { display: flex; flex-direction: column; }

.browser-live-preview {
  min-height: 330px;
  padding: 16px;
  border-radius: 13px;
  border: 1px solid rgba(53,214,255,.10);
  background: rgba(255,255,255,.012);
}

.browser-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.browser-live-kicker {
  color: #c8d6e0;
  font-size: 10px;
  font-weight: 800;
}

.browser-live-duration { color: #7f94a7; font-size: 9px; }

.browser-live-screen {
  height: 190px;
  padding: 8px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.05);
  background: #f1f3f5;
}

.browser-live-shot {
  position: relative;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg,rgba(7,16,25,.08),rgba(7,16,25,.06)),
    var(--slide-live-bg) center center / cover no-repeat,
    #d9dde3;
}

.browser-live-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent,transparent 75%,rgba(0,0,0,.10));
}

.browser-live-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #eaf8ff;
  background: rgba(8,26,38,.56);
  border: 1px solid rgba(53,214,255,.28);
  box-shadow: 0 0 18px rgba(53,214,255,.16);
  backdrop-filter: blur(3px);
  animation: livePlayPulse 2.2s ease-in-out infinite;
}

.browser-live-badges {
  position: absolute;
  inset: auto 12px 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.browser-live-badges span {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .4px;
  color: #dceaf3;
  background: rgba(8,25,37,.62);
  border: 1px solid rgba(255,255,255,.08);
}

.browser-live-cutbar {
  margin-top: 12px;
  padding: 8px 10px 10px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 9px;
  background: rgba(255,255,255,.012);
}

.browser-live-track {
  position: relative;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.02)),
    repeating-linear-gradient(90deg,transparent 0 29px,rgba(255,255,255,.03) 30px);
}

.browser-live-track::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 4px;
  background: #d4d8de;
}

.live-range {
  position: absolute;
  left: 34%;
  width: 12%;
  top: 50%;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 4px;
  background: rgba(46,123,247,.15);
  box-shadow: inset 2px 0 0 #4ee58b, inset -2px 0 0 #ff6e64;
}

.live-pin {
  position: absolute;
  top: -4px;
  transform: translateX(-50%);
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
}

.live-pin.in { left: 34%; background: #ff625b; }

.live-pin.out { left: 46%; background: #4da4ff; }

.live-cursor {
  position: absolute;
  top: 12px;
  bottom: 8px;
  left: 40%;
  width: 2px;
  background: #46c7ff;
  box-shadow: 0 0 12px rgba(70,199,255,.4);
  animation: liveTimelineCursor 4.2s ease-in-out infinite alternate;
}

.browser-live-meta {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin-top: 12px;
}

.browser-live-meta > div {
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.012);
  font-size: 10px;
}

.browser-live-meta b {
  display: block;
  color: #63dcff;
  margin-bottom: 4px;
}

.browser-live-meta span { color: #c0ccd5; }

.live-simple-timeline-pulse {
  position: absolute;
  left: 36%;
  bottom: 78px;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg,transparent,#35d6ff,transparent);
  box-shadow: 0 0 10px rgba(53,214,255,.34);
  animation: timelinePulseMove 4.2s ease-in-out infinite alternate;
}

.live-motion-overlay {
  position: absolute;
  inset: 16px;
  z-index: 6;
  pointer-events: none;
  border-radius: 12px;
  overflow: hidden;
}

.live-scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  height: 26%;
  opacity: .14;
  background: linear-gradient(180deg,transparent,rgba(53,214,255,.22),transparent);
  animation: liveScan 4.8s ease-in-out infinite;
}

@media (max-width:720px) {
  .browser-live-preview { min-height: 260px; padding: 10px; }

  .browser-live-screen { height: 130px; }

  .browser-live-meta { grid-template-columns: 1fr; }

  .live-simple-timeline-pulse { bottom: 112px; }
}

/* ==========================================================
   HOMEPAGE PRODUCT TEASERS — make them dynamic like hero
   ========================================================== */

.teaser-live .teaser-placeholder {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,rgba(7,16,25,.10),rgba(7,16,25,.08)),
    var(--slide-live-bg) center center / cover no-repeat,
    radial-gradient(circle at 50% 45%,rgba(53,214,255,.06),transparent 34%),
    #0a1520;
}

.teaser-live .teaser-placeholder::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 36%;
  background: linear-gradient(180deg,transparent,rgba(53,214,255,.18),transparent);
  opacity: .12;
  animation: liveScan 5.2s ease-in-out infinite;
}

.teaser-live .teaser-placeholder::after {
  content: "";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #eaf8ff;
  background: rgba(8,26,38,.56);
  border: 1px solid rgba(53,214,255,.28);
  box-shadow: 0 0 18px rgba(53,214,255,.16);
  animation: livePlayPulse 2.2s ease-in-out infinite;
}

.teaser-live .teaser-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.teaser-live .teaser-badge span {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .4px;
  color: #dceaf3;
  background: rgba(8,25,37,.62);
  border: 1px solid rgba(255,255,255,.08);
}

.teaser-wave .mini-waveform { position: relative; overflow: hidden; }

.teaser-wave .mini-waveform::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 4%;
  width: 1px;
  background: linear-gradient(180deg,transparent,#35d6ff,#35d6ff,transparent);
  box-shadow: 0 0 12px rgba(53,214,255,.38);
  animation: wavePlayhead 5.4s linear infinite;
}

.teaser-clips .mini-editor-preview { position: relative; overflow: hidden; }

.teaser-clips .mini-editor-preview::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 28%;
  border-radius: 14px;
  border: 1.5px solid rgba(53,214,255,.78);
  box-shadow: 0 0 0 1px rgba(53,214,255,.16),0 0 20px rgba(53,214,255,.18);
  background: linear-gradient(180deg,rgba(53,214,255,.06),rgba(47,107,255,.03));
  animation: storyPanMini 4.6s ease-in-out infinite alternate;
}

.teaser-clips .mini-editor-preview::after {
  content: "9:16";
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 999px;
  color: #d8eef8;
  font-size: 8px;
  font-weight: 800;
  background: rgba(7,16,25,.64);
  border: 1px solid rgba(53,214,255,.22);
}

@keyframes storyPanMini {
  from { left: 0%; }

  to { left: calc(100% - 28%); }
}

.teaser-relay .relay-map { position: relative; }

.teaser-relay .relay-core { position: relative; animation: relayCorePulse 2.4s ease-in-out infinite; }

@keyframes relayCorePulse {
  0%,100% { box-shadow: 0 0 45px rgba(53,214,255,.08); }

  50% { box-shadow: 0 0 60px rgba(53,214,255,.16); }
}

.teaser-relay .output-stack .relay-node { position: relative; overflow: visible; }

.teaser-relay .output-stack .relay-node::before {
  content: "";
  position: absolute;
  left: -44px;
  top: 50%;
  width: 36px;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg,rgba(53,214,255,.05),#35d6ff,rgba(47,107,255,.85));
}

.teaser-relay .output-stack .relay-node::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #35d6ff;
  box-shadow: 0 0 12px rgba(53,214,255,.68);
  animation: relayMiniPulse 2.6s ease-in-out infinite;
}

.teaser-relay .output-stack .relay-node:nth-child(2)::after { animation-delay: .45s; }

.teaser-relay .output-stack .relay-node:nth-child(3)::after { animation-delay: .9s; }

@keyframes relayMiniPulse {
  0%,100% { transform: translateY(-50%) scale(.85); opacity: .45; }

  50% { transform: translateY(-50%) scale(1.2); opacity: 1; }
}

@media (prefers-reduced-motion:reduce) {
  .teaser-live .teaser-placeholder::before, .teaser-live .teaser-placeholder::after, .teaser-wave .mini-waveform::after, .teaser-clips .mini-editor-preview::before, .teaser-relay .relay-core, .teaser-relay .output-stack .relay-node::after {
    animation: none !important;
  }
}

/* ==========================================================
   FINAL HOME TWEAKS - nav says Audio - top hero live slide has no screenshot image - top hero relay slide rebuilt cleaner - lower home live teaser taller for image fit
   ========================================================== */

.browser-live-shot {
  background: radial-gradient(circle at 50% 35%,rgba(53,214,255,.10),transparent 28%),
    linear-gradient(180deg,#081521,#0b1b27) !important;
}

.browser-live-shot::before {
  background: linear-gradient(180deg,rgba(255,255,255,.03),transparent 22%,transparent 82%,rgba(255,255,255,.02)),
    repeating-linear-gradient(90deg,transparent 0 36px,rgba(255,255,255,.03) 37px) !important;
}

.teaser-live .teaser-window { min-height: 378px; }

.teaser-live .teaser-placeholder {
  min-height: 334px;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: #0a1520;
}

@media (max-width:720px) {
  .teaser-live .teaser-window { min-height: 320px; }

  .teaser-live .teaser-placeholder { min-height: 270px; }
}

.browser-content-relay {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.browser-relay-preview {
  position: relative;
  width: 100%;
  min-height: 330px;
  border: 1px solid rgba(53,214,255,.10);
  border-radius: 13px;
  background: radial-gradient(circle at 48% 50%,rgba(53,214,255,.08),transparent 30%),
    rgba(255,255,255,.012);
  overflow: hidden;
}

.browser-relay-static-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.relay-static-path {
  fill: none;
  stroke: url(#relayStaticGradient);
  stroke-width: .45;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .92;
}

.relay-static-dot { fill: #35d6ff; opacity: 0; }

.relay-static-node, .relay-static-core { position: absolute; z-index: 2; }

.relay-static-node {
  min-height: 72px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

.relay-static-node b {
  color: #f0f5f8;
  font-size: 12px;
  margin-bottom: 6px;
}

.relay-static-node span { color: #9bafbd; font-size: 10px; }

.relay-static-input {
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 28%;
}

.relay-static-core {
  left: 40%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #35d6ff;
  font-size: 22px;
  background: linear-gradient(135deg,rgba(53,214,255,.16),rgba(47,107,255,.12));
  border: 1px solid rgba(53,214,255,.28);
  box-shadow: 0 0 36px rgba(53,214,255,.10);
}

.relay-static-out { left: 60%; width: 31%; }

.relay-static-out1 { top: 10%; }

.relay-static-out2 { top: 50%; transform: translateY(-50%); }

.relay-static-out3 { bottom: 10%; }

@media (max-width:720px) {
  .browser-relay-preview { min-height: 300px; }

  .relay-static-input {
    left: 8%;
    top: 18%;
    transform: none;
    width: 84%;
  }

  .relay-static-core {
    left: 50%;
    top: 46%;
    transform: translate(-50%,-50%);
  }

  .relay-static-out { left: 8%; width: 84%; }

  .relay-static-out1 { top: auto; bottom: 31%; }

  .relay-static-out2 {
    top: auto;
    bottom: 18%;
    transform: none;
  }

  .relay-static-out3 { top: auto; bottom: 5%; }

  .relay-static-path { stroke-width: .65; }
}

@media (prefers-reduced-motion:reduce) {
  .relay-static-dot { display: none; }
}

/* ==========================================================
   HOMEPAGE HERO RELAY — match reference style closer
   ========================================================== */

.browser-content-relay {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.browser-relay-preview.hero-relay-reference {
  position: relative;
  width: 100%;
  min-height: 330px;
  border: 1px solid rgba(53,214,255,.14);
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%,rgba(53,214,255,.10),transparent 30%),
    linear-gradient(180deg,rgba(7,18,28,.90),rgba(6,16,25,.96));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
}

.relay-preview-grid {
  position: absolute;
  inset: 0;
  opacity: .32;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 24px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.75), rgba(0,0,0,.55));
}

.browser-relay-static-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.relay-static-path {
  fill: none;
  stroke: url(#relayStaticGradient);
  stroke-width: .48;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .96;
}

.relay-static-port {
  fill: #06111a;
  stroke: #35d6ff;
  stroke-width: .35;
  filter: url(#relayStaticGlow);
}

.relay-static-dot { fill: #35d6ff; opacity: 0; }

.relay-static-node, .relay-static-core { position: absolute; z-index: 2; }

.relay-static-node {
  min-height: 72px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(3,10,18,.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02),
    0 0 0 1px rgba(255,255,255,.01);
}

.relay-static-node b {
  color: #f2f6fa;
  font-size: 12px;
  margin-bottom: 6px;
}

.relay-static-node span { color: #a0b4c3; font-size: 10px; }

.relay-static-input {
  left: 5.8%;
  top: 44%;
  transform: translateY(-50%);
  width: 25%;
}

.relay-static-core {
  left: 41.5%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 96px;
  height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 22px;
  color: #35d6ff;
  background: linear-gradient(135deg,rgba(53,214,255,.18),rgba(47,107,255,.14));
  border: 1px solid rgba(53,214,255,.30);
  box-shadow: 0 0 46px rgba(53,214,255,.10),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.relay-static-core i { font-size: 22px; }

.relay-static-core strong {
  color: #eff6fa;
  font-size: 12px;
  letter-spacing: .3px;
}

.relay-static-out { left: 69.5%; width: 26.5%; }

.relay-static-out1 { top: 12%; }

.relay-static-out2 { top: 34.5%; }

.relay-static-out3 { top: 57%; }

.relay-static-out4 { top: 79.5%; transform: translateY(-100%); }

@media (max-width:1140px) {
  .relay-static-input { width: 27%; }

  .relay-static-out { width: 27%; left: 68.5%; }
}

@media (max-width:720px) {
  .browser-relay-preview.hero-relay-reference { min-height: 340px; }

  .relay-preview-grid { opacity: .24; }

  .relay-static-input {
    left: 8%;
    top: 18%;
    transform: none;
    width: 84%;
  }

  .relay-static-core {
    left: 50%;
    top: 40%;
    transform: translate(-50%,-50%);
    width: 82px;
    height: 82px;
    border-radius: 18px;
  }

  .relay-static-core i { font-size: 20px; }

  .relay-static-core strong { font-size: 11px; }

  .relay-static-out { left: 8%; width: 84%; }

  .relay-static-out1 { top: 50%; }

  .relay-static-out2 { top: 64%; }

  .relay-static-out3 { top: 78%; }

  .relay-static-out4 { top: 92%; transform: translateY(-100%); }

  .relay-static-path { stroke-width: .62; }
}

@media (prefers-reduced-motion:reduce) {
  .relay-static-dot { display: none; }
}

/* ==========================================================
   STATIC HERO SLIDER UPDATE - remove internal slide animations - remove bottom text label - full-width bottom slider buttons
   ========================================================== */

.hero-browser-carousel .slide-bg::before { animation: none !important; transform: none !important; }

.hero-browser-carousel .live-motion-overlay, .hero-browser-carousel .wave-motion-overlay, .hero-browser-carousel .clips-motion-overlay {
  display: none !important;
}

.hero-browser-carousel .live-scanline, .hero-browser-carousel .live-simple-timeline-pulse, .hero-browser-carousel .wave-playhead, .hero-browser-carousel .wave-sweep, .hero-browser-carousel .clips-shimmer, .hero-browser-carousel .story-pan-frame, .hero-browser-carousel .live-cursor, .hero-browser-carousel .browser-live-play, .hero-browser-carousel .relay-static-dot {
  animation: none !important;
}

.hero-browser-carousel .story-pan-frame { display: none !important; }

.hero-browser-carousel .relay-static-dot { display: none !important; }

.hero-browser-carousel .control-actions .play-button, .hero-browser-carousel .teaser-live .teaser-placeholder::after {
  animation: none !important;
}

/* ==========================================================
   Remove the footer text completely and make the footer controls full width
   ========================================================== */

.browser-carousel-footer {
  min-height: auto;
  padding: 12px 0 0;
  display: block;
}

.browser-carousel-label { display: none !important; }

.browser-carousel-dots {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  align-items: center;
  gap: 10px;
}

.browser-carousel-dots button {
  width: 100%;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,255,255,.14);
  transition: background .28s ease, transform .28s ease, box-shadow .28s ease;
}

.browser-carousel-dots button:hover { transform: none; background: rgba(255,255,255,.22); }

.browser-carousel-dots button.active {
  width: 100%;
  background: linear-gradient(90deg,#35d6ff,#2f6bff);
  box-shadow: 0 0 0 1px rgba(53,214,255,.18), 0 0 16px rgba(53,214,255,.16);
}

.hero-browser-carousel { display: flex; flex-direction: column; }

.browser-carousel-track { flex: 1 1 auto; }

.browser-shell { height: 100%; }

.hero-browser-carousel .browser-live-shot {
  background: radial-gradient(circle at 50% 35%,rgba(53,214,255,.10),transparent 28%),
    linear-gradient(180deg,#081521,#0b1b27) !important;
}

.hero-browser-carousel .browser-live-shot::before {
  background: linear-gradient(180deg,rgba(255,255,255,.03),transparent 22%,transparent 82%,rgba(255,255,255,.02)),
    repeating-linear-gradient(90deg,transparent 0 36px,rgba(255,255,255,.03) 37px) !important;
}

.hero-browser-carousel .browser-live-play {
  display: grid !important;
  transform: translate(-50%,-50%);
  opacity: .9;
}

/* ==========================================================
   Keep the AI clips frame as a static visual reference if desired
   ========================================================== */

.hero-browser-carousel .story-pan-track {
  left: 8.5% !important;
  right: 33% !important;
  top: 10.5% !important;
  bottom: 14.2% !important;
}

.hero-browser-carousel .story-pan-frame {
  display: block !important;
  top: 0 !important;
  bottom: 0 !important;
  height: 100% !important;
  width: 30% !important;
  left: 34% !important;
  aspect-ratio: auto !important;
  transform: none !important;
  animation: none !important;
  border-radius: 18px !important;
}

.hero-browser-carousel .browser-relay-static-svg animateMotion, .hero-browser-carousel .browser-relay-static-svg animate {
  display: none !important;
}

@media (max-width:720px) {
  .browser-carousel-dots { gap: 8px; }

  .browser-carousel-dots button { height: 9px; }

  .hero-browser-carousel .story-pan-track {
    left: 8.5% !important;
    right: 8.5% !important;
    top: 8.8% !important;
    bottom: 39% !important;
  }

  .hero-browser-carousel .story-pan-frame {
    width: 34% !important;
    left: 33% !important;
    border-radius: 14px !important;
  }
}

/* ==========================================================
   HOMEPAGE STAGGERED PRODUCT ROWS Alternate left/right on desktop.
   ========================================================== */

.product-teaser-section:nth-of-type(1), .product-teaser-section:nth-of-type(2), .product-teaser-section:nth-of-type(3), .product-teaser-section:nth-of-type(4) {
  position: relative;
}

.product-teaser-section .product-teaser { align-items: center; }

.product-teaser-section:nth-of-type(odd) .teaser-copy { padding-right: 8px; }

.product-teaser-section:nth-of-type(even) .teaser-copy { padding-left: 8px; }

.product-teaser-section.teaser-live .product-teaser, .product-teaser-section.teaser-relay .product-teaser {
  grid-template-columns: .86fr 1.14fr;
}

.product-teaser-section.teaser-clips .product-teaser.reverse, .product-teaser-section.teaser-wave .product-teaser.reverse {
  grid-template-columns: 1.14fr .86fr;
}

/* ==========================================================
   HOMEPAGE RELAY TEASER — use relay-page style animated paths
   ========================================================== */

.teaser-relay-map {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 96px 1.35fr;
  gap: 18px;
  align-items: center;
  background: radial-gradient(circle at 51% 50%,rgba(53,214,255,.08),transparent 28%),
    linear-gradient(180deg,rgba(11,24,34,.93),rgba(7,18,27,.96));
  border-color: rgba(53,214,255,.15);
}

.teaser-relay-map .relay-grid {
  position: absolute;
  inset: 0;
  opacity: .28;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 24px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), rgba(0,0,0,.6));
  z-index: 0;
}

.teaser-relay-map .relay-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
  display: block;
}

.teaser-relay-map .relay-link-path {
  fill: none;
  stroke: url(#homeRelayLineGradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: .92;
}

.teaser-relay-map .relay-moving-dot { fill: #35d6ff; opacity: 0; }

.teaser-relay-map .relay-node, .teaser-relay-map .relay-core-mini {
  position: relative;
  z-index: 5;
  overflow: visible;
}

.teaser-relay-map .relay-node {
  text-align: left;
  background: rgba(4,12,20,.78);
  border: 1px solid rgba(255,255,255,.08);
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.teaser-relay-map .relay-node strong { display: block; margin-bottom: 5px; text-align:  center;}

.teaser-relay-map .relay-port {
  position: absolute;
  left: -5px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #35d6ff;
  border: 2px solid rgba(7,16,25,.92);
  box-shadow: 0 0 0 1px rgba(53,214,255,.30), 0 0 14px rgba(53,214,255,.68);
  z-index: 8;
}

.teaser-relay-map .relay-port-input {
  left: auto;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
}

.teaser-relay-map .relay-core-mini {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,rgba(53,214,255,.18),rgba(47,107,255,.14));
  border: 1px solid rgba(53,214,255,.28);
  color: #35d6ff;
  font-size: 24px;
  box-shadow: 0 0 45px rgba(53,214,255,.08);
}

.teaser-relay-map .home-relay-outputs { display: grid; gap: 10px; }

.teaser-relay-map .output-endpoint { padding-left: 18px; }

@media (max-width:980px) {
  .product-teaser, .product-teaser.reverse { grid-template-columns: 1fr !important; gap: 30px; }

  .product-teaser.reverse .teaser-copy { justify-self: start; padding-left: 0; }

  .product-teaser .teaser-copy { padding-right: 0; }
}

@media (max-width:720px) {
  .teaser-relay-map {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 14px;
  }

  .teaser-relay-map .relay-node { text-align: left; }

  .teaser-relay-map .home-relay-input { order: 1; }

  .teaser-relay-map .relay-core-mini { order: 2; justify-self: center; }

  .teaser-relay-map .home-relay-outputs { order: 3; }

  .teaser-relay-map .relay-port {
    left: 50%;
    top: -5px;
    transform: translateX(-50%);
  }

  .teaser-relay-map .relay-port-input {
    left: 50%;
    right: auto;
    top: auto;
    bottom: -5px;
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion:reduce) {
  .teaser-relay-map .relay-moving-dot { display: none; }
}

/* ==========================================================
   REQUESTED CLEANUP PASS
   ========================================================== */

.browser-live-preview-simple { min-height: 330px; padding: 14px; }

.browser-live-screen-dark {
  height: 230px;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(53,214,255,.10);
  background: linear-gradient(180deg,#07131d,#0a1823);
  overflow: hidden;
}

.browser-live-shot-clean {
  position: relative;
  height: 100%;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 50%,rgba(53,214,255,.10),transparent 28%),
    linear-gradient(180deg,#06111a,#091521);
}

.browser-live-shot-clean::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.browser-live-signal, .live-signal-broadcast {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 94px;
  height: 94px;
}

.signal-ring {
  position: absolute;
  inset: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px solid rgba(53,214,255,.14);
}

.signal-ring.ring-1 { width: 44px; height: 44px; }

.signal-ring.ring-2 { width: 68px; height: 68px; }

.signal-ring.ring-3 { width: 92px; height: 92px; }

.signal-core {
  position: absolute;
  inset: 50%;
  transform: translate(-50%,-50%);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(53,214,255,.10);
  border: 1px solid rgba(53,214,255,.24);
  color: #dff7ff;
  box-shadow: 0 0 24px rgba(53,214,255,.16);
  font-size: 18px;
}

.browser-live-corner-tag {
  position: absolute;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .4px;
  color: #dceaf3;
  background: rgba(8,25,37,.68);
  border: 1px solid rgba(255,255,255,.08);
}

.browser-live-corner-tag.tag-left { left: 14px; }

.browser-live-corner-tag.tag-right { right: 14px; }

.browser-live-simple-track {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  margin-top: 14px;
}

.browser-live-simple-track .seg {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}

.browser-live-simple-track .seg.active { background: linear-gradient(90deg,#35d6ff,#2f6bff); box-shadow: 0 0 0 1px rgba(53,214,255,.18),0 0 16px rgba(53,214,255,.14); }

.browser-content-live .live-motion-overlay, .browser-content-live .browser-live-cutbar, .browser-content-live .browser-live-meta {
  display: none !important;
}

.browser-live-preview-simple .browser-live-head { margin-bottom: 12px; }

.browser-live-preview-simple .browser-live-kicker { font-size: 10px; }

.browser-live-preview-simple .browser-live-duration { font-size: 9px; }

.hero-browser-carousel .browser-live-shot { background: linear-gradient(180deg,#07131d,#0a1823) !important; }

.hero-browser-carousel .browser-live-play { display: none !important; }

.hero-browser-carousel .browser-live-shot::before { background: none !important; }

.teaser-window-live-clean { min-height: 360px; }

.teaser-placeholder-live-clean {
  min-height: 308px;
  padding: 22px;
  background: radial-gradient(circle at 50% 50%,rgba(53,214,255,.08),transparent 30%),
    linear-gradient(180deg,#06121b,#091521) !important;
}

.live-player-clean { width: 100%; height: 100%; }

.live-player-screen {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 250px;
  border-radius: 18px;
  border: 1px solid rgba(53,214,255,.12);
  background: linear-gradient(180deg,rgba(255,255,255,.01),rgba(255,255,255,.015)),
    linear-gradient(180deg,#07131d,#0a1823);
  overflow: hidden;
}

.teaser-placeholder-live-clean > i, .teaser-placeholder-live-clean > strong, .teaser-placeholder-live-clean > span {
  display: none !important;
}

.teaser-live .teaser-placeholder::before { display: none !important; }

.teaser-live .teaser-placeholder::after { display: none !important; }

.live-player-screen .signal-ring { animation: signalPulse 2.5s ease-in-out infinite; }

.live-player-screen .signal-ring.ring-2 { animation-delay: .2s; }

.live-player-screen .signal-ring.ring-3 { animation-delay: .4s; }

@keyframes signalPulse {
  0%,100% { opacity: .35; transform: translate(-50%,-50%) scale(1); }

  50% { opacity: .85; transform: translate(-50%,-50%) scale(1.04); }
}

.browser-wave-preview-real { min-height: 330px; padding: 14px; }

.browser-waveform-real {
  position: relative;
  height: 185px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.06);
  background: radial-gradient(circle at 50% 50%,rgba(53,214,255,.04),transparent 34%),
    linear-gradient(180deg,#08151f,#0a1823);
  overflow: hidden;
}

.wave-bars {
  position: absolute;
  inset: 20px 24px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.wave-bar {
  flex: 1 1 auto;
  border-radius: 999px;
  background: linear-gradient(180deg,rgba(53,214,255,.22),rgba(53,214,255,.9),rgba(53,214,255,.22));
  align-self: center;
  min-width: 2px;
}

.wave-bar.h1 { height: 8px; }

.wave-bar.h2 { height: 14px; }

.wave-bar.h3 { height: 20px; }

.wave-bar.h4 { height: 28px; }

.wave-bar.h5 { height: 36px; }

.wave-bar.h6 { height: 48px; }

.wave-bar.h7 { height: 62px; }

.wave-bar.h8 { height: 44px; }

.wave-bar.h9 { height: 24px; }

.wave-bar.h10 { height: 12px; }

.wave-center-marker {
  position: absolute;
  left: 50%;
  top: 16px;
  bottom: 16px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg,transparent,#d9f7ff,#d9f7ff,transparent);
  box-shadow: 0 0 14px rgba(53,214,255,.36);
}

.browser-wave-preview-real .browser-wave-meta { margin-top: 12px; }

.browser-content-wave .wave-motion-overlay { display: none !important; }

.browser-content-relay { padding: 14px; }

.hero-relay-clean {
  position: relative;
  min-height: 330px;
  border-radius: 18px;
  border: 1px solid rgba(53,214,255,.14);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 24px),
    linear-gradient(180deg,#08151f,#091621);
  overflow: hidden;
}

.hero-relay-clean::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 45% 50%,rgba(53,214,255,.10),transparent 28%);
  pointer-events: none;
}

.relay-static-path-clean {
  fill: none;
  stroke: url(#relayStaticGradientClean);
  stroke-width: .55;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .96;
}

.relay-static-port-clean {
  fill: #07131d;
  stroke: #35d6ff;
  stroke-width: .35;
}

.relay-static-node-clean, .relay-static-core-clean { position: absolute; z-index: 2; }

.relay-static-node-clean {
  min-height: 68px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(3,10,18,.78);
  display: flex;
  align-items: center;
  gap: 12px;
}

.relay-static-node-clean b {
  display: block;
  color: #f2f6fa;
  font-size: 12px;
  margin-bottom: 5px;
}

.relay-static-node-clean span { color: #9fb1bf; font-size: 10px; }

.relay-static-input-clean {
  left: 7%;
  top: 38%;
  transform: translateY(-50%);
  width: 20%;
}

.relay-input-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #35d6ff;
  background: rgba(53,214,255,.08);
  border: 1px solid rgba(53,214,255,.16);
  flex: 0 0 auto;
}

.relay-static-core-clean {
  left: 40%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #35d6ff;
  background: linear-gradient(135deg,rgba(53,214,255,.18),rgba(47,107,255,.14));
  border: 1px solid rgba(53,214,255,.30);
  box-shadow: 0 0 40px rgba(53,214,255,.10);
}

.relay-static-core-clean strong { color: #eff6fa; font-size: 12px; }

.relay-static-out-clean {
  left: 69%;
  width: 25%;
  display: block;
}

.relay-static-out1-clean { top: 12%; }

.relay-static-out2-clean { top: 39%; }

.relay-static-out3-clean { top: 66%; }

@media (max-width:720px) {
  .hero-relay-clean { min-height: 350px; }

  .relay-static-input-clean {
    left: 8%;
    top: 14%;
    transform: none;
    width: 84%;
  }

  .relay-static-core-clean {
    left: 50%;
    top: 40%;
    transform: translate(-50%,-50%);
    width: 82px;
    height: 82px;
    border-radius: 18px;
  }

  .relay-static-out-clean { left: 8%; width: 84%; }

  .relay-static-out1-clean { top: 52%; }

  .relay-static-out2-clean { top: 66%; }

  .relay-static-out3-clean { top: 80%; }
}

.teaser-relay .output-stack .relay-node::before, .teaser-relay .output-stack .relay-node::after { display: none !important; }

.relay-node-input-clean {
  width: 76%;
  max-width: 210px;
  text-align: left !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

.relay-node-input-clean strong { display: block; margin-bottom: 4px; }

.teaser-relay-map { grid-template-columns: .76fr 86px 1.18fr; }

.teaser-relay-map .home-relay-outputs { display: grid; gap: 14px; }

.teaser-relay-map .home-relay-input {
  min-height: 64px;
  width: 100%;
  max-width: 210px;
  justify-self: start;
}

.teaser-relay-map .output-endpoint { min-height: 64px; }

.teaser-relay-map .relay-node { text-align: left; }

.teaser-relay-map .relay-link-path { stroke-width: 2.1; }

@media (max-width:720px) {
  .relay-node-input-clean { max-width: none; width: 100%; }

  .teaser-relay-map { grid-template-columns: 1fr; }
}

.hero-browser-carousel .relay-static-dot { display: none !important; }

/* ==========================================================
   Refinement pass: LIVE hero timeline + RELAY hero spacing
   ========================================================== */

.browser-live-preview-simple { min-height: 340px; }

.browser-live-timeline-editor {
  margin-top: 14px;
  padding: 10px 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.01));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

.timeline-ruler {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 8px;
  margin-bottom: 8px;
  color: #8498aa;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15px;
}

.timeline-lane {
  position: relative;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.02)),
    repeating-linear-gradient(90deg,transparent 0 34px,rgba(255,255,255,.035) 34px 35px);
  border: 1px solid rgba(255,255,255,.04);
  overflow: hidden;
}

.timeline-clip {
  position: absolute;
  left: 6%;
  right: 8%;
  top: 9px;
  height: 14px;
  border-radius: 5px;
  background: rgba(145,154,167,.22);
}

.timeline-range {
  position: absolute;
  left: 34%;
  width: 18%;
  top: 7px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(90deg,rgba(255,90,84,.14),rgba(79,164,255,.16));
  box-shadow: inset 2px 0 0 #ff625b, inset -2px 0 0 #4da4ff;
}

.timeline-cursor {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 43%;
  width: 2px;
  background: #35d6ff;
  box-shadow: 0 0 12px rgba(53,214,255,.26);
}

.timeline-pin {
  position: absolute;
  top: -2px;
  padding: 2px 6px;
  border-radius: 999px;
  color: #fff;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .3px;
  transform: translateX(-50%);
}

.timeline-pin.pin-in { left: 34%; background: #ff625b; }

.timeline-pin.pin-out { left: 52%; background: #4da4ff; }

.timeline-controls {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  margin-top: 9px;
}

.control-pill {
  padding: 5px 9px;
  border-radius: 999px;
  color: #9cb0bf;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .35px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}

.control-pill.active {
  color: #dff7ff;
  border-color: rgba(53,214,255,.18);
  background: rgba(53,214,255,.08);
}

.browser-live-simple-track { display: none !important; }

.hero-relay-refined {
  min-height: 340px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.032) 0 1px, transparent 1px 24px),
    linear-gradient(180deg,#08151f,#091621);
}

.hero-relay-refined .relay-static-path-clean { stroke-width: .58; }

.hero-relay-refined .relay-static-node-clean {
  min-height: 70px;
  padding: 14px 16px;
  border-radius: 16px;
}

.hero-relay-refined .relay-static-input-clean {
  left: 7.5%;
  top: 50%;
  transform: translateY(-50%);
  width: 18%;
  min-width: 105px;
  justify-content: flex-start;
}

.hero-relay-refined .relay-input-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.hero-relay-refined .relay-static-core-clean {
  left: 38.5%;
  top: 50%;
  width: 98px;
  height: 98px;
  transform: translate(-50%,-50%);
}

.hero-relay-refined .relay-static-out-clean {
  left: 66%;
  width: 24%;
  min-width: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.hero-relay-refined .relay-static-out1-clean { top: 13%; }

.hero-relay-refined .relay-static-out2-clean { top: 39.8%; }

.hero-relay-refined .relay-static-out3-clean { top: 66.6%; }

.hero-relay-refined .relay-static-node-clean b { margin-bottom: 6px; line-height: 1.1; }

.hero-relay-refined .relay-static-node-clean span { line-height: 1.2; }

@media (max-width:720px) {
  .browser-live-timeline-editor { padding: 9px 10px 10px; }

  .timeline-ruler { font-size: 7px; }

  .timeline-lane { height: 28px; }

  .timeline-clip { top: 8px; height: 12px; }

  .timeline-range { top: 6px; height: 16px; }

  .hero-relay-refined { min-height: 352px; }

  .hero-relay-refined .relay-static-input-clean {
    left: 8%;
    top: 14%;
    width: 84%;
    min-width: 0;
    transform: none;
  }

  .hero-relay-refined .relay-static-core-clean {
    left: 50%;
    top: 39%;
    width: 84px;
    height: 84px;
  }

  .hero-relay-refined .relay-static-out-clean {
    left: 8%;
    width: 84%;
    min-width: 0;
  }

  .hero-relay-refined .relay-static-out1-clean { top: 53%; }

  .hero-relay-refined .relay-static-out2-clean { top: 67%; }

  .hero-relay-refined .relay-static-out3-clean { top: 81%; }
}

/* ==========================================================
   Minimal hero cleanup: AI Clips + Relay
   ========================================================== */

/* ==========================================================
   AI Clips hero
   ========================================================== */

.browser-clip-preview-clean { min-height: 320px; }

.browser-clip-main-clean {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 228px;
  padding: 18px;
}

.browser-clip-main-clean .browser-demo-icon, .browser-clip-main-clean strong, .browser-clip-main-clean > span {
  display: none !important;
}

.clip-story-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 184px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clip-story-frame {
  position: relative;
  width: 30%;
  min-width: 92px;
  max-width: 118px;
  height: 100%;
  min-height: 184px;
  border-radius: 18px;
  border: 1.5px solid rgba(53,214,255,.75);
  background: radial-gradient(circle at 50% 42%,rgba(53,214,255,.08),transparent 28%),
    linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.01));
  box-shadow: 0 0 0 1px rgba(53,214,255,.14),
    0 0 20px rgba(53,214,255,.12);
}

.clip-story-safe {
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px dashed rgba(53,214,255,.22);
}

.clip-story-label {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  color: #dff7ff;
  background: rgba(7,18,27,.78);
  border: 1px solid rgba(53,214,255,.16);
}

.clip-caption-stack {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 38px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.clip-caption-line {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg,rgba(53,214,255,.9),rgba(47,107,255,.9));
  opacity: .95;
}

.clip-caption-line.line-1 { width: 88%; }

.clip-caption-line.line-2 { width: 78%; }

.clip-caption-line.line-3 { width: 62%; }

@media (max-width:720px) {
  .clip-story-frame { width: 36%; min-width: 98px; }
}

.hero-relay-iconic .relay-static-input-icon-only {
  width: 62px;
  min-width: 62px;
  height: 62px;
  min-height: 62px;
  padding: 0;
  display: grid;
  place-items: center;
  left: 9%;
  top: 50%;
  transform: translateY(-50%);
}

.hero-relay-iconic .relay-static-input-icon-only .relay-input-icon { margin: 0; }

.hero-relay-iconic .relay-static-core-icon-only {
  width: 92px;
  height: 92px;
  left: 39%;
  top: 50%;
  transform: translate(-50%,-50%);
  gap: 0;
}

.hero-relay-iconic .relay-static-core-icon-only strong { display: none !important; }

.hero-relay-iconic .relay-static-core-icon-only i { font-size: 24px; }

.hero-relay-iconic .relay-static-out-clean {
  left: 66%;
  width: 24%;
  min-width: 146px;
}

.hero-relay-iconic .relay-static-out1-clean { top: 13%; }

.hero-relay-iconic .relay-static-out2-clean { top: 39.8%; }

.hero-relay-iconic .relay-static-out3-clean { top: 66.6%; }

@media (max-width:720px) {
  .hero-relay-iconic .relay-static-input-icon-only {
    left: 50%;
    top: 14%;
    transform: translateX(-50%);
  }

  .hero-relay-iconic .relay-static-core-icon-only {
    left: 50%;
    top: 39%;
    width: 84px;
    height: 84px;
  }

  .hero-relay-iconic .relay-static-out-clean {
    left: 8%;
    width: 84%;
    min-width: 0;
  }
}

/* ==========================================================
   Bottom homepage relay teaser refinement
   ========================================================== */

.teaser-relay .teaser-relay-map { grid-template-columns: .78fr 82px 1.00fr; gap: 60px; }

.teaser-relay .teaser-relay-map .home-relay-outputs {
  gap: 30px;
  justify-items: start;
  align-content: center;
}

.teaser-relay .teaser-relay-map .output-endpoint {
  width: 100%;
  max-width: 180px;
  min-height: 58px;
  padding: 12px 14px 12px 16px;
  border-radius: 14px;
}

.teaser-relay .teaser-relay-map .output-endpoint strong { font-size: 12px; margin-bottom: 4px; }

.teaser-relay .teaser-relay-map .output-endpoint .small { font-size: 10px; text-align: center;}

.teaser-relay .teaser-relay-map .home-relay-input { max-width: 190px; }

.teaser-relay .teaser-relay-map .relay-link-path { stroke-width: 2.05; }

@media (max-width: 720px) {
  .teaser-relay .teaser-relay-map { grid-template-columns: 1fr; gap: 16px; }

  .teaser-relay .teaser-relay-map .output-endpoint { max-width: none; width: 100%; }
}

/* ==========================================================
   Footer social icons Replace the # href values in each HTML file with your StreamCentral social profile URLs when ready.
   ========================================================== */

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #8fa7b8;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.075);
  background: rgba(255,255,255,.018);
  transition: color .25s ease,
    border-color .25s ease,
    background .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.footer-social a:hover {
  color: #dff8ff;
  border-color: rgba(53,214,255,.28);
  background: rgba(53,214,255,.075);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.20),0 0 16px rgba(53,214,255,.08);
}

.footer-social a:focus-visible { outline: 2px solid rgba(53,214,255,.65); outline-offset: 3px; }

@media (max-width:720px) {
  .footer-social { margin-top: 16px; }

  .footer-social a { width: 36px; height: 36px; }
}

/* ==========================================================
   FINAL HERO FIXES
   ========================================================== */

.slide-bg-live::before, .slide-bg-live::after, .browser-content-live::before, .browser-content-live::after, .browser-live-preview::before, .browser-live-preview::after, .browser-content-live img, .browser-content-live picture, .browser-content-live .browser-demo-placeholder, .browser-content-live .browser-live-preview > img {
  display: none !important;
  content: none !important;
  background-image: none !important;
}

.browser-content-live { background: none !important; }

.browser-live-screen-dark, .browser-live-shot-clean, .browser-live-shot {
  background: radial-gradient(circle at 50% 50%,rgba(53,214,255,.10),transparent 28%),
    linear-gradient(180deg,#06111a,#091521) !important;
}

.clip-story-frame {
  width: 40% !important;
  min-width: 124px !important;
  max-width: 154px !important;
}

@media (max-width:720px) {
  .clip-story-frame {
    width: 44% !important;
    min-width: 116px !important;
    max-width: 150px !important;
  }
}

.hero-relay-iconic .relay-static-input-icon-only {
  left: 8.5% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: grid !important;
  place-items: center !important;
}

.hero-relay-iconic .relay-static-input-icon-only .relay-input-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin: 0 auto !important;
}

.hero-relay-iconic .relay-static-core-icon-only {
  left: 37.5% !important;
  top: 50% !important;
  transform: translate(-50%,-50%) !important;
}

.hero-relay-iconic .relay-static-out-clean {
  left: 68.5% !important;
  width: 22.5% !important;
  min-width: 138px !important;
}

.hero-relay-iconic .relay-static-out1-clean { top: 14% !important; }

.hero-relay-iconic .relay-static-out2-clean { top: 40.5% !important; }

.hero-relay-iconic .relay-static-out3-clean { top: 67% !important; }

.hero-relay-iconic .browser-relay-static-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
}

.hero-relay-iconic .relay-static-path-clean { stroke-width: .7 !important; }

.hero-relay-iconic .relay-static-port-clean { r: 1.15; }

@media (max-width:720px) {
  .hero-relay-iconic .relay-static-input-icon-only {
    left: 50% !important;
    top: 14% !important;
    transform: translateX(-50%) !important;
  }

  .hero-relay-iconic .relay-static-core-icon-only { left: 50% !important; top: 39% !important; }

  .hero-relay-iconic .relay-static-out-clean {
    left: 8% !important;
    width: 84% !important;
    min-width: 0 !important;
  }
}

/* ==========================================================
   RELAY PRODUCT PAGE HERO — corrected 4-output animated layout
   ========================================================== */

.page-relay .relay-diagram {
  min-height: 500px;
  overflow: hidden;
  background: radial-gradient(circle at 51% 50%,rgba(53,214,255,.075),transparent 30%),
    linear-gradient(180deg,rgba(8,21,31,.94),rgba(6,17,26,.98));
}

.page-relay .relay-grid { opacity: .32; }

.page-relay .relay-page-input {
  left: 5.5%;
  top: 50%;
  width: 168px;
  min-height: 70px;
  transform: translateY(-50%);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 14px;
}

.page-relay .relay-page-output {
  right: 4.5%;
  width: 174px;
  min-height: 66px;
  padding: 10px 13px 10px 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
}

.page-relay .out1 { top: 12%; }

.page-relay .out2 { top: 33%; }

.page-relay .out3 { top: 54%; }

.page-relay .out4 { top: 75%; }

.page-relay .relay-page-node-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #35d6ff;
  background: rgba(53,214,255,.07);
  border: 1px solid rgba(53,214,255,.16);
  font-size: 12px;
}

.page-relay .relay-page-node-copy { min-width: 0; }

.page-relay .relay-page-node-copy b {
  display: block;
  margin: 0 0 4px;
  color: #f2f6fa;
  font-size: 11px;
  line-height: 1.1;
}

.page-relay .relay-page-node-copy span {
  display: block;
  color: #9fb2c1;
  font-size: 9px;
  line-height: 1.25;
}

.page-relay .relay-core-large {
  left: 50%;
  top: 50%;
  width: 116px;
  height: 116px;
  transform: translate(-50%,-50%);
  border-radius: 24px;
}

.page-relay .relay-core-large > div { gap: 7px; }

.page-relay .relay-core-large i { font-size: 25px; }

.page-relay .relay-core-large b { font-size: 12px; }

.page-relay .relay-page-output .relay-port {
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
}

.page-relay .relay-page-input .relay-port-input {
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
}

.page-relay .relay-link-path { stroke-width: 2; }

.page-relay .relay-page-input, .page-relay .relay-page-output, .page-relay .relay-core-large { z-index: 5; }

@media (max-width:1140px) {
  .page-relay .relay-page-input { left: 4%; width: 154px; }

  .page-relay .relay-page-output { right: 3%; width: 160px; }

  .page-relay .relay-core-large { width: 108px; height: 108px; }
}

@media (max-width:720px) {
  .page-relay .relay-diagram { min-height: auto; padding: 18px; }

  .page-relay .relay-page-input, .page-relay .relay-page-output, .page-relay .relay-core-large {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    max-width: none;
    transform: none;
  }

  .page-relay .relay-page-input { min-height: 62px; }

  .page-relay .relay-page-output { min-height: 60px; }

  .page-relay .relay-core-large {
    width: 92px;
    height: 92px;
    justify-self: center;
    margin: 4px auto;
  }

  .page-relay .relay-page-input .relay-port-input {
    left: 50%;
    right: auto;
    top: auto;
    bottom: -5px;
    transform: translateX(-50%);
  }

  .page-relay .relay-page-output .relay-port {
    left: 50%;
    top: -5px;
    transform: translateX(-50%);
  }
}

/* ==========================================================
   PRIMARY BUTTON POLISH White text + lighter weight across blue CTA buttons
   ========================================================== */

.btn.primary, a.btn.primary, button.btn.primary {
  color: #fff !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.btn.primary:hover, a.btn.primary:hover, button.btn.primary:hover { color: #fff !important; }

/* ==========================================================
   BOOK DEMO MODAL
   ========================================================== */

body.demo-modal-open { overflow: hidden; }

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.demo-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,9,15,.78);
  backdrop-filter: blur(10px);
}

.demo-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px,100%);
  max-height: min(820px,calc(100vh - 48px));
  overflow: auto;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(53,214,255,.16);
  background: radial-gradient(circle at 88% 4%,rgba(53,214,255,.09),transparent 28%),
    linear-gradient(180deg,#0d1d29,#08151f);
  box-shadow: 0 38px 100px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.025);
  transform: translateY(18px) scale(.985);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}

.demo-modal.is-open .demo-modal-dialog { transform: translateY(0) scale(1); }

.demo-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  color: #9eb1c0;
  background: rgba(255,255,255,.025);
  cursor: pointer;
  transition: color .2s ease,border-color .2s ease,background .2s ease,transform .2s ease;
}

.demo-modal-close:hover {
  color: #fff;
  border-color: rgba(53,214,255,.25);
  background: rgba(53,214,255,.07);
  transform: rotate(4deg);
}

.demo-modal-heading {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding-right: 42px;
  margin-bottom: 25px;
}

.demo-modal-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #35d6ff;
  background: rgba(53,214,255,.08);
  border: 1px solid rgba(53,214,255,.17);
  font-size: 17px;
}

.demo-modal-heading .kicker { margin-bottom: 5px; color: #35d6ff; }

.demo-modal-heading h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.08;
}

.demo-modal-heading p {
  margin: 0;
  color: #96aabb;
  font-size: 14px;
  line-height: 1.55;
}

.demo-contact-form { margin: 0; }

.demo-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.demo-contact-form label { display: block; }

.demo-contact-form label > .demo-field-label {
  display: block;
  margin: 0 0 7px;
  color: #b9c8d4;
  font-size: 11px;
  font-weight: 700;
}

.demo-form-full { grid-column: 1 / -1; }

.demo-contact-form input, .demo-contact-form select, .demo-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 11px;
  color: #e8f1f7;
  background: rgba(255,255,255,.025);
  outline: none;
  font: inherit;
  font-size: 13px;
  transition: border-color .2s ease,background .2s ease,box-shadow .2s ease;
}

.demo-contact-form input, .demo-contact-form select { height: 46px; padding: 0 13px; }

.demo-contact-form textarea {
  min-height: 110px;
  resize: vertical;
  padding: 12px 13px;
}

.demo-contact-form input::placeholder, .demo-contact-form textarea::placeholder { color: #63798a; }

.demo-contact-form select { color-scheme: dark; }

.demo-contact-form input:focus, .demo-contact-form select:focus, .demo-contact-form textarea:focus {
  border-color: rgba(53,214,255,.42);
  background: rgba(53,214,255,.035);
  box-shadow: 0 0 0 3px rgba(53,214,255,.06);
}

.demo-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}

.demo-form-note {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 365px;
  color: #718697;
  font-size: 10px;
  line-height: 1.4;
}

.demo-form-note i { color: #35d6ff; font-size: 10px; }

.demo-submit {
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.demo-form-status {
  min-height: 18px;
  margin-top: 12px;
  color: #75dcff;
  font-size: 11px;
  text-align: right;
}

@media (max-width:720px) {
  .demo-modal { padding: 12px; }

  .demo-modal-dialog {
    max-height: calc(100vh - 24px);
    padding: 24px 18px 20px;
    border-radius: 20px;
  }

  .demo-modal-heading {
    grid-template-columns: 42px 1fr;
    gap: 12px;

    padding-right: 32px;
  }

  .demo-modal-icon { width: 42px; height: 42px; }

  .demo-modal-heading h2 { font-size: 24px; }

  .demo-form-grid { grid-template-columns: 1fr; gap: 13px; }

  .demo-form-full { grid-column: auto; }

  .demo-form-footer { align-items: stretch; flex-direction: column; }

  .demo-submit { width: 100%; }

  .demo-form-status { text-align: left; }
}

/* ==========================================================
   AUDIO WAVE BAR ANIMATION
   ========================================================== */

.waveform.waveform-bars-shell, .mini-waveform.mini-waveform-bars-shell {
  background: repeating-linear-gradient(90deg,transparent 0 23px,rgba(255,255,255,.04) 24px),
    repeating-linear-gradient(0deg,transparent 0 28px,rgba(255,255,255,.035) 29px),
    linear-gradient(180deg,rgba(53,214,255,.03),rgba(47,107,255,.02));
}

.waveform.waveform-bars-shell::before, .mini-waveform.mini-waveform-bars-shell::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg,transparent,rgba(53,214,255,.25),rgba(47,107,255,.35),rgba(53,214,255,.25),transparent);
  opacity: .75;
}

.audio-wave-bars {
  position: absolute;
  inset: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.mini-audio-wave-bars { inset: 18px 20px; gap: 3px; }

.pulse-bar {
  width: 4px;
  height: calc(var(--h) * 1px);
  border-radius: 999px;
  align-self: center;
  background: linear-gradient(180deg,rgba(53,214,255,.32),rgba(53,214,255,.95),rgba(47,107,255,.78),rgba(53,214,255,.32));
  box-shadow: 0 0 8px rgba(53,214,255,.16);
  transform-origin: center center;
  animation: audioBarPulse 2.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * .03s);
}

.mini-audio-wave-bars .pulse-bar { width: 3px; }

.audio-wave-marker {
  position: absolute;
  left: 50%;
  top: 14px;
  bottom: 14px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg,transparent,rgba(217,247,255,.95),rgba(217,247,255,.95),transparent);
  box-shadow: 0 0 14px rgba(53,214,255,.55), 0 0 24px rgba(53,214,255,.25);
}

.mini-audio-wave-marker { top: 12px; bottom: 12px; }

@keyframes audioBarPulse {
  0%,100% { transform: scaleY(.84); opacity: .75; }

  50% { transform: scaleY(1.12); opacity: 1; }
}

.audio-wave-bars .pulse-bar:nth-child(31), .audio-wave-bars .pulse-bar:nth-child(32), .audio-wave-bars .pulse-bar:nth-child(33), .audio-wave-bars .pulse-bar:nth-child(34), .audio-wave-bars .pulse-bar:nth-child(35), .audio-wave-bars .pulse-bar:nth-child(36), .audio-wave-bars .pulse-bar:nth-child(37) {
  animation-duration: 1.8s;
}

.waveform.waveform-bars-shell::after, .mini-waveform.mini-waveform-bars-shell::after { content: none !important; }

@media (max-width:720px) {
  .audio-wave-bars { inset: 16px 14px; gap: 2px; }

  .pulse-bar { width: 3px; }

  .waveform { height: 150px; }

  .mini-audio-wave-bars .pulse-bar { width: 2px; }
}

.waveform.waveform-bars-shell::before, .mini-waveform.mini-waveform-bars-shell::before { box-shadow: none !important; filter: none !important; }

/* ==========================================================
   AI CLIPS SMART-CROP DEMO Use the same side-to-side motion crop on the clips page hero and the homepage AI Clips teaser.
   ========================================================== */

.editor-preview-motion, .mini-editor-preview-motion {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 52%,rgba(53,214,255,.06),transparent 34%),
    repeating-linear-gradient(90deg,transparent 0 20px,rgba(255,255,255,.03) 21px),
    linear-gradient(180deg,rgba(53,214,255,.045),rgba(47,107,255,.025));
}

.story-pan-demo { position: absolute; inset: 0; }

.editor-preview-motion .story-pan-track, .mini-editor-preview-motion .story-pan-track {
  left: 7%;
  right: 7%;
  top: 8%;
  bottom: 10%;
}

.editor-preview-motion .clips-focus-ring { left: 15%; top: 18%; }

.mini-editor-preview-motion .clips-focus-ring {
  width: 66px;
  height: 42px;
  left: 12%;
  top: 20%;
}

.editor-preview-motion .story-pan-frame { width: min(30%, 168px); }

.mini-editor-preview-motion .story-pan-frame { width: min(35%, 104px); border-radius: 16px; }

.story-pan-screen { display: block; }

.story-pan-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,rgba(53,214,255,.95),rgba(47,107,255,.82));
  box-shadow: 0 0 10px rgba(53,214,255,.14);
}

.story-pan-caption-1 { bottom: 48px; right: 20%; }

.story-pan-caption-2 {
  bottom: 34px;
  right: 28%;
  opacity: .92;
}

.story-pan-caption-3 {
  bottom: 20px;
  right: 40%;
  opacity: .78;
}

.mini-editor-preview-motion .story-pan-caption {
  height: 6px;
  left: 10px;
  right: 10px;
}

.mini-editor-preview-motion .story-pan-caption-1 { bottom: 40px; right: 18%; }

.mini-editor-preview-motion .story-pan-caption-2 { bottom: 29px; right: 26%; }

.mini-editor-preview-motion .story-pan-caption-3 { bottom: 18px; right: 42%; }

.mini-editor-preview-motion .story-pan-label {
  bottom: 7px;
  padding: 3px 7px;
  font-size: 8px;
}

.editor-preview-motion .clips-shimmer {
  left: -28%;
  bottom: 18px;
  width: 24%;
}

.mini-editor-preview-motion .clips-shimmer {
  left: -34%;
  bottom: 14px;
  width: 38%;
  height: 6px;
}

.editor-preview-motion, .mini-editor-preview-motion { color: transparent; font-size: 0; }

.editor-preview-motion > i, .editor-preview-motion > span, .mini-editor-preview-motion > i, .mini-editor-preview-motion > span {
  display: none !important;
}

@media (max-width:720px) {
  .editor-preview-motion .story-pan-frame { width: min(34%, 128px); }

  .mini-editor-preview-motion .story-pan-frame { width: min(34%, 92px); }

  .editor-preview-motion .story-pan-track, .mini-editor-preview-motion .story-pan-track { left: 5%; right: 5%; }
}

/* ==========================================================
   AI CLIPS SINGLE-CROP FIX Homepage teaser + AI Clips page: one moving vertical frame only, with captions inside.
   ========================================================== */

.editor-preview-motion .clips-focus-ring, .mini-editor-preview-motion .clips-focus-ring { display: none !important; }

.editor-preview-motion .story-pan-track, .mini-editor-preview-motion .story-pan-track {
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.editor-preview-motion .story-pan-track::before, .editor-preview-motion .story-pan-track::after, .mini-editor-preview-motion .story-pan-track::before, .mini-editor-preview-motion .story-pan-track::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.editor-preview-motion .story-pan-frame {
  top: 0 !important;
  bottom: 0 !important;
  height: 100% !important;
  width: min(31%, 170px) !important;
  aspect-ratio: auto !important;
  transform: none !important;
  border: 1.5px solid rgba(53,214,255,.82) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg,rgba(53,214,255,.055),rgba(47,107,255,.025)),
    rgba(7,16,25,.18) !important;
  box-shadow: 0 0 0 1px rgba(53,214,255,.12),
    0 0 22px rgba(53,214,255,.14) !important;
  animation: singleStoryCropDesktop 4.8s ease-in-out infinite alternate !important;
}

.mini-editor-preview-motion .story-pan-frame {
  top: 0 !important;
  bottom: 0 !important;
  height: 100% !important;
  width: min(34%, 108px) !important;
  aspect-ratio: auto !important;
  transform: none !important;
  border: 1.5px solid rgba(53,214,255,.82) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg,rgba(53,214,255,.055),rgba(47,107,255,.025)),
    rgba(7,16,25,.18) !important;
  box-shadow: 0 0 0 1px rgba(53,214,255,.12),
    0 0 18px rgba(53,214,255,.12) !important;
  animation: singleStoryCropHome 4.8s ease-in-out infinite alternate !important;
}

.editor-preview-motion .story-pan-screen, .mini-editor-preview-motion .story-pan-screen {
  inset: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: radial-gradient(circle at 50% 35%,rgba(53,214,255,.055),transparent 36%),
    linear-gradient(180deg,rgba(255,255,255,.01),rgba(255,255,255,.015)) !important;
}

.editor-preview-motion .story-pan-screen::before, .editor-preview-motion .story-pan-screen::after, .mini-editor-preview-motion .story-pan-screen::before, .mini-editor-preview-motion .story-pan-screen::after {
  content: none !important;
  display: none !important;
}

.editor-preview-motion .story-pan-caption, .mini-editor-preview-motion .story-pan-caption {
  display: block !important;
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(90deg,#35d6ff,#2f6bff) !important;
  box-shadow: 0 0 10px rgba(53,214,255,.12);
}

.editor-preview-motion .story-pan-caption { left: 14px; height: 8px; }

.editor-preview-motion .story-pan-caption-1 { right: 18%; bottom: 48px; }

.editor-preview-motion .story-pan-caption-2 { right: 28%; bottom: 34px; }

.editor-preview-motion .story-pan-caption-3 { right: 42%; bottom: 20px; }

.mini-editor-preview-motion .story-pan-caption { left: 10px; height: 6px; }

.mini-editor-preview-motion .story-pan-caption-1 { right: 16%; bottom: 39px; }

.mini-editor-preview-motion .story-pan-caption-2 { right: 28%; bottom: 28px; }

.mini-editor-preview-motion .story-pan-caption-3 { right: 43%; bottom: 17px; }

.editor-preview-motion .story-pan-label, .mini-editor-preview-motion .story-pan-label { z-index: 3; }

@keyframes singleStoryCropDesktop {
  from { left: 0%; }

  to { left: calc(100% - min(31%, 170px)); }
}

@keyframes singleStoryCropHome {
  from { left: 0%; }

  to { left: calc(100% - min(34%, 108px)); }
}

@media (max-width:720px) {
  .editor-preview-motion .story-pan-frame { width: min(34%, 128px) !important; animation-name: singleStoryCropDesktopMobile !important; }

  .mini-editor-preview-motion .story-pan-frame { width: min(36%, 96px) !important; animation-name: singleStoryCropHomeMobile !important; }

  @keyframes singleStoryCropDesktopMobile {
    from { left: 0%; }

    to { left: calc(100% - min(34%, 128px)); }
  }

  @keyframes singleStoryCropHomeMobile {
    from { left: 0%; }

    to { left: calc(100% - min(36%, 96px)); }
  }
}

@media (prefers-reduced-motion:reduce) {
  .editor-preview-motion .story-pan-frame, .mini-editor-preview-motion .story-pan-frame { animation: none !important; left: 33% !important; }
}

/* ==========================================================
   FINAL RESPONSIVE ANIMATION PASS Fixes duplicate AI crop frame and keeps animated UI stable across desktop, tablet and mobile.
   ========================================================== */

/* ==========================================================
   ---------------------------------------------------------- AI CLIPS — ONE crop frame only ----------------------------------------------------------
   ========================================================== */

.teaser-clips .mini-editor-preview::before, .teaser-clips .mini-editor-preview::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}

.editor-preview-motion .clips-focus-ring, .mini-editor-preview-motion .clips-focus-ring { display: none !important; }

.editor-preview-motion .story-pan-track, .mini-editor-preview-motion .story-pan-track {
  position: absolute !important;
  left: 6% !important;
  right: 6% !important;
  top: 7% !important;
  bottom: 7% !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  outline: 0 !important;
  background: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.editor-preview-motion .story-pan-track::before, .editor-preview-motion .story-pan-track::after, .mini-editor-preview-motion .story-pan-track::before, .mini-editor-preview-motion .story-pan-track::after {
  content: none !important;
  display: none !important;
}

.editor-preview-motion .story-pan-frame, .mini-editor-preview-motion .story-pan-frame {
  left: 0 !important;
  top: 0 !important;
  bottom: auto !important;
  height: 100% !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  aspect-ratio: 9 / 16 !important;
  transform: translateX(0);
  border: 1.5px solid rgba(53,214,255,.84) !important;
  background: rgba(7,17,26,.16) !important;
  box-shadow: 0 0 0 1px rgba(53,214,255,.10),0 0 20px rgba(53,214,255,.12) !important;
  animation: smartCropRail 4.8s ease-in-out infinite alternate !important;
  will-change: transform;
}

.editor-preview-motion .story-pan-frame { border-radius: 19px !important; }

.mini-editor-preview-motion .story-pan-frame { border-radius: 15px !important; }

@keyframes smartCropRail {
  from { transform: translateX(0); }

  to { transform: translateX(var(--crop-travel, 0px)); }
}

.editor-preview-motion .story-pan-screen, .mini-editor-preview-motion .story-pan-screen {
  position: absolute !important;
  inset: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: inherit !important;
  background: radial-gradient(circle at 50% 38%,rgba(53,214,255,.06),transparent 36%),
    linear-gradient(180deg,rgba(255,255,255,.012),rgba(255,255,255,.018)) !important;
  box-shadow: none !important;
}

.editor-preview-motion .story-pan-screen::before, .editor-preview-motion .story-pan-screen::after, .mini-editor-preview-motion .story-pan-screen::before, .mini-editor-preview-motion .story-pan-screen::after {
  content: none !important;
  display: none !important;
}

.editor-preview-motion .story-pan-caption, .mini-editor-preview-motion .story-pan-caption {
  position: absolute !important;
  left: 12% !important;
  height: clamp(5px,1.2vw,8px) !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg,#35d6ff,#2f6bff) !important;
  box-shadow: 0 0 9px rgba(53,214,255,.12) !important;
}

.editor-preview-motion .story-pan-caption-1, .mini-editor-preview-motion .story-pan-caption-1 {
  width: 72% !important;
  right: auto !important;
  bottom: 21% !important;
}

.editor-preview-motion .story-pan-caption-2, .mini-editor-preview-motion .story-pan-caption-2 {
  width: 61% !important;
  right: auto !important;
  bottom: 15% !important;
}

.editor-preview-motion .story-pan-caption-3, .mini-editor-preview-motion .story-pan-caption-3 {
  width: 48% !important;
  right: auto !important;
  bottom: 9% !important;
}

.editor-preview-motion .story-pan-label, .mini-editor-preview-motion .story-pan-label {
  left: 50% !important;
  bottom: 3% !important;
  z-index: 4 !important;
  padding: 3px 7px !important;
  font-size: 8px !important;
}

@media (max-width:980px) {
  .clips-hero { grid-template-columns: 1fr !important; gap: 34px !important; }

  .page-clips .editor-shell {
    width: 100% !important;
    max-width: 760px !important;
    justify-self: stretch !important;
  }
}

@media (max-width:760px) {
  .page-clips .editor-body { grid-template-columns: 1fr !important; }

  .page-clips .editor-side { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }

  .page-clips .editor-preview { min-height: 300px !important; }

  .teaser-clips .mini-editor-body { grid-template-columns: 1fr !important; }

  .teaser-clips .mini-editor-side { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }

  .editor-preview-motion .story-pan-track, .mini-editor-preview-motion .story-pan-track {
    left: 5% !important;
    right: 5% !important;
    top: 7% !important;
    bottom: 7% !important;
  }
}

@media (max-width:520px) {
  .page-clips .editor-preview { min-height: 260px !important; }

  .page-clips .editor-side, .teaser-clips .mini-editor-side { grid-template-columns: 1fr !important; }

  .mini-editor-preview-motion { min-height: 190px !important; }

  .editor-preview-motion .story-pan-caption, .mini-editor-preview-motion .story-pan-caption { height: 5px !important; }
}

/* ==========================================================
   ---------------------------------------------------------- AUDIO / WAVE — responsive bar animation ----------------------------------------------------------
   ========================================================== */

.audio-wave-bars { gap: clamp(1px,.28vw,4px) !important; }

.audio-wave-bars .pulse-bar {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 1px !important;
  max-width: 4px !important;
}

.mini-audio-wave-bars .pulse-bar { max-width: 3px !important; }

@media (max-width:760px) {
  .audio-hero { grid-template-columns: 1fr !important; gap: 32px !important; }

  .audio-console { width: 100% !important; }

  .audio-wave-bars { inset: 16px 14px !important; }

  .waveform.waveform-bars-shell { height: 150px !important; }
}

@media (max-width:480px) {
  .waveform.waveform-bars-shell { height: 130px !important; }

  .mini-waveform.mini-waveform-bars-shell { height: 120px !important; }
}

/* ==========================================================
   ---------------------------------------------------------- LIVE — keep broadcast animation centered/scaled responsively ----------------------------------------------------------
   ========================================================== */

.browser-live-signal, .live-signal-broadcast { width: clamp(72px,10vw,94px) !important; height: clamp(72px,10vw,94px) !important; }

.signal-core { width: clamp(42px,5vw,50px) !important; height: clamp(42px,5vw,50px) !important; }

@media (max-width:520px) {
  .teaser-window-live-clean { min-height: 300px !important; }

  .teaser-placeholder-live-clean { min-height: 248px !important; padding: 14px !important; }

  .live-player-screen { min-height: 215px !important; }
}

/* ==========================================================
   ---------------------------------------------------------- RELAY — let SVG geometry win; avoid clipping at breakpoints ----------------------------------------------------------
   ========================================================== */

.page-relay .relay-diagram, .teaser-relay .teaser-relay-map { overflow: hidden !important; }

.page-relay .relay-links, .teaser-relay .relay-links { overflow: visible !important; }

@media (min-width:721px) and (max-width:980px) {
  .teaser-relay .teaser-relay-map {
    grid-template-columns: .72fr 76px 1.08fr !important;
    gap: 14px !important;
    padding: 20px !important;
  }

  .teaser-relay .teaser-relay-map .home-relay-input { max-width: 170px !important; }

  .teaser-relay .teaser-relay-map .output-endpoint { max-width: 210px !important; }
}

@media (prefers-reduced-motion:reduce) {
  .editor-preview-motion .story-pan-frame, .mini-editor-preview-motion .story-pan-frame { animation: none !important; transform: translateX(var(--crop-rest,0px)) !important; }

  .audio-wave-bars .pulse-bar, .live-player-screen .signal-ring, .teaser-relay .relay-moving-dot, .page-relay .relay-moving-dot {
    animation: none !important;
  }
}

/* ==========================================================
   SMART CROP MOTION — RESTORED Homepage AI Clips teaser + AI Clips page JS drives the actual responsive side-to-side crop movement.
   ========================================================== */

.editor-preview-motion .story-pan-frame, .mini-editor-preview-motion .story-pan-frame {
  animation: none !important;
  left: 0 !important;
  transform: translate3d(0,0,0);
  will-change: transform;
}

.editor-preview-motion .story-pan-frame {
  height: 100% !important;
  aspect-ratio: 9 / 16 !important;
  width: auto !important;
  border-radius: 20px !important;
}

.mini-editor-preview-motion .story-pan-frame {
  height: 100% !important;
  aspect-ratio: 9 / 16 !important;
  width: auto !important;
  border-radius: 16px !important;
}

.editor-preview-motion .story-pan-caption, .mini-editor-preview-motion .story-pan-caption { transform: none !important; }

.editor-preview-motion .story-pan-track {
  left: 6% !important;
  right: 6% !important;
  top: 7% !important;
  bottom: 7% !important;
  overflow: hidden !important;
}

.mini-editor-preview-motion .story-pan-track {
  left: 5% !important;
  right: 5% !important;
  top: 7% !important;
  bottom: 7% !important;
  overflow: hidden !important;
}

@media (min-width:981px) {
  .editor-preview-motion .story-pan-track { top: 5% !important; bottom: 5% !important; }
}

@media (max-width:980px) {
  .editor-preview-motion .story-pan-track { left: 5% !important; right: 5% !important; }

  .mini-editor-preview-motion .story-pan-track { left: 5% !important; right: 5% !important; }
}

@media (max-width:720px) {
  .editor-preview-motion .story-pan-track, .mini-editor-preview-motion .story-pan-track {
    left: 4% !important;
    right: 4% !important;
    top: 6% !important;
    bottom: 6% !important;
  }
}

@media (prefers-reduced-motion:reduce) {
  .editor-preview-motion .story-pan-frame, .mini-editor-preview-motion .story-pan-frame { animation: none !important; }
}

/* ==========================================================
   FINAL AI CLIPS CROP MOTION FIX Pure CSS so the crop cannot get pinned by JS/layout timing.
   ========================================================== */

/* ==========================================================
   Normal AI Clips page
   ========================================================== */

.editor-preview-motion .story-pan-track {
  position: absolute !important;
  left: 6% !important;
  right: 6% !important;
  top: 7% !important;
  bottom: 7% !important;
  overflow: hidden !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.editor-preview-motion .story-pan-frame {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  width: 30% !important;
  height: auto !important;
  aspect-ratio: 9 / 16 !important;
  transform: translate3d(0,-50%,0) !important;
  animation: clipsManualCropPage 5.6s ease-in-out infinite alternate !important;
  will-change: transform !important;
}

/* ==========================================================
   Homepage bottom AI Clips teaser
   ========================================================== */

.mini-editor-preview-motion .story-pan-track {
  position: absolute !important;
  left: 5% !important;
  right: 5% !important;
  top: 7% !important;
  bottom: 7% !important;
  overflow: hidden !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.mini-editor-preview-motion .story-pan-frame {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  width: 28% !important;
  height: auto !important;
  aspect-ratio: 9 / 16 !important;
  transform: translate3d(0,-50%,0) !important;
  animation: clipsManualCropHome 5.6s ease-in-out infinite alternate !important;
  will-change: transform !important;
}

@keyframes clipsManualCropPage {
  0%, 8% { transform: translate3d(0,-50%,0); }

  46%, 54% { transform: translate3d(116.665%,-50%,0); }

  92%, 100% { transform: translate3d(233.33%,-50%,0); }
}

@keyframes clipsManualCropHome {
  0%, 8% { transform: translate3d(0,-50%,0); }

  46%, 54% { transform: translate3d(128.57%,-50%,0); }

  92%, 100% { transform: translate3d(257.14%,-50%,0); }
}

.editor-preview-motion .clips-focus-ring, .mini-editor-preview-motion .clips-focus-ring { display: none !important; }

.editor-preview-motion .story-pan-track::before, .editor-preview-motion .story-pan-track::after, .mini-editor-preview-motion .story-pan-track::before, .mini-editor-preview-motion .story-pan-track::after {
  display: none !important;
  content: none !important;
}

.editor-preview-motion .story-pan-caption, .mini-editor-preview-motion .story-pan-caption {
  position: absolute !important;
  display: block !important;
  z-index: 3 !important;
}

@media (max-width:980px) {
  .editor-preview-motion .story-pan-frame { width: 32% !important; animation-name: clipsManualCropPageTablet !important; }

  .mini-editor-preview-motion .story-pan-frame { width: 30% !important; animation-name: clipsManualCropHomeTablet !important; }

  @keyframes clipsManualCropPageTablet {
    0%,8% { transform: translate3d(0,-50%,0); }

    46%,54% { transform: translate3d(106.25%,-50%,0); }

    92%,100% { transform: translate3d(212.5%,-50%,0); }
  }

  @keyframes clipsManualCropHomeTablet {
    0%,8% { transform: translate3d(0,-50%,0); }

    46%,54% { transform: translate3d(116.67%,-50%,0); }

    92%,100% { transform: translate3d(233.33%,-50%,0); }
  }
}

@media (max-width:720px) {
  .editor-preview-motion .story-pan-frame { width: 34% !important; animation-name: clipsManualCropPageMobile !important; }

  .mini-editor-preview-motion .story-pan-frame { width: 34% !important; animation-name: clipsManualCropHomeMobile !important; }

  @keyframes clipsManualCropPageMobile {
    0%,8% { transform: translate3d(0,-50%,0); }

    46%,54% { transform: translate3d(97.06%,-50%,0); }

    92%,100% { transform: translate3d(194.12%,-50%,0); }
  }

  @keyframes clipsManualCropHomeMobile {
    0%,8% { transform: translate3d(0,-50%,0); }

    46%,54% { transform: translate3d(97.06%,-50%,0); }

    92%,100% { transform: translate3d(194.12%,-50%,0); }
  }
}

/* ==========================================================
   AI CLIPS CROP — CLEAN REBUILD Isolated classes. Used only on: 1) clips.html main AI Clips editor preview 2) index.html lower AI Clips product teaser
   ========================================================== */

.sc-smartcrop-host {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  min-height: 320px !important;
  color: inherit !important;
  font-size: inherit !important;
  background: radial-gradient(circle at 50% 46%,rgba(53,214,255,.055),transparent 34%),
    repeating-linear-gradient(90deg,transparent 0 24px,rgba(255,255,255,.025) 25px),
    linear-gradient(180deg,rgba(53,214,255,.025),rgba(47,107,255,.015)) !important;
}

.sc-smartcrop-host::before, .sc-smartcrop-host::after { content: none !important; display: none !important; }

.sc-smartcrop-host--mini { min-height: 210px !important; }

.sc-smartcrop-rail {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 6%;
  bottom: 6%;
  overflow: visible;
  pointer-events: none;
}

.sc-smartcrop-frame {
  position: absolute;
  left: 0;
  top: 50%;
  height: 88%;
  width: auto;
  aspect-ratio: 9 / 16;
  transform: translate3d(0,-50%,0);
  will-change: left,transform;
  border: 1.5px solid rgba(53,214,255,.90);
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%,rgba(53,214,255,.09),transparent 36%),
    linear-gradient(180deg,rgba(12,32,46,.94),rgba(7,20,29,.96));
  box-shadow: 0 0 0 1px rgba(53,214,255,.10),
    0 0 22px rgba(53,214,255,.13),
    inset 0 1px 0 rgba(255,255,255,.025);
  animation: scManualCropSweep 6s ease-in-out infinite alternate;
}

/* ==========================================================
   This is intentionally based on LEFT, not translate percentages: - left:0 + translateX(0) = flush left - left:50% + translateX(-50%) = centered - left:100% + translateX(-100%) = flush right It stays correct at any responsive width.
   ========================================================== */

@keyframes scManualCropSweep {
  0%,8% { left: 0; transform: translate3d(0,-50%,0); }

  45%,55% { left: 50%; transform: translate3d(-50%,-50%,0); }

  92%,100% { left: 100%; transform: translate3d(-100%,-50%,0); }
}

.sc-smartcrop-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(53,214,255,.035),transparent 38%),
    radial-gradient(circle at 50% 52%,rgba(47,107,255,.07),transparent 42%);
}

.sc-smartcrop-captions {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 13%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.sc-caption {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,#35d6ff,#2f6bff);
  box-shadow: 0 0 10px rgba(53,214,255,.13);
}

.sc-caption.c1 { width: 82%; }

.sc-caption.c2 { width: 68%; }

.sc-caption.c3 { width: 52%; }

.sc-smartcrop-badge {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  padding: 3px 8px;
  border-radius: 999px;
  color: #e1f8ff;
  background: rgba(3,12,20,.80);
  border: 1px solid rgba(53,214,255,.20);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.sc-smartcrop-host--mini .sc-smartcrop-rail {
  left: 5%;
  right: 5%;
  top: 7%;
  bottom: 7%;
}

.sc-smartcrop-host--mini .sc-smartcrop-frame { height: 86%; border-radius: 16px; }

.sc-smartcrop-host--mini .sc-smartcrop-captions { gap: 5px; }

.sc-smartcrop-host--mini .sc-caption { height: 6px; }

@media (max-width:980px) {
  .page-clips .clips-hero { grid-template-columns: 1fr !important; gap: 34px !important; }

  .page-clips .editor-shell {
    width: 100% !important;
    max-width: 780px !important;
    justify-self: stretch !important;
  }

  .sc-smartcrop-host { min-height: 300px !important; }

  .sc-smartcrop-frame { height: 86%; }
}

@media (max-width:720px) {
  .page-clips .editor-body, .teaser-clips .mini-editor-body { grid-template-columns: 1fr !important; }

  .page-clips .editor-side, .teaser-clips .mini-editor-side { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }

  .sc-smartcrop-host { min-height: 270px !important; }

  .sc-smartcrop-host--mini { min-height: 205px !important; }

  .sc-smartcrop-rail {
    left: 4%;
    right: 4%;
    top: 6%;
    bottom: 6%;
  }

  .sc-smartcrop-frame { height: 84%; }
}

@media (max-width:520px) {
  .page-clips .editor-side, .teaser-clips .mini-editor-side { grid-template-columns: 1fr !important; }

  .sc-smartcrop-host { min-height: 245px !important; }

  .sc-smartcrop-host--mini { min-height: 190px !important; }

  .sc-smartcrop-frame { height: 82%; border-radius: 15px; }

  .sc-smartcrop-captions { gap: 5px; }

  .sc-caption { height: 6px; }
}

/* ==========================================================
   AI CLIPS CROP — SMOOTH PING-PONG LOOP No jump when the crop reaches the right edge.
   ========================================================== */

.sc-smartcrop-frame {
  animation-name: scManualCropSweep !important;
  animation-duration: 6s !important;
  animation-timing-function: ease-in-out !important;
  animation-iteration-count: infinite !important;
  animation-direction: alternate !important;
  animation-fill-mode: both !important;
}

/* ==========================================================
   HOMEPAGE RELAY SLIDE — visible center connector fixes
   ========================================================== */

.browser-relay-preview.hero-relay-clean { position: relative; }

.browser-relay-preview.hero-relay-clean .relay-home-fix-line {
  position: absolute;
  z-index: 1;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(90deg,rgba(53,214,255,.94),rgba(47,107,255,.96));
  box-shadow: 0 0 10px rgba(53,214,255,.15);
}

.browser-relay-preview.hero-relay-clean .relay-home-fix-line-input { left: 22.1%; width: 11.8%; }

.browser-relay-preview.hero-relay-clean .relay-home-fix-line-mid { left: 46.8%; width: 17.7%; }

@media (max-width:720px) {
  .browser-relay-preview.hero-relay-clean .relay-home-fix-line { display: none; }
}

/* ==========================================================
   LIVE PAGE HERO SCREENSHOT
   ========================================================== */

.live-hero-media {
  background: linear-gradient(
      rgba(7,16,25,.08),
      rgba(7,16,25,.08)
    ),
    url("images/live-hero.jpg") center center / cover no-repeat;
}

.live-hero-media .placeholder { opacity: 0; }

/* ==========================================================
   LIVE PAGE HERO SCREENSHOT Designed for 1808 × 1080 image
   ========================================================== */

.live-hero-media.live-hero-screenshot {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1808 / 1080;
  min-height: 0;
  border: 1px solid rgba(53,214,255,.18);
  border-radius: 26px;
  overflow: hidden;
  background-image: linear-gradient(
      180deg,
      rgba(7,16,25,.02),
      rgba(7,16,25,.05)
    ),
    url("images/live-hero.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 28px 80px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.025);
}

.live-hero-media.live-hero-screenshot::after {
  content: "LIVE";
  position: absolute;
  top: 70px;
  left: 30px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,45,75,.12);
  color: #ff7185;
  border: 1px solid rgba(255,93,114,.28);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 3;
}

.live-hero-screenshot .live-floating {
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 280px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(7,16,25,.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  z-index: 4;
}

.live-hero-screenshot .live-floating strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.live-hero-screenshot .live-floating > span {
  display: block;
  color: #9eb0bf;
  font-size: 11px;
}

.live-hero-screenshot .live-floating .meter {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
}

.live-hero-screenshot .live-floating .meter span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #35d6ff,
    #2f6bff
  );
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width:980px) {
  .live-hero-media.live-hero-screenshot { border-radius: 22px; }

  .live-hero-screenshot .live-floating {
    right: 18px;
    bottom: 18px;
    width: 240px;
    padding: 14px;
  }
}

@media (max-width:720px) {
  .live-hero-media.live-hero-screenshot { aspect-ratio: 1808 / 1080; border-radius: 18px; }

  .live-hero-media.live-hero-screenshot::after {
    top: 12px;
    left: 12px;
    padding: 5px 8px;
    font-size: 9px;
  }

  .live-hero-screenshot .live-floating {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    padding: 12px;
  }

  .live-hero-screenshot .live-floating strong { font-size: 13px; }

  .live-hero-screenshot .live-floating > span { font-size: 10px; }
}

@media (max-width:480px) {
  .live-hero-screenshot .live-floating { padding: 10px 12px; }

  .live-hero-screenshot .live-floating .meter { height: 6px; }
}

.archive-screenshot {
  width: 100%;
  aspect-ratio: 1600 / 1000;
/*  border: 1px dashed rgba(53,214,255,.55);
*/  border-radius: 16px;
  background: url("images/live-archive.jpg")
    center center / contain
    no-repeat,
    #0b1c28;
}

/* ==========================================================
   LIVE PAGE — SCTE-35 / SSAI IMAGE
   ========================================================== */

.scte35-screenshot {
  width: 100%;
  aspect-ratio: 16 / 10;
/*  border: 1px dashed rgba(53,214,255,.55);
*/  border-radius: 16px;
  background: url("images/live-scte.jpg")
    center center / cover
    no-repeat;
  background-color: #0b1c28;
  overflow: hidden;
}

@media (max-width:980px) {
  .scte35-screenshot { border-radius: 14px; }
}

@media (max-width:720px) {
  .scte35-screenshot {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }
}

/* ==========================================================
   PROFESSIONAL MEDIA TYPES
   ========================================================== */

.media-types-section { padding: 42px 0 48px; }

.media-types-kicker { margin-bottom: 28px; }

.media-types-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.media-type-box {
  min-height: 125px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
  transition: transform .25s ease,
    border-color .25s ease,
    background .25s ease;
}

.media-type-box i {
  color: #35d6ff;
  font-size: 32px;
  opacity: .9;
  transition: transform .25s ease,
    color .25s ease;
}

.media-type-box strong {
  color: #a9b8c6;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .3px;
}

.media-type-box:hover {
  transform: translateY(-3px);
  border-color: rgba(53,214,255,.24);
  background: rgba(53,214,255,.035);
}

.media-type-box:hover i { transform: scale(1.08); color: #5ee0ff; }

@media (max-width:980px) {
  .media-types-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width:640px) {
  .media-types-grid { grid-template-columns: repeat(2,1fr); }

  .media-type-box { min-height: 110px; }

  .media-type-box i { font-size: 28px; }
}

@media (max-width:420px) {
  .media-types-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   RELAY DOWNLOAD BUTTONS
   ========================================================== */

.relay-downloads {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.relay-download-btn {
  min-width: 190px;
  min-height: 68px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: linear-gradient(
      180deg,
      rgba(255,255,255,.035),
      rgba(255,255,255,.015)
    );
  transition: transform .25s ease,
    border-color .25s ease,
    background .25s ease,
    box-shadow .25s ease;
}

.relay-download-btn > .fa-brands {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #35d6ff;
  background: rgba(53,214,255,.075);
  border: 1px solid rgba(53,214,255,.15);
  font-size: 20px;
}

.relay-download-btn div { display: flex; flex-direction: column; }

.relay-download-btn span {
  margin-bottom: 2px;
  color: #718899;
  font-size: 9px;
  line-height: 1.2;
}

.relay-download-btn strong {
  color: #f3f8fb;
  font-size: 13px;
  font-weight: 600;
}

.relay-download-btn .download-arrow {
  color: #718899;
  font-size: 11px;
  transition: transform .25s ease,
    color .25s ease;
}

.relay-download-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(53,214,255,.26);
  background: linear-gradient(
      180deg,
      rgba(53,214,255,.065),
      rgba(255,255,255,.018)
    );
  box-shadow: 0 15px 32px rgba(0,0,0,.18),
    0 0 20px rgba(53,214,255,.04);
}

.relay-download-btn:hover .download-arrow { color: #35d6ff; transform: translateY(3px); }

@media (max-width:620px) {
  .relay-downloads { flex-direction: column; }

  .relay-download-btn { width: 100%; }
}

/* ==========================================================
   AUDIO — METADATA SEARCH SCREENSHOT Same size as Alert History
   ========================================================== */

.audio-metadata-screenshot {
  width: 100%;
/*  aspect-ratio: 4 / 3;*/
/*  border: 1px solid rgba(53,214,255,.22);*/
  border-radius: 16px;
  background: url("images/audio-metadata.jpg")
    center center / cover
    no-repeat;
  background-color: #0b1c28;
  overflow: hidden;
}

@media (max-width:980px) {
  .audio-metadata-screenshot { border-radius: 14px; }
}

@media (max-width:720px) {
  .audio-metadata-screenshot {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }
}

/* ==========================================================
   AUDIO — ALERT HISTORY SCREENSHOT Match same sizing as previous audio screenshot Recommended image: 1600 × 1200
   ========================================================== */

.audio-alert-history-screenshot {
  width: 100%;
  aspect-ratio: 4 / 3;
/*  border: 1px solid rgba(53,214,255,.22);*/
  border-radius: 16px;
  background: url("images/audio-alert-history.jpg")
    center center / cover
    no-repeat;
  background-color: #0b1c28;
  overflow: hidden;
}

@media (max-width:980px) {
  .audio-alert-history-screenshot { border-radius: 14px; }
}

@media (max-width:720px) {
  .audio-alert-history-screenshot {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }
}

/* ==========================================================
   AUDIO — MULTI-CUT EXPORT SCREENSHOT Same size as Metadata / Alert History
   ========================================================== */

.audio-multicut-screenshot {
  width: 100%;
  aspect-ratio: 4 / 3;
/*  border: 1px solid rgba(53,214,255,.22);
*/  border-radius: 16px;
  background: url("images/audio-multicut.jpg")
    center center / cover
    no-repeat;
  background-color: #0b1c28;
  overflow: hidden;
}

@media (max-width:980px) {
  .audio-multicut-screenshot { border-radius: 14px; }
}

@media (max-width:720px) {
  .audio-multicut-screenshot {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }
}


/* ==========================================================
   AUDIO — SEARCH / METADATA ROW
   Larger screenshot column
   ========================================================== */

.audio-search-split{
  grid-template-columns:.5fr 1.1fr;
  gap:22px;
  align-items:stretch;
}


/* Make both columns the same overall height */
.audio-search-split > .audio-panel,
.audio-search-split > .screen{
  width:100%;
  height:100%;
}


/* Screenshot fills its side */
.audio-search-split .audio-metadata-screenshot{
  width:100%;
  height:100%;
  min-height:0;

/*
  aspect-ratio:4 / 3;

  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
*/
}


/* TABLET */
@media(max-width:1140px){

  .audio-search-split{
    grid-template-columns:1fr;
    gap:30px;
  }

}


/* MOBILE */
@media(max-width:720px){

  .audio-search-split{
    grid-template-columns:1fr;
    gap:24px;
  }

}


/* ==========================================================
   RELAY — DASHBOARD SCREENSHOT
   Recommended image: 1600 × 1100
   ========================================================== */

.relay-dashboard-screenshot{
  width:100%;
  aspect-ratio:1600 / 1100;

  border:1px solid rgba(53,214,255,.22);
  border-radius:16px;

  background:
    url("images/relay-dashboard.jpg")
    center center / cover
    no-repeat;

  background-color:#0b1c28;

  overflow:hidden;
}


/* TABLET */
@media(max-width:980px){

  .relay-dashboard-screenshot{
    border-radius:14px;
  }

}


/* MOBILE */
@media(max-width:720px){

  .relay-dashboard-screenshot{
    width:100%;
    aspect-ratio:1600 / 1100;
    border-radius:12px;
  }

}


/* ==========================================================
   LIVE HERO — LIVE OPERATIONS HUD
   ========================================================== */

.live-hero-hud{
  width:100%;
  max-width:480px;
  margin-left:auto;

  position:relative;

  display:grid;
  gap:12px;
}


/* ==========================================================
   MAIN STATUS CARD
   ========================================================== */

.live-hud-main{
  position:relative;

  padding:20px;

  border:1px solid rgba(53,214,255,.18);

  border-radius:18px;

  overflow:hidden;

  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(53,214,255,.09),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(16,35,50,.82),
      rgba(7,18,29,.92)
    );

  box-shadow:
    0 24px 60px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.025);
}


/* subtle grid */

.live-hud-main::before{
  content:"";

  position:absolute;
  inset:0;

  pointer-events:none;

  opacity:.22;

  background-image:
    linear-gradient(
      rgba(53,214,255,.05) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(53,214,255,.05) 1px,
      transparent 1px
    );

  background-size:28px 28px;

  mask-image:
    linear-gradient(
      to left,
      black,
      transparent 68%
    );
}


/* moving light sweep */

.live-hud-main::after{
  content:"";

  position:absolute;

  width:150px;
  height:150%;

  top:-25%;
  left:-180px;

  transform:rotate(18deg);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(53,214,255,.035),
      transparent
    );

  animation:hudSweep 7s ease-in-out infinite;
}


@keyframes hudSweep{

  0%,
  55%{
    left:-180px;
  }

  80%,
  100%{
    left:110%;
  }

}


/* ==========================================================
   TOP ROW
   ========================================================== */

.live-hud-top{
  position:relative;
  z-index:2;

  display:flex;
  align-items:center;
  justify-content:space-between;

  margin-bottom:20px;
}


.live-hud-status{
  display:flex;
  align-items:center;
  gap:8px;

  color:#a9bdcb;

  font-size:10px;
  font-weight:800;

  letter-spacing:1.2px;
}


.live-dot{
  width:7px;
  height:7px;

  border-radius:50%;

  background:#ff5d72;

  box-shadow:
    0 0 0 5px rgba(255,93,114,.08),
    0 0 15px rgba(255,93,114,.6);

  animation:liveStatusPulse 1.7s ease-in-out infinite;
}


@keyframes liveStatusPulse{

  0%,
  100%{
    opacity:1;
    transform:scale(1);
  }

  50%{
    opacity:.55;
    transform:scale(.82);
  }

}


/* ==========================================================
   SIGNAL ICON
   ========================================================== */

.live-hud-signal{
  position:relative;

  width:42px;
  height:42px;

  display:grid;
  place-items:center;

  color:#35d6ff;
}


.live-hud-signal i{
  position:relative;
  z-index:3;

  font-size:14px;
}


.live-hud-signal span{
  position:absolute;

  border:1px solid rgba(53,214,255,.28);
  border-radius:50%;

  animation:liveSignal 2.8s ease-out infinite;
}


.live-hud-signal span:nth-child(1){
  width:22px;
  height:22px;
}


.live-hud-signal span:nth-child(2){
  width:32px;
  height:32px;

  animation-delay:.4s;
}


.live-hud-signal span:nth-child(3){
  width:42px;
  height:42px;

  animation-delay:.8s;
}


@keyframes liveSignal{

  0%{
    transform:scale(.72);
    opacity:0;
  }

  35%{
    opacity:.8;
  }

  100%{
    transform:scale(1.15);
    opacity:0;
  }

}


/* ==========================================================
   HEALTH
   ========================================================== */

.live-hud-health{
  position:relative;
  z-index:2;

  display:flex;
  align-items:end;
  justify-content:space-between;

  gap:15px;
}


.live-hud-label,
.live-hud-mini span{
  display:block;

  margin-bottom:4px;

  color:#71899a;

  font-size:9px;
  font-weight:700;

  letter-spacing:.5px;

  text-transform:uppercase;
}


.live-hud-health strong{
  display:block;

  color:#f4f8fb;

  font-size:19px;
  font-weight:600;
}


.health-status{
  display:flex;
  align-items:center;
  gap:6px;

  padding:6px 9px;

  border-radius:999px;

  color:#60e5b0;

  background:rgba(41,206,143,.07);

  border:1px solid rgba(41,206,143,.14);

  font-size:9px;
  font-weight:700;
}


/* ==========================================================
   HEALTH METER
   ========================================================== */

.live-health-meter{
  position:relative;
  z-index:2;

  height:5px;

  margin:17px 0;

  border-radius:999px;

  overflow:hidden;

  background:rgba(255,255,255,.06);
}


.live-health-meter span{
  display:block;

  width:91%;
  height:100%;

  border-radius:inherit;

  background:
    linear-gradient(
      90deg,
      #35d6ff,
      #2f6bff
    );

  position:relative;
}


.live-health-meter span::after{
  content:"";

  position:absolute;
  top:0;
  bottom:0;

  width:50px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.55),
      transparent
    );

  animation:healthSweep 3s linear infinite;
}


@keyframes healthSweep{

  from{
    left:-60px;
  }

  to{
    left:100%;
  }

}


/* ==========================================================
   METRICS
   ========================================================== */

.live-hud-metrics{
  position:relative;
  z-index:2;

  display:grid;

  grid-template-columns:
    repeat(3,1fr);

  border-top:1px solid rgba(255,255,255,.06);

  padding-top:15px;
}


.live-hud-metrics > div{
  padding:0 12px;

  border-right:
    1px solid rgba(255,255,255,.06);
}


.live-hud-metrics > div:first-child{
  padding-left:0;
}


.live-hud-metrics > div:last-child{
  border-right:0;
}


.live-hud-metrics span{
  display:block;

  margin-bottom:4px;

  color:#637b8d;

  font-size:8px;

  text-transform:uppercase;
}


.live-hud-metrics strong{
  color:#dce8f0;

  font-size:12px;
  font-weight:600;
}


/* ==========================================================
   LOWER CARDS
   ========================================================== */

.live-hud-bottom{
  display:grid;

  grid-template-columns:
    1fr 1fr;

  gap:12px;
}


.live-hud-mini{
  min-height:90px;

  display:grid;

  grid-template-columns:
    38px 1fr;

  gap:12px;

  align-items:center;

  padding:14px;

  border:1px solid rgba(255,255,255,.075);
  border-radius:15px;

  background:
    linear-gradient(
      180deg,
      rgba(17,34,48,.70),
      rgba(8,20,30,.85)
    );

  transition:
    transform .3s ease,
    border-color .3s ease;
}


.live-hud-mini:hover{
  transform:translateY(-3px);

  border-color:
    rgba(53,214,255,.22);
}


.live-mini-icon{
  width:38px;
  height:38px;

  display:grid;
  place-items:center;

  border-radius:10px;

  color:#35d6ff;

  background:rgba(53,214,255,.07);

  border:
    1px solid rgba(53,214,255,.14);
}


.live-mini-icon.record{
  color:#ff6278;

  background:rgba(255,93,114,.06);

  border-color:
    rgba(255,93,114,.12);
}


.live-hud-mini strong{
  display:block;

  margin-bottom:3px;

  color:#eaf2f7;

  font-size:12px;
  font-weight:600;
}


.live-hud-mini small{
  display:block;

  color:#708798;

  font-size:8px;
}


/* ==========================================================
   FEATURE PILLS
   ========================================================== */

.live-hud-tags{
  display:flex;

  justify-content:flex-end;

  gap:7px;

  flex-wrap:wrap;
}


.live-hud-tags span{
  padding:6px 9px;

  border:1px solid rgba(255,255,255,.075);
  border-radius:999px;

  color:#7f96a7;

  background:rgba(255,255,255,.018);

  font-size:8px;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media(max-width:1140px){

  .live-hero-hud{
    max-width:650px;

    margin-left:0;
    margin-top:12px;
  }

}


@media(max-width:720px){

  .live-hero-hud{
    max-width:none;

    margin-top:24px;
  }


  .live-hud-bottom{
    grid-template-columns:1fr;
  }


  .live-hud-tags{
    justify-content:flex-start;
  }

}


@media(max-width:480px){

  .live-hud-main{
    padding:16px;
  }


  .live-hud-health{
    align-items:flex-start;
    flex-direction:column;
  }


  .live-hud-metrics{
    grid-template-columns:1fr;
    gap:10px;
  }


  .live-hud-metrics > div{
    padding:0;

    border-right:0;
  }

}


/* ==========================================================
   LIVE PLATFORM FEATURE GRID
   ========================================================== */

.live-platform-features{
  position:relative;

  padding:100px 0;

  overflow:hidden;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(53,214,255,.055),
      transparent 36%
    ),
    linear-gradient(
      180deg,
      rgba(8,19,31,.92),
      rgba(6,14,24,.98)
    );
}


/* subtle separator */

.live-platform-features::before{
  content:"";

  position:absolute;

  left:0;
  right:0;
  top:0;

  height:1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(53,214,255,.18),
      transparent
    );
}


/* ==========================================================
   INTRO
   ========================================================== */

.live-features-intro{
  max-width:760px;

  margin-bottom:46px;
}


.live-features-intro h2{
  max-width:720px;

  margin:
    10px 0
    18px;

  font-size:
    clamp(
      36px,
      4vw,
      52px
    );

  line-height:1.06;

  letter-spacing:-2px;
}


.live-features-intro .sub{
  max-width:720px;

  margin:0;

  color:#94a9b9;

  font-size:17px;
  line-height:1.7;
}



/* ==========================================================
   GRID
   ========================================================== */

.live-capability-grid{
  display:grid;

  grid-template-columns:
    repeat(3,minmax(0,1fr));

  gap:18px;
}



/* ==========================================================
   CARD
   ========================================================== */

.live-capability-card{
  position:relative;

  min-height:260px;

  padding:34px;

  border:
    1px solid
    rgba(255,255,255,.075);

  border-radius:20px;

  overflow:hidden;

  background:
    linear-gradient(
      145deg,
      rgba(15,30,45,.78),
      rgba(7,17,28,.90)
    );

  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.018);

  transition:
    transform .32s
      cubic-bezier(.2,.8,.2,1),
    border-color .32s ease,
    box-shadow .32s ease,
    background .32s ease;
}



/* top glow */

.live-capability-card::before{
  content:"";

  position:absolute;

  width:160px;
  height:160px;

  left:-65px;
  top:-80px;

  border-radius:50%;

  background:
    rgba(53,214,255,.08);

  filter:blur(45px);

  opacity:0;

  transition:
    opacity .32s ease;
}



/* subtle bottom line */

.live-capability-card::after{
  content:"";

  position:absolute;

  left:32px;
  right:32px;
  bottom:0;

  height:1px;

  transform:scaleX(0);

  transform-origin:left;

  background:
    linear-gradient(
      90deg,
      #35d6ff,
      #2f6bff,
      transparent
    );

  transition:
    transform .4s ease;
}



/* ==========================================================
   ICON
   ========================================================== */

.live-capability-icon{
  position:relative;
  z-index:2;

  width:52px;
  height:52px;

  display:grid;
  place-items:center;

  margin-bottom:26px;

  border-radius:14px;

  color:#fff;

  font-size:19px;

  background:
    linear-gradient(
      145deg,
      #49bdf7,
      #315bec
    );

  box-shadow:
    0 12px 28px
    rgba(47,107,255,.18);

  transition:
    transform .32s ease,
    box-shadow .32s ease;
}



/* ==========================================================
   TEXT
   ========================================================== */

.live-capability-card h3{
  position:relative;
  z-index:2;

  margin:
    0 0
    13px;

  color:#f3f7fa;

  font-size:18px;
  font-weight:650;

  letter-spacing:-.3px;
}


.live-capability-card p{
  position:relative;
  z-index:2;

  margin:0;

  max-width:320px;

  color:#91a6b7;

  font-size:14px;

  line-height:1.7;
}



/* ==========================================================
   HOVER
   ========================================================== */

.live-capability-card:hover{
  transform:
    translateY(-6px);

  border-color:
    rgba(53,214,255,.23);

  background:
    linear-gradient(
      145deg,
      rgba(18,39,56,.88),
      rgba(8,20,31,.94)
    );

  box-shadow:
    0 24px 55px
    rgba(0,0,0,.22);
}


.live-capability-card:hover::before{
  opacity:1;
}


.live-capability-card:hover::after{
  transform:
    scaleX(1);
}


.live-capability-card:hover
.live-capability-icon{
  transform:
    translateY(-2px)
    scale(1.04);

  box-shadow:
    0 15px 34px
    rgba(47,107,255,.26);
}



/* ==========================================================
   STAGGER REVEAL
   ========================================================== */

.live-capability-grid
.live-capability-card:nth-child(2){
  --delay:60ms;
}


.live-capability-grid
.live-capability-card:nth-child(3){
  --delay:120ms;
}


.live-capability-grid
.live-capability-card:nth-child(4){
  --delay:60ms;
}


.live-capability-grid
.live-capability-card:nth-child(5){
  --delay:120ms;
}


.live-capability-grid
.live-capability-card:nth-child(6){
  --delay:180ms;
}


.live-capability-grid
.live-capability-card:nth-child(7){
  --delay:60ms;
}


.live-capability-grid
.live-capability-card:nth-child(8){
  --delay:120ms;
}


.live-capability-grid
.live-capability-card:nth-child(9){
  --delay:180ms;
}



/* ==========================================================
   TABLET
   ========================================================== */

@media(max-width:980px){

  .live-platform-features{
    padding:82px 0;
  }


  .live-capability-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }


  .live-capability-card{
    min-height:245px;
  }

}



/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:680px){

  .live-platform-features{
    padding:66px 0;
  }


  .live-features-intro{
    margin-bottom:34px;
  }


  .live-features-intro h2{
    letter-spacing:-1.4px;
  }


  .live-features-intro .sub{
    font-size:16px;
  }


  .live-capability-grid{
    grid-template-columns:1fr;

    gap:14px;
  }


  .live-capability-card{
    min-height:0;

    padding:26px;
  }


  .live-capability-icon{
    width:48px;
    height:48px;

    margin-bottom:20px;
  }

}


.live-workflow{
  padding: 90px 0;
}

.live-workflow .kicker{
  margin-bottom: 10px;
}

.live-workflow h2{
  margin: 0 0 34px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -2px;
}

.workflow-grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.workflow-card{
  position: relative;
  overflow: hidden;
  min-height: 154px;
  padding: 22px 18px 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13,24,36,.95), rgba(8,18,29,.96));
}

.workflow-card.active{
  background: linear-gradient(180deg, rgba(18,46,61,.96), rgba(11,30,44,.96));
  border-color: rgba(53,214,255,.22);
  box-shadow: inset 0 0 0 1px rgba(53,214,255,.06);
}

.workflow-step{
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 9px;
  background: rgba(53,214,255,.12);
  color: #41d7ff;
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
}

.workflow-card h3{
  position: relative;
  z-index: 2;

  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #f5f8fb;
}

.workflow-card p{
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 14px;
  color: #a8bac9;
  line-height: 1.45;
}

/* ghost icon */
.workflow-bg-icon{
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 74px;
  color: rgba(65,215,255,.07);
  z-index: 1;
  pointer-events: none;
}

/* optional glow behind icon */
.workflow-card::after{
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(53,214,255,.05);
  filter: blur(22px);
  pointer-events: none;
}

/* responsive */
@media (max-width: 1200px){
  .workflow-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px){
  .workflow-grid{
    grid-template-columns: 1fr;
  }

  .workflow-card{
    min-height: 140px;
  }

  .workflow-bg-icon{
    font-size: 64px;
    right: 14px;
  }
}

/* ==========================================================
   LIVE PLAYER — LARGE BROADCAST PULSE
   ========================================================== */

.live-broadcast-visual{
  position:absolute;
  inset:0;

  display:flex;
  align-items:center;
  justify-content:center;

  overflow:hidden;

  pointer-events:none;
}


/* subtle glow throughout player */
.live-broadcast-visual::before{
  content:"";

  position:absolute;

  width:70%;
  aspect-ratio:1;

  border-radius:50%;

  background:
    radial-gradient(
      circle,
      rgba(53,214,255,.09) 0%,
      rgba(47,107,255,.035) 34%,
      transparent 70%
    );

  filter:blur(5px);

  animation:broadcastGlow 4s ease-in-out infinite;
}


@keyframes broadcastGlow{

  0%,
  100%{
    transform:scale(.88);
    opacity:.45;
  }

  50%{
    transform:scale(1.12);
    opacity:1;
  }

}


/* ==========================================================
   RADAR AREA
   ========================================================== */

.broadcast-radar{
  position:relative;

  width:min(68%,520px);
  aspect-ratio:1;

  display:grid;
  place-items:center;
}


/* ==========================================================
   LARGE EXPANDING RINGS
   ========================================================== */

.broadcast-ring{
  position:absolute;

  left:50%;
  top:50%;

  width:90px;
  height:90px;

  border-radius:50%;

  border:
    1px solid
    rgba(53,214,255,.34);

  transform:
    translate(-50%,-50%)
    scale(.25);

  opacity:0;

  animation:
    broadcastRingExpand
    4.8s
    ease-out
    infinite;
}


.broadcast-ring.ring-2{
  animation-delay:1.2s;
}


.broadcast-ring.ring-3{
  animation-delay:2.4s;
}


.broadcast-ring.ring-4{
  animation-delay:3.6s;
}


@keyframes broadcastRingExpand{

  0%{
    width:90px;
    height:90px;

    opacity:0;

    border-color:
      rgba(53,214,255,.55);
  }

  8%{
    opacity:.85;
  }

  65%{
    opacity:.18;
  }

  100%{
    width:520px;
    height:520px;

    opacity:0;

    border-color:
      rgba(47,107,255,0);
  }

}


/* ==========================================================
   CENTER TRANSMITTER
   ========================================================== */

.broadcast-center{
  position:relative;
  z-index:5;

  width:76px;
  height:76px;

  display:grid;
  place-items:center;

  border-radius:50%;

  color:#dff9ff;

  font-size:23px;

  background:
    radial-gradient(
      circle,
      rgba(53,214,255,.20),
      rgba(7,25,38,.95) 68%
    );

  border:
    1px solid
    rgba(53,214,255,.42);

  box-shadow:
    0 0 0 10px rgba(53,214,255,.025),
    0 0 30px rgba(53,214,255,.18),
    inset 0 0 20px rgba(53,214,255,.08);

  animation:
    broadcastCenterPulse
    2.2s
    ease-in-out
    infinite;
}


@keyframes broadcastCenterPulse{

  0%,
  100%{
    transform:scale(1);

    box-shadow:
      0 0 0 10px rgba(53,214,255,.025),
      0 0 26px rgba(53,214,255,.14);
  }

  50%{
    transform:scale(1.08);

    box-shadow:
      0 0 0 17px rgba(53,214,255,.035),
      0 0 44px rgba(53,214,255,.28);
  }

}


/* ==========================================================
   BROADCAST STATUS
   ========================================================== */

.broadcast-status{
  position:absolute;

  left:50%;
  top:calc(50% + 68px);

  transform:translateX(-50%);

  color:rgba(153,192,211,.58);

  font-size:8px;
  font-weight:800;

  letter-spacing:1.8px;

  white-space:nowrap;
}


/* ==========================================================
   SUBTLE PLAYER-WIDE SWEEP
   ========================================================== */

.live-broadcast-visual::after{
  content:"";

  position:absolute;

  top:8%;
  bottom:8%;

  width:2px;

  left:-10%;

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(53,214,255,.16),
      rgba(53,214,255,.35),
      rgba(53,214,255,.16),
      transparent
    );

  box-shadow:
    0 0 28px
    rgba(53,214,255,.18);

  opacity:.5;

  animation:
    broadcastScan
    8s
    ease-in-out
    infinite;
}


@keyframes broadcastScan{

  0%,
  15%{
    left:-5%;
    opacity:0;
  }

  25%{
    opacity:.4;
  }

  70%{
    opacity:.4;
  }

  85%,
  100%{
    left:105%;
    opacity:0;
  }

}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media(max-width:720px){

  .broadcast-radar{
    width:82%;
  }


  @keyframes broadcastRingExpand{

    0%{
      width:70px;
      height:70px;
      opacity:0;
    }

    8%{
      opacity:.8;
    }

    100%{
      width:360px;
      height:360px;
      opacity:0;
    }

  }


  .broadcast-center{
    width:64px;
    height:64px;

    font-size:19px;
  }

}

/* ==========================================================
   RELAY WORKFLOW — ghosted icon cards
   ========================================================== */

.relay-workflow-section .relay-workflow-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:12px;
  margin-top:34px;
}

.relay-workflow-section .relay-step{
  position:relative;
  overflow:hidden;
  min-height:148px;
  padding:18px 18px 18px;
  padding-right:74px; /* room for top-right icon */
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:
    radial-gradient(circle at 82% 24%, rgba(53,214,255,.06), transparent 28%),
    linear-gradient(180deg, rgba(10,24,36,.96), rgba(7,18,28,.96));
  transition:
    transform .32s cubic-bezier(.2,.8,.2,1),
    border-color .32s ease,
    box-shadow .32s ease;
}

.relay-workflow-section .relay-step:hover{
  transform:translateY(-4px);
  border-color:rgba(53,214,255,.20);
  box-shadow:0 18px 40px rgba(0,0,0,.20);
}

.relay-workflow-section .relay-step em{
  position:relative;
  z-index:2;
  display:inline-grid;
  place-items:center;
  width:30px;
  height:30px;
  margin-bottom:14px;
  border-radius:8px;
  font-style:normal;
  font-weight:900;
  font-size:18px;
  color:#63dcff;
  background:rgba(53,214,255,.11);
}

.relay-workflow-section .relay-step b{
  position:relative;
  z-index:2;
  display:block;
  margin-bottom:8px;
  font-size:15px;
  line-height:1.1;
  color:#f2f6fb;
}

.relay-workflow-section .relay-step span{
  position:relative;
  z-index:2;
  display:block;
  font-size:14px;
  line-height:1.45;
  color:#9fb1c1;
}

/* ghosted icon */
.relay-workflow-section .relay-step-icon{
  position:absolute;
  top:16px;
  right:16px;
  font-size:38px;
  line-height:1;
  color:#35d6ff;
  opacity:.08;
  pointer-events:none;
  z-index:1;
  transition:
    opacity .28s ease,
    transform .28s ease;
}

.relay-workflow-section .relay-step:hover .relay-step-icon{
  opacity:.14;
  transform:scale(1.04);
}

/* optional per-icon sizing tweaks */
.relay-workflow-section .relay-step:nth-child(2) .relay-step-icon{ font-size:36px; } /* route */
.relay-workflow-section .relay-step:nth-child(3) .relay-step-icon{ font-size:35px; } /* calendar */
.relay-workflow-section .relay-step:nth-child(4) .relay-step-icon{ font-size:36px; } /* broadcast */
.relay-workflow-section .relay-step:nth-child(6) .relay-step-icon{ font-size:34px; } /* monitor */

/* responsive */
@media (max-width:1140px){
  .relay-workflow-section .relay-workflow-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media (max-width:720px){
  .relay-workflow-section .relay-workflow-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .relay-workflow-section .relay-step{
    min-height:142px;
    padding-right:68px;
  }

  .relay-workflow-section .relay-step-icon{
    top:14px;
    right:14px;
    font-size:34px;
  }
}

@media (max-width:480px){
  .relay-workflow-section .relay-workflow-grid{
    grid-template-columns:1fr;
  }
}

/* ==========================================================
   HOW IT WORKS — FINAL ICON FIX
   Works with existing .workflow / .step markup
   ========================================================== */

.workflow .step{
  position:relative !important;
  overflow:hidden !important;

  min-height:148px !important;

  padding:
    18px
    66px
    18px
    18px !important;

  border-radius:16px !important;

  background:
    radial-gradient(
      circle at 84% 24%,
      rgba(53,214,255,.055),
      transparent 28%
    ),
    rgba(255,255,255,.024) !important;
}


/* GHOSTED ICON — TOP RIGHT */

.workflow .step .step-bg-icon{
  position:absolute !important;

  top:17px !important;
  right:16px !important;

  left:auto !important;
  bottom:auto !important;

  display:block !important;

  width:auto !important;
  height:auto !important;

  margin:0 !important;
  padding:0 !important;

  font-size:34px !important;
  line-height:1 !important;

  color:#35d6ff !important;
  opacity:.09 !important;

  transform:none !important;

  pointer-events:none !important;
  z-index:1 !important;

  background:none !important;
  border:0 !important;
  box-shadow:none !important;

  transition:
    opacity .3s ease,
    transform .3s ease !important;
}


/* hover */

.workflow .step:hover .step-bg-icon{
  opacity:.15 !important;
  transform:scale(1.05) !important;
}


/* number badge */

.workflow .step em{
  position:relative !important;
  z-index:3 !important;

  width:30px !important;
  height:30px !important;

  margin-bottom:14px !important;

  font-size:17px !important;
}


/* text stays above background icon */

.workflow .step b,
.workflow .step span{
  position:relative !important;
  z-index:3 !important;
}


/* slightly larger title */

.workflow .step b{
  font-size:14px !important;
  margin-bottom:8px !important;
}


/* description */

.workflow .step span{
  display:block !important;
  font-size:12px !important;
  line-height:1.5 !important;
}


/* ANALYZE — make sure this one reads clearly */

.workflow .step .icon-analyze{
  font-size:32px !important;
  opacity:.11 !important;
}


/* responsive */

@media(max-width:1140px){

  .workflow{
    grid-template-columns:repeat(3,1fr) !important;
  }

}


@media(max-width:720px){

  .workflow{
    grid-template-columns:repeat(2,1fr) !important;
  }

}


@media(max-width:480px){

  .workflow{
    grid-template-columns:1fr !important;
  }

}


/* ==========================================================
   LIVE WORKFLOW — SMALL TOP-RIGHT GHOST ICONS
   ========================================================== */

.page-live .workflow .step{
  position:relative !important;
  overflow:hidden !important;

  min-height:150px !important;
  padding:20px 68px 18px 18px !important;
}


/* ICON */
.page-live .workflow .step .step-bg-icon{
  position:absolute !important;

  top:17px !important;
  right:16px !important;

  left:auto !important;
  bottom:auto !important;

  width:auto !important;
  height:auto !important;

  margin:0 !important;
  padding:0 !important;

  font-size:33px !important;
  line-height:1 !important;

  color:#35d6ff !important;
  opacity:.085 !important;

  background:none !important;
  border:0 !important;
  box-shadow:none !important;

  transform:none !important;

  pointer-events:none !important;
  z-index:1 !important;

  transition:
    opacity .3s ease,
    transform .3s ease !important;
}


/* subtle hover */
.page-live .workflow .step:hover .step-bg-icon{
  opacity:.14 !important;
  transform:scale(1.05) !important;
}


/* keep number + copy over icon */
.page-live .workflow .step em,
.page-live .workflow .step b,
.page-live .workflow .step span{
  position:relative !important;
  z-index:3 !important;
}

.page-live .workflow .step:nth-child(2) .step-bg-icon{
  font-size:31px !important;
}

.page-live .workflow .step:nth-child(3) .step-bg-icon{
  font-size:32px !important;
}

.page-live .workflow .step:nth-child(5) .step-bg-icon{
  font-size:30px !important;
}

.page-live .workflow .step:nth-child(6) .step-bg-icon{
  font-size:31px !important;
}

/* ==========================================================
   LIVE WORKFLOW — MATCH OTHER WORKFLOW CARDS
   Small ghosted icon in upper-right
   ========================================================== */

.live-workflow .workflow-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:12px;
  margin-top:34px;
}


/* CARD */

.live-workflow .workflow-card{
  position:relative;
  overflow:hidden;

  min-height:150px;

  padding:20px 66px 18px 18px;

  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;

  background:
    radial-gradient(
      circle at 84% 24%,
      rgba(53,214,255,.055),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      rgba(10,24,36,.96),
      rgba(7,18,28,.96)
    );

  transition:
    transform .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}


.live-workflow .workflow-card:hover{
  transform:translateY(-4px);
  border-color:rgba(53,214,255,.20);
  box-shadow:0 18px 40px rgba(0,0,0,.20);
}


/* STEP NUMBER */

.live-workflow .workflow-step{
  position:relative;
  z-index:3;

  display:grid;
  place-items:center;

  width:30px;
  height:30px;

  margin-bottom:14px;

  border-radius:8px;

  background:rgba(53,214,255,.11);

  color:#63dcff;

  font-size:17px;
  font-weight:900;
}


/* GHOST ICON — SMALL / UPPER RIGHT */

.live-workflow .workflow-bg-icon{
  position:absolute !important;

  top:17px !important;
  right:16px !important;

  left:auto !important;
  bottom:auto !important;

  width:auto !important;
  height:auto !important;

  margin:0 !important;
  padding:0 !important;

  font-size:32px !important;
  line-height:1 !important;

  color:#35d6ff !important;
  opacity:.085 !important;

  background:none !important;
  border:0 !important;
  box-shadow:none !important;

  transform:none !important;

  pointer-events:none;
  z-index:1;

  transition:
    opacity .3s ease,
    transform .3s ease;
}


.live-workflow .workflow-card:hover .workflow-bg-icon{
  opacity:.14 !important;
  transform:scale(1.05) !important;
}


/* TEXT */

.live-workflow .workflow-card h3{
  position:relative;
  z-index:3;

  margin:0 0 8px;

  font-size:15px;
  line-height:1.1;

  color:#f2f6fb;
}


.live-workflow .workflow-card p{
  position:relative;
  z-index:3;

  margin:0;

  font-size:14px;
  line-height:1.45;

  color:#9fb1c1;
}


/* Individual optical sizing */

.live-workflow .workflow-card:nth-child(1) .workflow-bg-icon{
  font-size:30px !important;
}

.live-workflow .workflow-card:nth-child(2) .workflow-bg-icon{
  font-size:30px !important;
}

.live-workflow .workflow-card:nth-child(3) .workflow-bg-icon{
  font-size:31px !important;
}

.live-workflow .workflow-card:nth-child(4) .workflow-bg-icon{
  font-size:31px !important;
}

.live-workflow .workflow-card:nth-child(5) .workflow-bg-icon{
  font-size:29px !important;
}

.live-workflow .workflow-card:nth-child(6) .workflow-bg-icon{
  font-size:30px !important;
}


/* RESPONSIVE */

@media(max-width:1140px){

  .live-workflow .workflow-grid{
    grid-template-columns:repeat(3,1fr);
  }

}


@media(max-width:720px){

  .live-workflow .workflow-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .live-workflow .workflow-card{
    min-height:145px;
    padding-right:62px;
  }

}


@media(max-width:480px){

  .live-workflow .workflow-grid{
    grid-template-columns:1fr;
  }

}

/* ==========================================================
   HOMEPAGE — STREAMCENTRAL WORKFLOW
   ========================================================== */

#workflow .workflow{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:12px;
  margin-top:34px;
}


/* CARD */

#workflow .step{
  position:relative !important;
  overflow:hidden !important;

  min-height:150px !important;

  padding:
    20px
    66px
    18px
    18px !important;

  border:1px solid rgba(255,255,255,.08) !important;
  border-radius:16px !important;

  background:
    radial-gradient(
      circle at 84% 24%,
      rgba(53,214,255,.055),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      rgba(10,24,36,.96),
      rgba(7,18,28,.96)
    ) !important;

  transition:
    transform .3s ease,
    border-color .3s ease,
    box-shadow .3s ease !important;
}


/* HOVER */

#workflow .step:hover{
  transform:translateY(-4px) !important;

  border-color:
    rgba(53,214,255,.20) !important;

  box-shadow:
    0 18px 40px
    rgba(0,0,0,.20) !important;
}


/* NUMBER */

#workflow .step em{
  position:relative !important;
  z-index:3 !important;

  display:grid !important;
  place-items:center !important;

  width:30px !important;
  height:30px !important;

  margin:0 0 14px 0 !important;

  border-radius:8px !important;

  background:
    rgba(53,214,255,.11) !important;

  color:#63dcff !important;

  font-style:normal !important;
  font-size:17px !important;
  font-weight:900 !important;
}


/* ==========================================================
   GHOST ICON — UPPER RIGHT
   ========================================================== */

#workflow .step .workflow-bg-icon{
  position:absolute !important;

  top:17px !important;
  right:16px !important;

  left:auto !important;
  bottom:auto !important;

  display:block !important;

  width:auto !important;
  height:auto !important;

  margin:0 !important;
  padding:0 !important;

  font-size:31px !important;
  line-height:1 !important;

  color:#35d6ff !important;

  opacity:.085 !important;

  background:none !important;
  border:0 !important;
  box-shadow:none !important;

  transform:none !important;

  pointer-events:none !important;
  z-index:1 !important;

  transition:
    opacity .3s ease,
    transform .3s ease !important;
}


#workflow .step:hover .workflow-bg-icon{
  opacity:.14 !important;
  transform:scale(1.05) !important;
}


/* ==========================================================
   TEXT
   ========================================================== */

#workflow .step b{
  position:relative !important;
  z-index:3 !important;

  display:block !important;

  margin:0 0 8px !important;

  font-size:14px !important;
  line-height:1.1 !important;

  color:#f2f6fb !important;
}


#workflow .step span{
  position:relative !important;
  z-index:3 !important;

  display:block !important;

  font-size:12px !important;
  line-height:1.5 !important;

  color:#9fb1c1 !important;
}


/* ==========================================================
   OPTICAL ICON SIZING
   Keeps all six looking about equal visually
   ========================================================== */

#workflow .step:nth-child(1) .workflow-bg-icon{
  font-size:30px !important;
}

#workflow .step:nth-child(2) .workflow-bg-icon{
  font-size:31px !important;
}

#workflow .step:nth-child(3) .workflow-bg-icon{
  font-size:29px !important;
}

#workflow .step:nth-child(4) .workflow-bg-icon{
  font-size:29px !important;
}

#workflow .step:nth-child(5) .workflow-bg-icon{
  font-size:30px !important;
}

#workflow .step:nth-child(6) .workflow-bg-icon{
  font-size:30px !important;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media(max-width:1140px){

  #workflow .workflow{
    grid-template-columns:
      repeat(3,1fr);
  }

}


@media(max-width:720px){

  #workflow .workflow{
    grid-template-columns:
      repeat(2,1fr);
  }

  #workflow .step{
    min-height:145px !important;
    padding-right:62px !important;
  }

}


@media(max-width:480px){

  #workflow .workflow{
    grid-template-columns:1fr;
  }

}

/* ==========================================================
   CONTACT FORM 7 — DEMO MODAL COMPATIBILITY
   ========================================================== */
.demo-modal .wpcf7 { margin:0; }
.demo-modal .wpcf7 form.demo-contact-form { margin:0; }
.demo-contact-form .wpcf7-form-control-wrap { display:block; width:100%; }
.demo-contact-form .wpcf7-form-control { max-width:100%; }
.demo-contact-form p { margin:0; }
.demo-contact-form .wpcf7-not-valid { border-color:rgba(255,98,91,.58) !important; }
.demo-contact-form .wpcf7-not-valid-tip {
  display:block;
  margin-top:6px;
  color:#ff8f96;
  font-size:10px;
  line-height:1.35;
}
.demo-contact-form .demo-submit-wrap {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex:0 0 auto;
}
.demo-contact-form .wpcf7-spinner {
  margin:0;
  background-color:rgba(53,214,255,.25);
}
.demo-modal .wpcf7 form .wpcf7-response-output {
  margin:14px 0 0;
  padding:10px 12px;
  border:1px solid rgba(53,214,255,.18);
  border-radius:10px;
  color:#9fdfff;
  background:rgba(53,214,255,.045);
  font-size:11px;
  line-height:1.45;
}
.demo-modal .wpcf7 form.invalid .wpcf7-response-output,
.demo-modal .wpcf7 form.unaccepted .wpcf7-response-output,
.demo-modal .wpcf7 form.payment-required .wpcf7-response-output {
  border-color:rgba(255,177,82,.28);
  color:#ffc777;
  background:rgba(255,177,82,.045);
}
.demo-modal .wpcf7 form.failed .wpcf7-response-output,
.demo-modal .wpcf7 form.aborted .wpcf7-response-output,
.demo-modal .wpcf7 form.spam .wpcf7-response-output {
  border-color:rgba(255,98,91,.28);
  color:#ff9aa0;
  background:rgba(255,98,91,.045);
}
.demo-modal .wpcf7 form.sent .wpcf7-response-output {
  border-color:rgba(78,229,139,.28);
  color:#80efad;
  background:rgba(78,229,139,.045);
}
.demo-contact-form-placeholder {
  padding:18px;
  border:1px dashed rgba(53,214,255,.22);
  border-radius:14px;
  color:#9fb1c1;
  background:rgba(53,214,255,.035);
  font-size:13px;
  line-height:1.55;
}
.demo-contact-form-placeholder strong { color:#e7f5ff; }
@media (max-width:720px) {
  .demo-contact-form .demo-submit-wrap { width:100%; }
  .demo-contact-form .demo-submit-wrap .demo-submit { width:100%; }
}

/* ==========================================================
   CONTACT FORM 7 — STREAMCENTRAL DEMO MODAL FIX
   ========================================================== */

.demo-modal .demo-modal-dialog{
  width:min(720px,calc(100vw - 48px)) !important;
  max-height:calc(100vh - 48px) !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
}

.demo-modal .wpcf7,
.demo-modal .wpcf7 form,
.demo-modal .wpcf7 form.demo-contact-form{
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}

/* Remove Contact Form 7's extra paragraph spacing */
.demo-modal .demo-contact-form p{
  margin:0 !important;
  padding:0 !important;
}

.demo-modal .demo-contact-form .demo-form-grid > p{
  display:contents !important;
}

.demo-modal .demo-contact-form .demo-form-grid br{
  display:none !important;
}


/* FORM GRID */

.demo-modal .demo-form-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;

  column-gap:16px !important;
  row-gap:16px !important;

  width:100% !important;

  margin:0 !important;
  padding:0 !important;
}

.demo-modal .demo-form-grid > label{
  display:block !important;

  min-width:0 !important;
  width:100% !important;
  height:auto !important;

  margin:0 !important;
  padding:0 !important;
}

.demo-modal .demo-form-grid > label.demo-form-full{
  grid-column:1 / -1 !important;
}


/* LABELS */

.demo-modal .demo-field-label{
  display:block !important;

  margin:0 0 7px !important;
  padding:0 !important;

  color:#b9c8d4 !important;

  font-size:11px !important;
  font-weight:700 !important;
  line-height:1.35 !important;
}


/* CF7 WRAPPERS */

.demo-modal .wpcf7-form-control-wrap{
  display:block !important;

  width:100% !important;

  margin:0 !important;
  padding:0 !important;
}


/* INPUTS */

.demo-modal .demo-contact-form input[type="text"],
.demo-modal .demo-contact-form input[type="email"],
.demo-modal .demo-contact-form input[type="tel"],
.demo-modal .demo-contact-form select{
  display:block !important;

  width:100% !important;

  height:46px !important;
  min-height:46px !important;

  margin:0 !important;

  padding:0 13px !important;

  border:1px solid rgba(255,255,255,.085) !important;
  border-radius:11px !important;

  color:#e8f1f7 !important;

  background:
    rgba(255,255,255,.025) !important;

  font:inherit !important;
  font-size:13px !important;
  line-height:normal !important;

  box-sizing:border-box !important;

  outline:none !important;
}


/* TEXTAREA */

.demo-modal .demo-contact-form textarea{
  display:block !important;

  width:100% !important;

  min-height:110px !important;
  height:110px !important;

  margin:0 !important;

  padding:12px 13px !important;

  border:1px solid rgba(255,255,255,.085) !important;
  border-radius:11px !important;

  color:#e8f1f7 !important;

  background:
    rgba(255,255,255,.025) !important;

  font:inherit !important;
  font-size:13px !important;
  line-height:1.45 !important;

  resize:vertical !important;

  box-sizing:border-box !important;

  outline:none !important;
}


/* PLACEHOLDERS */

.demo-modal .demo-contact-form input::placeholder,
.demo-modal .demo-contact-form textarea::placeholder{
  color:#63798a !important;
  opacity:1 !important;
}


/* FOCUS */

.demo-modal .demo-contact-form input:focus,
.demo-modal .demo-contact-form select:focus,
.demo-modal .demo-contact-form textarea:focus{
  border-color:
    rgba(53,214,255,.42) !important;

  background:
    rgba(53,214,255,.035) !important;

  box-shadow:
    0 0 0 3px
    rgba(53,214,255,.06) !important;
}


/* FOOTER */

.demo-modal .demo-form-footer{
  display:flex !important;

  align-items:center !important;
  justify-content:space-between !important;

  gap:18px !important;

  width:100% !important;

  margin:20px 0 0 !important;
  padding:0 !important;
}


/* SUBMIT */

.demo-modal .demo-submit-wrap{
  display:flex !important;

  align-items:center !important;
  justify-content:flex-end !important;

  gap:8px !important;

  flex:0 0 auto !important;

  margin:0 !important;
  padding:0 !important;
}

.demo-modal .demo-submit{
  width:auto !important;

  min-width:151px !important;
  height:46px !important;

  margin:0 !important;

  padding:0 20px !important;
}


/* CF7 RESPONSE / ERROR MESSAGES */

.demo-modal .wpcf7 form.init .wpcf7-response-output,
.demo-modal .wpcf7 form.resetting .wpcf7-response-output{
  display:none !important;
}

.demo-modal .wpcf7-not-valid-tip{
  margin:5px 0 0 !important;
}


/* MOBILE */

@media(max-width:720px){

  .demo-modal .demo-modal-dialog{
    width:calc(100vw - 24px) !important;
    max-height:calc(100vh - 24px) !important;
  }

  .demo-modal .demo-form-grid{
    grid-template-columns:1fr !important;
    row-gap:13px !important;
  }

  .demo-modal .demo-form-grid > label.demo-form-full{
    grid-column:auto !important;
  }

  .demo-modal .demo-form-footer{
    align-items:stretch !important;
    flex-direction:column !important;
  }

  .demo-modal .demo-submit-wrap,
  .demo-modal .demo-submit{
    width:100% !important;
  }

}


/* ==========================================================
   CF7 PRODUCT SELECT — DROPDOWN VISIBILITY FIX
   ========================================================== */

/* Closed select stays dark like the rest of the form */
.demo-modal .demo-contact-form select{
  color:#e8f1f7 !important;
  background-color:#10202c !important;
}


/* Native dropdown options */
.demo-modal .demo-contact-form select option{
  color:#101820 !important;
  background:#ffffff !important;
  font-size:13px !important;
}


/* Selected option */
.demo-modal .demo-contact-form select option:checked{
  color:#ffffff !important;
  background:#3d8fe8 !important;
}


/* Hover/focus */
.demo-modal .demo-contact-form select:focus{
  color:#e8f1f7 !important;
  background-color:#10202c !important;
  border-color:rgba(53,214,255,.55) !important;
}

/* =========================
   CLIPS MINI FEATURES
   ========================= */

.feature-row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
  margin-top:24px;
}

.mini-feature{
  display:grid;
  grid-template-columns:42px 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  column-gap:14px;
  row-gap:4px;

  align-items:start;

  min-height:94px;
  padding:18px;

  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;

  background:
    radial-gradient(
      circle at top right,
      rgba(53,214,255,.06),
      transparent 42%
    ),
    rgba(255,255,255,.018);

  transition:
    transform .25s ease,
    border-color .25s ease,
    background .25s ease;
}

.mini-feature:hover{
  transform:translateY(-2px);
  border-color:rgba(53,214,255,.25);

  background:
    radial-gradient(
      circle at top right,
      rgba(53,214,255,.10),
      transparent 45%
    ),
    rgba(255,255,255,.025);
}


/* ICON */

.mini-feature i{
  grid-area:icon;

  display:flex;
  align-items:center;
  justify-content:center;

  width:42px;
  height:42px;

  border-radius:10px;

  color:#46d7ff;
  font-size:19px;

  background:rgba(53,214,255,.07);
  border:1px solid rgba(53,214,255,.10);
}


/* TITLE */

.mini-feature b{
  grid-area:title;

  display:block;

  margin:1px 0 0;

  color:#f3f7fb;
  font-size:15px;
  font-weight:700;
  line-height:1.25;
}


/* DESCRIPTION */

.mini-feature span{
  grid-area:text;

  display:block;

  color:#93a6b5;
  font-size:13px;
  line-height:1.5;
}


/* MOBILE */

@media(max-width:700px){

  .feature-row{
    grid-template-columns:1fr;
  }

}

/* Hide Google reCAPTCHA badge */
.grecaptcha-badge{
  visibility:hidden !important;
}


/* Make entire Book a Demo button clickable */
#demo .btn.primary{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;

  position:relative;
  z-index:20;

  pointer-events:auto !important;
  cursor:pointer;
}

/* Don't let button effects intercept clicks */
#demo .btn.primary::before,
#demo .btn.primary::after{
  pointer-events:none !important;
}

/* Keep CTA decorative layers behind content */
#demo .cta{
  position:relative;
}

#demo .cta > *{
  position:relative;
  z-index:2;
}

#demo .cta::before,
#demo .cta::after{
  pointer-events:none !important;
}


/* Keep logo clean — no nav hover treatment */
.site-header .brand,
.site-header .brand:hover,
.site-header .brand:focus{
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
  transform:none !important;
}

.site-header .brand::before,
.site-header .brand::after{
  display:none !important;
}

/* =========================================================
   CLIPS — FULL PRODUCT SCREENSHOT
========================================================= */

.clips-preview-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0 120px;
}


/* screenshot */
.clips-hero-media {
  position: relative;
  width: 100%;
}

.clips-hero-screenshot {
  width: 100%;

  /* keeps exact screenshot proportions */
  aspect-ratio: 1746 / 901;

  background-image: url("images/streamcentral-clips-feature.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;

  border-radius: 18px;

  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.50),
    0 0 70px rgba(37, 99, 235, 0.10);

  overflow: hidden;
}


/* subtle border */
.clips-hero-screenshot::before {
  content: "";
  position: absolute;
  inset: 0;

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: inherit;

  pointer-events: none;
}


/* glow behind screenshot */
.clips-hero-screenshot::after {
  content: "";
  position: absolute;

  width: 75%;
  height: 20%;
  left: 12.5%;
  bottom: -8%;

  background: rgba(39, 105, 255, 0.20);
  filter: blur(80px);

  z-index: -1;
  pointer-events: none;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {

  .clips-preview-section {
    padding: 50px 0 80px;
  }

  .clips-hero-screenshot {
    border-radius: 12px;
  }

}


.clip-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

.clip-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


.reframe-demo {
  width: 360px;
  max-width: 100%;
  height: 500px;

  border-radius: 18px;
  overflow: hidden;

  border: 1px solid rgba(56, 189, 248, 0.30);
  background: #08121e;

  box-shadow:
    0 25px 60px rgba(0,0,0,.25),
    0 0 40px rgba(56,189,248,.04);
}

.reframe-demo img {
  width: 100%;
  height: 100%;
  display: block;

  /* crops the wide screenshot */
  object-fit: cover;

  /* keeps crop centered */
  object-position: center center;
}

/* =========================================================
   SMART REFRAME SECTION
========================================================= */

.reframe-section {
  padding: 80px 0;
}

.reframe-product {
  display: grid;
  grid-template-columns: 520px minmax(0, 560px);
  align-items: center;
  justify-content: center;
  gap: 80px;
}


/* IMAGE */
.reframe-demo {
  width: 520px;
  height: 540px;
  max-width: 100%;

  overflow: hidden;
  border-radius: 18px;

  border: 1px solid rgba(56, 189, 248, 0.28);
  background: #07111c;

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.30),
    0 0 50px rgba(56, 189, 248, 0.05);
}

.reframe-demo img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: center center;
}


/* TEXT */
.reframe-product > div:last-child {
  width: 100%;
  max-width: 560px;
}

.reframe-product h3 {
  margin-top: 8px;
}

.reframe-product p {
  max-width: 540px;
}


/* TABLET */
@media (max-width: 1050px) {

  .reframe-product {
    grid-template-columns: minmax(360px, 480px) minmax(0, 1fr);
    gap: 50px;
  }

  .reframe-demo {
    width: 100%;
    height: 500px;
  }

}


/* MOBILE */
@media (max-width: 768px) {

  .reframe-section {
    padding: 60px 0;
  }

  .reframe-product {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .reframe-demo {
    width: 100%;
    height: 520px;
    margin: 0 auto;
  }

}

.template-editor-screen {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.template-editor-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.calendar-screen {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #08111c;

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.28),
    0 0 50px rgba(56, 189, 248, 0.04);
}

.calendar-screen img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: center;
}

p.small.muted {
    margin: 7px 0;
}

/* ==========================================================
   FINAL CLIPS HERO LAYOUT OVERRIDES
   Compact top animation + full-width product screenshot
   ========================================================== */

.page-clips .clips-hero-section {
  position: relative;
  padding: 76px 0 68px;
  overflow: hidden;
}

/* Keep only the copy + animated editor in the top two-column grid. */
.page-clips .clips-hero {
  padding: 0;
  display: grid;
  grid-template-columns: 1.05fr .75fr;
  gap: 60px;
  align-items: center;
}

/* Smaller supporting animation, similar in scale to the Live hero panel. */
.page-clips .clips-hero > .editor-shell {
  width: 100%;
  max-width: 470px;
  justify-self: end;
  border-radius: 18px;
  box-shadow:
    0 24px 65px rgba(0,0,0,.36),
    0 0 35px rgba(53,214,255,.035);
}

.page-clips .clips-hero .editor-top {
  height: 38px;
  padding: 0 12px;
  font-size: 10px;
}

.page-clips .clips-hero .editor-body {
  grid-template-columns: minmax(0,1fr) 155px;
  gap: 8px;
  padding: 10px;
}

.page-clips .clips-hero .editor-preview,
.page-clips .clips-hero .sc-smartcrop-host {
  min-height: 205px !important;
  border-radius: 11px;
}

.page-clips .clips-hero .sc-smartcrop-rail {
  left: 6%;
  right: 6%;
  top: 6%;
  bottom: 6%;
}

.page-clips .clips-hero .sc-smartcrop-frame {
  height: 80% !important;
  max-height: 165px;
  border-radius: 15px;
}

.page-clips .clips-hero .sc-smartcrop-captions {
  gap: 5px;
}

.page-clips .clips-hero .sc-caption {
  height: 6px;
}

.page-clips .clips-hero .editor-side {
  display: grid;
  gap: 7px;
}

.page-clips .clips-hero .editor-box {
  padding: 10px;
  border-radius: 9px;
}

.page-clips .clips-hero .editor-box b {
  font-size: 10px;
  margin-bottom: 5px;
}

.page-clips .clips-hero .editor-box span {
  font-size: 9px;
  line-height: 1.35;
}

.page-clips .clips-hero .topic-strip {
  gap: 5px;
  padding: 0 10px 8px;
}

.page-clips .clips-hero .topic-strip span {
  height: 6px;
}

.page-clips .clips-hero .highlight-strip {
  gap: 5px;
  padding: 0 10px 10px;
}

.page-clips .clips-hero .highlight-strip span {
  height: 5px;
}

/* The real product screenshot sits outside .clips-hero, so it can use the
   entire site container width just like the Live page screenshot. */
.page-clips .clips-feature-wrap {
  position: relative;
  margin-top: 42px;
}

.page-clips .clips-hero-screenshot {
  position: relative;
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
  background: #08111c;
  background-image: none;
  border: 1px solid rgba(53,214,255,.18);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 35px 100px rgba(0,0,0,.42),
    0 0 70px rgba(47,107,255,.07);
}

.page-clips .clips-hero-screenshot img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.page-clips .clips-hero-screenshot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
  pointer-events: none;
}

/* Disable the old pseudo-element glow that was tied to the background-image
   version of this component. */
.page-clips .clips-hero-screenshot::after {
  content: none;
  display: none;
}

/* Tablet: stack the top hero, but keep the animation from becoming huge. */
@media (max-width: 1140px) {
  .page-clips .clips-hero-section {
    padding: 64px 0 58px;
  }

  .page-clips .clips-hero {
    grid-template-columns: 1fr !important;
    gap: 38px !important;
    padding: 0 !important;
  }

  .page-clips .clips-hero > .editor-shell {
    width: 100% !important;
    max-width: 700px !important;
    justify-self: start !important;
  }

  .page-clips .clips-hero .editor-body {
    grid-template-columns: minmax(0,1fr) 190px;
  }

  .page-clips .clips-hero .editor-preview,
  .page-clips .clips-hero .sc-smartcrop-host {
    min-height: 280px !important;
  }

  .page-clips .clips-hero .sc-smartcrop-frame {
    height: 84% !important;
    max-height: 225px;
  }

  .page-clips .clips-feature-wrap {
    margin-top: 40px;
  }

  .page-clips .clips-hero-screenshot {
    border-radius: 18px;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .page-clips .clips-hero-section {
    padding: 58px 0 50px;
  }

  .page-clips .clips-hero {
    gap: 32px !important;
  }

  .page-clips .clips-hero > .editor-shell {
    max-width: none !important;
    justify-self: stretch !important;
  }

  .page-clips .clips-hero .editor-body {
    grid-template-columns: 1fr !important;
  }

  .page-clips .clips-hero .editor-side {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }

  .page-clips .clips-hero .editor-preview,
  .page-clips .clips-hero .sc-smartcrop-host {
    min-height: 250px !important;
  }

  .page-clips .clips-hero .sc-smartcrop-frame {
    height: 84% !important;
    max-height: 205px;
  }

  .page-clips .clips-feature-wrap {
    margin-top: 32px;
  }

  .page-clips .clips-hero-screenshot {
    border-radius: 14px;
  }
}

@media (max-width: 520px) {
  .page-clips .clips-hero .editor-side {
    grid-template-columns: 1fr !important;
  }

  .page-clips .clips-hero .editor-preview,
  .page-clips .clips-hero .sc-smartcrop-host {
    min-height: 230px !important;
  }

  .page-clips .clips-hero .sc-smartcrop-frame {
    max-height: 188px;
  }
}


/* ==========================================================
   CLIPS HERO — LIVE PAGE STYLE ALIGNMENT
   Aligns the compact AI animation with the top of the copy
   and places the feature chips beneath the animation.
   Requires the hero HTML structure using:
   .clips-hero-copy, .clips-hero-visual, .clips-hero-chips
   ========================================================== */

.page-clips .clips-hero {
  display: grid;
  grid-template-columns: 1.05fr .75fr;
  gap: 60px;
  align-items: start;
}

.page-clips .clips-hero-copy {
  align-self: start;
  min-width: 0;
}

.page-clips .clips-hero-visual {
  width: 100%;
  max-width: 470px;
  min-width: 0;
  justify-self: end;
  align-self: start;
  display: flex;
  flex-direction: column;
}

.page-clips .clips-hero-visual .editor-shell {
  width: 100%;
  max-width: 470px;
  margin: 0;
  justify-self: auto;
}

.page-clips .clips-hero-chips {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 9px;
  margin-top: 28px;
}

.page-clips .clips-hero-chips .chip {
  flex: 0 0 auto;
}

/* Keep the full product screenshot close to the hero, like Live. */
.page-clips .clips-feature-wrap {
  margin-top: 44px;
}

@media (max-width: 1140px) {
  .page-clips .clips-hero {
    grid-template-columns: 1fr !important;
    gap: 38px !important;
    align-items: start;
  }

  .page-clips .clips-hero-copy {
    width: 100%;
    max-width: 800px;
  }

  .page-clips .clips-hero-visual {
    width: 100%;
    max-width: 700px;
    justify-self: start;
  }

  .page-clips .clips-hero-visual .editor-shell {
    width: 100%;
    max-width: 700px;
  }

  .page-clips .clips-hero-chips {
    margin-top: 22px;
  }

  .page-clips .clips-feature-wrap {
    margin-top: 40px;
  }
}

@media (max-width: 720px) {
  .page-clips .clips-hero {
    gap: 32px !important;
  }

  .page-clips .clips-hero-visual {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .page-clips .clips-hero-visual .editor-shell {
    width: 100%;
    max-width: none;
  }

  .page-clips .clips-hero-chips {
    gap: 7px;
    margin-top: 20px;
  }

  .page-clips .clips-feature-wrap {
    margin-top: 32px;
  }
}
