:root {
  color-scheme: dark;
  --bg: #020206;
  --copy: #e0e0e0;
  --muted: rgba(255, 255, 255, 0.6);
  --accent: #9de7ff;
  --header-height: 64px;
  --stage-surface: #16181e;
  --stage-orange: #d65d0e;
  --stage-900: #0b0c10;
  --stage-blue: #0ea5e9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--copy);
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: var(--bg);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 24px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.header-brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.header-logo {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
}

.header-title {
  display: block;
  margin: 0;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.header-subtitle {
  display: block;
  font-family: 'Kode Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--copy);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.header-brand.group:hover .header-subtitle {
  opacity: 1;
}

.header-center-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-center-link {
  font-family: 'Kode Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.header-center-link:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

.header-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--copy);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.3s ease;
}

.header-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.header-menu-toggle.is-open {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.header-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-menu-icon svg {
  display: block;
}

.header-menu-icon[hidden] {
  display: none;
}

.header-right {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .header-center-nav {
    display: none;
  }

  .header-menu-toggle {
    display: flex;
    margin-top: 0;
  }

  .header-right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0;
    padding: 1rem 1.5rem 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.3s ease;
  }

  .header-mobile-open .header-right {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
  }

  /* Layout fijo en mobile para que no cambie al cerrar durante la animación */
  .header-right .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .header-right .header-actions .header-btn {
    justify-content: center;
    text-align: center;
  }

  .header-right .header-local-time {
    text-align: center;
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Animación de entrada solo al abrir */
  .header-mobile-open .header-actions .header-btn {
    animation: header-menu-item-in 0.35s ease backwards;
  }

  .header-mobile-open .header-actions .header-btn:nth-child(1) { animation-delay: 0.05s; }
  .header-mobile-open .header-actions .header-btn:nth-child(2) { animation-delay: 0.1s; }
  .header-mobile-open .header-actions .header-btn:nth-child(3) { animation-delay: 0.15s; }
  .header-mobile-open .header-actions .header-btn:nth-child(4) { animation-delay: 0.2s; }

  .header-mobile-open .header-local-time {
    animation: header-menu-item-in 0.35s ease 0.2s backwards;
  }
}

@keyframes header-menu-item-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-btn {
  font-family: 'Kode Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: opacity 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.header-btn-discord {
  color: #fff;
  background: #5865f2;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.header-btn-discord:hover {
  opacity: 0.9;
}

.header-btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.header-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.header-btn-contact {
  color: #0e0e14;
  background: linear-gradient(120deg, #f4e4a6 0%, #9de7ff 100%);
  border-color: rgba(255, 255, 255, 0.3);
}

.header-btn-contact:hover {
  opacity: 0.92;
}

.header-local-time {
  margin: 0;
  font-family: 'Kode Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--copy);
}

#local-time-clock {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.landing-section {
  padding: 6rem 24px;
}

.landing-section .section-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.landing-section-hero,
.landing-section.hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh - var(--header-height));
  padding-left: 24px;
}

.landing-section-hero .section-inner {
  max-width: 1800px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  transition: opacity 0.2s ease-out;
}

.section-entry-hero {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-entry-pill {
  width: 64px;
  height: 4px;
  background: var(--stage-surface);
  border-radius: 9999px;
  box-shadow: inset 3px 3px 6px #0b0b11, inset -3px -3px 6px #212131;
}

.section-entry-hero-label {
  font-family: 'Kode Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(156, 163, 175, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-headline {
  margin: 0;
  margin-top: 1.5rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 10rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-headline-line {
  color: #fff;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
  mix-blend-mode: screen;
}

.hero-headline-line-sub {
  color: #bdbdbd;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
  mix-blend-mode: screen;
}

.hero-footer {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  max-width: 80rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .hero-footer {
    margin-top: 6rem;
    padding-top: 3rem;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.hero-footer-copy {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(156, 163, 175, 1);
  max-width: 24rem;
  line-height: 1.625;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero-footer-copy {
    font-size: 1rem;
  }
}

.hero-footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  font-family: 'Kode Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(107, 114, 128, 1);
}

@media (min-width: 768px) {
  .hero-footer-meta {
    align-items: flex-end;
  }
}

.hero-meta-box {
  background: var(--stage-surface);
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3), -2px -2px 6px rgba(255, 255, 255, 0.02);
}

.hero-meta-label {
  display: block;
  color: rgba(209, 213, 219, 1);
  font-size: 9px;
  margin-bottom: 0.25rem;
}

.hero-meta-value {
  color: var(--stage-orange);
  text-transform: none;
}

.hero-meta-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 5px #22c55e;
}

.hero-scroll-cta {
  margin-left: auto;
}

@media (min-width: 768px) {
  .hero-scroll-cta {
    margin-left: 0;
    align-self: flex-end;
  }
}

.hero-scroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--stage-surface);
  color: rgba(156, 163, 175, 1);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25), -4px -4px 12px rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: transform 0.2s;
}

.hero-scroll-btn:hover {
  color: var(--copy);
}

