:root {
  --bg: #fff4e0;
  --paper: #ffffff;
  --ink: #2b2140;
  --soft: #6a5f85;
  --coral: #ff5a5f;
  --coral-deep: #d93d48;
  --coral-btn: #d4333f;
  --coral-btn-deep: #a3222d;
  --sun: #ffc93c;
  --teal: #12a594;
  --grape: #6c4bd8;
  --display: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink);
  background:
    radial-gradient(7px 7px at 8% 6%, var(--coral) 50%, transparent 52%),
    radial-gradient(6px 6px at 22% 14%, var(--teal) 50%, transparent 52%),
    radial-gradient(8px 8px at 78% 5%, var(--sun) 50%, transparent 52%),
    radial-gradient(6px 6px at 91% 16%, var(--grape) 50%, transparent 52%),
    radial-gradient(5px 5px at 55% 3%, var(--coral) 50%, transparent 52%),
    radial-gradient(6px 6px at 38% 9%, var(--sun) 50%, transparent 52%),
    var(--bg);
  background-size: 100% 700px;
  background-position: 0 64px;
  background-repeat: no-repeat;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); letter-spacing: -0.02em; }
h1 em { font-style: normal; color: var(--coral); position: relative; white-space: nowrap; }
h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 8px; border-radius: 8px; background: var(--sun); z-index: -1; }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.3rem); text-align: center; }
p { margin: 0; }
a { color: var(--grape); }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.15rem; display: flex; gap: 8px; align-items: center; }
.brand svg { width: 28px; height: 28px; flex: none; }
.price-tag { font-size: .9rem; color: var(--soft); text-align: right; }

.brand { white-space: nowrap; }
.price-tag { white-space: nowrap; }
@media (max-width: 719px) { .pt-long { display: none; } }

.btn {
  display: inline-block; border: 0; cursor: pointer;
  font: inherit; font-family: var(--display); font-weight: 800; font-size: 1.08rem;
  color: #fff; background: var(--coral-btn);
  padding: 16px 26px; border-radius: 16px;
  box-shadow: 0 6px 0 var(--coral-btn-deep), 0 14px 26px rgba(217, 61, 72, .28);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--coral-btn-deep); }
.btn:focus-visible, input:focus-visible, .occ:focus-visible, .x:focus-visible { outline: 3px solid var(--grape); outline-offset: 3px; }

