/* Base theme + shared primitives extracted from web/styles.css so the landing
   is self-contained and does not depend on the main web bundle. */
:root {
  color-scheme: dark;
  --bg: #050508;
  --paper: #0d0b2b;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.65);
  --muted-soft: rgba(255, 255, 255, 0.42);
  --disabled: rgba(255, 255, 255, 0.38);
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-soft: rgba(124, 58, 237, 0.18);
  --secondary: #2563eb;
  --info: #06b6d4;
  --info-light: #67e8f9;
  --success: #10b981;
  --danger: #f87171;
  --glow: 0 0 24px rgba(124, 58, 237, 0.34);
  --surface-1: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --hairline: rgba(255, 255, 255, 0.10);
  --fs-2xs: 11px;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 34px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}

html {
  min-height: 100%;
  background: var(--bg);
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(76, 29, 149, 0.30), transparent 38vw),
    radial-gradient(circle at 88% 10%, rgba(30, 64, 175, 0.26), transparent 36vw),
    radial-gradient(circle at 48% 92%, rgba(76, 29, 149, 0.16), transparent 46vw),
    linear-gradient(180deg, #0b0618 0%, #071022 52%, #070711 100%);
  background-attachment: fixed;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  color: var(--text);
  border-radius: var(--radius-pill);
  padding: 10px 14px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

button,
.button-link {
  min-height: 42px;
}

[hidden] {
  display: none !important;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  color: var(--text);
  border-radius: var(--radius-pill);
  padding: 10px 14px;
  text-decoration: none;
}

button:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.button-link:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.shell {
  max-width: 1360px;
  margin: 0 auto;
  padding: 28px;
}

.muted {
  color: var(--muted);
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  padding: 22px;
  backdrop-filter: blur(18px);
}

.small {
  color: var(--muted-soft);
  font-size: var(--fs-xs);
}

.card-kicker {
  color: var(--info-light);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
}

.button-link.primary-link {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-color: transparent;
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}
.landing-shell {
  max-width: 1160px;
  display: grid;
  gap: 24px;
  min-width: 0;
}

.landing-shell > *,
.landing-hero > *,
.landing-pricing-grid > * {
  min-width: 0;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.landing-logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-accent {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-nav-links {
  display: flex;
  gap: 28px;
}

.landing-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.landing-btn-outline {
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
  border-color: rgba(167, 139, 250, 0.5);
}

.landing-btn-outline:hover {
  background: rgba(124, 58, 237, 0.25);
  border-color: rgba(167, 139, 250, 0.8);
  color: var(--text);
}

.landing-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 20px 0 10px;
}

@media (max-width: 880px) {
  .shell {
    padding: 24px;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--info-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.landing-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--info-light);
  box-shadow: 0 0 10px var(--info-light);
}

.landing-hero h1 {
  font-size: clamp(1.85rem, 3.3vw, 2.75rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.landing-subtext {
  font-size: 1rem;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 30px;
}

.landing-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.landing-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.waitlist-input {
  padding: 0 18px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 0.9rem;
  min-width: 220px;
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--primary-light);
}

.waitlist-message {
  min-height: 1.2em;
  font-size: 0.85rem;
  margin: -12px 0 26px;
}

.landing-chip {
  font-size: 0.79rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--muted);
}

.landing-player {
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.landing-player-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.landing-player-kicker {
  color: var(--info-light);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.landing-player-format {
  color: var(--muted-soft);
  font-size: 0.72rem;
  font-weight: 600;
}

.landing-player-stage {
  position: relative;
  padding: 44px 26px 28px;
  min-height: 200px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 15%, rgba(124, 58, 237, 0.22), transparent 65%);
}

.landing-stage-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  mix-blend-mode: screen;
}

.landing-stage-glow.g1 {
  width: 200px;
  height: 200px;
  background: var(--secondary);
  opacity: 0.35;
  top: -60px;
  left: -40px;
}

.landing-stage-glow.g2 {
  width: 200px;
  height: 200px;
  background: var(--info);
  opacity: 0.22;
  bottom: -70px;
  right: -30px;
}

.landing-lyrics {
  position: relative;
  z-index: 2;
  text-align: center;
}

.landing-line {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 9px 0;
}

.landing-past,
.landing-future {
  color: var(--muted-soft);
}

.landing-active {
  color: var(--text);
}

.landing-sung {
  color: var(--primary-light);
  opacity: 0.85;
  text-shadow: 0 0 10px rgba(196, 181, 253, 0.35);
}

.landing-singing {
  position: relative;
  color: var(--primary-light);
  text-shadow: 0 0 18px rgba(196, 181, 253, 0.9), 0 0 32px rgba(124, 58, 237, 0.5);
  animation: landing-pulse 1.3s ease-in-out infinite;
}

.landing-unsung {
  color: #ffffff;
}

@keyframes landing-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.landing-wave {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 28px;
  margin-top: 24px;
}

.landing-wave span {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary-light), var(--secondary));
  display: block;
  transform-origin: bottom;
  animation: landing-bar 1.1s ease-in-out infinite alternate;
}