.hero-scroll-icon {
  width: 1rem;
  height: 1rem;
  animation: hero-bounce 2s ease-in-out infinite;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.hero-video-section {
  width: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-entry-scene {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: 'Kode Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stage-orange);
}

.section-entry-scene-line {
  width: 32px;
  height: 1px;
  background: rgba(214, 93, 14, 0.5);
  box-shadow: 0 0 10px rgba(214, 93, 14, 0.5);
}

.scene-block-content {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .scene-block-content {
    margin-bottom: 5rem;
    flex-direction: row;
    align-items: flex-end;
  }
}

.scene-block-text {
  max-width: 48rem;
}

.scene-block-heading {
  margin: 0 0 16px;
  font-family: 'Kode Mono', monospace;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.scene-block-copy {
  margin: 0;
  font-size: 1.125rem;
  color: rgba(156, 163, 175, 1);
  font-weight: 300;
  line-height: 1.625;
  max-width: 36rem;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .scene-block-copy {
    font-size: 1.25rem;
  }
}

.scene-block-chips {
  display: none;
  gap: 0.75rem;
  margin-left: auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .scene-block-chips {
    display: flex;
  }
}

.scene-block-chip {
  flex-shrink: 0;
  padding: 0.375rem 0.75rem;
  font-size: 10px;
  font-family: 'Kode Mono', monospace;
  text-transform: uppercase;
  background: var(--stage-surface);
  color: rgba(107, 114, 128, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  box-shadow: inset 3px 3px 6px #0b0b11, inset -3px -3px 6px #212131;
}

/* Scene 02: Infinite Canvas viz – node canvas with connections and properties */
.canvas-viz {
  position: relative;
  width: 100%;
  min-height: 60vh;
  margin-top: 2rem;
  background: var(--stage-surface);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 2px 2px 8px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: background 0.4s ease;
}

/* Color scheme backgrounds */
.canvas-viz[data-color-scheme="onyx-signature"] {
  background: #0d0d0f;
}
.canvas-viz[data-color-scheme="solar-opera"] {
  background: linear-gradient(135deg, #1a1510 0%, #16181e 50%);
}
.canvas-viz[data-color-scheme="aqua-nocturne"] {
  background: linear-gradient(160deg, #0c1419 0%, #0f1820 40%, #16181e 100%);
}
.canvas-viz[data-color-scheme="imperial-velvet"] {
  background: linear-gradient(145deg, #140e18 0%, #16181e 60%);
}
.canvas-viz[data-color-scheme="platinum-fog"] {
  background: linear-gradient(180deg, #1a1c22 0%, #16181e 100%);
}
.canvas-viz[data-color-scheme="ember-cobalt"] {
  background: linear-gradient(135deg, #1a1412 0%, #0f1620 50%, #16181e 100%);
}
.canvas-viz[data-color-scheme="neon-arcade"] {
  background: linear-gradient(160deg, #0d1218 0%, #14182a 50%, #16181e 100%);
}
.canvas-viz[data-color-scheme="emerald-obsidian"] {
  background: linear-gradient(150deg, #0a1410 0%, #16181e 70%);
}
.canvas-viz[data-color-scheme="royal-sunset"] {
  background: linear-gradient(145deg, #1a0f14 0%, #161218 50%, #16181e 100%);
}
.canvas-viz[data-color-scheme="ghost-luxe"] {
  background: linear-gradient(180deg, #1c1e26 0%, #16181e 100%);
}
.canvas-viz[data-color-scheme="obsidian-ritual"] {
  background: #08080a;
}
.canvas-viz[data-color-scheme="blood-moon"] {
  background: linear-gradient(160deg, #1a0c0c 0%, #16181e 60%);
}
.canvas-viz[data-color-scheme="void-serpent"] {
  background: linear-gradient(180deg, #060810 0%, #0c0e18 100%);
}
.canvas-viz[data-color-scheme="grave-neon"] {
  background: linear-gradient(150deg, #081008 0%, #0e1610 50%, #16181e 100%);
}
.canvas-viz[data-color-scheme="abyssal-throne"] {
  background: linear-gradient(180deg, #050810 0%, #0a0e18 100%);
}
.canvas-viz[data-color-scheme="ivory-noir"] {
  background: linear-gradient(180deg, #1e1c18 0%, #16181e 100%);
}
.canvas-viz[data-color-scheme="chrome-veil"] {
  background: linear-gradient(160deg, #1a1b1f 0%, #16181e 100%);
}
.canvas-viz[data-color-scheme="starlight-ash"] {
  background: var(--stage-surface);
}
.canvas-viz[data-color-scheme="mercury-night"] {
  background: linear-gradient(180deg, #1c1d22 0%, #16181e 100%);
}
.canvas-viz[data-color-scheme="frost-obsidian"] {
  background: linear-gradient(160deg, #0e1218 0%, #131920 50%, #16181e 100%);
}

/* Color scheme: grid, glow and connection strokes */
.canvas-viz-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#2a2a35 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.2;
  pointer-events: none;
  transition: opacity 0.4s ease, background-image 0.4s ease;
}

.canvas-viz-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(70% 80% at 78% 22%, rgba(156, 163, 175, 0.3) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  transition: opacity 0.4s ease, background 0.4s ease;
}

.canvas-viz-path-main,
.canvas-viz-path-dash {
  transition: stroke 0.4s ease, stroke-opacity 0.4s ease;
}

/* Scheme: Onyx Signature */
.canvas-viz[data-color-scheme="onyx-signature"] .canvas-viz-grid {
  background-image: radial-gradient(#374151 1px, transparent 1px);
  opacity: 0.22;
}
.canvas-viz[data-color-scheme="onyx-signature"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(75, 85, 99, 0.25) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(107, 114, 128, 0.2) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="onyx-signature"] .canvas-viz-path-main { stroke: #6b7280; stroke-opacity: 0.8; }
.canvas-viz[data-color-scheme="onyx-signature"] .canvas-viz-path-dash { stroke: rgba(107, 114, 128, 0.7); stroke-opacity: 0.6; }

/* Scheme: Solar Opera */
.canvas-viz[data-color-scheme="solar-opera"] .canvas-viz-grid {
  background-image: radial-gradient(#422006 1px, transparent 1px);
  opacity: 0.28;
}
.canvas-viz[data-color-scheme="solar-opera"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(217, 119, 6, 0.2) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(245, 158, 11, 0.18) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="solar-opera"] .canvas-viz-path-main { stroke: #d97706; stroke-opacity: 0.85; }
.canvas-viz[data-color-scheme="solar-opera"] .canvas-viz-path-dash { stroke: rgba(251, 191, 36, 0.75); stroke-opacity: 0.6; }

/* Scheme: Aqua Nocturne */
.canvas-viz[data-color-scheme="aqua-nocturne"] .canvas-viz-grid {
  background-image: radial-gradient(#0e3342 1px, transparent 1px);
  opacity: 0.25;
}
.canvas-viz[data-color-scheme="aqua-nocturne"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(14, 165, 233, 0.22) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(6, 182, 212, 0.2) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="aqua-nocturne"] .canvas-viz-path-main { stroke: #0ea5e9; stroke-opacity: 0.8; }
.canvas-viz[data-color-scheme="aqua-nocturne"] .canvas-viz-path-dash { stroke: rgba(34, 211, 238, 0.7); stroke-opacity: 0.55; }

/* Scheme: Imperial Velvet */
.canvas-viz[data-color-scheme="imperial-velvet"] .canvas-viz-grid {
  background-image: radial-gradient(#3b0764 1px, transparent 1px);
  opacity: 0.24;
}
.canvas-viz[data-color-scheme="imperial-velvet"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(124, 58, 237, 0.2) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(139, 92, 246, 0.18) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="imperial-velvet"] .canvas-viz-path-main { stroke: #8b5cf6; stroke-opacity: 0.8; }
.canvas-viz[data-color-scheme="imperial-velvet"] .canvas-viz-path-dash { stroke: rgba(167, 139, 250, 0.65); stroke-opacity: 0.55; }

/* Scheme: Platinum Fog */
.canvas-viz[data-color-scheme="platinum-fog"] .canvas-viz-grid {
  background-image: radial-gradient(#4b5563 1px, transparent 1px);
  opacity: 0.22;
}
.canvas-viz[data-color-scheme="platinum-fog"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(156, 163, 175, 0.28) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(209, 213, 219, 0.22) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="platinum-fog"] .canvas-viz-path-main { stroke: #9ca3af; stroke-opacity: 0.8; }
.canvas-viz[data-color-scheme="platinum-fog"] .canvas-viz-path-dash { stroke: rgba(209, 213, 219, 0.65); stroke-opacity: 0.55; }

/* Scheme: Ember Cobalt */
.canvas-viz[data-color-scheme="ember-cobalt"] .canvas-viz-grid {
  background-image: radial-gradient(#431407 1px, transparent 1px);
  opacity: 0.2;
}
.canvas-viz[data-color-scheme="ember-cobalt"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(249, 115, 22, 0.18) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(59, 130, 246, 0.2) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="ember-cobalt"] .canvas-viz-path-main { stroke: #f97316; stroke-opacity: 0.82; }
.canvas-viz[data-color-scheme="ember-cobalt"] .canvas-viz-path-dash { stroke: rgba(96, 165, 250, 0.65); stroke-opacity: 0.55; }

/* Scheme: Neon Arcade */
.canvas-viz[data-color-scheme="neon-arcade"] .canvas-viz-grid {
  background-image: radial-gradient(#155e75 1px, transparent 1px);
  opacity: 0.26;
}
.canvas-viz[data-color-scheme="neon-arcade"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(34, 211, 238, 0.25) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(236, 72, 153, 0.15) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="neon-arcade"] .canvas-viz-path-main { stroke: #22d3ee; stroke-opacity: 0.85; }
.canvas-viz[data-color-scheme="neon-arcade"] .canvas-viz-path-dash { stroke: rgba(34, 211, 238, 0.6); stroke-opacity: 0.5; }

/* Scheme: Emerald Obsidian */
.canvas-viz[data-color-scheme="emerald-obsidian"] .canvas-viz-grid {
  background-image: radial-gradient(#064e3b 1px, transparent 1px);
  opacity: 0.24;
}
.canvas-viz[data-color-scheme="emerald-obsidian"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(16, 185, 129, 0.2) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(52, 211, 153, 0.18) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="emerald-obsidian"] .canvas-viz-path-main { stroke: #10b981; stroke-opacity: 0.82; }
.canvas-viz[data-color-scheme="emerald-obsidian"] .canvas-viz-path-dash { stroke: rgba(52, 211, 153, 0.65); stroke-opacity: 0.55; }

/* Scheme: Royal Sunset */
.canvas-viz[data-color-scheme="royal-sunset"] .canvas-viz-grid {
  background-image: radial-gradient(#4c0519 1px, transparent 1px);
  opacity: 0.24;
}
.canvas-viz[data-color-scheme="royal-sunset"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(225, 29, 72, 0.2) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(244, 63, 94, 0.18) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="royal-sunset"] .canvas-viz-path-main { stroke: #e11d48; stroke-opacity: 0.82; }
.canvas-viz[data-color-scheme="royal-sunset"] .canvas-viz-path-dash { stroke: rgba(251, 113, 133, 0.65); stroke-opacity: 0.55; }

/* Scheme: Ghost Luxe */
.canvas-viz[data-color-scheme="ghost-luxe"] .canvas-viz-grid {
  background-image: radial-gradient(#374151 1px, transparent 1px);
  opacity: 0.2;
}
.canvas-viz[data-color-scheme="ghost-luxe"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(156, 163, 175, 0.28) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(243, 244, 246, 0.2) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="ghost-luxe"] .canvas-viz-path-main { stroke: #9ca3af; stroke-opacity: 0.78; }
.canvas-viz[data-color-scheme="ghost-luxe"] .canvas-viz-path-dash { stroke: rgba(209, 213, 219, 0.6); stroke-opacity: 0.5; }

/* Scheme: Obsidian Ritual */
.canvas-viz[data-color-scheme="obsidian-ritual"] .canvas-viz-grid {
  background-image: radial-gradient(#1f2937 1px, transparent 1px);
  opacity: 0.28;
}
.canvas-viz[data-color-scheme="obsidian-ritual"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(55, 65, 81, 0.2) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(75, 85, 99, 0.15) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="obsidian-ritual"] .canvas-viz-path-main { stroke: #4b5563; stroke-opacity: 0.75; }
.canvas-viz[data-color-scheme="obsidian-ritual"] .canvas-viz-path-dash { stroke: rgba(75, 85, 99, 0.55); stroke-opacity: 0.5; }

/* Scheme: Blood Moon */
.canvas-viz[data-color-scheme="blood-moon"] .canvas-viz-grid {
  background-image: radial-gradient(#450a0a 1px, transparent 1px);
  opacity: 0.26;
}
.canvas-viz[data-color-scheme="blood-moon"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(220, 38, 38, 0.22) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(248, 113, 113, 0.15) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="blood-moon"] .canvas-viz-path-main { stroke: #dc2626; stroke-opacity: 0.85; }
.canvas-viz[data-color-scheme="blood-moon"] .canvas-viz-path-dash { stroke: rgba(248, 113, 113, 0.65); stroke-opacity: 0.55; }

/* Scheme: Void Serpent */
.canvas-viz[data-color-scheme="void-serpent"] .canvas-viz-grid {
  background-image: radial-gradient(#0f172a 1px, transparent 1px);
  opacity: 0.24;
}
.canvas-viz[data-color-scheme="void-serpent"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(30, 64, 175, 0.2) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(59, 130, 246, 0.18) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="void-serpent"] .canvas-viz-path-main { stroke: #3b82f6; stroke-opacity: 0.82; }
.canvas-viz[data-color-scheme="void-serpent"] .canvas-viz-path-dash { stroke: rgba(96, 165, 250, 0.6); stroke-opacity: 0.52; }

/* Scheme: Grave Neon */
.canvas-viz[data-color-scheme="grave-neon"] .canvas-viz-grid {
  background-image: radial-gradient(#052e16 1px, transparent 1px);
  opacity: 0.24;
}
.canvas-viz[data-color-scheme="grave-neon"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(34, 197, 94, 0.2) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(74, 222, 128, 0.16) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="grave-neon"] .canvas-viz-path-main { stroke: #22c55e; stroke-opacity: 0.82; }
.canvas-viz[data-color-scheme="grave-neon"] .canvas-viz-path-dash { stroke: rgba(74, 222, 128, 0.6); stroke-opacity: 0.52; }

/* Scheme: Abyssal Throne */
.canvas-viz[data-color-scheme="abyssal-throne"] .canvas-viz-grid {
  background-image: radial-gradient(#0c1929 1px, transparent 1px);
  opacity: 0.26;
}
.canvas-viz[data-color-scheme="abyssal-throne"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(30, 58, 95, 0.22) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="abyssal-throne"] .canvas-viz-path-main { stroke: #2563eb; stroke-opacity: 0.8; }
.canvas-viz[data-color-scheme="abyssal-throne"] .canvas-viz-path-dash { stroke: rgba(96, 165, 250, 0.55); stroke-opacity: 0.5; }

/* Scheme: Ivory Noir */
.canvas-viz[data-color-scheme="ivory-noir"] .canvas-viz-grid {
  background-image: radial-gradient(#44403c 1px, transparent 1px);
  opacity: 0.22;
}
.canvas-viz[data-color-scheme="ivory-noir"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(168, 162, 158, 0.22) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(214, 211, 209, 0.18) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="ivory-noir"] .canvas-viz-path-main { stroke: #a8a29e; stroke-opacity: 0.8; }
.canvas-viz[data-color-scheme="ivory-noir"] .canvas-viz-path-dash { stroke: rgba(214, 211, 209, 0.6); stroke-opacity: 0.52; }

/* Scheme: Chrome Veil */
.canvas-viz[data-color-scheme="chrome-veil"] .canvas-viz-grid {
  background-image: radial-gradient(#334155 1px, transparent 1px);
  opacity: 0.22;
}
.canvas-viz[data-color-scheme="chrome-veil"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(148, 163, 184, 0.25) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(203, 213, 225, 0.18) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="chrome-veil"] .canvas-viz-path-main { stroke: #94a3b8; stroke-opacity: 0.8; }
.canvas-viz[data-color-scheme="chrome-veil"] .canvas-viz-path-dash { stroke: rgba(203, 213, 225, 0.6); stroke-opacity: 0.52; }

/* Scheme: Starlight Ash (default) */
.canvas-viz[data-color-scheme="starlight-ash"] .canvas-viz-grid {
  background-image: radial-gradient(#2a2a35 1px, transparent 1px);
  opacity: 0.2;
}
.canvas-viz[data-color-scheme="starlight-ash"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(156, 163, 175, 0.3) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="starlight-ash"] .canvas-viz-path-main { stroke: #e5e7eb; stroke-opacity: 0.75; }
.canvas-viz[data-color-scheme="starlight-ash"] .canvas-viz-path-dash { stroke: rgba(255, 255, 255, 0.9); stroke-opacity: 0.55; }

/* Scheme: Mercury Night */
.canvas-viz[data-color-scheme="mercury-night"] .canvas-viz-grid {
  background-image: radial-gradient(#334155 1px, transparent 1px);
  opacity: 0.22;
}
.canvas-viz[data-color-scheme="mercury-night"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(203, 213, 225, 0.22) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(226, 232, 240, 0.18) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="mercury-night"] .canvas-viz-path-main { stroke: #cbd5e1; stroke-opacity: 0.8; }
.canvas-viz[data-color-scheme="mercury-night"] .canvas-viz-path-dash { stroke: rgba(226, 232, 240, 0.6); stroke-opacity: 0.52; }

/* Scheme: Frost Obsidian */
.canvas-viz[data-color-scheme="frost-obsidian"] .canvas-viz-grid {
  background-image: radial-gradient(#1e293b 1px, transparent 1px);
  opacity: 0.24;
}
.canvas-viz[data-color-scheme="frost-obsidian"] .canvas-viz-glow {
  background: radial-gradient(70% 80% at 78% 22%, rgba(100, 116, 139, 0.22) 0%, transparent 62%), radial-gradient(45% 65% at 26% 74%, rgba(148, 163, 184, 0.18) 0%, transparent 60%);
}
.canvas-viz[data-color-scheme="frost-obsidian"] .canvas-viz-path-main { stroke: #64748b; stroke-opacity: 0.8; }
.canvas-viz[data-color-scheme="frost-obsidian"] .canvas-viz-path-dash { stroke: rgba(148, 163, 184, 0.6); stroke-opacity: 0.52; }

@media (min-width: 768px) {
  .canvas-viz {
    min-height: 75vh;
  }
}

@media (max-width: 767px) {
  .canvas-viz {
    min-height: 88vh;
  }
}

.canvas-viz-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.88;
}

.canvas-viz-path-main {
  stroke: #e5e7eb;
  stroke-opacity: 0.75;
}

.canvas-viz-path-dash {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-opacity: 0.55;
}

.canvas-viz-node {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  max-width: 200px;
  border-radius: 9999px;
  background: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.canvas-viz-node-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.canvas-viz-node-icon svg {
  display: block;
}

.canvas-viz-node-icon-purple {
  color: #c084fc;
}

.canvas-viz-node-icon-blue {
  color: #60a5fa;
}

.canvas-viz-node-icon-emerald {
  color: #34d399;
}

.canvas-viz-node-body {
  display: flex;
  flex-direction: column;
  padding-right: 0.5rem;
  min-width: 0;
}

.canvas-viz-node-type {
  font-size: 9px;
  font-family: 'Kode Mono', monospace;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.canvas-viz-node-label {
  font-size: 10px;
  font-weight: 500;
  color: #d1d5db;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

.canvas-viz-node-image {
  top: 25%;
  left: 25%;
  transform: translate(-50%, -50%);
}

.canvas-viz-node-video {
  top: 50%;
  right: 33%;
  transform: translate(50%, -50%);
}

.canvas-viz-node-audio {
  bottom: 25%;
  left: 33%;
  transform: translate(-50%, 50%);
}

.canvas-viz-bar {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 2.5rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  background: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: -2px -2px 6px rgba(255, 255, 255, 0.03), 2px 2px 6px rgba(0, 0, 0, 0.2);
  font-size: 0.75rem;
  font-family: 'Kode Mono', monospace;
  color: #9ca3af;
}

.canvas-viz-bar-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--stage-orange);
  animation: canvas-viz-pulse 1.5s ease-in-out infinite;
}

@keyframes canvas-viz-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.canvas-viz-bar-sep {
  width: 1px;
  height: 1rem;
  background: #374151;
  margin: 0 0.5rem;
}

.canvas-viz-bar-dots {
  display: flex;
  gap: 0.5rem;
}

.canvas-viz-bar-dots span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #6b7280;
}

.canvas-viz-bar-dots span:first-child {
  background: #6b7280;
}

.canvas-viz-props {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 20;
  width: 16rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: -2px -2px 6px rgba(255, 255, 255, 0.03), 2px 2px 6px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
  .canvas-viz-props {
    position: absolute;
    top: auto;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: auto;
    max-width: none;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
  }

  .canvas-viz-props-head {
    margin-bottom: 0.75rem;
  }

  .canvas-viz-props-title {
    font-size: 9px;
  }

  .canvas-viz-props-fields {
    gap: 0.5rem;
  }

  .canvas-viz-props-label {
    font-size: 9px;
  }

  .canvas-viz-props-select {
    height: 2.25rem;
    font-size: 11px;
  }
}

.canvas-viz-props-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.canvas-viz-props-title {
  font-size: 10px;
  font-family: 'Kode Mono', monospace;
  color: #6b7280;
  text-transform: uppercase;
}

.canvas-viz-props-gear {
  color: #6b7280;
  flex-shrink: 0;
}

.canvas-viz-props-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.canvas-viz-props-field {
  display: block;
}

.canvas-viz-props-label {
  display: block;
  font-size: 10px;
  font-family: 'Kode Mono', monospace;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.canvas-viz-props-select {
  height: 2rem;
  width: 100%;
  padding: 0 0.5rem;
  border-radius: 0.25rem;
  background: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.15);
  font-size: 10px;
  font-family: 'Kode Mono', monospace;
  color: #d1d5db;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.5rem;
}

.canvas-viz-props-select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.15);
}

.canvas-viz-props-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.canvas-viz-props-chip {
  height: 2rem;
  padding: 0 0.5rem;
  border-radius: 0.25rem;
  background: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.15);
  font-size: 10px;
  font-family: 'Kode Mono', monospace;
  color: #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Scene 06: CUE orbit viz – center orb + VISION / VOICE / ACTIONS orbiting */
.cue-orbit-viz {
  width: 100%;
  min-height: 55dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--stage-surface);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 2px 2px 8px rgba(0, 0, 0, 0.3), 0 4px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  margin-top: 2rem;
}

.cue-orbit-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.3;
}

.cue-orbit-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cue-orbit-ring-outer {
  width: min(500px, 80vw);
  height: min(500px, 80vw);
  animation: cue-orbit-pulse 4s ease-in-out infinite;
}

.cue-orbit-ring-inner {
  width: min(300px, 50vw);
  height: min(300px, 50vw);
  animation: cue-orbit-pulse 4s ease-in-out 1s infinite;
}

@keyframes cue-orbit-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

.cue-orbit-center {
  position: relative;
  z-index: 10;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25), -2px -2px 8px rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cue-orbit-center-inner {
  position: relative;
  z-index: 20;
  text-align: center;
}

.cue-orbit-center-inner::before {
  content: '';
  position: absolute;
  inset: 1rem;
  border-radius: 50%;
  background: rgba(11, 12, 16, 0.2);
  box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.cue-orbit-center-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--stage-orange), #dc2626);
  box-shadow: 0 4px 12px rgba(214, 93, 14, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cue-orbit-center-icon svg {
  display: block;
}

.cue-orbit-center-title {
  display: block;
  font-family: 'Kode Mono', monospace;
  font-size: 0.875rem;
  font-weight: 700;
  color: #e5e7eb;
}

.cue-orbit-center-status {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
}

.cue-orbit-track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cue-orbit-spin 24s linear infinite;
}

@keyframes cue-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cue-orbit-orb {
  position: absolute;
  width: 6rem;
  height: 6rem;
  margin-left: -3rem;
  margin-top: -3rem;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.cue-orbit-orb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  animation: cue-orbit-spin-reverse 24s linear infinite;
}

@keyframes cue-orbit-spin-reverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.cue-orbit-orb-inner svg {
  color: #9ca3af;
  flex-shrink: 0;
}

.cue-orbit-orb-inner span {
  font-size: 9px;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
}

.cue-orbit-orb-1 {
  transform: rotate(0deg) translateY(-180px) rotate(0deg);
}

.cue-orbit-orb-2 {
  transform: rotate(120deg) translateY(-180px) rotate(-120deg);
}

.cue-orbit-orb-3 {
  transform: rotate(240deg) translateY(-180px) rotate(-240deg);
}

@media (max-width: 768px) {
  .cue-orbit-viz {
    min-height: 45vh;
  }

  .cue-orbit-center {
    width: 8rem;
    height: 8rem;
  }

  .cue-orbit-center-inner::before {
    inset: 0.75rem;
  }

  .cue-orbit-center-icon {
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.35rem;
    border-radius: 0.5rem;
  }

  .cue-orbit-center-icon svg {
    width: 18px;
    height: 18px;
  }

  .cue-orbit-center-title {
    font-size: 0.75rem;
  }

  .cue-orbit-center-status {
    font-size: 8px;
  }

  .cue-orbit-orb {
    width: 4rem;
    height: 4rem;
    margin-left: -2rem;
    margin-top: -2rem;
  }

  .cue-orbit-orb-inner svg {
    width: 12px;
    height: 12px;
  }

  .cue-orbit-orb-inner span {
    font-size: 8px;
  }

  .cue-orbit-orb-1 {
    transform: rotate(0deg) translateY(-130px) rotate(0deg);
  }

  .cue-orbit-orb-2 {
    transform: rotate(120deg) translateY(-130px) rotate(-120deg);
  }

  .cue-orbit-orb-3 {
    transform: rotate(240deg) translateY(-130px) rotate(-240deg);
  }
}

.scene-07-pricing {
  flex: 1;
  width: 100%;
  margin-top: 2rem;
}

.scene-07-pricing-inner {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.scene-07-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.scene-07-toggle {
  display: flex;
  padding: 0.25rem;
  border-radius: 9999px;
  background: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 2px 2px 4px #0b0b11, inset -2px -2px 4px #212131;
}

.scene-07-toggle-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  color: rgba(107, 114, 128, 1);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.scene-07-toggle-btn-active {
  color: #fff;
  background: var(--stage-surface);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2), -2px -2px 6px rgba(255, 255, 255, 0.03);
}

.scene-07-toggle-btn:not(.scene-07-toggle-btn-active):hover {
  color: rgba(229, 231, 235, 1);
}

.scene-07-providers {
  text-align: center;
  margin: -0.5rem 0 1rem;
  font-size: 0.625rem;
  font-family: 'Kode Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(107, 114, 128, 1);
}

@media (min-width: 768px) {
  .scene-07-providers {
    font-size: 0.75rem;
  }
}

.scene-07-tiers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scene-07-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--stage-surface);
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2), -2px -2px 8px rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
}

.scene-07-tier:hover {
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.3), -3px -3px 12px rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .scene-07-tier {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
  }
}

.scene-07-tier-selected {
  border-color: rgba(214, 93, 14, 0.35);
}

.scene-07-tier-selected .scene-07-tier-btn {
  background: var(--stage-orange);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(214, 93, 14, 0.2);
}

.scene-07-tier-selected .scene-07-tier-btn:hover {
  box-shadow: 0 12px 28px rgba(214, 93, 14, 0.3);
}

.scene-07-tier-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.25rem 1rem;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #fff;
  background: var(--stage-orange);
  border-radius: 0 0 0 0.75rem;
}

.scene-07-tier-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.scene-07-tier-num {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: rgba(107, 114, 128, 1);
  background: var(--stage-surface);
  box-shadow: inset 2px 2px 4px #0b0b11, inset -2px -2px 4px #212131;
}

.scene-07-tier-num-accent {
  color: var(--stage-orange);
}

/* Selected tier: number highlights in orange */
.scene-07-tier-selected .scene-07-tier-num {
  color: var(--stage-orange);
}

@media (max-width: 767px) {
  .scene-07-tier-num {
    display: none;
  }
}

.scene-07-tier-info {
  flex: 1;
  min-width: 0;
}

.scene-07-tier-name {
  display: block;
  font-family: 'Kode Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(209, 213, 219, 1);
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .scene-07-tier-name {
    font-size: 1.5rem;
  }
}

.scene-07-tier:hover .scene-07-tier-name {
  color: #fff;
}

.scene-07-tier-desc {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  font-family: 'Kode Mono', monospace;
  color: rgba(107, 114, 128, 1);
}

.scene-07-tier-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.scene-07-pill {
  padding: 0.25rem 0.5rem;
  font-size: 0.5625rem;
  font-family: 'Kode Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(107, 114, 128, 1);
  background: rgba(11, 12, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.25rem;
}

.scene-07-tier-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .scene-07-tier-actions {
    justify-content: flex-end;
  }
}

.scene-07-tier-price-line {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
}

.scene-07-tier-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.scene-07-tier-period {
  font-size: 0.625rem;
  color: rgba(75, 85, 99, 1);
  font-weight: 400;
}

.scene-07-tier-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--stage-surface);
  color: rgba(156, 163, 175, 1);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2), -2px -2px 6px rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: color 0.2s, box-shadow 0.2s;
}

.scene-07-tier-btn:hover {
  color: #fff;
}

.scene-07-tier-btn:active {
  box-shadow: inset 2px 2px 4px #0b0b11, inset -2px -2px 4px #212131;
}

.scene-07-tier-btn-primary {
  background: var(--stage-orange);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(214, 93, 14, 0.2);
}

.scene-07-tier-btn-primary:hover {
  box-shadow: 0 12px 28px rgba(214, 93, 14, 0.3);
}

/* Scene 04: Generative engines cards (SIGNAL/VIDX, CHAOS, WORLDZ) */
.engines-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .engines-cards {
    flex-direction: row;
  }
}

.engines-card {
  flex: 1;
  background: var(--stage-surface);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25), -4px -4px 12px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  aspect-ratio: 2 / 3;
}

@media (max-width: 767px) {
  .engines-card {
    flex: 0 0 auto;
    min-height: 280px;
  }
}

.engines-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.engines-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.engines-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.engines-card-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.2;
  pointer-events: none;
}

.engines-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  pointer-events: none;
}

.engines-card-title {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  margin: 0;
  font-size: 1.125rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.025em;
}

@media (min-width: 768px) {
  .engines-card-title {
    font-size: 1.25rem;
  }
}

/* Scene 05: Marketplace (search, filters, cards grid) */
.marketplace-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  margin-top: 2rem;
}

.marketplace-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.marketplace-bar::-webkit-scrollbar {
  display: none;
}

.marketplace-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  min-width: 220px;
  border-radius: 0.75rem;
  background: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 3px 3px 6px #0b0b11, inset -3px -3px 6px #212131;
  color: rgba(156, 163, 175, 1);
}

.marketplace-search-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marketplace-search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.75rem;
  font-family: 'Kode Mono', monospace;
  color: rgba(229, 231, 235, 1);
}

.marketplace-search-input::placeholder {
  color: rgba(107, 114, 128, 1);
}

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

.marketplace-divider {
  width: 1px;
  height: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.marketplace-filters {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.marketplace-filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-family: 'Kode Mono', monospace;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  color: rgba(107, 114, 128, 1);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.marketplace-filter-btn:hover {
  color: rgba(209, 213, 219, 1);
}

.marketplace-filter-btn.is-active {
  background: var(--stage-surface);
  color: #fff;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25), -4px -4px 12px rgba(255, 255, 255, 0.03);
}

@media (max-width: 768px) {
  .marketplace-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .marketplace-search {
    min-width: 0;
    width: 100%;
    padding: 0.5rem 0.875rem;
  }

  .marketplace-search-input {
    font-size: 0.875rem;
  }

  .marketplace-divider {
    width: 100%;
    height: 1px;
  }

  .marketplace-filters {
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-start;
  }

  .marketplace-filter-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
  }
}

.marketplace-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 768px) {
  .marketplace-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .marketplace-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.marketplace-card {
  aspect-ratio: 1;
  background: var(--stage-surface);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3), -2px -2px 6px rgba(255, 255, 255, 0.02);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .marketplace-card {
    aspect-ratio: auto;
    min-height: 12rem;
  }
}

.marketplace-card:hover {
  transform: translateY(-4px);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25), -4px -4px 12px rgba(255, 255, 255, 0.03);
}

.marketplace-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.marketplace-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--stage-900);
  box-shadow: inset 3px 3px 6px #0b0b11, inset -3px -3px 6px #212131;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-family: 'Kode Mono', monospace;
  letter-spacing: 0.2em;
  color: rgba(156, 163, 175, 1);
}

.marketplace-card-type {
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  background: rgba(11, 12, 16, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 8px;
  font-family: 'Kode Mono', monospace;
  color: rgba(107, 114, 128, 1);
  text-transform: uppercase;
}

.marketplace-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.marketplace-card-category {
  margin: 0;
  font-size: 8px;
  font-family: 'Kode Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(107, 114, 128, 1);
}

.marketplace-card-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(209, 213, 219, 1);
  transition: color 0.2s;
}

.marketplace-card:hover .marketplace-card-title {
  color: #fff;
}

.marketplace-card-desc {
  margin: 0;
  font-size: 10px;
  color: rgba(107, 114, 128, 1);
  line-height: 1.625;
}

.marketplace-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.marketplace-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 9px;
  font-family: 'Kode Mono', monospace;
  color: rgba(156, 163, 175, 1);
}

.marketplace-card-meta-sub {
  color: rgba(75, 85, 99, 1);
}

.marketplace-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--stage-900);
  font-size: 9px;
  font-family: 'Kode Mono', monospace;
  letter-spacing: 0.18em;
  color: rgba(229, 231, 235, 1);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.marketplace-card-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.marketplace-no-results {
  display: block;
  text-align: center;
  padding: 2.5rem 1.5rem;
  margin: 0;
  font-size: 0.9rem;
  font-family: 'Kode Mono', monospace;
  color: rgba(156, 163, 175, 1);
}

.marketplace-no-results[hidden] {
  display: none;
} 

.moodboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 252px 252px;
  gap: 1rem;
  width: 100%;
  margin-top: 2rem;
}

.moodboard-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--stage-surface);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 4px 24px rgba(0, 0, 0, 0.35);
  min-height: 140px;
}

.moodboard-card-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 100%;
}

.moodboard-card-main {
  padding: 2rem;
  border-radius: 1.5rem;
  background: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25), -4px -4px 12px rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.moodboard-card-main:hover {
  box-shadow: inset 3px 3px 6px #0b0b11, inset -3px -3px 6px #212131;
}

.moodboard-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.moodboard-main-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--stage-900) 0%, rgba(11, 12, 16, 0.6) 50%, rgba(11, 12, 16, 0.2) 100%);
  pointer-events: none;
}

.moodboard-main-glow {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: rgba(214, 93, 14, 0.1);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.moodboard-main-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 10;
}

.moodboard-main-label {
  font-size: 10px;
  font-family: 'Kode Mono', monospace;
  color: rgba(209, 213, 219, 1);
  background: rgba(11, 12, 16, 0.7);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 3px 3px 6px #0b0b11, inset -3px -3px 6px #212131;
}

.moodboard-main-menu {
  color: rgba(107, 114, 128, 1);
  flex-shrink: 0;
}

.moodboard-main-body {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.moodboard-main-dots {
  display: flex;
  gap: 0;
  margin-left: -0.5rem;
}

.moodboard-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--stage-surface);
  margin-left: -0.5rem;
}

.moodboard-dot:first-child {
  margin-left: 0;
}

.moodboard-dot-orange {
  background: var(--stage-orange);
}

.moodboard-dot-blue {
  background: var(--stage-blue);
}

.moodboard-dot-white {
  background: #fff;
}

.moodboard-main-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(229, 231, 235, 1);
}

.moodboard-main-desc {
  margin: 0;
  font-size: 0.875rem;
  font-family: 'Kode Mono', monospace;
  color: rgba(156, 163, 175, 1);
  line-height: 1.625;
}

.moodboard-card-ref {
  border-radius: 1.5rem;
  background: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 3px 3px 6px #0b0b11, inset -3px -3px 6px #212131;
  position: relative;
  overflow: hidden;
}

.moodboard-ref-img {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  width: calc(100% - 1.5rem);
  height: calc(100% - 1.5rem);
  border-radius: 1rem;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.moodboard-card-ref:hover .moodboard-ref-img {
  opacity: 0.95;
}

.moodboard-ref-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--stage-900) 0%, rgba(11, 12, 16, 0.1) 50%, transparent 100%);
  opacity: 0.85;
  pointer-events: none;
}

.moodboard-ref-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.moodboard-ref-desc {
  margin: 0;
  font-size: 9px;
  font-family: 'Kode Mono', monospace;
  color: rgba(156, 163, 175, 1);
  line-height: 1.625;
}

.moodboard-ref-filename {
  display: inline-block;
  font-size: 9px;
  font-family: 'Kode Mono', monospace;
  color: rgba(209, 213, 219, 1);
  background: rgba(0, 0, 0, 0.55);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  width: fit-content;
  align-self: flex-start;
}

.moodboard-card-quote {
  border-radius: 1.5rem;
  background: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25), -4px -4px 12px rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.moodboard-quote-tab {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%) rotate(1deg);
  width: 4rem;
  height: 2rem;
  background: rgba(234, 179, 8, 0.2);
  backdrop-filter: blur(4px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.moodboard-quote-text {
  margin: 0;
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  color: rgba(156, 163, 175, 1);
  line-height: 1.625;
  transform: rotate(1deg);
}

.moodboard-quote-attrib {
  font-size: 10px;
  font-family: 'Kode Mono', monospace;
  color: rgba(75, 85, 99, 1);
  margin-top: 1rem;
  text-align: right;
}

.moodboard-card-prompt {
  border-radius: 1.5rem;
  background: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25), -4px -4px 12px rgba(255, 255, 255, 0.03);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.moodboard-prompt-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.moodboard-prompt-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--stage-900) 0%, rgba(11, 12, 16, 0.35) 50%, transparent 100%);
  pointer-events: none;
}

.moodboard-prompt-icon {
  position: relative;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 3px 3px 6px #0b0b11, inset -3px -3px 6px #212131;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(107, 114, 128, 1);
}

.moodboard-prompt-block {
  position: relative;
  z-index: 10;
  height: 5rem;
  width: 100%;
  background: rgba(11, 12, 16, 0.55);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 3px 3px 6px #0b0b11, inset -3px -3px 6px #212131;
  padding: 0.5rem;
  overflow: hidden;
}

.moodboard-prompt-label {
  margin: 0 0 0.25rem;
  font-size: 9px;
  font-family: 'Kode Mono', monospace;
  color: rgba(107, 114, 128, 1);
  text-transform: uppercase;
}

.moodboard-prompt-desc {
  margin: 0;
  font-size: 9px;
  font-family: 'Kode Mono', monospace;
  color: rgba(209, 213, 219, 1);
  line-height: 1.625;
}

.moodboard-card-add {
  border-radius: 1.5rem;
  background: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 3px 3px 6px #0b0b11, inset -3px -3px 6px #212131;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  cursor: pointer;
}

.moodboard-card-add:hover {
  background: rgba(22, 24, 30, 0.8);
}

.moodboard-add-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25), -4px -4px 12px rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(107, 114, 128, 1);
  transition: color 0.2s;
}

.moodboard-card-add:hover .moodboard-add-btn {
  color: var(--stage-orange);
}

@media (max-width: 768px) {
  .moodboard-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.875rem;
    margin-top: 1.5rem;
  }

  .moodboard-card-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }

  .moodboard-card-main {
    padding: 1.25rem 1rem;
    min-height: 240px;
  }

  .moodboard-main-label {
    font-size: 9px;
    padding: 0.2rem 0.4rem;
  }

  .moodboard-main-body {
    gap: 0.75rem;
  }

  .moodboard-main-title {
    font-size: 1.15rem;
  }

  .moodboard-main-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .moodboard-card-ref {
    min-height: 180px;
  }

  .moodboard-ref-img {
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
  }

  .moodboard-ref-caption {
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    gap: 0.35rem;
  }

  .moodboard-ref-desc,
  .moodboard-ref-filename {
    font-size: 8px;
  }

  .moodboard-card-quote {
    padding: 1.25rem 1rem;
  }

  .moodboard-quote-text {
    font-size: 0.9375rem;
  }

  .moodboard-quote-attrib {
    font-size: 9px;
    margin-top: 0.75rem;
  }

  .moodboard-card-prompt {
    padding: 0.875rem;
    min-height: 140px;
  }

  .moodboard-prompt-block {
    height: auto;
    min-height: 4rem;
    padding: 0.5rem;
  }

  .moodboard-prompt-label,
  .moodboard-prompt-desc {
    font-size: 8px;
  }

  .moodboard-card-add {
    min-height: 100px;
  }

  .moodboard-add-btn {
    width: 2.5rem;
    height: 2.5rem;
  }

  .moodboard-add-btn svg {
    width: 20px;
    height: 20px;
  }
}

.interstitial-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: clamp(420px, 62vh, 880px);
  min-height: 56vh;
  content-visibility: auto;
  contain-intrinsic-size: 1px 980px;
}

.interstitial-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.interstitial-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.interstitial-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.mug-kicker {
  margin: 0 0 10px;
  font-family: 'Kode Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(190, 208, 241, 0.85);
}

.workflows-inspiration-title {
  margin: 0 0 2rem;
  color: #f2f6ff;
  letter-spacing: -0.02em;
  line-height: 1.06;
  font-size: clamp(20px, 3.2vw, 46px);
  font-weight: 700;
  font-family: 'Kode Mono', monospace;
}

#workflows.workflows-inspiration .mug-grid {
  display: block;
  column-count: 3;
  column-gap: 1rem;
  margin-top: 2rem;
  width: 100%;
  min-height: 200px;
}

@media (max-width: 900px) {
  #workflows.workflows-inspiration .mug-grid {
    column-count: 2;
  }
}

@media (max-width: 520px) {
  #workflows.workflows-inspiration .mug-grid {
    column-count: 1;
  }
}

#workflows.workflows-inspiration .mug-card {
  display: block;
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

#workflows.workflows-inspiration .mug-image-wrap {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  display: block;
}

#workflows.workflows-inspiration .mug-image-wrap .mug-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  vertical-align: middle;
}

#workflows.workflows-inspiration .mug-image-wrap .mug-picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

#workflows.workflows-inspiration .mug-image-wrap .mug-picture .mug-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#workflows.workflows-inspiration .mug-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

#workflows.workflows-inspiration .mug-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  pointer-events: none;
}

#workflows.workflows-inspiration .mug-label {
  font-family: 'Kode Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
}

#workflows.workflows-inspiration .mug-video-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#workflows.workflows-inspiration .mug-video-poster {
  position: absolute;
  inset: 0;
  transition: opacity 220ms ease;
}

#workflows.workflows-inspiration .mug-video-poster .mug-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#workflows.workflows-inspiration .mug-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 220ms ease;
}

#workflows.workflows-inspiration .mug-card:hover .mug-video-poster,
#workflows.workflows-inspiration .mug-card.mug-card-playing .mug-video-poster {
  opacity: 0;
}

#workflows.workflows-inspiration .mug-card:hover .mug-video,
#workflows.workflows-inspiration .mug-card.mug-card-playing .mug-video {
  opacity: 1;
}

.section-heading {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-label {
  font-family: 'Kode Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--muted);
}

.hero-content {
  max-width: 640px;
}

.landing-section h2:not(.hero-headline):not(.scene-block-heading) {
  margin: 0 0 16px;
  font-family: 'Kode Mono', monospace;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tagline {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.125rem;
}

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.page-content h1 {
  margin: 0 0 24px;
  font-size: 2rem;
}

.page-content p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.6;
}

.thank-you-shell {
  max-width: 560px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.thank-you-kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.thank-you-shell h1 {
  margin: 0 0 16px;
  font-size: 2rem;
}

.thank-you-copy {
  margin: 0 0 32px;
  color: var(--muted);
  line-height: 1.6;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #051326;
  background: linear-gradient(130deg, #3ad8ff, #73f7cc);
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cta:hover {
  opacity: 0.9;
}

.get-in-touch-section {
  width: 100%;
  padding: 8rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .get-in-touch-section {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.get-in-touch-inner {
  width: 100%;
  position: relative;
  z-index: 1;
}

.get-in-touch-watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  font-size: 12vw;
  line-height: 1;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.get-in-touch-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 6rem;
}

@media (min-width: 768px) {
  .get-in-touch-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6rem;
  }
}

.get-in-touch-brand {
  position: relative;
  z-index: 10;
}

.get-in-touch-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.get-in-touch-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.get-in-touch-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.get-in-touch-email {
  display: inline-block;
  font-size: 1.5rem;
  font-family: 'Kode Mono', monospace;
  color: rgba(209, 213, 219, 1);
  text-decoration: none;
  border-bottom: 1px solid rgba(75, 85, 99, 1);
  padding-bottom: 0.5rem;
  transition: color 0.2s, border-color 0.2s;
}

@media (min-width: 768px) {
  .get-in-touch-email {
    font-size: 2.25rem;
  }
}

.get-in-touch-email:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.get-in-touch-actions {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 768px) {
  .get-in-touch-actions {
    align-items: flex-end;
    margin-top: 0;
  }
}

.get-in-touch-trial-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  color: #000;
  background: #fff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s;
}

.get-in-touch-trial-btn:hover {
  background: rgba(229, 231, 235, 1);
}

.get-in-touch-trial-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.get-in-touch-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  font-size: 0.75rem;
  font-family: 'Kode Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.get-in-touch-social-link {
  color: rgba(107, 114, 128, 1);
  text-decoration: none;
  transition: color 0.2s;
}

.get-in-touch-social-link:hover {
  color: #fff;
}

.get-in-touch-legal {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 10;
  font-size: 0.625rem;
  font-family: 'Kode Mono', monospace;
  text-transform: uppercase;
  color: rgba(75, 85, 99, 1);
}

.site-footer {
  padding: 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

.residency-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10000;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #e9edf6;
  background: linear-gradient(150deg, rgba(251, 251, 252, 0.2), rgba(120, 129, 144, 0.18) 44%, rgba(18, 22, 31, 0.95));
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 12px;
  font-family: 'Kode Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08) inset,
    0 8px 34px rgba(168, 193, 255, 0.3),
    0 0 46px rgba(204, 216, 242, 0.25);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s, transform 0.2s;
}

.residency-launcher:hover {
  transform: translateY(-1px);
}

.residency-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 3, 7, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 10001;
}

.residency-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(92vw, 900px);
  height: 100vh;
  z-index: 10002;
  background: linear-gradient(170deg, rgba(35, 40, 52, 0.8) 0%, rgba(9, 11, 16, 0.96) 35%, rgba(3, 4, 8, 0.99) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
  overflow: hidden;
}

.residency-open .residency-overlay {
  opacity: 1;
  pointer-events: auto;
}

.residency-open .residency-drawer {
  transform: translateX(0);
  box-shadow: -2px 0 0 rgba(255, 255, 255, 0.06) inset, -26px 0 68px rgba(113, 142, 196, 0.24), 0 0 90px rgba(224, 233, 255, 0.12);
}

.residency-shell {
  height: 100%;
  overflow: auto;
  padding: 1.5rem 1.75rem 2rem;
}

.residency-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.residency-head > div:first-child {
  flex: 1;
  min-width: 0;
}

.residency-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.65rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stage-orange, #d65d0e);
}

.residency-title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--copy);
  line-height: 1.2;
}

.residency-sub {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.4;
}

.residency-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .residency-shell {
    padding: 1rem 1.25rem 1.5rem;
  }

  .residency-head {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .residency-head > div:first-child {
    flex: none;
  }

  .residency-title {
    font-size: 1.25rem;
  }

  .residency-sub {
    font-size: 0.8125rem;
  }

  .residency-head-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

.residency-btn {
  padding: 0.5rem 0.85rem;
  font-size: 0.7rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.residency-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.residency-btn.primary {
  background: var(--stage-orange);
  border-color: transparent;
  color: #fff;
}

.residency-btn.primary:hover {
  background: #e66a0a;
}

.residency-progress-wrap {
  margin-bottom: 1.5rem;
}

.residency-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.residency-progress-row strong {
  color: var(--copy);
}

.residency-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.residency-progress span {
  display: block;
  height: 100%;
  background: var(--stage-orange);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.residency-form section {
  margin-bottom: 1.5rem;
}

.residency-form section h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--copy);
}

.residency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1rem;
}

.residency-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.residency-field.full {
  grid-column: 1 / -1;
}

.residency-field label {
  font-size: 0.7rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.residency-field input,
.residency-field select,
.residency-field textarea {
  padding: 0.5rem 0.65rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--copy);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.residency-form .residency-input-error,
.residency-form input.residency-input-error,
.residency-form select.residency-input-error,
.residency-form textarea.residency-input-error {
  border-color: #f87171;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.25);
}

.residency-form .residency-input-error:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.4);
}

.residency-field textarea {
  min-height: 80px;
  resize: vertical;
}

.residency-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.residency-tags label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--copy);
  cursor: pointer;
}

.residency-tags input {
  margin: 0;
}

.residency-checks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.residency-checks label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--copy);
  cursor: pointer;
}

