/* every page: current page in the nav, language switch, the two header buttons */
.mh-n[aria-current="page"]{text-decoration:underline;text-underline-offset:3px}
.ul[aria-current]{color:var(--fg);font-weight:700}
@media (max-width:1319px){
.btn-demo{margin-left:auto}
}
@media (max-width:900px){
.btn-demo{display:none}
.btn-main{margin-left:auto}
}
/* two header buttons plus the search field fill the 1256px bar at 1440: the field takes what is left, down to 140px, so the bar stays on one row */
/* colour: number badges and buttons on a colour field. Text on colour is white on the light board and near-black on the dark board (the --on token) */
.nb{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:30px;height:22px;padding:0 7px;background:var(--cc);color:var(--on);font:600 13px/1 var(--f-mono);letter-spacing:.04em}
.nb-on{background:var(--on);color:var(--cc)}
.bf-p,.bf-s{--lift:color-mix(in srgb,var(--cc) 55%,#000)}
.bf-p{background:var(--on);color:var(--cc);border-color:var(--on);box-shadow:4px 4px 0 var(--lift)}
.bf-s{background:transparent;color:var(--on);border-color:var(--on);box-shadow:4px 4px 0 var(--lift)}
.bf-p:hover,.bf-s:hover{translate:-2px -2px;box-shadow:6px 6px 0 var(--lift)}
.bf-p:hover{color:var(--cc)}
.bf-s:hover{color:var(--on)}
.bf-p:active,.bf-s:active{translate:2px 2px;box-shadow:1px 1px 0 var(--lift)}
/* the field wipes in from the left; both ends are spelled out because clip-path cannot animate to none */
@keyframes vs-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes vs-line{from{opacity:0;transform:translateX(-10px)}}
/* page: solutions. A six-colour bar, colour plates as the audience switcher, one colour field per audience, solid colour product chips */
.sixbar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));height:8px}
.sixbar span{background:var(--cc);transform-origin:left center;animation:vs-grow .45s cubic-bezier(.2,.7,.2,1) both}
.sixbar span:nth-child(2){animation-delay:.07s}
.sixbar span:nth-child(3){animation-delay:.14s}
.sixbar span:nth-child(4){animation-delay:.21s}
.sixbar span:nth-child(5){animation-delay:.28s}
.sixbar span:nth-child(6){animation-delay:.35s}
.aud{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:36px}
.aud-b{--lift:color-mix(in srgb,var(--cc) 55%,#000);width:100%;height:64px;justify-content:space-between;padding:0 22px;background:var(--cc);color:var(--on);border-color:var(--cc);box-shadow:4px 4px 0 var(--lift);font-size:17px;white-space:normal;text-align:left;animation:vs-in-b .6s both}
.aud-b:hover{color:var(--on);translate:-2px -2px;box-shadow:6px 6px 0 var(--lift)}
.aud-b:active{translate:2px 2px;box-shadow:1px 1px 0 var(--lift)}
.aud-b[aria-pressed="true"]{translate:-2px -2px;box-shadow:inset 0 0 0 2px var(--on),6px 6px 0 var(--lift)}
.aud-b[aria-pressed="true"]:active{translate:2px 2px;box-shadow:inset 0 0 0 2px var(--on),1px 1px 0 var(--lift)}
.aud-b:hover .arw{translate:0 3px}
.al{display:inline-flex;align-items:center;gap:14px}
/* colour field behind each audience: white text on the light board, near-black on the dark board */
.cf{position:relative;isolation:isolate;color:var(--on);border-top:0}
.cf::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--cc)}
.cf .h2,.cf .lead{color:var(--on)}
.cf .card{color:var(--fg)}
.cf :focus-visible{outline-color:var(--on)}
.cf .card :focus-visible{outline-color:var(--fg)}
.sol{align-items:start}
.sol-c .ticks{margin:0;padding:24px 24px 26px;gap:16px}
.sol-c .ticks li{color:var(--fg)}
.sol-c .ticks li::before{background:var(--cc)}
.pv{font-weight:700;white-space:nowrap}
.sfoot{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:18px 24px 20px;border-top:1px solid var(--line)}
.sfoot .eb{margin-right:6px}
.cl{--lift:color-mix(in srgb,var(--cc) 55%,#000);display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 12px;background:var(--cc);border:1px solid var(--cc);border-radius:2px;color:var(--on);font:500 13px/1 var(--f-mono);white-space:nowrap;transition:translate .16s ease,box-shadow .16s ease}
.cl:hover{color:var(--on);translate:-2px -2px;box-shadow:3px 3px 0 var(--lift);text-decoration:none}
.cl:active{translate:1px 1px;box-shadow:0 0 0 var(--lift)}
.cl .sw{width:8px;height:8px;background:var(--on)}
.pnote{padding-block:22px;border-top:1px solid var(--line);background:var(--bg)}
.pnote p+p{margin-top:4px}
/* scroll: the field wipes in, bullet rows step in one after another, prices and chips fade up */
@supports (animation-timeline:view()){
.cf::before{animation:vs-wipe linear both;animation-timeline:view();animation-range:entry 0% entry 70%}
.sol-c .ticks li{animation:vs-row linear both;animation-timeline:view();animation-range:entry 5% entry 50%}
.sol-c .ticks li:nth-child(2){animation-range:entry 15% entry 60%}
.sol-c .ticks li:nth-child(3){animation-range:entry 25% entry 70%}
.pv{display:inline-block;animation:vs-rise linear both;animation-timeline:view();animation-range:entry 30% entry 100%}
.cl{animation:vs-rise linear both;animation-timeline:view();animation-range:entry 30% entry 100%}
}
/* click: the chosen audience's field wipes in again (two names so a repeat click restarts it) */
.wp-a::before{animation:vs-wipe .5s cubic-bezier(.2,.7,.2,1) both}
.wp-b::before{animation:vs-wipe-b .5s cubic-bezier(.2,.7,.2,1) both}
@keyframes vs-wipe-b{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@media (max-width:900px){
.aud{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:600px){
.cl{min-height:44px;height:auto}
}
