:root {
  --products-purple: #5b3e8f;
  --products-purple-dark: #30204f;
  --products-green: #08b64a;
  --products-ink: #353f4f;
  --products-muted: #6c757d;
  --products-paper: #f7f8fa;
  --products-line: #e4e7ec;
}

.products-page {
  color: var(--products-ink);
}

.products-hero {
  padding: 142px 0 38px;
  background: #fff;
}

.products-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 48px 54px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 15%, rgba(255, 255, 255, .12), transparent 28%),
    linear-gradient(130deg, var(--products-purple-dark), var(--products-purple));
}

.products-hero-panel::after {
  position: absolute;
  right: -95px;
  bottom: -175px;
  width: 300px;
  height: 300px;
  border: 54px solid rgba(8, 182, 74, .12);
  border-radius: 50%;
  content: "";
}

.products-eyebrow,
.product-category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c7f4d5;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.products-eyebrow::before,
.product-category::before {
  width: 25px;
  height: 2px;
  background: var(--products-green);
  content: "";
}

.products-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 16px 0 0;
  color: #fff;
  font-size: clamp(2.35rem, 3.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.products-hero p {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 22px 0 0;
  color: #e8e0f4;
  font-size: 1.04rem;
  line-height: 1.75;
}

.products-listing {
  padding: 58px 0 100px;
  background: #fff;
}

.products-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.products-heading h2 {
  margin: 0;
  color: var(--products-ink);
  font-size: clamp(1.85rem, 2.7vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.products-heading p {
  max-width: 700px;
  margin: 15px 0 0;
  color: var(--products-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.product-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--products-line);
  border-radius: 17px;
  background: var(--products-paper);
  box-shadow: 0 12px 36px rgba(38, 45, 58, .07);
}

.product-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8ebee;
}

.product-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-image-hosting img {
  object-fit: cover;
}

.product-card-content {
  display: flex;
  align-items: flex-start;
  flex: 1;
  flex-direction: column;
  padding: 30px 30px 34px;
}

.product-category {
  margin-bottom: 19px;
  color: var(--products-purple);
  font-size: .7rem;
}

.ewepro-wordmark {
  display: block;
  width: min(205px, 62%);
  height: auto;
  margin-bottom: 20px;
}

.northpacket-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 60px;
  margin: 0 0 20px;
  color: var(--products-purple-dark);
  line-height: 1;
}

.northpacket-wordmark img {
  display: block;
  width: 78px;
  height: auto;
}

.northpacket-divider {
  width: 1px;
  height: 32px;
  background: #cfd2d9;
}

.northpacket-name {
  position: relative;
  padding-bottom: 5px;
  font-size: 1.78rem;
  font-weight: 500;
  letter-spacing: -.06em;
}

.northpacket-name strong {
  color: var(--products-purple);
  font-weight: 800;
}

.northpacket-name::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--products-green);
  content: "";
}

.product-card h3 {
  margin: 0;
  color: var(--products-ink);
  font-size: clamp(1.55rem, 2.05vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.product-card-content > p {
  margin: 17px 0 0;
  color: var(--products-muted);
  font-size: .94rem;
  line-height: 1.75;
}

.product-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.product-details li {
  padding: 7px 10px;
  border: 1px solid #d9dce2;
  border-radius: 999px;
  color: #586174;
  background: #fff;
  font-size: .7rem;
  font-weight: 600;
}

.product-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: auto;
  padding-top: 27px;
}

.product-features-link {
  color: var(--products-purple);
  font-size: .9rem;
  font-weight: 700;
}

.product-features-link:hover {
  color: var(--products-green);
}

.products-footer {
  padding: 0 0 35px;
}

@media (max-width: 991px) {
  .products-hero-panel {
    padding: 48px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }

  .product-card-image {
    height: 100%;
    min-height: 390px;
    aspect-ratio: auto;
  }
}

@media (max-width: 767px) {
  .products-page .wsmenu-list > li > a.h-link {
    color: #5d5d5d !important;
  }

  .products-hero {
    padding: 103px 0 26px;
  }

  .products-hero-panel {
    padding: 38px 26px 42px;
    border-radius: 16px;
  }

  .products-hero h1 {
    font-size: 2.35rem;
  }

  .products-hero p {
    margin-top: 17px;
    font-size: .95rem;
  }

  .products-listing {
    padding: 42px 0 70px;
  }

  .products-heading {
    margin-bottom: 28px;
  }

  .products-heading h2 {
    font-size: 1.9rem;
  }

  .products-heading p {
    font-size: .94rem;
  }

  .products-grid {
    gap: 20px;
  }

  .product-card {
    display: flex;
    border-radius: 14px;
  }

  .product-card-image {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .product-card-content {
    padding: 27px 24px 31px;
  }

  .ewepro-wordmark {
    width: min(205px, 70%);
  }

  .northpacket-wordmark {
    gap: 10px;
  }

  .northpacket-wordmark img {
    width: 72px;
  }

  .northpacket-divider {
    height: 29px;
  }

  .northpacket-name {
    font-size: 1.6rem;
  }

  .product-card h3 {
    font-size: 1.7rem;
  }

  .product-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .products-footer .bottom-secondary-link {
    margin-top: 20px;
    text-align: left !important;
  }
}