.residency-checks a {
  color: var(--accent);
}

.residency-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.residency-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.residency-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  min-height: 1.2em;
}

@media (max-width: 640px) {
  .residency-grid {
    grid-template-columns: 1fr;
  }
}

.trial-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 3, 7, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 10010;
}

.trial-modal-open .trial-modal-overlay {
  opacity: 1;
  pointer-events: auto;
}

.trial-modal {
  position: fixed;
  inset: 0;
  z-index: 10011;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
}

.trial-modal-open .trial-modal {
  pointer-events: auto;
}

.trial-modal-inner {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow: auto;
  background: rgba(18, 20, 28, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 2rem;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.trial-modal-open .trial-modal-inner {
  opacity: 1;
  transform: scale(1);
}

.trial-modal-title {
  margin: 0 0 0.5rem;
  font-family: 'Kode Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

.trial-modal-subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

.trial-modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trial-modal-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (min-width: 480px) {
  .trial-modal-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.trial-modal-row-full {
  grid-column: 1 / -1;
}

.trial-modal-label {
  font-size: 0.7rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.9);
}

.trial-modal-label span {
  color: rgba(214, 93, 14, 0.9);
}

.trial-modal-input,
.trial-modal-textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: #fff;
  background: rgba(11, 12, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.trial-modal-input::placeholder,
.trial-modal-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.trial-modal-input:focus,
.trial-modal-textarea:focus {
  outline: none;
  border-color: rgba(214, 93, 14, 0.5);
}

.trial-modal-textarea {
  resize: vertical;
  min-height: 80px;
}

.trial-modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trial-modal-plan-chip {
  font-size: 0.65rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(11, 12, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
}

.trial-modal-actions {
  display: flex;
  gap: 0.75rem;
}

.trial-modal-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.7rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.trial-modal-btn-cancel {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.trial-modal-btn-cancel:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.trial-modal-btn-submit {
  color: #fff;
  background: var(--stage-orange);
  border: none;
  box-shadow: 0 4px 14px rgba(214, 93, 14, 0.3);
}

.trial-modal-btn-submit:hover {
  background: #e66a0a;
  box-shadow: 0 6px 18px rgba(214, 93, 14, 0.4);
}

.trial-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 3, 7, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 10012;
}

.trial-success-open .trial-success-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.trial-success-modal {
  position: fixed;
  inset: 0;
  z-index: 10013;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.trial-success-open .trial-success-modal {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.trial-success-inner {
  width: 100%;
  max-width: 400px;
  background-color: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 2rem;
}

.trial-success-title {
  margin: 0 0 0.75rem;
  font-family: 'Kode Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.2;
}

.trial-success-message {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.trial-success-close {
  display: block;
  margin-left: auto;
  padding: 0.6rem 1.25rem;
  font-size: 0.7rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--stage-orange);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(214, 93, 14, 0.3);
  transition: background 0.2s, box-shadow 0.2s;
}

.trial-success-close:hover {
  background: #e66a0a;
  box-shadow: 0 6px 18px rgba(214, 93, 14, 0.4);
}

.marketing-contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 3, 7, 0.75);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 10020;
}

.marketing-contact-open .marketing-contact-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.marketing-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10021;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.marketing-contact-open .marketing-contact-modal {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.marketing-contact-shell {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow: auto;
  background-color: var(--stage-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 1.75rem 2rem;
}

.marketing-contact-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.marketing-contact-head > div {
  flex: 1;
  min-width: 0;
}

.marketing-contact-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stage-orange, #d65d0e);
}

.marketing-contact-title {
  margin: 0 0 0.5rem;
  font-family: 'Kode Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

.marketing-contact-sub {
  margin: 0;
  font-size: 0.8125rem;
  font-family: 'Manrope', sans-serif;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.marketing-contact-close {
  flex-shrink: 0;
  padding: 0.5rem 0.85rem;
  font-size: 0.7rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.marketing-contact-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.marketing-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.marketing-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.marketing-contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.marketing-contact-field-full,
.marketing-contact-field.full {
  grid-column: 1 / -1;
}

.marketing-contact-field label {
  font-size: 0.7rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
}

.marketing-contact-field input,
.marketing-contact-field select,
.marketing-contact-field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: #fff;
  background: rgba(11, 12, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.marketing-contact-field input::placeholder,
.marketing-contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.marketing-contact-field input:focus,
.marketing-contact-field select:focus,
.marketing-contact-field textarea:focus {
  outline: none;
  border-color: rgba(100, 150, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(100, 150, 255, 0.15);
}

.marketing-contact-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%23fff' opacity='0.7'%3E%3Cpath d='M6 8L2 4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

.marketing-contact-field textarea {
  resize: vertical;
  min-height: 100px;
}

.marketing-contact-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}

.marketing-contact-note {
  flex: 1;
  min-width: 200px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.45;
}

.marketing-contact-submit {
  padding: 0.6rem 1.35rem;
  font-size: 0.75rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1a1d28;
  background: linear-gradient(to bottom, #f0f4ff 0%, #d0daf5 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: filter 0.2s, box-shadow 0.2s;
}

.marketing-contact-submit:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.marketing-contact-status {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  min-height: 1.2em;
}

@media (max-width: 540px) {
  .marketing-contact-grid {
    grid-template-columns: 1fr;
  }
}

#cueMarketingShowcase {
  padding: 4rem 1.5rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

#cueMarketingShowcase .cue-showcase-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: radial-gradient(circle at 8% 12%, rgba(214, 93, 14, 0.24), transparent 44%), radial-gradient(circle at 90% -10%, rgba(65, 96, 158, 0.28), transparent 48%), linear-gradient(155deg, rgba(20, 20, 30, 0.96), rgba(7, 8, 13, 0.96));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

#cueMarketingShowcase .cue-hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  #cueMarketingShowcase .cue-hero {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

#cueMarketingShowcase .cue-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.625rem;
  font-family: 'Kode Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
}

#cueMarketingShowcase .cue-title {
  margin: 0 0 1rem;
  font-family: 'Kode Mono', monospace;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  max-width: 32ch;
}

#cueMarketingShowcase .cue-copy {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 42ch;
}

#cueMarketingShowcase .cue-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#cueMarketingShowcase .cue-stat-chip {
  font-size: 0.7rem;
  font-family: 'Kode Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  background: var(--stage-900);
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

#cueMarketingShowcase .cue-grid-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  #cueMarketingShowcase .cue-grid-two {
    grid-template-columns: 1fr 1fr;
  }
}

#cueMarketingShowcase .cue-card-head {
  margin-bottom: 1rem;
}

#cueMarketingShowcase .cue-card-head h3 {
  margin: 0 0 0.25rem;
  font-family: 'Kode Mono', monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

#cueMarketingShowcase .cue-card-head p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

#cueMarketingShowcase .cue-cap-grid {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

#cueMarketingShowcase .cue-capability {
  padding: 0.75rem;
  background: rgba(11, 12, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
}

#cueMarketingShowcase .cue-capability h3 {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e5e5e5;
}

#cueMarketingShowcase .cue-capability p {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

#cueMarketingShowcase .cue-capability > span {
  font-size: 0.65rem;
  font-family: 'Kode Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stage-orange);
}

#cueMarketingShowcase .cue-flow {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#cueMarketingShowcase .cue-flow-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#cueMarketingShowcase .cue-flow-tag {
  flex: 0 0 5rem;
  font-size: 0.65rem;
  font-family: 'Kode Mono', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

#cueMarketingShowcase .cue-flow-track {
  flex: 1;
  height: 20px;
  background: var(--stage-900);
  border-radius: 3px;
  overflow: hidden;
}

#cueMarketingShowcase .cue-flow-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--stage-orange), rgba(214, 93, 14, 0.6));
  border-radius: 3px;
  transition: width 0.3s ease;
}

#cueMarketingShowcase .cue-tools-head,
#cueMarketingShowcase .cue-insights .cue-tools-head {
  margin-bottom: 1rem;
}

