/* 2026-07-20 front-section polish: richer hero, stable trust strip, clearer hover states. */
.hero,
body.home.front-page .hero,
body.pdl-static-theme-preview .hero {
  background:
    linear-gradient(105deg, rgba(255, 255, 255, .98) 0%, rgba(249, 252, 255, .94) 43%, rgba(232, 244, 252, .9) 100%),
    url("../../images/factory-real/workshop-wide.webp") center 42% / cover no-repeat !important;
}

.hero::before,
body.home.front-page .hero::before,
body.pdl-static-theme-preview .hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .72) 40%, rgba(230, 243, 252, .18) 100%),
    repeating-linear-gradient(112deg, rgba(7, 91, 199, .035) 0 1px, transparent 1px 78px),
    linear-gradient(180deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 52%, rgba(237, 246, 252, .8) 100%) !important;
}

.hero-grid,
body.home.front-page .hero-grid,
body.pdl-static-theme-preview .hero-grid,
.trust-strip,
body.home.front-page .trust-strip,
body.pdl-static-theme-preview .trust-strip {
  position: relative !important;
  z-index: 2 !important;
}

.hero-actions .button-primary,
body.home.front-page .hero-actions .button-primary,
body.pdl-static-theme-preview .hero-actions .button-primary {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.hero-actions .button-primary::after,
body.home.front-page .hero-actions .button-primary::after,
body.pdl-static-theme-preview .hero-actions .button-primary::after {
  content: "" !important;
  position: absolute !important;
  top: -42% !important;
  bottom: -42% !important;
  left: -48% !important;
  z-index: 1 !important;
  width: 52px !important;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .18) 24%, rgba(255, 255, 255, .78) 50%, rgba(255, 255, 255, .16) 76%, transparent 100%) !important;
  transform: skewX(-18deg) translateX(0) !important;
  animation: pdl-hero-button-shine 4.8s ease-in-out infinite !important;
  pointer-events: none !important;
}

.hero-actions .button-primary > *,
body.home.front-page .hero-actions .button-primary > *,
body.pdl-static-theme-preview .hero-actions .button-primary > * {
  position: relative !important;
  z-index: 2 !important;
}

@keyframes pdl-hero-button-shine {
  0%, 58% {
    transform: skewX(-18deg) translateX(0);
    opacity: 0;
  }
  64% {
    opacity: 1;
  }
  82%, 100% {
    transform: skewX(-18deg) translateX(360px);
    opacity: 0;
  }
}

.trust-grid,
body.home.front-page .trust-grid,
body.pdl-static-theme-preview .trust-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
}

.trust-grid article,
body.home.front-page .trust-grid article,
body.pdl-static-theme-preview .trust-grid article {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 14px !important;
  row-gap: 7px !important;
  align-items: start !important;
  min-height: 134px !important;
  padding: 26px 30px 24px !important;
}

.trust-grid article > svg,
body.home.front-page .trust-grid article > svg,
body.pdl-static-theme-preview .trust-grid article > svg {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 30px !important;
  height: 30px !important;
  margin-top: 2px !important;
}

.trust-grid .trust-number,
body.home.front-page .trust-grid .trust-number,
body.pdl-static-theme-preview .trust-grid .trust-number {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  color: #075bc7 !important;
  font-size: clamp(1.45rem, 1.65vw, 1.9rem) !important;
  font-weight: 950 !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.trust-grid article > div,
body.home.front-page .trust-grid article > div,
body.pdl-static-theme-preview .trust-grid article > div {
  grid-column: 2 !important;
  grid-row: 2 !important;
  min-width: 0 !important;
}

.trust-grid article strong,
body.home.front-page .trust-grid article strong,
body.pdl-static-theme-preview .trust-grid article strong {
  display: block !important;
  margin-bottom: 4px !important;
  color: #12283f !important;
  font-size: .96rem !important;
  font-weight: 850 !important;
  line-height: 1.28 !important;
}

.trust-grid article p,
body.home.front-page .trust-grid article p,
body.pdl-static-theme-preview .trust-grid article p {
  max-width: 16em !important;
  color: rgba(18, 40, 63, .66) !important;
  font-size: .82rem !important;
  line-height: 1.42 !important;
}

@media (hover: hover) {
  .final-path-card:hover,
  .final-path-card:focus-visible,
  body.home.front-page .final-path-card:hover,
  body.home.front-page .final-path-card:focus-visible,
  body.pdl-static-theme-preview .final-path-card:hover,
  body.pdl-static-theme-preview .final-path-card:focus-visible {
    box-shadow:
      0 28px 72px rgba(7, 91, 199, .22),
      0 0 0 1px rgba(67, 149, 255, .22),
      0 0 42px rgba(61, 167, 255, .22) !important;
  }

  .final-path-card:hover::after,
  .final-path-card:focus-visible::after,
  body.home.front-page .final-path-card:hover::after,
  body.home.front-page .final-path-card:focus-visible::after,
  body.pdl-static-theme-preview .final-path-card:hover::after,
  body.pdl-static-theme-preview .final-path-card:focus-visible::after {
    opacity: .94 !important;
    box-shadow: inset 0 0 0 1px rgba(154, 210, 255, .58) !important;
  }
}

#applications .section-heading,
body.home.front-page #applications .section-heading,
body.pdl-static-theme-preview #applications .section-heading {
  align-items: end !important;
}

