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

:root {
  --void: #050505;
  --signal: #1ed760;
  --signal-soft: rgba(30, 215, 96, 0.14);
  --signal-glow: rgba(30, 215, 96, 0.4);
  --text: #f4f4f5;
  --muted: rgba(244, 244, 245, 0.5);
  --border: rgba(255, 255, 255, 0.09);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  height: 100%;
  font-family: "Manrope", system-ui, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 450;
  background: var(--void);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

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

.float-mark {
  position: absolute;
  color: var(--signal);
  opacity: 0.1;
  width: clamp(48px, 12vw, 112px);
  height: auto;
}

.float-a {
  left: 7%;
  top: 13%;
  animation: drift-a 26s ease-in-out infinite;
}

.float-b {
  right: 9%;
  top: 21%;
  width: clamp(38px, 9vw, 88px);
  opacity: 0.08;
  animation: drift-b 32s ease-in-out infinite;
  animation-delay: -7s;
}

.float-c {
  left: 16%;
  bottom: 15%;
  width: clamp(34px, 8vw, 80px);
  opacity: 0.07;
  animation: drift-c 21s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes drift-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(4vw, -5vh, 0) rotate(7deg);
  }
}

@keyframes drift-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-5vw, 4vh, 0) rotate(-9deg);
  }
}

@keyframes drift-c {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(3vw, 3vh, 0) scale(1.05);
  }
}

.glow {
  pointer-events: none;
  position: fixed;
  z-index: 1;
  border-radius: 50%;
  filter: blur(88px);
}

.glow-top {
  top: -22%;
  left: 50%;
  width: min(88vw, 680px);
  height: min(48vh, 400px);
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(30, 215, 96, 0.12), transparent 64%);
}

.glow-bottom {
  bottom: -18%;
  right: -8%;
  width: min(68vw, 440px);
  height: min(38vh, 300px);
  background: radial-gradient(ellipse, rgba(30, 215, 96, 0.05), transparent 72%);
}

.shell {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-left: clamp(1.5rem, 4vw, 2.75rem);
  padding-right: clamp(1.5rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.75rem);
  padding-top: 0;
}

.center-stage {
  flex: 1;
  display: flex;
  width: 100%;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: max(env(safe-area-inset-top, 0px), clamp(0.75rem, 3vh, 1.75rem));
}

.hero {
  flex: 0 0 auto;
  display: flex;
  width: 100%;
  max-width: min(36rem, 100%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.title {
  margin: 0;
  width: 100%;
  font-size: clamp(2.125rem, 7vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.16;
  font-family: "Manrope", system-ui, sans-serif;
}

.typewriter-wrap {
  display: block;
  min-height: clamp(3.75rem, 11vh, 6rem);
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.title-typewriter {
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.title-typewriter.tw-line {
  color: rgba(244, 244, 245, 0.92);
}

.title-typewriter.tw-accent {
  font-size: 0.92em;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--signal);
}

.title-typewriter.tw-static {
  display: block;
}

.title-typewriter.tw-static .tw-line {
  display: block;
  color: rgba(244, 244, 245, 0.92);
}

.title-typewriter.tw-static .tw-accent {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.92em;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--signal);
}

.type-caret {
  display: inline-block;
  width: 0.055em;
  margin-left: 0.06em;
  border-radius: 1px;
  color: var(--signal);
  font-weight: 600;
  animation: caret-blink 0.95s step-end infinite;
  vertical-align: -0.05em;
}

.type-caret::before {
  content: "|";
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

.lead {
  margin: 0;
  font-size: 0.96875rem;
  line-height: 1.68;
  color: var(--muted);
  font-weight: 450;
  font-family: "Manrope", system-ui, sans-serif;
}

.foot {
  flex-shrink: 0;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: env(safe-area-inset-bottom, 0);
  text-align: center;
}

.rights {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(244, 244, 245, 0.28);
  font-family: "Manrope", system-ui, sans-serif;
}

.reveal {
  opacity: 0;
  animation: rise 0.8s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  z-index: 4;
  width: 380px;
  height: 380px;
  margin: -190px 0 0 -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 215, 96, 0.055) 0%, transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
  mix-blend-mode: screen;
}

.cursor-glow.is-on {
  opacity: 1;
}

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

  .aurora {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .type-caret {
    animation: none;
    opacity: 0;
  }

  .cursor-glow {
    display: none;
  }
}
