:root {
  --ink: #211d24;
  --muted: #6d6672;
  --paper: #fffaf7;
  --shell: #f5ede8;
  --rose: #be3856;
  --coral: #ef635c;
  --teal: #007079;
  --green: #19a870;
  --line: #e6d8d1;
  --shadow: 0 24px 70px rgba(22, 13, 16, .22);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.site-header {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 64px 18px 0;
}

.brand img {
  width: 154px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .28));
}

.site-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.site-nav a,
.back-link,
.text-button {
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 150px 20px 54px;
  overflow: hidden;
  color: #fff;
  background: #160d10;
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(20, 13, 16, .72), rgba(20, 13, 16, .82) 44%, rgba(20, 13, 16, .96)), url("../img/hero-photo.webp?v=20260707g");
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  margin: 0 auto;
}

.eyebrow,
.step-kicker {
  margin: 0 0 14px;
  color: #ffb36b;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-family: Fraunces, Georgia, serif;
  font-size: 68px;
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .86);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 0;
}

.trust-row span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 900;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .08);
}

.hero-actions,
.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

#musicForm .form-actions {
  flex-direction: column-reverse;
}

#musicForm .form-actions .btn-primary {
  width: 100%;
}

#backToModeButton {
  min-height: 36px;
  background: transparent;
  box-shadow: none;
  color: #a0a8b5;
}

.btn {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  text-align: center;
  line-height: 1.15;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: .68;
  transform: none;
}

.spinner-dot {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, .38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .85s linear infinite;
}

.btn-primary {
  background: linear-gradient(135deg, #be3856, #ef635c);
  color: #fff;
  box-shadow: 0 16px 34px rgba(190, 56, 86, .34);
}

.btn-green {
  background: #20b977;
  color: #fff;
  box-shadow: 0 12px 26px rgba(32, 185, 119, .25);
}

.btn-dark {
  background: #27151e;
  color: #fff;
}

.btn-secondary {
  background: #f1e7e3;
  color: var(--ink);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
}

.btn-full {
  width: 100%;
}

.test-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  font-weight: 700;
}

.help-bubble {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  background: #19a870;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(25, 168, 112, .28);
  cursor: pointer;
}

.below-hero {
  background: #160d10;
  padding: 10px 24px 22px;
}

.legal-links {
  width: min(960px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.legal-links a {
  color: rgba(255, 255, 255, .68);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 11px;
  font-weight: 600;
}

.legal-links a:hover {
  color: rgba(255, 255, 255, .9);
}

.app-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  background: rgba(22, 13, 16, .76);
  padding: 20px;
  overflow-y: auto;
}

.app-panel {
  position: relative;
  width: min(512px, 100%);
  min-height: min(720px, calc(100svh - 40px));
  margin: 0 auto;
  border-radius: 22px;
  background: #f4e9e6;
  box-shadow: var(--shadow);
  padding: 32px;
  overflow: hidden;
}

.panel-step .step-kicker {
  color: var(--rose);
}

.orders-step {
  margin: -30px;
  padding: 30px;
  background: #f5e9e5;
  min-height: calc(100svh - 40px);
}

.orders-step h2 {
  margin-bottom: 6px;
  font-size: 26px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.orders-subtitle,
.orders-note {
  margin: 0 0 18px;
  font-weight: 800;
  color: #697080;
}

.orders-note {
  text-align: center;
  margin: 10px 0 18px;
  font-size: 13px;
}

.found-order-card {
  border: 1px solid #ead9d4;
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, .5);
  margin-top: 14px;
}

.orders-found-list {
  display: grid;
  gap: 12px;
}

.order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-card-head strong {
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13px;
}

.order-card-head span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  background: #ff7b22;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.order-card-head span.is-paid {
  background: #20b977;
}

.order-card-head span.is-pending {
  background: #ff9d2f;
}

.found-order-card > p {
  margin: 12px 0;
  color: #697080;
  font-size: 13px;
  font-weight: 800;
}

