@font-face {
  font-family: "Quilon";
  src: url("https://db.onlinewebfonts.com/t/10ce32566c4d2d413bbb1e5c78587503.woff2") format("woff2"),
       url("https://db.onlinewebfonts.com/t/10ce32566c4d2d413bbb1e5c78587503.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Quilon", Georgia, serif;
  background-color: #000354;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-transform: uppercase;
  overflow-x: hidden;
}

/* Background */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite alternate;
}

.bg-glow--1 {
  width: 28rem;
  height: 28rem;
  top: -8rem;
  right: -6rem;
  background: radial-gradient(circle, #1a3a8f 0%, transparent 70%);
}

.bg-glow--2 {
  width: 22rem;
  height: 22rem;
  bottom: -6rem;
  left: -4rem;
  background: radial-gradient(circle, #2d1f7a 0%, transparent 70%);
  animation-delay: -9s;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 80%);
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(2rem, -1.5rem) scale(1.08); }
}

/* Layout */

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  text-align: center;
}

.hero > * {
  animation: fade-up 0.8s ease both;
}

.hero > *:nth-child(1) { animation-delay: 0.05s; }
.hero > *:nth-child(2) { animation-delay: 0.15s; }
.hero > *:nth-child(3) { animation-delay: 0.25s; }
.hero > *:nth-child(4) { animation-delay: 0.35s; }

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Brand */

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.brand-name {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: #8b9dc8;
}

.brand-tag {
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  color: #ffffff;
  border: 1px solid rgba(139, 157, 200, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

/* Message */

.message {
  max-width: 32rem;
  position: relative;
}

.message::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3d4f8a, transparent);
  margin: 0 auto 2rem;
}

.message h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.message p {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.6;
  color: #8b9dc8;
  text-transform: none;
}

/* Capabilities */

.capabilities {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin-top: 2.5rem;
}

.capabilities li {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: #8b9dc8;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(61, 79, 138, 0.5);
  border-radius: 100px;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.capabilities li:hover {
  color: #ffffff;
  border-color: rgba(139, 157, 200, 0.6);
  background-color: rgba(26, 58, 143, 0.2);
}

/* Contact */

.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(61, 79, 138, 0.35);
  width: min(100%, 20rem);
}

.contact-link {
  font-size: 0.9375rem;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid #3d4f8a;
  padding-bottom: 2px;
  text-transform: lowercase;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-link:hover {
  color: #c5d0ea;
  border-color: #c5d0ea;
}

.divider {
  color: #3d4f8a;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow,
  .hero > * {
    animation: none;
  }
}
