/* RHEI | Data Licensing
   Built to sit inside rhei.com: same tokens, type scale, shapes and footer as the live site. */
:root{
  --sapphire:#2424A7; --dark-blue:#00008C; --imperial:#0D0C62; --pastel:#807EF5; --max:#9C9BFF;
  --cream:#F1F0EA; --chinese:#E6E5DC; --gold:#F5AE00; --gold-dark:#DC9C00; --ink:#1E1E1E;
  --ease:cubic-bezier(.25,.46,.45,.94); --ease-out:cubic-bezier(0,0,.2,1);
}
*{box-sizing:border-box;margin:0}
html{-webkit-text-size-adjust:100%}
body{font-family:Poppins,Arial,sans-serif;font-size:1rem;line-height:1.5;color:var(--ink);background:var(--cream);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none;padding:0}
img,svg{display:block;max-width:100%}
img{height:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:4px}

.container{width:100%;max-width:1280px;margin-inline:auto;padding-inline:1.25rem}
@media (min-width:1024px){.container{padding-inline:4rem}}
@media (min-width:1280px){.container{padding-inline:5rem}}
@media (min-width:1536px){.container{padding-inline:6rem}}
.center{text-align:center}

/* type scale, from rhei.com */
.title{font-size:2rem;font-weight:800;line-height:1.12}
@media (min-width:768px){.title{font-size:2.3125rem}}
.title.blue{color:var(--sapphire)}.title.yellow{color:var(--gold)}
.lead{font-size:.875rem;font-weight:600;line-height:1.3;max-width:46rem;margin:1.25rem auto 0}
@media (min-width:768px){.lead{font-size:1.125rem}}
.strong{font-size:.75rem;font-weight:600;line-height:1.3;max-width:500px}
@media (min-width:768px){.strong{font-size:.875rem}}
.fine{font-size:.75rem;margin-top:2.5rem;opacity:.75}

/* buttons */
.btn{display:inline-block;border-radius:9999px;padding-inline:1.25rem;font-weight:800;line-height:2.625rem;transition:background-color .2s ease,color .2s ease,transform .16s var(--ease-out)}
@media (min-width:768px){.btn{padding-inline:2rem}}
.btn:active{transform:scale(.97)}
.btn--secondary{background:var(--gold);color:var(--sapphire)}
.btn--secondary:hover{background:var(--gold-dark)}
.btn--secondary:focus-visible{background:var(--pastel);color:var(--cream)}

/* header */
.site-header{position:fixed;top:0;left:0;width:100%;z-index:20;transition:background-color .3s ease,box-shadow .3s ease}
.site-header.scrolled{background:var(--sapphire);box-shadow:0 6px 24px -12px rgba(0,0,60,.6)}
.nav-inner{display:flex;align-items:center;padding:1.1rem 1.25rem}
@media (min-width:768px){.nav-inner{padding:1.75rem 1.625rem}}
.site-header.scrolled .nav-inner{padding-block:.9rem}
.nav-inner{transition:padding .3s ease}
.brand .logo{width:70px;height:auto;fill:var(--cream)}
@media (min-width:768px){.brand .logo{width:100px}}
.menu{margin-left:auto;display:flex;align-items:center}
.menu li{padding-inline:.75rem}
@media (min-width:1024px){.menu li{padding-inline:1.25rem}}
.menu a,.langlink{font-size:13px;font-weight:600;color:var(--cream);text-transform:capitalize;display:flex;align-items:center}
.menu a:not(.madepill){position:relative}
.menu a:not(.madepill)::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease-out)}
.menu a:not(.madepill):hover::after{transform:scaleX(1)}
.madepill{border:2px solid var(--cream);border-radius:.25rem;padding:.25rem .5rem;transition:background-color .2s ease}
.madepill:hover{background:rgba(241,240,234,.14)}
.madelogo{height:1.1rem;width:auto;fill:var(--cream)}
.lang{width:28px;height:28px;stroke:var(--cream);fill:none;margin-right:.625rem}
.mobile-toggle{display:none;margin-left:auto;width:44px;height:44px;background:none;border:0;cursor:pointer;position:relative}
.patty,.patty::before,.patty::after{position:absolute;left:8px;right:8px;height:3px;border-radius:2px;background:var(--cream);transition:transform .3s ease,background-color .2s ease}
.patty{top:20px}.patty::before,.patty::after{content:"";left:0;right:0}.patty::before{top:-9px}.patty::after{top:9px}
@media (max-width:767px){
  .mobile-toggle{display:block;z-index:2}
  .menu{position:fixed;inset:0;background:var(--cream);flex-direction:column;justify-content:center;gap:.25rem;transform:translateY(-100%);transition:transform .45s var(--ease);visibility:hidden}
  .menu.open{transform:none;visibility:visible}
  .menu li{padding:1rem 0}
  .menu a,.langlink{font-size:1.125rem;color:var(--sapphire)}
  .madepill{background:var(--sapphire);border-color:var(--sapphire)}.madelogo{height:2rem}
  .lang{stroke:var(--sapphire);width:34px;height:34px}
  .open-nav .patty{background:transparent}.open-nav .patty::before{transform:translateY(9px) rotate(45deg);background:var(--sapphire)}.open-nav .patty::after{transform:translateY(-9px) rotate(-45deg);background:var(--sapphire)}
}

