/* Home lead form + left-edge side tab. Same DNA as home-whatsapp / home-by-need / home-pricing: Rubik 800 headline with a white violet-text pill, white 22px card, pill inputs and chips. Transparent section (page background shows through). */
.eb-home-lead{--ld-h:#24183f;--ld-ink:#243047;--ld-muted:#414d63;--ld-line:#dedff3;--ld-lilac-line:#c9c2f2;--ld-lilac:#f1edff;--ld-primary:#6846da;--ld-primary-h:#5630bd;--ld-focus:#8463e7;--ld-err:#b3261e;--ld-shadow:0 8px 28px #5366ae14;
  text-align:start;color:var(--ld-ink);padding-block:var(--eb-sec-half,48px)}
.eb-home-lead>*{max-width:760px;margin-inline:auto}
.eb-home-lead *,.eb-home-lead *::before,.eb-home-lead *::after{box-sizing:border-box}
.eb-home-lead :focus-visible{outline:3px solid var(--ld-focus);outline-offset:3px}
.eb-home-lead [hidden]{display:none}

.eb-home-lead h2.ld-hero{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:0 auto 14px;padding:0 8px;font-family:'Rubik','Heebo',Arial,sans-serif;font-weight:800;letter-spacing:0;color:var(--ld-h);font-size:clamp(30px,4.4vw,54px);line-height:1.1;text-align:start}
.eb-home-lead .ld-pill{display:inline-block;flex:none;max-width:100%;font-size:.82em;line-height:1.5;padding:0 .6em;border-radius:999px;background:#fff;color:#5a2fd0;font-weight:800;border:1px solid var(--ld-line);box-shadow:0 10px 30px #5366ae26}
.eb-home-lead p.ld-sub{margin:0 auto 28px;padding:0 8px;color:var(--ld-muted);font-size:clamp(17px,1.6vw,20px);line-height:1.6;text-align:start}

.eb-home-lead .ld-card{background:#fff;border:1px solid var(--ld-line);border-radius:22px;box-shadow:var(--ld-shadow);padding:32px 28px}
.eb-home-lead .ld-form{display:grid;gap:20px}
.eb-home-lead .ld-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.eb-home-lead .ld-field{display:grid;gap:8px;min-width:0;margin:0;padding:0;border:0}
.eb-home-lead label,.eb-home-lead legend{padding:0;font-family:Rubik,Arial,sans-serif;font-weight:500;font-size:16px;color:var(--ld-h);text-align:start}
.eb-home-lead .ld-req{color:var(--ld-err)}
.eb-home-lead .ld-opt{font-weight:400;color:var(--ld-muted);font-size:14px}

.eb-home-lead input[type=text],.eb-home-lead input[type=tel],.eb-home-lead input[type=email],.eb-home-lead textarea{
  width:100%;min-height:52px;padding:0 22px;font:inherit;font-size:16px;color:var(--ld-ink);background:#fff;border:1px solid var(--ld-lilac-line);border-radius:999px;text-align:start;box-shadow:var(--ld-shadow);transition:border-color .2s,box-shadow .2s}
.eb-home-lead input[dir=ltr]{text-align:end}
.eb-home-lead textarea{min-height:120px;padding:14px 22px;border-radius:20px;resize:vertical;line-height:1.5}
.eb-home-lead ::placeholder{color:#7d84a0;opacity:1}
.eb-home-lead input[dir=ltr]::placeholder{text-align:end}
.eb-home-lead input:hover,.eb-home-lead textarea:hover{border-color:var(--ld-focus)}
.eb-home-lead input:focus-visible,.eb-home-lead textarea:focus-visible{outline:none;border-color:var(--ld-primary);box-shadow:0 0 0 3px #6846da4d}
.eb-home-lead .is-invalid{border-color:var(--ld-err)}
.eb-home-lead .ld-err,.eb-home-lead .ld-status{margin:0;color:var(--ld-err);font-size:14px;line-height:1.4;padding-inline:6px;text-align:start}
.eb-home-lead .ld-status{font-size:15px}

/* business type: one joined control split in 3, like the active chips (selected = filled violet) */
.eb-home-lead .ld-seg{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--ld-lilac-line);border-radius:999px;background:#fff;box-shadow:var(--ld-shadow);overflow:hidden}
.eb-home-lead .ld-seg label{position:relative;display:flex;margin:0;cursor:pointer}
.eb-home-lead .ld-seg label+label{border-inline-start:1px solid var(--ld-line)}
.eb-home-lead .ld-seg input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.eb-home-lead .ld-seg span{flex:1;display:flex;align-items:center;justify-content:center;min-height:50px;padding:0 10px;text-align:center;font-family:Rubik,Arial,sans-serif;font-weight:500;font-size:16px;color:var(--ld-h);transition:background .25s,color .25s}
.eb-home-lead .ld-seg label:hover span{background:var(--ld-lilac)}
.eb-home-lead .ld-seg input:checked+span{background:var(--ld-primary);color:#fff}
.eb-home-lead .ld-seg input:focus-visible+span{outline:3px solid var(--ld-focus);outline-offset:-3px;border-radius:999px}

.eb-home-lead .ld-check{display:flex;align-items:center;gap:10px;font-family:inherit;font-weight:400;font-size:16px;color:var(--ld-muted);cursor:pointer}
.eb-home-lead .ld-check input{width:20px;height:20px;flex:none;margin:0;accent-color:var(--ld-primary)}

.eb-home-lead .ld-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.eb-home-lead .ld-submit{appearance:none;cursor:pointer;min-height:52px;padding:11px 32px;font-family:Rubik,Arial,sans-serif;font-weight:800;font-size:17px;box-shadow:0 10px 22px -10px var(--ld-primary)}
.eb-home-lead .ld-submit:hover{background:var(--ld-primary-h)}
.eb-home-lead .ld-submit:disabled{opacity:.75;cursor:wait}
.eb-home-lead .ld-note{margin:0;color:var(--ld-muted);font-size:15px;text-align:start}
.eb-home-lead .ld-done{font-family:'Rubik','Heebo',Arial,sans-serif;font-weight:500;font-size:22px;line-height:1.5;color:var(--ld-h);padding:18px 4px;text-align:start}
.eb-home-lead .ld-done:focus{outline:none}

@media (max-width:767px){
  .eb-home-lead h2.ld-hero{flex-direction:column;align-items:flex-start;gap:8px;font-size:30px;padding:0 4px}
  .eb-home-lead .ld-pill{font-size:.72em}
  .eb-home-lead p.ld-sub{padding:0 4px;font-size:17px}
  .eb-home-lead .ld-card{padding:22px 16px;border-radius:20px}
}
@media (max-width:600px){
  .eb-home-lead .ld-row{grid-template-columns:1fr;gap:20px}
  .eb-home-lead .ld-seg span{font-size:14px;padding:0 4px}
}

/* Side tab: fixed on the PHYSICAL left edge (a11y + WhatsApp floaters are on the right). Physical props on purpose (vertical writing-mode remaps logical ones). */
a.eb-lead-tab{position:fixed;left:0;right:auto;top:50%;transform:translateY(-50%);z-index:60;writing-mode:vertical-rl;display:flex;align-items:center;justify-content:center;
  padding:20px 13px;background:#6846da;color:#fff;font-family:'Rubik','Heebo',Arial,sans-serif;font-weight:700;font-size:17px;line-height:1;text-decoration:none;
  border-radius:0 14px 14px 0;box-shadow:0 8px 24px #6846da59,0 0 0 1px #ffffff55;transition:background .2s,opacity .25s}
a.eb-lead-tab:visited,a.eb-lead-tab:hover,a.eb-lead-tab:focus{color:#fff;text-decoration:none}
a.eb-lead-tab span{display:block;transform:rotate(180deg)}
a.eb-lead-tab:hover{background:#5630bd}
a.eb-lead-tab:focus-visible{outline:3px solid #24183f;outline-offset:2px}
a.eb-lead-tab.is-hidden{opacity:0;pointer-events:none;visibility:hidden}
@media (max-width:640px){
  /* pill at bottom-left, above the mobile sign-up bar (bottom 16px + 48px) */
  a.eb-lead-tab{left:16px;right:auto;top:auto;bottom:calc(80px + env(safe-area-inset-bottom,0px));transform:none;writing-mode:horizontal-tb;border-radius:999px;padding:13px 20px;font-size:15px}
  a.eb-lead-tab span{transform:none}
}
@media (prefers-reduced-motion:reduce){a.eb-lead-tab,.eb-home-lead input,.eb-home-lead textarea,.eb-home-lead .ld-seg span{transition:none}}
