/* Final layout corrections loaded after ucdg-home.css. */
/* Editorial hero: gradient, message and actions only. */
.ug5-home,
.ug5-home p,
.ug5-home span,
.ug5-home small { font-weight: 400; }

.ug5-home h1,
.ug5-home h2,
.ug5-home h3,
.ug5-home h4,
.ug5-home h5,
.ug5-home h6 { font-weight: 600; }

.ug5-home strong,
.ug5-home b,
.ug5-home .ug5-btn,
.ug5-home .ug5-section-label,
.ug5-home .ug5-label { font-weight: 600; }

.ug5-assurance { display: none; }

.ug5-hero {
  min-height: 650px;
}

.ug5-hero-layout {
  min-height: 650px;
  padding: 105px 0 115px;
  display: flex;
  align-items: center;
}

.ug5-hero-copy {
  width: min(920px, 100%);
}

.ug5-hero-copy h1 {
  max-width: 900px;
  margin: 18px 0 28px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.ug5-hero-copy h1 span {
  display: inline;
}

.ug5-hero-copy > p {
  max-width: 720px;
  margin-bottom: 36px;
  font-size: 16px;
  line-height: 1.75;
}

.ug5-hero-showcase { display: none; }

.ug5-hero-glow {
  background:
    radial-gradient(circle at 78% 38%, rgba(31, 81, 139, .22), transparent 35%),
    radial-gradient(circle at 18% 92%, rgba(246, 194, 71, .07), transparent 30%);
}

.ug5-why { padding: 130px 0 120px; }

.ug5-why > .ug5-container {
  width: min(1380px, calc(100% - 72px));
}

.ug5-why-header {
  grid-template-columns: 310px minmax(0, 1fr);
  align-items: start;
  gap: 90px;
  margin-bottom: 105px;
}

.ug5-why-title {
  max-width: 780px;
  font-size: inherit;
}

.ug5-why-title h2 {
  max-width: 760px;
  margin: 12px 0 22px;
  color: #fff;
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.ug5-why-title p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .64);
  font-size: 14px;
  line-height: 1.75;
}

.ug5-why-brand {
  align-self: start;
  margin-top: 34px;
}

.ug5-why-brand > img {
  width: 210px;
  height: 90px;
  padding: 0;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border: 0;
  filter: none;
}

/* The full company name is already part of the supplied logo. */
.ug5-why-logo-text { display: none; }

.ug5-why-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 54px;
  padding-left: 0;
  border-left: 0;
}

.ug5-why-copy {
  max-width: 820px;
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, .13);
}

.ug5-why-principles {
  align-self: start;
  margin-bottom: 105px;
  gap: 48px;
  border: 0;
}

.ug5-why-principles article {
  min-height: 0;
  padding: 8px 18px 8px 24px;
  background: transparent;
  border: 0;
  border-left: 2px solid rgba(246, 194, 71, .42);
}

.ug5-why-principles article:hover {
  background: transparent;
  transform: translateY(-2px);
}

.ug5-why-principles article > span {
  color: #f6c247;
  font-size: 10px;
  font-weight: 800;
}

.ug5-why-principles article h3 {
  margin: 20px 0 10px;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}

.ug5-system-flow {
  display: flex;
  grid-template-columns: none;
  align-items: stretch;
  border: 0;
  border-block: 1px solid rgba(255, 255, 255, .12);
}

.ug5-why-system { margin-bottom: 110px; }
.ug5-why-system-intro {
  margin-bottom: 42px;
  display: block;
}

.ug5-why-system-intro .ug5-why-index {
  margin-bottom: 28px;
}

.ug5-why-system-intro > div {
  max-width: 720px;
}

.ug5-system-flow > a {
  min-width: 0;
  flex: 1 1 0;
  min-height: 150px;
  padding: 30px 26px;
  border-right: 0;
}

