/* Kailvex Stable V5 — responsive spacing, map presentation, insights hierarchy and chat CTA */
:root{--kv5-blue:#075ddd;--kv5-cyan:#0aa8ff;--kv5-ink:#06142d;--kv5-muted:#60728a;--kv5-line:#dbe6f2;--kv5-shadow:0 22px 60px rgba(5,35,85,.09)}

/* Home brand and trust bands must stay inside the same content width. */
.brand-clarity{position:relative!important;z-index:3!important;padding:20px 0 0!important;border:0!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;overflow:visible!important}
.brand-clarity__inner{width:min(calc(100% - 48px),1240px)!important;min-height:78px;margin-inline:auto!important;display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(260px,.9fr) auto!important;align-items:center!important;gap:24px!important;padding:20px 24px!important;border:1px solid var(--kv5-line)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 14px 40px rgba(4,35,88,.055)!important}
.brand-clarity strong{font-size:.88rem!important;line-height:1.45!important}.brand-clarity span{font-size:.78rem!important;line-height:1.55!important}.brand-clarity a{justify-self:end!important;white-space:nowrap!important}
.trust-strip{position:relative!important;z-index:2!important;margin:0!important;padding:16px 0 54px!important;background:linear-gradient(180deg,#f8fbff,#fff)!important;overflow:visible!important}
.trust-strip__inner{position:relative!important;inset:auto!important;transform:none!important;width:min(calc(100% - 48px),1240px)!important;margin-inline:auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;border:1px solid var(--kv5-line)!important;border-radius:24px!important;background:#fff!important;box-shadow:var(--kv5-shadow)!important;overflow:hidden!important}
.trust-point{min-height:76px!important;padding:16px 18px!important;border:0!important;border-right:1px solid var(--kv5-line)!important;border-bottom:1px solid var(--kv5-line)!important;font-size:.78rem!important;line-height:1.45!important}
.trust-point:nth-child(3n){border-right:0!important}.trust-point:nth-child(n+4){border-bottom:0!important}

/* Delivery footprint — readable copy, large map and no unused desktop space. */
.footprint-section{padding:90px 0!important;overflow:hidden!important;background:radial-gradient(circle at 92% 12%,rgba(7,141,255,.09),transparent 30%),linear-gradient(180deg,#fff,#f7fbff)!important}
.footprint-grid{width:min(calc(100% - 48px),1320px)!important;display:grid!important;grid-template-columns:1fr!important;gap:34px!important;align-items:start!important}
.footprint-copy{width:min(100%,920px)!important;margin-inline:auto!important;text-align:center!important}
.footprint-copy .eyebrow{justify-content:center!important}.footprint-copy h2{max-width:900px!important;margin:16px auto 0!important;font-size:clamp(2.35rem,4.25vw,4.6rem)!important;line-height:.98!important;letter-spacing:-.045em!important}.footprint-copy>p{max-width:800px!important;margin:22px auto 0!important;font-size:clamp(.96rem,1.25vw,1.08rem)!important;line-height:1.78!important}.footprint-list{max-width:880px!important;margin:26px auto 0!important;display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:10px!important}.footprint-list span{padding:10px 14px!important;border:1px solid #d4e4f3!important;border-radius:999px!important;background:#fff!important;box-shadow:0 8px 22px rgba(4,35,88,.04)!important;font-size:.78rem!important}.footprint-note{max-width:820px!important;margin-top:20px!important;font-size:.77rem!important}.footprint-actions{justify-content:center!important;margin-top:24px!important}
.delivery-map-card{width:min(88vw,1160px)!important;margin:0 auto!important;padding:15px!important;border-radius:34px!important}.delivery-map-card img{width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;border-radius:22px!important}.delivery-map-card figcaption{justify-content:center!important;gap:12px 26px!important;padding:14px 12px 3px!important;text-align:center!important}

/* Article pages — editorial scale, not landing-page scale. */
.article-hero{padding-top:118px!important;padding-bottom:58px!important}.article-hero>.container{width:min(calc(100% - 48px),1240px)!important}.article-hero__grid{grid-template-columns:minmax(0,1.08fr) minmax(300px,.72fr)!important;gap:42px!important;align-items:center!important}.article-hero__copy h1,.article-hero h1{max-width:780px!important;font-size:clamp(2.25rem,3.55vw,3.85rem)!important;line-height:1.02!important;letter-spacing:-.04em!important}.article-hero__copy .lead,.article-hero .lead{max-width:760px!important;font-size:clamp(.96rem,1.2vw,1.05rem)!important;line-height:1.72!important}.article-hero__visual{min-height:320px!important}.article-layout{width:min(calc(100% - 48px),1240px)!important;grid-template-columns:250px minmax(0,1fr)!important;gap:44px!important}.article-content h2{font-size:clamp(1.85rem,2.8vw,3rem)!important;line-height:1.08!important}.article-content h3{font-size:clamp(1.28rem,1.8vw,1.75rem)!important;line-height:1.2!important}

/* Consistent chat CTA — simple legible speech icon. */
.kv-contact-float,.kv-contact-float.is-contact-fallback{right:18px!important;bottom:18px!important;min-height:58px!important;padding:8px 17px 8px 8px!important;gap:10px!important;border:1px solid rgba(255,255,255,.72)!important;color:#fff!important;background:linear-gradient(135deg,#0756db,#0aa8ff)!important;box-shadow:0 20px 50px rgba(7,93,226,.32)!important}
.kv-contact-float__icon{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#fff!important;color:var(--kv5-blue)!important;box-shadow:0 5px 14px rgba(3,31,78,.15)!important}.kv-contact-float__icon svg{width:24px!important;height:24px!important;fill:none!important;stroke:var(--kv5-blue)!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}.kv-contact-float__text{font-size:.78rem!important;font-weight:900!important;color:#fff!important;white-space:nowrap!important}

/* General responsive safety across all page families. */
.site-main,main,section{min-width:0}.container{max-width:100%}img,svg,video,canvas,iframe{max-width:100%}.section-head,.seo-hero-grid,.hero-workspace,.portfolio-card,.case-study-card,.insight-card,.tool-card{min-width:0}.btn,.filter-btn,.tool-filter{max-width:100%}.article-content table,.legal-content table{display:block;max-width:100%;overflow-x:auto}.article-content pre,.article-content code{max-width:100%;overflow-x:auto}

@media(max-width:1100px){
 .brand-clarity__inner{grid-template-columns:1fr auto!important}.brand-clarity__inner span{grid-column:1/-1!important;grid-row:2!important}.brand-clarity__inner a{grid-column:2!important;grid-row:1!important}
 .footprint-section{padding:72px 0!important}.delivery-map-card{width:min(calc(100% - 32px),980px)!important}
 .article-hero__grid{grid-template-columns:1fr!important}.article-hero__visual{width:min(100%,760px)!important;margin-inline:auto!important}.article-hero__copy{text-align:left!important}
}
@media(max-width:820px){
 .brand-clarity__inner{width:min(calc(100% - 32px),720px)!important;grid-template-columns:1fr!important;text-align:center!important}.brand-clarity__inner span,.brand-clarity__inner a{grid-column:1!important;grid-row:auto!important;justify-self:center!important}
 .trust-strip{padding-top:14px!important;padding-bottom:42px!important}.trust-strip__inner{width:min(calc(100% - 32px),720px)!important;grid-template-columns:1fr 1fr!important}.trust-point:nth-child(3n){border-right:1px solid var(--kv5-line)!important}.trust-point:nth-child(2n){border-right:0!important}.trust-point:nth-child(n+4){border-bottom:1px solid var(--kv5-line)!important}.trust-point:nth-child(n+5){border-bottom:0!important}
 .footprint-grid{width:min(calc(100% - 32px),760px)!important}.footprint-copy h2{font-size:clamp(2.1rem,8vw,3.35rem)!important}.delivery-map-card{width:100%!important;padding:10px!important;border-radius:26px!important}.delivery-map-card figcaption{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;text-align:left!important}.delivery-map-card figcaption span{justify-content:flex-start!important}
 .article-hero{padding-top:106px!important}.article-hero>.container,.article-layout{width:min(calc(100% - 32px),760px)!important}.article-hero__copy h1,.article-hero h1{font-size:clamp(2.05rem,8.5vw,3.15rem)!important}.article-hero__visual{min-height:290px!important}.article-layout{display:block!important}.article-toc{position:relative!important;top:auto!important;margin:0 0 32px!important}
}
@media(max-width:560px){
 .brand-clarity{padding-top:14px!important}.brand-clarity__inner{width:calc(100% - 24px)!important;padding:18px 16px!important;border-radius:18px!important}.brand-clarity strong{font-size:.82rem!important}.brand-clarity span{font-size:.72rem!important}
 .trust-strip__inner{width:calc(100% - 24px)!important;grid-template-columns:1fr!important;border-radius:18px!important}.trust-point{min-height:58px!important;border-right:0!important;border-bottom:1px solid var(--kv5-line)!important}.trust-point:last-child{border-bottom:0!important}
 .footprint-section{padding:58px 0!important}.footprint-grid{width:calc(100% - 24px)!important;gap:24px!important}.footprint-copy h2{font-size:clamp(1.95rem,11vw,2.75rem)!important}.footprint-copy>p{font-size:.92rem!important}.footprint-list{display:grid!important;grid-template-columns:1fr!important}.footprint-list span{justify-content:flex-start!important;text-align:left!important}.footprint-actions{display:grid!important;grid-template-columns:1fr!important}.footprint-actions .btn{width:100%!important}.delivery-map-card{padding:7px!important;border-radius:20px!important}.delivery-map-card img{border-radius:15px!important}.delivery-map-card figcaption{font-size:.64rem!important;padding-inline:7px!important}
 .article-hero>.container,.article-layout{width:calc(100% - 24px)!important}.article-hero__copy h1,.article-hero h1{font-size:clamp(1.95rem,10.2vw,2.65rem)!important;line-height:1.04!important}.article-hero__visual{min-height:250px!important;padding:16px!important;border-radius:22px!important}.article-meta{gap:8px 13px!important;font-size:.72rem!important}.article-content h2{font-size:clamp(1.65rem,8vw,2.25rem)!important}
 .kv-contact-float{right:12px!important;bottom:12px!important;width:56px!important;height:56px!important;min-height:56px!important;padding:0!important;justify-content:center!important}.kv-contact-float__text{display:none!important}.kv-contact-float__icon{width:42px!important;height:42px!important}
}
@media(prefers-reduced-motion:reduce){.delivery-map-card::after{animation:none!important}}


/* Stable V5.1 — requested editorial heading sizes and segmented HTML sitemap. */
.case-study-content h2 {
    font-size: 22px;
}
.article-content h2 {
    font-size: 22px !important;
}

.html-sitemap-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 34px;
}
.html-sitemap-group {
    min-width: 0;
    padding: 24px;
    border: 1px solid #dbe7f3;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(4, 35, 88, .055);
}
.html-sitemap-group h3 {
    margin: 0 0 14px;
    color: #071225;
    font-size: 1.08rem;
    line-height: 1.25;
}
.html-sitemap-group ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.html-sitemap-group a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #49617d;
    font-size: .82rem;
    font-weight: 750;
    line-height: 1.45;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.html-sitemap-group a:hover,
.html-sitemap-group a:focus-visible {
    color: #075ce2;
    background: #f1f7ff;
    transform: translateX(3px);
}
@media (max-width: 980px) {
    .html-sitemap-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .html-sitemap-groups { grid-template-columns: 1fr; gap: 16px; }
    .html-sitemap-group { padding: 20px; border-radius: 20px; }
}


/* === Stable V5.3 pricing navigation and SEO report fixes === */
.nav-product--pricing .nav-product__menu{width:320px}
.nav-product--pricing .nav-product__menu a{grid-template-columns:44px minmax(0,1fr);align-items:center}
.nav-product--pricing .nav-product__menu strong,.nav-product--pricing .nav-product__menu small{white-space:normal;overflow-wrap:normal;word-break:normal}
.seo-content-expansion__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.seo-content-expansion__grid>div{padding:30px;border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:0 16px 40px rgba(4,35,88,.055)}
.seo-content-expansion__grid h2{margin-top:12px;font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.08}
.seo-content-expansion__grid p{margin-top:15px;color:var(--muted);line-height:1.75}
@media(max-width:1220px) and (min-width:861px){.nav__links{gap:14px}.nav__link,.nav-product summary{font-size:.79rem}.nav__actions .btn{padding-left:18px;padding-right:18px}}
@media(max-width:860px){.nav-product--pricing .nav-product__menu{width:100%}.seo-content-expansion__grid{grid-template-columns:1fr}}
