/* Quantize v3 adapter for the reusable smart form.
 * Load after smart-form.css. All rules stay scoped to the component.
 */
.qz-smart-form,
.qz-smart-form .lead-form {
  --lf-surface: var(--page-raised, #050505);
  --lf-surface-soft: color-mix(in srgb, var(--page-raised, #050505) 92%, var(--ink, #fff) 8%);
  --lf-heading: var(--ink, #fff);
  --lf-body: var(--mut7, rgba(255, 255, 255, 0.7));
  --lf-muted: var(--mut, rgba(255, 255, 255, 0.6));
  --lf-border: var(--hair, rgba(255, 255, 255, 0.18));
  --lf-border-strong: color-mix(in srgb, var(--ink, #fff) 28%, transparent);
  --lf-accent: var(--cta-sky, #a8dcff);
  --lf-accent-hover: var(--cta-sky-hover, #c4e9ff);
  --surface-cinematic: var(--page, #000);
  --interactive-negative: var(--qz-form-error, #ff9a9a);
  --tone-black: #000;
  --nav-height: 51px;
  font-family: var(--font-d, "Helvetica Neue", Arial, sans-serif);
}

html[data-theme="light"] .qz-smart-form {
  --qz-form-error: #a4262c;
}

.qz-smart-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.qz-smart-form .btn-primary {
  border-color: var(--lf-accent);
  background: var(--lf-accent);
  color: var(--cta-ink, #071722);
}

.qz-smart-form .btn-primary:hover {
  border-color: var(--lf-accent-hover);
  background: var(--lf-accent-hover);
}

.qz-smart-form .btn-primary:active {
  transform: translateY(1px);
}

.qz-smart-form .btn-primary:focus-visible {
  outline: 2px solid var(--lf-accent);
  outline-offset: 3px;
}

.qz-smart-form .lf-error {
  color: var(--qz-form-error, #ff9a9a);
}

.qz-smart-form .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .qz-smart-form .btn {
    transition: none;
  }
}
