/* Nonstop Mortgage — lead form (rebuilt 2026-06).
   No card-in-card: the form sits directly on the page. Navy on white,
   hairlines, one thin progress bar. Inherits Manrope from nsm.css. */

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

.lf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}
.lf-back {
  background: none;
  border: 0;
  padding: 0.3rem 0.4rem 0.3rem 0;
  cursor: pointer;
  font: 600 0.9rem/1 inherit;
  font-family: inherit;
  color: var(--slate);
}
.lf-back:hover { color: var(--navy); }
.lf-count {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

.lf-bar {
  height: 3px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.lf-bar i { display: block; height: 100%; background: var(--navy); transition: width 0.35s ease; }

.lf-step { animation: lf-in 0.3s ease both; }
@keyframes lf-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.lf-q {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.4rem;
  outline: none;
  box-shadow: none;
}
.lf-q:focus, .lf-q:focus-visible { outline: none; box-shadow: none; }
.lf-sub { color: var(--slate); font-size: 0.95rem; margin: 0 0 1.6rem; }
.lf-q + .lf-opts, .lf-q + .lf-money, .lf-q + .lf-field { margin-top: 1.6rem; }

/* Options */
.lf-opts { display: flex; flex-direction: column; gap: 0.6rem; }
.lf-opt {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.95rem 1.15rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.13s, background 0.13s;
}
.lf-opt:hover { border-color: var(--navy); }
.lf-opt.is-sel { background: var(--navy); border-color: var(--navy); color: #fff; }
.lf-opt-big { padding: 1.15rem 1.25rem; }
.lf-opt-big strong { font-size: 1.05rem; font-weight: 700; }
.lf-opt-big span { font-weight: 500; font-size: 0.88rem; color: var(--slate); }
.lf-opt-big.is-sel span { color: rgba(255, 255, 255, 0.75); }

.lf-opts.lf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.lf-grid .lf-opt { align-items: center; text-align: center; padding: 0.75rem 0.5rem; font-variant-numeric: tabular-nums; }

/* Inputs */
.lf-money { position: relative; }
.lf-money::before {
  content: "$";
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate);
  font-size: 1.3rem;
  font-weight: 700;
  pointer-events: none;
}
.lf-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.13s;
}
.lf-input::placeholder { color: #a4adc0; }
.lf-input:focus { outline: none; border-color: var(--navy); box-shadow: var(--ring); }
.lf-input-money {
  padding: 1rem 1rem 1rem 2.2rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.lf-field { margin-bottom: 1rem; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.lf-label { display: block; font-size: 0.86rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }

.lf-err { color: #b42318; font-size: 0.88rem; font-weight: 500; margin: 0.7rem 0 0; min-height: 1.2rem; }

.lf-next {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 1.1rem;
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  border-radius: 10px;
  padding: 0.95rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.lf-next:hover { background: var(--navy-2); border-color: var(--navy-2); }
.lf-next:disabled { opacity: 0.55; cursor: default; }

/* Honeypot (off-screen) */
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lf-trust {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--slate);
  font-size: 0.82rem;
  font-weight: 500;
}

/* Success */
.lf-done { text-align: center; padding: 1.5rem 0 0.5rem; animation: lf-in 0.35s ease both; }
.lf-check { display: inline-flex; color: var(--navy); margin-bottom: 1.1rem; }
.lf-check svg { width: 52px; height: 52px; }
.lf-done h2 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin: 0 0 0.5rem; letter-spacing: -0.02em; }
.lf-done > p { color: var(--slate); max-width: 26rem; margin: 0 auto; }
.lf-done .lf-next { display: inline-flex; width: auto; margin-top: 1.7rem; }
.lf-alt { margin-top: 1rem; font-size: 0.92rem; color: var(--slate); }
.lf-alt a { color: var(--navy); font-weight: 700; }

@media (max-width: 600px) {
  .lf-q { font-size: 1.35rem; }
  .lf-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .lf-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .lf-step, .lf-done { animation: none; }
  .lf-bar i { transition: none; }
}
