#zy-welcome[hidden]{display:none!important}
#zy-welcome{position:fixed;inset:0;z-index:9000;overflow:auto;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(400px,1fr);background:#141126;color:#f3ecff;font-family:'Plus Jakarta Sans',system-ui,sans-serif;isolation:isolate}
#zy-welcome *{box-sizing:border-box}
#zy-welcome .welcome-scene{position:relative;min-height:100dvh;min-width:0;align-self:stretch;margin:0;padding:0;border:0;border-radius:0;background:#211a46;overflow:hidden}
#zy-welcome .welcome-scene>img{display:block;width:100%;height:100%;position:absolute;inset:0;max-width:none;max-height:none;object-fit:cover;object-position:50% 58%}
#zy-welcome .welcome-scene:after{display:none}
#zy-welcome .welcome-copy{align-self:center;max-width:530px;padding:32px clamp(24px,4vw,56px);margin:auto;width:100%;text-align:center}
#zy-welcome .welcome-brand{display:flex;justify-content:center;align-items:center;margin:0 0 22px}
#zy-welcome .welcome-brand>img{display:block;flex:none;width:auto;height:170px;max-width:100%;object-fit:contain;border-radius:0}
#zy-welcome h1{font-size:clamp(24px,2.35vw,34px);line-height:1.35;letter-spacing:-.8px;margin:0;font-weight:750}
#zy-welcome h1 span{color:#d6b1f8}#zy-welcome h1:focus{outline:none}
#zy-welcome .welcome-subtitle{font-size:13px;line-height:1.6;color:#bfb1d9;margin:10px 0 24px}
#zy-welcome .welcome-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;list-style:none;padding:0;margin:0 0 28px}
#zy-welcome .welcome-feature{min-width:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:16px 3px;background:linear-gradient(145deg,#46387666,#211a4666);border:1px solid #8d69e14f;border-radius:20px;box-shadow:inset 0 1px 0 #ffffff0e,0 6px 24px #06051b33;font-size:11px;font-weight:500;color:#e8dffc}
#zy-welcome .welcome-feature svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 8px currentColor)}
#zy-welcome .feature-hydration svg{color:#64dcf2}#zy-welcome .feature-sleep svg{color:#99a6ff}#zy-welcome .feature-medicine svg{color:#b8e69f}#zy-welcome .feature-progress svg{color:#cf9df9}
#zy-welcome .welcome-actions{display:grid;gap:12px}
#zy-welcome .welcome-actions button{min-height:52px;width:100%;border-radius:99px;padding:13px 14px;display:inline-flex;gap:10px;align-items:center;justify-content:center;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
#zy-welcome .welcome-primary{background:linear-gradient(110deg,#74b9ff,#7548ff 58%,#ba43e9);border:1px solid #d7bfff;color:#fff;box-shadow:0 0 24px #853eff30,inset 0 1px 1px #ffffff77}
#zy-welcome .welcome-primary svg{background:white;border-radius:50%;padding:3px;box-sizing:content-box}
#zy-welcome .welcome-secondary{background:linear-gradient(135deg,#27204980,#161329);border:1px solid #a98bf2;color:#f3ecff}
#zy-welcome .welcome-actions button:disabled{opacity:.65;cursor:default}
#zy-welcome .welcome-actions button:focus-visible{outline:2px solid #c8efff;outline-offset:4px}
#zy-welcome .welcome-status{font-size:11px;line-height:1.5;color:#c2b5dc;min-height:17px;margin:14px 0}
#zy-welcome .welcome-footnote{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;line-height:1.6;color:#b9a6df;margin:18px 0 0}
#zy-welcome .welcome-footnote svg{width:19px;height:19px;fill:none;stroke:#aa7df6;stroke-width:1.8;flex:none}
@media(max-width:700px){
#zy-welcome{display:flex;flex-direction:column;gap:0;padding:22px 20px max(20px,env(safe-area-inset-bottom));background:radial-gradient(ellipse at 10% 0,#37266c 0,transparent 45%),radial-gradient(ellipse at 100% 95%,#342069 0,transparent 40%),#141126}
#zy-welcome .welcome-copy{display:contents}#zy-welcome .welcome-brand{order:0;margin:0 0 10px}#zy-welcome .welcome-brand>img{height:140px}
#zy-welcome h1{order:1;text-align:center;font-size:21px;letter-spacing:-.4px}#zy-welcome h1 br{display:none}#zy-welcome h1 span{white-space:nowrap}
#zy-welcome .welcome-subtitle{display:none}
#zy-welcome .welcome-scene{order:2;flex:none;min-height:0;height:215px;margin:0 -20px;overflow:hidden;background:transparent}
#zy-welcome .welcome-scene>img{object-position:50% 62%;width:100%;height:100%}
#zy-welcome .welcome-features{order:3;gap:8px;margin:0 0 24px}#zy-welcome .welcome-feature{border-radius:18px;padding:13px 2px;gap:8px;font-size:11px}#zy-welcome .welcome-feature svg{width:26px;height:26px}
#zy-welcome .welcome-actions{order:4}#zy-welcome .welcome-status{order:5;text-align:center;margin:12px 0 0}#zy-welcome .welcome-footnote{order:6;margin-top:18px}
}
@media(max-width:350px){#zy-welcome{padding-top:16px}#zy-welcome .welcome-brand>img{height:118px}#zy-welcome h1{font-size:19px}#zy-welcome .welcome-scene{height:182px}#zy-welcome .welcome-features{gap:6px;margin-bottom:18px}#zy-welcome .welcome-feature{font-size:10px}#zy-welcome .welcome-actions button{font-size:13px}}
@media(prefers-reduced-motion:reduce){#zy-welcome *{scroll-behavior:auto}}
/* Exact-reference mobile composition. Desktop remains above, unchanged. */
#zy-welcome .welcome-mobile-heading{display:none}
#zy-welcome h1>.welcome-desktop-heading{color:inherit}
@media(max-width:700px){
#zy-welcome{display:block;padding:0;background:#10112e;min-height:0;overflow:auto}
#zy-welcome .welcome-scene{position:absolute;inset:0;width:100%;height:100%;min-height:740px;margin:0;overflow:hidden;z-index:-1}
#zy-welcome .welcome-scene>img{content:url('assets/welcome-mobile-reference.webp');position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
#zy-welcome .welcome-copy{display:block;position:relative;width:100%;height:max(100dvh,740px);max-width:none;margin:0;padding:0}
#zy-welcome .welcome-brand{position:absolute;top:4%;left:0;width:100%;height:24%;margin:0}
#zy-welcome .welcome-brand>img{height:100%;width:auto;max-width:70%;object-fit:contain}
#zy-welcome h1{position:absolute;top:30%;left:6%;width:88%;margin:0;font-size:clamp(12px,3.05vw,16px);font-weight:400;letter-spacing:0;line-height:1.5;white-space:nowrap;color:#c7b6eb}
#zy-welcome h1>.welcome-desktop-heading{display:none}
#zy-welcome h1>.welcome-mobile-heading{display:block;color:inherit;white-space:nowrap}
#zy-welcome .welcome-features{position:absolute;top:54.2%;left:13%;width:74%;height:9.7%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3.5%;margin:0;padding:0}
#zy-welcome .welcome-feature{height:100%;padding:6px 1px;gap:7px;justify-content:center;border-radius:clamp(14px,4vw,22px);font-size:clamp(10px,2.6vw,14px);font-weight:400;background:linear-gradient(140deg,#3733698c,#211d4599);border:1px solid #7560c555;box-shadow:inset 0 1px 1px #b9a3ff28}
#zy-welcome .welcome-feature svg{width:clamp(24px,5.8vw,34px);height:clamp(24px,5.8vw,34px);filter:drop-shadow(0 0 5px #9271e333)}
#zy-welcome .feature-sleep svg{color:#69bafa}#zy-welcome .feature-medicine svg{color:#c08aff}
#zy-welcome .welcome-actions{position:absolute;top:calc(70.7% - 12px);left:12.5%;width:75%;height:14.7%;display:flex;flex-direction:column;justify-content:space-between;gap:0}
#zy-welcome .welcome-actions button{min-height:44px;padding:7px 8px;font-weight:500;font-size:clamp(12px,3.2vw,17px);border-radius:99px;flex:none}
#zy-welcome .welcome-primary{height:49%;background:linear-gradient(110deg,#73b9fc,#7750ff 58%,#c13de8);box-shadow:inset 0 1px 1px #ffffffcc,0 0 18px #713bff38;border:1px solid #e3c9ff;gap:10px}
#zy-welcome .welcome-secondary{height:40%;background:#27234466;border:1.5px solid #9980ff;font-weight:400}
#zy-welcome .welcome-primary svg{width:18px;height:18px;padding:4px}
#zy-welcome .welcome-actions button:disabled{opacity:.75}
#zy-welcome .welcome-status{position:absolute;top:calc(85.7% - 12px);left:8%;width:84%;font-size:9px;line-height:1.3;min-height:0;margin:0;text-align:center}
#zy-welcome .welcome-footnote{position:absolute;top:calc(88.6% - 12px);left:5%;width:90%;margin:0;font-size:clamp(10px,2.9vw,15px);gap:7px;white-space:nowrap;color:#bca9e8}
#zy-welcome .welcome-footnote svg{width:19px;height:19px}
}

/* Move only the wordmark pixels closer to the Z on mobile; same canvas/scale. */
@media(max-width:700px){#zy-welcome .welcome-brand>img{content:url("assets/zyronymo-logo-lockup-mobile.png")}}
