:root {
  --black: #050505;
  --white: #f8f6f2;
  --muted: rgba(248, 246, 242, 0.72);
  --line: rgba(248, 246, 242, 0.24);
  --soft: rgba(248, 246, 242, 0.1);
  --ash: rgba(248, 246, 242, 0.86);
  --charcoal: rgba(6, 6, 6, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
}

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

button,
input {
  font: inherit;
}

.landing {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -5;
  background-image: url("bg.jpeg");
  background-position: center;
  background-size: cover;
  filter: saturate(0.64) contrast(1.03) brightness(1.03);
  transform: scale(1);
  animation: slowZoom 14s ease-in-out infinite alternate;
}

.hero-bg::before,
.hero-bg::after {
  content: none;
}

.vignette {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0.28)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.06) 42%, rgba(0, 0, 0, 0.72));
}

.lava-glow {
  display: none;
}

.smoke {
  position: absolute;
  z-index: -2;
  width: 46rem;
  height: 22rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 22% 42%, rgba(255, 255, 255, 0.16), transparent 34%),
    radial-gradient(circle at 62% 52%, rgba(255, 255, 255, 0.1), transparent 38%),
    radial-gradient(circle at 82% 38%, rgba(255, 255, 255, 0.07), transparent 30%);
  filter: blur(26px);
  opacity: 0.78;
  mix-blend-mode: screen;
}

.smoke-one {
  left: -14rem;
  top: 10%;
  animation: driftSmoke 8s ease-in-out infinite alternate;
}

.smoke-two {
  right: -18rem;
  top: 36%;
  opacity: 0.46;
  animation: driftSmoke 11s ease-in-out infinite alternate-reverse;
}

.content {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.2rem, 3vw, 2.6rem);
}

.brand {
  position: absolute;
  top: clamp(2rem, 3.4vw, 3rem);
  left: clamp(1.5rem, 3vw, 2.6rem);
  width: fit-content;
}

.brand-wordmark {
  width: clamp(7.2rem, 8vw, 9.4rem);
  height: auto;
  display: block;
  object-fit: contain;
  filter: invert(1) brightness(1.55) drop-shadow(0 0 1.4rem rgba(255, 255, 255, 0.12));
}

.hero-stack {
  position: absolute;
  top: 50%;
  right: clamp(8rem, 18vw, 22rem);
  width: clamp(26rem, 34vw, 37rem);
  transform: translateY(-50%);
}

.copy {
  width: 100%;
  max-width: 43rem;
  margin: 0;
  padding: 0 0 clamp(1.15rem, 2.2vw, 1.7rem);
}

.headline {
  max-width: 11.8ch;
  margin: 0;
  font-size: clamp(3rem, 5.2vw, 5.6rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow:
    0 0 1.4rem rgba(255, 255, 255, 0.1),
    0 1.2rem 3rem rgba(0, 0, 0, 0.54);
}

.subhead {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.5vw, 1.18rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.55;
  text-transform: uppercase;
}

.notify {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100%, 34rem);
  padding-bottom: 0;
}

.newsletter-message {
  display: none;
  width: min(100%, 34rem);
  margin: 0 0 0.8rem;
  border: 1px solid rgba(248, 246, 242, 0.22);
  border-radius: 8px;
  padding: 0.78rem 0.95rem;
  background: rgba(5, 5, 5, 0.56);
  color: rgba(248, 246, 242, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
  backdrop-filter: blur(10px);
}

.newsletter-message.is-visible {
  display: block;
}

#success-message {
  border-color: rgba(19, 206, 102, 0.48);
}

#error-message {
  border-color: rgba(255, 73, 73, 0.54);
}

