/* Code Link It · Premium transparent branding and lightweight preloader
   Scoped to Code Link It site shell. Does not affect independently routed SaaS apps. */
body.cl-site .cl-brand{display:inline-flex;align-items:center;max-width:100%;min-width:0;flex:0 0 auto;line-height:1;text-decoration:none}
body.cl-site .cl-brand-image{display:block;max-width:100%;height:auto;object-fit:contain;object-position:left center;filter:drop-shadow(0 4px 18px rgba(61,126,255,.09))}
body.cl-site .cl-brand-image-header{width:clamp(165px,16vw,215px);max-height:76px}
body.cl-site .cl-brand-image-footer{width:min(100%,285px);max-height:108px;margin:0 0 12px}
body.cl-site .cl-header-row{min-height:78px}
body.cl-site .cl-footer-grid>div:first-child .cl-brand{width:100%;margin-bottom:5px!important}
body.cl-site .cl-header .cl-brand:hover .cl-brand-image{filter:drop-shadow(0 0 15px rgba(76,221,246,.21))}
body.cl-site .cl-mobile{z-index:900}
@media(max-width:1150px){body.cl-site .cl-brand-image-header{width:clamp(155px,17vw,190px)}}
@media(max-width:960px){body.cl-site .cl-brand-image-header{width:190px}body.cl-site .cl-header-row{min-height:72px}}
@media(max-width:600px){body.cl-site .cl-brand-image-header{width:164px;max-height:58px}body.cl-site .cl-header-row{min-height:66px}body.cl-site .cl-brand-image-footer{width:min(100%,250px)}}
@media(max-width:360px){body.cl-site .cl-brand-image-header{width:143px}}
/* No-JS fallback: preloader is hidden unless JS opts into the experience. */
#cli-preloader{display:none}
html.cli-js #cli-preloader{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;background:radial-gradient(circle at 50% 42%,#172956 0%,#0e1731 31%,#080d1d 79%);color:#e8f7ff;opacity:1;visibility:visible;transition:opacity .42s ease,visibility .42s ease;overscroll-behavior:contain}
html.cli-js #cli-preloader.cli-preloader-hidden{opacity:0;visibility:hidden;pointer-events:none}
#cli-preloader .cli-preloader-core{position:relative;display:flex;flex-direction:column;align-items:center;gap:15px;text-align:center;width:min(90vw,330px);padding:26px}
#cli-preloader .cli-preloader-ring{width:120px;height:120px;border-radius:50%;display:grid;place-items:center;position:relative;background:linear-gradient(145deg,rgba(26,50,94,.7),rgba(12,26,52,.55));border:1px solid rgba(127,204,248,.24);box-shadow:0 0 0 10px rgba(69,126,250,.04),0 20px 60px rgba(4,12,38,.35)}
#cli-preloader .cli-preloader-ring:before{content:"";position:absolute;inset:-8px;border:2px solid transparent;border-top-color:#5ce8f0;border-right-color:#7c71ff;border-radius:50%;animation:cliBrandOrbit 1.5s linear infinite}
#cli-preloader .cli-preloader-ring:after{content:"";position:absolute;inset:6px;border:1px solid rgba(116,169,250,.12);border-radius:50%}
#cli-preloader .cli-preloader-symbol{position:relative;width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 0 15px rgba(100,135,246,.2));animation:cliBrandPulse 1.8s ease-in-out infinite}
#cli-preloader .cli-preloader-name{margin-top:6px;font-size:19px;letter-spacing:.07em;font-weight:800;color:#f6fbff}
#cli-preloader .cli-preloader-subtitle{font-size:10px;text-transform:uppercase;letter-spacing:.25em;color:#8fe6ea;font-weight:650}
#cli-preloader .cli-preloader-track{position:relative;width:145px;height:3px;border-radius:30px;background:rgba(119,154,216,.2);overflow:hidden;margin-top:10px}
#cli-preloader .cli-preloader-track:before{content:"";display:block;width:52px;height:100%;background:linear-gradient(90deg,#5cece8,#7977ff);box-shadow:0 0 10px #6c92f9;animation:cliBrandProgress 1.1s ease-in-out infinite}
@keyframes cliBrandOrbit{to{transform:rotate(360deg)}}
@keyframes cliBrandPulse{0%,100%{transform:scale(.97);opacity:.92}50%{transform:scale(1.04);opacity:1}}
@keyframes cliBrandProgress{0%{transform:translateX(-55px)}100%{transform:translateX(150px)}}
@media(prefers-reduced-motion:reduce){#cli-preloader .cli-preloader-ring:before,#cli-preloader .cli-preloader-symbol,#cli-preloader .cli-preloader-track:before{animation:none!important}html.cli-js #cli-preloader{transition:none!important}}
