/* Public presentation. Content and navigation share 1400px; hero and footer retain 1600px. */
:root {
    --content-max: 1400px;
    --wide-max: 1600px;
    --page-gutter: max(24px, calc((100% - var(--content-max)) / 2));
}
.topbar { min-height:34px; height:auto; padding-block:8px; font-size:12px; letter-spacing:.015em; gap:24px; }
.site-header { display:block; height:auto; padding:0; background:rgba(255,255,255,.98); }
.header-inner { width:min(var(--content-max),calc(100% - 48px)); min-height:88px; margin-inline:auto; display:grid; grid-template-columns:180px minmax(0,1fr) auto; align-items:center; gap:32px; }
.primary-nav { justify-content:center; margin:0; font-size:16px; font-weight:500; gap:24px; }
.primary-nav>a,.nav-group>a { min-height:88px; white-space:nowrap; }
.nav-group { align-self:stretch; }
.header-cta { display:inline-flex; align-items:center; gap:6px; min-height:48px; padding:13px 18px; font-size:14px; font-weight:600; border:1px solid #125cf0; background:#346cfa; box-shadow:0 9px 25px #1557d914; }
.nav-submenu-toggle { font-size:15px; color:#526b81; }
.product-mega { top:calc(100% - 1px); width:min(var(--content-max),calc(100vw - 48px)); padding:28px 30px; border-top:3px solid #346cfa; border-radius:0 0 16px 16px; box-shadow:0 30px 60px #09223826; overscroll-behavior:contain; }
.mega-heading { gap:24px; padding:0 4px 22px; }
.mega-heading>span { min-width:0; }
.mega-heading small { display:block; margin-bottom:7px; font-size:11px; font-weight:600; letter-spacing:.1em; color:#125dd8; }
.mega-heading b { display:block; font-size:18px; line-height:1.45; font-weight:600; }
.mega-heading>a { flex:0 0 auto; background:#eff5ff; padding:12px 16px; border-radius:8px; font-size:13px; font-weight:500; }
.mega-categories { grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; padding-top:24px; }
.mega-category { min-width:0; gap:4px; }
.mega-category>strong { margin-bottom:5px; padding:0 8px 12px; border-bottom:1px solid #e4edf4; font-size:12px; line-height:1.5; font-weight:500; letter-spacing:.06em; }
.mega-category>a { min-width:0; gap:14px; padding:10px 8px; min-height:62px; color:#112b43; transition:background .18s,color .18s; }
.mega-category i { width:40px; height:40px; padding:9px; border:1px solid color-mix(in srgb,var(--product-color) 30%,#e7eef5); background:white; border-radius:10px; box-shadow:0 5px 15px #18375308; }
.mega-product-copy { display:block; min-width:0; }
.mega-product-copy b { display:block; font-size:15px; font-weight:500; line-height:1.45; }
.mega-product-copy small { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:#597086; font-size:12px; line-height:1.6; margin-top:4px; }
.service-menu { top:calc(100% - 1px); }
.service-menu a { font-size:15px; font-weight:400; }

/* A continuous hover target from the header to both dropdowns. */
.nav-group:not(.product-nav-group) { height:100%; }
.cms-container { width:min(var(--content-max),calc(100% - 48px)); }
.cms-section { padding-block:84px; }
.cms-section h2 { font-size:clamp(35px,2vw,54px); }
.cms-hero { --accent-ink:color-mix(in srgb,var(--accent) 72%,#071929); color:#0b2138; padding-block:92px; background:linear-gradient(115deg,color-mix(in srgb,var(--accent) 8%,white),#fff 57%,color-mix(in srgb,var(--accent) 5%,#faf8ff)); border-bottom:1px solid #eaf0f5; }
.cms-hero-layout { width:min(var(--wide-max),calc(100% - 64px)); display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:clamp(48px,5vw,100px); align-items:center; }
.cms-hero .cms-copy { max-width:780px; }
.cms-hero h1 { font-size:clamp(42px,4.5vw,76px); font-weight:400; line-height:1.08; letter-spacing:-.04em; text-wrap:balance; }
.cms-hero .cms-eyebrow { color:var(--accent-ink); margin-bottom:26px; font-size:14px; font-weight:500; letter-spacing:.08em; }
.cms-hero .cms-lead { font-size:20px; line-height:1.7; margin-top:24px; max-width:62ch; color:#425e74!important; }
.cms-hero .cms-actions { margin-top:34px; gap:24px; }
.cms-hero .button-primary { background:var(--accent-ink); color:#fff; border:1px solid color-mix(in srgb,var(--accent) 65%,#071929); box-shadow:0 12px 26px color-mix(in srgb,var(--accent) 18%,transparent); }
.cms-hero .button-primary:hover { background:color-mix(in srgb,var(--accent) 60%,#071929); }
.cms-hero .cms-secondary-link { color:var(--accent-ink); }
.cms-hero-media { position:relative; margin:20px 0; width:100%; min-width:0; }
.cms-hero-frame { position:relative; isolation:isolate; display:grid; place-items:center; overflow:hidden; aspect-ratio:16/10; width:100%; min-height:260px; border:1px solid color-mix(in srgb,var(--accent) 36%,#dce8ed); border-radius:20px; background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 8%,white),#fff); box-shadow:0 22px 60px color-mix(in srgb,var(--accent) 8%,transparent); }
.cms-hero-frame::before { content:""; position:absolute; z-index:-1; width:200px; height:200px; border-radius:50%; right:-85px; top:-85px; background:color-mix(in srgb,var(--accent) 8%,transparent); }
.cms-hero-picture { display:block; width:100%; height:100%; max-height:none; min-height:0; object-fit:contain; }
.cms-hero-media.cms-image-fit-cover .cms-hero-picture { object-fit:cover; }
.cms-hero-media.cms-image-size-small .cms-hero-picture { width:35%; height:35%; }
.cms-hero-media.cms-image-size-medium .cms-hero-picture { width:55%; height:55%; }
.cms-hero-media.cms-image-size-large .cms-hero-picture { width:75%; height:75%; }
.cms-hero-badge { position:absolute; top:-26px; left:-26px; width:86px; height:86px; display:grid; place-items:center; padding:22px; background:#fff; border:1px solid color-mix(in srgb,var(--accent) 30%,#dce8ed); border-radius:20px; box-shadow:0 16px 44px color-mix(in srgb,var(--accent) 16%,transparent); }
.cms-hero-badge img,.cms-hero-badge svg { width:100%; height:100%; object-fit:contain; }
.cms-hero-brand-art { display:grid; place-items:center; position:relative; width:100%; height:100%; min-height:320px; }
.cms-hero-brand-icon { display:grid; place-items:center; width:136px; height:136px; padding:30px; background:#fff; border:1px solid #e1ebf0; border-radius:28px; box-shadow:0 20px 44px color-mix(in srgb,var(--accent) 15%,transparent); }
.cms-hero-brand-icon img,.cms-hero-brand-icon svg { width:100%; height:100%; object-fit:contain; }
.cms-hero-logo { transform:scale(1.4); transform-origin:center; }
.cms-hero-orbit { position:absolute; width:68%; aspect-ratio:1; max-height:85%; border:1px solid color-mix(in srgb,var(--accent) 20%,transparent); border-radius:50%; }
.cms-hero-dot { position:absolute; width:16px; height:16px; border:4px solid #fff; background:var(--accent); border-radius:50%; box-shadow:0 5px 14px #23415520; left:19%; top:24%; }
.cms-hero-dot:last-child { left:auto; top:auto; right:19%; bottom:24%; width:12px; height:12px; }
.cms-hero-highlights { display:flex; flex-wrap:wrap; gap:24px; margin-top:40px; }
.cms-hero-highlights>div { display:flex; align-items:center; gap:10px; padding-right:22px; border-right:1px solid #d0e1ec; }
.cms-hero-highlights>div:last-child { border:0; padding-right:0; }
.cms-hero-highlights i { width:30px; height:30px; }
.cms-hero-highlights i img,.cms-hero-highlights i svg { width:100%; height:100%; object-fit:contain; }
.cms-hero-highlights b,.cms-hero-highlights a { font-weight:600; font-size:15px; }
.cms-hero-highlights small { display:block; color:#526d83; font-size:12px; line-height:1.5; margin-top:5px; }

/* Product, service and delivery cards keep a distinct, restrained colour palette. */
.cms-services .cms-card-grid { counter-reset:service; }
:is(.cms-services,.cms-products,.cms-casestudies) .cms-card,.cms-process .cms-items>article {
    position:relative; isolation:isolate; overflow:hidden; padding:34px; border:1px solid color-mix(in srgb,var(--accent,#1267e9) 30%,#e3eaf1); border-radius:15px;
    background:linear-gradient(135deg,#fff 35%,color-mix(in srgb,var(--accent,#1267e9) 6%,white));
    box-shadow:0 4px 12px #19374902; transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
:is(.cms-services,.cms-products,.cms-casestudies) .cms-card { min-height:340px; gap:12px; }
:is(.cms-services,.cms-products,.cms-casestudies) .cms-card::before,.cms-process .cms-items>article::before { content:""; position:absolute; z-index:-1; right:-2px; top:-2px; width:88px; height:88px; border-radius:0 0 0 100%; background:color-mix(in srgb,var(--accent,#1267e9) 6%,transparent); }
:is(.cms-services,.cms-products,.cms-casestudies) .cms-card::after,.cms-process .cms-items>article::after { content:""; position:absolute; left:0; top:0; height:96px; width:3px; background:var(--accent,#1267e9); transition:height .22s; }
:is(.cms-services,.cms-products,.cms-casestudies) .cms-card h3 { font-size:25px; font-weight:500; line-height:1.3; letter-spacing:-.02em; margin:10px 0 0; }
:is(.cms-services,.cms-products,.cms-casestudies) .cms-card h3 a:hover { color:color-mix(in srgb,var(--accent) 72%,#071929); text-decoration:none; }
.cms-card-icon { flex:0 0 auto; width:56px; height:56px; padding:12px; border:1px solid color-mix(in srgb,var(--accent,#1267e9) 22%,#e5edf3); background:#fff; border-radius:13px; box-shadow:0 7px 20px #183c6610; margin-bottom:14px; }
.cms-card-icon .product-brand-icon { object-fit:contain; }
.cms-card-category { font-size:12px; font-weight:500; color:#466179; letter-spacing:.045em; line-height:1.5; }
.cms-card-link { margin-top:auto; padding-top:22px; border-top:1px solid color-mix(in srgb,var(--accent) 25%,#e1eaf0); color:color-mix(in srgb,var(--accent) 72%,#071929); font-size:14px; font-weight:600; display:flex; justify-content:space-between; align-items:center; gap:18px; }
.cms-card p + .cms-card-link { margin-top:26px; }
.cms-card p { flex-grow:1; }
.cms-card-link span { font-size:19px; transition:transform .2s; }
.cms-process { background:#eef6fc; }
.cms-process .cms-section-heading { max-width:860px; margin-inline:auto; text-align:center; }
.cms-process .cms-lead { margin-inline:auto; }
.cms-process .cms-items>article { --accent:#1267e9; min-height:275px; }
.cms-process .cms-items>article:nth-child(4n + 2) { --accent:#6750d8; }
.cms-process .cms-items>article:nth-child(4n + 3) { --accent:#008568; }
.cms-process .cms-items>article:nth-child(4n + 4) { --accent:#d56818; }
.cms-process .cms-step-number { display:grid; place-items:center; width:46px; height:46px; margin-bottom:30px; border-radius:11px; background:color-mix(in srgb,var(--accent) 9%,white); color:color-mix(in srgb,var(--accent) 75%,#071929); font-size:14px; font-weight:600; }
.cms-process h3 { font-size:25px; font-weight:400; letter-spacing:-.02em; }
.cms-process .cms-items p { font-size:16px; color:#466078; line-height:1.8; }
.cms-casestudies .cms-card:nth-child(3n + 2) { --accent:#008568!important; }
.cms-casestudies .cms-card:nth-child(3n + 3) { --accent:#6750d8!important; }
.cms-email-links { display:flex; flex-direction:column; gap:8px; }
.cms-email-links a { overflow-wrap:anywhere; font-size:15px; font-weight:500; line-height:1.6; }
.cms-email-links a:hover { text-decoration:underline; }
.site-footer { padding-inline:max(24px,calc((100% - var(--wide-max)) / 2)); }
.footer-contact>a { overflow-wrap:anywhere; }
.site-footer .footer-column>a,.site-footer .footer-column address,.site-footer .footer-brand p { font-size:15px; line-height:1.75; }
.site-footer .footer-column>b { font-size:16px; font-weight:600; }

@media(hover:hover) and (prefers-reduced-motion:no-preference) {
    :is(.cms-services,.cms-products,.cms-casestudies) .cms-card:hover,.cms-process .cms-items>article:hover { transform:translateY(-6px); border-color:color-mix(in srgb,var(--accent) 65%,white); box-shadow:0 18px 38px color-mix(in srgb,var(--accent) 13%,transparent); }
    :is(.cms-services,.cms-products,.cms-casestudies) .cms-card:hover::after,.cms-process .cms-items>article:hover::after { height:100%; }
    .cms-card:hover .cms-card-link span { transform:translate(2px,-2px); }
}
:is(.cms-services,.cms-products,.cms-casestudies) .cms-card:focus-within { border-color:var(--accent); box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 25%,transparent); }
@media(max-width:1250px) {
    .header-inner { grid-template-columns:160px minmax(0,1fr) auto; gap:20px; }
    .primary-nav { gap:14px; font-size:15px; }
    .header-cta { padding-inline:13px; font-size:13px; }
    .cms-hero-layout { gap:48px; }
    .cms-hero h1 { font-size:clamp(42px,5vw,64px); }
    .cms-hero .cms-lead { font-size:18px; }
}
@media(max-width:1080px) and (min-width:961px) { .header-cta { display:none; }.header-inner { grid-template-columns:180px 1fr; }.primary-nav { justify-content:flex-end; } }
@media(max-width:960px) {
    .header-inner { display:flex; justify-content:space-between; min-height:80px; gap:16px; }
    .header-cta { display:none; }
    .menu-toggle { display:block; }
    .primary-nav { display:none; position:absolute; top:100%; left:0; right:0; padding:16px 24px 24px; max-height:calc(100dvh - 80px); overflow-y:auto; background:#fff; box-shadow:0 24px 36px #0b24331a; font-size:16px; }
    .primary-nav.open { display:block; }
    .primary-nav>a,.nav-group>a { min-height:48px; }
    .nav-group { display:grid; grid-template-columns:minmax(0,1fr) 44px; }
    .product-mega,.service-menu { position:static; transform:none; width:100%; max-height:none; padding:16px 0; border:0; box-shadow:none; overflow:visible; grid-column:1/-1; }
    .mega-heading { display:flex; gap:16px; padding-bottom:16px; }
    .mega-heading small { font-size:10px; }
    .mega-heading b { font-size:15px; }
    .mega-heading>a { font-size:12px; padding:10px; }
    .mega-categories { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
    .mega-category>a { min-height:64px; }
    .cms-section { padding-block:56px; }
    .cms-hero-layout { width:calc(100% - 48px); grid-template-columns:1fr; gap:38px; }
    .cms-hero h1 { font-size:clamp(40px,6vw,60px); max-width:22ch; }
    .cms-hero-media { max-width:700px; justify-self:center; margin:12px 0 0; }
    .cms-hero-badge { left:16px; top:-22px; width:70px; height:70px; padding:18px; border-radius:17px; }
    .cms-hero-frame { min-height:0; }
    .cms-hero-brand-art { min-height:280px; }
}
@media(max-width:640px) {
    :root { --page-gutter:20px; }
    .topbar { display:none; }
    .header-inner,.cms-container,.cms-hero-layout { width:calc(100% - 40px); }
    .header-inner { min-height:76px; }
    .primary-nav { max-height:calc(100dvh - 76px); padding-inline:20px; }
    .mega-categories { grid-template-columns:1fr; }
    .mega-heading { align-items:flex-start; flex-direction:column; }
    .mega-product-copy small { font-size:13px; }
    .cms-section { padding-block:46px; }
    .cms-hero h1 { font-size:42px; }
    .cms-hero .cms-lead { font-size:17px; }
    .cms-hero .cms-eyebrow { font-size:13px; margin-bottom:22px; }
    .cms-hero .cms-actions { align-items:flex-start; gap:14px 22px; }
    .cms-hero-highlights { gap:16px; margin-top:30px; }
    .cms-hero-highlights>div { border:0; padding:0; }
    .cms-hero-brand-art { min-height:210px; }
    .cms-hero-brand-icon { width:100px; height:100px; padding:22px; }
    .cms-hero-logo { transform:scale(1.15); }
    :is(.cms-services,.cms-products,.cms-casestudies) .cms-card,.cms-process .cms-items>article { min-height:0; padding:28px; }
    :is(.cms-services,.cms-products,.cms-casestudies) .cms-card h3 { font-size:24px; }
    .cms-card-link { margin-top:24px; }
    .site-footer { padding-inline:20px; }
}
/* Compact highlights share the same content edges as the sections below them. */
.cms-section.cms-compact { padding-block:22px; border-color:#e1e9ef; }
.cms-compact + .cms-compact { border-top:0; }
.cms-compact .cms-items { margin:0; gap:18px; }
.cms-compact .cms-items>article { display:grid; grid-template-columns:42px minmax(0,1fr); align-content:center; align-items:center; column-gap:14px; min-width:0; padding:5px 20px; border-inline-start:1px solid #dce6ee; }
.cms-compact .cms-items>article:first-child { padding-inline-start:0; border-inline-start:0; }
.cms-compact .cms-items h3 { grid-column:2; margin:0; font-size:22px; line-height:1.35; font-weight:500; }
.cms-compact .cms-items p { grid-column:2; margin:4px 0 0; font-size:14px; line-height:1.5; }
.cms-highlight-icon,.cms-compact .cms-items>article>img { grid-column:1; grid-row:1 / span 2; display:grid; place-items:center; width:42px; height:42px; margin:0; padding:10px; border-radius:10px; color:#1267e9; background:#edf5ff; object-fit:contain; }
.cms-highlight-icon img,.cms-highlight-icon svg { display:block; width:22px; height:22px; object-fit:contain; }
.cms-stats.cms-compact-with-copy .cms-copy { margin-bottom:20px; }
.cms-logostrip.cms-compact-with-copy .cms-container { display:grid; grid-template-columns:180px minmax(0,1fr); align-items:center; gap:26px; }
.cms-logostrip .cms-eyebrow { margin:0; font-size:12px; font-weight:500; line-height:1.6; letter-spacing:.065em; }
.cms-logostrip .cms-items { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; }
.cms-logostrip .cms-items>article { grid-template-columns:36px minmax(0,1fr); column-gap:10px; padding-inline:14px; }
.cms-logostrip .cms-items h3 { font-size:16px; color:inherit; }
.cms-logostrip .cms-highlight-icon,.cms-logostrip .cms-items>article>img { width:36px; height:36px; padding:7px; border:1px solid #e3ebf2; background:#fff; border-radius:9px; }

/* Home keeps its cloud illustration unless an editor selects a hero image. */
.cms-home-cloud { position:relative; isolation:isolate; width:100%; min-width:0; padding-block:30px; }
.cms-cloud-art { position:absolute; inset:0; display:grid; place-items:center; z-index:-1; background:radial-gradient(ellipse,#cdeaff80,transparent 68%); }
.cms-cloud-art .orbit-one { width:82%; max-width:440px; height:auto; aspect-ratio:1; }
.cms-cloud-art .orbit-two { width:62%; max-width:330px; height:auto; aspect-ratio:1; }
.cms-cloud-art .cloud-core { width:210px; height:210px; gap:14px; }
.cms-cloud-art .cloud-core b { font-size:18px; font-weight:500; }
.cms-cloud-art .cloud-core small { font-size:11px; }
.cms-cloud-nodes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 18px; min-height:400px; align-content:space-between; }
.cms-home-cloud .cloud-node { position:relative; min-width:0; width:max-content; max-width:100%; padding:14px; gap:11px; align-self:start; }
.cms-home-cloud .cloud-node:nth-child(3n+1) { grid-column:2; justify-self:end; }
.cms-home-cloud .cloud-node:nth-child(3n+2) { grid-column:1; }
.cms-home-cloud .cloud-node:nth-child(3n) { grid-column:2; justify-self:end; }
.cms-home-cloud .cloud-node>i { flex-shrink:0; width:38px; height:38px; padding:8px; }
.cms-home-cloud .cloud-node>i img,.cms-home-cloud .cloud-node>i svg { width:100%; height:100%; object-fit:contain; }
.cms-home-cloud .cloud-node b,.cms-home-cloud .cloud-node a { display:block; font-size:15px; line-height:1.4; font-weight:500; }
.cms-home-cloud .cloud-node a:hover { color:#1267e9; text-decoration:underline; }
.cms-home-cloud .cloud-node small { font-size:12px; line-height:1.5; }
@media(max-width:1100px) {
    .cms-logostrip.cms-compact-with-copy .cms-container { grid-template-columns:1fr; gap:16px; }
    .cms-home-cloud .cloud-node { padding:11px; gap:9px; }
    .cms-home-cloud .cloud-node b,.cms-home-cloud .cloud-node a { font-size:14px; }
    .cms-home-cloud .cloud-node small { font-size:11px; }
}
@media(max-width:960px) { .cms-home-cloud { max-width:640px; justify-self:center; } }
@media(max-width:640px) {
    .cms-section.cms-compact { padding-block:18px; }
    .cms-stats .cms-items { grid-template-columns:1fr; gap:0; }
    .cms-compact .cms-items>article { padding:12px 0; border-inline-start:0; }
    .cms-stats .cms-items>article + article { border-top:1px solid #e1e9ef; }
    .cms-compact .cms-items h3 { font-size:20px; }
    .cms-logostrip .cms-items { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 16px; }
    .cms-logostrip .cms-items h3 { font-size:15px; }
    .cms-logostrip .cms-items>article { padding:4px 0; }
    .cms-home-cloud { display:flex; flex-direction:column; gap:22px; padding:0; }
    .cms-cloud-art { position:relative; inset:auto; z-index:auto; width:100%; height:240px; }
    .cms-cloud-nodes { min-height:0; gap:10px; grid-template-columns:1fr; }
    .cms-home-cloud .cloud-node:nth-child(n) { grid-column:1; justify-self:stretch; width:100%; }
    .cms-cloud-art .cloud-core { width:180px; height:180px; }
    .cms-cloud-art .cloud-core b { font-size:16px; }
    .cms-cloud-art .cloud-core small { font-size:10px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }.cms-card,.cms-process .cms-items>article,.cms-card::after,.cms-card-link span { transition:none; }.cms-home-cloud .orbit { animation:none; } }
