/* Reusable TEVEL signup form component. Scoped under #signupMount so it can be
   dropped into the real site and the demo without clashing. Tailwind tokens
   (cobalt / ink / surface) are expected on the host page. */

/* Lock the page horizontally: no sideways scroll / rubber-band "dance". */
html,body{overflow-x:hidden;overscroll-behavior-x:none;max-width:100%}

#signupMount{display:block}
#signupMount .sf-sec{background:#fff;border:1px solid #E8ECF3;border-radius:1rem;padding:1.3rem 1.4rem;margin-bottom:1rem}
#signupMount .sf-h{display:flex;align-items:center;gap:.55rem;font-size:.95rem;font-weight:800;color:#0A1530;margin-bottom:1.05rem}
#signupMount .sf-n{display:flex;align-items:center;justify-content:center;width:1.55rem;height:1.55rem;border-radius:.55rem;background:#EEF3FB;color:#2A5CB8;font-size:.8rem;font-weight:800;flex-shrink:0}
#signupMount .sf-lbl{display:block;font-size:.72rem;font-weight:600;color:#1F2937;margin-bottom:.4rem;letter-spacing:.02em}
#signupMount .sf-opt{color:#7A8AA5;font-weight:400}
#signupMount .sf-req{color:#ef4444}
#signupMount .sf-inp{width:100%;padding:.7rem .9rem;background:#FAFBFC;border:1px solid #E8ECF3;border-radius:.6rem;font-size:.9rem;transition:.15s;color:#0A1530}
#signupMount .sf-inp:focus{outline:none;border-color:#3B6FCC;background:#fff;box-shadow:0 0 0 3px rgba(59,111,204,.12)}
#signupMount .sf-inp.sf-bad{border-color:#f87171}
#signupMount .sf-grid{display:grid;gap:1rem}
@media(min-width:768px){#signupMount .sf-grid.sf-2{grid-template-columns:1fr 1fr}}
#signupMount .sf-rel{position:relative}
/* chips */
#signupMount .sf-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.65rem}
#signupMount .sf-tag{display:inline-flex;align-items:center;gap:.35rem;padding:.3rem .5rem .3rem .7rem;border-radius:999px;background:#EEF3FB;color:#1E4FBF;font-size:.8rem;font-weight:600;border:1px solid #DBE4F5}
#signupMount .sf-tag.sf-custom{background:#FFF7ED;color:#B45309;border-color:#FED7AA;border-style:dashed}
#signupMount .sf-tag button{display:flex;width:1.05rem;height:1.05rem;align-items:center;justify-content:center;border-radius:999px;color:inherit;opacity:.6;border:0;background:transparent;cursor:pointer}
#signupMount .sf-tag button:hover{opacity:1;background:rgba(0,0,0,.08)}
/* dropdown */
#signupMount .sf-dd{position:absolute;z-index:40;top:100%;inset-inline:0;margin-top:.35rem;background:#fff;border:1px solid #E8ECF3;border-radius:.7rem;box-shadow:0 14px 40px rgba(10,21,48,.14);max-height:19rem;overflow-y:auto}
#signupMount .sf-dd[hidden]{display:none}
#signupMount .sf-grp{padding:.35rem .25rem}
#signupMount .sf-gh{font-size:.68rem;font-weight:800;color:#7A8AA5;letter-spacing:.06em;padding:.3rem .8rem}
#signupMount .sf-o{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem .8rem;cursor:pointer;font-size:.86rem;color:#1F2937}
#signupMount .sf-o:hover{background:#F4F7FB}
#signupMount .sf-o.sf-sel{color:#1E4FBF;font-weight:700}
#signupMount .sf-kind{font-size:.6rem;font-weight:700;padding:.08rem .4rem;border-radius:999px;background:#F1F5F9;color:#64748B}
/* accordion */
#signupMount .sf-acc{margin-top:.75rem}
#signupMount .sf-ai{border:1px solid #E8ECF3;border-radius:.6rem;margin-bottom:.5rem;overflow:hidden}
#signupMount .sf-ah{width:100%;display:flex;align-items:center;justify-content:space-between;padding:.7rem .9rem;background:#FAFBFC;font-size:.85rem;font-weight:700;color:#0A1530;cursor:pointer;border:0}
#signupMount .sf-ah:hover{background:#F4F7FB}
#signupMount .sf-ab{padding:.7rem .9rem;display:none;flex-wrap:wrap;gap:.4rem}
#signupMount .sf-ai.sf-open .sf-ab{display:flex}
#signupMount .sf-ai.sf-open .sf-chev{transform:rotate(180deg)}
#signupMount .sf-pk{cursor:pointer;padding:.35rem .7rem;border-radius:999px;border:1px solid #E8ECF3;background:#fff;color:#1F2937;font-size:.8rem;transition:.12s}
#signupMount .sf-pk:hover{border-color:#5C8EE0}
#signupMount .sf-pk.sf-on{background:#2A5CB8;color:#fff;border-color:#2A5CB8}
#signupMount .sf-chev{transition:transform .2s}
#signupMount .sf-links{display:flex;align-items:center;gap:.75rem;margin-top:.65rem;font-size:.75rem}
#signupMount .sf-link{font-weight:600;color:#2A5CB8;cursor:pointer;display:inline-flex;align-items:center;gap:.3rem;background:0;border:0;padding:0}
#signupMount .sf-link.sf-muted{color:#5B6B85}
#signupMount .sf-link:hover{text-decoration:underline}
#signupMount .sf-banner{background:#EEF3FB;border:1px dashed #8EB1ED;color:#1E4FBF;font-size:.78rem;border-radius:.6rem;padding:.6rem .8rem;margin-top:.6rem}
#signupMount .sf-err{font-size:.7rem;color:#ef4444;margin-top:.35rem;font-weight:600}
#signupMount .sf-err[hidden]{display:none}
#signupMount .sf-note{font-size:.68rem;color:#7A8AA5;margin-top:.4rem}
#signupMount .sf-eye{position:absolute;inset-inline-start:.65rem;top:50%;transform:translateY(-50%);color:#7A8AA5;background:0;border:0;cursor:pointer;padding:0;display:flex}
/* phone with country code */
#signupMount .sf-phone{display:flex;gap:.5rem}
#signupMount .sf-cc{flex-shrink:0;width:92px;padding:.7rem .5rem;background:#FAFBFC;border:1px solid #E8ECF3;border-radius:.6rem;font-size:.85rem;color:#0A1530}
/* honeypot — visually hidden WITHOUT off-screen geometry (left:-9999 caused
   horizontal rubber-band / "dancing" on iOS) */
#signupMount .sf-hp{position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;padding:0;margin:0;border:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;opacity:0;pointer-events:none}
/* dark theme (host provides [data-theme=dark]) */
:root[data-theme="dark"] #signupMount .sf-sec{background:#111a2e;border-color:#243049}
:root[data-theme="dark"] #signupMount .sf-inp,:root[data-theme="dark"] #signupMount .sf-cc{background:#0d1526;border-color:#243049;color:#e6ecf5}
:root[data-theme="dark"] #signupMount .sf-h,:root[data-theme="dark"] #signupMount .sf-ah{color:#e6ecf5}
:root[data-theme="dark"] #signupMount .sf-dd,:root[data-theme="dark"] #signupMount .sf-ah{background:#0d1526;border-color:#243049}
:root[data-theme="dark"] #signupMount .sf-o{color:#cdd7e6}
:root[data-theme="dark"] #signupMount .sf-o:hover,:root[data-theme="dark"] #signupMount .sf-ah:hover{background:#17233b}
:root[data-theme="dark"] #signupMount .sf-pk{background:#0d1526;border-color:#243049;color:#cdd7e6}
