.commerce-network-hero {
  position: relative;
  min-height: 610px;
  overflow: visible;
  color: #fff;
  background:
    linear-gradient(115deg, #061b39f7 0%, #073868ef 56%, #05254adb 100%),
    url('/assets/anchor-hero.png') 72% center / cover no-repeat;
}

.commerce-network-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 32%, #3b91e62c, transparent 34%),
    linear-gradient(#8dbce80e 1px, transparent 1px),
    linear-gradient(90deg, #8dbce80e 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  pointer-events: none;
}

.commerce-network-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 24px 108px;
  text-align: center;
}

.commerce-network-kicker {
  margin: 0 0 20px;
  color: #9fcdf7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.8px;
}

.commerce-network-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.055em;
}

.commerce-network-lead {
  margin: 19px auto 0;
  color: #c8def2;
  font-size: 17px;
  line-height: 1.8;
}

.commerce-hero-search {
  max-width: 900px;
  margin: 36px auto 0;
  text-align: left;
  border: 1px solid #9cc6e93d;
  box-shadow: 0 25px 70px #0018327d;
}

.commerce-hero-search .portal-search-results { z-index: 8; }

.commerce-hero-links {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 900px;
  margin: 18px auto 0;
  border: 1px solid #a6ccea2b;
  background: #ffffff0b;
  backdrop-filter: blur(7px);
}

.commerce-hero-links a {
  min-width: 0;
  padding: 14px 18px;
  text-align: left;
  color: #fff;
  border-right: 1px solid #a6ccea2b;
}

