.directory{margin:0;padding:0;border:0}
.home-intro{
  overflow:hidden;position:relative;isolation:isolate;
  color:#f7fbef;background:#143e32;border-radius:26px;
  padding:clamp(26px,5vw,55px);margin-bottom:20px
}
.home-intro h1{
  font-family:Georgia,'Times New Roman',serif;font-weight:700;
  font-size:clamp(2.35rem,6vw,4.8rem);letter-spacing:-.075em;line-height:1.06
}
.home-intro h1 em{color:#dcf4a9}
.home-intro p{color:#e3efe7;margin:18px 0 0;font-size:1.05rem}
.math-keys{
  position:absolute;right:5%;top:50%;z-index:-1;
  transform:translateY(-50%) rotate(-12deg);display:grid;
  grid-template-columns:repeat(2,1fr);gap:10px;width:26%;max-width:230px
}
.math-keys span{
  display:grid;place-items:center;aspect-ratio:1;border-radius:20%;
  background:#205341;color:#d5efad;font:700 clamp(25px,5vw,65px)/1 system-ui,sans-serif;
  border:1px solid #4b765e;box-shadow:0 4px 0 #0d2e24
}
.math-keys span:last-child{background:#cee991;color:#183e30}
.category-links{margin-bottom:20px}
.category-links a{padding:8px 15px}
.category-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.directory .category{
  --category-bg:#e5efe6;--category-ink:#1d503d;
  margin:0;padding:18px;border-radius:20px;
  background:var(--category-bg);scroll-margin-top:20px
}
.directory #shopping{--category-bg:#f5ead8;--category-ink:#654824}
.directory #loans-debt{--category-bg:#e6edf6;--category-ink:#2b4c72}
.directory #pets{--category-bg:#efe6f0;--category-ink:#604062}
.directory .category h3{
  margin:0 0 13px;color:var(--category-ink);
  font:700 1.55rem/1.15 Georgia,serif;letter-spacing:-.025em
}
.directory .category .grid{display:grid;grid-template-columns:1fr;gap:8px}
.directory .grid section{
  position:relative;background:#fff;border:1px solid #263d2926;
  border-radius:12px;padding:14px 16px;transition:box-shadow .18s ease
}
.directory .grid section:hover,.directory .grid section:focus-within{box-shadow:0 4px 12px #172d261b}
.directory h4 a{color:var(--category-ink)}
.directory h4 a::after{content:"";position:absolute;inset:0;border-radius:12px}
.directory p{font-size:.95rem}
@media(max-width:680px){
  .category-board{grid-template-columns:1fr}
  .math-keys{opacity:.26;right:-3%;width:39%}
}
.directory #life-planning{--category-bg:#f0ebd9;--category-ink:#554a28}
.directory #home-utilities{--category-bg:#e1efee;--category-ink:#2b5655}
