.mhg-section {
  --mhg-heading-font: 'akzidenz-grotesk', 'Akzidenz-Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mhg-body-font:    'brandon-grotesque', 'Brandon Grotesque', 'Helvetica Neue', Arial, sans-serif;

  --mhg-bg:            #f7f7f7;
  --mhg-max-w:         1152px;
  --mhg-pt:            96px;
  --mhg-pr:            24px;
  --mhg-pb:            96px;
  --mhg-pl:            24px;
  --mhg-mt:            0;
  --mhg-mb:            0;
  --mhg-h-color:       #0d0d0d;
  --mhg-h-accent:      #5a3aaa;
  --mhg-h-grad:        linear-gradient(to bottom right, #211f2e 0%, #5a3aaa 50%, #8957cf 100%);
  --mhg-h-gap:         16px;
  --mhg-h-size:        44px;
  --mhg-d-color:       #6b7280;
  --mhg-d-max-w:       576px;
  --mhg-d-gap:         64px;
  --mhg-d-size:        18px;
  --mhg-card-bg:       #ffffff;
  --mhg-card-border:   #e5e7eb;
  --mhg-accent:        #3a2e7b;
  --mhg-accent-end:    #7c5cbf;
  --mhg-accent-08:     #3a2e7b14;
  --mhg-accent-16:     #3a2e7b28;
  --mhg-accent-20:     #3a2e7b33;
  --mhg-accent-end-06: #7c5cbf0f;
  --mhg-card-radius:   16px;
  --mhg-card-gap:      20px;
  --mhg-ct-color:      #111827;
  --mhg-ct-size:       18px;
  --mhg-cd-color:      #6b7280;
  --mhg-cd-size:       15px;
  --mhg-lm-color:      #3a2e7b;
  --mhg-lm-size:       15px;
}

.mhg-section {
  margin-top: var(--mhg-mt);
  margin-bottom: var(--mhg-mb);
  padding-top: var(--mhg-pt);
  padding-bottom: var(--mhg-pb);
  background-color: var(--mhg-bg);
  font-family: var(--mhg-body-font);
}

.mhg-section,
.mhg-section *,
.mhg-section *::before,
.mhg-section *::after {
  box-sizing: border-box;
}

.mhg-inner {
  max-width: min(var(--mhg-max-w), 100%);
  margin: 0 auto;
  padding-left: var(--mhg-pl);
  padding-right: var(--mhg-pr);
}


.mhg-rt > * {
  display: inline;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.mhg-rt > * + *::before {
  content: ' ';
}

.mhg-rt-block > *:first-child { margin-top: 0; }
.mhg-rt-block > *:last-child  { margin-bottom: 0; }

.mhg-header {
  text-align: center;
  margin-bottom: var(--mhg-d-gap);
}

.mhg-heading {
  font-family: var(--mhg-heading-font);

  font-weight: 700;
  font-size: var(--mhg-h-size);
  color: var(--mhg-h-color);
  line-height: 1.2;
  margin: 0 0 var(--mhg-h-gap);
  padding: 0;
  text-wrap: balance;
}

.mhg-heading__plain,
.mhg-heading__accent {
  display: inline;
}


.mhg-heading__accent {
  color: var(--mhg-h-accent);
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .mhg-heading__accent {
    background-image: var(--mhg-h-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

@media (forced-colors: active) {
  .mhg-heading__accent {
    background-image: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}

.mhg-description {
  font-family: var(--mhg-body-font);
  font-weight: 400;
  font-size: var(--mhg-d-size);
  color: var(--mhg-d-color);
  line-height: 1.65;
  margin: 0 auto;
  max-width: var(--mhg-d-max-w);
}


.mhg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--mhg-card-gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

.mhg-item {
  display: flex;
  min-width: 0;
}

.mhg-item > .mhg-card {
  flex: 1;
}


.mhg-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 0;
  font-family: var(--mhg-body-font);
  font-size: 15px;
  color: #5b6270;
}

.mhg-card {
  position: relative;
  display: block;
  min-width: 0;
  padding: 24px;
  border-radius: var(--mhg-card-radius);
  border: 1px solid var(--mhg-card-border);
  background: var(--mhg-card-bg);
  overflow: hidden;
  color: inherit;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
  scroll-margin-top: 96px;
}

.mhg-card--link,
.mhg-card--link:hover,
.mhg-card--link:focus,
.mhg-card--link:focus-visible,
.mhg-card--link:active,
.mhg-card--link:visited {
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
}


.mhg-card--link:hover,
.mhg-card--link:focus,
.mhg-card--link:focus-visible,
.mhg-card--link:active,
.mhg-card--link:visited {
  font-family: var(--mhg-body-font);
  font-size: var(--mhg-cd-size);
  font-weight: 400;
}

.mhg-card--link:hover,
.mhg-card--link:focus-visible {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
  transform: translateY(-4px);
}

.mhg-card--static {
  cursor: default;
}

.mhg-card--static:hover {
  box-shadow: none;
  transform: none;
}

.mhg-section :where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--mhg-accent);
  outline-offset: 3px;
  border-radius: var(--mhg-card-radius);
}

.mhg-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--mhg-accent-08) 0%, transparent 50%, var(--mhg-accent-end-06) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.mhg-card--link:hover .mhg-overlay-gradient,
.mhg-card--link:focus-visible .mhg-overlay-gradient {
  opacity: 1;
}

.mhg-overlay-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--mhg-accent) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.mhg-card--link:hover .mhg-overlay-dots,
.mhg-card--link:focus-visible .mhg-overlay-dots {
  opacity: 0.04;
}

.mhg-overlay-border {
  position: absolute;
  inset: 0;
  border-radius: var(--mhg-card-radius);
  border: 1px solid transparent;
  transition: border-color 0.5s ease;
  pointer-events: none;
}

.mhg-card--link:hover .mhg-overlay-border,
.mhg-card--link:focus-visible .mhg-overlay-border {
  border-color: var(--mhg-accent-20);
}

.mhg-content {
  display: block;
  position: relative;
  z-index: 1;
}


.mhg-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--mhg-accent-08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  line-height: 1;
  transition: background 0.5s ease, transform 0.5s ease;
}

