/* Hero overrides. Formerly hero-fix.css then hero-resp.css, kept in that order. */
/* r29 hero fixes (Claude): loaded last, overrides only what is listed here */
/* 1. shorter scroll through the four hero moments */
.hero-story{height:190svh}
/* 2. app screenshots keep their proportions inside the phone (cropped from the top, never stretched) */
.hero-story .phone-content{object-fit:cover;object-position:50% 0}
.hero-story .phone-home{object-fit:cover;object-position:50% 0}
.hero-story .phone-budget{width:100%!important;height:auto!important;left:0!important;top:0!important;object-fit:initial}
/* 3. the three floating cards share one size and cycle faster (4s each instead of 6s) */
.hero-story .hero-floating-card{width:44%;animation-duration:12s}
.hero-story .hero-card-flip{aspect-ratio:.76;animation-duration:12s}
.hero-story .floating-golden img,.hero-story .floating-mood img{width:100%;aspect-ratio:.76;height:auto;object-fit:contain}
.hero-story .floating-golden{animation-delay:4s}.hero-story .floating-mood{animation-delay:8s}
.hero-story .hero-card-loop{z-index:7}
/* 4. "Jouw bank. Veilig erbij." shows the connect screen instead of an empty app frame */
.hero-connect{position:absolute;inset:0;opacity:0;transition:opacity .45s;background:linear-gradient(180deg,#8a32ff,#5e19d6);color:#fff;padding:22% 7% 0;text-align:center;font-family:Poppins,sans-serif}
.hero-connect .ah-title{font-size:clamp(11px,1.15vw,17px);font-weight:700;line-height:1.25}
.hero-connect .ah-banks{position:relative;height:36%;margin-top:4%}
.hero-connect .ah-banks span{position:absolute;width:23%;aspect-ratio:1;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 6px 14px #22085a40}
.hero-connect .ah-banks span img{width:80%;height:80%;object-fit:contain}
.hero-connect .ah-banks span:nth-child(1){left:10%;top:12%}.hero-connect .ah-banks span:nth-child(2){right:10%;top:8%}.hero-connect .ah-banks span:nth-child(3){left:38.5%;top:40%}.hero-connect .ah-banks span:nth-child(4){left:-4%;top:58%}.hero-connect .ah-banks span:nth-child(5){right:-4%;top:55%}
.hero-connect .ah-checks{list-style:none;padding:0;margin:0 auto;display:grid;gap:6px;width:88%}
.hero-connect .ah-checks li{background:#fff;color:#22a052;border-radius:30px;padding:5px 8px 5px 24px;font-size:clamp(8px,.75vw,11px);font-weight:600;position:relative;white-space:nowrap}
.hero-connect .ah-checks li::before{content:"✓";position:absolute;left:7px;top:50%;margin-top:-7px;width:14px;height:14px;border-radius:50%;background:#22a052;color:#fff;font-size:9px;line-height:14px;text-align:center}
.hero-story[data-step="3"] .phone-home{opacity:0}
.hero-story[data-step="3"] .hero-connect{opacity:1}

/* floating banks: quiet background, the ones in the phone are not repeated */
.hero-story .story-connections span{opacity:.5}
/* ABN AMRO + ING logos (tight crops): plenty of white around them inside the circles */
.ah-banks img[src$="hero-bank-1275.png"],.ah-banks img[src$="hero-bank-1273.png"],.story-connections img[src$="hero-bank-1275.png"],.story-connections img[src$="hero-bank-1273.png"],.ax-orbit img[src$="hero-bank-1275.png"],.ax-orbit img[src$="hero-bank-1273.png"]{width:50%!important;height:50%!important;object-fit:contain!important;border-radius:0}
.ah-banks img[src$="hero-bank-1273.png"]{border-radius:22%}
.p2-set img[src$="hero-bank-1275.png"],.p2-set img[src$="hero-bank-1273.png"]{width:50%!important;height:50%!important;object-fit:contain!important}

/* step 3 ("Ping!"): the medium-skin hand with rings. Same box as the dark hand; its glass is aligned to the screen. */
.hero-story .rh-set img.rh-eth{left:-7.49%;top:.6%;width:114.5%;max-width:none;height:auto}
.hero-story[data-step="2"] .rh-dark{opacity:0}
.hero-story[data-step="2"] .rh-eth{opacity:1}
/* chat bubbles stay inside the width of the phone screen */
.hero-story .hero-chatpop{left:48.7%;top:18.8%;width:32%;gap:6px}
.hero-story .hc{max-width:100%;font-size:clamp(10px,.78vw,11.5px);line-height:1.32;padding:7px 10px;border-radius:15px}
.hero-story .hc.u{max-width:70%}
@media(max-width:900px){.hero-story .hero-chatpop{left:48.7%;top:19.5%;width:32%}.hero-story .hc{font-size:clamp(8px,2.4vw,10.5px);padding:6px 8px;border-radius:12px}}

/* "Ping!": the real app chat module (header from the app, bubbles in the app's style) inside the phone */
/* (chatpop is shown again, see end of file) */
.hero-sheet{position:absolute;inset:0;z-index:6;container-type:size;overflow:hidden;opacity:0;visibility:hidden;transition:opacity .35s,visibility 0s .35s;background:#938f9e;font-family:Inter,"Helvetica Neue",Arial,sans-serif;color:#2d2a35}
.hero-story[data-step="2"].chat-open .hero-sheet{opacity:1;visibility:visible;transition:opacity .35s}
.hs-top{display:block;width:100%;height:auto}
.hs-body{box-sizing:border-box;min-height:calc(100cqh - 54.9cqw);background:#faf9f7;display:flex;flex-direction:column;gap:5.2cqw;padding:3cqw 5.3cqw 0}
.hs{margin:0;max-width:100%;padding:4.4cqw 4.8cqw;border-radius:5.6cqw;font-size:4.15cqw;line-height:1.42;box-shadow:0 .6cqw 2.4cqw #2d1d4514;opacity:0;transform:translateY(3cqw) scale(.94);transition:opacity .3s,transform .4s cubic-bezier(.3,1.5,.5,1)}
.hs.c{align-self:flex-start;background:#fff;color:#2d2a35;border-radius:5.6cqw}
.hs.u{align-self:flex-end;background:#7f22fe;color:#fff;font-weight:600;padding:3.2cqw 5cqw;border-radius:6cqw;box-shadow:0 .8cqw 2.6cqw #7f22fe40}
.hero-story[data-step="2"].chat-open .hs{opacity:1;transform:none}
.hero-story.chat-open .hs:nth-child(1){transition-delay:.3s}
.hero-story.chat-open .hs:nth-child(2){transition-delay:1.1s}
.hero-story.chat-open .hs:nth-child(3){transition-delay:1.9s}
@media(prefers-reduced-motion:reduce){.hs{transition:none!important}}

/* Jouw bank: Rabobank, bunq and Revolut a bit smaller in their circles */
.hero-connect .ah-banks img[src*="hero-bank-1277"],.hero-connect .ah-banks img[src*="hero-bank-1274"],.hero-connect .ah-banks img[src*="revolut"]{width:56%;height:56%}
/* Ping: bubbles pop out of the screen again, on top of the in-phone chat module */
.hero-story .hero-chatpop{display:flex!important;left:48.7%;top:25%;width:40%;gap:8px;z-index:8}
.hero-story .hc{font-size:clamp(11px,.92vw,13.5px);line-height:1.36;padding:9px 12px;border-radius:16px;max-width:100%}
.hero-story .hc.u{max-width:62%}
.hero-story .hs{display:none}
@media(max-width:900px){.hero-story .hero-chatpop{left:48.7%;top:25%;width:42%}.hero-story .hc{font-size:clamp(8.5px,2.5vw,11px);padding:6px 9px;border-radius:12px}}

/* r43: the real app screen with a deck of empty cards (card behind peeks out underneath) */
.hd-empty{display:block;top:48%;height:min(calc(100% - 15cqw),calc(74cqw / .665));aspect-ratio:.665;border-radius:7.4cqw;background:none;box-shadow:none;overflow:visible}
.hd-empty::before,.hd-empty::after{content:"";position:absolute;border-radius:7.4cqw}
.hd-empty::before{left:4%;right:4%;top:6%;bottom:-4.6cqw;background:#efeeec;box-shadow:0 2cqw 5cqw #2a116018}
.hd-empty::after{inset:0;background:#fffefd;box-shadow:0 3cqw 8cqw #2a116026}

/* Ping: bubbles + two tilted tiles popping out (boodschappen -> vakantie), progress card */
.hero-story .hc .hc-amt{font-weight:800;color:#7f22fe;letter-spacing:-.01em}
.hero-story .hc.gl{align-self:stretch;max-width:100%;box-sizing:border-box;background:#f4fbf6;border:2px solid #22c55e;border-radius:16px;padding:.8em .9em .9em;display:block;color:#2d1d45}
.hc.gl .gl-h{margin:0;display:flex;align-items:center;justify-content:center;gap:.5em;font-weight:700;font-size:1.02em;color:#1f9d55}
.hc.gl .gl-h svg{width:1.25em;height:1.25em;flex:none}
.hc.gl .gl-r{display:flex;align-items:center;gap:.8em;margin-top:.8em}
.hc.gl .gl-r i{font-style:normal;font-size:2em;line-height:1}
.hc.gl .gl-r>div{flex:1;min-width:0}
.hc.gl b{display:block;font-size:1.05em;font-weight:700;color:#3a2f4a}
.hc.gl .gl-bar{display:block;height:.7em;border-radius:9em;background:#e7efe9;margin-top:.45em;overflow:hidden}
.hc.gl .gl-bar em{display:block;height:100%;width:0;border-radius:9em;background:#22c55e;transition:width 1s ease}
.hero-story.chat-open .hc.gl .gl-bar em{width:62%;transition-delay:3.4s}
.hc-tile{position:absolute;z-index:3;display:grid;justify-items:center;gap:.15em;width:7.6em;padding:.9em .5em .8em;border-radius:1.5em;background:#fff;box-shadow:0 .9em 1.8em -.5em #1c0a4a66,0 .1em .4em #1c0a4a22;text-align:center;opacity:0;font-size:clamp(10px,.8vw,12px)}
.hc-tile i{font-style:normal;font-size:2.5em;line-height:1}
.hc-tile b{font-size:.92em;font-weight:700;color:#7f22fe;line-height:1.15;margin-top:.2em}
.hc-tile em{font-style:normal;font-weight:800;font-size:1.05em;color:#22a052;line-height:1.1}
.hc-tile.tl-a{left:-31%;top:29%}
.hc-tile.tl-b{right:-30%;bottom:-6%}
.hero-story.chat-open .hc-tile{animation:tile-pop .6s cubic-bezier(.3,1.6,.5,1) both}
.hero-story.chat-open .tl-a{animation-delay:.9s}
.hero-story.chat-open .tl-b{animation-delay:3.1s}
@keyframes tile-pop{0%{opacity:0;transform:scale(.3) rotate(calc(var(--r) - 24deg))}100%{opacity:1;transform:scale(1) rotate(var(--r))}}
.hero-story.chat-open .hc:nth-child(1){transition-delay:.2s}
.hero-story.chat-open .hc:nth-child(2){transition-delay:1.9s}
.hero-story.chat-open .hc:nth-child(3){transition-delay:2.5s}
.hero-story.chat-open .hc:nth-child(4){transition-delay:3s}
@media(max-width:900px){.hc-tile{font-size:clamp(8px,2.3vw,10.5px)}.hc-tile.tl-a{left:-27%}.hc-tile.tl-b{right:-26%}}
@media(prefers-reduced-motion:reduce){.hero-story.chat-open .hc-tile{animation:none;opacity:1;transform:rotate(var(--r))}.hc.gl .gl-bar em{transition:none}}
/* Ping fit: compact bubbles so the whole chat sits on the phone screen */
.hero-story .hero-chatpop{top:21%;gap:6px}
.hero-story .hc{font-size:clamp(9.5px,.76vw,11.5px);padding:7px 10px;border-radius:14px;line-height:1.32}
.hc-tile{width:8.8em;font-size:clamp(9px,.7vw,10.5px)}
.hc-tile.tl-a{left:-33%;top:40%}
.hc-tile.tl-b{right:-31%;bottom:-8%}
@media(max-width:900px){.hero-story .hc{font-size:clamp(8px,2.25vw,10px);padding:6px 8px}.hc-tile{font-size:clamp(7.5px,2.1vw,9.5px)}.hero-story .hero-chatpop{top:21%}.hc-tile.tl-a{left:-29%}.hc-tile.tl-b{right:-28%}}
.hc-tile.tl-a{left:-40%;top:25%}
@media(max-width:900px){.hc-tile.tl-a{left:-34%;top:27%}}
/* Ping: more breathing space, chat floats larger and uses the full height of the phone and beyond */
.hero-story .hero-chatpop{top:13.5%;width:46%;gap:clamp(10px,1.1vw,16px)}
.hero-story .hc{font-size:clamp(11px,.9vw,13.5px);padding:.75em 1em;border-radius:1.25em;line-height:1.38}
.hero-story .hc.u{max-width:56%}
.hero-story .hc.gl{padding:.95em 1.05em 1.05em}
.hc-tile{font-size:clamp(10px,.82vw,12.5px)}
.hc-tile.tl-a{left:-44%;top:20%}
.hc-tile.tl-b{right:-36%;bottom:-14%}
@media(max-width:900px){.hero-story .hero-chatpop{top:13%;width:56%;gap:10px}.hero-story .hc{font-size:clamp(9px,2.6vw,11px)}.hc-tile{font-size:clamp(8.5px,2.4vw,10.5px)}.hc-tile.tl-a{left:-36%;top:18%}.hc-tile.tl-b{right:-30%;bottom:-14%}}
.hero-story .hero-chatpop{top:16.5%;width:42%}
.hc-tile.tl-a{left:-38%;top:19%}
.hc-tile.tl-b{right:-32%;bottom:-12%}
@media(max-width:900px){.hero-story .hero-chatpop{top:17.5%;width:50%;gap:15px}.hero-story .hc{font-size:clamp(9px,2.5vw,10.5px)}.hc-tile{font-size:clamp(8px,2.2vw,10px)}.hc-tile.tl-a{left:-25%;top:12%}.hc-tile.tl-b{right:-19%;bottom:-14%}}
.hc-tile.tl-a{left:-46%;top:36%}
@media(max-width:900px){.hc-tile.tl-a{left:-27%;top:33%}}
@media(max-width:900px){.hc-tile.tl-a{left:-30%;top:27%}}
/* Hero speed-up: next card fades in from the right, chat reads faster */
.hd-card.from-r{opacity:0;transform:translate(-8%,-74%) rotate(-3deg) scale(1)}
.hd-card.fade-in{transition:transform .5s cubic-bezier(.2,.8,.3,1),opacity .4s ease}
.hero-story.chat-open .hc:nth-child(1){transition-delay:.1s}
.hero-story.chat-open .hc:nth-child(2){transition-delay:1.1s}
.hero-story.chat-open .hc:nth-child(3){transition-delay:1.6s}
.hero-story.chat-open .hc:nth-child(4){transition-delay:2s}
.hero-story.chat-open .hc.gl .gl-bar em{transition-delay:2.3s}
.hero-story.chat-open .tl-a{animation-delay:.5s}
.hero-story.chat-open .tl-b{animation-delay:2s}
/* Ping: two bubbles + progress card (no "Toegevoegd" bubble) */
.hero-story.chat-open .hc:nth-child(1){transition-delay:.1s}
.hero-story.chat-open .hc:nth-child(2){transition-delay:1s}
.hero-story.chat-open .hc:nth-child(3){transition-delay:1.5s}
.hero-story.chat-open .hc.gl .gl-bar em{transition-delay:1.8s}
.hero-story.chat-open .tl-a{animation-delay:.4s}
.hero-story.chat-open .tl-b{animation-delay:1.6s}
/* Jouw bank: funnel through a lock into Monny (same purple gradient) */
.hero-connect{container-type:size;padding:0;overflow:hidden}
.hero-connect .fb,.hero-connect .fn-lock,.hero-connect .fn-text,.hero-connect .fn-drop,.hero-connect .fn-logo,.hero-connect .fn-lines{position:absolute}
.hero-connect .fb{width:18.5cqw;aspect-ratio:1;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 1.6cqw 3.6cqw #22085a45;opacity:0;transform:scale(.4)}
.hero-connect .fb img{width:62%;height:62%;object-fit:contain}
.hero-connect .fb1{left:2.75cqw;top:48.25cqw}.hero-connect .fb2{left:22.9cqw;top:29.05cqw}.hero-connect .fb3{left:41.15cqw;top:43.85cqw}.hero-connect .fb4{left:63.75cqw;top:29.05cqw}.hero-connect .fb5{left:73.15cqw;top:50.45cqw}
.hero-connect .fb3 img,.hero-connect .fb5 img{width:100%;height:100%;border-radius:50%}
.hero-connect .fb4 img{width:50%;height:50%}
.hero-connect .fn-lines{left:0;top:68.4cqw;width:100cqw;height:35.9cqw;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-dasharray:7 9;opacity:0}
.hero-connect .fn-lock{left:43.7cqw;top:105.3cqw;width:12.6cqw;fill:none;stroke:#fff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;opacity:0;transform:scale(.5)}
.hero-connect .fn-text{left:0;right:0;top:123.4cqw;margin:0;text-align:center;font-weight:700;font-size:4.9cqw;line-height:1.2;color:#fff;opacity:0;transform:translateY(2cqw)}
.hero-connect .fn-drop{left:calc(50% - .5cqw);top:134.6cqw;height:10.9cqw;border-left:2.4px dashed #fff;opacity:0}
.hero-connect .fn-logo{left:22.5cqw;top:148cqw;width:55cqw;height:auto;opacity:0;transform:scale(.9)}
.hero-story[data-step="3"] .hero-connect .fb{opacity:1;transform:none;transition:opacity .35s,transform .5s cubic-bezier(.3,1.5,.5,1)}
.hero-story[data-step="3"] .hero-connect .fb1{transition-delay:.1s}.hero-story[data-step="3"] .hero-connect .fb2{transition-delay:.2s}.hero-story[data-step="3"] .hero-connect .fb3{transition-delay:.3s}.hero-story[data-step="3"] .hero-connect .fb4{transition-delay:.4s}.hero-story[data-step="3"] .hero-connect .fb5{transition-delay:.5s}
.hero-story[data-step="3"] .hero-connect .fn-lines{opacity:1;transition:opacity .4s .7s;animation:fn-flow 1.2s linear infinite}
.hero-story[data-step="3"] .hero-connect .fn-lock{opacity:1;transform:none;transition:opacity .3s 1s,transform .5s 1s cubic-bezier(.3,1.6,.5,1)}
.hero-story[data-step="3"] .hero-connect .fn-text{opacity:1;transform:none;transition:opacity .4s 1.25s,transform .4s 1.25s}
.hero-story[data-step="3"] .hero-connect .fn-drop{opacity:1;transition:opacity .3s 1.5s}
.hero-story[data-step="3"] .hero-connect .fn-logo{opacity:1;transform:none;transition:opacity .4s 1.7s,transform .5s 1.7s cubic-bezier(.3,1.5,.5,1)}
@keyframes fn-flow{to{stroke-dashoffset:-32}}
@media(prefers-reduced-motion:reduce){.hero-story[data-step="3"] .hero-connect *{transition:none!important;animation:none!important}}
.hero-story .hero-connect{padding:0;display:block}
.hero-connect .fb1{top:50.11cqw}.hero-connect .fb2{top:29.37cqw}.hero-connect .fb3{top:45.36cqw}.hero-connect .fb4{top:29.37cqw}.hero-connect .fb5{top:52.49cqw}
.hero-connect .fn-lines{top:71.87cqw;height:38.77cqw}
.hero-connect .fn-lines path{vector-effect:non-scaling-stroke}
.hero-connect .fn-lock{top:111.72cqw}.hero-connect .fn-text{top:131.27cqw}
.hero-connect .fn-drop{top:143.37cqw;height:11.77cqw}.hero-connect .fn-logo{top:157.84cqw}
.hero-connect .fn-lines path{vector-effect:none}
.hero-connect .fn-lines{stroke-width:3.2;stroke-dasharray:9 13}
@keyframes fn-flow{to{stroke-dashoffset:-22}}
header.hero-story .hero-connect{padding:0!important;display:block!important}
.hero-connect .fb{width:17.5cqw}
.hero-connect .fb1{left:7.25cqw;top:54.59cqw}.hero-connect .fb2{left:24.25cqw;top:33.85cqw}.hero-connect .fb3{left:41.25cqw;top:49.84cqw}.hero-connect .fb4{left:58.25cqw;top:33.85cqw}.hero-connect .fb5{left:75.25cqw;top:56.97cqw}
/* funnel v2: the lock is the hero */
.hero-connect .fb{width:16cqw}
.hero-connect .fb1{left:5cqw;top:52cqw}.hero-connect .fb2{left:23.5cqw;top:38cqw}.hero-connect .fb3{left:42cqw;top:32cqw}.hero-connect .fb4{left:60.5cqw;top:38cqw}.hero-connect .fb5{left:79cqw;top:52cqw}
.hero-connect .fb img{width:56%;height:56%;object-fit:contain;border-radius:0}
.hero-connect .fb1 img{width:66%;height:66%;border-radius:22%}
.hero-connect .fb5 img{width:62%;height:62%;border-radius:22%}
.hero-connect .fb3 img{width:54%;height:54%;border-radius:0}
.hero-connect .fb2 img{width:54%;height:54%}
.hero-connect .fb4 img{width:50%;height:50%}
.hero-connect .fx{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.fx-lines path{fill:none;stroke:#fff;stroke-opacity:.55;stroke-width:.55;stroke-linecap:round;stroke-dasharray:1.6 2.2}
.fx-lines{opacity:0}.fx-dots{opacity:0}
.fx-dot{fill:#ffe14d}
.fx-glow{fill:#fff;opacity:0}
.fx-ring{fill:none;stroke:#fff;stroke-width:.6;opacity:0;transform-box:fill-box;transform-origin:center}
.fx-lock{transform-box:fill-box;transform-origin:center;opacity:0;transform:scale(.3)}
.fx-disc{fill:#fff;filter:drop-shadow(0 1.2px 3px rgba(20,4,70,.45))}
.fx-shackle{fill:none;stroke:#6a1fe0;stroke-width:2.5;stroke-linecap:round;transform:translateY(-2.6px)}
.fx-body{fill:#6a1fe0}.fx-key{fill:#fff}
.fx-check{opacity:0;transform-box:fill-box;transform-origin:center;transform:scale(.2)}
.fx-check circle{fill:#22c55e;stroke:#fff;stroke-width:.9}.fx-check path{fill:none;stroke:#fff;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.hero-connect .fn-text{top:133cqw;font-size:5.3cqw}
.hero-connect .fn-drop{top:143.5cqw;height:8cqw;left:calc(50% - .4cqw);border-left:.7cqw dashed rgba(255,255,255,.8)}
.hero-connect .fn-logo{left:26cqw;top:154cqw;width:48cqw}
.hero-connect .fn-lines,.hero-connect .fn-lock{display:none}
.hero-story[data-step="3"] .fx-lines{opacity:1;transition:opacity .3s .4s}
.hero-story[data-step="3"] .fx-lines path{animation:fx-flow 1.2s linear infinite}
.hero-story[data-step="3"] .fx-dots{opacity:1;transition:opacity .2s .8s}
.hero-story[data-step="3"] .fx-lock{opacity:1;transform:none;transition:opacity .25s .6s,transform .55s .6s cubic-bezier(.3,1.6,.5,1)}
.hero-story[data-step="3"] .fx-shackle{transform:none;transition:transform .35s 1.15s cubic-bezier(.3,1.8,.5,1)}
.hero-story[data-step="3"] .fx-check{opacity:1;transform:none;transition:opacity .2s 1.35s,transform .45s 1.35s cubic-bezier(.3,1.9,.5,1)}
.hero-story[data-step="3"] .fx-glow{animation:fx-glow 2.4s ease-in-out 1.3s infinite}
.hero-story[data-step="3"] .fx-ring{animation:fx-ring 2.4s ease-out 1.5s infinite}
.hero-story[data-step="3"] .fx-ring.r2{animation-delay:2.7s}
.hero-story[data-step="3"] .hero-connect .fn-text{transition-delay:1.35s}.hero-story[data-step="3"] .hero-connect .fn-drop{transition-delay:1.5s}.hero-story[data-step="3"] .hero-connect .fn-logo{transition-delay:1.65s}
@keyframes fx-flow{to{stroke-dashoffset:-3.8}}
@keyframes fx-glow{0%,100%{opacity:.1}50%{opacity:.28}}
@keyframes fx-ring{0%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(2.1)}}
@media(prefers-reduced-motion:reduce){.hero-story[data-step="3"] .hero-connect *{animation:none!important;transition:none!important}.fx-ring{display:none}}
.hero-connect .fn-text{top:135.5cqw;line-height:1.25}.hero-connect .fn-drop{top:151.5cqw;height:6cqw}.hero-connect .fn-logo{top:163cqw;width:46cqw;left:27cqw}
/* funnel screen: backing matches the purple so no light fringe shows at the clipped rounded edge */
header.hero-story[data-step="3"] .story-screen{background:linear-gradient(180deg,#8a32ff,#5e19d6)}
/* no hard cut-off line at the bottom of the hand (r41) */
/* soft fade at the bottom of the hand only (not the whole hand box, which would also crop the cards and bank icons around the phone) */
header.hero-story .story-hand .story-grip,header.hero-story .story-hand .rh-set{-webkit-mask-image:linear-gradient(180deg,#000 0,#000 80%,transparent 98%);mask-image:linear-gradient(180deg,#000 0,#000 80%,transparent 98%)}

/* r30 hero: phone + hand always centred, fully responsive (loaded after hero-fix.css) */

/* "3.000+ mensen": bold, the faces pop up above it for a few seconds and again on hover */
.story-intro p strong.hero-count{position:relative;display:inline-block;font-weight:800;color:#ffe14d;cursor:default;outline:none}
.hero-count .hero-people{position:absolute;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%);display:flex;justify-content:center;margin:0;pointer-events:none;white-space:nowrap}
.hero-count .hero-people img{width:32px;height:32px;margin-left:-10px;border-radius:50%;border:1.5px solid #fff;animation:none;opacity:0;transform:translateY(10px) scale(.3);transition:opacity .22s ease,transform .22s ease}
.hero-count .hero-people img:first-child{margin-left:0}
.hero-count.is-on .hero-people img,.hero-count:hover .hero-people img,.hero-count:focus .hero-people img{opacity:1;transform:none;transition:opacity .3s ease,transform .5s cubic-bezier(.3,1.6,.5,1)}
.hero-count .hero-people img:nth-child(2){transition-delay:.05s}.hero-count .hero-people img:nth-child(3){transition-delay:.1s}.hero-count .hero-people img:nth-child(4){transition-delay:.15s}.hero-count .hero-people img:nth-child(5){transition-delay:.2s}
.story-intro:hover .hero-count .hero-people img{animation:none}

/* ---------- desktop: everything measured from the centre ---------- */
@media(min-width:901px){
  .hero-story{--u:calc(min(100vw,1440px) / 100);--hw:min(calc(36 * var(--u)),calc(100svh - 120px))}
  .hero-story .story-hand{width:var(--hw);max-width:none;left:calc(50% - .487 * var(--hw));top:max(17%,calc(138px + .04 * var(--hw)));transform:none}
  header.hero-story[data-step] .story-left{left:calc(5.95 * var(--u));right:auto;top:23%;text-align:left;width:max-content;max-width:none;font-size:min(calc(8.3 * var(--u)),calc((44 * var(--u) - .34 * var(--hw)) / 3.3));line-height:.92}
  header.hero-story[data-step] .story-right{left:calc(50% + .4 * var(--hw));right:auto;top:59%;width:max-content;max-width:none;white-space:nowrap;font-size:min(calc(6.1 * var(--u)),calc((47.5 * var(--u) - .4 * var(--hw)) / 5.7));line-height:1.16;letter-spacing:-.04em}
  .hero-story .story-intro{left:calc(5 * var(--u));top:auto;bottom:max(14px,2.5svh);width:min(365px,calc(27 * var(--u)))}
  .hero-story .budget-callout{left:calc(50% + .4 * var(--hw));top:4%}
  /* bank icons floating around the phone (positions are relative to the hand box) */
  .hero-story .story-connections span{width:clamp(24px,2.3 * var(--u),34px);opacity:.5;box-shadow:0 2px 6px #2c0f7120}
  .hero-story .story-connections span:nth-child(n){right:auto;top:auto}
  .hero-story .story-connections span:nth-child(1){left:calc(50% + -0.28 * var(--hw));top:3%}
  .hero-story .story-connections span:nth-child(2){left:calc(50% + 0.02 * var(--hw));top:-2%}
  .hero-story .story-connections span:nth-child(3){left:calc(50% + 0.3 * var(--hw));top:5%}
  .hero-story .story-connections span:nth-child(4){left:calc(50% + 0.52 * var(--hw));top:16%}
  .hero-story .story-connections span:nth-child(5){left:calc(50% + 0.6 * var(--hw));top:30%}
  .hero-story .story-connections span:nth-child(6){left:calc(50% + 0.44 * var(--hw));top:22%}
  .hero-story .story-connections span:nth-child(7){left:calc(50% + 0.68 * var(--hw));top:10%}
  .hero-story .story-connections span:nth-child(8){left:calc(50% + 0.8 * var(--hw));top:22%}
  .hero-story .story-connections span:nth-child(9){display:none}
  .hero-story .story-connections span:nth-child(10){display:none}
}

@media(max-width:900px){
  .hero-story{--mf:clamp(26px,7.5vw,60px);--hw:min(124vw,calc(100svh - 360px),620px)}
  .hero-story .hero-story-sticky{min-height:0;height:100svh}
  .hero-story .hero-story-stage{height:100%;min-height:0;margin:0;width:100%}
  header.hero-story .hero-audience-nav{top:20px;height:50px;width:min(424px,calc(100% - 40px))}
  header.hero-story[data-step] .story-left{left:20px;right:20px;top:88px;width:auto;max-width:none;text-align:left;font-size:var(--mf);line-height:1.08;letter-spacing:-.03em}
  header.hero-story[data-step] .story-left br{display:none}
  header.hero-story[data-step] .story-right{left:20px;right:20px;top:calc(88px + var(--mf) * 1.12);width:auto;max-width:none;white-space:normal;text-align:left;font-size:var(--mf);line-height:1.08;letter-spacing:-.03em}
  header.hero-story[data-step] .story-right br{display:none}
  .hero-story .story-hand{width:var(--hw);max-width:none;left:calc(50% - .487 * var(--hw));top:calc(94px + var(--mf) * 2.3 - .03 * var(--hw));transform:none}
  .hero-story .story-intro{left:0;right:0;bottom:0;top:auto;width:auto;padding:46px 20px max(22px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(56,18,142,0),rgba(56,18,142,.94) 52px);z-index:6}
  .hero-story .story-intro p{font-size:15px;line-height:1.5;margin:0 0 14px;max-width:560px;margin-left:auto;margin-right:auto}
  .hero-story .story-intro .button{width:100%;max-width:560px;margin:0 auto;font-size:17px;min-height:50px;height:50px;padding:0 12px}
  .hero-story .hero-story-sticky::after{display:none}
  .hero-story .hero-notif{width:62%}
  .hero-story .budget-callout{left:calc(50% + .13 * var(--hw));right:auto;top:38%;width:122px;padding:10px 12px;border-radius:14px}
  .hero-story .budget-callout span{font-size:11px}.hero-story .budget-callout strong{font-size:20px}.hero-story .budget-callout small{font-size:10px}
  /* bank icons: floating at the edges of the hand, kept inside the screen */
  .hero-story .story-connections span{width:44px}
  .hero-story .story-connections span:nth-child(n){left:auto;right:auto;top:auto}
  .hero-story .story-connections span:nth-child(1){left:calc(.487 * var(--hw) - 50vw + 10px);top:12%}
  .hero-story .story-connections span:nth-child(2){left:calc(.487 * var(--hw) + 50vw - 54px);top:8%}
  .hero-story .story-connections span:nth-child(3){left:calc(.487 * var(--hw) - 50vw + 28px);top:24%}
  .hero-story .story-connections span:nth-child(4){left:calc(.487 * var(--hw) + 50vw - 70px);top:20%}
  .hero-story .story-connections span:nth-child(5){left:calc(.487 * var(--hw) - 50vw + 10px);top:36%}
  .hero-story .story-connections span:nth-child(6){left:calc(.487 * var(--hw) + 50vw - 72px);top:32%}
  .hero-story .story-connections span:nth-child(7){left:calc(.487 * var(--hw) - 50vw + 24px);top:47%}
  .hero-story .story-connections span:nth-child(8){left:calc(.487 * var(--hw) + 50vw - 54px);top:44%}
  .hero-story .story-connections span:nth-child(9),.hero-story .story-connections span:nth-child(10){display:none}
}

/* step 0 is all white, like the Figma frame (yellow accents only from step 1) */
header.hero-story[data-step="0"] .story-left mark,header.hero-story[data-step="0"] .story-right mark{color:#fff}

/* phone screen = exactly the glass of the hand photo's phone (measured), with the glass's own corner radius.
   The screen images carry baked-in phone corners, so the screen gets a solid background to hide those wedges. */
.hero-story .story-screen{left:31.45%;top:8.08%;width:34.5%;height:44.4%;border-radius:calc(var(--hw) * .036);background:#f4f1fe}
.hero-story .story-screen::after{box-shadow:inset 0 0 0 1px #0a0a0f}
.hero-story .hero-deck{background:#f4f1fe}
.hero-story .hero-connect{padding:13% 9% 8%;display:flex;flex-direction:column;justify-content:center}
.hero-story .hero-connect>*{flex:none}
.hero-story .hero-connect .ah-title{font-size:calc(var(--hw) * .0255)}
.hero-story .hero-connect .ah-checks li{font-size:calc(var(--hw) * .0146);padding-right:4px}

/* "Ping!": one notification, then the app opens with one single chat bubble */
.hero-story .hero-notif{width:54%;top:19%}
.hero-story .hn-title{line-height:1.3}
/* chat width/position now set in hero-fix.css */
@media(max-width:900px){.hero-story .hero-notif{width:70%;top:21%}}
/* Jouw bank: the four reassurances appear one by one */
.hero-story .hero-connect .ah-checks li{opacity:0;transform:translateY(8px);transition:opacity .4s,transform .4s}
.hero-story[data-step="3"] .hero-connect .ah-checks li{opacity:1;transform:none}
.hero-story[data-step="3"] .hero-connect .ah-checks li:nth-child(1){transition-delay:.9s}
.hero-story[data-step="3"] .hero-connect .ah-checks li:nth-child(2){transition-delay:1.5s}
.hero-story[data-step="3"] .hero-connect .ah-checks li:nth-child(3){transition-delay:2.1s}
.hero-story[data-step="3"] .hero-connect .ah-checks li:nth-child(4){transition-delay:2.7s}
@media(prefers-reduced-motion:reduce){.hero-story .hero-connect .ah-checks li{transition:none!important;opacity:1!important;transform:none!important}}
