/* WealthNest landing page – close visual adaptation of the supplied reference layout.
   Intentionally scoped to .wealthnest-landing so the investment dashboard stays untouched. */
:root{--landing-navy:#1e2b49;--landing-blue:#1e73e8;--landing-green:#18b980;--landing-muted:#52637f;--landing-surface:#f5f7fc}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body.wealthnest-landing{margin:0;background:#fff;color:#0e1016;font-family:'Poppins',Inter,Arial,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased}
.wealthnest-landing a{color:inherit;text-decoration:none}
.wealthnest-landing button{font:inherit;cursor:pointer}
.wealthnest-landing .reference-masthead{min-height:152px;background:white;border-bottom:1px solid #e8e8e8;display:flex;align-items:flex-start;padding:14px 19px 18px}
.wealthnest-landing .reference-logo-box{width:175px;height:118px;display:block;background:#06090d;overflow:hidden;flex:none}
.wealthnest-landing .reference-logo-box img{display:block;width:100%;height:100%;object-fit:cover}
.wealthnest-landing .reference-main{background:#f5f7fc;min-height:calc(100vh - 270px);padding:65px 0 0;overflow:hidden}
.wealthnest-landing .reference-hero{max-width:770px;margin:0 auto;padding:0 19px;text-align:center}
.wealthnest-landing .reference-heading{color:var(--landing-navy);font-size:clamp(36px,4.5vw,54px);line-height:1.15;letter-spacing:-1.8px;font-weight:800;margin:0 auto 24px;max-width:690px}
.wealthnest-landing .reference-welcome{display:block}
.wealthnest-landing .reference-name{color:var(--landing-green)}
.wealthnest-landing .reference-heading-small{color:#0a0a0e;font-size:.59em;line-height:1.35;font-weight:450;letter-spacing:0}
.wealthnest-landing .reference-copy{max-width:720px;margin:0 auto;color:var(--landing-muted);font-size:19px;line-height:1.8;font-weight:400}
.wealthnest-landing .reference-copy p{margin:0 0 14px}
.wealthnest-landing .reference-copy p:last-child{margin-bottom:0}
.wealthnest-landing .reference-ctas{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;max-width:540px;margin:29px auto 0}
.wealthnest-landing .reference-btn{display:inline-flex;align-items:center;justify-content:center;min-height:49px;padding:0 21px;border-radius:8px;color:#fff;font-size:16px;font-weight:700;white-space:nowrap;border:0;transition:filter .15s ease,transform .15s ease}
.wealthnest-landing .reference-btn:hover,.wealthnest-landing .reference-btn:focus-visible{filter:brightness(.93);transform:translateY(-1px)}
.wealthnest-landing .reference-btn.primary{background:var(--landing-blue);color:white}
.wealthnest-landing .reference-btn.app{background:var(--landing-green);color:white}
.wealthnest-landing .reference-btn:focus-visible{outline:3px solid #153f7d;outline-offset:3px}
.wealthnest-landing .reference-illustration{display:block;width:min(94%,760px);height:auto;margin:43px auto 0;object-fit:contain}
.wealthnest-landing .reference-footer{background:#1e2946;color:#fff;min-height:90px;padding:27px 20px;display:flex;justify-content:center;align-items:center;text-align:center;font-size:14px}
.wealthnest-landing .reference-footer p{margin:0}
.wealthnest-landing .download-float{position:fixed;bottom:14px;left:20px;z-index:15;border-radius:34px;padding:0 20px;height:52px;font-weight:700;box-shadow:0 8px 30px rgba(16,54,116,.14);background:linear-gradient(110deg,#1d70ea,#15b985);color:#fff;display:flex;align-items:center;justify-content:center}
.wealthnest-landing .reference-dialog{display:none;position:fixed;z-index:50;inset:0;padding:22px;background:rgba(10,18,35,.56);align-items:center;justify-content:center}
.wealthnest-landing .reference-dialog:target{display:flex}
.wealthnest-landing .reference-dialog-card{position:relative;max-width:450px;width:100%;background:#fff;border-radius:13px;padding:29px 26px;color:#192b48;box-shadow:0 15px 45px rgba(0,0,0,.18)}
.wealthnest-landing .reference-dialog-card h2{font-size:24px;margin:0 30px 12px 0}
.wealthnest-landing .reference-dialog-card p{font-size:15px;line-height:1.7;color:#596981;margin:0 0 17px}
.wealthnest-landing .reference-dialog-close{position:absolute;top:12px;right:14px;font-size:28px;color:#50617b}
.wealthnest-landing .reference-dialog-action{display:inline-block;background:#1e73e8;border-radius:7px;padding:10px 17px;color:#fff!important;font-weight:600;font-size:14px}
@media(max-width:600px){
 .wealthnest-landing .reference-main{padding-top:68px}
 .wealthnest-landing .reference-heading{font-size:36px;letter-spacing:-1.2px;line-height:1.12;margin-bottom:23px}
 .wealthnest-landing .reference-copy{font-size:16px;line-height:1.73;max-width:390px}
 .wealthnest-landing .reference-copy p{margin-bottom:16px}
 .wealthnest-landing .reference-ctas{margin:26px 0 0;gap:13px;justify-content:flex-start;max-width:none}
 .wealthnest-landing .reference-btn{min-height:45px;padding:0 18px;font-size:15px}
 .wealthnest-landing .reference-illustration{width:calc(100% - 38px);max-width:none;margin:39px auto 0}
 .wealthnest-landing .reference-footer{font-size:13px;min-height:75px;padding:25px 18px 85px}
}
@media(max-width:355px){.wealthnest-landing .reference-heading{font-size:32px}.wealthnest-landing .reference-copy{font-size:15px}.wealthnest-landing .reference-btn{padding:0 15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.wealthnest-landing .reference-btn{transition:none}}
