/* ════════════════════════════════════════════════════════════════
   SINGLOOM — Warm Ivory & Rose
   ════════════════════════════════════════════════════════════════ */

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

:root {
  /* backgrounds */
  --parchment:    #fdf8f4;
  --parchment-2:  #f7efe8;
  --parchment-3:  #f0e4d8;

  /* deep ink (replaces midnight) */
  --midnight:     #2c1a14;
  --midnight-2:   #3d2519;
  --midnight-3:   #4f2f1e;

  /* rose accent (replaces gold) */
  --gold:         #c4687a;
  --gold-light:   #d4889a;
  --gold-soft:    #edd5da;
  --gold-deep:    #9e4a5c;
  --gold-dark:    #6e2f3b;

  /* sage/green accent for variety */
  --sage:         #6b8c6a;
  --sage-soft:    #c8dbc7;

  /* text */
  --rose:         #c4687a;
  --ink:          #2c1a14;
  --ink-soft:     #6b4f48;
  --muted:        #9e867e;
  --muted-2:      #b8a49c;

  /* borders */
  --line:         #e8d8d0;
  --line-2:       #ddc9bf;

  --white:        #fffcfa;

  --shadow-sm: 0 1px 3px rgba(44,26,20,0.06), 0 4px 16px rgba(44,26,20,0.06);
  --shadow:    0 10px 40px rgba(44,26,20,0.11);
  --shadow-lg: 0 24px 60px rgba(44,26,20,0.18);
  --radius:    18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  font-size:   16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  color: var(--midnight);
  background: var(--parchment);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

.hidden { display: none !important; }

/* ── WORDMARK ──────────────────────────────────────────────── */
.wordmark-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--midnight);
}

.wm-mark {
  width: 30px;
  height: 30px;
  color: var(--gold);
}

.wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.6px;
  color: var(--midnight);
  font-style: italic;
}
.wordmark .dot { color: var(--gold); font-style: normal; }

/* ════════════════════════════════════════════════════════════
   LANDING PAGE
   ════════════════════════════════════════════════════════════ */

.landing {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ──────────────────────────────────────────────── */
.lp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253,248,244,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}

.lp-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(253,248,244,0.96);
}

.lp-header-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}

.lp-header-nav a {
  color: inherit;
  text-decoration: none;
  transition: color .15s;
  position: relative;
}

.lp-header-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}

.lp-header-nav a:hover { color: var(--midnight); }
.lp-header-nav a:hover::after { transform: scaleX(1); }

.lp-header-cta {
  background: var(--midnight);
  color: var(--white);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s, transform .12s;
}

.lp-header-cta:hover { background: var(--midnight-2); transform: translateY(-1px); }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  padding: 70px 60px 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(196,104,122,0.16), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-left, .hero-right { position: relative; z-index: 1; }

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  color: var(--gold-deep);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  box-shadow: var(--shadow-sm);
  align-self: flex-start;
  text-transform: uppercase;
}

.pill-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(196,104,122,0.18);
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(48px, 6.8vw, 92px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--midnight);
}

.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
  position: relative;
  display: inline-block;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 6px;
  background: var(--gold);
  opacity: 0.18;
  border-radius: 999px;
  z-index: -1;
}

.hero-sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 520px;
  line-height: 1.55;
}

.hero-sub strong { color: var(--midnight); font-weight: 600; }

/* hero start card */
.hero-start {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
  max-width: 540px;
  position: relative;
}

.hero-start::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold), transparent 50%);
  z-index: -1;
  opacity: 0.4;
}

.kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--gold-deep);
  display: block;
}

.hero-start-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--midnight);
  letter-spacing: -0.01em;
}

.hero-start-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.hero-start-input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--midnight);
  background: var(--parchment);
  outline: none;
  transition: border-color .15s, background .15s;
  min-width: 0;
}

.hero-start-input:focus { border-color: var(--gold); background: var(--white); }

.hero-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--midnight);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, transform .12s, box-shadow .15s;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(44,26,20,0.18);
}

