/* Nivata Wealth USA v3.8.96 — inner-page hero geometry parity with India v3.34.89.99.
   Consolidates competing legacy sizing rules without editing page text or data engines.
   The US site header is ABSOLUTE (88px), unlike some India templates; reserve
   that header space explicitly so page titles never sit behind navigation.
*/
:root{--nivata-us-hero-gutter:max(28px,calc((100vw - 1240px)/2));--nivata-us-hero-top:clamp(126px,9.1vw,146px);--nivata-us-hero-bottom:clamp(42px,4vw,60px)}
/* Consistent left-aligned editorial hierarchy, independent of text length. */
body main :is(.page-hero__grid,.market-stories-index-hero__copy,.educate-hero__copy,.guide-hero__copy,.results-hero__copy,.article-hero__inner,.company-masthead__grid > div:first-child){text-align:left}
body main :is(.page-hero__grid,.market-stories-index-hero,.educate-hero,.guide-hero,.results-hero,.article-hero,.company-masthead) .eyebrow{margin:0!important;letter-spacing:.095em;font-size:11px;line-height:1.5}
/* The generic U.S. page heroes correspond to India's Tools, Data and trust heroes. */
body main > .page-hero,body main > .page-hero.page-hero--short,
body main > .page-hero.page-hero--calculator{
  box-sizing:border-box;min-height:0!important;height:auto!important;
  padding:var(--nivata-us-hero-top) 0 var(--nivata-us-hero-bottom)!important;
}
body main > .page-hero .page-hero__grid,
body main > .page-hero.page-hero--short .page-hero__grid{
  min-height:0!important;height:auto!important;padding:0!important;
  display:grid;align-items:end!important;
  grid-template-columns:minmax(0,1.38fr) minmax(235px,.57fr);
  gap:clamp(30px,4.5vw,68px);
}
body main > .page-hero .page-hero__grid > div:first-child{min-width:0;max-width:790px}
body main > .page-hero .page-hero__grid h1{
  max-width:850px!important;margin:17px 0 21px!important;
  font-size:clamp(46px,5.1vw,78px)!important;line-height:.98!important;
  letter-spacing:-.052em!important;font-weight:520!important;
}
body main > .page-hero .page-hero__grid > div > p:not(.eyebrow){
  max-width:720px;font-size:clamp(15px,1.25vw,18px)!important;
  line-height:1.6!important;margin-bottom:0;
}
body main > .page-hero .page-hero__grid > aside{
  min-width:0;max-width:380px;align-self:end;justify-self:stretch;
  padding:19px 0!important;background:transparent;
  border-left:0;border-right:0;
}
/* India Market Stories layout: substantial left title, supporting copy below,
   small right-hand metrics, all anchored to the same lower baseline. */
