/* defaults reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100dvh;
  width: 100vw;
  font-family: 'Work Sans', sans-serif;
  color: white;
  background: url('/public/hero.jpg') no-repeat center center/cover;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.45);
  height: 100svh;
  width: 100%;
  position: relative;
}

.content {
  position: absolute;
  top: 12%;
  left: 8%;
  text-align: left;
  max-width: 700px;
}

.content h1 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1.5px;
}

.content p {
  font-size: 2rem;
  line-height: 1.6;
  font-weight: 400;
  max-width: 550px;
}

.cta {
  position: absolute;
  bottom: calc(8% + env(safe-area-inset-bottom));
  left: 8%;
}

.cta br {
  display: none;
}

.cta a {
  font-size: 1.6rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  border-bottom: 2px solid white;
  padding-bottom: 0.1em;
  transition: color 0.3s ease, border-color 0.3s ease;
  line-height: 1.4;
}

.cta a:hover {
  color: #d0e6ff;
  border-color: #d0e6ff;
}

@media (max-width: 768px) {
  .content {
    top: 5%;
    max-width: 90%;
  }

  .cta {
    bottom: calc(5% + env(safe-area-inset-bottom));
  }

  .content h1 {
    font-size: 4rem;
  }

  .content p {
    font-size: 1.6rem;
  }

  .content br {
    display: none;
  }
}

@media (max-width: 570px) {
  .cta br {
    display: block;
  }

  .content h1 {
    font-size: 3rem;
  }

  .content p {
    font-size: 1.4rem;
  }
}