.hero-start-btn:hover { background: var(--midnight-2); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(44,26,20,0.24); }
.hero-start-btn:active { transform: translateY(0); }

.hero-start-fine {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
}

.check { color: var(--gold-deep); font-weight: 800; margin-right: 2px; }

/* hero trust */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

.hero-stars .stars { color: var(--gold); letter-spacing: 1.5px; font-size: 14px; }
.hero-stars strong { color: var(--midnight); font-weight: 700; }
.trust-muted { color: var(--muted); }

.hero-avatars {
  display: flex;
}
.hero-avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  margin-left: -10px;
  box-shadow: var(--shadow-sm);
}
.hero-avatars img:first-child { margin-left: 0; }

/* ── HERO RIGHT — floating mock player ─────────────────── */
.hero-right {
  position: relative;
  min-height: 600px;
}

.hero-mock-player {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 460px;
  position: relative;
  transform: rotate(-1.5deg);
}

.mp-art {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--midnight);
}

.mp-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,26,20,0.2) 0%, rgba(44,26,20,0.85) 100%);
}

.mp-art-logo {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  opacity: 0.92;
}

.mp-art-logo .wm-mark {
  flex-shrink: 0;
}

.mp-art-logo span {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.2px;
  color: var(--gold);
}

.mp-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--midnight);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s, box-shadow .18s;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.mp-play:hover { transform: translate(-50%, -50%) scale(1.08); }

.mp-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 22px 24px;
  height: 80px;
}

.mp-waveform span {
  flex: 1;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  border-radius: 999px;
  height: var(--h, 50%);
  opacity: 0.35;
  transition: opacity .15s, transform .15s;
}

.mp-waveform span:nth-child(-n+7) { opacity: 1; }

.hero-mock-player.is-playing {
  border-color: var(--gold);
  box-shadow: 0 24px 70px rgba(196,104,122,0.28);
}

.hero-mock-player.is-playing .mp-play {
  background: var(--gold);
  color: var(--midnight);
}

.hero-mock-player.is-playing .mp-waveform span {
  opacity: 1;
  animation: wavePulse 0.72s ease-in-out infinite alternate;
}

.mp-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px 22px;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.mp-meta-tag {
  background: var(--parchment-2);
  color: var(--gold-deep);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.3px;
}

/* floating cards */
.hero-floater {
  position: absolute;
  bottom: -30px;
  right: -10px;
  background: var(--midnight);
  color: var(--white);
  padding: 18px 22px;
  border-radius: 16px;
  max-width: 270px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  border: 1px solid rgba(196,104,122,0.3);
}

.floater-stars { color: var(--gold); letter-spacing: 1px; font-size: 13px; display: block; margin-bottom: 6px; }

.hero-floater p {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.floater-cite { font-size: 11px; color: var(--gold-soft); font-weight: 500; letter-spacing: 0.3px; }

.hero-note {
  position: absolute;
  top: 30px;
  left: -40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 240px;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.note-icon {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  color: var(--gold);
  font-style: italic;
  line-height: 1;
}

.hero-note strong {
  font-size: 13px;
  font-weight: 700;
  display: block;
  color: var(--midnight);
}

.hero-note p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* ── OCCASION STRIP ───────────────────────────────────────── */
.occasion-strip {
  background: var(--midnight);
  color: var(--gold-soft);
  padding: 22px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.occasion-strip > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.occasion-strip ul {
  list-style: none;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.occasion-strip li:not(:nth-child(odd)) { color: var(--gold); opacity: 0.6; }

/* ── SECTION HEAD ───────────────────────────────────────── */
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-head h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--midnight);
}

.section-head p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.section-head.dark h2 { color: var(--white); }
.section-head.dark p { color: var(--gold-soft); }

/* ── HOW IT WORKS ─────────────────────────────────────── */
.how {
  padding: 100px 60px;
  background:
    radial-gradient(ellipse at top right, rgba(196,104,122,0.07), transparent 60%),
    var(--parchment);
  max-width: 1400px;
  margin: 0 auto;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}

.how-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}

.how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-soft);
}

.how-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.how-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--midnight);
}

