.signup-main {
  padding: clamp(52px, 6vw, 96px) 0 clamp(72px, 8vw, 120px);
  background: #faf8f2;
}

.signup-form {
  position: relative;
  width: min(960px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(42px, 5vw, 64px) clamp(34px, 5.8vw, 64px) clamp(54px, 6vw, 76px);
  background: #ffd42a;
  color: #090909;
}

.signup-form::after {
  position: absolute;
  inset: 0 0 0 auto;
  width: 16px;
  background: #f4007d;
  content: "";
}

.form-section {
  min-width: 0;
  margin: 0;
  padding: 0 0 clamp(36px, 5vw, 54px);
  border: 0;
}

.form-section:last-of-type { padding-bottom: 26px; }

.form-section legend {
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  color: #090909;
  font: 700 clamp(22px, 2.7vw, 32px)/1.15 "Montserrat", Arial, Helvetica, sans-serif;
}

.contact-section legend {
  font-size: clamp(28px, 3.8vw, 40px);
}

.contact-grid,
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

.text-field {
  display: grid;
  gap: 10px;
  min-width: 0;
  font: 400 16px/1.35 "Montserrat", Arial, Helvetica, sans-serif;
}

.text-field input,
.text-field textarea {
  width: 100%;
  border: 2px solid #f4007d;
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: #090909;
  font: 17px/1.45 "Montserrat", Arial, Helvetica, sans-serif;
  transition: box-shadow .18s ease;
}

.text-field input { min-height: 52px; padding: 10px 14px; }
.text-field textarea { min-height: 142px; padding: 14px; resize: vertical; }
.text-field input:focus,
.text-field textarea:focus { box-shadow: 0 0 0 4px rgba(244, 0, 125, .18); }

.choice {
  display: flex;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  gap: 11px;
  padding: 10px 16px;
  border: 2px solid #f4007d;
  background: #fff;
  cursor: pointer;
  font: 400 17px/1.25 "Montserrat", Arial, Helvetica, sans-serif;
  transition: background .18s ease, box-shadow .18s ease;
}

.choice:hover { background: #fff7fb; }
.choice:has(input:checked) {
  background: #fff0f7;
  box-shadow: 0 0 0 3px rgba(244, 0, 125, .15);
}

.choice > input[type="radio"],
.choice > input[type="checkbox"],
.privacy-choice input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #f4007d;
}

.other-choice { gap: 9px; }
.other-goal-input {
  min-width: 0;
  flex: 1 1 auto;
  border: 0;
  border-bottom: 1px solid #090909;
  outline: 0;
  background: transparent;
  font: inherit;
}
.other-goal-input:focus { border-bottom-color: #f4007d; }
.other-goal-input:disabled { opacity: .45; cursor: not-allowed; }
.field-error { margin: 12px 0 0; color: #8c003e; font-weight: 700; }

.privacy-note {
  margin: 0 0 24px;
  padding: 20px 22px;
  border: 2px solid #f4007d;
  background: #fff;
}
.privacy-note h2 {
  margin: 0 0 8px;
  font: 700 20px "Montserrat", Arial, Helvetica, sans-serif;
}
.privacy-note p { margin: 0; font: 13px/1.55 "Montserrat", Arial, Helvetica, sans-serif; }
.privacy-note a,
.privacy-choice a { color: #9b0049; text-underline-offset: 3px; }

.privacy-choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font: 700 14px/1.45 "Montserrat", Arial, Helvetica, sans-serif;
}
.privacy-choice a { position: relative; z-index: 1; }

.submit-area {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-top: 30px;
}
.submit-button {
  min-height: 54px;
  padding: 12px 30px;
  border: 2px solid #090909;
  background: #f4007d;
  color: #fff;
  font: 700 18px "Montserrat", Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.submit-button:hover:not(:disabled) { box-shadow: 4px 4px 0 #090909; transform: translate(-2px, -2px); }
.submit-button:disabled { cursor: wait; opacity: .65; }
.form-status { min-height: 22px; margin: 0; font-weight: 700; }
.form-status.success { color: #245d2f; }
.form-status.error { color: #8c003e; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 680px) {
  .signup-main { padding: 34px 0 58px; }
  .signup-form {
    width: calc(100% - 28px);
    padding: 34px 25px 44px 20px;
  }
  .signup-form::after { width: 8px; }
  .form-section { padding-bottom: 34px; }
  .form-section legend { margin-bottom: 18px; font-size: 22px; }
  .contact-section legend { font-size: 30px; }
  .contact-grid,
  .option-grid { grid-template-columns: 1fr; gap: 10px; }
  .choice { min-height: 50px; padding: 10px 12px; font-size: 15px; }
  .text-field { font-size: 14px; }
  .text-field input,
  .text-field textarea { font-size: 16px; }
  .privacy-note { padding: 17px 15px; }
  .privacy-choice { font-size: 13px; }
  .submit-area { justify-items: stretch; }
  .submit-button { width: 100%; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .choice,
  .submit-button,
  .text-field input,
  .text-field textarea { transition: none; }
}
