/* Marketing Page — Discovery Platform Slice 1.b design prototype.
   Reference: Netflix title page. Owner-gated preview for now; Phase 3 will
   promote this into the canonical PDE URL space. */

:root {
  --mp-bg:         #0a0a0a;
  --mp-bg-2:       #141414;
  --mp-panel:      #1a1a1a;
  --mp-panel-2:    #232323;
  --mp-border:     rgba(255,255,255,0.08);
  --mp-text:       #f5f5f5;
  --mp-text-muted: #b3b3b3;
  --mp-text-dim:   #8a8a8a;
  --mp-cta:        #00617c;   /* ROBATTV brand primary */
  --mp-cta-hover:  #00789c;
  --mp-cta-glow:   rgba(0, 97, 124, 0.35);
  --mp-brand-color: #00c1ff; /* overridden per-channel */
  --mp-radius:     14px;
  --mp-radius-lg:  22px;
}

* { box-sizing: border-box; }

html { background: #000; }  /* fallback for the transparent body */

html, body {
  margin: 0; padding: 0;
  background: transparent;   /* fixed page-backdrop shows through everything */
  color: var(--mp-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* Hidden sampler video: exists solely so the ambilight JS has a
   CORS-clean video element to draw into a canvas. Kept in-viewport
   with opacity 0 so browsers don't pause decoding it, but tiny so
   it uses no perceptible bandwidth/compositing beyond the sampling. */
.marketing-hero__sampler {
  position: fixed;
  top: 0; left: 0;
  width: 48px; height: 27px;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

/* ---------- Fixed page backdrop ----------
   The same media as the hero, extremely blurred, pinned to the
   viewport. Content scrolls over it; the backdrop stays put. */

.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.page-backdrop__media {
  position: absolute;
  top: -8%; left: -8%;
  width: 116%; height: 116%;
  object-fit: cover;
  filter: blur(64px) saturate(1.35) brightness(0.7);
  transform: translateZ(0);
}
.page-backdrop__fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 800px at 30% 30%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(160deg, #1c1c1c 0%, #0a0a0a 100%);
}
.page-backdrop__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.30) 0%,
    rgba(0,0,0,0.50) 40%,
    rgba(0,0,0,0.72) 100%);
}

/* Every content section sits ABOVE the fixed backdrop. */
.marketing-topbar,
.marketing-hero,
.marketing-metacard,
.marketing-rail,
.marketing-more-details,
.marketing-hashtags,
.marketing-longform,
.marketing-faqs,
.marketing-cta-band,
.marketing-footer {
  position: relative;
  z-index: 1;
}

/* ---------- Top bar ---------- */

.marketing-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 18px 32px;
  gap: 24px;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.30) 60%,
    rgba(0,0,0,0.00) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.marketing-topbar__logo img { height: 30px; }

.marketing-topbar__nav {
  justify-self: center;
  display: flex;
  gap: 10px;
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--mp-border);
  border-radius: 999px;
  padding: 8px 14px;
  backdrop-filter: blur(8px);
}
.marketing-topbar__nav a {
  color: var(--mp-text);
  text-decoration: none;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background .15s ease;
}
.marketing-topbar__nav a:hover { background: rgba(255,255,255,0.08); }

