/* How it works: "Start from what each service can evidence" as a card carousel.
   One wide dark card per tool: its words on the left, and on the right a panel kept for the tool's
   app screen (until the screens exist it holds the tool's mark). The track runs out past the right
   margin so the next card shows it is there; arrows under it move a card at a time (hwc.js).
   Without the script the track still scrolls sideways by touch, trackpad or keyboard. */
#evidence-first{overflow-x:clip}
.hwc{margin-top:48px}
.hwc-track{--edge:max(48px,calc((100vw - 1320px)/2));display:flex;gap:22px;margin:0 calc(50% - 50vw) 0 0;padding:0 var(--edge) 0 0;
  list-style:none;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain}
.hwc-track::-webkit-scrollbar{display:none}
.hwc-track:focus-visible{outline:3px solid #faa61a;outline-offset:6px;border-radius:24px}
.hwc-card{flex:0 0 min(920px,78vw);display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:28px;min-height:500px;
  padding:44px 28px 28px 44px;border-radius:24px;background:#0b1d38;color:#fff;scroll-snap-align:start}
.hwc-text{display:flex;flex-direction:column;padding-bottom:14px}
.page-methodology main .hwc-text h3{margin:0;font:700 clamp(26px,2.2vw,32px)/1.15 'Manrope',sans-serif;letter-spacing:-.035em;color:#fff}
.page-methodology main .hwc-text p{margin:16px 0 0;font-size:var(--t-card,17px);line-height:1.65;color:#c9d6ea}
.page-methodology main .hwc-text p.hwc-gives{margin-top:auto;padding-top:26px;font:600 var(--t-card,17px)/1.45 'Manrope',sans-serif;letter-spacing:-.01em;color:#fff}
.hwc-gives span{display:block;margin-bottom:6px;font:700 14px/1.4 'DM Sans',sans-serif;letter-spacing:0;color:#f1c27a}
/* kept for the app screen */
.hwc-screen{display:grid;place-items:center;min-height:100%;border-radius:14px;background:#14305a}
.hwc-screen svg{display:block!important;width:88px;height:88px;fill:none;stroke:rgba(159,192,245,.38);stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round}
/* on the dark page the card steps darker than the section, so its edge stays clear */
html[data-theme=dark] .hwc-card{background:#071326}
html[data-theme=dark] .hwc-screen{background:#132b50}
/* arrows */
.hwc-nav{display:flex;justify-content:flex-end;gap:12px;margin-top:26px}
.hwc-nav button{display:grid;place-items:center;width:46px;height:46px;padding:0;border:0;border-radius:50%;background:#dfe5ee;color:#182b46;cursor:pointer;
  transition:background-color .2s,opacity .2s,transform .15s}
.hwc-nav button:hover:not(:disabled){background:#cdd6e3}
.hwc-nav button:active:not(:disabled){transform:scale(.94)}
.hwc-nav button:disabled{opacity:.42;cursor:default}
.hwc-nav button:focus-visible{outline:3px solid #faa61a;outline-offset:2px}
.hwc-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
html[data-theme=dark] .hwc-nav button{background:#22344f;color:#e6edf7}
html[data-theme=dark] .hwc-nav button:hover:not(:disabled){background:#2d4466}
@media(max-width:980px){
  .hwc-track{--edge:32px}
  .hwc-card{flex-basis:min(620px,82vw);grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;min-height:0;padding:30px 22px 22px}
  .hwc-screen{aspect-ratio:16/10;min-height:0}
}
@media(max-width:600px){
  .hwc-track{--edge:16px;gap:14px}
  .hwc-card{flex-basis:84vw;gap:22px;padding:26px 20px 20px;border-radius:20px}
  .hwc-screen{aspect-ratio:4/3}
  .hwc-screen svg{width:64px;height:64px}
}
@media(prefers-reduced-motion:reduce){.hwc-track{scroll-behavior:auto}}