body main.us-market-stories-parity > .market-stories-index-hero{
  box-sizing:border-box;min-height:0!important;height:auto!important;
  padding:var(--nivata-us-hero-top) var(--nivata-us-hero-gutter) var(--nivata-us-hero-bottom)!important;
  display:grid;grid-template-columns:minmax(0,1.4fr) minmax(230px,.58fr)!important;
  gap:clamp(30px,4.5vw,68px)!important;align-items:end!important;
}
body main.us-market-stories-parity > .market-stories-index-hero .market-stories-index-hero__copy{min-width:0;max-width:840px}
body main.us-market-stories-parity > .market-stories-index-hero h1{
  max-width:800px;font-size:clamp(49px,5.45vw,82px)!important;
  line-height:.95!important;letter-spacing:-.052em!important;
  margin:18px 0 24px!important;font-weight:520!important;
}
body main.us-market-stories-parity > .market-stories-index-hero .market-stories-index-hero__copy > p:last-of-type{
  max-width:750px;font-size:clamp(16px,1.35vw,19px)!important;line-height:1.58!important;
}
body main.us-market-stories-parity > .market-stories-index-hero .market-stories-index-hero__actions{margin-top:28px!important}
body main.us-market-stories-parity > .market-stories-index-hero .market-stories-index-hero__stats{
  align-self:end!important;align-content:end!important;min-width:0;padding-left:26px;
}
/* Education, Quick Library and guide titles: mirror India hero copy hierarchy. */
body main > .educate-hero,body main > .educate-hero.educate-hero--academy{
  min-height:0!important;height:auto!important;
  padding:var(--nivata-us-hero-top) var(--nivata-us-hero-gutter) var(--nivata-us-hero-bottom)!important;
  grid-template-columns:minmax(0,1.35fr) minmax(220px,.56fr)!important;
  align-items:end!important;gap:clamp(26px,4vw,65px)!important;
}
body main > .educate-hero .educate-hero__copy{max-width:840px;min-width:0}
body main > .educate-hero h1{
  margin:18px 0 24px!important;max-width:840px;
  font-size:clamp(46px,5.4vw,82px)!important;line-height:.95!important;
  letter-spacing:-.052em!important;font-weight:520!important;
}
body main > .educate-hero .educate-hero__copy > p:not(.eyebrow){font-size:clamp(16px,1.3vw,19px)!important;line-height:1.58!important;max-width:740px}
body main > .educate-hero .educate-hero__stats{align-self:end!important;align-content:end!important;min-width:0}
/* Finance guides put a breadcrumb ABOVE their hero. It must reserve header space. */
body.guide-page-parity main > .guide-breadcrumb{
  box-sizing:border-box;padding-top:calc(88px + 18px)!important;
  padding-bottom:12px!important;margin-bottom:0!important;
}
body.guide-page-parity main > .guide-hero{
  min-height:0!important;height:auto!important;
  padding:25px var(--nivata-us-hero-gutter) var(--nivata-us-hero-bottom)!important;
  display:grid;grid-template-columns:minmax(0,1.4fr) minmax(210px,.56fr)!important;
  gap:clamp(30px,4vw,60px)!important;align-items:end!important;
}
body.guide-page-parity main > .guide-hero .guide-hero__copy{min-width:0;max-width:840px}
body.guide-page-parity main > .guide-hero h1{
  font-size:clamp(44px,5.15vw,78px)!important;line-height:.98!important;
  letter-spacing:-.052em!important;margin:17px 0 22px!important;
}
body.guide-page-parity main > .guide-hero .guide-hero__formula{align-self:end!important;align-content:end!important}
/* Results are an India-style two-column hero but include a live latest-result card. */
body.nivata-results-page main > .results-hero{
  min-height:0!important;height:auto!important;
  padding:var(--nivata-us-hero-top) var(--nivata-us-hero-gutter) var(--nivata-us-hero-bottom)!important;
  grid-template-columns:minmax(0,1.42fr) minmax(260px,.63fr)!important;
  gap:clamp(30px,4vw,64px)!important;align-items:end!important;
}
body.nivata-results-page main > .results-hero .results-hero__copy{max-width:830px;min-width:0}
body.nivata-results-page main > .results-hero .results-hero__copy h1{
  font-size:clamp(46px,5.25vw,80px)!important;
  line-height:.96!important;letter-spacing:-.052em!important;margin:17px 0 22px!important;
}
body.nivata-results-page main > .results-hero .results-hero__copy > p:last-of-type{
  font-size:clamp(16px,1.3vw,19px)!important;line-height:1.58!important;max-width:750px;
}
body.nivata-results-page main > .results-hero .results-hero__latest{min-width:0;align-self:end!important;max-width:440px}
/* Story/article headers use the same upper rhythm, not an enormous second inset. */
body main .article-hero{box-sizing:border-box;min-height:0!important;height:auto!important;padding-top:88px!important}
body main .article-hero .article-hero__inner{
  width:min(1240px,calc(100% - 56px));max-width:1240px;
  min-height:0!important;padding:clamp(38px,4vw,58px) 0 var(--nivata-us-hero-bottom)!important;
}
body main .article-hero .article-hero__inner > :is(h1,p,.article-hero__meta){max-width:800px}
body main .article-hero .article-hero__inner h1{font-size:clamp(45px,5.35vw,82px)!important;line-height:.98!important;margin:19px 0 22px!important}
body main .article-hero .article-hero__inner > p{font-size:clamp(16px,1.3vw,19px)!important;line-height:1.6!important}
/* Company masthead provides an independent left/right hero. Respect its live data. */
body main > .company-masthead{min-height:0!important;height:auto!important;padding-top:var(--nivata-us-hero-top)!important;padding-bottom:var(--nivata-us-hero-bottom)!important}
body main > .company-masthead .company-masthead__grid{min-height:0!important;align-items:end!important}
body main > .company-masthead h1{font-size:clamp(43px,4.9vw,76px)!important;line-height:.99!important}
/* Retain the home hero's custom emblem/composition; harmonise only text rhythm. */
body main .hero--home .hero__copy h1{line-height:.99!important;letter-spacing:-.05em!important}
body main .hero--home .hero__intro{text-align:left;max-width:680px}
/* Tablet — all first-page title blocks align on the left with the same gutters. */
@media(max-width:980px){
  :root{--nivata-us-hero-top:clamp(110px,14vw,130px);--nivata-us-hero-gutter:22px;--nivata-us-hero-bottom:42px}
  body main > .page-hero .page-hero__grid,
  body main.us-market-stories-parity > .market-stories-index-hero,
  body main > .educate-hero,body main > .educate-hero.educate-hero--academy,
  body.guide-page-parity main > .guide-hero,
  body.nivata-results-page main > .results-hero{grid-template-columns:minmax(0,1fr)!important;gap:26px!important}
  body main > .page-hero .page-hero__grid > aside,
  body main.us-market-stories-parity > .market-stories-index-hero .market-stories-index-hero__stats,
  body main > .educate-hero .educate-hero__stats,
  body.guide-page-parity main > .guide-hero .guide-hero__formula,
  body.nivata-results-page main > .results-hero .results-hero__latest{
    justify-self:stretch;max-width:none;align-self:start!important;
  }
  body main.us-market-stories-parity > .market-stories-index-hero .market-stories-index-hero__stats{padding:18px 0 0;border-left:0;border-top:1px solid rgba(247,243,232,.2)}
  body main > .educate-hero .educate-hero__stats{border-left:0;border-top:1px solid rgba(247,243,232,.2);padding:18px 0 0}
  body.guide-page-parity main > .guide-hero .guide-hero__formula{border-left:0;border-top:1px solid rgba(247,243,232,.2);padding:18px 0 0}
}
@media(max-width:680px){
  :root{--nivata-us-hero-top:106px;--nivata-us-hero-gutter:18px;--nivata-us-hero-bottom:35px}
  body main > .page-hero .page-hero__grid{width:calc(100% - 36px)!important;gap:20px!important}
  body main > .page-hero .page-hero__grid h1,
  body main.us-market-stories-parity > .market-stories-index-hero h1,
  body main > .educate-hero h1,
  body.guide-page-parity main > .guide-hero h1,
  body.nivata-results-page main > .results-hero .results-hero__copy h1,
  body main .article-hero .article-hero__inner h1{
    font-size:clamp(37px,9.5vw,56px)!important;line-height:1.02!important;
    letter-spacing:-.05em!important;margin:15px 0 19px!important;
  }
  body main.us-market-stories-parity > .market-stories-index-hero,
  body main > .educate-hero,body main > .educate-hero.educate-hero--academy,
  body.nivata-results-page main > .results-hero{padding:var(--nivata-us-hero-top) 18px 35px!important}
  body main .article-hero{padding-top:80px!important}
  body main .article-hero .article-hero__inner{width:calc(100% - 36px);padding:28px 0 35px!important}
  body.guide-page-parity main > .guide-breadcrumb{padding-top:100px!important}
  body.guide-page-parity main > .guide-hero{padding:20px 18px 35px!important}
  body main > .page-hero .page-hero__grid > div > p:not(.eyebrow),
  body main.us-market-stories-parity > .market-stories-index-hero .market-stories-index-hero__copy > p:last-of-type,
  body main > .educate-hero .educate-hero__copy > p:not(.eyebrow),
  body.nivata-results-page main > .results-hero .results-hero__copy > p:last-of-type{font-size:15px!important;line-height:1.56!important}
}