/* hero */
.hero{position:relative;width:100%;overflow:hidden;background:var(--sapphire);color:var(--cream);height:38rem}
@media (min-width:768px){.hero{height:47.5rem}}
.hero section{position:relative;z-index:1;display:flex;height:100%;flex-direction:column}
.hero .container{margin-top:auto;padding-bottom:2.5rem}
@media (min-width:768px){.hero section{flex-direction:row}.hero .container{margin-block:auto;padding-bottom:0}}
.mainTitle{font-size:2.375rem;font-weight:800;line-height:1.09;padding-bottom:1.25rem}
@media (min-width:768px){.mainTitle{font-size:3.0625rem;padding-bottom:1.5rem}}
@media (max-width:767px){.mainTitle br{display:none}}
@media (min-width:1536px){.mainTitle{font-size:4.375rem}}
.subtext{font-size:.875rem;font-weight:600;line-height:1.3;padding-bottom:1.5rem;max-width:26rem}
@media (min-width:768px){.subtext{font-size:1.125rem;width:40%;max-width:none}}
.scr{position:relative;display:inline-block}
.heroScribble{position:absolute;top:0;left:0;width:132%;max-width:none;transform:translate(-12%,-14%);pointer-events:none;overflow:visible}
.heroScribble path{fill:none;stroke:var(--gold);stroke-width:4;stroke-linecap:round;stroke-miterlimit:10;stroke-dasharray:1500;stroke-dashoffset:0}
.art{position:absolute;inset:0}
.orn{position:absolute;will-change:transform}
.arrow-squiggle,.arrow-curved,.squiggle{fill:var(--cream)}
.spark{fill:var(--cream)}
.pill.p-gold{fill:var(--gold)}.pill.p-pastel{fill:var(--pastel)}.pill.p-outline{fill:none;stroke:var(--cream);stroke-width:1.5}
.cap{border-radius:9999px;overflow:hidden;display:grid;place-items:center;rotate:-43deg}
.cap img{rotate:43deg;width:58%;height:auto}
.c1{background:var(--chinese)}.c2{background:var(--pastel)}.c3{background:var(--dark-blue)}
/* phone layout: art sits in the top half */
.c3{width:29vw;aspect-ratio:.6;top:7%;right:-3%}
.c1{width:21vw;aspect-ratio:.6;top:14%;right:33%}
.c2{width:16vw;aspect-ratio:.6;top:11%;right:66%}
.p-gold{width:12vw;top:30%;right:22%}.p-pastel{width:9vw;top:31%;left:8%}.p-outline{display:none}
.s1{width:18px;top:13%;right:29%}.s2{width:12px;top:33%;left:44%}
.arrow-squiggle,.arrow-curved,.squiggle{display:none}
@media (min-width:768px){
  .c3{width:19%;max-width:18rem;top:17%;right:2%}
  .c1{width:14.5%;max-width:14rem;top:47%;right:21%}
  .c2{width:10.5%;max-width:10rem;top:66%;right:38%}
  .p-gold{width:8%;top:70%;right:9%}
  .p-pastel{width:5%;top:19%;left:auto;right:24%}
  .p-outline{display:block;width:4%;top:84%;right:30%}
  .s1{width:34px;top:15%;right:20%}.s2{width:20px;top:60%;right:36%;left:auto}
  .arrow-squiggle{display:block;width:7%;top:30%;right:27%}
  .arrow-curved{display:block;width:3.2%;top:74%;right:17%;rotate:150deg}
  .squiggle{display:block;width:6.5%;top:88%;right:2%}
}
/* hero entrance (js adds .go) */
.js .hero .mainTitle{opacity:0;transform:translateX(-12%);transition:opacity .5s var(--ease-out),transform .5s var(--ease-out)}
.js .hero .subtext,.js .hero .herobtn{opacity:0;transform:translateX(-8%);transition:opacity .5s var(--ease-out) .35s,transform .5s var(--ease-out) .35s,background-color .2s ease}
.js .hero .herobtn{transition-delay:.5s,.5s,0s}
.js .hero.go .mainTitle,.js .hero.go .subtext,.js .hero.go .herobtn{opacity:1;transform:none}
.js .hero .orn{translate:var(--dx,60%) var(--dy,120%);opacity:0;transition:translate .7s var(--ease) var(--d,0s),opacity .4s ease var(--d,0s)}
.js .hero.go .orn{translate:0 var(--py,0px);opacity:1}
.js .hero.settled .orn{transition:none}
.js .heroScribble path{stroke-dashoffset:1500}
.js .hero.go .heroScribble path{animation:scribble .6s ease-in .95s forwards}
@keyframes scribble{to{stroke-dashoffset:0}}