.commerce-hero-links a:last-child { border-right: 0; }
.commerce-hero-links a:hover { background: #ffffff10; }
.commerce-hero-links strong { display: block; font-size: 14px; }
.commerce-hero-links span { display: block; margin-top: 6px; color: #9fc5e7; font-size: 11px; }

.portal-home .public-home-hero {
  min-height: 690px;
  background:
    linear-gradient(90deg, #f4f8fc 0%, #f4f8fc 47%, #f4f8fc00 69%),
    linear-gradient(135deg, #f8fbfe, #edf4fb);
}

.portal-home .public-home-hero .portal-hero-inner {
  min-height: 690px;
  padding-top: 78px;
  padding-bottom: 112px;
}

.public-home-hero .corporate-hero-copy { width: min(53%, 620px); }
.public-home-hero .corporate-hero-copy h1 { max-width: 650px; }
.public-home-hero .corporate-hero-lead { max-width: 560px; }

.public-home-hero .corporate-hero-art {
  width: min(59vw, 860px);
  background-position: 62% center;
}

.public-home-hero .corporate-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, #081e3a36 100%);
}

.home-gateway-card {
  position: absolute;
  z-index: 2;
  right: max(5%, calc((100vw - 1240px) / 2));
  bottom: 72px;
  width: min(390px, 42vw);
  padding: 23px 25px 20px;
  color: #fff;
  background: #092f5be8;
  border: 1px solid #a8cdf059;
  box-shadow: 0 24px 56px #061c3861;
  backdrop-filter: blur(12px);
}

.home-gateway-card > span {
  display: block;
  color: #8fc5f4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.home-gateway-card > strong {
  display: block;
  margin: 11px 0 18px;
  font-size: 21px;
  letter-spacing: -.02em;
}

.home-gateway-card > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #b8d8f22b;
}

.home-gateway-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 12px;
  color: #d9edff;
  background: #0b3767;
  font-size: 12px;
}

.home-gateway-card a:hover { color: #fff; background: #155aa3; }

.home-entry-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1240px;
  margin: -54px auto 0;
  background: #fff;
  border: 1px solid #dce7f2;
  box-shadow: 0 22px 48px #173c5c20;
}

.home-entry-strip > a {
  min-height: 142px;
  padding: 20px 18px 19px;
  border-right: 1px solid #e0e8f1;
  color: #153858;
}

.home-entry-strip > a:last-child { border-right: 0; }
.home-entry-strip > a:hover { background: #f0f6fd; transform: translateY(-3px); }
.home-entry-strip i { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 13px; color: #1767d4; background: #eaf3ff; border: 1px solid #d4e7fc; font-size: 15px; font-style: normal; font-weight: 800; }
.home-entry-strip b { display: block; color: #1767d4; font-size: 9px; letter-spacing: 1px; }
.home-entry-strip strong { display: block; margin: 8px 0 6px; font-size: 16px; }
.home-entry-strip span { color: #7b8da0; font-size: 12px; }

.home-platform-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1240px;
  margin: 18px auto 0;
  padding: 23px 30px;
  color: #fff;
  background: #0a2f5b;
}

.home-platform-facts article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 15px;
  min-width: 0;
  padding: 0 25px;
  border-right: 1px solid #8eb8df36;
}

.home-platform-facts article:first-child { padding-left: 0; }
.home-platform-facts article:last-child { padding-right: 0; border-right: 0; }
.home-platform-facts strong { color: #70b5ff; font-size: 34px; line-height: 1; }
.home-platform-facts span { display: block; font-size: 14px; font-weight: 700; }
.home-platform-facts small { display: block; margin-top: 6px; color: #91b1ce; font-size: 10px; font-weight: 400; white-space: nowrap; }

.home-portal-board {
  max-width: 1240px;
  margin: 28px auto 0;
  padding: 62px 48px;
  background: #fff;
}

.home-board-heading {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 35px;
}

.home-board-heading > div > span {
  color: #1767c9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.home-board-heading h2 {
  margin: 14px 0 0;
  color: #143653;
  font-size: clamp(31px, 3vw, 43px);
  line-height: 1.35;
}

.home-board-heading p {
  margin: 0;
  color: #657a8e;
  font-size: 15px;
  line-height: 1.9;
}

.home-board-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr .75fr;
  grid-template-rows: repeat(2, minmax(170px, auto));
  gap: 14px;
}

.home-board-grid > a {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #dce7f2;
  color: #193c5c;
  background: #f7fafc;
}

.home-board-grid > a::after {
  content: "↗";
  position: absolute;
  right: 24px;
  top: 24px;
  color: #1768cc;
  font-size: 19px;
}

.home-board-grid > a:hover { border-color: #6d9fda; transform: translateY(-3px); }
.home-board-grid > a > span { color: #1b69bd; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; }
.home-board-grid > a > strong { display: block; margin: 31px 0 10px; font-size: 21px; }
.home-board-grid > a > p { max-width: 330px; margin: 0; color: #708397; font-size: 13px; line-height: 1.75; }

.home-board-grid .home-board-feature {
  grid-row: 1 / 3;
  padding: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, #2d75bf66, transparent 30%),
    linear-gradient(145deg, #082b55, #0b4c89);
  border-color: #0b4c89;
}

.home-board-feature::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -60px;
  bottom: -90px;
  border: 1px solid #b6d8f94a;
  border-radius: 50%;
  box-shadow: 0 0 0 48px #98c7ef12, 0 0 0 96px #98c7ef0a;
}

.home-board-grid .home-board-feature::after { color: #fff; }
.home-board-grid .home-board-feature > span { color: #90c8f5; }
.home-board-grid .home-board-feature > strong { margin-top: 54px; font-size: 34px; }
.home-board-grid .home-board-feature > p { color: #c8dcee; font-size: 15px; }

.home-board-tags {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-board-tags i {
  padding: 8px 10px;
  color: #d8ecfd;
  background: #ffffff0e;
  border: 1px solid #b6d8f936;
  font-size: 11px;
  font-style: normal;
}

.business-market-hub {
  max-width: 1240px;
  margin: 28px auto 0;
  padding: 64px 48px 50px;
  color: #153858;
  background: #fff;
}

.market-hub-heading {
  display: grid;
  grid-template-columns: 1fr .82fr;
  align-items: end;
  gap: 54px;
  margin-bottom: 36px;
}

.market-hub-heading > div > span,
.market-industries .market-panel-title span,
.market-live > span,
.market-service-entry span,
.market-region-entry span,
.market-demand-entry span {
  color: #1767c9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.market-hub-heading h2 {
  margin: 14px 0 0;
  color: #143653;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.34;
}

.market-hub-heading p {
  margin: 0;
  color: #657a8e;
  font-size: 15px;
  line-height: 1.9;
}

.market-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr .86fr;
  gap: 14px;
}

.market-industries {
  grid-column: 1 / 3;
  padding: 31px 34px 34px;
  border: 1px solid #dce7f2;
  background: #f8fbfe;
}

.market-panel-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dbe5ef;
}

.market-panel-title h3,
.market-live h3,
.market-service-entry h3,
.market-region-entry h3,
.market-demand-entry h3 {
  margin: 9px 0 0;
  color: #173b5e;
  font-size: 23px;
  line-height: 1.45;
}

.market-panel-title > a {
  color: #1767c9;
  font-size: 13px;
  white-space: nowrap;
}

.market-industry-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 27px;
}

.market-industry-groups article {
  min-width: 0;
  padding: 0 22px;
  border-right: 1px solid #dbe5ef;
}

.market-industry-groups article:first-child { padding-left: 0; }
.market-industry-groups article:last-child { padding-right: 0; border-right: 0; }
.market-industry-groups strong { display: block; margin-bottom: 12px; color: #173b5e; font-size: 15px; }
.market-industry-groups a { display: block; padding: 7px 0; color: #667b90; font-size: 13px; }
.market-industry-groups a:hover { color: #1767c9; transform: translateX(3px); }

.market-live {
  grid-row: span 2;
  padding: 31px 28px 24px;
  color: #fff;
  background: linear-gradient(150deg, #082a51, #0d548e);
}

.market-live > span { color: #8fc5f4; }
.market-live h3 { max-width: 270px; margin-bottom: 22px; color: #fff; }
.market-live > a { display: grid; grid-template-columns: 1fr 20px; gap: 7px 14px; padding: 18px 0; border-top: 1px solid #b7d7f126; color: #d8eafb; }
.market-live > a b { grid-column: 1; color: #83bcea; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; }
.market-live > a strong { grid-column: 1; font-size: 13px; font-weight: 500; line-height: 1.65; }
.market-live > a i { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #8cc5f4; font-size: 17px; font-style: normal; }
.market-live > div { margin-top: 9px; padding-top: 18px; border-top: 1px solid #b7d7f126; }
.market-live > div a { color: #fff; font-size: 13px; font-weight: 700; }

.market-service-entry,
.market-region-entry,
.market-demand-entry {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 27px 29px;
  border: 1px solid #dce7f2;
  background: #fff;
}

.market-service-entry p,
.market-region-entry p,
.market-demand-entry p { margin: 11px 0 0; color: #708397; font-size: 13px; line-height: 1.75; }
.market-service-entry > a,
.market-region-entry > a,
.market-demand-entry > a { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid #e0e8f1; color: #1767c9; font-size: 13px; font-weight: 700; }
.market-region-entry { background: #eff6fd; }
.market-demand-entry { grid-column: 1 / 3; min-height: 160px; flex-direction: row; align-items: end; gap: 35px; background: #f7fafc; }
.market-demand-entry > div { max-width: 620px; }
.market-demand-entry > a { min-width: 170px; justify-content: space-between; margin: 0; padding: 14px 16px; border: 0; color: #fff; background: #1767c9; }

.logo strong small { white-space: nowrap; }
.logo strong { white-space: nowrap; }
.portal-home > header .logo strong { line-height: 1.05; }
.portal-home > header .logo strong small { margin-top: 6px; letter-spacing: 1.7px; }

@media (max-width: 1000px) {
  .commerce-network-inner { padding-left: 5%; padding-right: 5%; }
  .commerce-hero-links { max-width: 90%; }
  .public-home-hero .corporate-hero-copy { width: 58%; }
  .home-entry-strip { max-width: 92%; grid-template-columns: repeat(3, 1fr); }
  .home-entry-strip > a:nth-child(3) { border-right: 0; }
  .home-entry-strip > a:nth-child(-n+3) { border-bottom: 1px solid #e0e8f1; }
  .home-platform-facts { max-width: 92%; grid-template-columns: 1fr 1fr; gap: 0; }
  .home-platform-facts article { padding: 16px 22px; }
  .home-platform-facts article:nth-child(2) { border-right: 0; }
  .home-platform-facts article:nth-child(-n+2) { border-bottom: 1px solid #8eb8df36; }
  .home-portal-board { margin-left: 4%; margin-right: 4%; }
  .home-board-grid { grid-template-columns: 1fr 1fr; }
  .home-board-grid .home-board-feature { grid-row: span 2; }
  .home-board-grid > a:nth-child(4) { grid-column: 2; }
  .business-market-hub { margin-left: 4%; margin-right: 4%; }
  .market-hub-grid { grid-template-columns: 1fr 1fr; }
  .market-industries { grid-column: 1 / 3; }
  .market-live { grid-column: 1 / 3; grid-row: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
  .market-live > span, .market-live h3, .market-live > div { grid-column: 1 / 4; }
  .market-demand-entry { grid-column: 1 / 3; }
}

@media (max-width: 760px) {
  .commerce-network-hero { min-height: 710px; }
  .commerce-network-inner { padding: 54px 5% 82px; }
  .commerce-network-kicker { margin-bottom: 17px; font-size: 10px; letter-spacing: 1.7px; }
  .commerce-network-hero h1 { font-size: clamp(38px, 11vw, 45px); line-height: 1.25; }
  .commerce-network-lead { max-width: 330px; margin-top: 14px; font-size: 14px; line-height: 1.75; }
  .commerce-hero-search { max-width: none; margin-top: 27px; }
  .commerce-hero-search .search-tabs button { padding: 0 3px; font-size: 11px; white-space: nowrap; }
  .commerce-hero-links { grid-template-columns: repeat(2, 1fr); max-width: none; margin-top: 14px; }
  .commerce-hero-links a { padding: 12px 13px; }
  .commerce-hero-links a:nth-child(2) { border-right: 0; }
  .commerce-hero-links a:nth-child(-n+2) { border-bottom: 1px solid #a6ccea2b; }
  .commerce-hero-links strong { font-size: 13px; }
  .commerce-hero-links span { font-size: 10px; }
  .portal-home .public-home-hero,
  .portal-home .public-home-hero .portal-hero-inner { min-height: 640px; }
  .portal-home .public-home-hero .portal-hero-inner { padding-bottom: 86px; }
  .public-home-hero .corporate-hero-copy { width: 100%; }
  .portal-home > header .site-account-actions { display: none; }
  .portal-home > header .logo { gap: 8px; }
  .portal-home > header .logo strong { font-size: 20px; }
  .home-gateway-card { display: none; }
  .home-entry-strip { grid-template-columns: repeat(2, 1fr); margin-top: -34px; }
  .home-entry-strip > a { min-height: 135px; padding: 17px; border-bottom: 1px solid #e0e8f1; }
  .home-entry-strip > a:nth-child(2n) { border-right: 0; }
  .home-entry-strip > a:nth-child(3) { border-right: 1px solid #e0e8f1; }
  .home-entry-strip > a:nth-child(-n+4) { border-bottom: 1px solid #e0e8f1; }
  .home-entry-strip i { width: 31px; height: 31px; margin-bottom: 10px; }
  .home-entry-strip strong { font-size: 15px; }
  .home-platform-facts { max-width: none; margin-top: 12px; padding: 10px 5%; }
  .home-platform-facts article { grid-template-columns: 34px 1fr; gap: 9px; padding: 15px 10px; }
  .home-platform-facts strong { font-size: 27px; }
  .home-platform-facts span { font-size: 12px; }
  .home-platform-facts small { display: none; }
  .corporate-discovery .search-tabs button { padding: 0 3px; font-size: 11px; white-space: nowrap; }
  .home-portal-board { margin: 16px 0 0; padding: 48px 5%; }
  .home-board-heading { grid-template-columns: 1fr; gap: 18px; }
  .home-board-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .home-board-grid .home-board-feature { grid-row: auto; min-height: 330px; padding: 28px; }
  .home-board-grid > a:nth-child(4) { grid-column: auto; }
  .home-board-tags { left: 28px; right: 28px; bottom: 26px; }
  .business-market-hub { margin: 16px 0 0; padding: 48px 5%; }
  .market-hub-heading { grid-template-columns: 1fr; gap: 18px; }
  .market-hub-grid { grid-template-columns: 1fr; }
  .market-industries, .market-live, .market-demand-entry { grid-column: auto; }
  .market-industries { padding: 27px 23px; }
  .market-panel-title { align-items: start; }
  .market-industry-groups { grid-template-columns: 1fr 1fr; row-gap: 25px; }
  .market-industry-groups article { padding: 0 15px; }
  .market-industry-groups article:nth-child(2) { padding-right: 0; border-right: 0; }
  .market-industry-groups article:nth-child(3) { padding-left: 0; }
  .market-live { display: block; }
  .market-demand-entry { min-height: 220px; flex-direction: column; align-items: stretch; }
  .market-demand-entry > a { min-width: 0; }
}

@media (max-width: 440px) {
  .commerce-network-hero { min-height: 725px; }
  .commerce-network-inner { padding-top: 45px; }
  .portal-home .public-home-hero,
  .portal-home .public-home-hero .portal-hero-inner { min-height: 680px; }
  .public-home-hero .corporate-hero-actions a { width: 100%; }
}
