/* Cántale Hoy, v1.1
   White space, one color (bugambilia pink) and one bold element: the cover, where the
   recipient's name is set large on a pink-to-wine gradient, like an album cover.
   Display: Bricolage Grotesque. Text: Figtree. */
:root {
  --ink: #1e1420;
  --muted: #6e6270;
  --line: #ece4e8;
  --mist: #f8f4f6;
  --white: #ffffff;
  --accent: #d41f6b;
  --accent-press: #b3175a;
  --tint: #fcebf2;
  --wine: #5e0e33;
  --ok: #157a50;
  --ok-tint: #e4f4ec;
  --danger: #b3261e;
  --whatsapp: #0f7f43;
  --cover:
    radial-gradient(110% 80% at 12% 0%, rgba(255, 112, 160, 0.9) 0%, rgba(255, 112, 160, 0) 62%),
    linear-gradient(160deg, #e2357b 0%, #b0185a 52%, #5e0e33 100%);
  --cover-shadow: 0 28px 50px -26px rgba(94, 14, 51, 0.55);
  --r-cover: 26px;
  --r-panel: 20px;
  --r-field: 14px;
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --text: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.55 var(--text); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.03; letter-spacing: -0.028em; margin: 0 0 0.45em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 10.5vw, 4.5rem); }
h2 { font-size: clamp(1.85rem, 6.8vw, 2.75rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.012em; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 600px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.muted { color: var(--muted); }
.fineprint { font-size: 0.9rem; color: var(--muted); }

/* ---------- header / footer ---------- */
.site-header { padding: 14px 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font: 800 1.3rem/1 var(--display); letter-spacing: -0.025em; text-decoration: none; color: var(--ink); }
.wordmark::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--cover); }
.wordmark.small { font-size: 1.1rem; }
.header-link { font-weight: 500; font-size: 0.95rem; text-decoration: none; color: var(--muted); padding: 10px 0; }
.header-link:hover { color: var(--ink); }
.site-footer { margin-top: 72px; padding: 36px 0 44px; background: var(--mist); font-size: 0.95rem; color: var(--muted); }
.footer-grid { display: grid; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.langs { margin: 0; display: flex; gap: 12px; }
.langs span[aria-current] { font-weight: 700; color: var(--ink); }
.has-sticky .site-footer { padding-bottom: 120px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent; font: 700 1.02rem/1.2 var(--text); text-decoration: none; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 10px 24px -12px rgba(212, 31, 107, 0.85); }
.btn-primary:hover { background: var(--accent-press); }
.btn-primary[disabled] { opacity: 0.6; cursor: progress; }
.btn-ghost { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp svg { width: 22px; height: 22px; fill: currentColor; }
.btn-block { width: 100%; }
.btn-big { min-height: 58px; font-size: 1.1rem; padding: 16px 30px; }
.link-btn { background: none; border: 0; padding: 10px 0; font: 500 1rem var(--text); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

/* ---------- checks list ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 0.18em; width: 20px; height: 20px; border-radius: 50%; background: var(--tint); }
.checks li::after { content: ''; position: absolute; left: 6px; top: calc(0.18em + 6px); width: 8px; height: 4.5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- the cover (the one bold element) ---------- */
.cover { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1; border-radius: var(--r-cover); background: var(--cover); color: var(--white); padding: 22px 22px 24px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--cover-shadow); }
/* Record grooves peeking from the corner. */
.cover::after { content: ''; position: absolute; z-index: -1; width: 115%; aspect-ratio: 1; right: -58%; top: -58%; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 8px); }
.cover-brand { position: absolute; top: 20px; left: 22px; font: 800 0.95rem/1 var(--display); letter-spacing: -0.02em; opacity: 0.9; }
.cover-for { margin: 0 0 6px; font-weight: 500; font-size: 1rem; opacity: 0.92; }
.cover-name { margin: 0; font: 800 clamp(2.7rem, 14vw, 5rem)/0.94 var(--display); letter-spacing: -0.04em; overflow-wrap: anywhere; min-height: 0.94em; transition: opacity 0.3s ease, transform 0.3s ease; }
.cover-name.long { font-size: clamp(2.1rem, 10vw, 3.6rem); }
.cover-name.swap { opacity: 0; transform: translateY(8px); }
.cover-eq { position: absolute; top: 18px; right: 20px; display: flex; gap: 3px; align-items: flex-end; height: 20px; opacity: 0; transition: opacity 0.2s ease; }
.cover-eq i { width: 4px; height: 30%; border-radius: 2px; background: var(--white); }
.is-playing .cover-eq { opacity: 1; }
.is-playing .cover-eq i { animation: bounce 0.9s ease-in-out infinite; }
.cover-eq i:nth-child(2) { animation-delay: -0.3s; }
.cover-eq i:nth-child(3) { animation-delay: -0.6s; }
.cover-eq i:nth-child(4) { animation-delay: -0.15s; }
@keyframes bounce { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* ---------- play button and player ---------- */
.play { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background-color 0.15s ease; }
.play svg { width: 20px; height: 20px; fill: currentColor; }
.play .icon-pause { display: none; }
.playing .play .icon-play { display: none; }
.playing .play .icon-pause { display: block; }
.playing .play, .play:hover { background: var(--accent); }

.player { display: grid; grid-template-columns: 58px 1fr; gap: 4px 14px; align-items: center; padding: 14px 16px 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-panel); background: var(--white); }
.player .play { width: 58px; height: 58px; background: var(--accent); grid-row: span 2; }
.player .play svg { width: 24px; height: 24px; }
.player.playing .play, .player .play:hover { background: var(--accent-press); }
.player-label { margin: 0; font-weight: 700; line-height: 1.3; }
.player-ui { display: none; }
.js .player-ui { display: block; }
.js .player audio { display: none; }
.player audio { grid-column: 1 / -1; width: 100%; }
.seek { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 22px; margin: 2px 0 0; background: transparent; cursor: pointer; --p: 0%; }
.seek::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; background: linear-gradient(var(--accent), var(--accent)) 0 / var(--p) 100% no-repeat, var(--line); }
.seek::-moz-range-track { height: 5px; border-radius: 5px; background: var(--line); }
.seek::-moz-range-progress { height: 5px; border-radius: 5px; background: var(--accent); }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5.5px; border-radius: 50%; background: var(--accent); border: 2px solid var(--white); box-shadow: 0 1px 4px rgba(30, 20, 32, 0.3); }
.seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2px solid var(--white); }
.times { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- landing ---------- */
.hero { padding: 8px 0 8px; }
.hero-grid { display: grid; gap: 40px; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 30em; margin-bottom: 26px; }
.hero-cta .btn { width: 100%; }
.hero-listen .cover { aspect-ratio: 4 / 3; }
.price-line { margin: 14px 0 0; font-size: 1rem; }
.price-line s { color: var(--muted); margin-left: 6px; }
.trust { margin-top: 22px; font-size: 0.98rem; }

.listen-title { font: 700 1.05rem/1.3 var(--text); letter-spacing: 0; margin: 26px 0 6px; }
.playlist { list-style: none; margin: 0 0 6px; padding: 0; }
.playlist li + li { border-top: 1px solid var(--line); }
.track { display: grid; grid-template-columns: 46px 1fr; gap: 2px 14px; align-items: center; padding: 12px 0; cursor: pointer; }
.track .play { grid-row: span 2; }
.track-name { margin: 0; font-weight: 700; line-height: 1.3; }
.track-desc { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.35; }
.track-bar { grid-column: 2; height: 3px; margin-top: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.track-bar span { display: block; height: 100%; width: 0; background: var(--accent); }

.landing-section { margin-top: 80px; }
.section-lead { color: var(--muted); max-width: 32em; }
.steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 28px; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.step-n { width: 48px; height: 48px; border-radius: 50%; background: var(--tint); color: var(--accent); font: 800 1.35rem/1 var(--display); display: grid; place-items: center; }
.steps h3 { margin: 4px 0 4px; }
.steps p { margin: 0; color: var(--muted); }
.occasions { margin: 30px 0 0; color: var(--muted); }

.pricing-box { background: var(--mist); border-radius: 30px; padding: 32px 24px; display: grid; gap: 26px; }
.launch-label { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--accent-press); font-weight: 700; font-size: 0.9rem; }
.big-price { margin: 0 0 6px; font: 800 clamp(3.2rem, 15vw, 4.6rem)/1 var(--display); letter-spacing: -0.04em; }
.big-price small { display: block; margin-top: 10px; font: 500 1rem var(--text); letter-spacing: 0; color: var(--muted); }
.regular-price { margin: 0; color: var(--muted); }
.pricing-box .btn { width: 100%; margin-top: 26px; }

.faq h2, .faq details { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 36em; }
.final h2 { max-width: 14em; }

.sticky-cta { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.25s ease; }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 50px; padding: 12px 18px; }
.sticky-cta p { margin: 0; flex: none; max-width: 9.5em; font-size: 0.85rem; line-height: 1.3; color: var(--muted); }
.sticky-cta strong { display: block; color: var(--ink); font-size: 1rem; }