#applications .section-heading > p,
body.home.front-page #applications .section-heading > p,
body.pdl-static-theme-preview #applications .section-heading > p {
  max-width: 430px !important;
  padding: 14px 16px !important;
  border-left: 3px solid rgba(7, 91, 199, .22) !important;
  border-radius: 10px !important;
  background: rgba(239, 247, 253, .72) !important;
  color: rgba(18, 40, 63, .68) !important;
  font-size: .94rem !important;
  line-height: 1.7 !important;
}

#applications .application-grid[data-deck="applications"] .application-detail,
#applications .application-grid[data-deck="applications"] .application-card:hover .application-detail,
#applications .application-grid[data-deck="applications"] .application-card:focus-visible .application-detail,
#applications .application-grid[data-deck="applications"] .application-card[aria-expanded="true"] .application-detail,
body.home.front-page #applications .application-grid[data-deck="applications"] .application-detail,
body.home.front-page #applications .application-grid[data-deck="applications"] .application-card:hover .application-detail,
body.home.front-page #applications .application-grid[data-deck="applications"] .application-card:focus-visible .application-detail,
body.home.front-page #applications .application-grid[data-deck="applications"] .application-card[aria-expanded="true"] .application-detail,
body.pdl-static-theme-preview #applications .application-grid[data-deck="applications"] .application-detail,
body.pdl-static-theme-preview #applications .application-grid[data-deck="applications"] .application-card:hover .application-detail,
body.pdl-static-theme-preview #applications .application-grid[data-deck="applications"] .application-card:focus-visible .application-detail,
body.pdl-static-theme-preview #applications .application-grid[data-deck="applications"] .application-card[aria-expanded="true"] .application-detail {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#applications .application-grid[data-deck="applications"] .application-detail-template,
body.home.front-page #applications .application-grid[data-deck="applications"] .application-detail-template,
body.pdl-static-theme-preview #applications .application-grid[data-deck="applications"] .application-detail-template {
  display: none !important;
}

#applications .application-showcase-cta,
body.home.front-page #applications .application-showcase-cta,
body.pdl-static-theme-preview #applications .application-showcase-cta {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: fit-content !important;
  min-width: 220px !important;
  padding-right: 38px !important;
  overflow: hidden !important;
}

#applications .application-showcase-cta::after,
body.home.front-page #applications .application-showcase-cta::after,
body.pdl-static-theme-preview #applications .application-showcase-cta::after {
  content: "" !important;
  position: absolute !important;
  right: 17px !important;
  top: 50% !important;
  width: 8px !important;
  height: 8px !important;
  border-top: 2px solid currentColor !important;
  border-right: 2px solid currentColor !important;
  transform: translateY(-50%) rotate(45deg) !important;
  opacity: .88 !important;
  transition: right 180ms ease, opacity 180ms ease !important;
}

#applications .application-showcase-cta:hover::after,
#applications .application-showcase-cta:focus-visible::after,
body.home.front-page #applications .application-showcase-cta:hover::after,
body.home.front-page #applications .application-showcase-cta:focus-visible::after,
body.pdl-static-theme-preview #applications .application-showcase-cta:hover::after,
body.pdl-static-theme-preview #applications .application-showcase-cta:focus-visible::after {
  right: 13px !important;
  opacity: 1 !important;
}

@media (max-width: 1080px) {
  .trust-grid,
  body.home.front-page .trust-grid,
  body.pdl-static-theme-preview .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .trust-grid article,
  body.home.front-page .trust-grid article,
  body.pdl-static-theme-preview .trust-grid article {
    min-height: 118px !important;
  }
}

@media (max-width: 720px) {
  .hero::before,
  body.home.front-page .hero::before,
  body.pdl-static-theme-preview .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .78) 58%, rgba(236, 246, 252, .86) 100%),
      repeating-linear-gradient(112deg, rgba(7, 91, 199, .03) 0 1px, transparent 1px 56px) !important;
  }

  .trust-grid,
  body.home.front-page .trust-grid,
  body.pdl-static-theme-preview .trust-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .trust-grid article,
  body.home.front-page .trust-grid article,
  body.pdl-static-theme-preview .trust-grid article {
    min-height: 0 !important;
    padding: 18px 20px !important;
  }

  .trust-grid .trust-number,
  body.home.front-page .trust-grid .trust-number,
  body.pdl-static-theme-preview .trust-grid .trust-number {
    font-size: 1.46rem !important;
  }

  #applications .section-heading > p,
  body.home.front-page #applications .section-heading > p,
  body.pdl-static-theme-preview #applications .section-heading > p {
    padding: 0 !important;
    border-left: 0 !important;
    background: transparent !important;
  }
}

