/* Public website clearance. The private workspace retains its existing navigation. */
html:not(.wealth-app-navigation) .wealth-public-page { --wealth-header-clearance:100px; padding-top:0; }
html:not(.wealth-app-navigation) .wealth-operational-header { display:none; }
.wealth-app-navigation .wealth-public-header { display:none; }
html:not(.wealth-app-navigation) .wealth-public-home .hero { margin-top:0; padding-top:var(--wealth-header-clearance); }
.wealth-public-header { z-index:100; }
.wealth-public-header .wealth-nav-link.wealth-over-card:not(.active) { color:#07130d; }
.wealth-public-header .wealth-nav-link.wealth-split-card:not(.active) .wealth-nav-label { color:transparent; background-image:var(--wealth-card-ink)!important; background-clip:text; -webkit-background-clip:text; }
.wealth-public-header .wealth-caption-on-card { color:#07130d!important; }
.wealth-public-header .wealth-header-wordmark { display:inline-flex; }
html:not(.wealth-app-navigation) .wealth-public-page .skip-link { z-index:110; }
html:not(.wealth-app-navigation) .wealth-public-page .tracker-sidebar { top:0; padding-top:calc(var(--wealth-header-clearance) + 30px); }
html:not(.wealth-app-navigation) .wealth-public-page .tracker-workspace [id] { scroll-margin-top:calc(var(--wealth-header-clearance) + 20px); }
@media(max-width:900px) {
  html:not(.wealth-app-navigation) .wealth-public-page { --wealth-header-clearance:94px; }
  .wealth-public-header .wealth-header-wordmark { display:none; }
}
@media(max-width:880px) {
  html:not(.wealth-app-navigation) .wealth-public-page .tracker-workspace [id] { scroll-margin-top:calc(var(--wealth-header-clearance) + 74px); }
}
@media print {
  .wealth-public-header { display:none!important; }
  html:not(.wealth-app-navigation) .wealth-public-page { padding-top:0; }
}

/* Let each existing page surface reach the top, with clearance inside it. */
html:not(.wealth-app-navigation) .wealth-public-page > .flash-stack { padding-top:var(--wealth-header-clearance); }
.wealth-public-page.tracker-app .wealth-public-header:not(.is-enhanced) .wealth-header-wordmark > span:first-child { color:#f7f3eb; }
.wealth-public-page.tracker-app .wealth-public-header:not(.is-enhanced) .wealth-header-wordmark > span:last-child,
.wealth-public-page.tracker-app .wealth-public-header:not(.is-enhanced) :is(.wealth-header-brand,.wealth-header-login) > .wealth-mobile-label { color:#d6b77b; }
@media(min-width:881px) {
  html:not(.wealth-app-navigation) .wealth-public-page .tracker-sidebar { width:280px; }
  html:not(.wealth-app-navigation) .wealth-public-page.tracker-app > :is(#main-content,.site-footer,.flash-stack) { margin-left:280px; }
}
html:not(.wealth-app-navigation) .wealth-public-page:not(.tracker-app) #main-content > :is(.page-head,.section,.price-hero,.tour-standalone):nth-child(1 of :not(script):not(style)),
html:not(.wealth-app-navigation) .wealth-public-page .trust-content > .page-head { padding-top:calc(var(--wealth-header-clearance) + var(--wealth-leading-space,80px)); }
html:not(.wealth-app-navigation) .wealth-public-page .page-head { --wealth-leading-space:64px; }
html:not(.wealth-app-navigation) .wealth-public-page .price-hero { --wealth-leading-space:88px; }
html:not(.wealth-app-navigation) .wealth-public-page .tour-standalone { --wealth-leading-space:40px; }
html:not(.wealth-app-navigation) .wealth-public-page #main-content > .tracker-workspace { padding-top:calc(var(--wealth-header-clearance) + 32px); }
.wealth-public-header.wealth-brand-on-sidebar .wealth-header-wordmark > span:first-child { color:#f7f3eb; }
.wealth-public-header.wealth-brand-on-sidebar .wealth-header-wordmark > span:last-child { color:#d6b77b; }
.wealth-public-header .wealth-over-sidebar:not(.active) { color:#f7f3eb!important; }
.wealth-public-header .wealth-caption-on-sidebar { color:#d6b77b!important; }
@media(max-width:880px) {
  html:not(.wealth-app-navigation) .wealth-public-page .tracker-sidebar { padding-top:var(--wealth-header-clearance); }
  html:not(.wealth-app-navigation) .wealth-public-page #main-content > .tracker-workspace { padding-top:24px; }
  html:not(.wealth-app-navigation) .wealth-public-page :is(.section,.price-hero) { --wealth-leading-space:52px; }
}
@media print {
  html:not(.wealth-app-navigation) .wealth-public-page #main-content > .tracker-workspace { padding-top:0; }
}

/* Approved primary action shape and content safe opening viewport. */
@media(min-width:901px) { .wealth-public-header .wealth-header-login { border-radius:30px; } }
html:not(.wealth-app-navigation) .wealth-public-home .hero { min-height:100vh; min-height:100svh; min-height:100dvh; height:auto; }