.marketing-topbar__signin {
  color: #111;
  background: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s ease;
}
.marketing-topbar__signin:hover { background: #e0e0e0; }

/* ---------- Hero ---------- */

.marketing-hero {
  position: relative;
  padding: 96px 40px 60px;
  min-height: 78vh;
}

/* Empty-state notice — surfaces only to owners/admins when the video
   has no CIP artifacts yet. Sits above the hero. */
.marketing-empty-notice {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 92px auto 0;
  padding: 14px 22px;
  background: rgba(0, 97, 124, 0.14);
  border: 1px solid rgba(0, 97, 124, 0.5);
  border-radius: 12px;
  color: #cff2ff;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.marketing-empty-notice strong { color: #fff; }

/* Stage wrapper: hosts the video card + overlays as absolute-positioned
   siblings, and generates the aurora glow that surrounds the card. */
.marketing-hero__stage {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

/* Ambilight halo — the "how did they do that?" moment.
   A conic-gradient in eight brand-safe color slots that a small JS
   file (public/js/marketing-ambilight.js) overwrites with colors
   sampled directly from the currently-playing video, ~2-3x per second.
   The whole halo rotates slowly (30s / revolution) so the sampled
   colors read as "circling" the card. If CORS blocks video sampling
   the defaults below stay in place and this becomes a static brand-
   coloured aurora — same aesthetic, no dynamic response. */
.marketing-hero__stage::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: conic-gradient(
    from 0deg,
    var(--ambi-c1, rgba(0, 97, 124, 0.9)),
    var(--ambi-c2, rgba(0, 193, 255, 0.8)),
    var(--ambi-c3, rgba(0, 97, 124, 0.9)),
    var(--ambi-c4, rgba(0, 60, 100, 0.85)),
    var(--ambi-c5, rgba(0, 97, 124, 0.9)),
    var(--ambi-c6, rgba(0, 193, 255, 0.8)),
    var(--ambi-c7, rgba(0, 97, 124, 0.9)),
    var(--ambi-c8, rgba(0, 60, 100, 0.85)),
    var(--ambi-c1, rgba(0, 97, 124, 0.9))
  );
  filter: blur(60px);
  border-radius: 42%;
  animation: ambi-drift 30s linear infinite;
  pointer-events: none;
  will-change: transform;
  transition: background 500ms ease-out;
}

/* Secondary halo pass — tighter, slightly transparent, opposite rotation.
   Adds depth so the colours read as truly circling instead of just
   spinning. */
.marketing-hero__stage::after {
  content: '';
  position: absolute;
  inset: -18px;
  background: conic-gradient(
    from 45deg,
    var(--ambi-c1, rgba(0, 97, 124, 0.7)),
    var(--ambi-c3, rgba(0, 97, 124, 0.7)),
    var(--ambi-c5, rgba(0, 97, 124, 0.7)),
    var(--ambi-c7, rgba(0, 97, 124, 0.7)),
    var(--ambi-c1, rgba(0, 97, 124, 0.7))
  );
  filter: blur(30px);
  border-radius: 30px;
  animation: ambi-drift 22s linear infinite reverse;
  pointer-events: none;
  will-change: transform;
  opacity: 0.65;
  transition: background 500ms ease-out;
}

@keyframes ambi-drift {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Foreground: the actual video, contained + centered. Clean rounded
   card. Depth from the ambilight halo behind it plus one soft dark
   drop shadow to anchor it. */
.marketing-hero__foreground {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 22px;
  background: #000;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Honor OS-level reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  .marketing-hero__stage::before,
  .marketing-hero__stage::after {
    animation: none;
  }
}

.marketing-hero__video,
.marketing-hero__image {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.marketing-hero__fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 30% 30%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(160deg, #1c1c1c 0%, #0a0a0a 100%);
}

.marketing-hero__gradient {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to top,
      rgba(0,0,0,0.85) 0%,
      rgba(0,0,0,0.35) 32%,
      rgba(0,0,0,0.00) 60%);
}

.marketing-hero__cta {
  position: absolute;
  left: 44px; bottom: 52px;
  z-index: 3;
  max-width: 520px;
}

.marketing-hero__channel-mark {
  margin-bottom: 12px;
  height: 26px;
}
.marketing-hero__channel-mark img { height: 100%; width: auto; }
.marketing-hero__channel-mark--text {
  color: var(--mp-brand-color);
  color: var(--brand-color, var(--mp-brand-color));
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
}

.marketing-hero__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-shadow: 0 3px 18px rgba(0,0,0,0.55);
}

.marketing-hero__tagline {
  margin: 0 0 22px;
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  max-width: 480px;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.marketing-hero__actions {
  display: flex; gap: 10px;
}

.marketing-hero__controls {
  position: absolute; right: 22px; bottom: 22px; z-index: 3;
  display: flex; gap: 8px;
}
.marketing-hero__ctrl {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.marketing-hero__ctrl:hover { background: rgba(0,0,0,0.78); transform: scale(1.05); }

/* ---------- CTA buttons (shared) ---------- */

.marketing-cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
  text-align: center;
  line-height: 1;
}
.marketing-cta--primary {
  background: var(--mp-cta);
  color: #fff;
  box-shadow: 0 8px 24px var(--mp-cta-glow);
}
.marketing-cta--primary:hover {
  background: var(--mp-cta-hover);
  transform: translateY(-1px);
}
.marketing-cta--secondary {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}
.marketing-cta--secondary:hover { background: rgba(255,255,255,0.22); }
.marketing-cta--band {
  min-width: 220px;
  padding: 16px 42px;
  font-size: 16px;
}

/* ---------- Meta card ---------- */

.marketing-metacard {
  padding: 40px 40px 20px;
  max-width: 1400px;
  margin: 30px auto 0;
  position: relative; z-index: 4;
}
.marketing-metacard__inner {
  background: linear-gradient(180deg, rgba(28,28,28,0.85) 0%, rgba(20,20,20,0.75) 100%);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  padding: 34px 40px;
  backdrop-filter: blur(12px);
}
.marketing-metacard__title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.marketing-metacard__meta {
  margin: 0 0 22px;
  color: var(--mp-text-muted);
  font-size: 14px;
}
.marketing-metacard__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.marketing-metacard__synopsis {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--mp-text);
}
.marketing-metacard__attrib dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 14px;
  font-size: 14px;
}
.marketing-metacard__attrib dt {
  color: var(--mp-text-muted);
  font-weight: 600;
}
.marketing-metacard__attrib dd {
  margin: 0;
  color: var(--mp-text);
}

/* ---------- Rails ---------- */

.marketing-rail {
  max-width: 1400px;
  margin: 44px auto;
  padding: 0 40px;
}
.marketing-rail__title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
}
.marketing-rail__scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.marketing-rail__scroll::-webkit-scrollbar { height: 8px; }
.marketing-rail__scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15); border-radius: 4px;
}

