.home-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 6px;
  margin-block: 0 clamp(28px, 4vw, 48px);
  border: 1px solid #c4d6cb;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at top left, #fff 0%, transparent 65%),
    linear-gradient(115deg, #f4f9f3, #eaf4ed);
  box-shadow: inset 0 0 0 1px #ffffffda, 0 9px 25px -18px #204f3b70;
}

.home-directory a {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
  min-height: 65px;
  padding: 10px clamp(12px, 1.7vw, 22px);
  border-radius: 15px;
  color: #173a2e;
  text-decoration: none;
  font: 650 1rem/1.35 var(--sans);
}
.home-directory a + a::before {
  content: '';
  position: absolute;
  inset: 13px auto 13px 0;
  width: 1px;
  background: #cbdcd0;
}
.home-directory a::after {
  content: '';
  width: 7px;
  height: 7px;
  border-block-start: 1.8px solid #477060;
  border-inline-end: 1.8px solid #477060;
  transform: rotate(45deg);
}

.directory-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #c9dfd1;
  border-radius: 11px;
  background: linear-gradient(145deg, #f7fff9, #daeee1);
  color: #215642;
  box-shadow: inset 0 1px 1px #fff;
}
.directory-services::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 1.2px;
  background: currentColor;
  box-shadow: 8px 0, 0 8px, 8px 8px;
  transform: translate(-4px, -4px);
}
.directory-process::before, .directory-process::after {
  content: '';
  position: absolute;
  top: 10px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 5px, 0 10px;
}
.directory-process::before { left: 9px; width: 3px; }
.directory-process::after { left: 15px; width: 9px; }
.directory-questions::before {
  content: '?';
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font: 700 12px/1 var(--sans);
}
.home-directory a:focus-visible {
  z-index: 1;
  outline-offset: 0;
}
@media (hover: hover) {
  .home-directory a:hover { background: #dceee2; }
}
.home-directory a:active { background: #d0e8d9; }
@media (prefers-reduced-motion: no-preference) {
  .home-directory a { transition: background-color 140ms ease; }
  .home-directory a::after { transition: transform 140ms ease; }
  .home-directory a:is(:hover, :focus-visible)::after { transform: translateX(2px) rotate(45deg); }
}
@media (max-width: 720px) {
  .home-directory { grid-template-columns: minmax(0, 1fr); padding: 4px; }
  .home-directory a { gap: 12px; min-height: 59px; padding: 10px 15px 10px 10px; }
  .home-directory a + a::before {
    inset: 0 14px auto 57px;
    width: auto;
    height: 1px;
  }
}
@media (forced-colors: active) {
  .directory-icon { border-color: ButtonText; }
  .home-directory a::after { border-color: LinkText; }
}
