/* ==========================================================================
   XNK Music (.fm) — Atmosphere & Design System
   Ethos: Calm, Focus, Possibility
   Aesthetic: Precision Vintage Audio & Modernist Architecture (Dieter Rams / Zajno DOSS)
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Disciplined Precision Palette */
  --c-cobalt: #2e52e8;         /* High-precision electric cobalt */
  --c-cobalt-hover: #4b6ef5;
  --c-cobalt-glow: rgba(46, 82, 232, 0.25);
  --c-cobalt-tint: rgba(46, 82, 232, 0.10);
  --c-cobalt-border: rgba(46, 82, 232, 0.35);

  /* Legacy mapping aliases */
  --c-twilight: var(--c-cobalt);
  --c-twilight-hover: var(--c-cobalt-hover);
  --c-twilight-glow: var(--c-cobalt-glow);
  --c-twilight-tint: var(--c-cobalt-tint);
  --c-twilight-border: var(--c-cobalt-border);

  --c-cyan: #4b6ef5;
  --c-cyan-glow: rgba(46, 82, 232, 0.25);
  --c-cyan-tint: rgba(46, 82, 232, 0.08);

  --c-amber: #f59e0b;          /* Precision amber telemetry */
  --c-amber-glow: rgba(245, 158, 11, 0.25);
  --c-amber-tint: rgba(245, 158, 11, 0.08);

  --c-emerald: #10b981;        /* Precision hardware green status LED */

  /* Deep Inky Chassis & Matte Architectural Surfaces */
  --bg: #050608;
  --surface-card: #0c0d12;
  --surface-card-hover: #12141c;
  --surface-glass: rgba(12, 13, 18, 0.85);
  --surface-elevated: #141620;
  --surface-recessed: #07080b;
  --surface-pill: rgba(255, 255, 255, 0.035);

  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-highlight: rgba(255, 255, 255, 0.12);

  /* Typography Colors */
  --text: #ffffff;
  --text-dim: #d1d5db;
  --muted: #8b92a2;
  --muted-dark: #525866;

  /* Typography Families */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --font-heading: var(--font-display);
  --font-body: var(--font-sans);

  /* Player Component Overrides */
  --player-bg: #090a0f;
  --player-surface: #10121a;
  --player-surface-elevated: #151821;
  --player-border: rgba(255, 255, 255, 0.08);
  --player-text: #ffffff;
  --player-muted: #8b92a2;
  --player-accent: #2e52e8;
  --player-accent-hover: #4b6ef5;
  --player-spark: #2e52e8;
  --player-font-mono: var(--font-mono);
  --player-font-heading: var(--font-display);
  --player-font-sans: var(--font-sans);
}

/* Base Reset & Smoothness */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.65;
  background-color: var(--bg);
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  background-attachment: fixed;
}

/* Ambient Background Light (De-noised, zero purple haze) */
.ambient-glow-1,
.ambient-glow-2 {
  display: none;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 20px;
  background: #ffffff;
  color: #050608;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  z-index: 100;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5, 6, 8, 0.82);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.25s ease, border-color 0.2s ease;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: none;
}

.brand-gradient {
  color: #ffffff;
}

.brand-domain {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-pill {
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: var(--surface-pill);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  color: #ffffff;
  box-shadow: none;
}

.header-status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-emerald);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.pulse-emerald {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-emerald);
  box-shadow: 0 0 6px var(--c-emerald);
  animation: pulse-glow 2.5s infinite;
}

.pulse-cyan {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-cobalt);
  box-shadow: 0 0 6px var(--c-cobalt);
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Full-Viewport Hero Cover (Top of page) */
.hero-cover {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 3.5rem;
  overflow: hidden;
  text-align: center;
  z-index: 20;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  will-change: transform, opacity, filter;
  transform-origin: center center;
}

.hero-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  display: block;
}

.hero-backdrop-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(ellipse at center, rgba(5, 6, 8, 0.40) 0%, rgba(5, 6, 8, 0.88) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.70) 0%, transparent 22%, transparent 68%, #050608 100%);
}

/* Layer 1: Perspective Wireframe Horizon Mesh */
.wireframe-horizon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 200px;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.wireframe-horizon-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 880px;
  margin: 0 auto;
  will-change: transform, opacity, filter;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(12, 13, 18, 0.8);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 1.4rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

.hero-content h1 .text-glow {
  color: #ffffff;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.35);
}

