/* Approved Three Little Steps: only the homepage instruction section. */
body.front-page .home-three-steps{flex:none;width:100%;max-width:620px;margin:10px auto 14px;color:var(--ink);text-align:center;box-sizing:border-box;}
body.front-page .home-three-steps h2{font:400 24px/1.15 var(--heading);margin:0 0 15px;transform:none;letter-spacing:0;}
body.front-page .three-little-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;padding:0;margin:0 auto;max-width:600px;}
body.front-page .three-little-steps li{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;}
body.front-page .little-step-art{height:112px;width:100%;display:flex;align-items:center;justify-content:center;}
body.front-page .little-step-photo,body.front-page .little-step-shirt{display:block;flex:none;background-image:url('assets/photo-to-favorite-v306.jpg');background-repeat:no-repeat;mix-blend-mode:multiply;}
body.front-page .little-step-photo{width:112px;height:104px;background-size:235% auto;background-position:left center;}
body.front-page .little-step-shirt{width:112px;height:104px;background-size:245% auto;background-position:90% center;}
body.front-page .little-step-personality{width:78px;height:78px;display:flex;align-items:center;justify-content:center;border:3px solid var(--ink);border-radius:24px;background:#ffe8bd;box-shadow:3px 3px 0 #ff9409;transform:rotate(-7deg);box-sizing:border-box;}
body.front-page .little-step-personality svg{width:46px;height:46px;}
body.front-page .little-step-number{position:absolute;top:2px;left:2px;z-index:1;width:26px;height:26px;box-sizing:border-box;border:2px solid var(--ink);border-radius:50%;background:#ff9409;font:900 15px/22px var(--body);}
body.front-page .little-step-label{font:400 19px/1.15 var(--heading);display:block;margin-top:7.5px;}
/* Keep the established natural flow so this section never squeezes the hero. */
@media(max-width:599px){
 html:has(body.front-page){height:auto;overflow:auto;}
 body.front-page{height:auto;min-height:100svh;overflow:visible;}
 body.front-page #app{flex:none;}
 body.front-page .landing{height:auto;min-height:0;}
 body.front-page .home-hero{flex:none;height:260px;min-height:260px;}
 body.front-page .home-three-steps{margin:8px auto 12.5px;}
 body.front-page .home-three-steps h2{font-size:21px;margin-bottom:12.5px;}
 body.front-page .three-little-steps{gap:7px;}
 body.front-page .little-step-art{height:85px;}
 body.front-page .little-step-photo,body.front-page .little-step-shirt{width:88px;max-width:100%;height:82px;}
 body.front-page .little-step-personality{width:59px;height:59px;border-radius:20px;}
 body.front-page .little-step-personality svg{width:34px;height:34px;}
 body.front-page .little-step-number{width:22px;height:22px;font-size:13px;line-height:18px;left:0;}
 body.front-page .little-step-label{font-size:17px;}
}

/* V315: complete individual illustrations; no sprite cropping or click animation. */
body.front-page .little-step-illustration{display:block;flex:none;object-fit:contain;width:122px;height:112px;max-width:100%;}
@media(max-width:599px){body.front-page .little-step-illustration{width:96px;height:85px;}}

/* V316: optical balance only; the middle puppy and layout stay unchanged. */
body.front-page .three-little-steps li:first-child .little-step-illustration,body.front-page .three-little-steps li:last-child .little-step-illustration{transform:scale(1.18);}
body.front-page .three-little-steps li:nth-child(2) .little-step-label{white-space:nowrap;}

/* V318: enlarge and lower only the photo for optical alignment. */
body.front-page .three-little-steps li:first-child .little-step-illustration{transform:translateY(5px) scale(1.30);}
@media(max-width:599px){body.front-page .three-little-steps li:first-child .little-step-illustration{transform:translateY(4px) scale(1.30);}}

/* V322: spacing only; preserve all image and text dimensions. */
body.front-page .home-cta{margin-top:5px;}

/* V323: bring the steps heading closer to the right-side pets only. */
body.front-page .home-three-steps{margin-top:0;padding-top:3px;overflow:visible;}
