/* BetterWest Projects landing page */

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(-45deg, #0a2239, #1d3557, #274c77, #1d3557);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  color: #f1faee;
  text-align: center;
  overflow-x: hidden;

  min-height: 100vh;
  padding: 4rem 1.5rem 3rem;

  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

img {
  display: block;
  width: 220px;
  max-width: 55vw;
  height: auto;
  margin: 0 auto 3rem;
}

h1 {
  font-size: clamp(3rem, 9vw, 5rem);
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 2rem;
}

p {
  width: 100%;
  max-width: 900px;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  line-height: 1.4;
  color: #a8dadc;
  margin: 0 0 1.4rem;
}

a {
  color: #b8f3ff;
  overflow-wrap: anywhere;
  word-break: break-word;
}

footer {
  font-size: 1.1rem;
  color: #8aa9c2;
  margin-top: 2rem;
}

@media (max-width: 700px) {
  body {
    min-height: 100svh;
    padding: 2.5rem 1.25rem 3rem;
  }

  img {
    width: 170px;
    max-width: 48vw;
    margin-bottom: 2rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  p {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }
}