.mhg-icon-wrap img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.mhg-card--link:hover .mhg-icon-wrap,
.mhg-card--link:focus-visible .mhg-icon-wrap {
  background: var(--mhg-accent-16);
  transform: scale(1.1);
}

.mhg-name {
  font-family: var(--mhg-heading-font);
  font-weight: 600;
  font-size: var(--mhg-ct-size);
  color: var(--mhg-ct-color);
  margin: 0 0 6px;
  padding: 0;
  line-height: 1.3;
}


.mhg-desc {
  display: block;
  font-family: var(--mhg-body-font);
  font-weight: 400;
  font-size: var(--mhg-cd-size);
  color: var(--mhg-cd-color);
  line-height: 1.55;
  margin: 0;
}


.mhg-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  min-height: 1.6em;
  font-family: var(--mhg-body-font);
  font-weight: 500;
  font-size: var(--mhg-lm-size);
  color: var(--mhg-lm-color);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.mhg-card--link:hover .mhg-learn-more,
.mhg-card--link:focus-visible .mhg-learn-more {
  opacity: 1;
  transform: translateX(0);
}

.mhg-learn-more svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.mhg-card--link:hover .mhg-learn-more svg,
.mhg-card--link:focus-visible .mhg-learn-more svg {
  transform: translateX(3px);
}


@media (min-width: 768px) and (max-width: 1024px) {
  .mhg-section {
    padding-top: min(var(--mhg-pt), 80px);
    padding-bottom: min(var(--mhg-pb), 80px);
    --mhg-pl: 32px;
    --mhg-pr: 32px;
  }

  .mhg-header {
    margin-bottom: min(var(--mhg-d-gap), 48px);
  }

  .mhg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(var(--mhg-card-gap) * 0.8);
  }
}

@media (min-width: 641px) and (max-width: 767px) {
  .mhg-section {
    padding-top: min(var(--mhg-pt), 68px);
    padding-bottom: min(var(--mhg-pb), 68px);
  }

  .mhg-header {
    margin-bottom: min(var(--mhg-d-gap), 40px);
  }

  .mhg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(var(--mhg-card-gap) * 0.6);
  }

  .mhg-card {
    padding: 20px;
  }
}


@media (max-width: 640px) {
  .mhg-section {
    padding-top: min(var(--mhg-pt), 56px);
    padding-bottom: min(var(--mhg-pb), 56px);
    --mhg-pl: 20px;
    --mhg-pr: 20px;
  }

  .mhg-header {
    margin-bottom: min(var(--mhg-d-gap), 32px);
  }

  .mhg-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: calc(var(--mhg-card-gap) * 0.6);
  }

  .mhg-card {
    padding: 20px;
    border-radius: calc(var(--mhg-card-radius) * 0.875);
  }

  .mhg-overlay-border {
    border-radius: calc(var(--mhg-card-radius) * 0.875);
  }

  .mhg-icon-wrap {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .mhg-icon-wrap img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 390px) {
  .mhg-section {
    padding-top: min(var(--mhg-pt), 48px);
    padding-bottom: min(var(--mhg-pb), 48px);
    --mhg-pl: 16px;
    --mhg-pr: 16px;
  }

  .mhg-card {
    padding: 18px 16px;
  }
}


@media (hover: none) {
  .mhg-learn-more {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mhg-card,
  .mhg-icon-wrap,
  .mhg-name,
  .mhg-learn-more,
  .mhg-learn-more svg,
  .mhg-overlay-gradient,
  .mhg-overlay-dots,
  .mhg-overlay-border {
    transition: none;
  }

  .mhg-card--link:hover,
  .mhg-card--link:focus-visible {
    transform: none;
  }

  .mhg-card--link:hover .mhg-icon-wrap,
  .mhg-card--link:focus-visible .mhg-icon-wrap {
    transform: none;
  }

  .mhg-learn-more {
    opacity: 1;
    transform: none;
  }
}
