/* Movement layer. Everything here is switched off for people who ask their system for less motion. */

/* groups of cards and steps arrive one after another */
.js .mv{opacity:0;transform:translateY(26px);transition:opacity .6s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
.js .mv.in{opacity:1;transform:none}

/* pictures uncover from the left */
.js img.wipe{clip-path:inset(0 100% 0 0);transition:clip-path .9s cubic-bezier(.2,.8,.2,1)}
.js img.wipe.in{clip-path:inset(0 0 0 0)}

/* the three ways to work together: the card under the pointer comes forward, the others step back */
main article{transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease,opacity .28s ease}
@media (hover: hover){
  main article:hover{transform:translateY(-12px);box-shadow:inset 0 12px 0 #FD6017}
  .cards:hover article:not(:hover){opacity:.6}
  main article h3{transition:transform .28s cubic-bezier(.2,.8,.2,1)}
  main article:hover h3{transform:translateX(6px)}
}

/* method steps react to the pointer */
.ms{transition:transform .28s cubic-bezier(.2,.8,.2,1)}
.ms svg{transition:transform .5s cubic-bezier(.2,.8,.2,1)}
@media (hover: hover){
  .ms:hover{transform:translateY(-8px)}
  .ms:hover svg{transform:scale(1.07)}
}

/* white paper cover */
.cover{display:block;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.cover img{display:block;width:100%;height:auto}
@media (hover: hover){.cover:hover{transform:rotate(-2.5deg) translateY(-8px) scale(1.03)}}
.cover:focus-visible{outline:4px solid #FFFFFF;outline-offset:4px}

@media (prefers-reduced-motion: reduce){
  .js .mv,.js img.wipe{opacity:1;transform:none;clip-path:none;transition:none}
  main article,main article h3,.ms,.ms svg,.cover{transition:none}
  main article:hover,main article:hover h3,.ms:hover,.ms:hover svg,.cover:hover{transform:none}
}

/* Header: black bar, orange call button, so the bar never blends into an orange page */
header{background:#0A0A0A !important;color:#FFFFFF !important;border-bottom-color:#3A3A36 !important}
header>div>a:first-child{transition:color .15s ease}
header>div>a:first-child:hover{color:#FD6017}
header .bar-cta{background:#FD6017 !important;color:#0A0A0A !important}
header .bar-cta:hover{background:#FFFFFF !important;color:#0A0A0A !important}
header .menu-btn{color:#FFFFFF !important;border-color:#FFFFFF !important;transition:background-color .15s ease,color .15s ease,border-color .15s ease}
header .menu-btn:hover,header .menu-btn[aria-expanded="true"]{background:#FD6017 !important;border-color:#FD6017 !important;color:#0A0A0A !important}
header .lang a{transition:color .15s ease}
header .lang a:hover{color:#FD6017}
.menu-panel a:not(.b){transition:color .15s ease,transform .2s cubic-bezier(.2,.8,.2,1)}
.menu-panel a:not(.b):hover{color:#FD6017 !important;transform:translateX(10px)}
@media (min-width: 900px){#menu{border-color:#FFFFFF !important}}

/* links under the hero button */
.route a{font-weight:700;text-underline-offset:5px;text-decoration-thickness:2px;transition:background-color .15s ease,color .15s ease}
.route a:hover{background:#0A0A0A;color:#FFFFFF;text-decoration-color:transparent}
@media (prefers-reduced-motion: reduce){.menu-panel a:not(.b){transition:none}.menu-panel a:not(.b):hover{transform:none}}
@media (max-width: 560px){.route a{min-height:44px;display:inline-flex;align-items:center}}

/* button on a light first screen */
.b-onlight:hover{background-color:#0A0A0A !important;color:#FFFFFF !important}
/* page titles on phones: a little smaller than the full width */
@media (max-width:700px){#top h1[style*="container-type"]{max-width:min(70vw,300px) !important}}