.marketing-rail__tile {
  flex: 0 0 auto;
  scroll-snap-align: start;
  cursor: default;
}
.marketing-rail__tile--wide { width: 280px; }
.marketing-rail__tile--poster { width: 180px; }

.marketing-rail__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--mp-panel-2);
  border-radius: 10px;
  overflow: hidden;
}
.marketing-rail__thumb--poster {
  aspect-ratio: 2 / 3;
  border-radius: 8px;
}
.marketing-rail__thumb img { width: 100%; height: 100%; object-fit: cover; }
.marketing-rail__duration {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(0,0,0,0.65);
  color: #fff; font-size: 12px;
  padding: 3px 8px; border-radius: 4px;
}
.marketing-rail__caption {
  margin-top: 10px;
}
.marketing-rail__caption-eyebrow {
  color: var(--mp-text-dim);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.marketing-rail__caption-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--mp-text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.marketing-rail__caption-subtitle {
  color: var(--mp-text-dim);
  font-size: 12.5px;
  margin-top: 2px;
}

/* ---------- More Details ---------- */

.marketing-more-details {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 40px;
}
.marketing-more-details__title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
}
.marketing-more-details__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.marketing-more-details__card {
  background: rgba(20,20,20,0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  padding: 22px 24px;
}
.marketing-more-details__card h4 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mp-text);
}
.marketing-more-details__label {
  color: var(--mp-text-muted);
  font-size: 12px;
  font-weight: 600;
  margin-top: 12px;
  letter-spacing: 0.02em;
}
.marketing-more-details__card > div + div {
  margin-top: 2px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--mp-text);
}
.marketing-more-details__card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--mp-text);
}
.marketing-more-details__muted { color: var(--mp-text-muted); }

