.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 45px;
  margin-top: 36px;
  padding-top: clamp(104px, 10vw, 132px);
  padding-bottom: clamp(72px, 7vw, 92px);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 22%),
    linear-gradient(0deg, rgba(3, 7, 16, 0.14), transparent 30%);
  pointer-events: none;
  z-index: 0;
}

.topline,
.logoRail {
  position: relative;
  z-index: 1;
}

.topline {
  display: block;
}

.intro {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

.eyebrow {
  margin: 0;
  color: rgba(197, 205, 216, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.heading {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-heading);
  color: #f4f7fb;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.copy {
  margin: 0;
  max-width: 56ch;
  color: rgba(214, 221, 230, 0.8);
  font-size: 1rem;
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 8px;
}

.primaryLink,
.secondaryLink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #eef3f8;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    color 160ms ease;
}

.primaryLink {
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.secondaryLink {
  color: rgba(229, 235, 242, 0.84);
}

.primaryLink:hover,
.primaryLink:focus-visible,
.secondaryLink:hover,
.secondaryLink:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.logoRail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3.4vw, 42px);
  margin-top: 48px;
  padding-top: 22px;
  padding-inline: clamp(16px, 3vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}

.logoRail::-webkit-scrollbar {
  display: none;
}

.logoWordmark {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.92rem, 1.3vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.78;
  transition: opacity 160ms ease;
}

.logoWordmark:hover {
  opacity: 0.94;
}

@media (max-width: 1024px) {
  .section {
    border-radius: 36px;
    margin-top: 28px;
    padding-top: 88px;
  }

  .heading {
    max-width: 15ch;
  }
}

@media (max-width: 640px) {
  .section {
    border-radius: 24px;
    margin-top: 20px;
    padding-top: 72px;
    padding-bottom: 42px;
    background-position: 72% center;
  }

  .heading {
    max-width: 11ch;
    font-size: clamp(1.78rem, 9vw, 2.42rem);
  }

  .copy {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .actions {
    gap: 12px;
  }

  .primaryLink {
    padding: 0 16px;
  }

  .logoRail {
    justify-content: flex-start;
    gap: 18px;
    margin-top: 40px;
    padding-top: 18px;
    padding-inline: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primaryLink,
  .secondaryLink,
  .logoWordmark {
    transition: none;
  }

  .primaryLink:hover,
  .primaryLink:focus-visible,
  .secondaryLink:hover,
  .secondaryLink:focus-visible {
    transform: none;
  }
}
