/* Qualifying form.
   Not part of the cloned page. Written to sit inside the existing design system:
   it borrows the page's own tokens and the .btn styling rather than introducing
   a second visual language. */

.qualify-unit {
  max-width: 34rem;
  margin: 2.25rem auto 0;
  text-align: left;
}

.qualify-lede {
  margin: 0 0 1.5rem;
  font-size: 0.975rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.66);
  text-align: center;
}

.qualify-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
}

.field input,
.field select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 0.97rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
  appearance: none;
}

.field select {
  /* chevron, inlined so the page stays dependency-free */
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.55'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.1rem;
  padding-right: 2.6rem;
  cursor: pointer;
}

.field select option {
  color: #fff;
  background: #1a1a1a;
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.field input:focus-visible,
.field select:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.field-hint {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.45);
}

.field-error {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #ff8f7a;
  display: none;
}

.field.has-error input,
.field.has-error select {
  border-color: #ff8f7a;
}

.field.has-error .field-error {
  display: block;
}

.field.has-error .field-hint {
  display: none;
}

.qualify-submit {
  width: 100%;
  margin-top: 0.4rem;
  cursor: pointer;
  border: none;
  font: inherit;
}

.qualify-form .cta-micro {
  text-align: center;
}

/* Result panel, shown in place of the form after a valid submit. */
.qualify-result {
  padding: 1.6rem 1.4rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.qualify-result[hidden] {
  display: none;
}

.qualify-result h3 {
  margin: 0 0 0.6rem;
  font-size: 1.22rem;
  line-height: 1.3;
}

.qualify-result p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.qualify-result p:last-child {
  margin-bottom: 0;
}

.qualify-result .demo-note {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 480px) {
  .qualify-unit {
    margin-top: 1.75rem;
  }
  .field input,
  .field select {
    font-size: 1rem; /* keeps iOS from zooming the viewport on focus */
  }
}
