/* Lead form — editorial dark-theme card
 * - Translucent dark card that integrates with hero image
 * - Hairline underline inputs (reference style)
 * - Natural easing, no bounce
 * - Min touch targets 44px
 */
.form-card {
  background: oklch(22% 0.04 170 / 0.72);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  color: var(--brand-cream);
  padding: 26px 22px 24px;
  margin: 28px 16px 36px;
  position: relative;
  z-index: 3;
  border: 1px solid oklch(82% 0.12 75 / 0.18);
}
@media (min-width: 900px) {
  .form-card {
    margin: 0;
    padding: 32px 30px 28px;
    align-self: start;
  }
}

.form-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid oklch(82% 0.12 75 / 0.18);
}
.form-head .title {
  font-family: 'Fraunces', serif;
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 96;
  font-size: 28px; color: var(--brand-cream); line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.form-head .sub {
  font-size: 12px; color: oklch(97% 0.012 80 / 0.6); margin-top: 6px;
}
.form-head .badge {
  flex-shrink: 0;
  padding: 5px 10px;
  background: transparent;
  color: var(--brand-peach);
  border: 1px solid oklch(82% 0.12 75 / 0.45);
  border-radius: 2px;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  font-family: 'Geist Mono', ui-monospace, monospace;
}

.steps {
  display: flex; gap: 6px; margin-bottom: 22px;
}
.steps .step {
  flex: 1; height: 2px; border-radius: 0;
  background: oklch(82% 0.12 75 / 0.18);
  transition: background var(--dur) var(--ease-out);
}
.steps .step.active { background: var(--brand-peach); }
.steps .step.done { background: oklch(82% 0.12 75 / 0.5); }

/* ===== Multi-step form ===== */
.form-card--steps { display: flex; flex-direction: column; }

/* Step dots — clickable indicators */
.step-dots {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}
.step-dot {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid oklch(82% 0.12 75 / 0.32);
  width: 9px; height: 9px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.step-dot:hover:not(:disabled) { border-color: var(--brand-peach); }
.step-dot.done {
  background: oklch(82% 0.12 75 / 0.55);
  border-color: oklch(82% 0.12 75 / 0.55);
  cursor: pointer;
}
.step-dot.active {
  background: var(--brand-peach);
  border-color: var(--brand-peach);
  transform: scale(1.18);
  box-shadow: 0 0 0 4px oklch(82% 0.12 75 / 0.18);
}
.step-dot:disabled { cursor: not-allowed; }
.step-dot:focus-visible { outline: 2px solid var(--brand-peach); outline-offset: 3px; }

/* Step progress bar */
.step-progress {
  height: 2px;
  background: oklch(82% 0.12 75 / 0.14);
  margin-bottom: 22px;
  overflow: hidden;
}
.step-progress-fill {
  height: 100%;
  background: var(--brand-peach);
  transition: width var(--dur) var(--ease-out);
}

/* Step panels — animated slide/fade per step */
.step-panel { position: relative; }
.step-fields { display: flex; flex-direction: column; }

@media (prefers-reduced-motion: no-preference) {
  .step-panel--fwd  { animation: stepInFwd  280ms var(--ease-out) both; }
  .step-panel--back { animation: stepInBack 280ms var(--ease-out) both; }
}
@keyframes stepInFwd {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes stepInBack {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Step navigation — back / next row */
.step-nav {
  display: flex; align-items: center; gap: 12px;
  margin-top: 18px;
}
.step-nav .btn-back {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: oklch(97% 0.012 80 / 0.78);
  border: 1px solid oklch(82% 0.12 75 / 0.28);
  padding: 14px 18px;
  border-radius: 0;
  font-weight: 500;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.step-nav .btn-back:hover:not(:disabled) {
  color: var(--brand-cream);
  border-color: var(--brand-peach);
}
.step-nav .btn-back:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.step-nav .btn-back svg { transition: transform var(--dur-fast) var(--ease-out); }
.step-nav .btn-back:hover:not(:disabled) svg { transform: translateX(-3px); }

/* Submit/Next button takes the remaining width inside step-nav */
.step-nav .submit-btn {
  flex: 1;
  margin-top: 0;
}
/* Back button stays compact */
.step-nav .btn-back { flex: 0 0 auto; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 10px; font-weight: 500;
  color: var(--brand-peach); margin-bottom: 8px;
  letter-spacing: 0.18em; text-transform: uppercase;
  font-family: 'Geist Mono', ui-monospace, monospace;
}
.field label .req { color: var(--danger); margin-left: 2px; }
.field .hint {
  font-size: 11px; color: oklch(97% 0.012 80 / 0.55); margin-top: 6px; line-height: 1.45;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid oklch(82% 0.12 75 / 0.28);
  border-radius: 0;
  font: inherit; font-size: 14px;
  color: var(--brand-cream);
  min-height: 40px;
  transition: border-color var(--dur-fast) var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--brand-peach);
}
.field input::placeholder { color: oklch(97% 0.012 80 / 0.4); }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23E8C690' stroke-width='1.5' d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  color: var(--brand-cream);
}
.field select option {
  background: var(--brand-green-ink);
  color: var(--brand-cream);
}

.phone-row {
  display: grid; grid-template-columns: 70px 1fr; gap: 12px;
  align-items: end;
}
.phone-row .cc {
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid oklch(82% 0.12 75 / 0.28);
  font-size: 14px; color: var(--brand-peach); font-weight: 500;
  display: flex; align-items: center; justify-content: flex-start; gap: 4px;
  min-height: 40px;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-bottom-color: var(--danger);
}
.field .err {
  font-size: 11px; color: var(--danger); margin-top: 6px; display: none;
  font-weight: 500;
}
.field.invalid .err { display: block; }

/* Radio chip group */
.radio-group { display: grid; gap: 8px; grid-template-columns: 1fr; }
.radio-group.cols-2 { grid-template-columns: 1fr 1fr; }
.radio-group.cols-3 { grid-template-columns: repeat(3, 1fr); }

.field label.radio-chip {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px;
  margin-bottom: 0;
  background: oklch(97% 0.012 80 / 0.04);
  border: 1px solid oklch(82% 0.12 75 / 0.18);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  position: relative;
  min-height: 44px;
  /* Reset inherited .field label styles */
  text-transform: none;
  letter-spacing: 0;
  font-family: inherit;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.radio-chip input {
  position: absolute; opacity: 0; pointer-events: none;
}
.radio-chip .dot {
  flex-shrink: 0;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50%;
  border: 1px solid oklch(82% 0.12 75 / 0.45);
  margin-top: 2px;
  transition: all var(--dur-fast) var(--ease-out);
  position: relative;
  display: block;
}
.radio-chip .label-txt { font-size: 13px; line-height: 1.45; color: oklch(97% 0.012 80 / 0.85); }
.radio-chip .label-txt strong {
  color: var(--brand-cream); font-weight: 450;
  display: block; font-size: 13px; margin-bottom: 2px; letter-spacing: 0;
  font-family: 'Fraunces', serif;
}
.radio-chip .label-txt .s { font-size: 11px; color: oklch(97% 0.012 80 / 0.55); }
.radio-chip:hover { border-color: oklch(82% 0.12 75 / 0.45); }
.radio-chip.selected {
  border-color: var(--brand-peach);
  background: oklch(82% 0.12 75 / 0.08);
}
.radio-chip.selected .dot {
  border-color: var(--brand-peach);
  background: var(--brand-peach);
  box-shadow: inset 0 0 0 3px var(--brand-green-ink);
}
.radio-chip.danger.selected {
  border-color: var(--danger);
  background: oklch(52% 0.16 32 / 0.1);
}
.radio-chip.danger.selected .dot {
  border-color: var(--danger);
  background: var(--danger);
  box-shadow: inset 0 0 0 3px var(--brand-green-ink);
}

/* Disqualifier notice */
.disqualify-notice {
  margin-top: 12px;
  padding: 13px 15px;
  background: oklch(52% 0.16 32 / 0.12);
  border: 1px solid oklch(52% 0.16 32 / 0.32);
  border-radius: 2px;
  font-size: 12px;
  color: oklch(82% 0.10 32);
  line-height: 1.55;
  display: none;
  text-wrap: pretty;
}
.disqualify-notice.show { display: block; }
.disqualify-notice strong { color: oklch(90% 0.10 32); }

/* Checkbox */
label.checkbox {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  margin: 18px 0 12px;
  min-height: auto;
  /* Reset inherited .field label styles */
  text-transform: none;
  letter-spacing: 0;
  font-family: inherit;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.checkbox input {
  position: absolute; opacity: 0; pointer-events: none;
}
.checkbox .box {
  flex-shrink: 0;
  width: 16px !important;
  height: 16px !important;
  border-radius: 2px;
  border: 1px solid oklch(82% 0.12 75 / 0.45);
  margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast) var(--ease-out);
}
.checkbox .box svg { width: 10px; height: 10px; stroke: var(--brand-green-ink); stroke-width: 3; fill: none; opacity: 0; }
.checkbox.checked .box {
  background: var(--brand-peach); border-color: var(--brand-peach);
}
.checkbox.checked .box svg { opacity: 1; }
.checkbox .label-txt {
  font-size: 12px; line-height: 1.55;
  color: oklch(97% 0.012 80 / 0.7);
  text-wrap: pretty;
}
.checkbox .label-txt a {
  color: var(--brand-peach); text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: oklch(82% 0.12 75 / 0.45);
}
.checkbox .label-txt strong { color: var(--brand-cream); font-weight: 500; }

.submit-btn {
  width: 100%;
  background: var(--brand-peach);
  color: var(--brand-green-ink);
  border: 1px solid var(--brand-peach);
  padding: 18px 20px;
  border-radius: 0;
  font-weight: 500;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
  margin-top: 14px;
  min-height: 48px;
  font-family: inherit;
}
.submit-btn:hover:not(:disabled) {
  background: transparent;
  color: var(--brand-peach);
}
.submit-btn:disabled { opacity: .35; cursor: not-allowed; }
.submit-btn .arrow { transition: transform var(--dur-fast) var(--ease-out); }
.submit-btn:hover:not(:disabled) .arrow { transform: translateX(4px); }

.form-trust {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid oklch(82% 0.12 75 / 0.18);
  display: flex; align-items: center; justify-content: center; gap: 22px;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: oklch(97% 0.012 80 / 0.55);
  font-family: 'Geist Mono', ui-monospace, monospace;
}
.form-trust span { display: inline-flex; align-items: center; gap: 6px; }
.form-trust svg { width: 11px; height: 11px; opacity: 0.7; }

.callback-line {
  font-size: 11px; color: oklch(97% 0.012 80 / 0.55); text-align: center;
  margin-top: 12px; line-height: 1.55;
}
.callback-line strong { color: var(--brand-peach); font-weight: 500; }
