/* KL Builders consultation form: black and white, KL mark, one question at a time. Type is Roboto, the face of the "BUILDERS" wordmark in their logo. */
:root { --bg: #000; --ink: #fff; --ink2: rgba(255,255,255,.72); --ink3: rgba(255,255,255,.48); --line: rgba(255,255,255,.18);
  --head: "Roboto", -apple-system, "Segoe UI", sans-serif; --sans: "Roboto", -apple-system, "Segoe UI", sans-serif; color-scheme: dark; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100svh; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 520px; min-height: 100svh; margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; }
.head { display: grid; justify-items: center; gap: 22px; margin-bottom: 34px; }
.logo { height: 42px; width: auto; display: block; }
.bar { width: 100%; height: 2px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; width: 14%; background: var(--ink); transition: width .4s cubic-bezier(.4,0,.2,1); }

.quiz { flex: 1; display: flex; flex-direction: column; }
.count { font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--ink3); margin-bottom: 10px; }
.step { border: 0; min-width: 0; }
.step legend { font: 700 27px/1.2 var(--head); font-stretch: 94%; letter-spacing: .005em; padding: 0; margin-bottom: 22px; text-wrap: balance; }
.hint { color: var(--ink2); font-size: 14.5px; margin: -10px 0 18px; }
.opts { display: grid; gap: 10px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opt { min-height: 56px; padding: 14px 18px; text-align: left; font-size: 16px; font-weight: 400; border: 1px solid var(--line); border-radius: 4px;
  transition: background .18s, color .18s, border-color .18s, transform .12s; }
.opts.two .opt { text-align: center; }
.opt:hover { border-color: rgba(255,255,255,.55); }
.opt:active { transform: scale(.985); }
.opt[aria-pressed="true"] { background: var(--ink); color: #000; border-color: var(--ink); }

.fields { display: grid; gap: 14px; }
.typein { display: grid; gap: 10px; margin-top: 12px; animation: inUp .3s cubic-bezier(.2,.7,.2,1) both; }
.typein textarea, .typein input { width: 100%; padding: 14px; font: 400 16px/1.45 var(--sans); color: var(--ink); background: transparent; border: 1px solid var(--ink);
  border-radius: 4px; outline: none; resize: vertical; -webkit-appearance: none; appearance: none; }
.typein input { height: 54px; }
.typein textarea::placeholder, .typein input::placeholder { color: rgba(255,255,255,.35); }
.tcount { font-size: 12px; color: var(--ink3); min-height: 16px; }
.tcount.ok { color: var(--ink2); }
.fields label { display: grid; gap: 7px; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); }
.fields input { width: 100%; height: 54px; padding: 0 14px; font: 400 16px/1.4 var(--sans); color: var(--ink); letter-spacing: 0; text-transform: none;
  background: transparent; border: 1px solid var(--line); border-radius: 4px; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .2s; }
.fields input:focus { border-color: var(--ink); }
.fields input[aria-invalid="true"] { border-color: #ff8a8a; }
.fields input::placeholder { color: rgba(255,255,255,.28); }
.err { padding: 12px 14px; border: 1px solid rgba(255,138,138,.5); border-radius: 4px; color: #ffc4c4; font-size: 14.5px; }
.err button { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; margin-top: 4px; background: var(--ink); color: #000;
  font: 700 14px var(--sans); font-stretch: 94%; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: opacity .2s, transform .12s; }
.btn:hover { opacity: .9; }
.btn:active { transform: scale(.99); }
.btn:disabled { opacity: .55; cursor: progress; }
.fine { font-size: 12px; line-height: 1.55; color: var(--ink3); text-align: center; margin-top: 4px; }
.back { align-self: flex-start; margin-top: 22px; padding: 6px 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); transition: color .2s; }
.back:hover { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* end screens */
.end { flex: 1; display: flex; flex-direction: column; outline: none; }
.kicker { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink3); }
.end h1 { font: 700 31px/1.15 var(--head); font-stretch: 94%; margin-top: 12px; }
.msg { color: var(--ink2); margin-top: 18px; font-size: 16.5px; }
.num { display: block; margin: 14px 0 6px; font: 700 30px/1.2 var(--head); font-stretch: 94%; letter-spacing: .02em; text-decoration: none; }
.sub { color: var(--ink2); font-size: 14.5px; margin: 0 0 22px; }
.sub a { white-space: nowrap; }
#decline .sub { margin-top: 14px; }

/* simple motion between questions */
.in-next { animation: inNext .32s cubic-bezier(.2,.7,.2,1) both; }
.in-back { animation: inBack .32s cubic-bezier(.2,.7,.2,1) both; }
.in-up { animation: inUp .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes inNext { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes inBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes inUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.out { animation: out .16s ease both; }
@keyframes out { to { opacity: 0; transform: translateX(-14px); } }

@media (min-width: 560px) {
  .wrap { padding-top: 56px; }
  .step legend { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* intro above question 1: photo, where we work, headline, three proof points; hidden from question 2 on */
.head { margin-bottom: 16px; gap: 16px; }
.logo { height: 34px; }
.intro { margin-bottom: 22px; }
.hero { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 62%; border-radius: 4px; margin-bottom: 14px; background: #111; }
.intro .kicker { margin-bottom: 8px; letter-spacing: .14em; font-size: 11px; }
.intro h1 { font: 700 24px/1.15 var(--head); font-stretch: 94%; text-wrap: balance; margin-bottom: 12px; }
.proof { list-style: none; display: grid; gap: 6px; color: var(--ink2); font-size: 14.5px; }
.proof li { padding-left: 18px; position: relative; }
.proof li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--ink); }
.quiz.started .intro { display: none; }

/* consent line under the submit button: quieter than other small print, but kept readable (it's the soft-check consent LeadFi relies on) */
.fine.consent { font-size: 10.5px; line-height: 1.5; color: rgba(255,255,255,.36); }
.fine.consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
