/* Code Link It · Unified layout system v3 · Main website only
   Purpose: consistent photo ratios, aligned content, stable cards and mobile-first layout.
   Scoped to body.cl-site; does not modify individual SaaS application dashboards. */
body.cl-site{--cl-space:clamp(48px,6vw,84px);--cl-gutter:clamp(15px,3vw,28px);--cl-content:1200px}
body.cl-site .cl-wrap{width:min(var(--cl-content),calc(100% - 2*var(--cl-gutter)));margin-inline:auto}
body.cl-site .cl-main{min-width:0;overflow-x:clip}
body.cl-site .cl-main section,body.cl-site .cl-main article,body.cl-site .cl-main .cl-spotlight,body.cl-site .cl-main .cl-card{min-width:0}
body.cl-site .cl-main .cl-section{padding-block:var(--cl-space)}
body.cl-site .cl-main .cl-section-head{align-items:end;gap:20px;margin-bottom:32px}
body.cl-site .cl-main .cl-section-head.center{max-width:780px;margin:0 auto 35px;text-align:center}
body.cl-site .cl-main .cl-section-head.center .cl-copy{margin-inline:auto}
body.cl-site .cl-main .cl-copy{line-height:1.78;max-width:72ch;text-wrap:pretty}
body.cl-site .cl-main h1,body.cl-site .cl-main h2,body.cl-site .cl-main h3{overflow-wrap:break-word;text-wrap:balance}
body.cl-site .cl-main img{display:block;max-width:100%}
body.cl-site .cl-main .cl-grid,body.cl-site .cl-main .cl-service-grid,body.cl-site .cl-main .cl-step-list{align-items:stretch;min-width:0}
body.cl-site .cl-main .cl-card{height:100%;min-width:0;gap:0;overflow:hidden;box-shadow:0 10px 34px rgba(0,0,0,.09);border-color:#354562}
body.cl-site .cl-main .cl-card p{line-height:1.76}
body.cl-site .cl-main .cl-card .cl-card-cta{margin-top:auto;padding-top:20px;align-self:flex-start}
body.cl-site .cl-main .cl-service-grid{gap:21px}
body.cl-site .cl-main .cl-service-grid .cl-card{padding:22px 22px 24px;display:flex;flex-direction:column;align-items:stretch}
body.cl-site .cl-main .cl-service-grid .cl-card>.cl-card-icon{flex:0 0 auto;margin-top:2px}
body.cl-site .cl-main .cl-service-grid .cl-card>.cl-kicker{min-height:14px}
body.cl-site .cl-main .cl-service-grid .cl-card>h3{font-size:clamp(17px,1.8vw,20px);line-height:1.32;margin:12px 0 8px;min-height:2.55em;display:flex;align-items:flex-start}
body.cl-site .cl-main .cl-service-grid .cl-card>p{margin:0 0 12px}
body.cl-site .cl-main .cl-service-grid .cl-card>.cl-check-list{margin-top:4px;margin-bottom:4px}
body.cl-site .cl-main .cl-service-grid .cl-card>.cl-card-cta{padding-top:20px}
body.cl-site .cl-main .cl-service-art{display:block;width:100%;max-width:100%;aspect-ratio:16/10;margin:0 0 18px;border-radius:14px;overflow:hidden;border:1px solid rgba(156,180,248,.24);background:#152442}
body.cl-site .cl-main .cl-service-art img{width:100%;height:100%!important;aspect-ratio:auto;object-fit:cover;object-position:center}
body.cl-site .cl-main .cl-service-detail-art img{width:100%;height:auto;object-fit:cover}
body.cl-site .cl-main .cl-step-list .cl-step{height:100%;display:flex;flex-direction:column}
body.cl-site .cl-main .cl-step-list .cl-step h3{min-height:1.35em}
body.cl-site .cl-main .cl-grid-4>.cl-card{height:100%}
body.cl-site .cl-main .cl-grid-4>.cl-card .cl-price{overflow-wrap:anywhere}
body.cl-site .cl-main .cl-spotlight{height:100%;display:flex;flex-direction:column;justify-content:center;overflow-wrap:anywhere}
body.cl-site .cl-main .cl-two-up{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(25px,4vw,56px);align-items:center}
body.cl-site .cl-main .cl-two-up>*{min-width:0}
body.cl-site .cl-main .cl-service-focus{align-items:stretch}
body.cl-site .cl-main .cl-service-focus article{height:100%}
body.cl-site .cl-main .cl-cta-panel{gap:clamp(18px,3vw,34px);align-items:center}
body.cl-site .cl-main .cl-cta-panel>div{min-width:0;flex:1}
body.cl-site .cl-main .cl-cta-panel>.cl-btn{flex:0 0 auto;max-width:100%}
body.cl-site .cl-main .cl-chip-row{display:flex;flex-wrap:wrap;align-items:center;gap:9px;max-width:100%}
body.cl-site .cl-main .cl-chip-row .cl-btn{flex:0 0 auto}
body.cl-site .cl-main .cl-form .cl-field input,body.cl-site .cl-main .cl-form .cl-field select,body.cl-site .cl-main .cl-form .cl-field textarea{max-width:100%;min-width:0}
body.cl-site .cl-main .cl-editorial{max-width:840px}
body.cl-site .cl-main .cl-editorial p,body.cl-site .cl-main .cl-editorial li{line-height:1.84}
body.cl-site .cl-footer-grid{grid-template-columns:minmax(235px,1.5fr) repeat(3,minmax(0,1fr));gap:clamp(18px,3vw,36px)}
body.cl-site .cl-footer-grid>*{min-width:0}
body.cl-site .cl-footer-links a{overflow-wrap:anywhere}
body.cl-site .cl-header-row{gap:clamp(12px,1.5vw,25px)}
body.cl-site .cl-desktop{gap:clamp(9px,1.5vw,21px)}
body.cl-site .cl-desktop a{white-space:nowrap}
body.cl-site .cl-nav-toggle{flex:0 0 auto}

/* Photo + hero copy as one balanced composition (products, pricing, portfolio,
   about, process, contact and individual services). */
body.cl-site .cl-main .cl-split-photo-hero{padding:clamp(52px,6vw,82px) 0;background:radial-gradient(ellipse at 81% 18%,rgba(115,93,250,.17),transparent 48%),#0b1327;text-align:left}
body.cl-site .cl-main .cl-split-photo-hero>.cl-wrap{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);grid-template-areas:'eyebrow art' 'heading art' 'description art' 'actions art';grid-template-rows:auto auto auto auto;column-gap:clamp(24px,4.6vw,64px);align-items:start;align-content:center}
body.cl-site .cl-main .cl-split-photo-hero .cl-eyebrow{grid-area:eyebrow;justify-self:start;max-width:100%}
body.cl-site .cl-main .cl-split-photo-hero h1{grid-area:heading;font-size:clamp(34px,4vw,58px);line-height:1.1;letter-spacing:-.05em;max-width:none;text-align:left;margin:19px 0 16px}
body.cl-site .cl-main .cl-split-photo-hero .cl-wrap>p{grid-area:description;font-size:clamp(14px,1.3vw,17px);line-height:1.75;max-width:60ch;margin:0;text-align:left}
body.cl-site .cl-main .cl-split-photo-hero .cl-cta-row{grid-area:actions;justify-content:flex-start;margin:23px 0 0}
body.cl-site .cl-main .cl-split-photo-hero .cl-batch2-hero-figure,body.cl-site .cl-main .cl-split-photo-hero .cl-hero-inline-photo{grid-area:art;justify-self:stretch;align-self:center;width:100%;max-width:none;margin:0;border-radius:20px;overflow:hidden;box-shadow:0 24px 64px rgba(2,5,20,.28)}
body.cl-site .cl-main .cl-split-photo-hero .cl-batch2-hero-figure img,body.cl-site .cl-main .cl-split-photo-hero .cl-hero-inline-photo img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:cover;max-height:470px}
body.cl-site .cl-main .cl-split-photo-hero figcaption{font-size:10px;line-height:1.4;padding:8px 12px;background:#0c1831;color:#b4c5df}

/* SaaS Products: overview paired with copy; four identical feature tiles. */
body.cl-site .cl-main .cli-saas-products-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:32px!important}
body.cl-site .cl-main .cli-saas-product-card{min-width:0;overflow:hidden;gap:0;scroll-margin-top:102px;border:1px solid #364d74;background:linear-gradient(148deg,#13213e,#101829);box-shadow:0 16px 45px rgba(0,0,0,.16)}
body.cl-site .cl-main .cli-saas-product-heading{align-items:center!important;gap:18px!important}
body.cl-site .cl-main .cli-saas-product-heading>div:first-child{min-width:0}
body.cl-site .cl-main .cli-saas-product-heading h2{line-height:1.15;max-width:100%;overflow-wrap:break-word}
body.cl-site .cl-main .cli-saas-product-body>div:first-child{min-width:0;max-width:65ch}
body.cl-site .cl-main .cli-saas-product-body>div:first-child>.cl-copy{max-width:100%}
body.cl-site .cl-main .cli-saas-product-body .cl-check-list{gap:8px}
body.cl-site .cl-main .cli-saas-feature-grid{align-items:stretch!important;gap:15px!important}
body.cl-site .cl-main .cli-saas-feature-card{display:flex;flex-direction:column;height:100%;padding:16px!important;min-width:0;overflow:hidden;border:1px solid #365076!important;border-radius:15px!important;background:#0d1b32!important}
body.cl-site .cl-main .cli-saas-feature-img{display:block;width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;object-position:center;margin:0 0 13px;border-radius:10px;border:1px solid #344e72}
body.cl-site .cl-main .cli-saas-feature-card h3{font-size:14px;line-height:1.4;margin:0 0 8px!important;min-height:2.5em;display:flex;align-items:flex-start}
body.cl-site .cl-main .cli-saas-feature-card p{margin:0;font-size:12px;line-height:1.75}
body.cl-site .cl-main .cli-saas-product-overview{overflow:hidden;min-width:0;box-shadow:0 16px 46px rgba(0,0,0,.25);border-radius:18px}
body.cl-site .cl-main .cli-saas-product-overview img{display:block;width:100%;aspect-ratio:16/10;height:auto;object-fit:cover;object-position:center}
body.cl-site .cl-main .cli-saas-ecosystem-figure{max-width:900px;width:100%;margin:0 auto 36px;border-radius:20px}
body.cl-site .cl-main .cli-saas-ecosystem-figure img{display:block;width:100%;height:auto;aspect-ratio:896/346;object-fit:cover}
body.cl-site .cl-main .cli-saas-product-footer{align-items:center!important;gap:20px!important}
body.cl-site .cl-main .cli-saas-product-footer .cl-cta-row{flex-wrap:wrap}

/* Other editorial photos and Services hero: keep subjects centered. */
body.cl-site .cl-main .cl-services-hero .cl-services-hero-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;column-gap:clamp(23px,4vw,54px)}
body.cl-site .cl-main .cl-services-hero-copy{text-align:left}
body.cl-site .cl-main .cl-services-hero-copy>p{margin:0}
body.cl-site .cl-main .cl-services-hero-copy .cl-cta-row{justify-content:flex-start}
body.cl-site .cl-main .cl-services-hero-photo{width:100%;max-width:none;margin:0}
body.cl-site .cl-main .cl-services-hero-photo img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:cover}
body.cl-site .cl-main .cl-services-scope-photo{width:100%;max-width:590px;aspect-ratio:16/10;margin:22px 0 0}
body.cl-site .cl-main .cl-services-scope-photo img{width:100%;height:100%;object-fit:cover}
body.cl-site .cl-main .cl-services-consultation-photo{width:min(100%,390px);aspect-ratio:16/10;margin:22px 0 0}
body.cl-site .cl-main .cl-services-consultation-photo img{width:100%;height:100%;object-fit:cover}
body.cl-site .cl-main .cl-batch2-section{padding-block:16px 34px}
body.cl-site .cl-main .cl-batch2-figure{margin-inline:auto}
body.cl-site .cl-main .cl-batch2-figure img{max-width:100%}

/* Full-width, comfortable composition on large and medium screens. */
@media(min-width:1000px){
 body.cl-site .cl-main .cli-saas-product-card{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);grid-auto-rows:auto;column-gap:clamp(22px,4vw,48px);row-gap:20px}
 body.cl-site .cl-main .cli-saas-product-heading{grid-column:1/-1;grid-row:1}
 body.cl-site .cl-main .cli-saas-product-overview{grid-column:1;grid-row:2;align-self:center;width:100%;max-width:none;margin:0}
 body.cl-site .cl-main .cli-saas-product-body{display:contents}
 body.cl-site .cl-main .cli-saas-product-body>div:first-child{grid-column:2;grid-row:2;align-self:center;width:100%}
 body.cl-site .cl-main .cli-saas-feature-grid{grid-column:1/-1;grid-row:3;grid-template-columns:repeat(4,minmax(0,1fr))}
 body.cl-site .cl-main .cli-saas-product-footer{grid-column:1/-1;grid-row:4;margin-top:1px!important}
}
@media(max-width:1100px){
 body.cl-site .cl-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.cl-site .cl-footer-grid>div:first-child{grid-column:1/-1}
 body.cl-site .cl-main .cl-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:701px) and (max-width:999px){
 body.cl-site .cl-main .cli-saas-product-body{display:grid;grid-template-columns:1fr!important;gap:22px}
 body.cl-site .cl-main .cli-saas-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.cl-site .cl-main .cl-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.cl-site .cl-main .cli-saas-product-overview{width:min(100%,640px);max-width:none;margin:22px auto 0}
}
@media(max-width:960px){
 body.cl-site .cl-main .cl-split-photo-hero>.cl-wrap{grid-template-columns:minmax(0,1fr);grid-template-areas:'eyebrow' 'heading' 'description' 'art' 'actions';row-gap:0}
 body.cl-site .cl-main .cl-split-photo-hero{padding:48px 0 54px;text-align:center}
 body.cl-site .cl-main .cl-split-photo-hero .cl-eyebrow{justify-self:center}
 body.cl-site .cl-main .cl-split-photo-hero h1{font-size:clamp(32px,5.6vw,52px);max-width:780px;margin:17px auto 13px;text-align:center}
 body.cl-site .cl-main .cl-split-photo-hero .cl-wrap>p{text-align:center;max-width:760px;margin:auto}
 body.cl-site .cl-main .cl-split-photo-hero .cl-cta-row{justify-content:center;margin:22px 0 0}
 body.cl-site .cl-main .cl-split-photo-hero .cl-batch2-hero-figure,body.cl-site .cl-main .cl-split-photo-hero .cl-hero-inline-photo{margin:25px auto 0;max-width:690px}
 body.cl-site .cl-main .cl-services-hero .cl-services-hero-layout{grid-template-columns:1fr}
 body.cl-site .cl-main .cl-services-hero-copy{text-align:center}
 body.cl-site .cl-main .cl-services-hero-copy>p{margin-inline:auto}
 body.cl-site .cl-main .cl-services-hero-copy .cl-cta-row{justify-content:center}
 body.cl-site .cl-main .cl-services-hero-photo{max-width:670px;margin-inline:auto}
 body.cl-site .cl-main .cl-service-grid .cl-card>h3{min-height:0}
 body.cl-site .cl-main .cl-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.cl-site .cl-main .cl-two-up{grid-template-columns:1fr;gap:22px}
}
@media(max-width:700px){
 body.cl-site{--cl-space:52px;--cl-gutter:16px}
 body.cl-site .cl-main .cl-service-grid,body.cl-site .cl-main .cl-grid-2,body.cl-site .cl-main .cl-grid-3,body.cl-site .cl-main .cl-grid-4,body.cl-site .cl-main .cl-step-list{grid-template-columns:1fr}
 body.cl-site .cl-main .cl-section-head:not(.center){display:block}
 body.cl-site .cl-main .cl-section-head:not(.center)>.cl-btn{margin-top:15px}
 body.cl-site .cl-main .cl-service-grid{gap:16px}
 body.cl-site .cl-main .cl-service-grid .cl-card{padding:19px}
 body.cl-site .cl-main .cl-service-art{aspect-ratio:16/10}
 body.cl-site .cl-main .cl-card h3{min-height:0}
 body.cl-site .cl-main .cl-split-photo-hero h1{font-size:clamp(32px,8.5vw,43px)}
 body.cl-site .cl-main .cl-hero-inline-photo,body.cl-site .cl-main .cl-batch2-hero-figure{margin-top:22px}
 body.cl-site .cl-main .cl-split-photo-hero .cl-batch2-hero-figure img,body.cl-site .cl-main .cl-split-photo-hero .cl-hero-inline-photo img{aspect-ratio:4/3}
 body.cl-site .cl-main .cli-saas-product-card{padding:19px!important;display:flex;flex-direction:column}
 body.cl-site .cl-main .cli-saas-product-heading{align-items:flex-start!important;gap:12px!important}
 body.cl-site .cl-main .cli-saas-product-heading>div:first-child{flex-wrap:wrap;align-items:start!important}
 body.cl-site .cl-main .cli-saas-product-heading .cl-card-icon{width:48px!important;height:48px!important;font-size:20px!important;flex:0 0 48px}
 body.cl-site .cl-main .cli-saas-product-heading h2{font-size:clamp(21px,6vw,28px)!important}
 body.cl-site .cl-main .cli-saas-product-overview{width:100%;max-width:none;margin:18px 0 0}
 body.cl-site .cl-main .cli-saas-product-body{display:grid;grid-template-columns:1fr!important;gap:20px;margin-top:20px!important}
 body.cl-site .cl-main .cli-saas-feature-grid{grid-template-columns:1fr!important;gap:12px!important}
 body.cl-site .cl-main .cli-saas-feature-card{padding:15px!important}
 body.cl-site .cl-main .cli-saas-feature-card h3{min-height:0}
 body.cl-site .cl-main .cli-saas-product-footer{margin-top:22px!important;gap:15px!important}
 body.cl-site .cl-main .cli-saas-product-footer .cl-cta-row{width:100%;margin:0}
 body.cl-site .cl-main .cli-saas-product-footer .cl-cta-row .cl-btn{width:100%}
 body.cl-site .cl-main .cl-form{grid-template-columns:1fr}
 body.cl-site .cl-main .cl-form .cl-field.full{grid-column:1}
 body.cl-site .cl-main .cl-chip-row{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:9px;scrollbar-width:thin}
 body.cl-site .cl-main .cl-chip-row .cl-btn{flex-shrink:0;white-space:nowrap}
 body.cl-site .cl-main .cl-cta-panel{display:flex;flex-direction:column;align-items:stretch;padding:25px}
 body.cl-site .cl-main .cl-cta-panel>.cl-btn{width:100%}
 body.cl-site .cl-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}
 body.cl-site .cl-footer-grid>div:first-child{grid-column:1/-1}
 body.cl-site .cl-footer-bottom{flex-direction:column;text-align:center}
 body.cl-site .cl-main .cl-section .cl-spotlight{padding:24px}
}
@media(max-width:410px){
 body.cl-site{--cl-gutter:14px}
 body.cl-site .cl-main .cl-h2{font-size:clamp(27px,7vw,35px)}
 body.cl-site .cl-main .cl-card{border-radius:16px}
 body.cl-site .cl-main .cl-step{padding:20px}
 body.cl-site .cl-main .cl-service-grid .cl-card{padding:17px}
 body.cl-site .cl-main .cl-service-grid .cl-card>h3{font-size:18px}
 body.cl-site .cl-main .cl-spotlight{padding:20px}
 body.cl-site .cl-footer-grid{grid-template-columns:1fr}
 body.cl-site .cl-footer-grid>div:first-child{grid-column:auto}
 body.cl-site .cl-mobile-actions{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
 body.cl-site .cl-main .cl-card,body.cl-site .cl-main .cl-card img{transition:none!important;transform:none!important}
}
