.h5w-sitemap {
  --h5w-sitemap-ink: #101735;
  --h5w-sitemap-muted: #5c6680;
  --h5w-sitemap-purple: #6337e6;
  --h5w-sitemap-purple-dark: #4e27c9;
  --h5w-sitemap-soft: #f3f0ff;
  --h5w-sitemap-line: #e2e5ef;
  color: var(--h5w-sitemap-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

.h5w-sitemap *,
.h5w-sitemap *::before,
.h5w-sitemap *::after {
  box-sizing: border-box;
}

.h5w-sitemap :focus-visible {
  outline: 3px solid #ff9f84;
  outline-offset: 4px;
}

.h5w-sitemap__hero {
  background-color: #f8f7ff;
  background-image: url("h5w-guides-hero-bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 72px 24px 70px;
  text-align: center;
}

.h5w-sitemap__hero-inner {
  margin: 0 auto;
  max-width: 920px;
}

.h5w-sitemap__eyebrow,
.h5w-sitemap__section-heading > p {
  color: var(--h5w-sitemap-purple);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.h5w-sitemap__hero h1 {
  color: var(--h5w-sitemap-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 70px);
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 0 auto 22px;
  max-width: 800px;
  text-wrap: balance;
}

.h5w-sitemap__hero-inner > p:last-child {
  color: var(--h5w-sitemap-muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 780px;
  text-wrap: balance;
}

.h5w-sitemap__shell {
  margin: 0 auto;
  max-width: 1208px;
  padding: 54px 24px 90px;
}

.h5w-sitemap__primary-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.h5w-sitemap__card {
  background: #fff;
  border: 1px solid var(--h5w-sitemap-line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(49, 37, 105, 0.06);
  padding: 26px;
}

.h5w-sitemap__card h2,
.h5w-sitemap__directory h2 {
  color: var(--h5w-sitemap-ink);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
}

.h5w-sitemap__card h2 {
  font-size: 30px;
  margin-bottom: 18px;
}

.h5w-sitemap ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.h5w-sitemap li + li {
  margin-top: 10px;
}

.h5w-sitemap a {
  color: #343d58;
  font-weight: 720;
  line-height: 1.45;
  text-decoration: none;
}

.h5w-sitemap a:hover,
.h5w-sitemap a:focus-visible {
  color: var(--h5w-sitemap-purple-dark);
}

.h5w-sitemap__directory {
  border-top: 1px solid var(--h5w-sitemap-line);
  margin-top: 58px;
  padding-top: 50px;
}

.h5w-sitemap__section-heading > p {
  margin-bottom: 10px;
}

.h5w-sitemap__directory h2 {
  font-size: clamp(36px, 4vw, 48px);
}

.h5w-sitemap__link-grid {
  display: grid;
  gap: 0 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px !important;
}

.h5w-sitemap__link-grid li {
  border-top: 1px solid var(--h5w-sitemap-line);
  margin: 0;
  padding: 14px 0;
}

.h5w-sitemap__link-grid--tools {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .h5w-sitemap__primary-grid,
  .h5w-sitemap__link-grid,
  .h5w-sitemap__link-grid--tools {
    grid-template-columns: 1fr;
  }

  .h5w-sitemap__hero {
    padding: 50px 20px 48px;
  }

  .h5w-sitemap__hero h1 {
    font-size: clamp(42px, 12vw, 54px);
  }

  .h5w-sitemap__hero-inner > p:last-child {
    font-size: 17px;
  }

  .h5w-sitemap__shell {
    padding: 38px 18px 64px;
  }

  .h5w-sitemap__directory {
    margin-top: 44px;
    padding-top: 40px;
  }
}
