.formatto-error-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42rem;
  padding: 10rem 5vw;
  background: radial-gradient(140% 120% at 50% 0%, #eef9ff 0%, #f7f7f7 62%, #ffffff 100%);
}

.formatto-error-404__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: min(100%, 42rem);
  text-align: center;
}

.formatto-error-404__eyebrow,
.formatto-error-404 h1,
.formatto-error-404 p,
.formatto-error-404__button {
  margin: 0;
  font-family: var(--font-body);
  letter-spacing: 0;
}

.formatto-error-404__eyebrow {
  color: #00588a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.formatto-error-404 h1 {
  color: var(--color-blue-600);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.formatto-error-404 p {
  max-width: 34rem;
  color: #002f4c;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
}

.formatto-error-404__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 999rem;
  color: var(--color-blue-50);
  background: var(--color-blue-600);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 260ms ease, transform 260ms ease;
}

.formatto-error-404__button:hover,
.formatto-error-404__button:focus-visible {
  background: var(--color-blue-700);
  transform: translateY(-0.0625rem);
}

.formatto-error-404__button:focus-visible {
  outline: 0.125rem solid var(--color-blue-600);
  outline-offset: 0.25rem;
}

@media (max-width: 767px) {
  .formatto-error-404 {
    min-height: 120vw;
    padding: 20vw 5vw;
  }

  .formatto-error-404__content {
    gap: 5vw;
    width: 90vw;
  }

  .formatto-error-404__eyebrow,
  .formatto-error-404__button {
    font-size: 4.071vw;
  }

  .formatto-error-404 h1 {
    font-size: 9.16vw;
  }

  .formatto-error-404 p {
    font-size: 4.071vw;
  }

  .formatto-error-404__button {
    min-height: 12.214vw;
    padding: 3.562vw 6vw;
  }
}
