/* Demonstration request: clear labels, quiet inputs, and a single primary action. */
#demo-form {
  min-width: 0;
  padding: clamp(22px, 2.5vw, 36px);
  background: #fff;
  border: 1px solid #e1e8ef;
  border-radius: 18px;
  box-shadow: 0 16px 48px -28px #12385d40;
}
#demo-form .form-heading { margin-bottom: 26px; }
#demo-form .form-heading h3 {
  margin: 0 0 10px;
  color: #10253e;
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -.025em;
}
#demo-form .form-heading p { margin: 0; font-size: 15px; line-height: 1.65; color: #59697b; }
#demo-form .form-heading .required-note { margin-top: 14px; color: #738094; font-size: 12px; }
#demo-form .form-grid { gap: 21px 18px; margin-bottom: 24px; }
#demo-form label { min-width: 0; padding: 0; background: none; border: 0; border-radius: 0; }
#demo-form label:focus-within { box-shadow: none; }
#demo-form .field-title {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
  margin: 0 0 8px;
  color: #263c53;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
#demo-form .field-title > span { font-size: inherit; font-weight: inherit; margin: 0; }
#demo-form .field-title .required-mark { color: #347557; }
#demo-form .field-title .optional-label { margin-left: auto; color: #7b8796; font-size: 12px; font-weight: 400; }
#demo-form input:not([type="hidden"]):not([name="website"]),
#demo-form textarea {
  display: block;
  padding: 13px 14px;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #f8fafc;
  color: #152b43;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
#demo-form input::placeholder, #demo-form textarea::placeholder { color: #8591a1; font-size: 14px; }
#demo-form textarea { min-height: 126px; }
#demo-form input:not([name="website"]):focus, #demo-form textarea:focus {
  outline: none;
  border-color: #388660;
  background: #fff;
  box-shadow: 0 0 0 3px #38866015;
}
#demo-form .button { min-height: 52px; border-radius: 8px; font-size: 15px; font-weight: 650; box-shadow: 0 4px 12px #228c3514; }
#demo-form .form-note { max-width: 360px; margin: 16px auto 0; font-size: 12px!important; line-height: 1.7; color: #6b7b8c; }
#demo-form .form-status:not(:empty) { margin-top: 18px; padding: 13px 15px; border-radius: 8px; font-size: 14px; line-height: 1.6; }
#demo-form .form-status.success { background: #eef8f1; color: #21643b; }
#demo-form .form-status.error { background: #fff3f1; color: #992e26; }
@media (max-width: 1050px) and (min-width: 761px) {
  #demo-form .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  #demo-form { padding: 24px 20px; border-radius: 14px; }
  #demo-form .form-grid { grid-template-columns: 1fr; gap: 19px; }
  #demo-form .form-heading { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  #demo-form input, #demo-form textarea { transition: none!important; }
}