/* sections */
.sec{padding-block:2.5rem}
@media (min-width:768px){.sec{padding-block:4.5rem}}
.bg-cream{background:var(--cream)}.bg-white2{background:#F7F6F1}

.statrow{display:grid;gap:1.75rem;margin-top:2.5rem;text-align:center}
@media (min-width:768px){.statrow{grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:3.5rem}}
.statrow b{display:block;font-size:2.375rem;font-weight:800;line-height:1.09;color:var(--sapphire)}
@media (min-width:768px){.statrow b{font-size:3.0625rem}}
.statrow b span{font-size:.5em;font-weight:700;vertical-align:.25em}
.statrow li>span{display:block;margin:.6rem auto 0;font-size:.875rem;font-weight:600;line-height:1.3;max-width:17rem}

.band-rings{position:relative;overflow:hidden;color:var(--cream);background:linear-gradient(90deg,#2424A7 0%,#2a29b4 55%,#2424A7 100%);padding-block:2.5rem 0}
@media (min-width:1024px){.band-rings{padding-block:6rem;min-height:27rem;display:flex;align-items:center}}
.band-rings .half{text-align:center}
.band-rings .title{padding-bottom:1.25rem}
.band-rings .strong{margin-inline:auto;padding-bottom:1.1rem}
@media (min-width:1024px){.band-rings .half{text-align:left;max-width:50%}.band-rings .strong{margin-inline:0}.band-rings .title{padding-bottom:2.5rem}}
.rings{position:relative;width:min(88vw,26rem);aspect-ratio:1;margin:1.5rem auto -6rem;order:2}
.band-rings{display:flex;flex-direction:column}
@media (min-width:1024px){.band-rings{flex-direction:row}.rings{position:absolute;right:max(4%,calc(50% - 560px));top:50%;width:34rem;margin:0;translate:0 -50%}}
.rings i{position:absolute;inset:0;margin:auto;border-radius:50%;box-shadow:0 18px 50px -10px rgba(0,0,80,.55),inset 0 2px 0 rgba(255,255,255,.12)}
.rings i:nth-child(1){width:100%;height:100%;background:radial-gradient(circle at 35% 30%,#3d3cc9,#2625a9 70%)}
.rings i:nth-child(2){width:76%;height:76%;background:radial-gradient(circle at 35% 30%,#4f4de0,#2f2eb8 70%)}
.rings i:nth-child(3){width:53%;height:53%;background:radial-gradient(circle at 35% 30%,#6866f0,#3a39c6 72%)}
.rings i:nth-child(4){width:31%;height:31%;background:radial-gradient(circle at 35% 30%,#2f2eb8,#1c1c93 75%)}
.rings span{position:absolute;inset:0;display:grid;place-items:center}
.rings .logo{width:19%;fill:var(--cream)}
.js .rings i{scale:.82;opacity:0;transition:scale 1s var(--ease) var(--d,0s),opacity .6s ease var(--d,0s)}
.js .rings.in i{scale:1;opacity:1}
.rings i:nth-child(2){--d:.08s}.rings i:nth-child(3){--d:.16s}.rings i:nth-child(4){--d:.24s}

.icongrid{display:grid;gap:2rem;margin-top:2rem}
@media (min-width:640px){.icongrid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.icongrid{grid-template-columns:repeat(3,1fr);gap:3.5rem 2rem;margin-top:3rem}}
.icongrid li{text-align:center}
.ic{width:5.75rem;height:5.75rem;margin:0 auto .9rem;border-radius:50%;background:var(--chinese);display:grid;place-items:center;transition:background-color .3s ease,transform .5s var(--ease)}
.lico{width:2.9rem;height:2.9rem;fill:var(--sapphire);transition:fill .3s ease}
.icongrid li:hover .ic{background:var(--sapphire);transform:translateY(-6px)}
.icongrid li:hover .lico{fill:var(--cream)}
.icongrid h3{font-size:1rem;font-weight:700;line-height:1.18;max-width:17rem;margin-inline:auto}
@media (min-width:768px){.icongrid h3{font-size:1.125rem}}

.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin:2rem auto 0;max-width:56rem}
.chips li{border:2px solid var(--sapphire);color:var(--sapphire);border-radius:9999px;padding:0 1.25rem;font-weight:700;font-size:.875rem;line-height:2.4rem;transition:background-color .2s ease,color .2s ease}
.chips li:hover{background:var(--sapphire);color:var(--cream)}
.chips .more{border-style:dashed}
.fit{display:flex;flex-direction:column;align-items:center;gap:1.25rem;margin:2.75rem auto 0;max-width:46rem;background:var(--pastel);color:var(--cream);border-radius:1.5rem;padding:1.5rem 1.5rem 1.75rem;text-align:center}
.fit img{width:5rem;margin-top:-3.25rem}
.fit p{font-size:.875rem;font-weight:600;line-height:1.5}
.fit b{font-weight:800}
@media (min-width:768px){.fit{flex-direction:row;text-align:left;padding:1.75rem 2.5rem}.fit img{width:6.5rem;margin:-3.5rem 0 -1rem}.fit p{font-size:1rem}}

/* how it works */
.how{color:var(--cream)}
.how-head{background:var(--pastel);padding-block:.75rem}
@media (min-width:768px){.how-head{padding-block:2.5rem}}
.how-intro{position:relative;background:var(--sapphire);padding:2rem 0 2.25rem}
@media (min-width:768px){.how-intro{padding:4rem 0 3rem}}
.notch{position:absolute;top:0;left:50%;width:1.25rem;height:1.25rem;border-radius:4px;background:var(--pastel);translate:-50% -55%;rotate:45deg}
@media (min-width:768px){.notch{width:3.5rem;height:3.5rem;border-radius:10px}}
.step:nth-child(odd){background:var(--dark-blue)}.step:nth-child(even){background:var(--imperial)}
.step .row{display:flex;align-items:center;gap:1.25rem;padding-block:1.5rem}
@media (min-width:768px){.step .row{gap:3rem;padding-block:3.25rem}.step:nth-child(even) .row{flex-direction:row-reverse;text-align:right}}
.num{flex:none;width:3.5rem;aspect-ratio:1;border-radius:50%;background:var(--gold);color:var(--sapphire);font-weight:800;font-size:1.625rem;line-height:1;display:grid;place-items:center;transition:transform .6s var(--ease),background-color .3s ease}
@media (min-width:768px){.num{width:6.25rem;font-size:3.0625rem}}
.step:hover .num{transform:scale(1.08) rotate(-6deg)}
.step h3{font-size:1.375rem;font-weight:700;line-height:1.18;padding-bottom:.5rem}
@media (min-width:768px){.step h3{font-size:1.625rem;padding-bottom:.75rem}}
.step p{font-size:.75rem;line-height:1.62;max-width:36rem}
@media (min-width:768px){.step p{font-size:.875rem}.step:nth-child(even) p{margin-left:auto}}
.step a{text-decoration:underline;text-underline-offset:3px;font-weight:600}
.step a:hover{color:var(--gold)}

/* protection */
.around{position:relative;margin-top:2rem}
.around .lock{width:5.5rem;margin:0 auto 1.5rem}
.around ul{display:grid;gap:1.75rem}
.around li{text-align:center}
.around h3{font-size:1rem;font-weight:700;line-height:1.18;padding-bottom:.5rem}
.around p{font-size:.75rem;line-height:1.62;text-align:justify;max-width:20.8125rem;margin-inline:auto}
@media (min-width:768px){.around h3{font-size:1.125rem;padding-bottom:.75rem}.around p{font-size:.875rem}}
@media (min-width:1024px){
  .around{margin-top:3.5rem}
  .around ul{grid-template-columns:1fr 14rem 1fr;gap:3.5rem 0}
  .around li:nth-child(odd){grid-column:1}.around li:nth-child(even){grid-column:3}
  .around li:nth-child(1),.around li:nth-child(2){grid-row:1}.around li:nth-child(3),.around li:nth-child(4){grid-row:2}
  .around .lock{position:absolute;left:50%;top:50%;width:8.5rem;margin:0;translate:-50% -50%}
}
.js .around .lock{transition:rotate .8s var(--ease)}
.around:hover .lock{rotate:-6deg}

/* who */

/* estimate */
.cta{background:var(--pastel);color:var(--cream);text-align:center;padding-block:2.75rem 3.25rem}
@media (min-width:768px){.cta{padding-block:4.5rem 5rem}}
.ctahead{display:flex;flex-direction:column;align-items:center;gap:1rem;font-size:2rem;font-weight:800;line-height:1.12}
.ctahead img{width:6rem}
@media (min-width:1024px){.ctahead{flex-direction:row;justify-content:center;gap:1.5rem;font-size:2.3125rem;text-align:left}.ctahead img{width:7.875rem}}
.cta p{font-size:.875rem;font-weight:600;line-height:1.4;max-width:34rem;margin:1.1rem auto 1.75rem}
@media (min-width:768px){.cta p{font-size:1.125rem}}
.cta p a{text-decoration:underline;text-underline-offset:3px}

/* footer, as rhei.com */
.site-footer{background:var(--sapphire);color:var(--cream);padding-block:2.75rem;font-size:.875rem}
@media (min-width:768px){.site-footer{padding-block:5rem}}
.fgrid{display:grid;gap:2rem;text-align:center}
@media (min-width:768px){.fgrid{text-align:left}}
@media (min-width:1024px){.fgrid{grid-template-columns:1.2fr 1fr 1.2fr 1fr;gap:1.5rem}}
.site-footer .brand .logo{width:8.5rem;margin-inline:auto}
@media (min-width:768px){.site-footer .brand .logo{margin-inline:0}}
.site-footer h3{font-size:.875rem;font-weight:800;text-transform:uppercase;color:var(--gold);padding-bottom:.9rem}
.site-footer .follow{padding-top:1.75rem}
.social{display:flex;gap:1rem;justify-content:center}
@media (min-width:768px){.social{justify-content:flex-start}}
.social a{display:grid;place-items:center;width:22px;height:22px}
.soc{width:100%;height:100%;fill:var(--cream);transition:fill .2s ease}
.social a:hover .soc{fill:var(--gold)}
.small{padding-top:1.5rem;max-width:184px;margin-inline:auto}
@media (min-width:768px){.small{margin-inline:0}}
.fgrid>div>a{display:block;padding-bottom:.5rem}
.fgrid a:hover{color:var(--gold)}
.fgrid p{padding-bottom:.8rem}.fgrid p a{display:block;font-weight:600}
.fgrid .up{text-transform:uppercase;font-weight:600}
.legal{display:flex;flex-direction:column;gap:1rem;align-items:center;margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid rgba(241,240,234,.5);font-size:.75rem}
.legal span:first-child{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.5rem}
.legal a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}
@media (min-width:1024px){.legal{flex-direction:row;justify-content:space-between}}

/* reveals */
.js .rv{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .8s var(--ease)}
.js .rv.in{opacity:1;transform:none}
.statrow li:nth-child(2),.icongrid li:nth-child(3n+2),.around li:nth-child(even){transition-delay:.08s}
.statrow li:nth-child(3),.icongrid li:nth-child(3n){transition-delay:.16s}

@media (prefers-reduced-motion:reduce){
  .js .rv,.js .hero .mainTitle,.js .hero .subtext,.js .hero .herobtn,.js .rings i{opacity:1!important;transform:none!important;scale:1!important;transition:none!important}
  .js .hero .orn{translate:0 0!important;opacity:1!important;transition:none!important}
  .js .heroScribble path{stroke-dashoffset:0!important;animation:none!important}
  *{scroll-behavior:auto!important}
}
