.section-form {
  scroll-margin-top: 24px;
  background:
    radial-gradient(circle at top right, rgba(105, 200, 235, 0.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(185, 242, 124, 0.08), transparent 30%),
    var(--panel);
}

.form-shell {
  margin-top: 28px;
  padding: 30px;
}

.lead-form {
  display: grid;
  gap: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 10px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.field-counter {
  color: var(--muted);
  font-size: 0.88rem;
}

label {
  font-weight: 700;
  color: var(--text);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.95rem 1rem;
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

input::placeholder,
textarea::placeholder {
  color: #8394ad;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(130, 184, 255, 0.56);
  box-shadow: 0 0 0 4px rgba(130, 184, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.field-hint,
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.checkbox-field {
  padding-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted-strong);
}

.checkbox-label a {
  color: var(--accent-warm);
  font-weight: 800;
}

.checkbox-label input {
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  padding: 0;
}

.form-message {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.form-message[data-state="info"] {
  color: var(--text);
  background: rgba(130, 184, 255, 0.14);
  border: 1px solid rgba(130, 184, 255, 0.24);
}

.form-message[data-state="success"] {
  color: var(--success);
  background: rgba(155, 244, 182, 0.12);
  border: 1px solid rgba(155, 244, 182, 0.26);
}

.form-message[data-state="error"] {
  color: var(--danger);
  background: rgba(255, 142, 142, 0.1);
  border: 1px solid rgba(255, 142, 142, 0.24);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form-footer .btn {
  min-width: 240px;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: rgba(255, 142, 142, 0.64);
  box-shadow: 0 0 0 4px rgba(255, 142, 142, 0.09);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 124px;
  }

  .page-shell {
    width: min(100% - 20px, 1240px);
    padding-top: 0;
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 0 0 24px 24px;
    padding: 14px 16px;
  }

  .header-left {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    width: 100%;
  }

  .hero-copy,
  .hero-panel,
  .section,
  .form-shell {
    padding: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .status-text {
    display: none;
  }

  .section-form {
    scroll-margin-top: 24px;
  }

  .form-grid,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .field-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
