:root{--muted:rgba(14,15,29,.66);--site-nav-height:86px;--site-bottom-clearance:12px;--r-pill:100px;--blue:#3B34B0}
html{scroll-padding-top:calc(var(--site-nav-height) + 16px)}
/* Nav */
.nav{position:fixed;top:0;left:0;right:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:calc(env(safe-area-inset-top,0px) + 19px) var(--gutter) 19px;pointer-events:none}
.nav>*{pointer-events:auto}
.logo{display:flex;align-items:center;gap:11px;font-weight:500;font-size:24px;letter-spacing:-.03em;background:var(--white);padding:7px 19px 7px 7px;border-radius:var(--r-pill)}
.orb{width:34px;height:34px;border-radius:100%;background:var(--blue);position:relative;display:block}
.orb::after{content:"";position:absolute;width:9px;height:9px;border-radius:100%;background:var(--lime);top:50%;left:50%;margin:-4.5px;
  animation:orbit 3s linear infinite}
@keyframes orbit{from{transform:rotate(0) translateX(12px)}to{transform:rotate(360deg) translateX(12px)}}
.nav-r{display:flex;gap:7px;align-items:center}
.pill{display:inline-flex;align-items:center;gap:11px;height:50px;padding:0 27px;border-radius:var(--r-pill);font-size:16px;font-weight:500;
  background:var(--white);color:var(--ink);border:0;cursor:pointer;font-family:inherit;position:relative;overflow:hidden;isolation:isolate;
  transition:color .4s var(--ease2)}
.pill::before{content:"";position:absolute;inset:0;background:var(--ink);border-radius:inherit;transform:translateY(101%);transition:transform .4s var(--ease2);z-index:-1}
.pill:hover{color:var(--white)}
.pill:hover::before{transform:none}
.pill.dark{background:var(--ink);color:var(--white)}
.pill.dark::before{background:var(--blue)}
.pill.blue{background:var(--blue);color:var(--white)}
.pill.blue::before{background:var(--ink)}
.pill.lime{background:var(--lime);color:var(--ink)}
.pill.lime::before{background:var(--white)}
.pill.lime:hover{color:var(--ink)}
.pill:disabled{opacity:.4;cursor:not-allowed}
.pill .dot{width:7px;height:7px;border-radius:100%;background:currentColor;transition:transform .3s var(--ease)}
.pill:hover .dot{transform:scale(1.6)}
.navlinks{display:flex;gap:2px;background:var(--white);border-radius:var(--r-pill);padding:4px}
.navlinks a{padding:0 19px;height:42px;display:flex;align-items:center;border-radius:var(--r-pill);font-size:16px;transition:background-color .4s,color .4s}
.navlinks a:hover{background:var(--surface)}
@media (max-width:820px){.navlinks{display:none}.logo{font-size:19px}}

/* tap to call */
.callpill{display:inline-flex;align-items:center;gap:9px;height:50px;padding:0 20px 0 16px;border-radius:var(--r-pill);background:var(--white);color:var(--ink);font-size:16px;font-weight:500;white-space:nowrap;transition:background-color .3s,color .3s}
.callpill svg{width:18px;height:18px;color:var(--purple)}
.callpill:hover{background:var(--ink);color:var(--white)}.callpill:hover svg{color:var(--silver)}
@media (max-width:1180px){.callpill{width:50px;padding:0;justify-content:center}.callpill span{display:none}}
/* ---------- Mobile: menu sheet and a bottom bar for Call / Let's Talk ---------- */
.menubtn,.mbar{display:none}
.msheet[hidden]{display:none!important}
@media (max-width:820px){
  .nav .callpill,.nav .pill.dark{display:none}
  .mbar{display:flex;position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:40;gap:6px;padding:6px;border-radius:var(--r-pill);background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 0 0 1px rgba(14,15,29,.06),0 14px 34px rgba(15,17,48,.2);transition:transform .45s var(--ease2),opacity .3s}
  .mbar.hide{transform:translateY(150%);opacity:0;pointer-events:none}
  .mb-call{flex:none;display:inline-flex;align-items:center;gap:8px;height:50px;padding:0 20px 0 18px;border-radius:var(--r-pill);background:var(--surface);color:var(--ink);font-size:16px;font-weight:500}
  .mb-call svg{width:18px;height:18px;color:var(--purple)}
  .mb-talk{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:10px;height:50px;border-radius:var(--r-pill);background:var(--midnight);color:var(--white);font-size:16px;font-weight:500}
  .mb-talk .dot{width:7px;height:7px;border-radius:100%;background:var(--silver)}
  .foot{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
}

/* comfortable tap targets */
.foot a{display:inline-block;padding:8px 0}
.caselink{padding-block:8px}
.callline a{display:inline-block;padding:6px 0}


/* tablets and phones: the menu button replaces the inline links */
@media (max-width:1000px){
  .navlinks{display:none}
  .menubtn{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 18px 0 16px;border-radius:var(--r-pill);border:0;background:var(--white);color:var(--ink);font:inherit;font-size:16px;font-weight:500;cursor:pointer}
  .mi{position:relative;display:block;width:16px;height:10px}
  .mi::before,.mi::after{content:"";position:absolute;left:0;right:0;height:2px;border-radius:2px;background:currentColor}
  .mi::before{top:0}.mi::after{bottom:0;right:4px}
  .msheet{display:flex;position:fixed;inset:0;z-index:150;flex-direction:column;justify-content:center;gap:30px;padding:calc(env(safe-area-inset-top,0px) + 90px) var(--gutter) calc(env(safe-area-inset-bottom,0px) + 40px);background:radial-gradient(80% 50% at 85% 10%,rgba(125,100,201,.35),rgba(125,100,201,0) 60%),var(--midnight);color:var(--white);opacity:0;transform:translateY(-10px);transition:opacity .3s,transform .45s var(--ease2)}
  .msheet.open{opacity:1;transform:none}
  .ms-links{display:flex;flex-direction:column}
  .ms-links a{font-size:38px;font-weight:500;letter-spacing:-.04em;line-height:1.1;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.1)}
  .ms-call{align-self:flex-start;display:inline-flex;align-items:center;height:52px;padding:0 24px;border-radius:var(--r-pill);background:var(--silver);color:var(--ink);font-size:16px;font-weight:500}
  .ms-x{position:absolute;top:calc(env(safe-area-inset-top,0px) + 20px);right:var(--gutter);width:48px;height:48px;border-radius:100%;border:0;background:rgba(255,255,255,.12);color:var(--white);font-size:16px;cursor:pointer}
}
.navlinks a{white-space:nowrap}


.nav,.nav-r{min-width:0}.nav .logo{white-space:nowrap}.nav .gcm{width:30px;height:25px;flex:none}
.nav .g1{fill:#6E57C6}.nav .g2{fill:rgba(14,15,29,.24)}.nav .g3{fill:rgba(14,15,29,.12)}.nav .gd{fill:#66728A}
@media(max-width:430px){.nav .studio{display:none}.nav .logo{font-size:19px;gap:8px;padding-right:14px}.nav .menubtn{padding-inline:14px}}
@media(max-width:820px){.msheet{justify-content:flex-start;overflow-y:auto;gap:16px}.ms-links a{font-size:clamp(24px,6vw,32px);line-height:1.15;min-height:48px;padding:8px 0}.engines button{min-height:44px}#cwSend{min-width:44px;min-height:44px}}
body.subpage main{padding-top:calc(var(--site-nav-height) + 12px);padding-bottom:var(--site-bottom-clearance)}
body.subpage .case-evidence{font-size:16px;color:var(--muted)}
body.subpage .cgrid section h2:not(:first-child){margin-top:26px}
@media(max-width:820px){body.subpage .sfoot{padding-bottom:var(--site-bottom-clearance)}}