.how-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.how-card em { color: var(--gold-deep); font-style: italic; }

/* ── EXAMPLES ─────────────────────────────────────────── */
.examples {
  padding: 100px 60px;
  background: var(--parchment-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto;
}

.example-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}

.example-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.ex-art {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--midnight);
}

.ex-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .35s ease;
}

.ex-art img.pos-bottom {
  object-position: center bottom;
}

.example-card:hover .ex-art img { transform: scale(1.05); }

.ex-art-logo {
  position: absolute;
  bottom: 10px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  opacity: 0.9;
  pointer-events: none;
}

.ex-art-logo span {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: -0.1px;
  color: var(--gold);
}

.ex-play {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--midnight);
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform .15s, background .15s;
  box-shadow: 0 8px 24px rgba(196,104,122,0.45);
}

.ex-play:hover { transform: scale(1.1); background: var(--gold-light); }

.example-card.is-playing {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(196,104,122,0.24);
}

.example-card.is-playing .ex-play {
  background: var(--white);
  color: var(--gold-deep);
}

.example-card.is-playing .ex-art img {
  transform: scale(1.05);
}

.example-card.is-playing .ex-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(44,26,20,0.36));
  pointer-events: none;
}

@keyframes wavePulse {
  from { transform: scaleY(0.72); }
  to { transform: scaleY(1.08); }
}

.ex-body { padding: 22px; }

.ex-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 8px;
}

.ex-body h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--midnight);
  margin-bottom: 6px;
}

.ex-body p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ── STORIES (dark) ────────────────────────────────────── */
.stories {
  background: var(--midnight);
  color: var(--parchment);
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
}

.stories::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(196,104,122,0.15), transparent 60%);
  pointer-events: none;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.story-card {
  background: var(--midnight-2);
  border: 1px solid rgba(196,104,122,0.2);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s, border-color .2s, background .2s;
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: var(--midnight-3);
}

.story-stars { color: var(--gold); letter-spacing: 1.5px; font-size: 14px; }

.story-card blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--parchment);
  font-weight: 500;
}

.story-card blockquote em { color: var(--gold-soft); }

.story-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.story-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.story-author strong {
  display: block;
  font-size: 13px;
  color: var(--white);
  font-weight: 700;
}

.story-author span {
  font-size: 12px;
  color: var(--gold-soft);
  opacity: 0.85;
}

/* ── PRICING ─────────────────────────────────────────── */
.pricing {
  padding: 100px 60px;
  background: var(--parchment);
}

.pricing-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(196,104,122,0.15), transparent 65%);
  pointer-events: none;
}

.pricing-left { position: relative; }

.pricing-eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 12px;
}