.order-lyrics-preview {
  border: 1px solid #e0d6d3;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.order-lyrics-preview strong,
.history-card strong {
  color: #2b2630;
}

.order-lyrics-preview pre {
  max-height: 154px;
  overflow: auto;
  white-space: pre-wrap;
  color: #344054;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.55;
}

.order-lyrics-preview .btn,
.history-card .btn {
  margin-top: 10px;
}

.found-order-card > .btn {
  margin-top: 10px;
}

.found-order-card h3 {
  margin: 14px 0 10px;
  color: #566070;
  font-size: 15px;
}

.history-card {
  border: 1px solid #e0d6d3;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}

.history-card small {
  display: block;
  color: #697080;
}

.history-card > span {
  float: right;
  margin-top: -28px;
  border-radius: 999px;
  padding: 6px 12px;
  background: #d2f7eb;
  color: #008564;
  font-size: 12px;
  font-weight: 900;
}

.mini-player {
  clear: both;
  display: grid;
  grid-template-columns: 56px 46px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  border: 1px solid #ead9d4;
  border-radius: 12px;
  background: #fff7f6;
  padding: 12px;
}

.mini-player img {
  width: 56px;
  height: 56px;
}

.mini-play {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #2b1b23;
  color: #fff;
  cursor: pointer;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
}

.icon-button {
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.modal-close {
  width: 42px;
  min-width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f45357;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(244, 83, 87, .28);
}

.progress {
  width: min(420px, 100%);
  display: grid;
  grid-template-columns: 48px 1fr 48px 1fr 48px;
  align-items: start;
  gap: 10px;
  margin: 2px auto 34px;
}

.app-panel.is-final-step .progress {
  display: none;
}

.progress-item {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #a78f8a;
  font-size: 10px;
  font-weight: 900;
}

.progress-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 0;
  background: #eadfdd;
  color: #9d8985;
  font-size: 14px;
  font-weight: 900;
}

.progress-item.is-active .progress-dot {
  background: var(--rose);
  color: #fff;
}

.progress-item.is-done .progress-dot {
  background: var(--green);
  color: #fff;
}

.progress-item.is-active {
  color: var(--rose);
}

.progress-item.is-done {
  color: var(--green);
}

.progress-line {
  height: 3px;
  margin-top: 16px;
  background: var(--line);
  border-radius: 999px;
}

.progress-line.is-done {
  background: var(--green);
}

.panel-step h2,
.modal-card h2,
.legal-page h1 {
  margin: 0 0 14px;
  font-size: 31px;
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 900;
}

.panel-step p {
  color: var(--muted);
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0;
}

.choice-card {
  width: 100%;
  min-height: 98px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 18px;
  text-align: left;
  cursor: pointer;
}

.choice-card.is-selected {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(190, 56, 86, .14);
}

.choice-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 14px;
  align-items: center;
}

.choice-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  grid-row: span 2;
  margin-bottom: 0;
}

.choice-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 0;
}

.choice-card small {
  color: var(--muted);
  line-height: 1.45;
}

.choice-card small {
  grid-column: 2;
  font-weight: 800;
}

.recent-orders {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.recent-order-item {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 10px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

label,
.voice-field {
  display: block;
  margin: 14px 0;
}

label span,
.voice-field legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
  background: #fff;
  outline: none;
  font-weight: 700;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 112, 121, .12);
}

textarea {
  min-height: 142px;
  resize: vertical;
  line-height: 1.45;
}

.long-field small {
  display: block;
  margin-top: 6px;
  text-align: right;
  color: var(--muted);
  font-weight: 800;
}

.story-guidance {
  margin-top: 10px;
  border: 1px solid #d9eceb;
  border-radius: 10px;
  background: #f4fbfa;
  padding: 12px;
  color: #50606f;
  font-size: 13px;
  line-height: 1.45;
}

.story-guidance strong,
.story-guidance span,
.story-guidance em {
  display: block;
}

.story-guidance span {
  margin: 0;
  color: #50606f;
  font-size: 13px;
  font-weight: 700;
}

.story-guidance strong {
  margin-bottom: 4px;
  color: #007078;
  font-size: 13px;
  font-weight: 900;
}

.story-guidance em {
  margin-top: 6px;
  color: #7a6571;
  font-style: normal;
  font-weight: 800;
}

.voice-field {
  border: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.voice-field legend {
  grid-column: 1 / -1;
}

.segmented {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.segmented.is-selected {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}

.check-line,
.bump-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: #fff;
}

.check-line input,
.bump-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.check-line span,
.bump-line span {
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
  color: var(--muted);
}

.check-line a {
  color: var(--teal);
  font-weight: 900;
}

.form-error {
  border: 1px solid #f1b1a7;
  border-radius: 8px;
  background: #fff0ed;
  color: #972c24 !important;
  padding: 12px;
  font-weight: 800;
}

.step-subtitle {
  margin: -4px 0 24px;
  color: #737b8b;
  font-weight: 800;
  line-height: 1.45;
}

.lyrics-card,
.draft-card,
.creation-forecast,
.preview-player {
  border: 1px solid #ded5d2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(39, 21, 30, .04);
}

.lyrics-card {
  overflow: hidden;
}

.lyrics-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 64px;
  padding: 16px;
  border-bottom: 1px solid #e7ddda;
}

