:root {
  --studio: #08090d;
  --bg: #0c0d12;
  --surface: #14161f;
  --surface-2: #1b1e2b;
  --surface-3: #222638;
  --border: #272b3d;
  --border-strong: #373d57;
  --text: #edf0f7;
  --muted: #9aa1b8;
  --dim: #6f768f;
  --ink: #08090d;

  /* Look 4 "Pop Signal" semantic accents */
  --pink: #ff4d8d;
  --pink-soft: rgba(255, 77, 141, 0.14);
  --pink-border: rgba(255, 77, 141, 0.42);
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.14);
  --cyan-border: rgba(34, 211, 238, 0.42);
  --amber: #f5b942;
  --amber-soft: rgba(245, 185, 66, 0.14);
  --amber-border: rgba(245, 185, 66, 0.42);
  --teal: #00d4aa;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--studio);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--studio);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

.mono {
  font-family: var(--font-mono);
}

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

/* Subtle studio background grid & atmospheric accents */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 20%, black 20%, transparent 78%);
}

.bg-glow {
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
  pointer-events: none;
  z-index: -2;
}

.bg-glow-pink {
  top: -180px;
  right: -120px;
  background: var(--pink);
}

.bg-glow-cyan {
  top: 260px;
  left: -220px;
  background: var(--cyan);
  opacity: 0.11;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 9, 13, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(39, 43, 61, 0.75);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.brand-mark .bar {
  flex: 1;
  border-radius: 2px;
  background: var(--text);
}

.brand-mark .bar-1 {
  height: 55%;
}

.brand-mark .bar-2 {
  height: 100%;
  background: var(--pink);
}

.brand-mark .bar-3 {
  height: 40%;
  background: var(--cyan);
}

.brand-mark .bar-4 {
  height: 75%;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid var(--cyan-border);
  white-space: nowrap;
}

.badge-pill-pink {
  color: var(--pink);
  background: var(--pink-soft);
  border-color: var(--pink-border);
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 120ms ease,
    background-color 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.86rem;
}

.btn-primary {
  background: var(--text);
  color: var(--ink);
}

.btn-primary:hover {
  background: #ffffff;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.14);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-3);
  border-color: var(--muted);
}

.btn-full {
  width: 100%;
}

.chip-btn {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    background-color 140ms ease;
}

.chip-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface-3);
}

/* Hero */
.hero {
  padding: 72px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 4.1vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.headline-accent {
  display: block;
  background: linear-gradient(92deg, #ffffff 10%, var(--pink) 62%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 54ch;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
}

.waitlist-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.waitlist-form input::placeholder {
  color: var(--dim);
}

.waitlist-form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
}

.form-note {
  margin: 10px 0 0;
  font-size: 0.84rem;
  color: var(--dim);
  min-height: 1.3em;
}

.form-note.is-success {
  color: var(--teal);
}

.form-note.is-error {
  color: var(--pink);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  max-width: 460px;
}

.hero-metrics dt {
  font-size: 0.78rem;
  color: var(--dim);
  margin-bottom: 4px;
}

.hero-metrics dd {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

/* Interactive Editor Preview */
.editor-preview {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.editor-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.window-dots {
  display: inline-flex;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}

.editor-title {
  font-size: 0.76rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.editor-controls {
  display: inline-flex;
  gap: 6px;
}

.editor-stage {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 77, 141, 0.14), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(34, 211, 238, 0.1), transparent 55%), var(--studio);
}

.stage-hud-top,
.stage-hud-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--muted);
}

.hud-tag {
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(12, 13, 18, 0.85);
  border: 1px solid var(--border);
  color: var(--text);
}

.hud-tag-cyan {
  color: var(--cyan);
  border-color: var(--cyan-border);
}

.hud-tag-pink {
  color: var(--pink);
  border-color: var(--pink-border);
}

.stage-visual {
  position: relative;
  margin: 12px 0;
  height: 152px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #121524 0%, #1a1526 55%, #111b27 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.stage-pulse {
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    rgba(255, 77, 141, 0.2),
    rgba(34, 211, 238, 0.16),
    rgba(245, 185, 66, 0.12),
    rgba(255, 77, 141, 0.2)
  );
  filter: blur(28px);
  opacity: 0.55;
  transition:
    transform 140ms ease-out,
    opacity 140ms ease-out;
}

.stage-visual.is-beat .stage-pulse {
  transform: scale(1.12);
  opacity: 0.92;
}

