:root {
  --azul: #273bcf;
  --azul-oscuro: #071344;
  --rojo: #ff2020;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--azul-oscuro);
  background: linear-gradient(
    135deg,
    #f8f9ff 0%,
    #ffffff 50%,
    #edf0ff 100%
  );
}

body::before,
body::after {
  content: "";
  position: fixed;
  border: 1px solid rgba(39, 59, 207, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

body::before {
  width: 620px;
  height: 620px;
  right: -260px;
  top: -250px;
}

body::after {
  width: 420px;
  height: 420px;
  left: -210px;
  bottom: -220px;
}

main {
  width: min(92%, 760px);
  padding: 65px 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.logo {
  width: min(390px, 78vw);
  height: auto;
  display: block;
  margin: 0 auto 55px;
}

.linea {
  width: 54px;
  height: 4px;
  margin: 0 auto 24px;
  background: var(--rojo);
  border-radius: 5px;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

p {
  margin: 26px auto 10px;
  color: #60677c;
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.7;
}

a {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 22px;
  color: var(--azul);
  background: #ffffff;
  border: 1px solid rgba(39, 59, 207, 0.2);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}

a:hover {
  color: #ffffff;
  background: var(--azul);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(39, 59, 207, 0.2);
}

footer {
  margin-top: 55px;
  color: #969bad;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  main {
    padding: 45px 20px;
  }

  .logo {
    margin-bottom: 42px;
  }

  footer {
    margin-top: 45px;
  }
}

@media (max-height: 700px) {
  body {
    place-items: start center;
  }

  main {
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .logo {
    margin-bottom: 30px;
  }

  footer {
    margin-top: 35px;
  }
}