@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Montserrat-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Montserrat-latin.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
  background: #0f1115;
  color: #f7f7f7;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  opacity: 0;
  animation: pagefade 8s ease forwards;
}

.hero {
  text-align: center;
  padding: 2.5rem 2rem;
  max-width: 36rem;
  width: min(36rem, 100%);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: #b9c0d0;
  margin: 0 0 1.25rem;
}

h1 {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0 0 0.75rem;
}

.colorflow {
  background: linear-gradient(120deg, #ff6b6b, #ffd93d, #6bcBef, #a77bff, #ff6b6b);
  background-size: 300% 300%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: colorflow 6s ease-in-out infinite;
}

@keyframes colorflow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes pagefade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
    opacity: 1;
  }

  .colorflow {
    animation: none;
    background-position: 50% 50%;
  }
}

.subline {
  margin: 0;
  font-size: 1rem;
  color: #d2d8e6;
  line-height: 1.6;
}

.phone {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
}

@media (max-width: 600px) {
  .hero {
    padding: 2rem 1.25rem;
  }

  .eyebrow {
    letter-spacing: 0.2em;
    font-size: 0.7rem;
  }

  .subline {
    font-size: 0.95rem;
  }

  .phone {
    font-size: 1.2rem;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .eyebrow {
    letter-spacing: 0.16em;
  }
}