/* ---------- builder ---------- */
.builder { padding-top: 4px; padding-bottom: 24px; max-width: 640px; }
.progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin: 4px 0 26px; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 4px; transition: width 0.3s ease; }
.step { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.js .step:not(.current) { display: none; }
legend { padding: 0; margin-bottom: 22px; }
.step-of { display: block; font-size: 0.92rem; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.step-title { display: block; font: 800 clamp(2.1rem, 9vw, 2.7rem)/1.03 var(--display); letter-spacing: -0.03em; }
.field { margin-bottom: 24px; }
.field > label, .field > .label { display: block; font-weight: 700; margin: 0 0 8px; }
.hint { font-size: 0.92rem; color: var(--muted); margin: -4px 0 10px; }
input[type=text], input[type=email], input:not([type]), textarea {
  width: 100%; font: 400 1.05rem var(--text); color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--r-field); padding: 14px 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { resize: vertical; min-height: 92px; line-height: 1.45; }
input::placeholder, textarea::placeholder { color: #a99ca6; }
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--tint); outline: none; }
.invalid input, .invalid textarea { border-color: var(--danger); }
.error { color: var(--danger); font-size: 0.92rem; margin: 8px 0 0; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips.stack { grid-template-columns: 1fr; }
.chips.three { grid-template-columns: repeat(3, 1fr); }
.chips.two { grid-template-columns: 1fr 1fr; }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.chip span { display: block; height: 100%; min-height: 52px; padding: 13px 14px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-field); transition: border-color 0.15s ease, background-color 0.15s ease; }
.chip:hover span { border-color: #d9ccd3; }
.chip strong { display: block; font-weight: 700; font-size: 0.98rem; line-height: 1.3; }
.chip small { display: block; color: var(--muted); font-size: 0.88rem; line-height: 1.35; margin-top: 2px; }
.chip span { padding-right: 34px; }
.chip input:checked + span { border-color: var(--accent); background: var(--tint); box-shadow: inset 0 0 0 1px var(--accent); }
.chip input:checked + span::after { content: ''; position: absolute; top: 15px; right: 13px; width: 9px; height: 5px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chip input:disabled + span { opacity: 0.4; cursor: not-allowed; }
.optional { margin: -8px 0 24px; }
.optional summary { display: inline-block; cursor: pointer; color: var(--accent-press); font-weight: 500; font-size: 0.95rem; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
.optional summary::-webkit-details-marker { display: none; }
.optional[open] summary { margin-bottom: 12px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.consent input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.free-note { margin-top: 18px; padding: 12px 14px; border-radius: var(--r-field); background: var(--ok-tint); color: var(--ok); font-weight: 500; }
.builder-nav { display: flex; gap: 10px; position: sticky; bottom: 0; background: rgba(255, 255, 255, 0.96); padding: 12px 0 calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.builder-nav .btn-primary { flex: 1; }
.form-error { margin-bottom: 8px; }

/* ---------- song (owner) page ---------- */
.song { padding-top: 6px; padding-bottom: 8px; max-width: 600px; }
.for-from { color: var(--muted); font-weight: 500; margin: 0 0 12px; }
.song .cover { aspect-ratio: 16 / 10; }
.song-title { font-size: clamp(1.9rem, 7.5vw, 2.5rem); margin: 22px 0 14px; }
.buy { margin-top: 18px; padding: 22px 20px; border: 1.5px solid var(--line); border-radius: var(--r-panel); }
.buy .launch-label { margin-bottom: 10px; }
.buy-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 16px; }
.buy-price strong { font: 800 2.4rem/1 var(--display); letter-spacing: -0.035em; }
.buy-price s { color: var(--muted); }
.addon { display: flex; gap: 12px; align-items: flex-start; padding: 14px; margin: 0 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-field); cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease; }
.addon input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.addon strong { display: block; line-height: 1.3; }
.addon em { font-style: normal; font-weight: 700; color: var(--accent); white-space: nowrap; }
.addon small { display: block; color: var(--muted); margin-top: 3px; font-size: 0.92rem; line-height: 1.4; }
.addon:has(input:checked) { border-color: var(--accent); background: var(--tint); }
.unlock .btn { width: 100%; }
.buy .checks { margin: 18px 0 14px; font-size: 0.98rem; }
.buy .fineprint { margin: 0; }
.regen { margin-top: 10px; }
.paid-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--ok-tint); color: var(--ok); font-weight: 700; }
.paid-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.song .player + .btn { width: 100%; margin-top: 12px; }
.panel { margin-top: 18px; padding: 22px 20px; border-radius: var(--r-panel); }
.panel h2 { font-size: 1.55rem; margin-bottom: 8px; }
.share-card { background: var(--mist); }
.share-card .btn-whatsapp { width: 100%; margin-top: 6px; }
.share-row { display: flex; gap: 8px; margin: 12px 0 0; }
.share-row input { flex: 1; min-width: 0; font-size: 0.92rem; padding: 12px 14px; }
.share-row .btn { flex: none; min-height: 48px; padding: 10px 16px; }
.upsell-card { background: var(--tint); }
.upsell-card .btn { width: 100%; }
.video-card { border: 1.5px solid var(--line); text-align: center; }
.video-card video, .gift-video video { display: block; width: 100%; max-width: 340px; aspect-ratio: 9 / 16; border-radius: 18px; background: #000; margin: 0 auto 14px; }
.video-card .btn, .gift-video .btn { width: 100%; max-width: 340px; }
.lyrics-card { margin-top: 40px; }
.lyrics-card h2 { font-size: 1.55rem; }
.lyric-block { margin-bottom: 20px; }
.lyric-block p { margin: 0; font-size: 1.08rem; line-height: 1.6; }
.lyric-block.chorus { padding-left: 14px; border-left: 3px solid var(--accent); }
.lyric-block.chorus p { font-weight: 700; }
.lyric-block.locked { display: grid; gap: 10px; padding: 6px 0; }
.blur-line { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--line), var(--mist)); }
.generating { text-align: center; padding: 48px 0 24px; }
.generating h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
.eq { display: flex; gap: 6px; justify-content: center; align-items: flex-end; height: 64px; margin-bottom: 26px; }
.eq i { width: 11px; border-radius: 6px; background: var(--accent); animation: bounce 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.3s; background: var(--wine); }
.eq i:nth-child(3) { animation-delay: -0.6s; }
.eq i:nth-child(4) { animation-delay: -0.15s; background: var(--wine); }
.eq i:nth-child(5) { animation-delay: -0.45s; }
.eq.small { height: 36px; margin-bottom: 14px; }
.eq.small i { width: 7px; }
.stages { list-style: none; padding: 0; margin: 22px auto; max-width: 320px; text-align: left; display: grid; gap: 12px; }
.stages li { padding-left: 32px; position: relative; color: var(--muted); }
.stages li::before { content: ''; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); }
.stages li.active { color: var(--ink); font-weight: 700; }
.stages li.active::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 4px, transparent 5px); }
.stages li.done::before { border-color: var(--accent); background: var(--accent); }
.generating .note { color: var(--muted); max-width: 30em; margin: 0 auto; }
.pending { color: var(--accent-press); font-weight: 500; }
.state { padding: 48px 0; }