.pricing-amount {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 88px;
  font-weight: 600;
  color: var(--midnight);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-dollar, .pricing-cents {
  font-size: 38px;
  vertical-align: top;
  font-weight: 500;
  color: var(--gold-deep);
}
.pricing-cents { vertical-align: baseline; font-size: 28px; }

.pricing-once {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}

.pricing-features {
  list-style: none;
  display: grid;
  gap: 10px;
  position: relative;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

.check-gold {
  color: var(--gold);
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-cta {
  background: var(--midnight);
  color: var(--white);
  text-decoration: none;
  padding: 18px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s, transform .12s, box-shadow .15s;
  box-shadow: 0 10px 32px rgba(44,26,20,0.22);
  position: relative;
}

.pricing-cta:hover {
  background: var(--midnight-2);
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(44,26,20,0.28);
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq {
  padding: 100px 60px;
  background: var(--parchment-2);
  border-top: 1px solid var(--line);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  transition: border-color .2s, box-shadow .2s;
  cursor: pointer;
}

.faq details:hover { border-color: var(--gold-soft); }
.faq details[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--midnight);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq summary::after {
  content: '+';
  color: var(--gold);
  font-size: 24px;
  font-weight: 300;
  transition: transform .2s;
  flex-shrink: 0;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ── FINAL CTA ─────────────────────────────────────────── */
.final-cta {
  padding: 110px 60px;
  background: var(--midnight);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(196,104,122,0.18), transparent 60%);
  pointer-events: none;
}

.final-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 800px;
  margin: 0 auto 18px;
  position: relative;
}

.final-cta p {
  font-size: 18px;
  color: var(--gold-soft);
  margin-bottom: 36px;
  position: relative;
}

.cta-btn.large {
  padding: 18px 34px;
  font-size: 17px;
}

.cta-arrow-circle {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  background: var(--midnight);
  color: var(--gold);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

/* ── FOOTER ────────────────────────────────────────────── */
.lp-footer {
  background: #1a0d0a;
  color: var(--gold-soft);
  padding: 60px 60px 28px;
  border-top: 1px solid rgba(196,104,122,0.12);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(196,104,122,0.12);
}

.footer-brand .wordmark { color: var(--white); }
.footer-brand p {
  font-size: 14px;
  color: var(--muted-2);
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.55;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--gold-soft);
  text-decoration: none;
  padding: 5px 0;
  transition: color .15s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1240px;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted-2);
  flex-wrap: wrap;
  gap: 14px;
}

.footer-built { font-style: italic; }

/* ════════════════════════════════════════════════════════════
   WIZARD + STUDIO
   ════════════════════════════════════════════════════════════ */

.wiz-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 68px;
  background: rgba(253,248,244,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 22px;
  z-index: 100;
}

.wiz-progress-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.wiz-step-label {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.wiz-bar-track {
  flex: 1;
  height: 4px;
  background: var(--parchment-3);
  border-radius: 999px;
  overflow: hidden;
  min-width: 80px;
}

.wiz-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  border-radius: 999px;
  transition: width .4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wiz-pct {
  font-size: 12px;
  color: var(--gold-deep);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.wiz-close {
  background: none;
  border: none;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  transition: color .15s, background .15s;
}

.wiz-close:hover { color: var(--midnight); background: var(--parchment-2); }

.wizard {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--parchment);
}

.wiz-body {
  flex: 1;
  padding: 120px 24px 150px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.wiz-step {
  width: min(820px, 100%);
  animation: fadeUp .35s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.wiz-step.hidden { display: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wiz-q {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4.8vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--midnight);
  margin-bottom: 14px;
}

.wiz-name-inline {
  color: var(--gold-deep);
  font-style: italic;
}

.wiz-hint {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 40px;
  line-height: 1.55;
  max-width: 660px;
}

.wiz-hint em { color: var(--gold-deep); font-style: italic; }

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.opt-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 24px 26px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  transition: border-color .18s, background .18s, transform .12s, box-shadow .18s;
  font-family: inherit;
  position: relative;
}

.opt-card strong {
  font-size: 18px;
  font-weight: 600;
  color: var(--midnight);
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.01em;
}

.opt-card span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.opt-card:hover {
  border-color: var(--gold);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.opt-card.selected {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(231,214,168,0.25), rgba(231,214,168,0.08));
}

.opt-card.selected::after {
  content: '✓';
  position: absolute;
  top: 16px;
  right: 18px;
  width: 24px;
  height: 24px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

/* "or write your own" custom input under option grids */
.custom-input-row {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.custom-input-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--muted);
  text-align: center;
}

.custom-input-divider::before,
.custom-input-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.custom-input {
  width: 100%;
  border: 1.5px dashed var(--line-2);
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 15px;
  font-family: inherit;
  color: var(--midnight);
  background: transparent;
  outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
}

.custom-input::placeholder {
  color: var(--muted);
  font-style: italic;
}

.custom-input:focus,
.custom-input:not(:placeholder-shown) {
  border-style: solid;
  border-color: var(--gold);
  background: var(--white);
}

.custom-input:focus {
  box-shadow: 0 0 0 4px rgba(196,104,122,0.14);
}

.text-step { display: flex; flex-direction: column; gap: 14px; }

.wiz-text-input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  font-size: 17px;
  font-family: inherit;
  color: var(--midnight);
  background: var(--white);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.wiz-text-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(196,104,122,0.14);
}

.wiz-textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  font-size: 16px;
  font-family: inherit;
  color: var(--midnight);
  background: var(--white);
  outline: none;
  resize: vertical;
  line-height: 1.65;
  transition: border-color .15s, box-shadow .15s;
}

.wiz-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(196,104,122,0.14);
}
.wiz-textarea.tall { min-height: 340px; }

.text-step-row { display: flex; justify-content: flex-end; }

.char-count {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.wiz-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--midnight);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.wiz-label-hint {
  font-weight: 400;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.field-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  vertical-align: middle;
}

.field-badge.required {
  color: var(--gold-dark);
  background: var(--gold-soft);
}

.field-badge.optional {
  color: var(--ink-soft);
  background: var(--parchment-2);
  border: 1px solid var(--line);
}

.multi-field { gap: 24px; }

.wiz-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 20px 32px;
  background: rgba(253,248,244,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 100;
}

.wiz-back {
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-soft);
  font-family: inherit;
  transition: border-color .15s, color .15s;
}

