:root {
  color-scheme: light;
  --cream-1: #fbf7ec;
  --cream-2: #f0e7d0;
  --paper: #f7f0df;
  --white: #fffdf8;
  --gold-1: #e7c977;
  --gold-2: #c9a14a;
  --gold-3: #8c6e2e;
  --ink: #0e0e12;
  --muted: rgba(14, 14, 18, .64);
  --soft: rgba(14, 14, 18, .46);
  --red: #d8221c;
  --red-dark: #b91818;
  --choice-selected-bg: #f3ddd7;
  --choice-selected-border: #c86f61;
  --choice-selected-text: #702e27;
  --max: #5b5fef;
  --max-2: #777af5;
  --success: #4f8051;
  --danger: #b74435;
  --line: rgba(201, 161, 74, .38);
  --line-soft: rgba(201, 161, 74, .22);
  --shadow: 0 24px 70px -38px rgba(86, 60, 16, .45);
  --shadow-card: 0 18px 44px -30px rgba(82, 55, 14, .38);
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  min-width: 0;
  margin: 0;
  background:
    radial-gradient(circle at 8% 2%, rgba(231, 201, 119, .20), transparent 28rem),
    radial-gradient(circle at 92% 20%, rgba(216, 34, 28, .055), transparent 24rem),
    linear-gradient(180deg, var(--cream-1), #fffdf8 48%, var(--cream-1));
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
button, select, .choice, summary { cursor: pointer; }
img { max-width: 100%; height: auto; }
a { color: var(--red-dark); text-underline-offset: 3px; }
.hidden { display: none !important; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }

:focus-visible {
  outline: 3px solid rgba(91, 95, 239, .55);
  outline-offset: 3px;
}

h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.025em;
}
h2 { font-size: clamp(2.15rem, 5vw, 3.85rem); line-height: 1.02; }
h3 { font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.12; }

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(251, 247, 236, .88);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 24px -15px rgba(86, 60, 16, .7);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-family: var(--serif); font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 3vw, 30px); }
.nav-links > a:not(.primary-button) { color: var(--muted); font-size: .9rem; font-weight: 650; text-decoration: none; }
.nav-links > a:not(.primary-button):hover { color: var(--red-dark); }

.primary-button, .secondary-button, .download-button {
  min-height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid transparent;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.15;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.primary-button {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 16px 32px -18px rgba(185, 24, 24, .78);
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -18px rgba(185, 24, 24, .88); }
.primary-button:active { transform: translateY(0); }
.primary-button:disabled { cursor: wait; opacity: .6; transform: none; box-shadow: none; }
.primary-button.small { min-height: 42px; padding: 10px 19px; font-size: .86rem; }
.primary-button.large { width: 100%; min-height: 64px; font-size: 1.03rem; }
.secondary-button {
  border-color: var(--line);
  background: rgba(255, 253, 248, .8);
  color: var(--ink);
}
.secondary-button:hover { border-color: var(--gold-2); background: var(--white); transform: translateY(-1px); }
.button-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-1); box-shadow: 0 0 0 5px rgba(231, 201, 119, .18); }

main { overflow: clip; }
.hero { position: relative; padding: clamp(58px, 9vw, 118px) 0 clamp(64px, 9vw, 112px); }
.hero::before {
  content: "";
  position: absolute;
  width: min(48vw, 660px);
  aspect-ratio: 1;
  right: -18vw;
  top: -18%;
  border: 1px solid rgba(201, 161, 74, .18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 80px rgba(231, 201, 119, .045), inset 0 0 0 160px rgba(231, 201, 119, .035);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); align-items: center; gap: clamp(44px, 7vw, 88px); }
.hero-copy-wrap { position: relative; z-index: 2; }
.eyebrow, .section-kicker, .waiting-example-kicker {
  display: block;
  margin: 0 0 14px;
  color: var(--gold-3);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1 { max-width: 730px; margin: 0; font-size: clamp(3.25rem, 7vw, 6.5rem); line-height: .91; }
h1 em { display: block; color: var(--red); font-style: italic; font-weight: 500; }
.hero-copy { max-width: 660px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.24rem); line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin: 18px 0 0; color: var(--soft); font-size: .87rem; }

