/* Songsmitten. One memorable object (the cassette with their name on it),
   quiet type on blush paper everywhere else. Mobile first. */
:root {
  --plum: #2b1830;
  --plum-soft: #4a3350;
  --paper: #fff6f3;
  --white: #ffffff;
  --cherry: #d61f3a;
  --cherry-deep: #ad152c;
  --marigold: #f5b82e;
  --spruce: #17544e;
  --line: #ebd9d5;
  --muted: #6b5560;
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --hand: 'Caveat Brush', 'Bradley Hand', 'Segoe Print', 'Comic Sans MS', cursive;
  --radius: 18px;
  --wrap: 1060px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--plum);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img,
svg,
video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 10.5vw, 4.4rem);
}
h2 {
  font-size: clamp(1.75rem, 6vw, 2.5rem);
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
p {
  margin: 0 0 1em;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 640px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.875rem;
}
.center {
  text-align: center;
}
.hidden,
[hidden] {
  display: none !important;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- header and footer ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 6px;
}
.brand {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.brand i {
  font-style: normal;
  color: var(--cherry);
}
.top nav a {
  font-size: 0.95rem;
  text-decoration: none;
  margin-left: 18px;
  font-weight: 600;
}
.top nav a:hover {
  text-decoration: underline;
}
.foot {
  margin-top: 72px;
  padding: 28px 0 110px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.foot a {
  margin-right: 16px;
}
.foot p {
  margin: 10px 0 0;
}

/* ---------- buttons and chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--cherry);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--cherry-deep);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--cherry-deep);
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn.block {
  display: flex;
  width: 100%;
}
.btn.quiet {
  background: var(--white);
  color: var(--plum);
  box-shadow: inset 0 0 0 2px var(--plum);
}
.btn.dark {
  background: var(--plum);
  box-shadow: 0 3px 0 #150b18;
}
.btn.small {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 0.95rem;
}
.linkbtn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
.chips label {
  position: relative;
  cursor: pointer;
}
.chips input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-weight: 600;
  user-select: none;
}
.chips input:checked + span {
  background: var(--plum);
  color: #fff;
  box-shadow: none;
}
.chips input:focus-visible + span {
  outline: 3px solid var(--marigold);
  outline-offset: 3px;
}

/* ---------- inputs ---------- */
.field {
  margin: 0 0 14px;
}
.field label,
.label {
  display: block;
  font-weight: 700;
  margin: 0 0 6px;
}
.input,
textarea.input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--plum);
  font: inherit;
  font-size: 1.05rem;
}
.input:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(245, 184, 46, 0.55);
}
.input::placeholder {
  color: #a8959d;
}
.error {
  color: var(--cherry-deep);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 8px 0 0;
}
.notice {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-left: 6px solid var(--marigold);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 18px;
}

/* ---------- the cassette ---------- */
.tape {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 360 / 228;
  margin: 0 auto;
  filter: drop-shadow(0 14px 0 rgba(43, 24, 48, 0.12));
}
.tape svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.tape-label {
  position: absolute;
  left: 11%;
  right: 11%;
  top: 12.5%;
  height: 27%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4%;
}
.tape-label .for {
  font-size: clamp(0.7rem, 2.6vw, 0.85rem);
  font-weight: 700;
  color: var(--muted);
  flex: none;
}
.tape-name,
input.tape-name {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  border-bottom: 2px dashed #cdb9b4;
  background: transparent;
  color: var(--plum);
  font-family: var(--hand);
  font-size: clamp(1.7rem, 8.4vw, 2.5rem);
  line-height: 1;
  padding: 0 2px 2px;
  border-radius: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
input.tape-name:focus {
  outline: none;
  border-bottom-color: var(--cherry);
}
input.tape-name::placeholder {
  color: #c3aeb2;
}
div.tape-name {
  border-bottom-style: solid;
  border-bottom-color: transparent;
}
.tape .reel {
  transform-box: fill-box;
  transform-origin: center;
}
.tape.is-playing .reel {
  animation: spin 2.4s linear infinite;
}
.tape.mini {
  max-width: 190px;
  filter: drop-shadow(0 7px 0 rgba(43, 24, 48, 0.12));
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- home ---------- */
.hero {
  padding: 26px 0 8px;
  display: grid;
  gap: 28px;
}
.hero .lede {
  font-size: 1.2rem;
  line-height: 1.45;
  margin: 16px 0 0;
  max-width: 30ch;
}
.builder {
  background: transparent;
}
.promise {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.98rem;
  color: var(--muted);
}
.promise b {
  color: var(--plum);
  display: block;
}
.steps-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.steps-bar .track {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: var(--line);
  overflow: hidden;
}
.steps-bar .fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--cherry);
  border-radius: 6px;
  transition: width 0.25s ease;
}
.step h2 {
  margin: 0 0 6px;
}
.step .hint {
  color: var(--muted);
  margin: 0 0 18px;
}
.step .group {
  margin: 0 0 22px;
}
.step-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}
.step-nav .btn {
  flex: 1;
}
.js .step {
  display: none;
}
.js .step.is-active {
  display: block;
}
.js .wizard-only-nojs {
  display: none;
}
.memory {
  position: relative;
  margin: 0 0 10px;
}
.section {
  padding: 64px 0 0;
}
.section > h2 {
  margin-bottom: 22px;
}
.how {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  counter-reset: how;
}
.how li {
  counter-increment: how;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}