.wiz-back:hover { border-color: var(--midnight); color: var(--midnight); }
.wiz-back:disabled { opacity: 0.3; cursor: not-allowed; }

.wiz-next,
.wiz-generate {
  background: var(--midnight);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  font-family: inherit;
  transition: background .18s, transform .12s, box-shadow .18s;
  box-shadow: 0 8px 22px rgba(44,26,20,0.18);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wiz-next:hover,
.wiz-generate:hover {
  background: var(--midnight-2);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(44,26,20,0.25);
}
.wiz-next:active,
.wiz-generate:active { transform: translateY(0); }

.wiz-generate {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--midnight);
  padding: 14px 36px;
  box-shadow: 0 10px 28px rgba(196,104,122,0.4);
}

.wiz-generate:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 14px 36px rgba(196,104,122,0.5);
}

/* ────────────────────────────────────────────────────────
   STUDIO
   ──────────────────────────────────────────────────────── */
.studio-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--parchment);
}

.studio-status-badge {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-deep);
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 6px 18px;
  max-width: 300px;
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.studio-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.studio-back-btn {
  border: 1px solid var(--gold-soft);
  background: var(--white);
  color: var(--midnight);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(44,26,20,0.08);
}

.studio-back-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(44,26,20,0.12);
}

.studio-body {
  margin-top: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 28px;
  padding: 40px 36px;
  align-items: start;
  max-width: 1340px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.studio-lyrics {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.studio-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.studio-section-head h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.editor-help {
  max-width: 680px;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.generation-counters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.generation-counters span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}

.thank-you-page {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--parchment) 0%, var(--parchment-2) 100%);
  color: var(--midnight);
  padding: 0 24px 80px;
  display: flex;
  flex-direction: column;
}

.ty-header {
  padding: 28px 0 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}

.ty-main {
  max-width: 640px;
  width: 100%;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

.ty-kicker {
  display: inline-block;
  align-self: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.ty-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

.ty-sub {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.ty-job-status {
  min-height: 22px;
  color: var(--gold-deep);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
}

.ty-composing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 40px 24px;
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  background: var(--white, #fff);
  box-shadow: 0 6px 24px rgba(44, 26, 20, 0.08);
}

.ty-spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--gold-soft);
  border-top-color: var(--gold);
  animation: ty-spin 0.9s linear infinite;
}

@keyframes ty-spin {
  to { transform: rotate(360deg); }
}

.ty-composing-label {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}

.ty-ready {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ty-player-shell {
  width: min(100%, 440px);
  padding: 10px;
  border-radius: 42px;
  background: #161111;
  box-shadow: 0 24px 70px rgba(44, 26, 20, 0.22);
}

.ty-player-screen {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 24px 26px 28px;
  color: #fdf8f4;
  background:
    radial-gradient(circle at 18% 18%, rgba(232, 190, 118, 0.28), transparent 34%),
    radial-gradient(circle at 86% 78%, rgba(196, 104, 122, 0.34), transparent 36%),
    linear-gradient(135deg, #241916 0%, #4a1f28 58%, #9b4054 100%);
}

.ty-player-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(253, 248, 244, 0.38) 0 1px, transparent 1px),
    linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.08));
  background-size: 28px 28px, 100% 100%;
  opacity: 0.22;
  pointer-events: none;
}