.gift-stage { min-height: 500px; position: relative; display: grid; place-items: center; isolation: isolate; }
.gift-halo {
  position: absolute;
  z-index: -1;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 201, 119, .32), rgba(240, 231, 208, .32) 45%, transparent 70%);
}
.gift-frame {
  width: min(100%, 455px);
  aspect-ratio: 1;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 46% 46% 49% 46% / 44% 47% 45% 50%;
  background: rgba(255, 253, 248, .72);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.gift-frame img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 22px rgba(80, 48, 12, .14)); }
.floating-label {
  position: absolute;
  z-index: 3;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 14px 35px -24px rgba(86, 60, 16, .72);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
}
.label-one { left: -4%; top: 18%; transform: rotate(-5deg); }
.label-two { right: -5%; bottom: 15%; transform: rotate(4deg); }

.proof { position: relative; z-index: 3; border-block: 1px solid var(--line-soft); background: rgba(247, 240, 223, .68); }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-item { min-height: 116px; display: flex; flex-direction: column; justify-content: center; padding: 22px clamp(18px, 4vw, 40px); border-left: 1px solid var(--line-soft); }
.proof-item:last-child { border-right: 1px solid var(--line-soft); }
.proof-item strong { font-family: var(--serif); font-size: 1.2rem; }
.proof-item span { margin-top: 5px; color: var(--muted); font-size: .8rem; line-height: 1.45; }

.section { padding: clamp(76px, 10vw, 126px) 0; }
.section-alt { border-block: 1px solid var(--line-soft); background: rgba(240, 231, 208, .42); }
.section-head { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-head h2 { margin-bottom: 17px; }
.section-head > p { margin: 0 auto; color: var(--muted); font-size: 1.03rem; line-height: 1.68; }
.builder-section { position: relative; }
.builder-shell { width: min(calc(100% - 40px), 980px); margin-inline: auto; }
.builder-intro { margin-bottom: 38px; }
.song-form { display: grid; gap: 22px; }
.card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 248, .92);
  box-shadow: var(--shadow-card);
}
.form-step { padding: clamp(26px, 5vw, 48px); }
.step-heading { display: flex; align-items: center; gap: 17px; margin-bottom: 32px; }
.step-number {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--gold-3);
  font-family: var(--serif);
  font-weight: 700;
}
.step-heading p { margin: 0 0 2px; color: var(--gold-3); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.step-heading h3 { margin: 0; }

.field-grid { display: grid; gap: 18px; }
.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid.three { grid-template-columns: 1.1fr 1fr .68fr; }
.identity-grid { align-items: start; }
.identity-grid > label { margin-top: 0; }
.field-grid + .field-grid, .field-grid + label, label + label, fieldset + fieldset, label + fieldset,
.choice-group + .field-grid, .field-grid + .choice-group { margin-top: 23px; }
label > span, legend { display: block; margin-bottom: 9px; color: var(--ink); font-size: .9rem; font-weight: 750; }
small { color: var(--soft); font-weight: 500; }
input, textarea, select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  padding: 13px 15px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
textarea { min-height: 175px; resize: vertical; line-height: 1.58; }
input:focus, textarea:focus, select:focus { border-color: var(--gold-2); background: #fff; box-shadow: 0 0 0 4px rgba(201, 161, 74, .15); }
input::placeholder, textarea::placeholder { color: rgba(14, 14, 18, .36); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice-group legend { margin-bottom: 13px; }
.field-note { margin: 8px 2px 0; color: var(--soft); font-size: .76rem; font-weight: 500; }
.field-note b { color: var(--muted); }
.privacy-hint { margin: 18px 0 0; padding: 13px 15px; border: 1px solid var(--line-soft); border-radius: 13px; background: var(--paper); color: var(--muted); font-size: .8rem; line-height: 1.55; }

.choice-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.choice { position: relative; min-width: 0; max-width: 100%; margin: 0; flex: 0 0 auto; }
.choice input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.choice span {
  min-height: 48px;
  margin: 0;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, .96);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.15;
  box-shadow: 0 11px 24px -22px rgba(86, 60, 16, .65);
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.choice:hover span { border-color: var(--gold-2); background: var(--paper); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(91, 95, 239, .18); }
.choice input:checked + span { border-color: var(--choice-selected-border); background: var(--choice-selected-bg); color: var(--choice-selected-text); box-shadow: 0 12px 24px -18px rgba(183, 68, 53, .55); }
.occasion-grid .choice:nth-child(4n + 2) span,
.role-grid .choice:nth-child(4n + 3) span,
.moods .choice:nth-child(3n + 2) span,
.genres .choice:nth-child(4n + 4) span { border-color: rgba(216, 34, 28, .18); }
.occasion-grid .choice:nth-child(4n + 2) input:checked + span,
.role-grid .choice:nth-child(4n + 3) input:checked + span,
.moods .choice:nth-child(3n + 2) input:checked + span,
.genres .choice:nth-child(4n + 4) input:checked + span { border-color: var(--choice-selected-border); }
.included-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-bottom: 24px; }
.included-list span { padding: 13px 15px 13px 39px; border: 1px solid var(--line-soft); border-radius: 13px; background: var(--paper); color: var(--muted); font-size: .85rem; font-weight: 700; position: relative; }
.included-list span::before { content: "✓"; position: absolute; left: 15px; color: var(--success); font-weight: 900; }
.consent { display: flex; align-items: flex-start; gap: 11px; }
.consent input { width: 20px; height: 20px; min-height: 0; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--red); }
.consent > span { margin: 0; color: var(--muted); font-size: .81rem; line-height: 1.55; font-weight: 500; }
.final-step .primary-button { margin-top: 23px; }
.submit-note, .secure-note { margin: 13px 0 0; text-align: center; color: var(--soft); font-size: .76rem; line-height: 1.5; }
.error-box { margin: 16px 0 0; padding: 13px 15px; border: 1px solid rgba(183, 68, 53, .32); border-radius: 13px; background: #fff0ed; color: var(--danger); font-size: .85rem; line-height: 1.48; }
.limit-notice {
  margin: 18px 0 0;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(91, 95, 239, .28);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(91, 95, 239, .09), rgba(255, 253, 248, .98));
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 15px;
  box-shadow: 0 18px 40px -30px rgba(58, 61, 189, .7);
}
.limit-notice:focus { outline: none; }
.limit-notice-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--max), var(--max-2));
  color: #fff;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 800;
}
.limit-notice-copy { min-width: 0; }
.limit-notice-copy strong { display: block; color: var(--ink); font-size: 1rem; }
.limit-notice-copy p { margin: 6px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.max-button {
  width: fit-content;
  max-width: 100%;
  min-height: 50px;
  margin-top: 15px;
  padding: 12px 19px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--max), var(--max-2));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 15px 30px -20px rgba(58, 61, 189, .9);
}
.max-button:hover { transform: translateY(-1px); }