.stage-clip-label {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(8, 9, 13, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.stage-clip-id {
  display: block;
  font-size: 0.7rem;
  color: var(--cyan);
  margin-bottom: 4px;
}

.stage-clip-label strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.stage-clip-fx {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--amber);
}

/* Timeline panel */
.timeline-panel {
  padding: 12px 14px 14px;
  background: var(--bg);
}

.timeline-ruler {
  display: flex;
  justify-content: space-between;
  padding-left: 52px;
  margin-bottom: 8px;
  font-size: 0.68rem;
  color: var(--dim);
}

.marker-drop {
  color: var(--pink);
  font-weight: 600;
}

.timeline-tracks {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.playhead {
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: 52px;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.75);
  z-index: 5;
  pointer-events: none;
}

.playhead::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #ffffff;
}

.track-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.track-label {
  font-size: 0.66rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.clip-lane {
  display: flex;
  gap: 3px;
  height: 36px;
}

.clip-block {
  position: relative;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 4px 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  transition:
    border-color 120ms ease,
    background-color 120ms ease;
}

.clip-block span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clip-block.is-drop {
  background: var(--pink-soft);
  border-color: var(--pink-border);
}

.clip-block.is-drop span {
  color: #ffc2d8;
}

.clip-block.is-active {
  border-color: var(--cyan);
  background: var(--cyan-soft);
}

.clip-block.is-active span {
  color: var(--text);
}

.fx-lane {
  display: flex;
  gap: 3px;
  height: 22px;
}

.fx-pill {
  border-radius: 5px;
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fx-spacer {
  background: transparent;
  border: 1px dashed rgba(39, 43, 61, 0.55);
  border-radius: 5px;
}

.wave-lane {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  padding: 4px 6px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.wave-bar {
  flex: 1;
  border-radius: 2px;
  background: rgba(154, 161, 184, 0.35);
}

.wave-bar.is-peak {
  background: rgba(255, 77, 141, 0.8);
}

.timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--dim);
}

.swatch {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

.swatch-cyan {
  background: var(--cyan);
}

.swatch-pink {
  background: var(--pink);
}

.swatch-amber {
  background: var(--amber);
}

/* Sections */
.section {
  padding: 80px 0;
  border-top: 1px solid rgba(39, 43, 61, 0.65);
}

.section-alt {
  background: rgba(12, 13, 18, 0.72);
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* Cards & Grids */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.card-tag {
  font-size: 0.72rem;
  margin-bottom: 12px;
}

.card-tag-pink {
  color: var(--pink);
}

.card-tag-cyan {
  color: var(--cyan);
}

.card-tag-amber {
  color: var(--amber);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Workflow */
.workflow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.workflow-steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  font-size: 0.78rem;
  color: var(--pink);
  margin-bottom: 14px;
}

.workflow-steps h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
}

.workflow-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Plans */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.plan-card-featured {
  border-color: var(--pink-border);
  background: linear-gradient(180deg, rgba(255, 77, 141, 0.06) 0%, var(--surface) 45%);
}

.plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.plan-sub {
  margin: 4px 0 0;
  color: var(--dim);
  font-size: 0.88rem;
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.plan-card-featured .plan-list li::before {
  background: var(--pink);
}

/* Partnerships & Licensing */
.partner-box {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: center;
}

.partner-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.partner-copy p {
  margin: 0 0 14px;
  color: var(--muted);
}

.partner-sub {
  font-size: 0.92rem;
  color: var(--dim);
}

.partner-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 24px;
}

.partner-meta {
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.partner-meta dt {
  font-size: 0.76rem;
  color: var(--dim);
  margin-bottom: 2px;
}

.partner-meta dd {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text);
}

.inline-link {
  color: var(--cyan);
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 36px;
  background: var(--studio);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--dim);
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.text-link {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
}

.text-link:hover {
  color: var(--text);
}

/* Legal Modal */
.legal-modal {
  width: min(560px, calc(100% - 32px));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  padding: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
}

.legal-modal::backdrop {
  background: rgba(8, 9, 13, 0.76);
  backdrop-filter: blur(4px);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.modal-head h3 {
  margin: 0;
  font-size: 1.1rem;
}

.modal-body p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .site-nav {
    display: none;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-grid,
  .partner-box {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .waitlist-form {
    flex-direction: column;
  }

  .plans-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .header-inner .btn {
    display: none;
  }
}
