/* Phone layout (step 1). Only applies at 720px and below. Desktop is untouched. */
.mbar{display:none}
@media (max-width:720px){.cc{bottom:calc(70px + env(safe-area-inset-bottom))}}
@media (max-width:720px){
  body{padding-bottom:calc(62px + env(safe-area-inset-bottom))}
  /* Bottom bar */
  .mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--header);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -4px 16px rgba(0,0,0,.08)}
  .mbar a,.mbar button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:58px;background:none;border:0;color:var(--muted);font:600 .68rem "IBM Plex Sans",sans-serif;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .mbar svg{width:22px;height:22px}
  .mbar a.on,.mbar a:active,.mbar button:active{color:var(--accent)}
  .totop{display:none}
  /* Sticky header stays slim */
  .topbar{font-size:.72rem;padding:.3rem .6rem}
  /* Hide heavy / duplicate blocks */
  .slot-tall,.skin,.side-r,.promos,.trust,.strip,.hero .pills,.hero .eyebrow,.hero .lede,.hero .fcard,.dash>.dash-col:last-child,.panel-sub,.xgrid-in{display:none!important}
  .hero{padding-top:1rem;padding-bottom:.6rem}
  .hero h1{font-size:1.55rem}
  .hero .actions{display:flex;gap:.5rem;flex-wrap:nowrap}
  .hero .actions .btn{flex:1;text-align:center;padding:.65rem .5rem;font-size:.9rem}
  .sec{margin-top:1.2rem}
  /* Swipe carousels */
  .cards,.xgrid{display:flex!important;gap:.75rem;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:.5rem;scrollbar-width:none;margin-right:-1.25rem;padding-right:1.25rem}
  .cards::-webkit-scrollbar,.xgrid::-webkit-scrollbar,.chips::-webkit-scrollbar{display:none}
  .cards>*,.xgrid>*{flex:0 0 78%;scroll-snap-align:start;min-width:0}
  .chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-1.25rem;padding-right:1.25rem}
  .chips a{white-space:nowrap;flex:0 0 auto}
  /* Sidebar on inner pages: collapsed behind a button */
  .mside-btn{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:.6rem;padding:.7rem .9rem;background:var(--surface);border:1px solid var(--line);border-radius:12px;color:var(--text);font:600 .9rem "IBM Plex Sans",sans-serif;cursor:pointer}
  .mside-btn:after{content:"+";font-size:1.2rem;color:var(--accent)}
  .mside-btn[aria-expanded=true]:after{content:"\2212"}
  .side-l.mfold{display:none}
  .side-l.mfold.open{display:grid}
  /* Footer accordions (JS adds .acc; without JS everything stays visible) */
  .site-footer.acc .grid{grid-template-columns:1fr;gap:0;padding-top:1.4rem;padding-bottom:.6rem}
  .site-footer.acc .col{border-top:1px solid rgba(255,255,255,.12)}
  .site-footer.acc .col h2{display:flex;justify-content:space-between;align-items:center;padding:.9rem 0;margin:0;cursor:pointer;font-size:.95rem}
  .site-footer.acc .col h2:after{content:"+";color:var(--accent);font-size:1.2rem}
  .site-footer.acc .col.open h2:after{content:"\2212"}
  .site-footer.acc .col ul{display:none;padding-bottom:.8rem}
  .site-footer.acc .col.open ul{display:grid}
  .site-footer.acc .brandcol p:nth-of-type(1){display:none}
}

/* Footer (all screens): all 7 social icons on one row, Company column on the right */
.site-footer .soc-list{flex-wrap:nowrap!important;gap:.4rem!important}
.site-footer .soc-list a{width:31px!important;height:31px!important;font-size:.72rem!important;flex:0 0 auto}
@media (min-width:721px){
  .site-footer .grid{grid-template-columns:1.8fr 1fr 1fr 1.2fr 1fr}
  .site-footer .grid .brandcol{order:0}
  .site-footer .grid .col-company{order:9}
  .site-footer .grid .col-countries{order:8}
}
@media (max-width:380px){.site-footer .soc-list a{width:28px!important;height:28px!important}}

/* Livelier main menu and sub menus (desktop pointers) */
.menu>li>a,.menu>li>.sub-toggle{position:relative;transition:color .2s ease,background .2s ease,transform .2s ease}
.menu>li>a:after,.menu>li>.sub-toggle:before{content:"";position:absolute;left:.65rem;right:.65rem;bottom:.2rem;height:2px;border-radius:2px;background:linear-gradient(90deg,#00b2ff,#4fd1ff);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.menu>li>a.active:after,.menu>li>.sub-toggle.active:before{transform:scaleX(1)}
.sub-toggle:after{transition:transform .2s ease}
@media (hover:hover) and (min-width:901px){
  .menu>li>a:hover,.menu>li>.sub-toggle:hover,.menu>li.has-sub:hover>.sub-toggle{color:#fff;background:linear-gradient(135deg,#00b2ff,#0077d6);transform:translateY(-1px);box-shadow:0 6px 16px -6px rgba(0,178,255,.7)}
  .menu>li>a:hover:after,.menu>li>.sub-toggle:hover:before,.menu>li.has-sub:hover>.sub-toggle:before{transform:scaleX(0)}
  .menu>li.has-sub:hover>.sub-toggle:after{transform:rotate(180deg)}
  .has-sub:hover>.sub{animation:fxsub .18s ease-out both}
  .sub a{position:relative;transition:background .15s ease,color .15s ease,padding-left .18s ease}
  .sub a:hover{padding-left:1.15rem;background:linear-gradient(90deg,rgba(0,178,255,.2),rgba(0,178,255,.04));color:var(--accent)}
  .sub a:hover:before{content:"";position:absolute;left:.5rem;top:50%;width:5px;height:5px;margin-top:-2.5px;border-radius:50%;background:var(--accent)}
}
@keyframes fxsub{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.menu a,.sub-toggle,.sub a,.has-sub .sub{transition:none!important;animation:none!important}}
