/* Home presentation: navy, warm gold, and readable mobile spacing. */
body{background:#e9edf2}
.app-shell{max-width:430px;background:#f7f8fc;box-shadow:0 0 60px #1623510c;padding-bottom:94px}
.topbar{height:78px;padding:8px 16px;background:#ffffffed;border-bottom:1px solid #e9ecf3;box-shadow:none;backdrop-filter:blur(14px);gap:9px}
.topbar .brand{width:124px;height:60px;padding:0;flex-shrink:0;overflow:visible}
.topbar .brand-logo{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;transform:none;flex-shrink:1}
.topbar .login{font-size:11px;min-height:38px;padding:8px 14px;border-radius:12px;background:#101e62;box-shadow:0 3px 8px #101e6212;white-space:nowrap}
.notification-button{display:grid;place-items:center;min-width:38px;min-height:38px;background:#f1f3f9;border-radius:12px;color:#17265a;padding:7px}
.menu-button{min-width:28px;min-height:38px}
.topbar .user-copy strong{font-size:11px}.topbar .avatar{width:40px;height:40px;flex-basis:40px}.topbar .user{gap:7px}.topbar .credit{font-size:10px}
#home{padding:22px 0 30px}
.home-welcome{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 24px 24px;color:#172354}
.home-welcome .welcome-eyebrow{margin:0 0 6px;color:#a18338;font-size:11px;letter-spacing:.2px}
.home-welcome h1{font-size:25px;font-weight:500;line-height:1.6;text-align:right;margin:0}
.home-welcome p{font-size:11px;line-height:1.9;margin:4px 0 0;color:#7b8196}
.welcome-art{flex-shrink:0;color:#b89a50}
#home .packages{margin:0;padding:0 20px 24px;border-radius:0;background:transparent}
.home-section-heading{text-align:right;margin-bottom:14px}
#home .home-section-heading h2{font-size:15px;font-weight:500;margin:0;color:#172354}
.home-section-heading p{font-size:10px;color:#8990a3;margin:5px 0 0}
#home .package-grid{gap:9px;grid-template-columns:repeat(3,minmax(0,1fr))}
#home .package-grid article{position:relative;border:1px solid #e7eaf2;border-radius:17px;padding:15px 5px;min-height:132px;background:#fff;box-shadow:0 4px 12px #17235404;gap:3px}
#home .package-grid article.free-package{background:#fffcf2;border-color:#e6d6a2}
#home .package-grid span{width:33px;height:33px;margin:0 auto 5px;border-radius:11px;background:#f0f2fb;color:#47558c;font-size:17px;display:grid;place-items:center}
#home .package-grid .free-package span{background:#f6ebc9;color:#947a32;font-size:17px;padding:0;width:33px}
#home .package-grid h3,#home .package-grid .free-package h3{font-size:11px;font-weight:400;margin:0;line-height:1.7}
#home .package-grid p{font-size:12px;color:#64708f;margin:0}
#home .package-grid small{color:#a58a41;font-size:10px;line-height:1.7}
#home .package-grid article.selected{box-shadow:0 0 0 2px #d5b867;background:#fffcf2;transform:translateY(-2px)}
#home .dream-form{margin:0 20px;padding:21px 18px 18px;border:1px solid #e5e8f2;border-radius:22px;background:#fff;color:#172354;box-shadow:0 8px 24px #14265b06}
#home .form-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
#home .form-heading h2{display:block;margin:0;font-size:18px;font-weight:500}
#home .form-heading span{margin:0;padding:5px 8px;border-radius:8px;background:#fcf5e1;color:#a08338;font-size:9px}
.dream-form-intro{font-size:10px;color:#8c93a5;line-height:1.8;margin:5px 0 18px}
#home .dream-form label{display:block;font-size:11px;font-weight:400;margin:16px 0 0;color:#5c6580}
#home .dream-form label:first-of-type:before{content:none}
#home .dream-form em{display:block;margin-top:4px;font-size:9px;color:#9c8b60}
#home .dream-form input,#home .dream-form label:first-of-type input{width:100%;height:44px;display:block;margin-top:8px;padding:10px 12px;border:1px solid #e8ebf3;border-radius:11px;background:#f8f9fc;color:#26345e;font-size:11px;transition:border-color .2s,box-shadow .2s;outline:none}
#home .dream-form label:nth-of-type(2) textarea{width:100%;height:142px;min-height:110px;border:1px solid #e8ebf3;border-radius:12px;background:#f8f9fc;color:#26345e;font-family:inherit;font-size:13px;font-weight:400;line-height:1.9;padding:12px;margin-top:8px;outline:none;resize:vertical;transition:border-color .2s,box-shadow .2s}
#home .dream-form input::placeholder,#home .dream-form label:nth-of-type(2) textarea::placeholder{color:#a0a7b9;opacity:1;font-size:11px}
#home .dream-form input:focus,#home .dream-form label:nth-of-type(2) textarea:focus{border-color:#bdad79;box-shadow:0 0 0 3px #d4bd7b20;background:#fff}
#home .form-footer{gap:10px;margin-top:13px;padding:0;font-size:10px;color:#9a8860;font-weight:400}
#home .send{min-height:42px;border-radius:12px;padding:10px 18px;background:#142468;color:#fff;font-size:12px;box-shadow:0 4px 10px #14246818}
#home .form-help{color:#9a9fb0;font-size:9px;text-align:right;line-height:1.8;margin-top:13px}
#home .notice{display:block;margin:12px 22px 28px;padding:0 8px;background:transparent;color:#8991a7;font-size:10px;font-weight:400;text-align:center;line-height:1.9}
#home .feedback{padding:0 0 22px;background:transparent}
#home .feedback .section-title{min-height:auto;background:transparent;margin:0 22px 1px;padding:0;display:flex;align-items:center;justify-content:space-between}
#home .feedback h2{font-size:17px;color:#172354;background:none;font-weight:500;font-family:inherit;padding:0;margin:0}
.feedback-swipe-hint{width:25px;color:#acb1bf}
#publicComments.smooth-carousel{padding:16px 20px 0}
#publicComments .feedback-card{background:#fff;border-color:#e9ecf3;border-radius:19px;box-shadow:none}
#publicComments .feedback-card p{font-size:15px;font-family:inherit;color:#4f5872;font-weight:400;line-height:2}
#home .feedback-more{margin:16px auto 0;font-size:11px;padding:8px 20px;min-height:37px;border-color:#e1e5ef;color:#69738f;background:#fff}
#home .share-card{width:calc(100% - 40px);margin:2px auto 28px;padding:17px 16px;min-height:83px;display:flex;justify-content:space-between;border:1px solid #e6dfca;border-radius:18px;background:#fbf7eb;color:#756133;box-shadow:none;gap:12px}
#home .share-copy{display:flex;flex:1;flex-direction:column;gap:3px;text-align:right;padding:0}
#home .share-copy b{color:#816c37;font-size:14px;font-weight:400}
#home .share-copy small{font-size:9px;color:#a0916f}
#home .share-card .share-action{position:static;flex-shrink:0;padding:8px 12px;border-radius:10px;background:#fffdf8;color:#967c35;font-size:10px;border:1px solid #e8dec5}
#home #publicBenefits.smooth-carousel{margin:0 20px}
.bottom-nav{max-width:398px;left:16px;right:16px;bottom:12px;height:64px;border-radius:20px;padding:6px;background:#fff;border:1px solid #e9ecf3;box-shadow:0 8px 30px #18264b15;gap:4px}
.bottom-nav button{border-radius:14px;color:#929ab0;font-size:10px;font-weight:400;transition:color .2s,background .2s}
.bottom-nav button.active{background:#f0f2fb;color:#1b2b6d}
.bottom-nav i{font-size:24px;line-height:28px}
.bottom-nav b{top:8px;background:#bd9b40}
button,a,input,textarea{-webkit-tap-highlight-color:transparent}
#home button:focus-visible{outline:2px solid #b39850;outline-offset:3px}
@media(hover:hover){#home .send:hover{background:#233783}#home .feedback-more:hover{border-color:#acb6ce}#home .share-card:hover{background:#f8f1df}#home .package-option:not(.unavailable):hover{transform:translateY(-3px);box-shadow:0 8px 18px #1723540b}}
@media(max-width:350px){.topbar{padding-inline:10px;gap:5px}.topbar .brand{width:90px}.topbar .login{font-size:10px;padding:8px 10px}.home-welcome{padding-inline:20px}.home-welcome h1{font-size:22px}.welcome-art{width:52px}#home .dream-form{margin-inline:14px;padding-inline:15px}#home .packages{padding-inline:14px}#home .package-grid{gap:6px}#home .form-footer{font-size:9px}#home .send{padding-inline:13px}}
@media(prefers-reduced-motion:reduce){#home *, .bottom-nav button{transition:none!important}}

@media(max-width:380px){.topbar .brand{width:108px;height:54px}}
@media(max-width:350px){.topbar .brand{width:96px;height:50px}}

/* Light benefit cards complement the reviews, with a warm gold accent. */
#home #publicBenefits .carousel-track{border-radius:19px}
#home #publicBenefits .carousel-slide>.benefit{justify-content:flex-start;min-height:210px;padding:20px 20px 16px;border:1px solid #e9e5da;border-inline-start:3px solid #c4a35b;border-radius:19px;background:#fff;box-shadow:none}
#home #publicBenefits .benefit>span{display:inline-flex;align-self:flex-start;position:static;top:auto;right:auto;padding:5px 12px;border-radius:8px;background:#faf5e8;color:#9a7d39;font-size:11px;font-weight:400;line-height:1.6}
#home #publicBenefits .benefit>span:before{content:none}
#home #publicBenefits .benefit:after{content:'☾';top:16px;left:20px;right:auto;transform:rotate(-18deg);font-size:40px;line-height:1;color:#c5ad76;text-shadow:none;opacity:.8}
#home #publicBenefits .benefit p{flex:1;margin:19px 0 17px;color:#4f5872;font-family:inherit;font-size:15px;line-height:2;text-shadow:none;font-weight:400}
#home #publicBenefits .benefit .text-button{display:inline-flex;align-items:center;align-self:flex-end;min-height:32px;margin:0;padding:5px 11px;border:1px solid #ede5d2;border-radius:9px;background:#fffdf8;color:#a18b54;font:inherit;font-size:10px}
#home #publicBenefits .benefit .text-button:hover{background:#fbf5e6;border-color:#d8c393}
#home #publicBenefits .benefit-pagination button:before{background:#d7dce8}
#home #publicBenefits .benefit-pagination button[aria-current=true]:before{background:#b99a4e}
@media(max-width:380px){#home #publicBenefits .carousel-slide>.benefit{padding:18px 17px 15px;min-height:200px}#home #publicBenefits .benefit p{font-size:14px}#home #publicBenefits .benefit:after{left:17px}}

/* Responsive layout shared across phone widths. */
.app-shell{--phone-gutter:clamp(14px,4.6vw,20px);width:100%;min-width:0;padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
.topbar{display:grid;grid-template-columns:clamp(90px,27vw,124px) minmax(0,1fr) 40px 30px;align-items:center;height:auto;min-height:76px;padding:8px var(--phone-gutter);gap:6px}
.topbar .brand{width:100%;height:56px;min-width:0}
.topbar .account,.topbar.has-user .account{width:100%;min-width:0;margin:0}
.topbar .user{width:100%;min-width:0;gap:5px;justify-content:flex-end}
.topbar .user-copy{flex:1;min-width:0;overflow:hidden}
.topbar .user-copy strong{display:block;max-width:100%;font-size:11px;line-height:1.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topbar .credit{font-size:9px;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
.topbar .avatar{width:32px;height:32px;flex-basis:32px}
.topbar .avatar-placeholder small{font-size:7px}
.topbar .login{display:block;width:100%;font-size:10px;padding:8px 5px;min-height:40px;text-align:center}
.topbar .notification-button{width:40px;min-width:0;min-height:42px;padding:8px}
.topbar .menu-button{width:30px;min-width:0;min-height:42px;font-size:26px;padding:0}
.topbar .menu{top:calc(100% - 2px);left:var(--phone-gutter);max-width:calc(100vw - 28px)}
#home{padding-top:18px}
.home-welcome{padding:0 var(--phone-gutter) 22px;gap:10px}
.home-welcome>div{min-width:0}
.home-welcome h1{font-size:clamp(22px,6vw,25px);line-height:1.6}
.home-welcome p{font-size:11px;line-height:1.9}
.welcome-art{width:clamp(48px,15vw,65px);height:70px}
#home .packages{padding:0 var(--phone-gutter) 22px}
#home .package-grid{gap:8px}
#home .package-grid article{min-width:0;min-height:126px;padding:12px 5px}
#home .package-grid h3,#home .package-grid .free-package h3{font-size:11px;overflow-wrap:anywhere;line-height:1.8}
#home .package-grid p{font-size:12px;line-height:1.7}
#home .dream-form{margin-inline:var(--phone-gutter);padding:20px clamp(14px,4vw,18px) 18px;border-radius:20px}
#home .form-heading{flex-wrap:wrap;row-gap:6px}
#home .form-heading h2{font-size:17px}
#home .form-heading span{max-width:100%;overflow-wrap:anywhere}
#home .dream-form label{font-size:12px;line-height:1.8}
#home .dream-form em{font-size:10px}
#home .dream-form input,#home .dream-form label:first-of-type input,#home .dream-form label:nth-of-type(2) textarea{font-size:16px;max-width:100%;min-width:0}
#home .dream-form input,#home .dream-form label:first-of-type input{height:48px}
#home .dream-form label:nth-of-type(2) textarea{height:150px;line-height:1.85}
#home .dream-form input::placeholder,#home .dream-form label:nth-of-type(2) textarea::placeholder{font-size:12px}
#home .form-footer{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
#home #characterCount{flex:1;min-width:95px;line-height:1.7}
#home .send{flex-shrink:0;min-height:44px;padding:10px 15px}
#home .form-help{font-size:10px;line-height:1.9}
#home .notice{margin:12px var(--phone-gutter) 24px;padding-inline:2px;font-size:11px}
#home .feedback .section-title{margin-inline:var(--phone-gutter)}
#home #publicComments.smooth-carousel{padding:14px var(--phone-gutter) 0;min-width:0}
#publicComments .carousel-slide{flex-basis:88%}
#publicComments .feedback-card p{padding:18px 16px;font-size:14px;line-height:1.95}
#home .feedback-more{min-height:42px;font-size:12px}
#home .share-card{width:calc(100% - var(--phone-gutter) * 2);margin:0 auto 24px;padding:15px 14px;gap:10px}
#home .share-copy{min-width:0}
#home .share-copy b{font-size:clamp(12px,3.4vw,14px);line-height:1.8}
#home .share-copy small{font-size:10px;line-height:1.8}
#home .share-card .share-action{display:grid;place-items:center;min-height:40px;padding:8px 10px}
#home #publicBenefits.smooth-carousel{margin-inline:var(--phone-gutter);min-width:0}
#home #publicBenefits .carousel-slide>.benefit{padding:18px 17px 15px;min-height:210px}
#home #publicBenefits .benefit p{font-size:14px;line-height:2}
#home #publicBenefits .benefit .text-button{min-height:40px;font-size:11px}
.bottom-nav{width:calc(100% - 24px);max-width:406px;left:0;right:0;bottom:calc(10px + env(safe-area-inset-bottom,0px));height:64px;margin-inline:auto}
.bottom-nav button{min-width:0;font-size:11px;line-height:1.6}
.page#my-dreams,.page#featured-dreams{padding-inline:var(--phone-gutter)}
.dream-card{min-width:0}
.dream-card p{overflow-wrap:anywhere}
.dream-meta{flex-wrap:wrap;gap:10px;align-items:center;font-size:11px;line-height:1.9}
.dream-meta>span:first-child{flex:1 1 150px;min-width:0}
.dream-meta .status{flex-shrink:0;white-space:nowrap;font-size:10px}
#dialog{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;padding:22px;max-width:410px}
#dialog input,#dialog textarea{max-width:100%;font-size:16px}
html{scroll-padding-top:88px;scroll-padding-bottom:110px}
@media(max-width:350px){.topbar{grid-template-columns:86px minmax(0,1fr) 36px 26px;padding-inline:10px;gap:5px}.topbar .notification-button{width:36px}.topbar .menu-button{width:26px}.topbar .avatar{width:28px;height:28px;flex-basis:28px}.topbar .user{gap:4px}.topbar .brand{width:100%;height:50px}.topbar .credit{font-size:8px}#home .package-grid{gap:6px}#home .package-grid article{padding-inline:3px}#home .package-grid h3,#home .package-grid .free-package h3{font-size:10px}#home .form-footer{font-size:10px}}
@media(max-height:500px) and (pointer:coarse){body:has(input:focus,textarea:focus) .bottom-nav{display:none}}
#home .share-card:before,#home .share-card:after{content:none}
#home .share-copy{width:auto;align-items:flex-start}#home .share-copy small{max-width:100%;overflow-wrap:anywhere}

#home .package-grid{grid-template-columns:repeat(var(--package-columns,3),minmax(0,1fr))}

#home>.home-share{display:grid;min-width:0;margin:0 var(--phone-gutter,20px) 24px;isolation:isolate}#home .home-share>.share-card{position:relative;display:flex;box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:0;transform:none}#home .home-share .share-copy{flex:1;min-width:0}#home .home-share .share-action{flex:0 0 auto}