.lyrics-card-head strong,
.lyrics-box > div strong {
  font-size: 21px;
  color: #2b2730;
}

.lyrics-card-head span,
#previewLyricsBadge {
  border-radius: 999px;
  padding: 8px 12px;
  background: #d6fbef;
  color: #00796f;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.lyrics-card pre {
  margin: 0;
  max-height: 292px;
  overflow: auto;
  padding: 18px 16px;
  white-space: pre-wrap;
  color: #303038;
  font-family: inherit;
  line-height: 1.55;
}

.or-divider {
  margin: 10px 0;
  text-align: center;
  color: #a2a9b4;
  font-size: 13px;
  font-weight: 900;
}

.bottom-cta {
  margin-top: 18px;
  min-height: 58px;
  font-size: 17px;
}

.generating-step h2 {
  margin-bottom: 20px;
}

.creation-forecast {
  min-height: 128px;
  padding: 12px;
  background: linear-gradient(90deg, #fff7f9, #effffb);
  display: grid;
  grid-template-columns: 1fr minmax(180px, 250px) 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.music-note {
  text-align: center;
  color: #b9e5df;
  font-size: 28px;
  font-weight: 900;
}

.forecast-card {
  min-height: 104px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(33, 29, 36, .1);
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
}

.forecast-card small {
  color: #717989;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 11px;
  font-weight: 900;
}

.forecast-card strong {
  display: block;
  color: #29242c;
  font-size: 38px;
  line-height: 1;
}

.loading-bar.striped {
  width: 100%;
  height: 10px;
  margin-bottom: 18px;
  background: #cbe8df;
}

.loading-bar.striped span {
  width: 100%;
  background: repeating-linear-gradient(45deg, #138578 0 8px, #1b9a8d 8px 16px);
  animation: stripeMove .7s linear infinite;
}

.generation-tags {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.generation-tags span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #d5f9ef;
  color: #007078;
  font-size: 12px;
  font-weight: 900;
}

.draft-card {
  padding: 20px;
}

.draft-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.draft-head strong {
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
}

.draft-head span {
  color: #7a8392;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
}

.draft-head span b {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--rose);
  animation: pulse 1s ease-in-out infinite;
}

.draft-card p {
  margin: 7px 0;
  color: #596274;
  font-size: 14px;
  line-height: 1.4;
}

.center-step {
  text-align: center;
}

.loading-disc {
  width: 126px;
  height: 126px;
  margin: 26px auto;
  border-radius: 50%;
  background: radial-gradient(circle at center, #fff 0 9%, #be3856 10% 15%, #151117 16% 52%, #3f3441 53% 55%, #151117 56% 100%);
  animation: spin 1.8s linear infinite;
}

.loading-bar {
  height: 10px;
  width: min(420px, 100%);
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #eaded8;
  overflow: hidden;
}

.loading-bar span {
  display: block;
  width: 18%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--green));
  animation: load 1.8s ease-in-out infinite;
}

.preview-player {
  padding: 20px;
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 22px 0 0;
}

.vinyl {
  width: 132px;
  height: 132px;
}

.vinyl.is-playing {
  animation: spin 2.4s linear infinite;
}

.waveform {
  height: 52px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(32, 1fr);
  gap: 3px;
  align-items: center;
}

.waveform span {
  display: block;
  min-width: 3px;
  border-radius: 999px;
  background: #efe7e4;
}

.waveform span.is-active {
  background: var(--rose);
}

.play-button {
  min-width: 56px;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--coral));
  color: #fff;
  box-shadow: 0 12px 24px rgba(190, 56, 86, .24);
}

.preview-controls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

#previewTrackName {
  color: #28242c;
  font-size: 20px;
}

.preview-track-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 4px 10px;
  background: #fff1d8;
  color: #9b5700;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-lock-note {
  margin: 0 !important;
  color: #a85b00 !important;
  font-size: 12px;
  font-weight: 900;
}

.full-song-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
  border: 1px solid #d7efe7;
  border-radius: 14px;
  padding: 18px;
  background: linear-gradient(135deg, #f4fffb, #fff8fb);
  box-shadow: 0 18px 44px rgba(22, 13, 16, .12);
}

.full-song-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #d6fbef;
  color: #00705e;
}

.full-song-content {
  width: 100%;
  min-width: 0;
}