.how li::before {
  content: counter(how);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--plum);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
}
.how h3 {
  margin: 8px 0 4px;
}
.how p {
  margin: 0;
  color: var(--muted);
}
.plans {
  display: grid;
  gap: 16px;
}
.plan {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.plan .price {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 6px 0 12px;
}
.plan ul,
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}
.plan li,
.ticks li {
  padding: 5px 0 5px 28px;
  position: relative;
}
.plan li::before,
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--spruce);
  border-bottom: 3px solid var(--spruce);
  transform: rotate(-45deg);
}
.qa details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.qa details:first-of-type {
  border-top: 1px solid var(--line);
}
.qa summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 34px 16px 0;
  position: relative;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--cherry);
}
.qa details[open] summary::after {
  content: '\2212';
}
.qa details p {
  margin: 0 0 16px;
  color: var(--plum-soft);
  max-width: 62ch;
}

/* ---------- tracks and players ---------- */
.tracks {
  display: grid;
  gap: 12px;
}
.player {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px 14px 14px;
}
.player .play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: var(--cherry);
  box-shadow: 0 3px 0 var(--cherry-deep);
  cursor: pointer;
  position: relative;
}
.player .play::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 17px;
  border-style: solid;
  border-width: 11px 0 11px 17px;
  border-color: transparent transparent transparent #fff;
}
.player.is-playing .play::before {
  left: 19px;
  top: 18px;
  width: 6px;
  height: 20px;
  border: 0;
  border-left: 6px solid #fff;
  border-right: 6px solid #fff;
  box-sizing: content-box;
}
.player .meta {
  min-width: 0;
}
.player .title {
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 2px;
}
.player .sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 8px;
}
.player .bar {
  height: 8px;
  border-radius: 8px;
  background: var(--line);
  position: relative;
  cursor: pointer;
  touch-action: none;
}
.player .bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--plum);
  border-radius: 8px;
}
.player .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.player.big {
  grid-template-columns: 72px 1fr;
  padding: 18px;
}
.player.big .play {
  width: 72px;
  height: 72px;
}
.player.big .play::before {
  left: 29px;
  top: 23px;
  border-width: 13px 0 13px 20px;
}
.player.big.is-playing .play::before {
  left: 25px;
  top: 24px;
  height: 24px;
  border-width: 0 7px;
}

/* ---------- lyrics ---------- */
.lyrics {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 10px;
}
.lyrics h3 {
  font-family: var(--hand);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0;
  margin: 0 0 14px;
}
.lyrics .part {
  margin: 0 0 20px;
}
.lyrics .kind {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 4px;
}
.lyrics .line {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.6;
}
.lyrics mark {
  background: linear-gradient(transparent 58%, var(--marigold) 58%, var(--marigold) 92%, transparent 92%);
  color: inherit;
  font-weight: 700;
  padding: 0 2px;
}

/* ---------- preview and gift pages ---------- */
.stage {
  padding: 18px 0 0;
  display: grid;
  gap: 22px;
}
.stage h1 {
  font-size: clamp(2rem, 8.4vw, 3.2rem);
}
.waitlist {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.waitlist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-weight: 600;
  color: #b3a1a8;
}
.waitlist li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid currentColor;
  flex: none;
}
.waitlist li.done {
  color: var(--spruce);
}
.waitlist li.done::before {
  background: var(--spruce);
  border-color: var(--spruce);
}
.waitlist li.now {
  color: var(--plum);
}
.waitlist li.now::before {
  border-color: var(--cherry);
  border-top-color: transparent;
  animation: spin 0.9s linear infinite;
}
.offer {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 12px;
}
.offer h2 {
  font-size: 1.6rem;
}
.stickybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 246, 243, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.stickybar .btn {
  width: 100%;
}
.panel {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.panel h2 {
  font-size: 1.5rem;
  margin: 0 0 8px;
}
.sharebox {
  display: flex;
  gap: 8px;
}
.sharebox .input {
  min-height: 48px;
  font-size: 0.95rem;
}
.photos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.photos .ph {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  border: 1.5px dashed var(--line);
}
.photos .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photos .ph button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: rgba(43, 24, 48, 0.8);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
video.clip {
  width: 100%;
  max-width: 320px;
  border-radius: 14px;
  background: #000;
  margin: 10px 0;
}
.pending {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 600;
}
.pending::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--cherry);
  border-top-color: transparent;
  animation: spin 0.9s linear infinite;
  flex: none;
}

/* ---------- text pages ---------- */
.prose {
  padding: 26px 0 0;
}
.prose h1 {
  font-size: clamp(2.1rem, 8vw, 3.2rem);
  margin-bottom: 18px;
}
.prose h2 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 34px 0 8px;
}
.prose p,
.prose li {
  max-width: 68ch;
}
.prose ul {
  padding-left: 20px;
}

@media (min-width: 860px) {
  body {
    font-size: 18px;
  }
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
    padding: 56px 0 24px;
  }
  .hero.is-building {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }
  .plans {
    grid-template-columns: 1fr 1fr;
  }
  .how {
    grid-template-columns: repeat(3, 1fr);
  }
  .how li {
    grid-template-columns: 1fr;
  }
  .tracks.cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .stage {
    max-width: 640px;
    margin: 0 auto;
  }
  .stickybar {
    display: none;
  }
  .foot {
    padding-bottom: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