.ty-player-screen > * {
  position: relative;
  z-index: 1;
}

.ty-phone-status,
.ty-player-brand,
.ty-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ty-phone-status {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(253, 248, 244, 0.9);
}

.ty-phone-battery {
  width: 34px;
  height: 15px;
  border: 1.5px solid rgba(253, 248, 244, 0.78);
  border-radius: 999px;
  position: relative;
}

.ty-phone-battery::before {
  content: "";
  position: absolute;
  inset: 3px 12px 3px 3px;
  border-radius: 999px;
  background: #fdf8f4;
}

.ty-phone-battery::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 4px;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: rgba(253, 248, 244, 0.78);
}

.ty-player-brand {
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #fdf8f4;
}

.ty-player-brand span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
}

.ty-title-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 248, 244, 0.62);
  margin: 0 0 16px;
  text-align: center;
}

.ty-album-art {
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  border: 1px solid rgba(253, 248, 244, 0.36);
  border-radius: 28px;
  background:
    radial-gradient(circle at 36% 30%, rgba(253, 248, 244, 0.96), transparent 0 18%, transparent 19%),
    radial-gradient(circle at 64% 66%, rgba(232, 190, 118, 0.7), transparent 0 26%, transparent 27%),
    linear-gradient(145deg, #2c1a14 0%, #702c3a 54%, #c4687a 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.ty-album-art span {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 1px solid rgba(253, 248, 244, 0.48);
  background: rgba(24, 16, 15, 0.32);
  color: #fdf8f4;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0;
}

.ty-cover-image {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.ty-album-art.has-cover {
  display: block;
  overflow: hidden;
}

.ty-album-art.has-cover span {
  display: none;
}

.ty-album-art.has-cover .ty-cover-image {
  display: block;
}

.ty-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.08;
  color: #fdf8f4;
  margin: 0;
  overflow-wrap: anywhere;
}

.ty-dedication {
  color: rgba(253, 248, 244, 0.68);
  font-size: 15px;
  line-height: 1.45;
  margin: 8px 0 22px;
}

.ty-waveform {
  height: 80px;
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
}

.ty-waveform span {
  height: var(--h);
  min-height: 12px;
  border-radius: 999px;
  background: rgba(253, 248, 244, 0.42);
}

.ty-waveform span:nth-child(-n + 8) {
  background: #e8be76;
}

.ty-progress {
  gap: 10px;
  color: rgba(253, 248, 244, 0.62);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.ty-progress-track {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: rgba(253, 248, 244, 0.18);
  overflow: hidden;
}

.ty-progress-track span {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: #e8be76;
}

.ty-audio {
  width: 100%;
  height: 42px;
  margin-bottom: 14px;
}

.ty-download {
  width: 100%;
  min-height: 54px;
  text-decoration: none;
  justify-content: center;
}

.ty-cover-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 14px auto 16px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--gold-soft);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.ty-email-note {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

.ty-lyrics {
  margin-top: 28px;
  text-align: left;
  border: 1px solid var(--gold-soft);
  border-radius: 12px;
  background: var(--white, #fff);
  overflow: hidden;
}

.ty-lyrics summary {
  padding: 14px 20px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--midnight);
  list-style: none;
}

.ty-lyrics summary::-webkit-details-marker { display: none; }

.ty-lyrics summary::after {
  content: "+";
  float: right;
  color: var(--gold-deep);
  font-weight: 700;
}

.ty-lyrics[open] summary::after { content: "−"; }

.ty-lyrics pre {
  margin: 0;
  padding: 0 20px 20px;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--midnight);
  font: 14px/1.6 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  max-height: 360px;
  overflow: auto;
}

.ty-footer-note {
  margin-top: 32px;
  font-size: 13px;
  color: var(--ink-soft);
}

.ty-footer-note a {
  color: var(--gold-deep);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .thank-you-page { padding: 0 16px 60px; }
  .ty-ready, .ty-composing { padding: 24px 18px; }
}

.studio-editor-actions {
  display: grid;
  grid-template-columns: minmax(180px, max-content) minmax(220px, max-content) 1fr;
  gap: 12px;
  align-items: center;
}

.save-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.save-status.dirty { color: var(--gold-deep); }
.save-status.error { color: #a73737; }

.studio-lyrics.is-loading input,
.studio-lyrics.is-loading textarea {
  cursor: progress;
}

.studio-lyrics input:disabled,
.studio-lyrics textarea:disabled {
  background: var(--parchment-2);
  color: var(--muted);
  cursor: not-allowed;
}

.eyebrow {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--gold-deep);
  margin-bottom: 6px;
}

.studio-player {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 88px;
}

.player-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

#coverCanvas {
  width: 100%;
  height: auto;
  display: block;
  background: var(--midnight);
}

