/* Visual direction transcribed from the supplied desktop recording. */
.page-wrap {
  width: min(100% - 40px, 900px);
  padding: 28px 0 72px;
}

.hero {
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 38px;
  padding: 12px 8px 25px;
}

.hero-copy { max-width: 590px; }
.hero h1 { font-size: clamp(42px, 4.2vw, 56px); }
.hero h1 em {
  background: none;
  color: var(--wine);
  -webkit-text-fill-color: currentColor;
}
.hero-copy > p { max-width: 54ch; font-size: 15px; line-height: 1.6; }
.hero-points { gap: 18px; margin-top: 16px; font-size: 12px; }
.hero-card {
  padding: 20px;
  border-radius: 19px;
  background: var(--paper);
  box-shadow: 0 8px 22px #29181a0b;
}
.hero-card-icon { border-radius: 50%; }
.hero-card > b { font-size: 18px; }
.hero-card p { font-size: 12px; }
.hero-card small { font-size: 9px; }

.step-nav {
  margin: 0 0 18px;
  padding: 8px;
  border-radius: 16px;
  box-shadow: 0 4px 14px #23141807;
}
.step { min-height: 56px; gap: 9px; padding: 8px 10px; }
.step b { font-size: 11px; }
.step small { font-size: 9px; }

.workflow-card {
  margin: 17px 0;
  padding: 28px;
  border-radius: 22px;
  box-shadow: 0 10px 28px #20151809;
}
.section-heading { gap: 12px; margin-bottom: 20px; padding-bottom: 17px; }
.section-heading h2 { font-size: clamp(24px, 2.5vw, 30px); }
.section-heading p { font-size: 13px; }
.form-grid { gap: 14px 16px; }
.form-grid label, .duration-field { font-size: 12px; }
.form-grid input, .form-grid select, .form-grid textarea,
.duration-field select, .owner-panel select {
  min-height: 47px;
  border-color: #d6e0e6;
  border-radius: 11px;
  background: #f2f7fa;
  font-size: 14px;
}
.form-grid input::placeholder, .form-grid textarea::placeholder { color: #78858d; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus,
.duration-field select:focus, .owner-panel select:focus, .link-copy input:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px #6b1d2f17;
}
.identity-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-top: 15px;
  padding: 15px;
  border: 1px solid #eee2d4;
  border-radius: 15px;
  background: #fbf7f0;
}
.identity-panel label { display: block; color: #55494c; font-size: 12px; font-weight: 750; }
.identity-panel .field-note { display: inline; color: #7b7170; font-size: 10px; font-weight: 500; }
.identity-panel input {
  width: 100%;
  min-height: 45px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #d8c9bd;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
}
.identity-panel input:focus { outline: 3px solid #c9973833; border-color: var(--wine); }

.memory-panel { padding: 17px; margin: 16px 0; border-radius: 16px; }
.field-label { font-size: 12px; }
.field-hint { font-size: 11px; }
.inspiration-chips button { min-height: 36px; font-size: 11px; }
.memory-panel textarea { background: #fff; font-size: 14px; }
.music-direction { padding-top: 20px; }
.direction-heading h3 { font-size: 24px; }
.direction-heading p { font-size: 12px; }
.choice-fieldset legend { font-size: 12px; }
.choice-grid { gap: 8px; }
.choice-card {
  min-height: 142px;
  padding: 11px;
  border-radius: 13px;
  background: #fffdfa;
}
.choice-card:has(input:checked) {
  border-color: var(--wine);
  background: var(--wine);
  box-shadow: 0 5px 14px #6b1d2f24;
  color: #fffaf4;
}
.choice-card:has(input:checked) .choice-icon { background: #ffffff1a; color: #f0cf76; }
.choice-card:has(input:checked) > small { color: #f0e2dc; }
.choice-card:has(input:checked) em { color: #f2d276; }
.choice-card > b, .compact-choice > b { font-size: 11px; }
.choice-card > small, .compact-choice > small { font-size: 10px; }
.choice-card em, .compact-choice em { font-size: 8px; }
.compact-choice { min-height: 72px; }
.compact-choice:has(input:checked) { background: #f7eef0; }
.duration-field { margin-top: 3px; }
.photo-upload-row { border-radius: 14px; }

.primary-pill {
  min-height: 46px;
  padding: 11px 20px;
  background: var(--wine);
  box-shadow: 0 5px 13px #6b1d2f20;
  font-size: 12px;
}
.primary-pill:hover { background: var(--wine2); filter: none; transform: translateY(-1px); }
.primary-pill:active { transform: scale(.98); }
.outline-pill { min-height: 44px; font-size: 12px; }
.section-cta > span { font-size: 11px; }

.letter-paper { border-radius: 15px; }
.letter-paper label { font-size: 11px; }
.letter-paper textarea { font-size: 17px; }
.client-guidance { border-radius: 15px; }
.client-guidance p { font-size: 12px; }
.client-guidance b { font-size: 18px; }
.generation-progress { border-radius: 13px; }
.generation-progress b { font-size: 12px; }
.generation-progress p { font-size: 11px; }
.version-card {
  gap: 17px;
  padding: 17px;
  border-color: #4a3036;
  border-radius: 18px;
  background: #2b191e;
  color: #fffaf4;
  box-shadow: 0 8px 20px #21161b20;
}
.version-kicker { color: #dfc36f; }
.version-main h3 { color: #fffaf4; }
.version-main p { color: #ddd0ca; font-size: 11px; }
.version-main audio { color-scheme: dark; }
.version-main .choose-version { border: 0; background: #fffdfa; color: var(--wine); }
.delivery-grid { gap: 17px; }
.video-preview { border-radius: 18px; }
.video-actions .primary-pill, .video-actions .outline-pill { min-height: 44px; font-size: 11px; }
.share-card { padding: 16px; border-radius: 15px; }
.share-card h3 { font-size: 19px; }
.share-card > p { font-size: 11px; }
.copy-button { min-height: 40px; font-size: 11px; }
.whatsapp-pill { min-height: 42px; font-size: 11px; }
.reaction-card { border-radius: 15px; }
.reaction-card b { font-size: 17px; }
.reaction-card p { font-size: 11px; }

@media (max-width: 850px) {
  .page-wrap { width: min(100% - 32px, 680px); }
  .hero { grid-template-columns: minmax(0, 1fr) 220px; gap: 22px; }
  .hero h1 { font-size: clamp(39px, 6vw, 50px); }
  .workflow-card { padding: 24px; }
  .delivery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .page-wrap { width: calc(100% - 24px); padding: 21px 0 52px; }
  .hero { grid-template-columns: 1fr; gap: 0; padding: 3px 3px 17px; }
  .hero-card { display: none; }
  .hero h1 { margin: 11px 0; font-size: clamp(38px, 10vw, 43px); line-height: 1.08; }
  .hero-copy > p { font-size: 14px; line-height: 1.55; }
  .hero-points { gap: 12px; margin-top: 13px; font-size: 11px; }
  .step-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    padding: 5px;
    margin-bottom: 14px;
  }
  .step-nav > i { display: none; }
  .step { min-height: 62px; flex-direction: column; justify-content: center; gap: 4px; padding: 5px 2px; text-align: center; }
  .step-number { width: 27px; height: 27px; flex-basis: 27px; font-size: 11px; }
  .step b { max-width: 76px; white-space: normal; font-size: 10px; line-height: 1.2; }
  .step small { display: none; }
  .workflow-card { padding: 19px 15px; margin: 13px 0; border-radius: 18px; }
  .section-heading { gap: 10px; margin-bottom: 17px; padding-bottom: 14px; }
  .section-heading h2 { font-size: 23px; }
  .section-heading p { font-size: 12px; }
  .section-kicker, .eyebrow { font-size: 9px; }
  .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .form-grid label, .duration-field, .identity-panel label { font-size: 12px; }
  .form-grid input, .form-grid select, .form-grid textarea,
  .duration-field select, .identity-panel input { min-height: 46px; font-size: 16px; }
  .identity-panel { grid-template-columns: 1fr; gap: 12px; padding: 12px; margin-top: 13px; }
  .identity-panel .field-note { display: block; margin: 1px 0 0; }
  .memory-panel { padding: 13px; margin: 14px 0; }
  .inspiration-chips { gap: 6px; }
  .inspiration-chips button { min-height: 36px; padding: 7px 9px; font-size: 11px; }
  .detail-grid { margin: 13px 0 20px; }
  .music-direction { padding-top: 17px; }
  .direction-heading h3 { font-size: 21px; }
  .direction-heading p { font-size: 12px; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .choice-card { min-height: 128px; padding: 10px; }
  .choice-card > b, .compact-choice > b { font-size: 11px; }
  .choice-card > small, .compact-choice > small { font-size: 10px; }
  .choice-row { grid-template-columns: 1fr; gap: 0; }
  .compact-choice { min-height: 68px; padding-left: 38px; }
  .mini-icon { left: 9px; }
  .duration-field { max-width: none; }
  .section-cta { align-items: stretch; flex-direction: column; }
  .section-cta .primary-pill { width: 100%; }
  .section-cta > span { font-size: 11px; }
  .section-cta.between .button-group { width: 100%; }
  .section-cta.between .button-group > * { flex: 1; }
  .owner-panel { align-items: stretch; }
  .owner-panel label { width: 100%; }
  .owner-panel span { margin-left: 0; }
  .client-guidance { align-items: flex-start; flex-wrap: wrap; gap: 10px; padding: 13px; }
  .client-guidance > div { min-width: calc(100% - 55px); }
  .client-guidance > .primary-pill { width: 100%; }
  .version-card { gap: 10px; padding: 10px; }
  .version-art { width: 66px; min-height: 74px; flex-basis: 66px; border-radius: 12px; }
  .version-art span { font-size: 31px; }
  .version-art small { font-size: 7px; }
  .version-main h3 { font-size: 16px; }
  .version-main p { font-size: 10px; }
  .waveform { height: 25px; gap: 2px; }
  .version-main audio { height: 34px; }
  .choose-version { min-height: 44px; padding: 9px 12px; font-size: 11px; }
  .delivery-grid { grid-template-columns: 1fr; }
  .delivery-side { display: flex; }
  .share-card { padding: 14px; }
  .share-card h3 { font-size: 19px; }
  .qr-row img { width: 64px; height: 64px; }
  .toast { right: 12px; bottom: 12px; padding: 11px 14px; }
}

@media (max-width: 380px) {
  .page-wrap { width: calc(100% - 20px); }
  .workflow-card { padding: 17px 12px; }
  .step-nav { gap: 1px; }
  .step b { font-size: 9px; }
}