.hero-content .hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 2.25rem;
  font-weight: 400;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #050608;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #e2e5ec;
  color: #000000;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.65);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 9999px;
  background: rgba(12, 13, 18, 0.8);
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  background: rgba(12, 13, 18, 0.8);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  animation: hero-cue-float 2.5s ease-in-out infinite;
}

.hero-scroll-cue:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
  color: #ffffff;
  transform: translateY(2px);
}

.scroll-cue-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 8px var(--c-cyan);
  animation: pulse-glow 2s infinite;
}

@keyframes hero-cue-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Scroll-Driven Futuristic Fade and Slide */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  .hero-backdrop {
    animation: hero-backdrop-exit linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 580px;
  }

  .hero-content {
    animation: hero-content-exit linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 480px;
  }
}

@keyframes hero-backdrop-exit {
  0% {
    opacity: 1;
    transform: perspective(1000px) translateY(0) scale(1) rotateX(0deg);
    filter: blur(0px);
  }
  40% {
    opacity: 0.85;
    transform: perspective(1000px) translateY(-35px) scale(1.04) rotateX(3deg);
    filter: blur(0px);
  }
  75% {
    opacity: 0.35;
    transform: perspective(1000px) translateY(-75px) scale(1.08) rotateX(6deg);
    filter: blur(4px);
  }
  100% {
    opacity: 0;
    transform: perspective(1000px) translateY(-120px) scale(1.12) rotateX(9deg);
    filter: blur(10px);
    visibility: hidden;
  }
}

@keyframes hero-content-exit {
  0% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
  50% {
    opacity: 0.6;
    transform: translateY(-40px);
    filter: blur(1px);
  }
  100% {
    opacity: 0;
    transform: translateY(-90px);
    filter: blur(6px);
    visibility: hidden;
  }
}

/* MANDATORY Reduced-Motion Safety: Disable continuous scroll-driven motion for sensitive users */
@media (prefers-reduced-motion: reduce) {
  .hero-backdrop,
  .hero-content {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    visibility: visible !important;
  }
  .hero-scroll-cue {
    animation: none !important;
  }
}

/* Deck Section (Live Audio Player Deck) */
.deck-section {
  padding-top: 5rem;
  padding-bottom: 6rem;
  position: relative;
  z-index: 25;
}

/* Layer 2: Hardware Chassis Framing & Corner Brackets */
.chassis-enclosure {
  position: relative;
}

.chassis-corner {
  position: absolute;
  width: 9px;
  height: 9px;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.3);
  border-style: solid;
  z-index: 45;
}

.chassis-corner.tl {
  top: -1px;
  left: -1px;
  border-width: 1.5px 0 0 1.5px;
  border-top-left-radius: 4px;
}

.chassis-corner.tr {
  top: -1px;
  right: -1px;
  border-width: 1.5px 1.5px 0 0;
  border-top-right-radius: 4px;
}

.chassis-corner.bl {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 1.5px 1.5px;
  border-bottom-left-radius: 4px;
}

.chassis-corner.br {
  bottom: -1px;
  right: -1px;
  border-width: 0 1.5px 1.5px 0;
  border-bottom-right-radius: 4px;
}

/* Disciplined Player Deck (Vintage Audio Equipment Feel) */
.player-sanctuary {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 25;
}

.player-halo {
  display: none;
}

.player-card {
  position: relative;
  z-index: 30;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.player-telemetry-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.45rem 0.85rem;
  margin-bottom: 1rem;
  background: #08090d;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.telemetry-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tag-k {
  color: var(--muted-dark);
}

.tag-v {
  color: #ffffff;
}

.tag-accent {
  color: var(--c-cobalt-hover);
}

.player-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.status-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
}

.status-right {
  color: var(--muted-dark);
}

/* Station Selector Tabs — Tactile Hi-Fi Mechanical Switches */
.station-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.station-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  background: #08090d;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.station-tab:hover {
  background: #10121a;
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.station-tab:focus-visible {
  outline: 2px solid var(--c-cobalt);
  outline-offset: 2px;
}

.station-tab.active {
  background: #141722;
  border-color: var(--c-cobalt);
  box-shadow: 0 0 0 1px var(--c-cobalt-dim), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.station-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.station-tab:hover .station-icon {
  color: #ffffff;
}

.station-tab.active .station-icon {
  color: var(--c-cobalt-hover);
  transform: scale(1.05);
}

.station-label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: -0.01em;
}

.station-genre {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted-dark);
  letter-spacing: 0.02em;
}

.station-tab.active .station-label {
  color: #ffffff;
}

