:root {
  --cloud: #f4f2ec;
  --ink: #202024;
  --charcoal: #34343b;
  --poseidon: #123e62;
  --marina: #2c88b8;
  --fuchsia: #ca2f78;
  --acacia: #d6cf32;
  --paper: #fffdf8;
  --line: #d9d4c8;
  --soft: #ebe7dc;
  --ok: #1d6b5c;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cloud);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.offer-bar {
  padding: 10px 16px;
  background: var(--poseidon);
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 10px clamp(18px, 5vw, 64px);
  background: rgba(244, 242, 236, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
}

.text-brand {
  gap: 4px;
  width: max-content;
  color: var(--ink);
  font-weight: 900;
  line-height: 1;
}

.text-brand span,
.text-brand strong {
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  letter-spacing: 0;
}

.text-brand span {
  color: var(--poseidon);
}

.text-brand strong {
  color: var(--fuchsia);
}

.text-brand small {
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 900;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 800;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--fuchsia);
  color: white;
  font-size: 1.15rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 119px);
  padding: clamp(32px, 6vw, 82px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(18, 62, 98, 0.08), transparent 42%),
    var(--cloud);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.mini-label {
  margin: 0 0 10px;
  color: var(--fuchsia);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  color: var(--charcoal);
  font-size: 1.12rem;
  line-height: 1.7;
}

.trust-row,
.assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-row span,
.assurance span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 900;
}

.song-builder,
.testimonial-grid article,
.style-grid article,
.package-grid article,
.faq details,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 45px rgba(32, 32, 36, 0.08);
}

.song-builder {
  padding: clamp(18px, 3vw, 30px);
}

.form-head,
.section-head,
footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.form-head h2,
.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.status-pill {
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e7f1ef;
  color: var(--ok);
  font-size: 0.78rem;
  font-weight: 900;
}

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

.progress span {
  height: 7px;
  border-radius: 999px;
  background: var(--soft);
}

.progress span.active {
  background: var(--fuchsia);
}

#songForm,
.wizard-step {
  display: grid;
  gap: 14px;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: grid;
}

label,
summary {
  color: var(--charcoal);
  font-size: 0.88rem;
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfaf6;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--marina);
  box-shadow: 0 0 0 3px rgba(44, 136, 184, 0.16);
}

.option-grid,
.style-picker,
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.option-grid label,
.style-picker label {
  position: relative;
  min-height: 48px;
}

.option-grid input,
.style-picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.option-grid span,
.style-picker span {
  display: grid;
  min-height: 48px;
  place-items: center;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.option-grid input:checked + span,
.style-picker input:checked + span {
  border-color: var(--poseidon);
  background: var(--poseidon);
  color: var(--paper);
}

.hint {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.9rem;
  line-height: 1.55;
}

.confirm-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8f4e8;
}

.confirm-card h3 {
  margin-bottom: 8px;
  color: var(--poseidon);
  font-size: 2rem;
  line-height: 1;
}

.confirm-card p {
  color: var(--charcoal);
  line-height: 1.55;
}

dl {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
}

dl div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--poseidon);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--charcoal);
}

.wizard-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.primary-action,
.secondary-action,
.buy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.primary-action,
.buy-link {
  flex: 1;
  background: var(--acacia);
  color: var(--ink);
}

.secondary-action {
  min-width: 100px;
  background: var(--soft);
  color: var(--charcoal);
}

.buy-link {
  display: none;
}

.reaction-band,
.process-section,
.styles-section,
.packages,
.faq {
  padding: clamp(34px, 6vw, 80px) clamp(18px, 5vw, 64px);
}

.reaction-band {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: clamp(20px, 4vw, 44px);
  background: #e8ece4;
}

.reaction-band h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.testimonial-grid,
.process-grid,
.style-grid,
.package-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid article,
.process-grid article,
.style-grid article,
.package-grid article,
.faq details {
  padding: 20px;
}

.audio-review {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
}

.stars {
  margin-bottom: 12px;
  color: var(--fuchsia);
  font-weight: 900;
}

.testimonial-grid p:not(.stars),
.process-grid p,
.style-grid p,
.package-grid p,
.faq p {
  color: var(--charcoal);
  line-height: 1.55;
}

.testimonial-grid strong {
  color: var(--poseidon);
}

.audio-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  width: 100%;
  margin-top: 4px;
  border: 0;
  border-radius: 7px;
  background: var(--poseidon);
  color: var(--paper);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
}

.audio-button.playing {
  background: var(--acacia);
  color: var(--ink);
}

.audio-time {
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.process-grid span,
.style-grid span {
  display: block;
  margin-bottom: 30px;
  color: var(--fuchsia);
  font-weight: 900;
}

.style-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 28px;
}

.style-grid article,
.package-grid article {
  min-height: 214px;
}

.packages {
  background: #f8f4e8;
}

.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.package-grid article {
  min-height: 190px;
}

.package-grid .featured {
  border-color: var(--fuchsia);
  background: #fff8fb;
}

.price {
  color: var(--poseidon) !important;
  font-size: 1.6rem;
  font-weight: 900;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

summary {
  cursor: pointer;
}

.faq p {
  margin: 12px 0 0;
}

footer {
  padding: 26px clamp(18px, 5vw, 64px);
  background: var(--ink);
  color: var(--paper);
}

footer p,
footer a {
  margin: 0;
  font-weight: 900;
}

@media (max-width: 1040px) {
  .hero,
  .reaction-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .testimonial-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .text-brand span,
  .text-brand strong {
    font-size: 1.35rem;
  }

  .text-brand small {
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .option-grid,
  .style-picker,
  .field-grid,
  .testimonial-grid,
  .process-grid,
  .style-grid,
  .package-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .form-head,
  .section-head,
  footer {
    align-items: start;
    flex-direction: column;
  }

  .wizard-actions {
    flex-direction: column;
  }

  .secondary-action {
    width: 100%;
  }
}