/* v3.8.97 — unified India-reference hero grid.
 * All page heroes share ONE desktop left edge and typographic scale. Earlier
 * page-specific hero rules remain above for visual details; geometry below wins.
 * Keep background decoration, card imagery and page data unchanged.
 */
:root{
  --nivata-hero-width:1240px;
  --nivata-hero-x:max(28px,calc((100vw - var(--nivata-hero-width))/2));
  --nivata-hero-y:clamp(128px,9vw,148px);
  --nivata-hero-h1:clamp(48px,5.15vw,78px);
  --nivata-hero-typeface:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
/* The same content inset is used by home, Market Data and every inner hero.
   Never use separate 7vw gutters or inherited .nw-shell max widths in heroes. */
body main > .hero.hero--home .nw-shell.hero__layout,
body main > .page-hero .nw-shell.page-hero__grid,
body main > .company-masthead .nw-shell.company-masthead__grid{
  box-sizing:border-box!important;
  width:min(var(--nivata-hero-width),calc(100% - 56px))!important;
  max-width:var(--nivata-hero-width)!important;
  margin-inline:auto!important;
  padding-inline:0!important;
  text-align:left!important;
}
body main > .hero.hero--home{
  box-sizing:border-box!important;
  min-height:0!important;
  height:auto!important;
  padding:var(--nivata-hero-y) 0 clamp(48px,5vw,75px)!important;
}
body main > .hero.hero--home .hero__layout{
  display:grid!important;
  min-height:0!important;
  grid-template-columns:minmax(0,1.36fr) minmax(260px,.77fr)!important;
  gap:clamp(32px,4vw,64px)!important;
  align-items:center!important;
  padding-block:0!important; /* remove inherited 68px/74px home-only inset */
}
body main > .hero.hero--home .hero__copy{
  min-width:0!important;
  width:100%!important;
  max-width:760px!important;
  margin:0!important;
  text-align:left!important;
  align-self:start!important;
}
/* Generic and editorial heroes start at a common vertical baseline, instead
   of their original mixed bottom/centre alignment. */
body main > .page-hero,
body main > .page-hero.page-hero--short,
body main > .page-hero.page-hero--calculator{
  box-sizing:border-box!important;
  min-height:0!important;
  height:auto!important;
  padding:var(--nivata-hero-y) 0 clamp(48px,5vw,75px)!important;
}
body main > .page-hero .page-hero__grid{
  min-height:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.36fr) minmax(240px,.77fr)!important;
  gap:clamp(32px,4vw,64px)!important;
  align-items:start!important;
}
body main > .page-hero .page-hero__grid > div:first-child{min-width:0!important;width:100%!important;max-width:760px!important;margin:0!important;text-align:left!important}
body main > .page-hero .page-hero__grid > aside{align-self:center!important;justify-self:stretch!important;max-width:none!important;min-width:0!important}
/* India-aligned, sans-serif, uniform headline geometry: no serif vs ultra-bold
   mismatch across the homepage and inner pages. Explicit line breaks remain. */
