.criteria-site > .hero {
  --surface-background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 250, 253, .98));
}

.hero > .surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(19, 71, 155, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 71, 155, .04) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.hero > .surface > * {
  position: relative;
  z-index: 1;
}

.hero-layout {
  position: relative;
  z-index: 2;
  min-height: clamp(560px, 43vw, 720px);
  margin-bottom: clamp(18px, 2vw, 34px);
}

.hero-copy {
  position: relative;
  z-index: 4;
  padding-top: 14px;
}

.hero-copy > h2 {
  max-width: 780px;
}

.hero-copy .lead {
  max-width: 680px;
  margin-top: 30px;
  font-size: clamp(1.0625rem, 1.25vw, var(--text-lg));
}

.hero-copy > .tags {
  gap: 10px;
  margin-top: 28px;
}

.hero-copy > .tags .tag {
  gap: 10px;
  min-height: 42px;
  padding: 0 18px;
  border-color: #d6deea;
  border-radius: 13px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 18px rgba(7, 33, 78, .04);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
}

.hero-copy > .tags .tag::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: currentColor;
}

.hero-actions {
  display: grid;
  grid-template-columns: minmax(260px, 344px) minmax(240px, 1fr);
  align-items: stretch;
  gap: clamp(20px, 2.2vw, 36px);
  max-width: 760px;
  margin-top: 34px;
}

.hero-actions > :only-child {
  grid-column: 1 / -1;
}

.hero .button {
  width: auto;
  min-height: 116px;
  padding: 0 32px;
  font-size: var(--text-md);
  font-weight: 600;
}

.hero .button .arrow {
  font-size: 2.5rem;
}

.stat {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0 8px 34px;
  border-left: 1px solid #d8dfeb;
}

.stat:only-child {
  padding-left: 0;
  border-left: 0;
}

.stat > div {
  color: var(--blue);
  line-height: .95;
}

.stat strong {
  font-size: clamp(3.25rem, 4vw, 4.125rem);
  font-weight: 800;
}

.stat span {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.05;
}

.stat p {
  max-width: 340px;
  margin: 8px 0 0;
  color: #304a75;
  font-size: var(--text-md);
  line-height: 1.3;
}

.hero-visual {
  z-index: 2;
  margin: 0;
  pointer-events: none;
}

.hero-visual img {
  display: block;
  filter: drop-shadow(0 24px 42px rgba(8, 33, 77, .12));
}

.hero--columns .hero-layout {
  display: grid;
  grid-template-columns: minmax(520px, .95fr) minmax(460px, 1.05fr);
  gap: clamp(18px, 2vw, 34px);
}

.hero--columns .hero-visual {
  position: relative;
  min-height: 100%;
}

.hero--columns .hero-visual .primary {
  position: absolute;
  top: 0;
  right: 0;
  width: min(820px, 100%);
  max-height: 100%;
  object-fit: contain;
}

.hero--columns .hero-visual .secondary {
  position: absolute;
  right: 0;
  bottom: 5%;
  width: min(280px, 36%);
}

.hero--overlay-fade .hero-copy {
  width: min(780px, 56%);
}

.hero--overlay-fade .hero-copy::before {
  content: "";
  position: absolute;
  inset: -28px -80px -28px -28px;
  z-index: -1;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .96) 62%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero--overlay-fade .hero-visual {
  position: absolute;
  inset: 0 -4% 0 43%;
  overflow: hidden;
}

.hero--overlay-fade .hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 32%;
  background: linear-gradient(90deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, 0));
}

.hero--overlay-fade .hero-visual .primary {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: contain;
}

.hero--overlay-fade .hero-visual .secondary {
  position: absolute;
  right: 4%;
  bottom: 4%;
  width: min(280px, 30%);
}

.hero > .surface > .grid {
  position: relative;
  z-index: 3;
}

@media (max-width: 1200px) {
  .hero-layout,
  .hero--columns .hero-layout {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero--overlay-fade .hero-copy {
    width: 100%;
  }

  .hero--overlay-fade .hero-copy::before,
  .hero--overlay-fade .hero-visual::before {
    display: none;
  }

  .hero-visual,
  .hero--overlay-fade .hero-visual,
  .hero--columns .hero-visual {
    position: relative;
    inset: auto;
    min-height: clamp(320px, 55vw, 560px);
    overflow: hidden;
  }

  .hero--overlay-fade .hero-visual .primary,
  .hero--columns .hero-visual .primary {
    position: absolute;
    inset: 0 0 auto auto;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

@media (max-width: 760px) {
  .hero-copy .lead,
  .hero-copy > .tags {
    margin-top: 20px;
  }

  .hero-copy > .tags .tag {
    min-height: 36px;
    padding: 0 13px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }

  .hero .button {
    min-height: 88px;
    padding: 0 24px;
  }

  .stat {
    min-height: 0;
    padding: 18px 0 0;
    border-top: 1px solid #d8dfeb;
    border-left: 0;
  }

  .stat strong {
    font-size: 3rem;
  }

  .stat span {
    font-size: var(--text-lg);
  }

  .hero-visual,
  .hero--overlay-fade .hero-visual,
  .hero--columns .hero-visual {
    min-height: 260px;
  }

  .hero > .surface > .grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual img {
    transition: none;
  }
}
