:root {
  --bg-a: #071a22;
  --bg-b: #0a2430;
  --bg-c: #0f3240;
  --accent: #45e0c4;
  --accent-soft: #9ff7e7;
  --text: #ebf6f5;
  --muted: #b9d5d1;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1400px 700px at 12% 8%, rgba(69, 224, 196, 0.14), transparent 58%),
    radial-gradient(1000px 560px at 88% 92%, rgba(66, 160, 255, 0.12), transparent 60%),
    linear-gradient(145deg, var(--bg-a) 0%, var(--bg-b) 52%, var(--bg-c) 100%);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.site-header {
  position: absolute;
  top: clamp(1rem, 2.5vw, 2rem);
  left: clamp(1rem, 3vw, 2.5rem);
  z-index: 5;
}

.brand-logo {
  width: clamp(180px, 18vw, 280px);
  height: auto;
}

.hero {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  text-align: center;
  position: relative;
  isolation: isolate;
}

.hero-copy {
  max-width: min(92vw, 860px);
}

.hero-main-logo {
  width: clamp(210px, 34vw, 430px);
  height: auto;
  margin: 0 auto 1.1rem;
  display: block;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 10vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 0 34px rgba(69, 224, 196, 0.26);
}

p {
  margin: 0.85rem auto 0;
  max-width: 38ch;
  font-size: clamp(1rem, 2.4vw, 1.36rem);
  line-height: 1.4;
  color: var(--muted);
}

.contact {
  display: inline-block;
  margin-top: 1.1rem;
  color: var(--accent-soft);
  font-size: clamp(0.98rem, 2vw, 1.18rem);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(159, 247, 231, 0.35);
  padding-bottom: 0.2rem;
  transition: color 180ms ease, border-color 180ms ease, text-shadow 180ms ease;
}

.contact:hover,
.contact:focus-visible {
  color: #d7fff7;
  border-color: rgba(215, 255, 247, 0.72);
  text-shadow: 0 0 22px rgba(159, 247, 231, 0.5);
  outline: none;
}

.glow-logo {
  filter:
    drop-shadow(0 0 6px rgba(69, 224, 196, 0.46))
    drop-shadow(0 0 18px rgba(69, 224, 196, 0.33));
  animation: logoPulse 4.4s ease-in-out infinite;
}

.glow-logo.subtle {
  animation-duration: 6.5s;
}

.bg-glow {
  position: absolute;
  width: 44vmax;
  height: 44vmax;
  border-radius: 50%;
  filter: blur(78px);
  pointer-events: none;
}

.bg-glow-a {
  background: rgba(69, 224, 196, 0.13);
  top: -22vmax;
  left: -14vmax;
}

.bg-glow-b {
  background: rgba(64, 138, 255, 0.11);
  right: -16vmax;
  bottom: -24vmax;
}

.grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.038) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  opacity: 0.2;
  pointer-events: none;
}

@keyframes logoPulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 6px rgba(69, 224, 196, 0.45))
      drop-shadow(0 0 16px rgba(69, 224, 196, 0.30));
  }

  50% {
    filter:
      drop-shadow(0 0 10px rgba(69, 224, 196, 0.65))
      drop-shadow(0 0 24px rgba(69, 224, 196, 0.42));
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 1rem 1rem 1.25rem;
  }

  .hero-main-logo {
    width: clamp(180px, 58vw, 300px);
    margin-bottom: 0.9rem;
  }

  p {
    max-width: 30ch;
    font-size: clamp(0.92rem, 3.7vw, 1.05rem);
    line-height: 1.35;
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .contact {
    margin-top: 0.95rem;
    font-size: clamp(0.95rem, 3.7vw, 1.05rem);
  }
}

@media (max-height: 760px) {
  .hero-main-logo {
    width: clamp(170px, 45vw, 280px);
    margin-bottom: 0.7rem;
  }

  h1 {
    font-size: clamp(2rem, 8.5vh, 3.1rem);
  }

  p {
    margin-top: 0.65rem;
    font-size: clamp(0.9rem, 2.8vh, 1.04rem);
    line-height: 1.3;
  }

  .contact {
    margin-top: 0.8rem;
  }
}
