:root {
  --black: #02040a;
  --white: #f7fbff;
  --muted: rgba(231, 240, 255, 0.6);
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #55f5ff;
  --blue: #526cff;
  --violet: #8657ff;
  --logo-rest-y: clamp(2.25rem, 7vh, 4.5rem);
  --logo-rest-scale: 0.52;
  --page-pad: clamp(1.25rem, 4vw, 4rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.ambient,
.ambient > *,
.cosmic-image img {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ambient {
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(16, 25, 65, 0.22), transparent 48%),
    var(--black);
}

.cosmic-image {
  overflow: hidden;
  opacity: 0.74;
  filter: saturate(1.08) contrast(1.04) brightness(0.78);
}

.cosmic-image img {
  object-fit: cover;
  object-position: center 56%;
  transform: scale(1.08);
  animation: cosmic-breathe 28s ease-in-out infinite alternate;
}

.glow {
  border-radius: 50%;
  filter: blur(72px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.glow-cyan {
  inset: auto auto -24vmax -20vmax;
  width: 66vmax;
  height: 66vmax;
  opacity: 0.3;
  background: radial-gradient(circle, rgba(61, 237, 255, 0.62), transparent 68%);
  animation: cyan-drift 24s ease-in-out infinite alternate;
}

.glow-blue {
  inset: 45% auto auto 36%;
  width: 42vmax;
  height: 34vmax;
  opacity: 0.17;
  background: radial-gradient(circle, rgba(58, 92, 255, 0.8), transparent 70%);
  animation: blue-drift 31s ease-in-out infinite alternate;
}

.glow-violet {
  inset: 18% -24vmax auto auto;
  width: 62vmax;
  height: 62vmax;
  opacity: 0.27;
  background: radial-gradient(circle, rgba(126, 65, 255, 0.68), transparent 70%);
  animation: violet-drift 27s ease-in-out infinite alternate;
}

#particles {
  z-index: 2;
  opacity: 0.7;
}

.vignette {
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(2, 4, 10, 0.58) 0%, transparent 26%, rgba(2, 4, 10, 0.36) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(2, 4, 10, 0.58) 100%);
}

.hero {
  position: relative;
  z-index: 5;
  display: grid;
  min-height: 100svh;
  padding: 0 var(--page-pad) max(5.5rem, env(safe-area-inset-bottom));
  overflow: hidden;
}

.intro-mark {
  position: absolute;
  z-index: 4;
  top: 50svh;
  left: 50%;
  width: clamp(11rem, 18vw, 15.75rem);
  aspect-ratio: 1;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.08);
  transform-origin: 50% 0;
  filter: blur(7px) drop-shadow(0 0 36px rgba(80, 213, 255, 0.26));
  will-change: top, transform, opacity, filter;
  animation: mark-rise 1.3s var(--ease-out) 0.25s forwards;
}

.intro-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-content {
  align-self: start;
  justify-self: center;
  width: min(100%, 46rem);
  padding-top: clamp(10.5rem, 24vh, 14rem);
  text-align: center;
}

.brand-name {
  margin: 0 0 clamp(1.9rem, 4.5vh, 3.5rem);
  padding-left: 0.78em;
  color: rgba(245, 250, 255, 0.78);
  font-size: clamp(0.66rem, 0.8vw, 0.76rem);
  font-weight: 600;
  letter-spacing: 0.78em;
  line-height: 1;
}

.headline {
  max-width: 13ch;
  margin: 0 auto;
  background: linear-gradient(112deg, #ffffff 15%, #edf9ff 52%, #d9ddff 88%);
  background-clip: text;
  color: transparent;
  font-size: clamp(2.55rem, 5.4vw, 5rem);
  font-weight: 420;
  letter-spacing: -0.058em;
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 0 48px rgba(200, 230, 255, 0.06);
}

.tagline {
  margin: clamp(1.25rem, 3vh, 2rem) 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.16rem);
  font-weight: 350;
  letter-spacing: 0.01em;
}

.notify-form {
  width: min(100%, 34rem);
  min-height: 5.7rem;
  margin: clamp(1.8rem, 4.4vh, 3rem) auto 0;
}

.input-shell {
  display: flex;
  gap: 0.5rem;
  padding: 0.38rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(6, 10, 24, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.input-shell:focus-within {
  border-color: rgba(103, 220, 255, 0.48);
  background: rgba(8, 13, 31, 0.8);
  box-shadow:
    0 0 0 3px rgba(78, 198, 255, 0.08),
    0 22px 72px rgba(0, 0, 0, 0.28);
}

.input-shell input {
  width: 100%;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  font-size: 0.93rem;
}

.input-shell input::placeholder {
  color: rgba(228, 237, 255, 0.38);
}

.input-shell button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.05rem;
  padding: 0.7rem 1.18rem;
  border: 0;
  border-radius: 0.72rem;
  color: #030813;
  background: linear-gradient(115deg, #dffcff, #ffffff 48%, #dfe3ff);
  box-shadow:
    0 8px 25px rgba(95, 220, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.input-shell button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 11px 30px rgba(95, 220, 255, 0.23),
    inset 0 1px 0 #ffffff;
}

.input-shell button:active {
  transform: translateY(0);
}

.input-shell button:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.input-shell button:focus-visible,
.social-links a:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.button-arrow {
  font-size: 1rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.input-shell button:hover .button-arrow {
  transform: translate(2px, -2px);
}

.form-status {
  min-height: 1.2rem;
  margin: 0.7rem 0 0;
  color: rgba(221, 235, 255, 0.62);
  font-size: 0.76rem;
}

.form-status.is-error {
  color: #ffb7ca;
}

.form-status.is-success {
  color: rgba(142, 247, 223, 0.82);
}

.form-note {
  margin: 0.15rem 0 0;
  color: rgba(224, 235, 255, 0.3);
  font-size: 0.65rem;
  letter-spacing: 0.035em;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem clamp(1rem, 2.4vw, 1.75rem);
  margin-top: clamp(1rem, 2.5vh, 1.6rem);
}

.social-links a {
  position: relative;
  padding: 0.25rem 0;
  color: rgba(229, 238, 255, 0.5);
  font-size: 0.7rem;
  font-weight: 540;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.social-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}

.social-links a:hover {
  color: rgba(255, 255, 255, 0.92);
}

.social-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-footer {
  position: absolute;
  right: var(--page-pad);
  bottom: max(1.4rem, env(safe-area-inset-bottom));
  left: var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  color: rgba(224, 235, 255, 0.28);
  font-size: 0.62rem;
  font-weight: 540;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer a {
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: rgba(255, 255, 255, 0.72);
}

.footer-dot {
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 10px rgba(96, 212, 255, 0.6);
}

.reveal {
  opacity: 0;
  transform: translateY(1.15rem);
  will-change: transform, opacity;
  animation: content-reveal 0.85s var(--ease-out) forwards;
}

.reveal-brand {
  animation-delay: 1.62s;
}

.reveal-headline {
  animation-delay: 1.8s;
}

.reveal-tagline {
  animation-delay: 1.98s;
}

.reveal-form {
  animation-delay: 2.16s;
}

.reveal-social {
  animation-delay: 2.36s;
}

.reveal-footer {
  animation-delay: 2.46s;
}

.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 mark-rise {
  0% {
    top: 50svh;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.08);
    filter: blur(7px) drop-shadow(0 0 36px rgba(80, 213, 255, 0.2));
  }

  16% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 0 42px rgba(80, 213, 255, 0.28));
  }

  36% {
    top: 50svh;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    top: var(--logo-rest-y);
    opacity: 1;
    transform: translate(-50%, 0) scale(var(--logo-rest-scale));
    filter: blur(0) drop-shadow(0 0 30px rgba(80, 213, 255, 0.2));
  }
}

@keyframes content-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cosmic-breathe {
  from {
    transform: scale(1.08) translate3d(-0.8%, 0, 0);
  }

  to {
    transform: scale(1.15) translate3d(1.1%, -1.2%, 0);
  }
}

@keyframes cyan-drift {
  from {
    transform: translate3d(-4%, 2%, 0) scale(0.92);
  }

  to {
    transform: translate3d(20%, -12%, 0) scale(1.15);
  }
}

@keyframes blue-drift {
  from {
    transform: translate3d(-12%, 8%, 0) scale(1);
  }

  to {
    transform: translate3d(13%, -14%, 0) scale(1.22);
  }
}

@keyframes violet-drift {
  from {
    transform: translate3d(5%, -8%, 0) scale(1.06);
  }

  to {
    transform: translate3d(-18%, 12%, 0) scale(0.9);
  }
}

@media (max-width: 640px) {
  :root {
    --logo-rest-y: max(1.75rem, env(safe-area-inset-top));
    --logo-rest-scale: 0.47;
    --page-pad: 1.15rem;
  }

  .hero {
    padding-bottom: max(5rem, calc(env(safe-area-inset-bottom) + 4rem));
  }

  .intro-mark {
    width: clamp(9.5rem, 44vw, 11.5rem);
  }

  .hero-content {
    width: 100%;
    padding-top: clamp(8.75rem, 19vh, 10.75rem);
  }

  .brand-name {
    margin-bottom: clamp(1.5rem, 4vh, 2.35rem);
    font-size: 0.62rem;
    letter-spacing: 0.63em;
  }

  .headline {
    font-size: clamp(2.15rem, 11.5vw, 3.2rem);
    line-height: 0.97;
  }

  .tagline {
    font-size: 0.95rem;
  }

  .notify-form {
    min-height: 9.6rem;
    margin-top: 1.7rem;
  }

  .input-shell {
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.42rem;
    border-radius: 0.95rem;
  }

  .input-shell input {
    min-height: 3rem;
    text-align: center;
  }

  .input-shell button {
    width: 100%;
  }

  .social-links {
    gap: 0.6rem 1.05rem;
    margin-top: 0.6rem;
  }

  .social-links a {
    font-size: 0.64rem;
    letter-spacing: 0.13em;
  }

  .site-footer {
    bottom: max(1.15rem, env(safe-area-inset-bottom));
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }

  .cosmic-image img {
    object-position: 52% 58%;
  }

  .glow {
    filter: blur(52px);
  }
}

@media (max-height: 720px) and (min-width: 641px) {
  :root {
    --logo-rest-y: 1.25rem;
    --logo-rest-scale: 0.42;
  }

  .hero-content {
    padding-top: 7.8rem;
  }

  .brand-name {
    margin-bottom: 1.35rem;
  }

  .headline {
    font-size: clamp(2.35rem, 6.6vh, 3.55rem);
  }

  .tagline {
    margin-top: 0.95rem;
  }

  .notify-form {
    margin-top: 1.3rem;
  }

  .social-links {
    margin-top: 0.5rem;
  }
}

@media (max-height: 520px) and (min-width: 641px) {
  .hero {
    padding-bottom: 0.75rem;
  }

  .site-footer {
    display: none;
  }
}

@media (max-height: 690px) and (max-width: 640px) {
  :root {
    --logo-rest-y: 0.8rem;
    --logo-rest-scale: 0.39;
  }

  .hero {
    min-height: 43rem;
  }

  .hero-content {
    padding-top: 7.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }

  .intro-mark {
    top: var(--logo-rest-y);
    opacity: 1;
    transform: translate(-50%, 0) scale(var(--logo-rest-scale));
    filter: drop-shadow(0 0 30px rgba(80, 213, 255, 0.2));
  }

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