/* /creators: the pitch form for paid videos about Float Script. */
.pitch-section { max-width: calc(var(--page) + var(--gutter) * 2); margin: 0 auto; padding: 40px var(--gutter) 0; }
.pitch-form { max-width: 760px; }
.pitch-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.pitch-fields .wide { grid-column: 1 / -1; }
.pitch-form label { display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.pitch-form input, .pitch-form select, .pitch-form textarea {
  width: 100%;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--fill);
  padding: 13px 14px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  transition: border-color .15s ease;
}
.pitch-form textarea { resize: vertical; line-height: 1.5; }
.pitch-form select {
  appearance: none;
  padding-right: 40px;
  background: var(--fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.pitch-form option { color: #000; }
.pitch-form select:invalid, .pitch-form ::placeholder { color: var(--muted); }
.pitch-form input:focus, .pitch-form select:focus, .pitch-form textarea:focus { outline: 0; border-color: var(--text); }
.pitch-form button[type="submit"] {
  margin-top: 24px;
  padding: 15px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--text-inverse);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s ease;
}
.pitch-form button[type="submit"]:hover { opacity: .85; }
.pitch-form button[type="submit"]:disabled { opacity: .6; cursor: default; }
.pitch-form .sending-label, .pitch-form .done { display: none; }
.pitch-form[data-state="sending"] .idle-label { display: none; }
.pitch-form[data-state="sending"] .sending-label { display: inline; }
.pitch-error { margin-top: 16px; color: var(--record); font-size: 15px; }
.pitch-error:empty { display: none; }
.pitch-form[data-state="done"] > :not(.done) { display: none; }
.pitch-form[data-state="done"] .done { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; outline: 0; }
.pitch-form .done svg { width: 22px; height: 22px; fill: none; stroke: var(--voice-on); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pitch-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 600px) {
  .pitch-fields { grid-template-columns: 1fr; }
  .pitch-form button[type="submit"] { width: 100%; }
}