body main > .hero.hero--home .hero__copy h1,
body main > .page-hero .page-hero__grid h1,
body main.us-market-stories-parity > .market-stories-index-hero h1,
body main > .educate-hero h1,
body.nivata-results-page main > .results-hero .results-hero__copy h1,
body.guide-page-parity main > .guide-hero h1,
body main > .company-masthead h1,
body main .article-hero .article-hero__inner h1{
  box-sizing:border-box!important;
  font-family:var(--nivata-hero-typeface)!important;
  font-size:var(--nivata-hero-h1)!important;
  font-weight:520!important;
  line-height:1.025!important;
  letter-spacing:-.047em!important;
  text-align:left!important;
  text-transform:none!important;
  text-wrap:initial!important;
  overflow-wrap:break-word!important;
}
body main > .hero.hero--home .hero__copy h1{
  max-width:760px!important;
  margin:0 0 23px!important;
}
body main > .page-hero .page-hero__grid h1{
  max-width:760px!important;
  margin:17px 0 21px!important;
}
body main > .hero.hero--home .hero__copy h1 em,
body main > .page-hero .page-hero__grid h1 em,
body main.us-market-stories-parity > .market-stories-index-hero h1 em,
body main > .educate-hero h1 em,
body.nivata-results-page main > .results-hero h1 em{
  font-family:inherit!important;
  font-weight:inherit!important;
  font-style:normal!important;
  letter-spacing:inherit!important;
}
body main > .hero.hero--home .hero__intro,
body main > .page-hero .page-hero__grid > div > p:not(.eyebrow){
  max-width:690px!important;
  margin:0!important;
  font-size:clamp(15px,1.3vw,18px)!important;
  line-height:1.58!important;
  text-align:left!important;
}
/* Other page heroes use the exact same inset, type size and top baseline. */
body main.us-market-stories-parity > .market-stories-index-hero,
body main > .educate-hero,
body main > .educate-hero.educate-hero--academy,
body.nivata-results-page main > .results-hero{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:var(--nivata-hero-y) var(--nivata-hero-x) clamp(48px,5vw,75px)!important;
  grid-template-columns:minmax(0,1.36fr) minmax(240px,.77fr)!important;
  gap:clamp(32px,4vw,64px)!important;
  align-items:start!important;
}
body main.us-market-stories-parity > .market-stories-index-hero .market-stories-index-hero__copy,
body main > .educate-hero .educate-hero__copy,
body.nivata-results-page main > .results-hero .results-hero__copy{
  width:100%!important;max-width:760px!important;min-width:0!important;
  margin:0!important;text-align:left!important;
}
body main.us-market-stories-parity > .market-stories-index-hero .market-stories-index-hero__stats,
body main > .educate-hero .educate-hero__stats,
body.nivata-results-page main > .results-hero .results-hero__latest{
  align-self:center!important;min-width:0!important;
}
body main.us-market-stories-parity > .market-stories-index-hero h1,
body main > .educate-hero h1,
body.nivata-results-page main > .results-hero h1{
  max-width:760px!important;margin:17px 0 21px!important;
}
body.guide-page-parity main > .guide-hero{
  padding-left:var(--nivata-hero-x)!important;
  padding-right:var(--nivata-hero-x)!important;
  grid-template-columns:minmax(0,1.36fr) minmax(240px,.77fr)!important;
  align-items:start!important;
}
body.guide-page-parity main > .guide-hero .guide-hero__copy{max-width:760px!important;text-align:left!important}
body.guide-page-parity main > .guide-hero h1{max-width:760px!important}
body main > .company-masthead h1{max-width:760px!important}
body main .article-hero .article-hero__inner{
  width:min(var(--nivata-hero-width),calc(100% - 56px))!important;
  max-width:var(--nivata-hero-width)!important;
  margin-inline:auto!important;
}
/* Baseline labels inherit consistent typography, unaffected by page-specific grids. */
body main > :is(.page-hero,.market-stories-index-hero,.educate-hero,.guide-hero,.results-hero) .eyebrow{
  text-align:left!important;margin-top:0!important;
}
@media(max-width:980px){
  :root{--nivata-hero-y:clamp(108px,12vw,130px);--nivata-hero-h1:clamp(43px,6.8vw,62px)}
  body main > .hero.hero--home .hero__layout,
  body main > .page-hero .page-hero__grid,
  body main.us-market-stories-parity > .market-stories-index-hero,
  body main > .educate-hero,
  body main > .educate-hero.educate-hero--academy,
  body.nivata-results-page main > .results-hero,
  body.guide-page-parity main > .guide-hero{
    grid-template-columns:minmax(0,1fr)!important;
    gap:25px!important;
  }
  body main > .page-hero .page-hero__grid > aside,
  body main.us-market-stories-parity > .market-stories-index-hero .market-stories-index-hero__stats,
  body main > .educate-hero .educate-hero__stats,
  body.nivata-results-page main > .results-hero .results-hero__latest{align-self:start!important}
}
@media(max-width:680px){
  :root{--nivata-hero-x:18px;--nivata-hero-y:104px;--nivata-hero-h1:clamp(37px,9.6vw,49px)}
  body main > .hero.hero--home .nw-shell.hero__layout,
  body main > .page-hero .nw-shell.page-hero__grid,
  body main > .company-masthead .nw-shell.company-masthead__grid,
  body main .article-hero .article-hero__inner{
    width:calc(100% - 36px)!important;
  }
  body main > .hero.hero--home,
  body main > .page-hero,body main > .page-hero.page-hero--short,
  body main > .page-hero.page-hero--calculator{
    padding-top:var(--nivata-hero-y)!important;
    padding-bottom:36px!important;
  }
  body main.us-market-stories-parity > .market-stories-index-hero,
  body main > .educate-hero,
  body main > .educate-hero.educate-hero--academy,
  body.nivata-results-page main > .results-hero{
    padding:var(--nivata-hero-y) 18px 36px!important;
  }
  body main > .hero.hero--home .hero__object{max-width:100%!important}
  body main > .hero.hero--home .hero__copy h1,
  body main > .page-hero .page-hero__grid h1,
  body main.us-market-stories-parity > .market-stories-index-hero h1,
  body main > .educate-hero h1,
  body.nivata-results-page main > .results-hero h1{margin-bottom:17px!important}
  body main > .page-hero .page-hero__grid > aside{
    padding:16px 0 0!important;
  }
}
