/* tenex responsive layer — classes are assigned by responsive.js from each element's inline layout */
.rsp-root{min-width:0!important}
img,video{max-width:100%}
img[width]{width:auto;height:auto}
.rsp-burger,.rsp-menu-extra,.rsp-sub-all,.rsp-fampane{display:none}

@media (max-width:1100px){
  html,body{overflow-x:clip}
  .rsp-navrow{gap:16px!important;padding:0 20px!important;position:relative}
  .rsp-links{display:none!important}
  nav .nav-panel{display:none!important}
  .rsp-right{margin-inline-start:auto}
  .rsp-burger{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;border:1px solid #D8DADC;background:#fff;cursor:pointer;flex-shrink:0;padding:0}
  .rsp-burger span,.rsp-burger span::before,.rsp-burger span::after{content:"";display:block;width:18px;height:2px;background:#202020;border-radius:2px;position:relative;transition:transform .24s cubic-bezier(0.22,1,0.36,1),background .24s}
  .rsp-burger span::before{position:absolute;top:-6px;left:0}
  .rsp-burger span::after{position:absolute;top:6px;left:0}
  nav.rsp-open .rsp-burger span{background:transparent}
  nav.rsp-open .rsp-burger span::before{transform:translateY(6px) rotate(45deg)}
  nav.rsp-open .rsp-burger span::after{transform:translateY(-6px) rotate(-45deg)}
  nav.rsp-open .rsp-links{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #ECEDEE;box-shadow:0 14px 34px rgba(32,32,32,0.12);padding:8px 20px 20px;height:calc(100vh - 72px);height:calc(100dvh - 72px);max-height:none;overflow-y:auto;overscroll-behavior:contain;z-index:300}
  nav.rsp-open .rsp-links > a,nav.rsp-open .rsp-links > .nav-drop > a{display:flex!important;align-items:center;padding:12px 4px!important;font-size:16px!important;border-bottom:1px solid #ECEDEE;min-height:48px}
  nav.rsp-open .rsp-links > .nav-drop{display:block!important}
  nav.rsp-open .rsp-links > .nav-drop > a{justify-content:space-between}
  nav.rsp-open .rsp-links > .nav-drop > a > span{transition:transform .24s cubic-bezier(0.22,1,0.36,1);font-size:13px!important}
  nav.rsp-open .rsp-links > .nav-drop > a > span{font-size:0!important;width:20px;height:20px;display:inline-flex!important;align-items:center;justify-content:center;color:#5B5F66}
  nav.rsp-open .rsp-links > .nav-drop > a > span::before{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
  nav.rsp-open .nav-drop.rsp-sub > a > span{transform:rotate(180deg)}
  html.rsp-lock,html.rsp-lock body{overflow:hidden!important;touch-action:none}
  html.rsp-lock nav .rsp-links{touch-action:pan-y}
  nav.rsp-open .nav-drop.rsp-sub > .nav-panel{display:block!important;position:static!important;padding:8px 0 14px;border-bottom:1px solid #ECEDEE}
  nav.rsp-open .nav-panel > div{padding:0!important;max-width:none!important}
  nav.rsp-open .nav-panel > div > div{border:none!important;box-shadow:none!important;border-radius:0!important;padding:0!important;gap:12px!important}
  nav.rsp-open .nav-panel [style*="grid-template-columns"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  nav.rsp-open .nav-panel .mega{grid-template-columns:minmax(0,1fr)!important}
  nav.rsp-open .nav-panel [style*="border-right"]{border-right:none!important;padding-right:0!important}
  nav.rsp-open .nav-panel a{min-height:40px}
  nav.rsp-open .nav-panel .mega .rsp-panes{display:none!important}
  nav.rsp-open .nav-panel .mega .fam{min-height:52px;background:#F6F8FA!important;color:#202020!important;border-radius:12px}
  nav.rsp-open .nav-panel .mega .fam .arr{visibility:visible!important;color:#5B5F66!important;font-size:0!important;width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;transition:transform .24s cubic-bezier(0.22,1,0.36,1)}
  nav.rsp-open .nav-panel .mega .fam .arr::before{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
  nav.rsp-open .nav-panel .mega .fam.rsp-famopen{background:#202020!important;color:#fff!important}
  nav.rsp-open .nav-panel .mega .fam.f0.rsp-famopen{background:#0F1F4B!important}
  nav.rsp-open .nav-panel .mega .fam.f1.rsp-famopen{background:#14532D!important}
  nav.rsp-open .nav-panel .mega .fam.rsp-famopen .arr{color:#fff!important;transform:rotate(180deg)}
  nav.rsp-open .nav-panel .mega .fam.rsp-famopen + .rsp-fampane{display:flex;flex-direction:column;gap:10px;padding:6px 0 12px}
  nav.rsp-open .rsp-famgo{display:flex;align-items:center;min-height:44px;padding:0 4px;font-size:14px;font-weight:700;color:#0B6FB0;text-decoration:none}
  nav.rsp-open .rsp-fampane-grid{gap:10px!important}
  nav.rsp-open .rsp-sub-all{display:flex;align-items:center;min-height:44px;padding:0 4px;font-size:14px;font-weight:700;color:#0B6FB0;text-decoration:none}
  nav.rsp-open .rsp-menu-extra{display:flex;flex-direction:column;gap:10px;padding-top:16px}
  .rsp-menu-extra a{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:999px;font-size:15px;font-weight:600;text-decoration:none}
}

@media (max-width:1024px){
  .rsp-g4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .rsp-gfoot{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .rsp-gfoot > :first-child{grid-column:1/-1}
  .rsp-fs-xl{font-size:46px!important}
  .rsp-gap{gap:36px!important}
}

@media (max-width:900px){
  .rsp-g3{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .rsp-g2{grid-template-columns:minmax(0,1fr)!important}
  .rsp-gfoot{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .rsp-span{grid-column:auto!important}
  .rsp-sec-pad{padding-top:72px!important;padding-bottom:72px!important}
  .rsp-minh{min-height:0!important}
  .rsp-minw{min-width:0!important}
  .rsp-wrap{flex-wrap:wrap!important}
  .rsp-w{max-width:100%!important}
  .rsp-fs-l{font-size:34px!important;line-height:1.18!important}
  table{display:block;overflow-x:auto;max-width:100%}
}

@media (max-width:640px){
  .rsp-navrow{height:64px!important;gap:10px!important;padding:0 16px!important}
  .rsp-navrow > a img{height:22px!important}
  .rsp-right{gap:10px!important}
  .rsp-right > a{display:none!important}
  nav.rsp-open .nav-panel [style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important}
  nav.rsp-open .nav-panel a[style*="margin:0 0 0 32px"]{margin-left:0!important}
  .rsp-g4,.rsp-g3,.rsp-g2{grid-template-columns:minmax(0,1fr)!important}
  .rsp-gfoot{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important}
  .rsp-sec{padding-left:20px!important;padding-right:20px!important}
  .rsp-sec-pad{padding-top:56px!important;padding-bottom:56px!important}
  footer{padding:48px 20px 24px!important}
  .rsp-pad-lg{padding:32px 22px!important}
  .rsp-pad-md{padding:24px 20px!important}
  .rsp-fs-xl{font-size:36px!important;line-height:1.12!important}
  .rsp-fs-l{font-size:28px!important;line-height:1.2!important}
  .rsp-fs-m{font-size:21px!important}
  .rsp-fs-p{font-size:16px!important}
  .rsp-gap{gap:28px!important}
  #tenex-demo-form fieldset.form-columns-2 .hs-form-field{width:100%!important;float:none!important;padding:0!important}
  #tenex-demo-form input,#tenex-demo-form select,#tenex-demo-form textarea{font-size:16px!important}
}

@media (max-width:400px){
  .rsp-gfoot{grid-template-columns:minmax(0,1fr)!important}
  .rsp-fs-xl{font-size:31px!important}
}

@media (max-width:900px){
  [data-rsp="perf-head"],[data-rsp="perf-row"]{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  [data-rsp="perf-head"] > :first-child{display:none}
  [data-rsp="perf-row"] > :first-child{grid-column:1/-1;padding-bottom:4px!important}
  [data-rsp="perf-row"] > *{padding:14px 18px!important;font-size:14px!important}
  [data-rsp="tabs"]{display:flex!important;overflow-x:auto;scrollbar-width:none;margin-inline:-20px;padding-inline:20px}
  [data-rsp="tabs"]::-webkit-scrollbar{display:none}
  [data-rsp="tabs"] > *{flex:0 0 auto;min-width:200px}
}
@media (max-width:640px){
  .rsp-pad-lg [style*="padding:26px"],.rsp-pad-lg [style*="padding:28px"]{padding:20px!important}
  h1,h2,h3{overflow-wrap:anywhere}
}

/* building video section */
@media (max-width:1024px){
  [data-rsp="bld-cards"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:640px){
  [data-rsp="bld-sec"]{padding:64px 16px!important}
  [data-rsp="bld-h"]{font-size:30px!important}
  [data-rsp="bld-vid"]{aspect-ratio:4/3.4!important;margin:0 -16px!important;max-width:none!important}
  [data-rsp="bld-vid"] video,[data-rsp="bld-vid"] > img{object-position:50% 20%!important}
  [data-rsp="bld-vid"] > div:nth-of-type(1),[data-rsp="bld-vid"] > div:nth-of-type(2){width:5%!important}
  [data-rsp="bld-cards"]{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px!important;margin:8px -16px 0!important;padding:4px 16px 12px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  [data-rsp="bld-cards"]::-webkit-scrollbar{display:none}
  [data-rsp="bld-cards"] > a{flex:0 0 72%;scroll-snap-align:start}
  [data-rsp="bld-flow"]{flex-wrap:nowrap!important;justify-content:flex-start!important;overflow-x:auto;margin:0 -16px;padding:2px 16px 6px;max-width:100vw;scrollbar-width:none}
  [data-rsp="bld-flow"]::-webkit-scrollbar{display:none}
}

/* never show the native iOS play glyph on background videos (Low Power Mode blocks autoplay; the still image behind shows instead) */
video[playsinline]::-webkit-media-controls-start-playback-button,video[playsinline]::-webkit-media-controls{display:none!important;-webkit-appearance:none!important}

footer input[aria-invalid=true]{border-color:#FF8A8A!important}
footer button[disabled]{cursor:progress}
