.contact-hero {
  text-align: center;
}

.contact-form-section {
  max-width: 560px;
  padding-top: 0;
  padding-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Honeypot field: hidden from sighted users and kept out of the tab order,
   but still present in the markup for bots to fill in and get caught. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  background: var(--surface);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
  color: var(--text-light);
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.join-btn {
  display: inline-block;
  background-color: var(--cta-bg);
  color: #fff !important;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.join-btn:hover,
.join-btn:focus {
  background-color: var(--cta-bg-hover);
  box-shadow: 0 4px 12px rgb(0 0 0 / 30%);
  outline: none;
}

.contact-form .join-btn {
  align-self: flex-start;
}

.contact-alt {
  margin-top: 1.5rem;
  color: var(--muted);
  text-align: center;
}
