/* wjp-site-tree.css: the money tree behind every public page (Winston,
   Nov 3: "put it on all pages", "centered", "without it being faded",
   "blended into my background color, the image's background cropped and
   replaced with my colors"). The tree is cut out of its dark backdrop
   (transparent WebP), so the page's own green-and-cream shows around it.
   Fixed and centred in the window. Decorative: aria-hidden, no pointer
   events, behind content. --tree-strength tunes it per page if needed. */
.site-tree{
  position:fixed;z-index:-1;pointer-events:none;
  left:50%;top:52%;transform:translate(-50%,-50%);
  height:min(94vh,980px);aspect-ratio:2/3;max-width:96vw;
  background:url(/assets/demo/tree-full-v5.webp) center/contain no-repeat;
  /* Full colour where it stands clear of text (home hero on wide screens,
     sign-in, which has its own); softer behind running text so it reads. */
  opacity:var(--tree-strength,.2);
}
.site-tree.strong{--tree-strength:1}
/* Home: the tree stands on the bottom of the window so the hands show below
   the app pictures instead of behind them. */
@media (min-width:821px){ .site-tree.strong{top:auto;bottom:0;transform:translateX(-50%)} }
@media (max-width:820px){
  .site-tree,.site-tree.strong{height:min(86vh,760px);background-image:url(/assets/demo/tree-full-v5-720.webp);--tree-strength:.2}
}
@media print{ .site-tree{display:none} }

/* Gold writing, the same on every public page (Winston, Nov 3: "in all the
   pages we should have some gold writings so there is consistency"). One
   phrase of each page's main heading is gold, and the small section labels
   above headings are gold. Deep enough gold to read on the light pages. */
.gold{color:#a9790f;font-style:normal;
  background:linear-gradient(180deg,#c99a2a 0%,#a9790f 55%,#8f6a14 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.eyebrow,.eyebrow-cta{color:#8f6a14 !important}

/* Top tabs (Winston, Nov 3: "the tabs at the top are barely useful").
   One set of tabs on every public page: Home, Features, Household, How it
   works, Pricing, FAQ, Blog (The math moved to the footer, Nov 3). The open
   page is marked with a gold underline (and aria-current), hover is a soft
   green wash. Padding is tight so the extra Blog tab still fits beside
   Sign in on a laptop. */
nav.top .nav-links{gap:2px}
nav.top .nav-links a.link{position:relative;padding:8px 11px;border-radius:10px;font-size:13px;font-weight:650;color:rgba(10,10,10,.68);background:transparent}
nav.top .nav-links a.link:hover{background:rgba(31,122,74,.08);color:#0f3d26}
nav.top .nav-links a.link.active{background:transparent;color:#0f3d26}
nav.top .nav-links a.link.active::after{content:"";position:absolute;left:11px;right:11px;bottom:3px;height:2.5px;border-radius:2px;background:linear-gradient(90deg,#c99a2a,#e9c46a)}
@media (max-width:1180px){nav.top .nav-links a.link{padding:8px 8px;font-size:12.5px}nav.top .nav-links a.link.active::after{left:8px;right:8px}}
@media (max-width:980px){nav.top .nav-links a.link{padding:7px 6px;font-size:12px}nav.top .nav-links a.link.active::after{left:6px;right:6px}}


/* Readable over the tree (Winston, Nov 3: "some of the pages are hard to
   read like this"). The tree is lighter behind running pages (.2), and each
   page heading sits on a soft cream glow so the words stand clear of the
   leaves while the tree still shows around them. */
.sub-hero .wrap,.pricing-hero .wrap,.vs-hero .wrap,.goals-hero .wrap,.about-split .split-text,.blog-hero .wrap,.article-hero{position:relative;isolation:isolate}
.sub-hero .wrap::before,.pricing-hero .wrap::before,.vs-hero .wrap::before,.goals-hero .wrap::before,.about-split .split-text::before,.blog-hero .wrap::before,.article-hero::before{
  content:"";position:absolute;z-index:-1;inset:-16% -12%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(255,252,244,.92),rgba(255,252,244,.72) 50%,rgba(255,252,244,0) 100%)}
/* Computers that can't show WebP (wjp-img-fallback.js). */
html.wjp-no-webp .site-tree{background-image:url(/assets/demo/tree-full-v5.png)}
@media (max-width:820px){ html.wjp-no-webp .site-tree,html.wjp-no-webp .site-tree.strong{background-image:url(/assets/demo/tree-full-v5-720.png)} }
