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

html, body {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  background: #101820;
  color: #fff;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Mouse-following glow */
.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(100, 140, 200, 0.08),
    transparent 60%
  );
  transition: background 0.3s ease;
}

/* Background graphic — subtle watermark */
.background-graphic {
  position: absolute;
  inset: 0;
  background: url('assets/background.png') center center / 100% 100% no-repeat;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

/* Contact — top right */
.contact {
  position: absolute;
  top: clamp(1rem, 3vh, 2rem);
  right: clamp(1rem, 3vw, 2.5rem);
  text-align: right;
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  z-index: 1;
  line-height: 1.6;
}

.contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.contact a:hover {
  color: #fff;
}

/* Center — heading + tagline */
.center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 .x {
  font-size: 0.6em;
  font-weight: 300;
  opacity: 0.5;
  margin: 0 0.15em;
  vertical-align: baseline;
}

.tagline {
  margin-top: 0.75rem;
  font-size: clamp(0.875rem, 1.8vw, 1.125rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

/* Footer */
footer {
  position: relative;
  z-index: 1;
  padding: clamp(1rem, 3vh, 2rem) clamp(1rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logos {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logos img {
  height: 80px;
  width: auto;
  opacity: 0.8;
}

.funding-note {
  max-width: 600px;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: clamp(0.6rem, 1vw, 0.7rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(16, 24, 32, 0.85);
  border-radius: 4px;
  text-align: center;
  line-height: 1.5;
}

.copyright {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vh, 2rem);
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .background-graphic {
    background-size: cover;
  }

  .logos {
    gap: 1.25rem;
  }

  .logos img {
    height: 30px;
  }

  .contact {
    top: 1rem;
    right: 1rem;
  }
}