.progress-card { width: min(calc(100% - 40px), 800px); margin: 50px auto 100px; padding: clamp(32px, 6vw, 58px); text-align: center; }
.pulse-note { width: 76px; height: 76px; margin: 0 auto 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--red); font-family: var(--serif); font-size: 2rem; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(231, 201, 119, .13); } }
.progress-card h2 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); }
#progress-copy { color: var(--muted); }
.progress-track { height: 9px; margin: 28px 0 22px; overflow: hidden; border-radius: 999px; background: var(--cream-2); }
.progress-track span { display: block; width: 8%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), var(--red)); transition: width .8s ease; }
.progress-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.progress-steps li { color: var(--soft); font-size: .71rem; line-height: 1.4; }
.progress-steps li.active { color: var(--gold-3); font-weight: 800; }
.progress-failure-actions { display: flex; justify-content: center; margin-top: 24px; }
.progress-failure-actions .secondary-button { min-width: min(100%, 250px); }
.progress-card.failed .pulse-note { animation: none; border-color: rgba(183, 68, 53, .32); background: #fff0ed; color: var(--danger); }
.progress-card.failed .progress-track span { background: var(--danger); }
.progress-card.failed .progress-steps li { color: var(--soft); font-weight: 500; }
.waiting-example { margin-top: 30px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); text-align: left; }
.waiting-example-copy { margin-bottom: 15px; }
.waiting-example-kicker { margin-bottom: 4px; }
.waiting-example strong { display: block; font-family: var(--serif); font-size: 1.12rem; }
.waiting-example p { margin: 6px 0 0; color: var(--soft); font-size: .76rem; line-height: 1.45; }
.brand-audio-player {
  --audio-progress: 0%;
  position: relative;
  display: grid;
  grid-template-columns: 72px 58px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-width: 0;
  padding: 15px;
  overflow: hidden;
  border: 1px solid rgba(140, 110, 46, .2);
  border-radius: 20px;
  background: rgba(255, 253, 248, .88);
  box-shadow: 0 18px 40px -32px rgba(67, 42, 7, .72);
}
.brand-audio-player::after { content: ""; position: absolute; top: -84px; right: -72px; width: 150px; height: 150px; border: 1px solid rgba(201, 161, 74, .16); border-radius: 50%; pointer-events: none; }
.brand-audio-artwork { position: relative; z-index: 1; width: 72px; height: 72px; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(201, 161, 74, .3); border-radius: 17px; background: var(--paper); }
.brand-audio-artwork img { width: 100%; height: 100%; object-fit: cover; }
.brand-audio-toggle { position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #171612; color: #f4bb59; box-shadow: 0 14px 26px -17px rgba(14, 14, 18, .9); transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.brand-audio-toggle:hover { transform: translateY(-1px); background: #29251d; box-shadow: 0 17px 28px -16px rgba(14, 14, 18, .95); }
.brand-audio-toggle:active { transform: scale(.97); }
.brand-audio-toggle:disabled { cursor: not-allowed; opacity: .52; transform: none; }
.brand-audio-icon { display: block; font-size: 1.03rem; line-height: 1; }
.brand-audio-icon-play { margin-left: 3px; }
.brand-audio-icon-pause { display: none; font-size: .88rem; letter-spacing: -2px; }
.brand-audio-player.is-playing .brand-audio-icon-play { display: none; }
.brand-audio-player.is-playing .brand-audio-icon-pause { display: block; }
.brand-audio-player.is-playing .brand-audio-toggle { background: var(--red-dark); color: #fff8e8; }
.brand-audio-player.is-loading .brand-audio-toggle { animation: audio-loading 1s ease-in-out infinite alternate; }
@keyframes audio-loading { to { box-shadow: 0 0 0 8px rgba(201, 161, 74, .18); } }
.brand-audio-body { position: relative; z-index: 1; min-width: 0; }
.brand-audio-seek {
  --audio-progress: 0%;
  width: 100%;
  height: 22px;
  min-height: 22px;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 999px;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, #e07b45 0, #e07b45 var(--audio-progress), rgba(140, 110, 46, .18) var(--audio-progress), rgba(140, 110, 46, .18) 100%);
  background-clip: content-box;
  cursor: pointer;
}
.brand-audio-seek::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: transparent; }
.brand-audio-seek::-webkit-slider-thumb { width: 17px; height: 17px; margin-top: -5.5px; border: 4px solid #fffaf0; border-radius: 50%; appearance: none; -webkit-appearance: none; background: #e07b45; box-shadow: 0 2px 9px rgba(67, 42, 7, .28); }
.brand-audio-seek::-moz-range-track { height: 6px; border: 0; border-radius: 999px; background: rgba(140, 110, 46, .18); }
.brand-audio-seek::-moz-range-progress { height: 6px; border-radius: 999px; background: #e07b45; }
.brand-audio-seek::-moz-range-thumb { width: 11px; height: 11px; border: 3px solid #fffaf0; border-radius: 50%; background: #e07b45; box-shadow: 0 2px 9px rgba(67, 42, 7, .28); }
.brand-audio-seek:disabled { cursor: wait; opacity: .62; }
.brand-audio-meta { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 1px; color: var(--soft); font-size: .78rem; }
.brand-audio-time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.brand-audio-badge { overflow: hidden; color: var(--gold-3); font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.brand-audio-status { display: block; min-height: 1.2em; margin-top: 4px; overflow: hidden; color: var(--soft); font-size: .68rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.brand-audio-player.has-error .brand-audio-status { color: var(--danger); white-space: normal; }
.brand-audio-player audio { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.order-safe { margin: 26px 0 0; color: var(--soft); font-size: .75rem; }

.result-section { width: min(calc(100% - 40px), 980px); margin: 50px auto 100px; }
.result-heading { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.result-heading h2 { margin-bottom: 13px; }
.result-heading > p:last-child { color: var(--muted); line-height: 1.65; }
.players, .full-players { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.player-card, .full-player { padding: 23px; border: 1px solid var(--line); border-radius: 25px; background: var(--white); box-shadow: var(--shadow-card); }
.player-card.variant-a, .full-player.variant-a { border-color: rgba(183, 68, 53, .38); background: #f8e5e3; }
.player-card.variant-b, .full-player.variant-b { border-color: rgba(79, 128, 81, .3); background: #e5f0e3; }
.player-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 17px; font-weight: 800; }
.player-label > span:first-child { font-family: var(--serif); font-size: 1.45rem; }
.version-tag { color: var(--soft); font-size: .75rem; font-weight: 700; }
.preview-caption { margin: 13px 2px 0; color: var(--soft); font-size: .76rem; text-align: left; }
.lyrics-card { margin-top: 18px; padding: 0 24px; }
.lyrics-card summary { padding: 20px 0; font-weight: 800; }
.lyrics-card pre { margin: 0 0 25px; white-space: pre-wrap; color: var(--muted); font: 500 .91rem/1.72 var(--sans); }

.checkout-card { margin-top: 24px; padding: clamp(27px, 5vw, 48px); border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(135deg, var(--paper), rgba(231, 201, 119, .25)); box-shadow: var(--shadow); }
.checkout-copy { display: flex; gap: 17px; align-items: flex-start; }
.checkout-copy h3, .delivery-card h3 { margin: 0 0 8px; }
.checkout-copy p:last-child, .delivery-card > p { margin: 0; color: var(--muted); line-height: 1.58; }
.unlock-icon { width: 55px; height: 55px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--red); font-size: 1.35rem; font-weight: 900; }
.checkout-price { margin: 25px 0; padding: 19px 21px; border: 1px solid var(--line-soft); border-radius: 17px; background: rgba(255, 253, 248, .92); display: flex; align-items: baseline; gap: 13px; }
.checkout-price strong { font-family: var(--serif); font-size: 2.1rem; letter-spacing: -.035em; }
.checkout-price span { color: var(--soft); font-size: .8rem; }
.checkout-form { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(320px, 1.2fr); align-items: end; gap: 17px 22px; }
.checkout-form .compact-consent { align-self: center; }
.checkout-form .pay-button, .checkout-form .secure-note, .checkout-form .error-box { grid-column: 1 / -1; }
.pay-button { width: 100%; min-height: 62px; }
.payment-pending { padding: 18px; border: 1px solid var(--line-soft); border-radius: 17px; background: var(--white); display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; }
.payment-pending p { margin: 4px 0 0; color: var(--soft); font-size: .8rem; }
.pending-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.spinner { width: 29px; height: 29px; border: 3px solid var(--cream-2); border-top-color: var(--red); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.delivery-card { margin-top: 24px; padding: clamp(28px, 5vw, 48px); border: 1px solid rgba(79, 128, 81, .3); border-radius: 28px; background: #e8f1e3; text-align: center; }
.success-mark { width: 59px; height: 59px; margin: 0 auto 17px; display: grid; place-items: center; border-radius: 50%; background: var(--success); color: #fff; font-size: 1.8rem; font-weight: 900; }
.full-players { margin-top: 25px; text-align: left; }
.download-button { width: 100%; min-height: 49px; margin-top: 14px; border-color: var(--success); border-radius: 999px; background: var(--success); color: #fff; }
.download-button:hover { background: #3f6e41; transform: translateY(-1px); }
.result-actions { margin-top: 22px; text-align: center; }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.process-grid article { min-height: 240px; padding: 26px; border: 1px solid var(--line); border-radius: 23px; background: var(--white); box-shadow: var(--shadow-card); }
.process-grid article > span { color: var(--gold-2); font-family: var(--serif); font-size: 1rem; font-weight: 700; }
.process-grid h3 { margin: 62px 0 10px; font-size: 1.48rem; }
.process-grid p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.occasion-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; max-width: 960px; margin: 0 auto; }
.occasion-list span { padding: 13px 19px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted); font-size: .88rem; font-weight: 700; box-shadow: 0 10px 30px -24px rgba(86, 60, 16, .52); }
.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 48px 24px 0; list-style: none; font-family: var(--serif); font-size: 1.16rem; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 21px; color: var(--red); font-family: var(--sans); font-size: 1.4rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 720px; margin: -4px 0 24px; color: var(--muted); line-height: 1.65; }

.final-cta { padding: clamp(72px, 10vw, 120px) 0; }
.final-card { padding: clamp(46px, 8vw, 84px); border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(145deg, var(--paper), rgba(231, 201, 119, .32)); box-shadow: var(--shadow); text-align: center; }
.final-card h2 { max-width: 760px; margin: 0 auto 16px; }
.final-card p { max-width: 650px; margin: 0 auto 26px; color: var(--muted); line-height: 1.65; }

footer { border-top: 1px solid var(--line-soft); background: rgba(240, 231, 208, .32); }
.footer-inner { min-height: 126px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 26px; color: var(--soft); font-size: .77rem; }
.footer-brand { font-size: .91rem; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-copy { text-align: center; }
footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 15px; }
footer nav a { color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--red-dark); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 34px; }
  .gift-stage { min-height: 420px; }
  .field-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-grid.three label:last-child { grid-column: 1 / -1; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid article { min-height: 210px; }
  .checkout-form { grid-template-columns: 1fr; }
  .checkout-form .pay-button, .checkout-form .secure-note, .checkout-form .error-box { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-copy { grid-column: 1 / -1; grid-row: 2; padding-bottom: 25px; text-align: left; }
}

@media (max-width: 700px) {
  .container, .builder-shell, .result-section, .progress-card { width: min(calc(100% - 24px), 100%); }
  html { scroll-padding-top: 72px; }
  .nav { min-height: 66px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-name { font-size: 1rem; }
  .nav-links > a:not(.primary-button) { display: none; }
  .nav-links .small { min-height: 40px; padding-inline: 16px; }
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy-wrap, .gift-stage { min-width: 0; width: 100%; }
  h1 { max-width: 100%; font-size: clamp(2rem, 11.8vw, 4.65rem); }
  .hero-copy { margin-top: 22px; font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions a { width: 100%; max-width: 100%; }
  .hero-note { font-size: .78rem; }
  .gift-stage { min-height: 340px; }
  .gift-frame { width: min(90vw, 350px); border-radius: 40px; }
  .floating-label { padding: 9px 13px; font-size: .72rem; }
  .label-one { left: 0; }
  .label-two { right: 0; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { min-height: 90px; border-left: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
  .proof-item:last-child { border-bottom: 0; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head > p { font-size: .95rem; }
  .form-step { padding: 25px 18px; border-radius: 22px; }
  .step-heading { align-items: flex-start; margin-bottom: 27px; }
  .step-number { width: 46px; height: 46px; }
  .field-grid.two, .field-grid.three { grid-template-columns: 1fr; }
  .field-grid.three label:last-child { grid-column: auto; }
  .included-list { grid-template-columns: 1fr; }
  .limit-notice { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 17px 14px; }
  .limit-notice-icon { width: 42px; height: 42px; }
  .max-button { width: 100%; }
  .progress-card { margin-block: 30px 80px; padding: 28px 18px; border-radius: 22px; }
  .progress-steps { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .waiting-example { padding: 17px; }
  .brand-audio-player { grid-template-columns: 58px 50px minmax(0, 1fr); gap: 10px; padding: 12px; border-radius: 17px; }
  .brand-audio-artwork { width: 58px; height: 58px; border-radius: 14px; }
  .brand-audio-toggle { width: 50px; height: 50px; }
  .brand-audio-meta { align-items: flex-start; flex-direction: column; gap: 2px; }
  .brand-audio-status { margin-top: 3px; }
  .result-section { margin-block: 30px 80px; }
  .players, .full-players { grid-template-columns: 1fr; }
  .checkout-card, .delivery-card { padding: 25px 18px; border-radius: 22px; }
  .checkout-copy { display: block; }
  .unlock-icon { margin-bottom: 16px; }
  .checkout-price { align-items: flex-start; flex-direction: column; gap: 2px; }
  .payment-pending { grid-template-columns: auto 1fr; }
  .pending-actions { grid-column: 1 / -1; justify-content: stretch; }
  .pending-actions button { flex: 1 1 auto; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: auto; }
  .process-grid h3 { margin-top: 36px; }
  .occasion-list { justify-content: flex-start; }
  .faq-list summary { font-size: 1.06rem; }
  .final-card { width: min(calc(100% - 24px), 100%); padding: 44px 20px; border-radius: 24px; }
  .footer-inner { min-height: 0; padding: 32px 0; grid-template-columns: 1fr; align-items: start; gap: 18px; }
  footer nav { justify-content: flex-start; }
  .footer-copy { grid-column: auto; grid-row: auto; padding: 0; text-align: left; }
}

@media (max-width: 420px) {
  .nav-links .small { font-size: .76rem; }
  .brand-name { max-width: 98px; line-height: 1.05; }
  .choice-grid { gap: 8px; }
  .choice span { min-height: 44px; padding: 10px 13px; font-size: .8rem; }
  .gift-stage { min-height: 300px; }
  .brand-audio-player { grid-template-columns: 48px 44px minmax(0, 1fr); gap: 8px; padding: 10px; }
  .brand-audio-artwork { width: 48px; height: 48px; border-radius: 12px; }
  .brand-audio-toggle { width: 44px; height: 44px; }
  .brand-audio-badge { font-size: .6rem; }
}

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