@keyframes landing-bar {
  0% {
    transform: scaleY(0.45);
    opacity: 0.65;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.landing-controls {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  border-top: 1px solid var(--border);
}

.landing-playbtn {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  color: #fff;
}

.landing-progress {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.landing-progress-fill {
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
  border-radius: inherit;
}

.landing-time {
  font-size: 0.7rem;
  color: var(--muted-soft);
  white-space: nowrap;
}

.landing-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.landing-section-sub {
  margin: 6px 0 0;
}

.landing-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: 26px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 30%, rgba(124, 58, 237, 0.22), transparent 65%), linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.landing-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.landing-video-play {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.5);
  font-size: 1.25rem;
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.landing-video-frame:hover .landing-video-play {
  transform: scale(1.06);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.65);
}

.landing-video-hint {
  color: var(--muted-soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 30px;
}

@media (max-width: 880px) {
  .landing-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .landing-steps {
    grid-template-columns: 1fr;
  }
}

.landing-num {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(37, 99, 235, 0.28));
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: var(--primary-light);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
}

.landing-step h4 {
  font-size: 1rem;
  margin: 0 0 6px;
  font-weight: 700;
}

.landing-step p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.landing-cmp-wrap {
  margin-top: 26px;
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.landing-cmp {
  min-width: 640px;
}

.landing-cmp-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.3fr;
}

.landing-cmp-cell {
  padding: 15px 16px;
  font-size: 0.86rem;
  line-height: 1.4;
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.landing-cmp-row .landing-cmp-cell:first-child {
  border-left: none;
}

.landing-cmp-row:last-child .landing-cmp-cell {
  border-bottom: none;
}

.landing-cmp-row.head .landing-cmp-cell {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-soft);
  background: rgba(255, 255, 255, 0.03);
}

.landing-cmp-row.head .landing-cmp-cell.us {
  color: var(--info-light);
}

.landing-cmp-cell.label {
  font-weight: 700;
  background: rgba(255, 255, 255, 0.02);
}

.landing-cmp-cell.alt {
  color: var(--muted);
}

.landing-cmp-cell.us {
  color: var(--text);
  font-weight: 600;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.14), rgba(37, 99, 235, 0.10));
  position: relative;
}

.landing-cmp-cell.us::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

@media (max-width: 620px) {
  .landing-cmp {
    min-width: 560px;
  }

  .landing-cmp-cell {
    padding: 13px 14px;
    font-size: 0.82rem;
  }
}

.landing-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 26px 0 0;
}

.landing-pricing-card {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.landing-pricing-card strong {
  font-size: 1.9rem;
  font-weight: 800;
}

.landing-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.landing-resource-link {
  display: block;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.88rem;
  font-weight: 700;
}

.landing-resource-link:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.landing-price-note {
  margin: 20px 0 0;
}

.landing-footer {
  padding: 12px 4px 28px;
  text-align: center;
}

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

@media (max-width: 560px) {
  .shell {
    padding: 16px;
  }

  .landing-shell {
    gap: 18px;
  }

  .landing-nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 0;
  }

  .landing-logo {
    font-size: 1.05rem;
  }

  .landing-nav > .button-link {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .landing-nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 32px;
  }

  .landing-nav-links a {
    font-size: 0.82rem;
  }

  .landing-hero {
    gap: 24px;
    padding: 8px 0 4px;
  }

  .landing-eyebrow {
    margin-bottom: 14px;
    font-size: 0.68rem;
  }

  .landing-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.1rem);
    margin-bottom: 16px;
  }

  .landing-subtext {
    font-size: 0.94rem;
    line-height: 1.58;
    margin-bottom: 22px;
  }

  .landing-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }

  .waitlist-input,
  .landing-cta .button-link {
    width: 100%;
    min-width: 0;
  }

  .landing-chips {
    gap: 8px;
    justify-content: center;
  }

  .landing-chip {
    padding: 6px 11px;
    font-size: 0.72rem;
  }

  .landing-player {
    border-radius: 14px;
  }

  .landing-player-topbar {
    padding: 12px 14px;
  }

  .landing-player-stage {
    min-height: 176px;
    padding: 34px 14px 24px;
  }

  .landing-line {
    font-size: 0.94rem;
  }

  .landing-controls {
    gap: 10px;
    padding: 12px 14px;
  }

  .panel {
    padding: 18px;
  }

  .landing-card h3 {
    margin-top: 0;
    font-size: 1.3rem;
  }

  .landing-video-frame,
  .landing-cmp-wrap,
  .landing-pricing-grid {
    margin-top: 20px;
  }

  .landing-video-play {
    width: 54px;
    height: 54px;
    font-size: 1rem;
  }

  .landing-steps {
    gap: 22px;
    margin-top: 24px;
  }

  .landing-step {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
  }

  .landing-num {
    width: 38px;
    height: 38px;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .landing-step h4,
  .landing-step p {
    grid-column: 2;
  }

  .landing-step h4 {
    margin-top: 2px;
  }

  .landing-pricing-card {
    padding: 18px;
  }

  .landing-pricing-card strong {
    font-size: 1.6rem;
  }

  .landing-resources-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 370px) {
  .landing-logo {
    font-size: 0.95rem;
  }

  .landing-nav > .button-link {
    padding-inline: 10px;
    font-size: 0.76rem;
  }

  .landing-time {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-singing,
  .landing-wave span {
    animation: none !important;
  }
}
