/* Phone demonstrations: source imagery retains its native proportions. */
.hero-story .phone-home{object-fit:contain;background:#fdfbf7}
.hero-story .phone-budget{inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}
.phone-lock-screen{position:absolute;inset:0;z-index:2;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:28px;background:linear-gradient(155deg,#6434ba,#351064);color:#fff;opacity:0;transition:opacity .4s}
.phone-lock-screen>span{font:500 clamp(30px,3.8vw,52px)/1 Poppins,sans-serif;letter-spacing:-.06em}
.phone-lock-screen>img{width:55%;height:auto;opacity:.9}
.hero-story[data-step="2"] .phone-lock-screen{opacity:1}
.hero-story[data-step="2"] .phone-home{opacity:0}
.hero-story .phone-notification{top:20%;left:5%;width:90%;gap:7px;padding:10px 8px;border-radius:12px;background:#f7f4faf5;color:#2d1b39;font-size:clamp(8px,.82vw,12px);line-height:1.45;align-items:flex-start;box-shadow:0 6px 22px #19083730}
.notification-app-logo{width:25px;height:25px;flex:none;background:#7122e4;border-radius:7px;display:grid;place-items:center;margin-top:2px;overflow:hidden}
.hero-story .notification-app-logo img{width:23px;height:auto}
.phone-notification>span:last-child{flex:1;min-width:0}.phone-notification b{display:flex;justify-content:space-between;font-size:.85em;letter-spacing:.02em;margin-bottom:4px}.phone-notification b small{font-weight:400;color:#766b7d}.phone-notification>span>small{margin-top:3px}
.hero-story .phone-chat{position:absolute;inset:0;background:#fdfbf7;opacity:0;z-index:3;overflow:hidden;transition:opacity .4s}
.chat-demo-canvas{position:absolute;left:50%;top:50%;width:393px;height:852px;margin:-426px 0 0 -196.5px;transform:scale(var(--chat-demo-scale,.44));transform-origin:center;display:flex;flex-direction:column;background:#fdfbf7;color:#332341;font-family:Poppins,sans-serif;text-align:left}
.demo-status{height:58px;flex:none;padding:14px 24px 0;font-size:15px;font-weight:600;background:#f3edf9}
.demo-chat-heading{height:65px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 20px;color:#4e179a;font-size:20px;border-bottom:1px solid #e8def2;background:#f3edf9}
.demo-chat-heading>span:last-child{font-size:27px;color:#8d819b}
.demo-conversation{flex:1;padding:20px 17px;display:flex;flex-direction:column;gap:17px}
.demo-message{padding:16px 17px;margin:0;max-width:94%;border-radius:19px;font-size:19px;line-height:1.45;letter-spacing:0}
.demo-coach{background:#fff;box-shadow:0 2px 9px #30115209;align-self:flex-start;color:#3b3342}
.demo-user{align-self:flex-end;background:#7f22fe;color:white;font-size:18px}
.demo-buffer{background:#f0faef;border:1px solid #c5e8c0;border-radius:18px;padding:17px;color:#2d653b;display:flex;flex-direction:column;gap:5px;margin:0 5px;font-size:17px}
.demo-buffer strong{font-size:32px;color:#299843}.demo-buffer small{font-size:15px}
.demo-composer{flex:none;margin:0 14px 28px;background:#4d179a;color:#e6d7ff;padding:19px 20px;border-radius:18px;font-size:18px}
.hero-story[data-step="2"].chat-open .demo-conversation>*{animation:demo-message-in .4s both}
.hero-story[data-step="2"].chat-open .demo-conversation>:nth-child(2){animation-delay:.5s}.hero-story[data-step="2"].chat-open .demo-conversation>:nth-child(3){animation-delay:1s}.hero-story[data-step="2"].chat-open .demo-conversation>:nth-child(4){animation-delay:1.5s}.hero-story[data-step="2"].chat-open .demo-conversation>:nth-child(5){animation-delay:2s}
@keyframes demo-message-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.hero-card-loop{position:absolute;inset:0;z-index:6;display:block;padding:0;border:0;background:none;color:inherit;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s}
.hero-story[data-step="0"] .hero-card-loop{opacity:1;visibility:visible}
.hero-floating-card{display:block;position:absolute;left:25%;top:12%;width:48%;opacity:0;perspective:1100px;animation:hero-card-swipe 18s infinite both;animation-play-state:paused;pointer-events:auto;cursor:pointer}
.hero-floating-card img{display:block;width:100%;height:auto;max-width:none}
.hero-card-flip{display:block;position:relative;aspect-ratio:474/555;transform-style:preserve-3d;animation:hero-card-turn 18s infinite both;animation-play-state:paused}
.hero-card-flip img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.hero-card-flip .floating-back{transform:rotateY(180deg)}
.floating-golden{animation-delay:6s}.floating-mood{animation-delay:12s}
.hero-story[data-step="0"] .hero-floating-card,.hero-story[data-step="0"] .hero-card-flip{animation-play-state:running}
.hero-story .hero-card-loop[data-paused="true"] .hero-floating-card,.hero-story .hero-card-loop[data-paused="true"] .hero-card-flip{animation-play-state:paused}
.hero-card-loop:focus-visible{outline:none}.hero-card-loop:focus-visible .hero-floating-card{outline:2px solid #ffe14d;outline-offset:4px;border-radius:20px}
@keyframes hero-card-swipe{0%{opacity:0;transform:translate(0,20%) scale(.62)}4%,25%{opacity:1;transform:translate(8%,-25%) scale(1.06)}29%{opacity:1;transform:translate(-15%,-28%) rotate(-4deg) scale(1.04)}33%,100%{opacity:0;transform:translate(-90%,-15%) rotate(-14deg) scale(.8)}}
@keyframes hero-card-turn{0%,12%{transform:rotateY(0)}17%,33%{transform:rotateY(180deg)}34%,100%{transform:rotateY(180deg)}}
.budget-callout{position:absolute;left:64%;top:13%;z-index:7;width:220px;display:flex;flex-direction:column;gap:4px;padding:19px 21px;background:#fff;border-radius:22px;color:#351356;box-shadow:0 14px 40px #21085030;opacity:0;transform:translateY(15px) scale(.92);transition:opacity .4s,transform .6s cubic-bezier(.2,.8,.2,1);pointer-events:none}
.budget-callout span{font-size:17px;font-weight:600}.budget-callout strong{font-size:32px;line-height:1.2;letter-spacing:-.025em;color:#6921cb}.budget-callout small{font-size:14px;color:#766787}
.hero-story[data-step="1"] .budget-callout{opacity:1;transform:translateY(0) scale(1)}
@media(max-width:900px){.budget-callout{width:190px;left:61%;padding:15px 17px}.budget-callout strong{font-size:21px}.budget-callout span{font-size:16px}}
@media(max-width:600px){.hero-floating-card{width:43%;left:30%;top:12%}.hero-story .phone-notification{font-size:8px;padding:8px 6px;gap:5px;top:20%}.notification-app-logo{width:19px;height:19px}.hero-story .notification-app-logo img{width:17px;height:auto}.phone-lock-screen>span{font-size:32px}.budget-callout{left:24%;top:4%;width:190px;padding:14px 16px;border-radius:18px}.budget-callout strong{font-size:21px}.budget-callout span{font-size:15px}.budget-callout small{font-size:13px}}
@media(prefers-reduced-motion:reduce){.hero-story .hero-floating-card,.hero-story .hero-card-flip,.hero-story .demo-conversation>*{animation:none!important}.hero-story .floating-golden,.hero-story .floating-mood{display:none}.hero-story[data-step="0"] .floating-guess{opacity:1;transform:translate(8%,-20%)}.phone-lock-screen,.phone-chat,.budget-callout,.hero-card-loop{transition:none}}