.full-song-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.full-song-content h3 {
  width: 100%;
  margin: 0;
  color: #211d24;
  font-size: 18px;
  line-height: 1.25;
}

.full-song-content p {
  width: 100%;
  margin: 10px 0 14px;
  color: #596274;
  font-size: 13px;
  line-height: 1.45;
}

.full-song-meta {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.full-song-meta span {
  width: 100%;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff;
  color: #007078;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.unlock-buy-button {
  width: 100%;
  min-height: 58px;
  margin-top: 2px;
  animation: unlockBuyPulse 2.25s ease-in-out infinite;
}

.unlock-buy-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.unlock-buy-button > span {
  min-width: 0;
}

.unlock-buy-button:disabled {
  animation: none;
}

.plain-lyrics {
  margin-top: 22px;
}

.plain-lyrics-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.plain-lyrics-head strong {
  color: #211d24;
  font-size: 18px;
}

.plain-lyrics pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: #3f3942;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.72;
}

.lyrics-box {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.lyrics-box > div {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.lyrics-box pre {
  margin: 0;
  max-height: 260px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  padding: 14px;
  color: #3f3942;
  line-height: 1.5;
  font-family: inherit;
}

.text-button {
  color: var(--teal);
  background: #eef8f7;
  border-color: #c7e6e4;
  cursor: pointer;
}

.search-inline {
  width: 100%;
  min-height: 46px;
  color: var(--teal);
}

.total-box {
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.total-box span {
  color: var(--muted);
  font-weight: 900;
}

.total-box strong {
  color: var(--rose);
  font-size: 28px;
}

.pix-box {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  text-align: center;
}

.pix-box img {
  width: 190px;
  height: 190px;
  display: block;
  margin: 0 auto 12px;
  border: 1px solid var(--line);
}

.pix-box textarea {
  min-height: 86px;
  font-size: 13px;
  resize: none;
}

.success-cover {
  width: min(340px, 100%);
  border-radius: 8px;
  margin: 16px auto;
  display: block;
  border: 1px solid var(--line);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(22, 13, 16, .74);
}

.modal-card {
  position: relative;
  width: min(500px, 100%);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 28px;
}

.legal-page {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 60px;
  color: var(--ink);
}

.legal-page .back-link {
  color: var(--teal);
  background: #eef8f7;
  border-color: #c7e6e4;
  display: inline-flex;
  margin-bottom: 24px;
}

.legal-page h1 {
  color: var(--ink);
}

.legal-page h2 {
  margin-top: 28px;
}

.legal-page p {
  color: var(--muted);
  line-height: 1.7;
}

.thanks-page {
  min-height: 100svh;
  padding: 0 18px 42px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(22, 13, 16, .9), rgba(93, 25, 49, .92) 48%, rgba(0, 82, 89, .9)),
    linear-gradient(90deg, #211018, #75203d);
}

.thanks-hero {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 42px 0 28px;
  text-align: center;
}

.thanks-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.thanks-brand img {
  width: 142px;
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .24));
}

.thanks-success-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #20b977;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(32, 185, 119, .28);
}

.thanks-eyebrow {
  margin: 0 0 10px;
  color: #ffcf8a;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 900;
}

.thanks-hero h1 {
  width: min(760px, 100%);
  margin: 0 auto;
  font-family: Fraunces, Georgia, serif;
  font-size: 48px;
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
}

.thanks-hero-copy {
  width: min(700px, 100%);
  margin: 18px auto 0;
  color: rgba(255, 255, 255, .84);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 700;
}

.thanks-order-card {
  width: min(540px, 100%);
  margin: 26px auto 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 18px 44px rgba(22, 13, 16, .18);
}

.thanks-order-card span,
.thanks-order-card small {
  display: block;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.thanks-order-card strong {
  display: block;
  margin: 6px 0;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.thanks-order-card small {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  line-height: 1.45;
}

.thanks-content {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .85fr);
  gap: 18px;
}

.thanks-main-card,
.thanks-side-card {
  border-radius: 18px;
  background: #fffaf7;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(22, 13, 16, .22);
}

.thanks-main-card {
  padding: 28px;
}

.thanks-delivery-card {
  border: 1px solid #c9efe5;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #f2fffb, #fff8fa);
}

.thanks-delivery-kicker {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  background: #d6fbef;
  color: #00796f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.thanks-delivery-card h2 {
  margin-top: 12px;
}

.thanks-delivery-card p {
  margin: 0 0 14px;
  color: #596274;
  line-height: 1.55;
  font-weight: 800;
}

.thanks-audio {
  width: 100%;
  margin: 6px 0 14px;
}

.thanks-delivery-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.thanks-delivery-actions a {
  text-decoration: none;
}

.thanks-lyrics {
  max-height: 260px;
  overflow: auto;
  margin: 14px 0 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  color: #3f3942;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  line-height: 1.5;
}

.thanks-side-card {
  padding: 26px;
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, .2);
}

