/* ─────────────────────────────────────────────
   Tokens
───────────────────────────────────────────── */
:root {
  --ink:     #2a1824;
  --mid:     #5a3a4e;
  --muted:   #9b7d8c;
  --faint:   #c4a8b8;
  --bg:      #fff9f7;
  --surface: #ffffff;
  --rose:    #fde8f0;
  --blush:   #fdd5e6;
  --lilac:   #ede6ff;
  --peach:   #ffe8df;
  --pink:    #d9579c;
  --pink-hi: #c4438c;
  --border:  rgba(180, 130, 160, 0.18);
  --shadow:  0 2px 16px rgba(100, 50, 80, 0.08);
  --shadow-lg: 0 8px 40px rgba(100, 50, 80, 0.13);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
}

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

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

body {
  background:
    radial-gradient(ellipse 70% 40% at 10% 0%, rgba(253,213,230,.55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 35% at 92% 8%, rgba(237,230,255,.5) 0%, transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

/* ─────────────────────────────────────────────
   Buttons
───────────────────────────────────────────── */
.btn {
  align-items: center;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  gap: 6px;
  justify-content: center;
  padding: 12px 22px;
  transition: opacity .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover  { opacity: .88; transform: translateY(-1px); }
.btn:active { opacity: 1;   transform: translateY(0); }

.btn-primary {
  background: var(--pink);
  box-shadow: 0 4px 18px rgba(217,87,156,.28);
  color: #fff;
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(217,87,156,.38); }

.btn-ghost {
  background: rgba(255,255,255,.7);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--mid);
}

.btn-lg { font-size: 16px; padding: 14px 28px; }
.btn-block { width: 100%; }

/* ─────────────────────────────────────────────
   Nav
───────────────────────────────────────────── */
.nav-wrap {
  backdrop-filter: blur(12px);
  background: rgba(255,249,247,.82);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  align-items: center;
  display: flex;
  gap: 32px;
  margin: 0 auto;
  max-width: 1100px;
  padding: 14px 24px;
}

.brand {
  align-items: center;
  display: flex;
  font-size: 17px;
  font-weight: 700;
  gap: 9px;
  letter-spacing: -.2px;
}

.logo {
  border-radius: 10px;
  height: 34px;
  width: 34px;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  color: var(--mid);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta { font-size: 14px; padding: 9px 18px; }

/* ─────────────────────────────────────────────
   Hero
───────────────────────────────────────────── */
.hero {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  max-width: 1100px;
  padding: 80px 24px 60px;
}

/* Feature strip label above features */
.features-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  margin: 0 auto 20px;
  max-width: 1100px;
  padding: 0 24px;
  text-align: center;
  text-transform: uppercase;
}

.hero-inner { max-width: 520px; }

.label {
  background: var(--rose);
  border-radius: 999px;
  color: var(--pink);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 24px;
  padding: 5px 14px;
  text-transform: uppercase;
}

h1 {
  color: var(--ink);
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.04;
  margin-bottom: 20px;
}

.hero-sub {
  color: var(--mid);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-note {
  color: var(--muted);
  font-size: 13px;
}

/* App preview card */
.app-card {
  animation: gentleFloat 5s ease-in-out infinite;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 20px;
  width: 100%;
  max-width: 340px;
  justify-self: end;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.app-bar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.app-bar-title {
  font-size: 15px;
  font-weight: 700;
}

.streak-chip {
  background: var(--peach);
  border-radius: 999px;
  color: var(--mid);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
}

.playlist-card {
  background: linear-gradient(135deg, var(--lilac) 0%, var(--rose) 60%, var(--peach) 100%);
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: 16px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.playlist-label {
  color: var(--mid);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.playlist-name {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.3px;
  line-height: 1.2;
}

/* Animated waveform bars */
.bars {
  align-items: flex-end;
  display: flex;
  gap: 3px;
  height: 28px;
  margin-top: 12px;
}

.bars span {
  animation: bar 1.4s ease-in-out infinite;
  background: rgba(42,24,36,.22);
  border-radius: 3px;
  display: block;
  flex: 1;
}

.bars span:nth-child(1) { animation-delay: 0s;    height: 40%; }
.bars span:nth-child(2) { animation-delay: .18s;  height: 75%; }
.bars span:nth-child(3) { animation-delay: .08s;  height: 55%; }
.bars span:nth-child(4) { animation-delay: .3s;   height: 90%; }
.bars span:nth-child(5) { animation-delay: .14s;  height: 45%; }
.bars span:nth-child(6) { animation-delay: .25s;  height: 80%; }
.bars span:nth-child(7) { animation-delay: .05s;  height: 60%; }
.bars span:nth-child(8) { animation-delay: .35s;  height: 35%; }

@keyframes bar {
  0%, 100% { transform: scaleY(1);   opacity: .22; }
  50%       { transform: scaleY(.4); opacity: .14; }
}

.player {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.player-info { display: flex; flex-direction: column; gap: 2px; }

.player-title {
  font-size: 14px;
  font-weight: 700;
}

.player-sub {
  color: var(--muted);
  font-size: 12px;
}

.progress-track {
  background: var(--rose);
  border-radius: 999px;
  height: 4px;
  overflow: hidden;
}

.progress-bar {
  animation: progressFill 1.2s cubic-bezier(.22,1,.36,1) .3s both;
  background: linear-gradient(90deg, var(--pink), #e8a0c8);
  border-radius: inherit;
  height: 100%;
  width: 44%;
}

@keyframes progressFill {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

.player-controls {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.time-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.play-btn {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 36px;
  justify-content: center;
  width: 36px;
  padding-left: 2px;
}

.app-footer-row {
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  padding-top: 14px;
}

.stat-chip {
  align-items: baseline;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
}

.stat-num {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.stat-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

/* ─────────────────────────────────────────────
   Features
───────────────────────────────────────────── */
.features {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 24px 80px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}

.feature:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.feature-icon {
  align-items: center;
  border-radius: var(--r-sm);
  display: flex;
  height: 44px;
  justify-content: center;
  margin-bottom: 18px;
  width: 44px;
}

.feature:nth-child(1) .feature-icon { background: var(--peach); color: #c05a20; }
.feature:nth-child(2) .feature-icon { background: var(--lilac); color: #6b46c1; }
.feature:nth-child(3) .feature-icon { background: var(--rose);  color: var(--pink); }

.feature h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.2px;
  margin-bottom: 8px;
}

.feature p {
  color: var(--mid);
  font-size: 14px;
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   How it works
───────────────────────────────────────────── */
.how {
  background: linear-gradient(180deg, var(--bg) 0%, #fff4f8 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 24px;
  text-align: center;
}

.how-inner {
  margin: 0 auto;
  max-width: 1100px;
}

.section-label {
  color: var(--pink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-h2 {
  color: var(--ink);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 48px;
}

.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  text-align: left;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}

.step-n {
  align-items: center;
  background: linear-gradient(135deg, #fdd5e6, #ede6ff);
  border-radius: 10px;
  color: var(--pink);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  margin-bottom: 16px;
  width: 34px;
}

.step h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.1px;
  margin-bottom: 7px;
}

.step p {
  color: var(--mid);
  font-size: 14px;
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   FAQ
───────────────────────────────────────────── */
.faq {
  margin: 0 auto;
  max-width: 680px;
  padding: 72px 24px;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 40px;
  text-align: left;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .2s;
}

.faq-item[open] { box-shadow: var(--shadow); }

.faq-item summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  padding: 17px 48px 17px 18px;
  position: relative;
  transition: color .15s;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  color: var(--faint);
  content: '+';
  font-size: 22px;
  font-weight: 300;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .25s, color .15s;
}

.faq-item[open] summary { color: var(--pink); }
.faq-item[open] summary::after {
  color: var(--pink);
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  border-top: 1px solid var(--border);
  color: var(--mid);
  font-size: 14px;
  line-height: 1.72;
  padding: 14px 18px 18px;
}

/* ─────────────────────────────────────────────
   CTA section
───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--rose) 0%, var(--lilac) 100%);
  padding: 80px 24px;
  text-align: center;
}

.cta-inner {
  margin: 0 auto;
  max-width: 500px;
}

.cta-section h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -.8px;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--mid);
  margin-bottom: 28px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-form input,
.waitlist-form input {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  outline: none;
  padding: 14px 18px;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}

.cta-form input::placeholder,
.waitlist-form input::placeholder { color: var(--faint); }

.cta-form input:focus,
.waitlist-form input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(217,87,156,.1);
}

.form-msg { display: none; font-size: 13px; font-weight: 600; padding: 10px 14px; border-radius: var(--r-sm); margin-top: 4px; }
.form-msg.success { background: rgba(80,160,110,.1); color: #3a8a5a; display: block; }
.form-msg.error   { background: rgba(200,60,80,.08);  color: #b83050; display: block; }

.note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}

/* ─────────────────────────────────────────────
   Footer
───────────────────────────────────────────── */
.footer {
  align-items: center;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 28px 40px;
}

.brand-sm {
  align-items: center;
  display: flex;
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
}

.logo-sm {
  border-radius: 8px;
  height: 28px;
  width: 28px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color .15s;
}
.footer-links a:hover { color: var(--ink); }

.footer-copy {
  color: var(--muted);
  font-size: 12px;
}

/* ─────────────────────────────────────────────
   Waitlist page
───────────────────────────────────────────── */
.waitlist-body {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 32px 20px 48px;
}

.waitlist-wrap {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  width: 100%;
}

.back-link {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 4px;
  margin-bottom: 32px;
  transition: color .15s;
}
.back-link:hover { color: var(--ink); }

.waitlist-logo {
  margin-bottom: 32px;
}

.waitlist-logo img {
  border-radius: 18px;
  height: 56px;
  width: 56px;
}

.waitlist-content { width: 100%; }

.waitlist-h1 {
  font-size: clamp(32px, 7vw, 44px);
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.waitlist-sub {
  color: var(--mid);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 420px;
}

.waitlist-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.optional {
  color: var(--faint);
  font-size: 11px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.feature-row {
  align-items: center;
  display: flex;
  gap: 12px;
}

.feature-dot {
  background: linear-gradient(135deg, var(--pink), #e8a0c8);
  border-radius: 50%;
  flex-shrink: 0;
  height: 7px;
  width: 7px;
}

.feature-row span {
  color: var(--mid);
  font-size: 14px;
  font-weight: 500;
}

.wl-footer {
  display: flex;
  gap: 20px;
  margin-top: auto;
  padding-top: 24px;
}

.wl-footer a {
  color: var(--muted);
  font-size: 13px;
  transition: color .15s;
}
.wl-footer a:hover { color: var(--ink); }

/* ─────────────────────────────────────────────
   Legal pages
───────────────────────────────────────────── */
.legal-page {
  margin: 0 auto;
  max-width: 760px;
  padding: 64px 24px 96px;
}

.legal-page h1 {
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: -.8px;
  margin-bottom: 8px;
}

.legal-page .page-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 48px;
}

.legal-page section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 12px;
  padding: 24px 28px;
}

.legal-page h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-page p {
  color: var(--mid);
  font-size: 14px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   Scroll reveal
───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1),
              transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────
   Responsive
───────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 56px 24px 48px;
    text-align: center;
  }
  .hero-inner { max-width: 100%; }
  .hero-sub   { max-width: 100%; }
  .hero-ctas  { justify-content: center; }
  .app-card   { justify-self: center; max-width: 340px; }

  .features { grid-template-columns: 1fr; padding-bottom: 56px; }
  .steps    { grid-template-columns: 1fr; }
  .features-label { margin-bottom: 16px; }
}

@media (max-width: 640px) {
  .nav-links  { display: none; }
  .footer     { flex-direction: column; align-items: center; gap: 14px; padding: 24px; text-align: center; }
  .footer-links { justify-content: center; }
  h1          { letter-spacing: -1px; }
  .btn-lg     { font-size: 15px; padding: 13px 22px; }
  .hero-ctas .btn { flex: 1; }
  .feature    { padding: 28px 22px; }
  .how, .faq  { padding: 64px 20px; }
  .cta-section { padding: 64px 20px; }
}