/* ---------- gift (recipient) page ---------- */
.gift-cover { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: grid; place-content: center; gap: 40px; padding: 40px 24px; text-align: center; background: var(--cover); color: var(--white); }
.gift-cover::after { content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; width: 170vmax; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 9px); }
.gift-from { margin: 0 auto; max-width: 11em; font: 800 clamp(2.3rem, 10vw, 3.8rem)/1.02 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.gift-open { margin: 0 auto; width: 124px; height: 124px; border-radius: 50%; border: 0; background: var(--white); color: var(--accent); display: grid; place-items: center; align-content: center; gap: 2px; cursor: pointer; font: 700 1rem var(--text); box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.16), 0 0 0 28px rgba(255, 255, 255, 0.07); animation: halo 2.4s ease-in-out infinite; }
.gift-open svg { width: 40px; height: 40px; fill: currentColor; margin-left: 4px; }
@keyframes halo { 0%, 100% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.16), 0 0 0 28px rgba(255, 255, 255, 0.07); } 50% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.12), 0 0 0 40px rgba(255, 255, 255, 0.04); } }
.gift-head { position: relative; isolation: isolate; overflow: hidden; background: var(--cover); color: var(--white); padding: 56px 20px 44px; }
.gift-head::after { content: ''; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; right: -260px; top: -260px; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 8px); }
.gift-head-inner, .gift-body { max-width: 600px; margin: 0 auto; }
.gift-for { margin: 0 0 6px; font-weight: 500; opacity: 0.92; }
.gift-name { margin: 0; font-size: clamp(3.2rem, 17vw, 6rem); line-height: 0.94; letter-spacing: -0.045em; overflow-wrap: anywhere; }
.gift-body { padding: 28px 20px 0; }
.dedication { margin: 0 0 24px; padding-left: 16px; border-left: 3px solid var(--accent); font-size: 1.18rem; line-height: 1.5; }
.dedication cite { display: block; margin-top: 8px; font-style: normal; font-size: 1rem; color: var(--muted); }
.gift-video { text-align: center; margin: 26px 0 0; }
.gift-lyrics { margin-top: 36px; }
.gift-cta { margin-top: 44px; padding: 28px 22px; border-radius: var(--r-panel); background: var(--mist); text-align: center; }
.gift-cta p { font: 800 1.5rem/1.15 var(--display); letter-spacing: -0.02em; margin-bottom: 16px; }
.reveal-in { animation: reveal 0.6s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- my songs, legal, mock ---------- */
.my-songs, .legal, .mock-checkout { padding-top: 12px; padding-bottom: 8px; }
.my-songs h1, .mock-checkout h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
.login-form { display: grid; gap: 12px; }
.song-list { list-style: none; padding: 0; margin: 0 0 20px; }
.song-list li + li { border-top: 1px solid var(--line); }
.song-list a { display: grid; grid-template-columns: 52px 1fr auto; gap: 2px 14px; align-items: center; padding: 14px 0; text-decoration: none; }
.sl-thumb { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; background: var(--cover); color: var(--white); display: grid; place-items: center; font: 800 1.4rem/1 var(--display); }
.sl-name { font-weight: 700; }
.sl-meta { grid-column: 2; color: var(--muted); font-size: 0.92rem; }
.status { grid-row: 1 / span 2; grid-column: 3; font-size: 0.82rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--mist); color: var(--muted); white-space: nowrap; }
.status-paid { background: var(--ok-tint); color: var(--ok); }
.status-ready { background: var(--tint); color: var(--accent-press); }
.status-failed { background: #fbe9e7; color: var(--danger); }
.mock-box { background: var(--mist); border: 1.5px dashed var(--line); padding: 12px 14px; border-radius: var(--r-field); word-break: break-all; }
.draft-note { background: var(--mist); border-left: 3px solid var(--accent); padding: 12px 14px; font-weight: 500; border-radius: 0 var(--r-field) var(--r-field) 0; }
.legal h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
.legal h2 { font: 700 1.1rem/1.3 var(--text); letter-spacing: 0; margin-top: 1.6em; }
.mock-items { list-style: none; padding: 0; margin: 0 0 20px; }
.mock-items li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mock-items li:first-child { border-top: 1px solid var(--line); }

/* ---------- larger screens ---------- */
@media (min-width: 820px) {
  body { font-size: 18px; }
  .wrap { padding: 0 32px; }
  .site-header { padding: 22px 0; }
  .hero { padding: 24px 0 0; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: start; }
  .hero-copy { padding-top: 48px; }
  .hero-cta .btn { width: auto; }
  .hero-listen .cover { aspect-ratio: 1; }
  .song .cover { aspect-ratio: 2 / 1; }
  .landing-section { margin-top: 112px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .steps li { grid-template-columns: 1fr; gap: 14px; }
  .pricing-box { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px; }
  .pricing-box .btn { width: auto; }
  .footer-grid { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
  .chips { grid-template-columns: repeat(3, 1fr); }
  .chips.stack { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: none; }
  .has-sticky .site-footer { padding-bottom: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
