/* The landing page supplies the shared type, colours, column and button. */
.onboarding-page { min-height: 100svh; display: flex; flex-direction: column; }
.onboarding-main { flex: 1; }
.onboarding { margin-top: 68px; padding-bottom: 72px; }
.brief-form { margin-top: 44px; }
.form-field + .form-field { margin-top: 28px; }
.form-field label { display: block; color: var(--heading); font-size: 16px; line-height: 24px; }
.field-hint { margin-top: 3px; font-size: 14px; line-height: 21px; }
.form-field input, .form-field textarea {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  padding: 12px 14px;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  background: #fff;
  color: var(--heading);
  font: inherit;
  line-height: 24px;
  caret-color: var(--heading);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.form-field input { min-height: 48px; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input::placeholder { color: #999; opacity: 1; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: #777; box-shadow: 0 0 0 3px #1414140a; }
.form-field input:user-invalid, .form-field textarea:user-invalid { border-color: #a74736; }
.form-actions { margin-top: 28px; }
.send-button { min-width: 90px; min-height: 44px; }
.send-button:disabled { opacity: .65; cursor: wait; }
.delivery-promise { margin-top: 22px; font-size: 15px; line-height: 24px; }
.form-error { margin-top: 14px; color: #a74736; font-size: 14px; line-height: 22px; }
.brief-success { margin-top: 44px; }
.brief-success .delivery-promise { margin-top: 16px; }
.onboarding-landscape { height: clamp(180px, 19vw, 260px); overflow: hidden; background: var(--background); }
.onboarding-landscape img { width: max(100%, 900px); max-width: none; height: auto; margin-left: 50%; transform: translateX(-50%); mix-blend-mode: multiply; }
[hidden] { display: none !important; }

@media (max-width: 600px) {
  .onboarding { margin-top: 62px; padding-bottom: 56px; }
  .brief-form, .brief-success { margin-top: 36px; }
  .form-field + .form-field { margin-top: 26px; }
}

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