.player-controls {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

audio { width: 100%; border-radius: 8px; }

.audio-status {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.preview-stale {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 8px 14px;
  text-align: center;
  line-height: 1.3;
}

.preview-picker {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-picker-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--gold-deep);
  text-align: center;
}

.preview-picker-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.preview-chip {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 10px 8px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1.25;
  min-width: 0;
}

.preview-chip:hover {
  border-color: var(--gold-light);
  color: var(--midnight);
}

.preview-chip.selected {
  border-color: var(--gold);
  background: var(--white);
  color: var(--gold-deep);
  box-shadow: 0 0 0 2px rgba(196,104,122,0.18);
}

.preview-chip-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-deep);
}

.preview-chip-meta {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.preview-chip.selected .preview-chip-meta {
  color: var(--gold-deep);
}

.purchase-card {
  background: var(--midnight);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.purchase-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(196,104,122,0.35), transparent 70%);
}

.purchase-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}

.purchase-top h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.purchase-top p {
  font-size: 12px;
  color: var(--gold-soft);
  line-height: 1.5;
  opacity: 0.85;
}

.price-tag {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.price-tag .dollar { font-size: 18px; vertical-align: top; }

/* CTAs shared */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--midnight);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  font-family: inherit;
  transition: background .18s, transform .12s, box-shadow .18s;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(44,26,20,0.16);
  position: relative;
}

.cta-btn:hover { background: var(--midnight-2); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(44,26,20,0.22); }
.cta-btn:active { transform: translateY(0); }
.cta-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.cta-btn.wide { width: 100%; }

.cta-btn.gold {
  background: var(--gold);
  color: var(--midnight);
  box-shadow: 0 6px 24px rgba(196,104,122,0.45);
}

.cta-btn.gold:hover {
  background: var(--gold-light);
  box-shadow: 0 10px 32px rgba(196,104,122,0.55);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--midnight);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s, background .15s;
}

.ghost-btn:hover { border-color: var(--midnight); background: var(--parchment-2); }
.ghost-btn.wide { width: 100%; }
.ghost-btn.on-dark {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
  background: transparent;
}
.ghost-btn.on-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

.download-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px;
  border-radius: 10px;
  transition: background .15s;
}

.download-link:hover { background: rgba(196,104,122,0.12); }