#cueMarketingShowcase .cue-tools-head h3,
#cueMarketingShowcase .cue-insights .cue-tools-head h3 {
  margin: 0 0 0.25rem;
  font-family: 'Kode Mono', monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

#cueMarketingShowcase .cue-tools-head p,
#cueMarketingShowcase .cue-insights .cue-tools-head p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

#cueMarketingShowcase .cue-tools-meta {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

#cueMarketingShowcase .cue-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

#cueMarketingShowcase .cue-insight-card {
  padding: 0.75rem;
  background: rgba(11, 12, 16, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
}

#cueMarketingShowcase .cue-insight-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

#cueMarketingShowcase .cue-insight-card-head h4 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e5e5e5;
}

#cueMarketingShowcase .cue-insight-count {
  font-size: 0.65rem;
  font-family: 'Kode Mono', monospace;
  color: var(--muted);
}

#cueMarketingShowcase .cue-insight-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

#cueMarketingShowcase .cue-insight-pill {
  font-size: 0.6rem;
  font-family: 'Kode Mono', monospace;
  padding: 0.2rem 0.4rem;
  background: var(--stage-900);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.35rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 767px) {
  #cueMarketingShowcase .cue-cap-grid {
    grid-template-columns: 1fr;
  }

  #cueMarketingShowcase .cue-insight-grid {
    grid-template-columns: 1fr;
  }
}

#cueMarketingShowcase .cue-tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  #cueMarketingShowcase .cue-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  #cueMarketingShowcase .cue-tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

#cueMarketingShowcase .cue-tool-column {
  padding: 1rem;
  background: rgba(11, 12, 16, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
}

#cueMarketingShowcase .cue-tool-column-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

#cueMarketingShowcase .cue-tool-column-head h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e5e5e5;
}

#cueMarketingShowcase .cue-tool-count {
  font-size: 0.65rem;
  font-family: 'Kode Mono', monospace;
  color: var(--muted);
}

#cueMarketingShowcase .cue-tool-column > p {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

#cueMarketingShowcase .cue-tool-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#cueMarketingShowcase .cue-tool-chip {
  display: inline-flex;
  align-items: flex-start;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  padding: 0.35rem 0.5rem;
  background: var(--stage-900);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
}

#cueMarketingShowcase .cue-tool-chip strong {
  font-weight: 600;
  margin-bottom: 0.1rem;
}

#cueMarketingShowcase .cue-tool-chip code {
  font-family: 'Kode Mono', monospace;
  font-size: 0.7rem;
  color: var(--stage-orange);
  background: none;
  padding: 0;
}
