/* Approved image-led story composition, with accessible website navigation. */
.hs-modal-overlay #hs-dialog.hr-visual-story{background:#17212b;color:#fff;width:440px;height:min(850px,calc(100dvh - 24px));border-radius:26px;border-color:#ffffff55}
.hr-visual-story .hs-demo-body{overflow:auto;overscroll-behavior:contain;scrollbar-width:none}
.hr-story{position:relative;min-height:100%;height:100%;min-height:650px;isolation:isolate;color:#fff}
.hr-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}
.hr-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#10121ccc 0%,#10121c45 32%,#10121c05 42%,#0b101da6 58%,#090d17f5 84%)}
.hr-headline{position:absolute;top:94px;left:24px;right:24px}.hr-headline>p{font-size:10px;letter-spacing:.12em;font-weight:500;color:#dceafa;margin:0 0 10px}.hr-headline h3{font-size:32px;line-height:1.08;letter-spacing:-1px;font-weight:500;margin:0 0 12px;max-width:360px;color:#fff}.hr-subtitle{font-size:13px;line-height:1.5;max-width:345px;color:#fffffff0;text-wrap:pretty}
.hr-bottom{position:absolute;left:24px;right:24px;bottom:103px}.hr-stats{display:flex;justify-content:space-between;margin-bottom:24px;gap:10px}.hr-stats strong{display:block;font-size:22px;font-weight:500;line-height:1.2}.hr-stats span{display:block;font-size:10px;color:#e3e7ef;margin-top:6px}.hr-impact-heading{display:flex;flex-direction:column;gap:5px;margin-bottom:13px}.hr-impact-heading strong{font-size:15px;font-weight:500}.hr-impact-heading>span{font-size:10px;color:#d7dce4}
.hr-ribbons{display:flex;gap:15px;align-items:flex-start;margin-bottom:17px}.hr-ribbon{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:56px;animation:hr-ribbon-in .6s ease-out both;animation-delay:calc(var(--ribbon-order)*.1s)}.hr-ribbon img{width:56px;height:56px;object-fit:contain}.hr-ribbon span{font-size:9px;color:#fff}.hr-pathways{display:grid;gap:8px}.hr-pathway{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:12px;align-items:center}.hr-pathway>span{font-size:10px;line-height:1.35;color:#e4e7f0}.hr-bar{height:4px;background:#ffffff25;border-radius:8px;overflow:hidden}.hr-bar i{display:block;width:var(--bar);height:100%;transform-origin:left;background:linear-gradient(90deg,#f4a285,#f7e7bb,#a5dbe2);border-radius:inherit;animation:hr-fill 1.5s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--order)*.15s)}
.hr-chart{padding:12px 13px 8px;border:1px solid #ffffff36;border-radius:16px;background:#19233880;backdrop-filter:blur(10px);margin-bottom:17px}.hr-chart-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.hr-chart-heading strong{font-size:14px;font-weight:500}.hr-chart-heading small,.hr-chart-heading>span{font-size:10px;font-weight:400;color:#d9e2ef}.hr-chart svg{display:block;width:100%;height:54px;margin-top:7px;overflow:visible}.hr-chart svg path{fill:none;stroke:#a6bdfd;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:650;stroke-dashoffset:0;animation:hr-trace 1.8s ease-out both}.hr-chart-labels{display:flex;justify-content:space-between;font-size:8px;color:#dae0ef}.hr-ingredients{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.hr-ingredients span{border:1px solid #ffffff50;padding:7px 11px;font-size:10px;border-radius:20px;background:#26263370;backdrop-filter:blur(5px)}
.hr-visual-story .hs-demo-footer{bottom:35px;left:24px;right:24px;gap:9px}.hr-visual-story .hs-demo-footer:after{content:'Create your free account to explore your biology';position:absolute;top:calc(100% + 10px);left:0;right:0;text-align:center;font-size:9px;color:#dce3ee}.hr-details{display:flex;align-items:center;justify-content:center;gap:15px;flex:1;height:45px;border-radius:28px;background:#fff;color:#323649;font-size:13px;font-weight:500;text-decoration:none;transition:background .2s,transform .2s}.hr-details:hover{background:#e9edff;transform:translateY(-1px)}.hr-details:focus-visible{outline:3px solid #d7c4ff;outline-offset:3px}.hr-visual-story .hs-demo-footer button{width:40px;height:44px;flex:none;background:#ffffff20!important;color:#fff;border:1px solid #ffffff45}.hr-visual-story .hs-demo-top button{min-width:36px;height:36px;font-size:20px}.hr-visual-story .hs-demo-top strong{font-size:12px}.hr-visual-story .hs-demo-top small{font-size:8px;letter-spacing:.08em}
@keyframes hr-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes hr-ribbon-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes hr-trace{from{stroke-dashoffset:650}to{stroke-dashoffset:0}}
@media(max-width:700px){.hs-modal-overlay{padding:8px}.hs-modal-overlay #hs-dialog.hr-visual-story{width:calc(100vw - 16px);height:calc(100dvh - 16px);border-radius:22px}.hr-headline{left:20px;right:20px;top:91px}.hr-headline h3{font-size:30px;max-width:310px}.hr-bottom{left:20px;right:20px;bottom:104px}.hr-visual-story .hs-demo-footer{left:20px;right:20px}.hr-subtitle{font-size:12px}.hr-ribbons{gap:13px}.hr-pathway{grid-template-columns:minmax(0,1fr) 76px}}
@media(max-height:720px){.hr-headline h3{font-size:27px;margin-bottom:8px}.hr-headline{top:86px}.hr-subtitle{font-size:11px}.hr-bottom{bottom:96px}.hr-ribbons{margin-bottom:11px}.hr-ribbon img{height:46px;width:46px}.hr-ribbon{min-width:46px}.hr-chart{margin-bottom:12px}.hr-chart svg{height:43px}.hr-stats{margin-bottom:16px}.hr-pathways{gap:6px}.hr-impact-heading{margin-bottom:10px}.hr-visual-story .hs-demo-footer{bottom:30px}}
@media(prefers-reduced-motion:reduce){.hr-story *{animation:none!important}.hr-details{transition:none}}

/* The approved card layout and animation set remain unchanged. */
.hr-ribbon{max-width:90px}.hr-ribbon>span:last-child{text-align:center;line-height:1.2;max-width:90px}.hr-ribbon-image{display:block;width:56px;height:56px;flex:none;border-radius:50%;padding:2px;box-sizing:border-box;background:linear-gradient(135deg,#f4a285,#f7e7bb,#64d4df)}.hr-ribbon-image img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}.hr-ribbon-image.hr-anatomy img{object-fit:contain;background:#f2f6f6;padding:4px;box-sizing:border-box}.hr-ribbon-image.hr-original{background:transparent;padding:0}.hr-ribbon-image.hr-original img{object-fit:contain;border-radius:0}
.hr-composition>strong{display:block;font-size:12px;font-weight:500;margin-bottom:3px}.hr-composition>span{display:block;font-size:9px;color:#cfd5e3;margin-bottom:8px}.hr-composition>div{display:grid;grid-template-columns:1fr 1fr;gap:5px 6px}.hr-composition>div>span{font-size:9px;line-height:1.25;padding:6px 8px;border:1px solid #ffffff30;border-radius:9px;background:#ffffff0b}
.hr-run{display:flex;align-items:center;gap:14px;padding:10px 12px}.hr-run svg{width:100px;height:62px;margin:0;flex:none}.hr-run svg path{animation:none;stroke-width:2.4;stroke-dasharray:none}.hr-run strong{display:block;font-size:22px;font-weight:500}.hr-run span{display:block;font-size:10px;margin-top:4px;color:#e3e7ef}.hr-run small{display:block;font-size:9px;margin-top:6px;color:#cdd5e3}
@media(max-height:720px){.hr-ribbon-image{width:46px;height:46px}.hr-ribbon-image img{width:100%;height:100%}.hr-composition>div>span{padding:5px 7px}.hr-run svg{height:50px}.hr-run strong{font-size:19px}}

/* Reuse existing ribbon and bar entrances, without introducing new animation. */
.hr-ribbons{gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:2px;align-items:flex-start}.hr-ribbon{flex:0 0 58px;min-width:58px;max-width:58px;scroll-snap-align:start}.hr-ribbon>span:last-child{font-size:8px;max-width:58px;min-height:19px}.hr-ribbon-image{width:48px;height:48px}.hr-ribbon-image img{width:100%;height:100%}.hr-more-impacts{flex:0 0 48px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:0;background:none;border:0;color:white;cursor:pointer}.hr-more-impacts b{display:grid;place-items:center;width:48px;height:48px;border:1px solid #ffffff75;border-radius:50%;background:#ffffff16;font-size:16px;font-weight:500}.hr-more-impacts>span{font-size:8px}.hr-more-impacts:hover b,.hr-more-impacts:focus-visible b{background:#ffffff30}.hr-composition>div>span b{display:block;font-size:10px;font-weight:500}.hr-composition>div>span small{display:block;font-size:8px;opacity:.75;margin-top:3px}.hr-composition>div>span{padding:6px 8px}.hr-composition>span{font-size:8px}.hr-details{font-size:12px;gap:8px}.hr-visual-story .hs-demo-footer:after{content:'Free account · Personalised to your biology'}
.hr-map-card{position:relative;overflow:hidden;border-radius:16px;background:#f3efea;border:1px solid #ffffff50;margin-bottom:16px}.hr-map-card>svg{display:block;width:100%;height:155px}.hr-run-summary{display:flex;align-items:center;gap:12px;padding:9px 12px;background:#131c2f;color:#fff}.hr-run-summary strong{font-size:17px;font-weight:500}.hr-run-summary span{font-size:10px}.hr-run-summary small{font-size:8px;margin-left:auto;color:#bbc6d9}.hr-geographic-route{fill:none;stroke:#e8643d;stroke-width:8;stroke-linejoin:round;stroke-linecap:round;filter:drop-shadow(0 1px 2px #ffffff)}.hr-map-attribution{position:absolute;right:0;bottom:0;background:#ffffffdd;color:#24333e;font-size:7px;padding:2px 4px;text-decoration:none}
@media(max-height:720px){.hr-ribbon{flex-basis:55px;min-width:55px}.hr-ribbons{gap:8px}.hr-ribbon-image,.hr-more-impacts b{width:42px;height:42px}.hr-more-impacts{flex-basis:42px}.hr-map-card>svg{height:120px}.hr-map-card{margin-bottom:12px}.hr-composition>div>span{padding:5px 7px}.hr-composition>div>span b{font-size:9px}}
