:root {
  color-scheme: dark;
  --text: #f7f7ff;
  --muted: #aeb6d8;
  --glow: rgba(112, 226, 255, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #05050e;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  overflow: hidden;
}

button {
  font: inherit;
}

.landing {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 9rem),
    radial-gradient(circle at 28% 22%, rgba(253, 80, 94, 0.34), transparent 18rem),
    radial-gradient(circle at 74% 70%, rgba(35, 198, 255, 0.32), transparent 20rem),
    radial-gradient(circle at 58% 30%, rgba(185, 255, 106, 0.16), transparent 16rem),
    linear-gradient(135deg, #05050e 0%, #09071c 44%, #110716 100%);
}

.landing::before {
  position: absolute;
  inset: -25%;
  z-index: -3;
  content: "";
  background:
    conic-gradient(
      from 220deg at 50% 52%,
      transparent 0deg,
      rgba(255, 85, 48, 0.28) 28deg,
      rgba(255, 207, 68, 0.2) 58deg,
      rgba(74, 255, 157, 0.23) 88deg,
      rgba(75, 194, 255, 0.28) 122deg,
      transparent 166deg,
      transparent 360deg
    );
  filter: blur(38px) saturate(1.2);
  opacity: 0.72;
  transform: rotate(-8deg) scale(1.15);
}

.stars {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-repeat: repeat;
  opacity: 0.7;
}

.stars-large {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.86) 0 1.5px, transparent 2.2px),
    radial-gradient(circle, rgba(255, 232, 160, 0.7) 0 1.5px, transparent 2.5px);
  background-position: 24px 40px, 98px 12px;
  background-size: 210px 210px, 310px 310px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
  animation: drift 72s linear infinite reverse;
}

.content {
  display: grid;
  width: min(78rem, 100%);
  justify-items: center;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  text-align: center;
}

.logo {
  display: block;
  width: min(100%, 30rem);
  height: auto;
  filter:
    drop-shadow(0 1.25rem 2.5rem rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 1.85rem var(--glow));
}

.email-copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 18.5rem);
  gap: 0.7rem;
  padding: 0.85rem 1rem 0.85rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--text);
  background:
    linear-gradient(rgba(7, 11, 24, 0.72), rgba(7, 11, 24, 0.72)) padding-box,
    linear-gradient(120deg, #ff5b40, #ffe45e, #6dffa8, #65d8ff, #ff5b40) border-box;
  background-size: 100% 100%, 280% 100%;
  box-shadow:
    0 1rem 2.4rem rgba(0, 0, 0, 0.32),
    0 0 1.35rem rgba(101, 216, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  cursor: pointer;
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
  animation: border-flow 6s linear infinite;
}

.email-copy::before {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  content: "";
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 34%,
      rgba(255, 255, 255, 0.16) 47%,
      transparent 60%,
      transparent 100%
    );
  transform: translateX(-125%);
  pointer-events: none;
  animation: sheen 4.8s ease-in-out infinite;
}

.email-copy:hover,
.email-copy:focus-visible {
  box-shadow:
    0 1.1rem 2.6rem rgba(0, 0, 0, 0.38),
    0 0 1.6rem rgba(100, 222, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.email-copy:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.78);
  outline-offset: 4px;
}

.email-copy__text {
  position: relative;
  z-index: 1;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 750;
  letter-spacing: 0;
}

.email-copy__icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  place-items: center;
  border-radius: 50%;
  color: #dbe8ff;
  background: rgba(255, 255, 255, 0.1);
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.email-copy:hover .email-copy__icon,
.email-copy:focus-visible .email-copy__icon,
.email-copy.is-copied .email-copy__icon {
  color: #9bffd1;
  background: rgba(155, 255, 209, 0.14);
}

.email-copy__icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.email-copy__status {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.75rem);
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.45rem;
  color: #9bffd1;
  background: rgba(8, 12, 27, 0.88);
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.32);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, 0.35rem);
  opacity: 0;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.email-copy__status::after {
  position: absolute;
  left: 50%;
  bottom: -0.32rem;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  content: "";
  background: rgba(8, 12, 27, 0.88);
  transform: translateX(-50%) rotate(45deg);
}

.email-copy__status:empty {
  display: none;
}

.email-copy.is-copied .email-copy__status {
  opacity: 1;
  transform: translate(-50%, 0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes drift {
  to {
    background-position: 860px 520px, 640px 780px;
  }
}

@keyframes border-flow {
  to {
    background-position: 0 0, 280% 0;
  }
}

@keyframes sheen {
  0%,
  28% {
    transform: translateX(-125%);
  }

  48%,
  100% {
    transform: translateX(125%);
  }
}

@media (max-width: 42rem) {
  body {
    overflow: auto;
  }

  .landing {
    padding: 1.25rem;
  }

  .content {
    gap: 1.25rem;
  }

  .logo {
    width: min(100%, 26rem);
  }
}

@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;
  }
}
