';o.addEventListener('click',function(e){if(e.target===o||e.target.className=='x')closePol();});document.body.appendChild(o);document.addEventListener('keydown',esc);}
function esc(e){if(e.key==='Escape')closePol();}
function closePol(){var o=document.getElementById('cl-pol');if(o)o.remove();document.removeEventListener('keydown',esc);}
window.clOpenPolicy=openPol;
function links(){if(document.getElementById('cl-links'))return;var d=document.createElement('div');d.id='cl-links';d.innerHTML='Terms of Service·Privacy Policy';d.addEventListener('click',function(e){var p=e.target.getAttribute('data-p');if(p)openPol(p);});document.body.appendChild(d);}
var fh=900;
function form(){var on=/^\/get-started\/?$/.test(location.pathname),fr=document.getElementById('cl-form'),root=document.documentElement;
if(!on){root.classList.remove('cl-gs');if(fr)fr.style.display='none';return;}
var s=document.getElementById(SEC);if(!s||!load())return;
root.classList.add('cl-gs');root.style.setProperty('--clh',fh+'px');
if(!fr){fr=document.createElement('iframe');fr.id='cl-form';fr.title='CapitalLine sign-up';fr.src=URL.createObjectURL(new Blob([FORM],{type:'text/html'}));document.body.appendChild(fr);}
var r=s.getBoundingClientRect(),w=Math.min(800,r.width);fr.style.display='block';fr.style.width=w+'px';fr.style.height=fh+'px';fr.style.left=(r.left+scrollX+(r.width-w)/2)+'px';fr.style.top=(r.top+scrollY)+'px';}
window.addEventListener('message',function(e){var d=e.data||{},f=document.getElementById('cl-form');if(!f)return;if(d.clFormHeight){fh=Math.max(400,d.clFormHeight+24);form();}if(d.type==='cl-signup-step'&&d.step>0){var t=f.getBoundingClientRect().top;if(t<0||t>innerHeight*.6)window.scrollBy({top:t-90,behavior:'smooth'});}});
window.addEventListener('resize',function(){try{form();}catch(_){}});
var PB=['comp-muj0d7dd','comp-muj0d7r7','comp-muj0d7wy'];
function pbA(id){var c=document.getElementById(id);if(!c)return null;return c.tagName==='A'?c:c.querySelector('a');}
function pricing(){if(!/^\/pricing\/?$/.test(location.pathname))return;PB.forEach(function(id){var a=pbA(id);if(!a)return;if(a.getAttribute('href')!=='/get-started')a.setAttribute('href','/get-started');a.removeAttribute('target');var w=document.createTreeWalker(a,NodeFilter.SHOW_TEXT);var n;while(n=w.nextNode()){if(n.nodeValue.trim()==='Book a Demo')n.nodeValue=n.nodeValue.replace('Book a Demo','Start Free Trial');}});}
document.addEventListener('click',function(e){if(!/^\/pricing\/?$/.test(location.pathname))return;for(var i=0;i