/* CreationSpace MVP lead form */
.cs-lead {
  max-width: 640px;
  margin: 32px auto;
  padding: 24px 20px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #1a1a1a;
  background: #faf8f6;
  border: 1px solid #e6e0da;
}
.cs-lead h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 700;
}
.cs-lead .cs-lead__hint {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.45;
}
.cs-lead__field {
  margin-bottom: 14px;
}
.cs-lead label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.cs-lead input[type="text"],
.cs-lead input[type="email"],
.cs-lead input[type="tel"],
.cs-lead select,
.cs-lead textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #c9c2ba;
  border-radius: 4px;
  font: inherit;
  background: #fff;
}
.cs-lead textarea {
  min-height: 96px;
  resize: vertical;
}
.cs-lead__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.4;
}
.cs-lead__check input {
  margin-top: 3px;
  flex-shrink: 0;
}
.cs-lead__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}
.cs-lead__actions {
  margin-top: 18px;
}
.cs-lead button[type="submit"] {
  appearance: none;
  border: 0;
  background: #7a5253;
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 40px;
  cursor: pointer;
}
.cs-lead button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: wait;
}
.cs-lead__status {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.cs-lead__status[data-state="error"] {
  color: #8b1a1a;
}
.cs-lead__status[data-state="ok"] {
  color: #1a5c2e;
}
.cs-lead a {
  color: #c45c00;
}
.cs-lead .cs-lead__req {
  color: #8b1a1a;
}
.cs-lead input:invalid:not(:placeholder-shown),
.cs-lead textarea:invalid:not(:placeholder-shown) {
  border-color: #b33;
}
@media (max-width: 520px) {
  .cs-lead {
    margin: 20px 12px;
    padding: 18px 14px;
  }
}
