main {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  font-family: 'Cabinet Grotesk', sans-serif;
}

.heading {
  font-size: 40px;
  font-weight: 800;
  color: #f0f0f2;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  text-align: center;
}

form { display: flex; flex-direction: column; gap: 12px; }

input, textarea {
  width: 100%;
  background: #111214;
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 14px;
  color: #e8e8ec;
  outline: none;
  resize: none;
  transition: border-color 0.2s;
}

input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.18); }
input:focus, textarea:focus { border-color: rgba(255,255,255,0.22); }

button {
  background: #f0f0f2;
  color: #0b0d10;
  border: none;
  border-radius: 12px;
  padding: 13px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s cubic-bezier(0.16,1,0.3,1), opacity 0.2s;
  margin-top: 4px;
}

button:hover { transform: scale(0.98); }
button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
button.success { background: #4ade80; }

@keyframes spin { to { transform: rotate(360deg); } }
.spinning { display: inline-block; animation: spin 0.7s linear infinite; }

#form-status { font-family: 'Instrument Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.25); text-align: center; }
#form-status.error { color: #f87171; }