.marketing-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--mp-border);
  font-size: 12.5px;
  margin: 4px 4px 0 0;
  color: var(--mp-text);
}

/* ---------- Hashtags row (all of the AI-generated tags) ---------- */

.marketing-hashtags {
  max-width: 1400px;
  margin: 10px auto 30px;
  padding: 0 40px;
}
.marketing-hashtags__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.marketing-hashtag {
  color: var(--mp-text-muted);
  font-size: 13px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--mp-border);
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.marketing-hashtag:hover {
  background: rgba(255,255,255,0.10);
  color: var(--mp-text);
}

/* ---------- Long-form + FAQs ---------- */

.marketing-longform {
  max-width: 820px;
  margin: 60px auto;
  padding: 0 40px;
}
.marketing-longform__title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
}
.marketing-longform__body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--mp-text);
  margin: 0 0 16px;
}

.marketing-faqs {
  max-width: 820px;
  margin: 60px auto;
  padding: 0 40px;
}
.marketing-faqs__title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
}
.marketing-faqs__list details {
  background: rgba(20,20,20,0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--mp-border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 8px;
}
.marketing-faqs__list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--mp-text);
  list-style: none;
  outline: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.marketing-faqs__list summary::-webkit-details-marker { display: none; }
.marketing-faqs__list summary::after {
  content: "+";
  color: var(--mp-text-muted);
  font-size: 22px;
  line-height: 1;
}
.marketing-faqs__list details[open] summary::after { content: "–"; }
.marketing-faqs__list p {
  margin: 12px 0 0;
  color: var(--mp-text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- CTA bands ---------- */

.marketing-cta-band {
  display: flex;
  justify-content: center;
  padding: 40px 40px;
}
.marketing-cta-band--final {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  padding: 60px 40px 80px;
  background: radial-gradient(ellipse at center bottom, var(--mp-cta-glow), transparent 60%);
}
.marketing-cta-band__pitch h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--mp-text);
}
.marketing-cta-band__pitch p {
  margin: 0;
  color: var(--mp-text-muted);
  font-size: 15px;
}

/* ---------- Footer ---------- */