.hero { display: grid; gap: 34px; padding: 26px 0 60px; align-items: center; }
.hero .lede { font-size: 1.15rem; color: #4a3f66; margin: 18px 0 24px; max-width: 33em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cta-note { font-size: .92rem; color: var(--soft); }

.builder {
  background: var(--paper); border-radius: 26px; padding: 22px; border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink); transform: rotate(-1.2deg);
}
.builder h3 { font-size: 1.15rem; margin-bottom: 12px; }
.occasions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.occ {
  font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer;
  padding: 7px 13px; border-radius: 999px; border: 2px solid #e4dbf7; background: #faf7ff; color: var(--ink);
}
.occ[aria-pressed="true"] { background: var(--grape); border-color: var(--grape); color: #fff; }
.fields { display: grid; grid-template-columns: 1fr 96px; gap: 10px; }
.fields .wide { grid-column: 1 / -1; }
.fields label { display: block; font-size: .82rem; font-weight: 700; color: var(--soft); margin-bottom: 4px; }
.fields input {
  width: 100%; font: inherit; padding: 11px 12px; border-radius: 12px;
  border: 2px solid #e4dbf7; background: #faf7ff; color: var(--ink);
}
.lyrics {
  margin-top: 16px; padding: 18px; border-radius: 18px; background: #fff7d6;
  font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1.5; overflow-wrap: anywhere;
}
.lyrics b { color: var(--coral-deep); }
.lyrics .tag { display: block; font-family: var(--body); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #0a7568; margin-bottom: 6px; }
.lyrics span.line { display: block; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: 14px; }
.bars i { flex: 1; height: 100%; border-radius: 4px; background: var(--grape); transform-origin: bottom; transform: scaleY(.3); animation: bounce 1.1s ease-in-out infinite; }
.bars i:nth-child(3n) { background: var(--teal); animation-delay: .15s; }
.bars i:nth-child(3n+1) { background: var(--coral); animation-delay: .3s; }
.bars i:nth-child(4n) { animation-delay: .45s; }
@keyframes bounce { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

section { padding: 54px 0; }
.sub { text-align: center; color: var(--soft); margin: 10px auto 30px; max-width: 36em; }

.listen { background: var(--ink); color: #fff; border-radius: 26px; padding: 28px 22px; text-align: center; max-width: 620px; margin: 0 auto; }
.listen h2 { color: #fff; }
.listen p { color: #d9d0f2; margin: 8px 0 18px; }
.listen audio { width: 100%; }

.steps, .gets { display: grid; gap: 16px; }
.card { background: var(--paper); border-radius: 20px; padding: 22px; border: 2px solid #f0e2c4; }
.card h3 { font-size: 1.22rem; margin-bottom: 6px; }
.card p { color: #4a3f66; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 12px; color: #fff; font-family: var(--display); font-weight: 800; }
.steps .card:nth-child(1) .num { background: var(--coral); }
.steps .card:nth-child(2) .num { background: var(--teal); }
.steps .card:nth-child(3) .num { background: var(--grape); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips span { font-size: .82rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #efe9ff; color: var(--grape); }

.offers { display: grid; gap: 22px; max-width: 860px; margin: 0 auto; }
.offer {
  background: var(--paper); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--sun);
  border-radius: 26px; padding: 30px 24px; text-align: center; display: flex; flex-direction: column;
}
.offer:nth-child(2) { box-shadow: 8px 8px 0 var(--teal); }
.offer .big { font-family: var(--display); font-size: 3.4rem; font-weight: 800; line-height: 1; margin: 6px 0; color: var(--coral-deep); }
.offer ul { list-style: none; padding: 0; margin: 18px 0 24px; text-align: left; display: grid; gap: 8px; }
.offer li { padding-left: 30px; position: relative; }
.offer li::before { content: "♪"; position: absolute; left: 6px; color: var(--teal); font-weight: 800; }
.offer .btn { margin-top: auto; }

details { border-bottom: 2px solid #f0e2c4; padding: 16px 0; max-width: 720px; margin: 0 auto; }
summary { cursor: pointer; font-weight: 800; font-size: 1.08rem; }
details p { margin-top: 10px; color: #4a3f66; }

footer { padding: 34px 0 46px; text-align: center; color: var(--soft); font-size: .9rem; }

dialog {
  border: 3px solid var(--ink); border-radius: 24px; padding: 0; width: min(480px, calc(100vw - 28px));
  background: var(--paper); color: var(--ink); box-shadow: 8px 8px 0 var(--coral);
}
dialog::backdrop { background: rgba(43, 33, 64, .7); }
.panel { padding: 26px 22px 20px; position: relative; }
.panel h3 { font-size: 1.55rem; margin-bottom: 8px; padding-right: 36px; }
.panel .off { background: var(--sun); border-radius: 8px; padding: 1px 8px; font-weight: 800; white-space: nowrap; }
.panel iframe { width: 100%; height: 220px; border: 0; margin-top: 12px; }
.panel .fine { font-size: .82rem; color: var(--soft); margin-top: 8px; }
.x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 12px; border: 0; background: #f3ecff; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.dev-note { background: #ffe1e1; color: #8a1f1f; border-radius: 10px; padding: 12px; margin-top: 12px; font-weight: 700; }
[hidden] { display: none !important; }

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .gets, .offers { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 880px) {
  .hero { grid-template-columns: 1.05fr .95fr; padding-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .bars i { animation: none; transform: scaleY(.6); }
}