/* ── TOAST ──────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: min(420px, calc(100vw - 48px));
  background: var(--midnight);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(196,104,122,0.3);
}

#toast.show { opacity: 1; transform: translateY(0); }

/* ── RESTART MODAL ──────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(44,26,20, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn .18s ease;
}

.modal-backdrop.hidden {
  display: none;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 36px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(44,26,20,0.28), 0 4px 16px rgba(44,26,20,0.12);
  animation: modalSlideUp .2s ease;
}

@keyframes modalSlideUp {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-icon {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--gold);
  line-height: 1;
}

.modal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--midnight);
  margin-bottom: 12px;
}

.modal-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.modal-btn {
  width: 100%;
  padding: 15px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background .15s, transform .1s, box-shadow .15s;
}

.modal-btn:active { transform: scale(0.98); }

.modal-btn-confirm {
  background: var(--midnight);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(44,26,20,0.22);
}
.modal-btn-confirm:hover {
  background: #0d0f1c;
  box-shadow: 0 4px 14px rgba(44,26,20,0.3);
}

.modal-btn-cancel {
  background: var(--parchment-2, #f5f0e8);
  color: var(--midnight);
  border: 1.5px solid var(--line);
}
.modal-btn-cancel:hover {
  background: var(--parchment);
  border-color: var(--gold-soft);
}

@media (min-width: 480px) {
  .modal-actions { flex-direction: row; }
  .modal-btn { flex: 1; }
}

@media (max-width: 479px) {
  .modal-card { padding: 32px 24px 28px; }
  .modal-title { font-size: 22px; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 50px 36px 70px; }
  .hero-right { min-height: auto; }
  .hero-note { left: -10px; top: -10px; }
  .hero-floater { right: 0; bottom: -10px; }
  .how-grid, .examples-grid, .stories-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card { grid-template-columns: 1fr; text-align: center; gap: 28px; padding: 36px; }
  .pricing-features { text-align: left; }
  .lp-header { padding: 18px 28px; }
  .how, .examples, .stories, .pricing, .faq, .final-cta { padding-left: 36px; padding-right: 36px; }
  .occasion-strip { padding: 22px 36px; }
}

@media (max-width: 760px) {
  .lp-header-nav { display: none; }
  .lp-header { padding: 16px 22px; }
  .hero { padding: 36px 22px 60px; }
  .hero-title { font-size: clamp(40px, 12vw, 60px); }
  .hero-start-row { flex-direction: column; gap: 10px; }
  .hero-start-btn { padding: 14px 20px; justify-content: center; }
  .hero-note, .hero-floater { display: none; }
  .how-grid, .examples-grid, .stories-grid { grid-template-columns: 1fr; }
  .how, .examples, .stories, .pricing, .faq, .final-cta { padding: 70px 22px; }
  .occasion-strip { padding: 22px; flex-direction: column; gap: 10px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .lp-footer { padding: 50px 22px 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .studio-body { grid-template-columns: 1fr; padding: 22px 18px; }
  .studio-page .wiz-header {
    height: auto;
    min-height: 96px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .studio-page .studio-status-badge {
    order: 3;
    flex: 0 0 100%;
    max-width: none;
  }
  .studio-page .wiz-close {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .studio-header-actions {
    margin-left: auto;
    gap: 8px;
  }
  .studio-back-btn {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .studio-page .studio-body { margin-top: 104px; }
  .studio-player { position: static; }
  .studio-section-head { flex-direction: column; }
  .studio-section-head h2 { font-size: 29px; }
  .generation-counters {
    display: grid;
    grid-template-columns: 1fr;
  }
  .generation-counters span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .studio-editor-actions { grid-template-columns: 1fr; }
  .save-status { text-align: center; }
  .option-grid { grid-template-columns: 1fr; }
  .wiz-header { padding: 0 18px; gap: 12px; }
  .wiz-step-label, .wiz-pct { display: none; }
  .wiz-footer { padding: 14px 18px; }
}

@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
  .studio-page .wiz-close { max-width: 108px; }
  .studio-back-btn { max-width: 112px; }
  .studio-section-head h2 { font-size: 29px; }
  .thank-you-page { padding-inline: 14px; }
  .ty-main { margin-top: 12px; }
  .ty-heading { font-size: 32px; }
  .ty-sub { font-size: 15px; margin-bottom: 24px; }
  .ty-player-shell { border-radius: 34px; padding: 8px; }
  .ty-player-screen { border-radius: 26px; padding: 18px 18px 22px; }
  .ty-album-art { width: min(100%, 248px); border-radius: 22px; }
  .ty-title { font-size: 30px; }
  .ty-waveform { gap: 4px; height: 68px; }
  .generation-counters {
    display: grid;
    grid-template-columns: 1fr;
  }
  .generation-counters span {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .studio-page .studio-body {
    width: min(100vw, 390px);
    max-width: min(100vw, 390px);
    margin-left: 0;
    margin-right: 0;
  }
}