.launch-status {
  position: relative;
  width: fit-content;
  margin: 0 0 1.15rem;
  padding-left: 3.2rem;
  color: rgba(248, 246, 242, 0.9);
  font-size: clamp(0.68rem, 0.82vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.launch-status::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.35rem;
  height: 1px;
  background: rgba(248, 246, 242, 0.78);
  transform: translateY(-50%);
  animation: linePulse 2.4s ease-in-out infinite;
}

.email-box {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 3.35rem;
  border: 1px solid rgba(248, 246, 242, 0.34);
  border-radius: 999px;
  background: rgba(248, 246, 242, 0.075);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 1.2rem 2.4rem rgba(0, 0, 0, 0.14);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.email-box:focus-within {
  border-color: rgba(248, 246, 242, 0.62);
  background: rgba(248, 246, 242, 0.11);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 1.2rem 2.8rem rgba(0, 0, 0, 0.2);
}

.corner-note {
  position: absolute;
  left: clamp(1.2rem, 3vw, 2.6rem);
  bottom: clamp(1.2rem, 3vw, 2.6rem);
  display: grid;
  gap: 0.72rem;
  max-width: 24rem;
  color: rgba(248, 246, 242, 0.72);
}

.corner-note p {
  margin: 0;
  font-size: clamp(0.66rem, 0.9vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.56rem;
}

.social-links a {
  border: 1px solid rgba(248, 246, 242, 0.22);
  border-radius: 999px;
  padding: 0.52rem 0.72rem;
  background: rgba(5, 5, 5, 0.36);
  color: rgba(248, 246, 242, 0.82);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.social-links a:hover {
  border-color: rgba(248, 246, 242, 0.5);
  background: rgba(248, 246, 242, 0.1);
  color: var(--white);
}

.email-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 1.05rem 1.25rem;
  background: transparent;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

.email-box input::placeholder {
  color: rgba(248, 246, 242, 0.48);
}

.email-box button {
  flex: 0 0 auto;
  min-height: 100%;
  border: 0;
  margin: 0.28rem;
  border-radius: 999px;
  padding: 0.86rem 1.5rem;
  background: linear-gradient(135deg, #ff493d, #e72f26);
  color: var(--white);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: -0.9rem 0 1.8rem rgba(0, 0, 0, 0.12);
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.email-box button:hover {
  filter: brightness(1.08);
  box-shadow: -0.9rem 0 2rem rgba(0, 0, 0, 0.18);
}

.email-box button:active {
  transform: scale(0.98);
}

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

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  animation: revealUp 950ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal-one { animation-delay: 120ms; }
.reveal-two { animation-delay: 360ms; }
.reveal-three { animation-delay: 520ms; }
.reveal-four { animation-delay: 720ms; }
.reveal-five { animation-delay: 940ms; }

@keyframes slowZoom {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.045) translate3d(0.75rem, -0.35rem, 0);
  }
}

@keyframes driftSmoke {
  from {
    transform: translate3d(-3rem, 0, 0) scale(0.92);
  }
  to {
    transform: translate3d(8rem, -2.4rem, 0) scale(1.16);
  }
}

@keyframes linePulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(-50%) scaleX(0.68);
    transform-origin: left center;
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
    transform-origin: left center;
  }
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .hero-bg {
    inset: 0;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    filter: saturate(0.5) contrast(1.04) brightness(0.74);
    transform: none;
    animation: none;
  }

  .hero-bg::before,
  .hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .hero-bg::before {
    background: rgba(5, 5, 5, 0.46);
    backdrop-filter: blur(14px);
  }

  .hero-bg::after {
    background-image: url("bg.jpeg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: min(112vw, 34rem) auto;
    filter: saturate(0.84) contrast(1.04) brightness(1.08);
  }

  .vignette {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.1) 22%, rgba(0, 0, 0, 0.72) 54%, rgba(0, 0, 0, 0.96) 82%),
      radial-gradient(circle at 50% 14%, rgba(248, 246, 242, 0.12), transparent 38%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.34));
  }

  .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(0.95rem, 4.8vw, 1.25rem);
  }

  .brand {
    position: relative;
    top: auto;
    left: auto;
  }

  .brand-wordmark {
    width: clamp(6.2rem, 28vw, 7.6rem);
  }

  .hero-stack {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    padding-top: clamp(13rem, 45svh, 20rem);
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    transform: none;
  }

  .copy {
    padding-bottom: 0.95rem;
  }

  .headline {
    max-width: min(100%, 22rem);
    font-size: clamp(2.25rem, 9.4vw, 3.2rem);
    line-height: 0.94;
  }

  .subhead {
    max-width: 20rem;
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .notify {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0.72rem;
  }

  .launch-status {
    margin-bottom: 0.85rem;
    padding-left: 2.5rem;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-align: left;
  }

  .launch-status::before {
    width: 1.75rem;
  }

  .email-box {
    min-width: 0;
    width: 100%;
    min-height: 3.2rem;
  }

  .email-box input {
    padding: 0.92rem 1rem;
    font-size: 0.82rem;
  }

  .email-box button {
    padding: 0.9rem 1rem;
    font-size: 0.66rem;
  }

  .smoke {
    display: none;
  }

  .corner-note {
    position: static;
    margin-top: 1rem;
    gap: 0.6rem;
  }

  .corner-note p {
    max-width: 18rem;
    font-size: 0.62rem;
  }
}

@media (max-width: 420px) {
  .hero-bg::after {
    background-size: 124vw auto;
  }

  .hero-stack {
    padding-top: clamp(12rem, 43svh, 17rem);
  }

  .headline {
    font-size: clamp(2.1rem, 9vw, 2.55rem);
  }

  .email-box {
    border-radius: 999px;
  }

  .email-box button {
    padding-inline: 0.8rem;
    font-size: 0.62rem;
  }
}
