/* Phase 1: confident hierarchy with contextual alignment. */
html,body{background:#edf4f1;font-family:ui-rounded,"SF Pro Rounded",system-ui,sans-serif}
.welcome{align-items:center;text-align:center}.welcome-wordmark{text-align:center;font-size:28px}.welcome-art{width:100%;padding-bottom:16px}.welcome-art img{width:clamp(160px,36vh,280px);transform:none}.welcome-art span{display:none}.welcome h1{font-size:clamp(36px,5.8vh,48px);letter-spacing:-1.7px;line-height:1.04;max-width:390px;text-align:center}.welcome-copy{width:100%;padding:10px 0 6px}.welcome p{text-align:center;font-size:16px}
.experience{padding-top:16px}.experience h1{text-align:center;max-width:100%;font-size:36px;line-height:1.08}.experience>p{text-align:center;margin-bottom:28px}.experience-options{text-align:left}.experience-option b{font-size:20px}.experience-option small{font-size:14px}.experience-option{background:#f9fcfa;border-color:#bed2c6;border-radius:20px;padding:21px 18px}.experience-options{gap:14px}
.lookalikes{align-items:center;text-align:center}.lookalikes h1{max-width:none;text-align:center;font-size:39px;margin:0 0 24px}.lookalike-pair{width:100%;gap:20px}.pitch-copy{text-align:center;margin-top:16px}.challenge-hint{text-align:center}.more-lookalikes h1{font-size:34px}.more-lookalikes>p:first-of-type{font-size:17px;font-weight:500}.value-bottomline{font-size:16px;font-weight:650;margin-top:3px}
#content>section:has(.mini){align-items:center;text-align:center}#content>section:has(.mini) h1{font-size:42px;text-align:center}.mini{font-size:14px;color:#48645c}
.study-preview h1{font-size:32px}.study-disclosure{font-size:12px}
@media(max-height:720px){.welcome h1{font-size:36px}.welcome-art img{width:185px}.experience h1{font-size:31px}.experience>p{margin-bottom:18px}.experience-option{padding:17px 16px}.experience-option b{font-size:17px}.experience-option small{font-size:12px}.experience-options{gap:11px}.lookalikes h1{font-size:32px;margin-bottom:14px}.lookalike-orb{width:112px;height:112px}.reading-button{margin-top:12px}.more-lookalikes h1{font-size:29px}.more-lookalikes>p:first-of-type{font-size:15px}.value-bottomline{font-size:14px}.study-preview h1{font-size:28px}}
/* Owner correction: preserve the original Toy's scale and option treatment. */
.welcome{justify-content:flex-start;gap:0}.welcome-wordmark{margin:0 0 24px;padding:0}.welcome-art{flex:0 0 auto;min-height:0;width:100%;padding:0;margin:0 0 24px}.welcome-art img{display:block;width:min(98%,360px);max-width:100%;height:auto;max-height:none;transform:rotate(-7deg)}.welcome-art span{display:block;right:0;bottom:-8px;font-size:14px;padding:8px 16px}.welcome-copy{padding:8px 0 0}.welcome h1{font-size:clamp(36px,12vw,54px);line-height:1.02;font-weight:850;letter-spacing:-2px;margin:0 0 16px;max-width:none}.welcome p{font-size:17px}
.experience-options{gap:12px}.experience-option{background:#dfece5;border:1px solid #bfd5c9;border-radius:18px;padding:18px 20px;min-height:88px}.experience-option b{font-size:18px;font-weight:750}.experience-option small{font-size:13px;margin-top:6px}.experience-option:active{background:#ccdfd3}
@media(max-height:720px){.welcome-wordmark{font-size:26px;margin-bottom:10px}.welcome-art{margin-bottom:14px}.welcome-art img{width:clamp(155px,35vh,240px)}.welcome-art span{font-size:12px;padding:6px 12px;bottom:-4px}.welcome h1{font-size:36px;letter-spacing:-1.5px;margin-bottom:10px}.welcome p{font-size:15px}.welcome-copy{padding-top:4px}.experience-options{gap:10px}.experience-option{min-height:74px;padding:14px 16px}.experience-option b{font-size:16px}.experience-option small{font-size:12px}}
@media(min-width:850px){.welcome-art img{width:min(85%,360px)}.is-welcome .welcome-art{padding:0}}
@media(prefers-reduced-motion:reduce){.welcome-art img{transform:none}}

/* Requested correction: first welcome title alignment only. */
.welcome .welcome-copy h1{text-align:left!important}

/* Approved headline reference libfile_c4a4f83463808191ba4389d6199f7c25: static classic medium strike. */
.welcome .welcome-copy h1{font-size:clamp(30px,11.2vw,48px);font-weight:850;line-height:1.02;letter-spacing:-.045em;color:#073340;text-align:left!important}
.welcome .jp-welcome-line{display:block;white-space:nowrap}
.welcome .jp-welcome-strike{display:inline-block;position:relative;text-decoration:none}
.welcome .jp-welcome-strike::after{content:"";position:absolute;left:-.06em;right:-.02em;top:55.5%;height:.115em;transform:translateY(-50%);background:currentColor;pointer-events:none;border-radius:0}
@media(max-height:720px){.welcome .welcome-copy h1{font-size:clamp(30px,11.2vw,36px)}}

/* Match the approved wordmark silhouette across Safari and desktop. DOM text remains accessible. */
.welcome-wordmark{width:3.05246em;height:1.1em;overflow:hidden;color:transparent!important;background:url(/demos/jplay/app/assets/brand/jplay-approved.svg?v=20261005-lan2) center/100% auto no-repeat;}
.welcome .welcome-copy h1{margin-bottom:0;}

/* Welcome hero uses available content height, rather than the old 240px Safari breakpoint cap. */
.is-welcome .welcome{width:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;align-items:center;justify-items:center;gap:16px;height:100%;min-height:0;}
.is-welcome .welcome-wordmark{margin:0;}
.is-welcome .welcome-art{height:100%;min-height:0;margin:0;padding:0;display:flex;align-items:center;justify-content:center;container-type:size;}
.is-welcome .welcome-art img{width:min(98cqw,100cqh,360px);height:min(98cqw,100cqh,360px);max-height:none;max-width:none;aspect-ratio:1;object-fit:contain;flex:none;}
.is-welcome .welcome-copy{width:100%;padding:0;}
@media(max-height:720px){.is-welcome .welcome{gap:12px;}.is-welcome .welcome-art img{width:min(98cqw,100cqh,360px);height:min(98cqw,100cqh,360px);max-height:none;max-width:none;}}