.ug5-system-flow > i {
  width: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  margin: 0;
  color: #f6c247;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.ug5-system-flow > a span,
.ug5-system-flow > a strong,
.ug5-system-flow > a small {
  display: block;
}

.ug5-system-flow > a strong {
  margin: 13px 0 5px;
  font-size: 14px;
}

.ug5-system-flow > a small {
  color: rgba(255, 255, 255, .5);
  font-size: 10px;
}

.ug5-why-brand-grid {
  gap: 28px 34px;
  border: 0;
}

.ug5-why-ecosystem {
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
  gap: 95px;
  margin-bottom: 85px;
}

.ug5-why-ecosystem > div:first-child { max-width: 430px; }

.ug5-why-brand-grid > div {
  align-items: flex-start;
  min-height: 105px;
  padding: 0;
  background: transparent;
  border: 0;
}

.ug5-why-brand-grid img {
  box-sizing: border-box;
  width: 145px;
  max-width: 100%;
  height: 48px;
  margin-bottom: 10px;
  padding: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
  filter: none;
  opacity: 1;
}

.ug5-why-brand-grid span { color: rgba(255, 255, 255, .46); }

/* The displayed logo assets now have real transparency and retain brand colors. */
.ug5-why-brand-grid img {
  filter: none;
  mix-blend-mode: normal;
}

.ug5-why-actions {
  margin-top: 0;
  padding-top: 48px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.ug5-why-actions > div:first-child h3 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 28px;
}

/* B2C/B2B choice: compact editorial layout instead of a full-width table. */
.ug5-commerce {
  padding: 110px 0;
  background: #fff;
}

.ug5-commerce > .ug5-container {
  width: min(1380px, calc(100% - 72px));
  max-width: 1380px;
}

.ug5-commerce-box {
  min-height: 0;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: 76px;
  align-items: center;
  color: #09182b;
  background: transparent;
}

.ug5-commerce-intro {
  padding: 0;
  border: 0;
}

.ug5-commerce-intro .ug5-section-label { color: #9a700d; }

.ug5-commerce-intro h2 {
  max-width: 520px;
  margin: 15px 0 20px;
  color: #09182b;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.ug5-commerce-intro p {
  max-width: 480px;
  margin: 0;
  color: #69768a;
  font-size: 14px;
  line-height: 1.7;
}

.ug5-commerce-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  counter-reset: ug5-commerce-card;
}

.ug5-commerce-options article {
  counter-increment: ug5-commerce-card;
  min-height: 315px;
  padding: 38px;
  position: relative;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid #dfe5ec;
  background: #f6f8fb;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ug5-commerce-options article::before {
  content: "0" counter(ug5-commerce-card);
  position: absolute;
  top: 28px;
  right: 30px;
  color: #a6b0bd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.ug5-commerce-options article:last-child {
  color: #fff;
  border-color: #102945;
  background:
    radial-gradient(circle at 100% 0%, rgba(51, 103, 163, .28), transparent 38%),
    linear-gradient(145deg, #07111e, #0b2442);
}

.ug5-commerce-options article:hover {
  z-index: 1;
  transform: translateY(-6px);
  border-color: #f6c247;
  box-shadow: 0 22px 55px rgba(7, 24, 45, .13);
}

.ug5-commerce-options article > span {
  color: #9a700d;
  font-size: 9px;
  letter-spacing: .1em;
}

.ug5-commerce-options article:last-child > span { color: #f6c247; }

.ug5-commerce-options h3 {
  margin: 15px 0 10px;
  color: #09182b;
  font-size: 25px;
}

.ug5-commerce-options article:last-child h3 { color: #fff; }

.ug5-commerce-options p {
  max-width: 310px;
  color: #69768a;
  font-size: 12px;
  line-height: 1.65;
}

.ug5-commerce-options article:last-child p { color: rgba(255, 255, 255, .58); }

.ug5-commerce-options a {
  width: max-content;
  margin-top: 28px;
  padding-bottom: 5px;
  color: #8b650e !important;
  border-bottom: 1px solid rgba(139, 101, 14, .35);
}

.ug5-commerce-options article:last-child a {
  color: #f6c247 !important;
  border-bottom-color: rgba(246, 194, 71, .35);
}

/* The loop distance is measured in JS, so the second group replaces the first perfectly. */
.ug5-marquee-track {
  --ug5-marquee-distance: -2400px;
  animation-name: ug5MarqueeMeasured;
}

@keyframes ug5MarqueeMeasured {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--ug5-marquee-distance), 0, 0); }
}

@media (max-width: 991px) {
  .ug5-hero,
  .ug5-hero-layout { min-height: 590px; }
  .ug5-hero-layout { padding: 90px 0 100px; }

  .ug5-why > .ug5-container { width: min(760px, calc(100% - 36px)); }

  .ug5-why-header,
  .ug5-why-story {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .ug5-why-brand { margin-top: 0; }
  .ug5-why-copy { max-width: 680px; }

  .ug5-system-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ug5-system-flow > i { display: none; }

  .ug5-commerce { padding: 85px 0; }
  .ug5-commerce > .ug5-container { width: min(760px, calc(100% - 36px)); }
  .ug5-commerce-box { min-height: auto; grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 600px) {
  .ug5-hero,
  .ug5-hero-layout { min-height: 540px; }
  .ug5-hero-layout { padding: 72px 0 82px; }
  .ug5-hero-copy h1 { margin-top: 15px; font-size: 39px; line-height: 1.06; }
  .ug5-hero-copy > p { font-size: 14px; line-height: 1.65; }

  .ug5-why { padding: 76px 0 70px; }
  .ug5-why > .ug5-container { width: calc(100% - 28px); }
  .ug5-why-header { margin-bottom: 65px; }
  .ug5-why-title h2 { font-size: 34px; }
  .ug5-why-copy { padding-left: 0; border-left: 0; }
  .ug5-system-flow { grid-template-columns: 1fr; }
  .ug5-commerce { padding: 65px 0; }
  .ug5-commerce > .ug5-container { width: calc(100% - 28px); }
  .ug5-commerce-options { grid-template-columns: 1fr; }
  .ug5-commerce-options article { min-height: 275px; padding: 30px; }
}
