.home-page {
  --home-directory-width: 960px;
  --home-border: #2d67a7;
  --home-border-hover: #174f90;
  --home-focus: #0067d9;
  --home-grid-gap: clamp(1.35rem, 3vw, 2rem);
  overflow-x: clip;
  color: var(--navy-950);
  background: var(--white);
}

.home-directory {
  min-width: 0;
  background: var(--white);
}

.home-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.home-directory-shell {
  width: min(calc(100% - 32px), var(--home-directory-width));
  min-width: 0;
  margin-inline: auto;
}

.home-product-directory {
  min-width: 0;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(5.5rem, 10vw, 9rem);
}

.home-product-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: 1fr;
  gap: var(--home-grid-gap);
}

.home-product-card {
  display: flex;
  min-width: 0;
  min-height: 200px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: .25rem clamp(1rem, 3vw, 1.75rem);
  border: 1px solid var(--home-border);
  border-radius: 12px;
  color: #090d12;
  background: var(--white);
  text-align: center;
}

a.home-product-card {
  transition: border-color .18s ease, background-color .18s ease;
}

a.home-product-card:hover {
  border-color: var(--home-border-hover);
  color: #090d12;
  background: #f9fbfe;
}

.home-product-card-static {
  cursor: default;
}

.home-product-symbol {
  display: grid;
  width: clamp(58px, 7vw, 72px);
  height: clamp(58px, 7vw, 72px);
  flex: 0 0 auto;
  place-items: center;
  color: #236fd4;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1;
}

.home-product-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.product-symbol-w {
  width: clamp(52px, 6vw, 62px);
  height: clamp(52px, 6vw, 62px);
  border-radius: 4px;
  color: var(--white);
  background: #1655b1;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  font-size: clamp(2rem, 4vw, 2.65rem);
}

.product-symbol-green { color: #43a84e; }
.product-symbol-orange { color: #ff7a00; }
.product-symbol-purple { color: #7149b9; }
.product-symbol-brown { color: #a66f42; }
.product-symbol-teal { color: #168e98; }
.product-symbol-red { color: #e52e35; }
.product-symbol-amber { color: #f0a000; }
.product-symbol-gray { color: #6f7378; }
.product-symbol-blue { color: #236fd4; }

.product-symbol-braces {
  width: auto;
  white-space: nowrap;
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 800;
}

.product-symbol-text {
  width: auto;
  white-space: nowrap;
  font-size: clamp(2.2rem, 5vw, 3rem);
}

.product-symbol-code {
  width: 100%;
  white-space: nowrap;
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  letter-spacing: -.08em;
  text-align: center;
  text-indent: -.08em;
}

.product-symbol-dll {
  font-size: clamp(1.9rem, 4vw, 2.45rem);
  letter-spacing: .06em;
}

.product-symbol-gear svg {
  stroke-width: 3.5;
}

.home-product-name {
  display: block;
  max-width: 100%;
  margin: .4rem 0 0;
  color: #070b10;
  font-size: clamp(1.7rem, 3.2vw, 2.15rem);
  font-weight: 790;
  letter-spacing: -.04em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.home-product-description {
  display: block;
  max-width: 100%;
  min-width: 0;
  margin: .25rem 0 0;
  color: #171d25;
  font-size: clamp(1.03rem, 2vw, 1.22rem);
  font-weight: 440;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

a.home-product-card:focus-visible,
.home-footer-contact a:focus-visible,
.home-footer-logo:focus-visible {
  outline: 3px solid var(--home-focus);
  outline-offset: 4px;
}

.home-page .home-site-footer {
  padding: 1.45rem 0;
  border-top: 1px solid var(--slate-200);
  color: var(--slate-700);
  background: var(--white);
}

.home-footer-inner {
  display: grid;
  min-width: 0;
  align-items: center;
  grid-template-columns: minmax(170px, 1fr) auto minmax(220px, 1fr);
  gap: 2rem;
}

.home-footer-logo {
  width: 161px;
}

.home-footer-logo img {
  width: 161px;
  height: 33px;
  object-fit: contain;
}

.home-footer-copyright {
  margin: 0;
  color: var(--slate-700);
  font-size: .85rem;
  text-align: center;
  white-space: nowrap;
}

.home-footer-contact {
  display: grid;
  justify-self: end;
  gap: .1rem;
  font-size: .82rem;
  line-height: 1.5;
}

.home-footer-contact a:hover {
  color: #0e4d9c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 600px) {
  .home-directory-shell {
    width: min(calc(100% - 48px), var(--home-directory-width));
  }

  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-product-card {
    min-height: 200px;
  }

  .home-product-card-training {
    width: calc((100% - var(--home-grid-gap)) / 2);
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (min-width: 1024px) {
  .home-directory-shell {
    width: min(calc(100% - 64px), var(--home-directory-width));
  }

  .home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-product-card {
    min-height: 200px;
  }

  .home-product-card-training {
    width: auto;
    grid-column: 2;
    justify-self: stretch;
  }
}

@media (max-width: 899px) {
  .home-footer-inner {
    grid-template-columns: auto 1fr;
  }

  .home-footer-copyright {
    justify-self: end;
  }

  .home-footer-contact {
    grid-column: 1 / -1;
    justify-self: center;
    grid-template-columns: auto auto;
    gap: .5rem 1.5rem;
  }
}

@media (max-width: 599px) {
  .home-product-card {
    width: 100%;
    min-height: 200px;
  }

  .home-product-card-training {
    width: 100%;
    grid-column: auto;
  }

  .home-footer-inner {
    justify-items: center;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .home-footer-copyright,
  .home-footer-contact {
    justify-self: center;
  }

  .home-footer-copyright {
    white-space: normal;
  }

  .home-footer-contact {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: .15rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto;
    transition-duration: .01ms !important;
  }
}
