.ddb-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100vw;
  min-height: calc(100vh - 4.8rem);
  min-height: calc(100dvh - 4.8rem);
  margin: 0 calc(50% - 50vw);
  padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 6vw, 5rem);
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 68% 48%, rgb(125 211 252 / 65%) 0, transparent 3%),
    radial-gradient(circle at 72% 45%, rgb(67 56 202 / 45%) 0, transparent 22%),
    radial-gradient(ellipse at 72% 55%, rgb(30 64 175 / 28%) 0, transparent 48%),
    linear-gradient(115deg, #020617 0%, #07142f 48%, #11124a 100%);
  box-shadow: inset 0 0 5rem rgb(59 130 246 / 10%);
}

.md-main:has(.ddb-hero) {
  overflow: hidden;
}

.md-main__inner:has(.ddb-hero) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.md-content:has(.ddb-hero) {
  overflow: visible;
}

.md-content__inner:has(.ddb-hero) {
  max-width: none;
  margin: 0;
  padding: 0;
}

.md-content__inner:has(.ddb-hero)::before {
  display: none;
}

.ddb-hero::before,
.ddb-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.ddb-hero::before {
  inset: -55%;
  background: repeating-conic-gradient(
    from 0deg at 68% 48%,
    transparent 0deg 1.7deg,
    rgb(186 230 253 / 0%) 1.72deg,
    rgb(125 211 252 / 62%) 1.76deg,
    rgb(99 102 241 / 18%) 1.82deg,
    transparent 1.9deg 4.3deg
  );
  opacity: 0.72;
  mask-image: radial-gradient(
    circle at 68% 48%,
    transparent 0 7%,
    #000 20% 100%
  );
  -webkit-mask-image: radial-gradient(
    circle at 68% 48%,
    transparent 0 7%,
    #000 20% 100%
  );
  animation: ddb-warp 6s ease-in-out infinite alternate;
}

.ddb-hero::after {
  inset: 0;
  background:
    radial-gradient(circle at 10% 18%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 22% 74%, #93c5fd 0 1px, transparent 1.5px),
    radial-gradient(circle at 36% 31%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 48% 82%, #c4b5fd 0 1px, transparent 1.5px),
    radial-gradient(circle at 57% 17%, #bae6fd 0 1.5px, transparent 2px),
    radial-gradient(circle at 81% 70%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 91% 24%, #a5b4fc 0 1.5px, transparent 2px),
    linear-gradient(90deg, rgb(2 6 23 / 78%) 0%, transparent 62%);
  background-size:
    19rem 17rem,
    23rem 29rem,
    31rem 21rem,
    27rem 23rem,
    37rem 31rem,
    29rem 37rem,
    41rem 27rem,
    100% 100%;
  opacity: 0.85;
}

.ddb-hero h1 {
  max-width: 48rem;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 0.25rem 2rem rgb(15 23 42 / 90%);
}

.ddb-hero > p {
  max-width: 42rem;
  font-size: 1.05rem;
  color: rgb(226 232 240 / 92%);
  text-shadow: 0 0.125rem 1rem #020617;
}

.ddb-hero .md-button {
  margin-top: 0.75rem;
  margin-right: 0.5rem;
  color: #fff;
  border-color: rgb(255 255 255 / 65%);
  backdrop-filter: blur(0.4rem);
}

.ddb-hero .md-button:hover {
  color: #020617;
  background-color: #fff;
  border-color: #fff;
}

.ddb-hero .md-button--primary {
  color: #020617;
  background-color: #7dd3fc;
  border-color: #7dd3fc;
}

.ddb-hero .md-button--primary:hover {
  background-color: #bae6fd;
  border-color: #bae6fd;
}

@keyframes ddb-warp {
  from {
    transform: scale(0.72) rotate(0deg);
  }

  to {
    transform: scale(1.18) rotate(0.6deg);
  }
}

.md-content__inner {
  margin-bottom: 3rem;
}

@media screen and (min-width: 76.25em) {
  .md-content__inner {
    max-width: 72rem;
    margin-right: auto;
    margin-left: auto;
  }
}

@media screen and (max-width: 44.984375em) {
  .ddb-hero {
    min-height: calc(100vh - 3.2rem);
    min-height: calc(100dvh - 3.2rem);
    padding: 3rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ddb-hero::before {
    animation: none;
    transform: scale(1);
  }
}