.station-tab.active .station-genre {
  color: #6385ff;
}

@media (max-width: 580px) {
  .station-selector {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }
  .station-tab {
    padding: 0.55rem 0.4rem;
  }
}

.hero-player {
  display: block;
  width: 100%;
  position: relative;
  z-index: 40;
}

.player-subnote {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dim);
}

/* Three Pillars of the Experience — Modernist Matte Chassis Cards */
.ethos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.ethos-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.25rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.ethos-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--surface-card-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Layer 3: Vector Wireframe Schematics */
.ethos-schematic-wrap {
  width: 100%;
  margin-bottom: 1.25rem;
  border-radius: 8px;
  overflow: hidden;
  background: #07080b;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.ethos-card:hover .ethos-schematic-wrap {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.ethos-schematic {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 320 / 120;
}

.ethos-card-telemetry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted-dark);
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.ethos-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.ethos-body {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-dim);
}

/* Waitlist & Experiment Card — Inky Monolith */
.waitlist-section {
  padding: 4rem 0 7rem;
}

.waitlist-card {
  background: #0b0c11;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  max-width: 740px;
  margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.waitlist-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.waitlist-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0.5rem 0 1rem;
}

.waitlist-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
}

/* Role Selector */
.role-heading {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
}

.role-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 0.5rem 0 1.5rem;
}

.role-pill {
  cursor: pointer;
  position: relative;
}

.role-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.role-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem 1rem;
  border-radius: 10px;
  background: #08090d;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.role-pill:hover .role-content {
  border-color: var(--border-strong);
  background: #0f1118;
}

.role-pill input:checked + .role-content {
  border-color: var(--c-cobalt);
  background: #121520;
  box-shadow: 0 0 0 1px var(--c-cobalt-dim);
}

.role-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 0.5rem;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.role-pill:hover .role-icon {
  color: #ffffff;
}

.role-pill input:checked + .role-content .role-icon {
  color: var(--c-cobalt-hover);
  transform: scale(1.05);
}

.role-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: #ffffff;
}

.role-subtitle {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Form Groups */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.form-input {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: 10px;
  background: #07080b;
  border: 1px solid var(--border);
  color: #ffffff;
  font-size: 0.98rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--c-cobalt);
  background: #0a0c10;
  box-shadow: 0 0 0 2px var(--c-cobalt-dim);
}

/* Survey Card */
.survey-expandable {
  background: #07080b;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
}

.survey-toggle {
  font-size: 0.85rem;
  color: var(--c-amber);
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

.survey-fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 1.1rem;
  font-size: 1.05rem;
  border-radius: 10px;
  margin-top: 0.5rem;
  background: #ffffff;
  color: #050608;
  border: 1px solid #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-submit:hover {
  background: #e2e5ec;
  color: #000000;
  transform: translateY(-1px);
}

.form-feedback {
  padding: 0;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-feedback.success {
  padding: 1.2rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  line-height: 1.6;
}

.form-feedback.error {
  padding: 1.2rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* Creator Studio Section */
.creator-section {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 16, 26, 0.5) 100%);
}

.creator-box {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.creator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .creator-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.creator-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.creator-lead {
  font-size: 1.08rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.creator-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.25rem;
}

.creator-perks li {
  position: relative;
  padding-left: 2rem;
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.6;
}

.creator-perks li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--c-cobalt);
  font-size: 1.1rem;
}

.creator-card-visual {
  background: #07080b;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.card-visual-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.studio-console-body {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.studio-session-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.studio-track-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.studio-station-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-cobalt-hover);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: var(--c-cobalt-dim);
  border: 1px solid var(--c-cobalt-border);
}

.studio-meter-wrap {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: #0a0c12;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.studio-waveform-svg {
  width: 100%;
  height: 44px;
  display: block;
}

.studio-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.metric-lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
}

.faq-q {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.faq-a {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dim);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 3rem;
  background: #050608;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--muted-dark);
}

.site-version-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: var(--surface-pill);
  border: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }
  .hero-cover {
    padding: 5.5rem 1.25rem 2.5rem;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .hero-backdrop-img {
    object-position: center 30%;
  }
  .hero-content h1 {
    font-size: clamp(2rem, 7.5vw, 2.75rem);
    margin-bottom: 1.1rem;
  }
  .hero-content .hero-lead {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    gap: 0.75rem;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .waitlist-card {
    padding: 2.25rem 1.5rem;
  }
  .creator-box {
    padding: 2rem 1.5rem;
  }
  .deck-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
}