.marketing-footer {
  border-top: 1px solid rgba(255,255,255,0.10);
  background: transparent;
  padding: 30px 40px 60px;
  color: var(--mp-text-muted);
  text-align: center;
  font-size: 13px;
}
.marketing-footer nav {
  display: flex; justify-content: center; gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.marketing-footer a { color: var(--mp-text-muted); text-decoration: none; }
.marketing-footer a:hover { color: var(--mp-text); text-decoration: underline; }

/* ---------- Owner sticky strip ---------- */

.marketing-owner-strip {
  position: fixed;
  left: 24px; bottom: 24px;
  z-index: 100;
  display: flex; align-items: center; gap: 14px;
  background: rgba(20,20,20,0.94);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 12px 14px 12px 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(14px);
  max-width: calc(100vw - 48px);
}
.marketing-owner-strip__label {
  display: flex; align-items: center; gap: 10px;
}
.marketing-owner-strip__badge {
  display: inline-flex; align-items: center;
  background: var(--mp-cta); color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
}
.marketing-owner-strip__hint {
  color: var(--mp-text-muted);
  font-size: 13px;
}
.marketing-owner-strip__actions { display: flex; gap: 8px; }
.marketing-owner-strip__btn {
  background: #fff; color: #111;
  border: none; padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
}
.marketing-owner-strip__btn:hover { background: #e6e6e6; transform: translateY(-1px); }
.marketing-owner-strip__btn:disabled { opacity: .6; cursor: wait; transform: none; }
.marketing-owner-strip__btn--muted {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}
.marketing-owner-strip__btn--muted:hover { background: rgba(255,255,255,0.22); }

/* ---------- Report modal ---------- */

.marketing-report-modal {
  position: fixed; inset: 0; z-index: 200;
}
.marketing-report-modal[hidden] { display: none; }
.marketing-report-modal__scrim {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}
.marketing-report-modal__panel {
  position: relative;
  max-width: 560px;
  margin: 8vh auto 0;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 30px 32px 26px;
  color: var(--mp-text);
}
.marketing-report-modal__close {
  position: absolute; top: 12px; right: 14px;
  background: transparent; border: none; color: var(--mp-text-muted);
  font-size: 28px; cursor: pointer; line-height: 1;
}
.marketing-report-modal__panel h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
}
.marketing-report-modal__disclaimer {
  color: var(--mp-text-muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 20px;
}
.marketing-report-modal__disclaimer strong { color: var(--mp-text); }
.marketing-report-modal__panel label {
  display: block;
  margin: 12px 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mp-text);
}
.marketing-report-modal__optional { color: var(--mp-text-dim); font-weight: 500; }
.marketing-report-modal__panel select,
.marketing-report-modal__panel textarea {
  width: 100%;
  background: #1e1e1e;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  color: #fff;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}
.marketing-report-modal__panel textarea { resize: vertical; min-height: 100px; }
.marketing-report-modal__panel select:focus,
.marketing-report-modal__panel textarea:focus {
  outline: none;
  border-color: var(--mp-cta);
}
.marketing-report-modal__actions {
  display: flex; justify-content: flex-end; gap: 10px;
  margin-top: 20px;
}
.marketing-report-modal__status {
  margin: 14px 0 0;
  font-size: 13.5px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0,193,255,0.08);
  border: 1px solid rgba(0,193,255,0.25);
  color: #7ee0ff;
}
.marketing-report-modal__status.is-error {
  background: rgba(229,9,20,0.08);
  border-color: rgba(229,9,20,0.35);
  color: #ffa8ad;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .marketing-topbar { padding: 16px 18px; }
  .marketing-topbar__nav { display: none; }

  .marketing-hero {
    padding: 80px 16px 30px;
    min-height: auto;
  }
  /* Mobile: stack the CTA below the video instead of overlaying it,
     so the video is never covered. */
  .marketing-hero__stage {
    aspect-ratio: unset;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .marketing-hero__stage::before,
  .marketing-hero__stage::after {
    inset: -30px;
    filter: blur(50px);
  }
  .marketing-hero__foreground {
    position: relative;
    inset: unset;
    aspect-ratio: 16 / 9;
  }
  .marketing-hero__gradient { display: none; }
  .marketing-hero__cta {
    position: relative;
    left: unset; bottom: unset;
    max-width: 100%;
    padding: 0 6px;
    text-shadow: none;
  }
  .marketing-hero__title { font-size: clamp(22px, 5vw, 28px); }
  .marketing-hero__tagline { font-size: 13px; }
  .marketing-hero__controls { right: 10px; bottom: 10px; gap: 6px; }
  .marketing-hero__ctrl { width: 32px; height: 32px; }
  .marketing-hero__ctrl svg { width: 14px; height: 14px; }

  .marketing-metacard { padding: 26px 18px 10px; margin-top: 16px; }
  .marketing-metacard__inner { padding: 24px 20px; }
  .marketing-metacard__grid { grid-template-columns: 1fr; gap: 20px; }
  .marketing-more-details { padding: 0 18px; }
  .marketing-more-details__grid { grid-template-columns: 1fr; }
  .marketing-longform, .marketing-faqs { padding: 0 18px; }
  .marketing-rail { padding: 0 18px; }
  .marketing-owner-strip {
    left: 12px; right: 12px; bottom: 12px;
    flex-direction: column; align-items: stretch;
  }
  .marketing-owner-strip__label { justify-content: center; }
  .marketing-owner-strip__actions { justify-content: center; }
}
