:root {
  --wp-hero-text: #f5f8ff;
  --wp-hero-muted: rgb(226 235 255 / 72%);
  --wp-hero-line: rgb(190 213 255 / 22%);
}

.wp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: clamp(38rem, calc(100svh - 2.4rem), 58rem);
  min-height: 38rem;
  color: var(--wp-hero-text);
  background:
    radial-gradient(circle at 72% 43%, rgb(89 151 232 / 46%) 0 2%, transparent 16%),
    radial-gradient(circle at 72% 43%, transparent 0 10%, rgb(64 102 180 / 24%) 22%, transparent 43%),
    conic-gradient(from 205deg at 72% 43%, #02040a, #142746 24%, #050914 45%, #274568 61%, #02040a 82%);
}

.wp-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wp-hero__veil {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgb(2 4 10 / 94%) 0%,
      rgb(2 4 10 / 78%) 29%,
      rgb(2 4 10 / 18%) 57%,
      rgb(2 4 10 / 3%) 78%
    ),
    linear-gradient(180deg, rgb(2 4 10 / 18%), transparent 60%, rgb(2 4 10 / 66%));
}

.wp-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 3rem 1.2rem 5rem;
}

.wp-hero__copy {
  width: min(47rem, 55%);
}

.wp-hero__eyebrow {
  margin: 0 0 1rem;
  color: #a9c8ef;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.wp-hero .wp-hero__copy h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--wp-hero-text);
  font-size: clamp(3rem, 6.6vw, 6.8rem);
  font-weight: 650;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.wp-hero__lead {
  max-width: 39rem;
  margin: 1.5rem 0 0;
  color: var(--wp-hero-muted);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.65;
  text-wrap: balance;
}

.wp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.wp-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--wp-hero-line);
  border-radius: 0.55rem;
  color: var(--wp-hero-text) !important;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: rgb(9 17 30 / 46%);
  backdrop-filter: blur(14px);
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.wp-hero__button:hover,
.wp-hero__button:focus-visible {
  border-color: rgb(190 213 255 / 46%);
  background: rgb(21 36 58 / 72%);
  transform: translateY(-1px);
}

.wp-hero__button--primary {
  border-color: rgb(199 222 255 / 55%);
  background: rgb(220 233 255 / 94%);
  color: #07101e !important;
}

.wp-hero__button--primary:hover,
.wp-hero__button--primary:focus-visible {
  border-color: #fff;
  background: #fff;
}

.wp-hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 1.5rem;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgb(226 235 255 / 56%) !important;
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.wp-hero__scroll i {
  display: block;
  width: 1px;
  height: 1.4rem;
  background: linear-gradient(rgb(226 235 255 / 68%), transparent);
}

.wp-introduction {
  max-width: 44rem;
  padding: 2rem 0 3rem;
}

.wp-introduction__eyebrow {
  color: var(--md-accent-fg-color);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.md-typeset .wp-introduction h2 {
  max-width: 18ch;
  margin-top: 0.6rem;
  font-size: clamp(1.8rem, 3.7vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.md-typeset .wp-introduction p {
  font-size: 0.92rem;
  line-height: 1.8;
}

@media screen and (max-width: 59.984375em) {
  .wp-hero {
    height: clamp(38rem, calc(100svh - 2.4rem), 50rem);
  }

  .wp-hero__veil {
    background:
      linear-gradient(180deg, rgb(2 4 10 / 6%) 0%, rgb(2 4 10 / 4%) 35%, rgb(2 4 10 / 88%) 69%),
      linear-gradient(90deg, rgb(2 4 10 / 28%), transparent 50%, rgb(2 4 10 / 28%));
  }

  .wp-hero__inner {
    align-items: flex-end;
    padding: 3rem 1.1rem 4.5rem;
  }

  .wp-hero__copy {
    width: min(100%, 39rem);
  }

  .wp-hero .wp-hero__copy h1 {
    max-width: 10ch;
    font-size: clamp(2.8rem, 12vw, 5rem);
  }
}

@media screen and (max-width: 35rem) {
  .wp-hero__eyebrow {
    font-size: 0.56rem;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }

  .wp-hero__lead {
    font-size: 0.92rem;
  }

  .wp-hero__actions {
    width: 100%;
  }

  .wp-hero__button {
    flex: 1 1 9rem;
  }

  .wp-hero__scroll {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wp-hero__button {
    transition: none;
  }

  .wp-hero__button:hover,
  .wp-hero__button:focus-visible {
    transform: none;
  }
}

@media print {
  .wp-hero {
    height: auto;
    min-height: 0;
    color: #000;
    background: #fff;
  }

  .wp-hero__veil,
  .wp-hero__scroll {
    display: none;
  }

  .wp-hero__inner {
    display: block;
    padding: 1rem 0;
  }

  .wp-hero .wp-hero__copy h1,
  .wp-hero__lead,
  .wp-hero__eyebrow {
    color: #000;
  }
}