.thanks-main-card h2,
.thanks-side-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.thanks-steps {
  display: grid;
  gap: 12px;
}

.thanks-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}

.thanks-step b {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #d6fbef;
  color: #00796f;
  font-weight: 900;
}

.thanks-step strong {
  display: block;
  margin-bottom: 4px;
  color: #2b2630;
  font-size: 16px;
}

.thanks-step p,
.thanks-side-card p,
.thanks-side-card li {
  margin: 0;
  color: #687284;
  line-height: 1.55;
  font-weight: 700;
}

.thanks-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.thanks-actions a {
  text-decoration: none;
}

.thanks-mini-badge {
  width: 68px;
  height: 68px;
  margin-bottom: 16px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--rose), var(--coral));
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(190, 56, 86, .22);
}

.thanks-side-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.thanks-side-card li {
  position: relative;
  padding-left: 28px;
}

.thanks-side-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

.thanks-legal {
  width: min(980px, 100%);
  margin: 20px auto 0;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.thanks-legal a {
  color: rgba(255, 255, 255, .68);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 11px;
  font-weight: 600;
}

.thanks-legal a:hover {
  color: rgba(255, 255, 255, .9);
}

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

@keyframes load {
  0% { transform: translateX(-100%); width: 20%; }
  50% { width: 60%; }
  100% { transform: translateX(520%); width: 20%; }
}

@keyframes stripeMove {
  to { background-position: 22px 0; }
}

@keyframes pulse {
  0%, 100% { opacity: .45; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes unlockBuyPulse {
  0%, 100% { box-shadow: 0 12px 26px rgba(32, 185, 119, .24); }
  50% { box-shadow: 0 18px 36px rgba(32, 185, 119, .42); }
}

@media (max-width: 760px) {
  .site-header {
    padding: 48px 16px 0;
  }

  .brand img {
    width: 142px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: 126px 18px 58px;
    align-items: flex-start;
  }

  .hero-media {
    background-image: linear-gradient(180deg, rgba(20, 13, 16, .54), rgba(20, 13, 16, .96) 62%), url("../img/cover.webp?v=20260707g");
  }

  .hero h1 {
    font-size: 39px;
    line-height: 1.08;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .help-bubble {
    right: 14px;
    bottom: 14px;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .app-overlay {
    padding: 0;
  }

  .app-panel {
    min-height: 100svh;
    border-radius: 0;
    padding: 22px 16px 28px;
  }

  .progress {
    width: 100%;
    grid-template-columns: 30px 1fr 30px 1fr 30px;
  }

  .progress-dot {
    width: 30px;
    height: 30px;
  }

  .choice-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .panel-step h2,
  .modal-card h2,
  .legal-page h1 {
    font-size: 25px;
  }

  .lyrics-card-head,
  .lyrics-box > div,
  .plain-lyrics-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .lyrics-card-head span,
  #previewLyricsBadge {
    max-width: 100%;
    white-space: normal;
    text-align: left;
    font-size: 11px;
  }

  .vinyl {
    width: 118px;
    height: 118px;
  }

  .full-song-card {
    padding: 16px;
  }

  .full-song-meta {
    grid-template-columns: 1fr;
  }

  .unlock-buy-button {
    min-height: 60px;
    padding-inline: 12px;
  }

  .thanks-page {
    padding: 0 14px 28px;
  }

  .thanks-hero {
    padding: 30px 0 20px;
  }

  .thanks-brand img {
    width: 128px;
  }

  .thanks-success-icon {
    width: 62px;
    height: 62px;
    font-size: 32px;
  }

  .thanks-hero h1 {
    font-size: 34px;
  }

  .thanks-hero-copy {
    font-size: 15px;
  }

  .thanks-content {
    grid-template-columns: 1fr;
  }

  .thanks-main-card,
  .thanks-side-card {
    border-radius: 14px;
    padding: 20px;
  }

  .thanks-main-card h2,
  .thanks-side-card h2 {
    font-size: 24px;
  }

  .thanks-actions {
    grid-template-columns: 1fr;
  }

  .thanks-delivery-actions {
    grid-template-columns: 1fr;
  }
}
