:root{--ref-navy:#07132e;--ref-blue:#0755d8}body{background:#f7faff;color:var(--ref-navy)}.cth-top{background:#fff!important;box-shadow:0 2px 18px #153d7a12}.cth-top .wrap{max-width:1450px!important}.cth-top .brand{display:flex;align-items:center;gap:12px;text-decoration:none!important}.ref-logo-icon{display:grid;place-items:center;background:#0784e8;color:white;border-radius:50%;width:44px;height:44px;font-size:29px}.ref-logo-text{display:flex;flex-direction:column;line-height:1.15}.ref-logo-text strong{font-size:23px;letter-spacing:-1px;color:#07132e}.ref-logo-text small{font-size:11px;color:#07132e;font-weight:500;margin-top:3px}.cth-nav-search{background:#f5f8ff;border:1px solid #c7d7f6;border-radius:24px;padding:12px 22px!important;min-width:260px;color:#253b65!important}.cth-theme{background:#10234d!important;color:white!important}.ref-hero{position:relative;min-height:260px;background:linear-gradient(110deg,#dfeaf9 0%,#d5e3fa 39%,#c6d7f6 65%,#f6b0a2 100%);overflow:hidden}.ref-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#7799c085,transparent 45%);clip-path:polygon(0 91%,12% 76%,23% 89%,38% 68%,50% 90%,66% 70%,80% 88%,100% 62%,100% 100%,0 100%);opacity:.55}.ref-hero:after{content:'';position:absolute;right:0;top:0;bottom:0;width:25%;background:url('/assets/reference-mountain-person.png') right center/cover no-repeat;mask-image:linear-gradient(to right,transparent,#000 40%)}.ref-hero-content{position:relative;z-index:1;max-width:1400px;margin:auto;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(235px,.55fr);gap:40px;padding:28px 18px 20px}.ref-hero-copy h1{font-size:clamp(27px,2.6vw,42px);line-height:1.15;letter-spacing:-1.6px;margin:0 0 8px;color:#07132e;font-weight:850}.ref-hero-copy h1 em{color:#0650da;font-style:normal}.ref-hero-copy p{font-size:18px;max-width:610px;line-height:1.3;font-weight:550;margin:0 0 12px}.ref-hero .cth-search-wrap{display:flex;align-items:center;max-width:690px;margin:0;background:#fff;border-radius:14px;box-shadow:0 4px 14px #10244c33;padding:5px 6px 5px 15px;min-height:54px;position:relative}.ref-hero .cth-search{width:100%;border:0!important;box-shadow:none!important;background:transparent!important;flex:1;font-size:15px;padding:8px!important;min-width:0}.ref-hero .cth-search-icon{position:static;font-size:25px;color:#536785}.ref-search-button{background:#0757d8;color:white;border:0;border-radius:10px;padding:13px 29px;font-weight:750;cursor:pointer}.ref-hero-checks{display:flex;gap:20px;flex-wrap:wrap;margin-top:17px;font-weight:650;font-size:13px}.ref-hero-checks span:first-letter{color:#009c58}.ref-hero-benefits{display:flex;flex-direction:column;gap:8px;max-width:280px;align-self:center}.ref-hero-benefits>div{display:flex;align-items:center;gap:13px;padding:11px 17px;border:1px solid #fff;background:#ffffff9c;border-radius:13px;box-shadow:0 3px 9px #203c6530;backdrop-filter:blur(7px)}.ref-hero-benefits b{font-size:27px;color:#0787bf}.ref-hero-benefits strong,.ref-hero-benefits small{display:block;color:#0a1933}.ref-hero-benefits strong{font-size:14px}.ref-hero-benefits small{font-size:12px}.cth-main{max-width:1490px!important;margin:auto!important;padding:18px 20px 0!important}.ref-dashboard{display:grid;grid-template-columns:minmax(0,3fr) minmax(285px,1fr);gap:22px}.ref-left,.ref-right{min-width:0}.ref-category .cth-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px!important}.ref-category h2,.ref-popular h2,.ref-featured h2{font-size:23px!important;margin:0!important;letter-spacing:-.7px}.ref-category .cth-text-link{font-size:13px;font-weight:750}.ref-category .cth-category-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important}.ref-category .cth-category{min-height:133px!important;padding:14px!important;border:1px solid #e0e8f3!important;background:linear-gradient(145deg,#fff,#f7faff)!important;border-radius:14px!important;display:grid!important;grid-template-columns:48px 1fr!important;align-content:start;column-gap:7px;box-shadow:0 2px 9px #112e4c10}.ref-category .cth-cat-icon{grid-row:1/4!important;font-size:33px!important;width:auto!important;height:auto!important;background:none!important;display:block!important}.ref-category .cth-category strong{font-size:15px!important;line-height:1.2}.ref-category .cth-category small{font-size:11.5px!important;line-height:1.3;margin-top:5px}.ref-category .cth-cat-arrow{position:static!important;grid-column:2;justify-self:start;border-radius:20px;background:#e0edff;padding:5px 12px;color:#063a9e;font-size:11px;font-weight:750;margin-top:8px}.ref-popular,.ref-help{border:1px solid #e0e8f3;background:linear-gradient(140deg,#fff,#f5f9ff);border-radius:15px;padding:13px 16px;box-shadow:0 2px 10px #112e4c10}.ref-popular .cth-heading{margin:0 0 5px!important}.ref-popular h2{font-size:19px!important}.ref-popular .cth-popular-grid{display:block!important}.ref-popular .cth-tool{display:flex!important;align-items:center;gap:8px;border:0!important;border-bottom:1px solid #e2e8f0!important;box-shadow:none!important;background:none!important;border-radius:0!important;min-height:43px!important;padding:6px 0!important}.ref-popular .cth-tool:last-child{border-bottom:0!important}.ref-popular .cth-tool-icon{font-size:19px!important;background:none!important;width:25px!important;height:auto!important}.ref-popular .cth-tool strong{font-size:12px!important}.ref-popular .cth-tool small{display:none!important}.ref-rank{background:#ffd66e;color:#8c3e00;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;font-size:12px}.ref-popular .cth-tool-arrow{margin-left:auto!important}.ref-help{display:block!important;background:linear-gradient(120deg,#e9fff3,#c9f8df)!important;margin:16px 0 0!important;min-height:150px}.ref-help h2{font-size:18px!important;line-height:1.2;margin:3px 0 10px!important}.ref-help p{font-size:13px!important;margin-bottom:12px!important}.ref-help .cth-overline{display:none}.ref-help .cth-primary-link{display:inline-block;background:#00894e!important;color:#fff!important;padding:10px 14px!important;border-radius:9px;font-size:12px}.ref-featured{margin-top:20px;border:1px solid #e0e8f3;background:#fff;border-radius:15px;padding:10px 12px}.ref-featured .cth-heading{margin-bottom:10px!important}.ref-featured .cth-feature-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.ref-featured .cth-feature{display:grid!important;grid-template-columns:90px 1fr;column-gap:10px;align-content:center;min-height:112px!important;padding:8px!important;background:linear-gradient(130deg,#fff,#f7faff)!important;border:1px solid #e1e8f4!important;border-radius:13px}.ref-feature-picture{grid-row:1/4;width:90px;height:95px;border-radius:12px;background:linear-gradient(145deg,#b5dafa,#f1f6ff);display:grid;place-items:center;font-size:51px}.ref-feature-investment{background:linear-gradient(145deg,#dbf5e2,#f3e8b3)}.ref-feature-debt{background:linear-gradient(145deg,#fbd3e7,#fff2e5)}.ref-featured h3{font-size:13px!important;margin:0!important}.ref-featured p{font-size:11px!important;margin:4px 0!important;line-height:1.35}.ref-featured .cth-feature-link{background:#e0edff;color:#0b399f!important;padding:6px 10px;border-radius:20px;justify-self:start;font-size:11px!important}.ref-learn{margin:20px 0 0!important;background:linear-gradient(100deg,#064588,#1e60ac);color:white;border-radius:14px;padding:15px 20px;display:grid;grid-template-columns:280px 1fr;align-items:center;gap:20px}.ref-learn .cth-heading{margin:0!important}.ref-learn h2{color:white!important;font-size:24px!important}.ref-learn .cth-learn-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:9px!important}.ref-learn .cth-learn-grid a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:90px;background:linear-gradient(#f9fcff,#e0ecff)!important;border-radius:10px;padding:8px 4px!important;color:#0b2043!important}.ref-learn .cth-learn-grid span{font-size:26px!important;color:#0756c2}.ref-learn .cth-learn-grid strong{font-size:11px}.ref-directory{margin:22px auto 0!important;padding:12px!important}.ref-directory .cth-category-directory{display:none}.ref-directory h2{font-size:20px!important}.ref-directory .cth-heading{margin-bottom:8px!important}.ref-directory .cth-heading p{display:none}.ref-directory .cth-overline{display:none}body.cth-dark .ref-category .cth-category,body.cth-dark .ref-featured,body.cth-dark .ref-popular{color:#07132e!important}@media(max-width:1050px){.ref-dashboard{grid-template-columns:1fr}.ref-right{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ref-help{margin:0!important}.ref-learn{grid-template-columns:1fr}.ref-hero-benefits{display:none}}@media(max-width:700px){.cth-main{padding:14px 12px!important}.ref-hero-content{display:block;padding:24px 16px}.ref-hero:after{opacity:.28;width:48%}.ref-hero-copy h1{font-size:31px}.ref-hero-copy p{font-size:14px}.ref-search-button{padding:12px}.ref-hero-checks{gap:9px;font-size:11px}.ref-category .cth-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ref-category .cth-category{grid-template-columns:1fr!important;min-height:140px!important}.ref-category .cth-cat-icon{grid-row:auto!important;font-size:27px!important}.ref-category .cth-cat-arrow{grid-column:1}.ref-category h2{font-size:19px!important}.ref-right{display:block}.ref-help{margin:14px 0!important}.ref-featured .cth-feature-grid{grid-template-columns:1fr!important}.ref-learn .cth-learn-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.cth-nav-search{display:none!important}}


/* 4.2.2 — targeted visual refinement; homepage only */
.ref-popular .cth-popular-grid{display:flex!important;flex-direction:column!important;gap:0!important}
.ref-popular .cth-tool{
 display:grid!important;grid-template-columns:26px 25px minmax(0,1fr) 16px!important;
 grid-template-rows:1fr!important;align-items:center!important;justify-items:stretch!important;
 gap:8px!important;min-height:48px!important;padding:7px 0!important;
 width:100%!important;text-align:left!important
}
.ref-popular .cth-tool>*{grid-column:auto!important;grid-row:auto!important;position:static!important;min-width:0!important;margin:0!important;align-self:center!important}
.ref-popular .cth-tool>span:nth-of-type(2){display:block!important;text-align:left!important}
.ref-popular .cth-tool strong{display:block!important;font-size:13px!important;line-height:1.25!important;white-space:normal!important}
.ref-popular .cth-tool-icon{display:grid!important;place-items:center!important;width:25px!important;height:28px!important}
.ref-popular .cth-tool-arrow{display:block!important;text-align:right!important;justify-self:end!important}
.ref-rank{flex:none}
.ref-dashboard{align-items:start!important}
.ref-left,.ref-right{align-self:start!important}
.ref-help{min-height:0!important;padding:16px!important}
.ref-help h2{margin-top:0!important}
.ref-featured{margin-top:16px!important}
.ref-learn{margin-top:16px!important}
.ref-learn .cth-heading p{color:#e4efff!important;font-size:13px!important;line-height:1.35!important;margin:7px 0 0!important;max-width:240px}
.ref-category .cth-cat-icon{line-height:1.15!important}
.ref-category .cth-category{transition:transform .15s ease,box-shadow .15s ease}
.ref-category .cth-category:hover{transform:translateY(-2px);box-shadow:0 6px 16px #112e4c19}
.ref-hero:after{background-position:right 52%!important}
@media(min-width:1051px){
 .ref-dashboard{grid-template-columns:minmax(0,3fr) minmax(285px,1fr)!important}
 .ref-right{display:flex!important;flex-direction:column!important;gap:14px!important}
 .ref-help{margin:0!important}
}
@media(max-width:1050px){
 .ref-popular .cth-tool{grid-template-columns:26px 25px minmax(0,1fr) 16px!important}
}
@media(max-width:700px){
 .ref-hero-content{padding:22px 16px!important}
 .ref-category .cth-category{padding:12px!important}
 .ref-learn{padding:16px!important;gap:12px!important}
 .ref-learn .cth-learn-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .ref-learn .cth-heading p{max-width:none}
}

/* 4.2.3: align hero benefits with Popular Calculators column */
@media(min-width:1051px){
 .ref-hero-content{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:1490px!important;
  padding-left:20px!important;
  padding-right:20px!important;
  grid-template-columns:minmax(0,3fr) minmax(285px,1fr)!important;
  column-gap:22px!important;
 }
 .ref-hero-benefits{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  justify-self:stretch!important;
 }
 .ref-hero-benefits>div{box-sizing:border-box!important;width:100%!important}
}

/* 30.9.10: tablet width containment; desktop and phone unchanged. */
@media (min-width:701px) and (max-width:1050px){
  .cth-top .bar{flex-wrap:wrap!important;gap:12px!important;height:auto!important;padding-top:12px!important;padding-bottom:12px!important}
  .cth-top nav{flex-wrap:wrap!important;gap:12px!important;min-width:0!important;margin:0!important}
  .cth-top .cth-nav-actions{min-width:0!important;flex-wrap:wrap!important}
  .cth-top .cth-nav-search{min-width:0!important}
  .ref-hero-content{grid-template-columns:minmax(0,1fr)!important;min-width:0!important}
  .ref-dashboard,.ref-left,.ref-right,.ref-category,.ref-popular,.ref-learn{min-width:0!important;max-width:100%!important}
  .ref-right{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ref-category .cth-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ref-category .cth-category{min-width:0!important}
  .ref-learn .cth-learn-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ref-hero .cth-search-wrap{min-width:0!important;max-width:100%!important}
  .cth-main{box-sizing:border-box!important;max-width:100%!important}
}
