/* Two-step fit-call form (assets/fitform.js). A white card that sits on light or dark sections. */
.ff { --ff-ink: #11140e; --ff-muted: #4c5246; --ff-line: rgba(17,20,14,.16); --ff-acc: #4f46e5; --ff-grad: linear-gradient(135deg, #4f46e5, #7c3aed);
  width: 100%; max-width: 620px; margin: 0 auto; text-align: left; background: #fff; color: var(--ff-ink); border: 1px solid rgba(17,20,14,.1); border-radius: 24px; padding: 24px; box-shadow: 0 30px 70px -40px rgba(79,70,229,.55); font: 400 15.5px/1.5 Inter, Geist, system-ui, sans-serif; }
.ff form { display: grid; gap: 14px; margin: 0; }
.ff-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ff-title { font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.ff-step { font-size: 13px; color: var(--ff-muted); white-space: nowrap; } .ff-step i { font-style: normal; font-weight: 700; color: var(--ff-ink); }
.ff-bar { height: 4px; border-radius: 4px; background: rgba(17,20,14,.08); overflow: hidden; }
.ff-bar i { display: block; height: 100%; width: 50%; border-radius: inherit; background: var(--ff-grad); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.ff-on2 .ff-bar i { width: 100%; }
.ff-s { display: grid; gap: 14px; } .ff-s[hidden] { display: none; }
.ff-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ff label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ff-ink); }
.ff input:not([type=radio]) { font: inherit; color: var(--ff-ink); background: #f4f5ef; border: 1px solid var(--ff-line); border-radius: 12px; padding: 12px 14px; width: 100%; min-width: 0; min-height: 46px; transition: border-color .2s, box-shadow .2s, background .2s; }
.ff input:not([type=radio]):focus { outline: none; background: #fff; border-color: var(--ff-acc); box-shadow: 0 0 0 4px rgba(99,102,241,.15); }
.ff [aria-invalid="true"] { border-color: #e11d48 !important; }
.ff-hp { position: absolute !important; left: -9999px; width: 1px !important; height: 1px; opacity: 0; }
.ff-q { display: grid; gap: 8px; } .ff-q > span { font-size: 13.5px; font-weight: 600; }
.ff-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ff-chips input { position: absolute; opacity: 0; pointer-events: none; }
.ff-chips label { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ff-line); background: #f4f5ef; font-size: 14px; font-weight: 500; color: var(--ff-muted); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ff-chips label:hover { border-color: rgba(79,70,229,.45); color: var(--ff-ink); }
.ff-chips input:checked + label { background: var(--ff-grad); border-color: transparent; color: #fff; }
.ff-chips input:focus-visible + label { outline: 2px solid var(--ff-acc); outline-offset: 2px; }
.ff-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 14px 22px; border: 0; border-radius: 999px; background: var(--ff-grad); color: #fff; font: 600 16.5px/1 Inter, Geist, system-ui, sans-serif; cursor: pointer; text-decoration: none; transition: transform .2s, box-shadow .25s; box-shadow: 0 10px 26px -12px rgba(99,102,241,.8); }
.ff-btn:hover { transform: translateY(-1px); } .ff-btn[disabled] { opacity: .65; cursor: wait; }
.ff-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.ff-back { background: none; border: 0; padding: 12px 8px; font: 500 14.5px Inter, Geist, system-ui, sans-serif; color: var(--ff-muted); cursor: pointer; }
.ff-back:hover { color: var(--ff-ink); }
.ff-msg { margin: 0; font-size: 13.5px; color: var(--ff-muted); text-align: center; } .ff-msg.err { color: #be123c; }
.ff-done { display: grid; gap: 10px; justify-items: start; padding: 10px 4px; outline: none; } .ff-done[hidden] { display: none; }
.ff-tick { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ff-grad); color: #fff; font-size: 20px; font-weight: 700; }
.ff-done b { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.ff-done p { margin: 0; color: var(--ff-muted); font-size: 16px; }
.ff-link { color: #4338ca; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.ff-local { color: #be123c; font-size: 12.5px; }
.final .ff { margin-top: 28px; }
@media (max-width: 560px) { .ff { padding: 18px; border-radius: 20px; } .ff-two { grid-template-columns: 1fr; } .ff-title { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .ff *, .ff { transition: none !important; } }
/* dark closing sections style their own <p>; keep the card's text its own */
.final .ff .ff-msg, .ff .ff-msg { color: var(--ff-muted); font-size: 13.5px; margin: 0; max-width: none; }
.final .ff .ff-msg.err, .ff .ff-msg.err { color: #be123c; }
.final .ff .ff-done p, .ff .ff-done p { color: var(--ff-muted); font-size: 16px; margin: 0; max-width: none; }
.final .ff .ff-done b, .final .ff .ff-title { color: var(--ff-ink); }
