:root {
  color-scheme: dark;
  --navy-950: #031421;
  --navy-900: #061d31;
  --green: #39bd49;
  --white: #f7fbff;
  --pointer-x: 50%;
  --pointer-y: 50%;
}

* { box-sizing: border-box; }

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

body {
  min-height: 100svh;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(24, 170, 189, 0.12), transparent 22rem),
    radial-gradient(circle at 16% 18%, rgba(24, 170, 189, 0.19), transparent 31rem),
    radial-gradient(circle at 85% 80%, rgba(57, 189, 73, 0.13), transparent 30rem),
    linear-gradient(145deg, var(--navy-950), var(--navy-900) 52%, #041827);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.page {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 4.5rem);
}

.halo {
  position: absolute;
  z-index: -1;
  width: min(62vw, 42rem);
  aspect-ratio: 1;
  border: 1px solid rgba(88, 208, 219, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(20, 151, 171, 0.025), 0 0 0 10rem rgba(38, 180, 99, 0.018);
  animation: breathe 7s ease-in-out infinite;
}

.content {
  width: min(100%, 64rem);
  text-align: center;
  animation: reveal 900ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.logo {
  display: block;
  width: min(92vw, 44rem);
  height: auto;
  margin: 0 auto clamp(2.25rem, 7vh, 4.75rem);
  filter: drop-shadow(0 1.25rem 2.5rem rgba(0, 0, 0, 0.2));
}

h1 {
  margin: 0;
  font-size: clamp(3.35rem, 10vw, 8.6rem);
  font-weight: 750;
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

h1 span {
  color: transparent;
  background: linear-gradient(105deg, #ffffff 18%, #b9ecf1 56%, #88df91);
  background-clip: text;
  -webkit-background-clip: text;
}

.email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: clamp(2rem, 6vh, 3.8rem);
  padding: 0.7rem 1.15rem;
  border: 1px solid rgba(160, 225, 232, 0.22);
  border-radius: 999px;
  color: #dcf9fc;
  background: rgba(9, 47, 69, 0.56);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.17);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 550;
  letter-spacing: 0.015em;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.email:hover {
  transform: translateY(-2px);
  border-color: rgba(98, 218, 142, 0.58);
  background: rgba(10, 66, 80, 0.72);
}

.email:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes breathe {
  0%, 100% { transform: scale(0.96); opacity: 0.65; }
  50% { transform: scale(1.03); opacity: 1; }
}

@media (max-width: 560px) {
  .logo {
    width: min(90vw, 29rem);
    margin-bottom: 3.4rem;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5.25rem);
    line-height: 0.92;
  }

  .email { width: min(100%, 21rem); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
