:root {
  --bg-color: #fdf2e9;
  --text-color: #000000;
  --c-bg-base: #fdf2e9;
  --c-bg-overlay: rgba(230, 126, 34, 0.05);
  --c-text-main: #4a2c2a;
  --c-text-muted: #8e6d6b;
  --c-accent: #e67e22;
  --c-secondary-accent: #ff7f50;
  --c-golden: #f39c12;
  --ease-fluid: cubic-bezier(0.2, 0, 0.2, 1);
  --font-sans: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Space Mono", monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  position: relative;
  overflow: hidden;
  color: var(--c-text-main);
  background-color: var(--bg-color);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background: var(--bg-color);
}

button {
  font: inherit;
}

::selection {
  color: #ffffff;
  background: #000000;
}

#landing-view {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1);
}

#main-view {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
}

.view-active #landing-view {
  transform: translateY(-100%);
}

.view-active #main-view {
  opacity: 1;
  visibility: visible;
}

#landing-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#dna-canvas-main {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1;
  width: 50vw;
  height: 100vh;
  pointer-events: none;
}

.landing-nav {
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
}

.brand-lockup {
  margin-bottom: 2rem;
  color: var(--c-accent);
  font-weight: 500;
}

.brand-lockup h1 {
  margin: 0;
  font: inherit;
}

.hero-copy {
  z-index: 10;
  max-width: 56rem;
  margin-top: auto;
  margin-bottom: 8rem;
}

.hero-copy h2 {
  margin: 0 0 2rem;
  font-weight: 500;
}

.hero-copy p {
  max-width: 32rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.join-row {
  z-index: 10;
  display: flex;
  justify-content: flex-end;
}

.waitlist-shell {
  display: flex;
  min-height: 80px;
  width: min(100%, 420px);
  align-items: flex-start;
  justify-content: flex-end;
  background: transparent;
}

.waitlist-reveal {
  width: 100%;
  background: transparent;
  opacity: 0;
  animation: waitlistFadeIn 500ms var(--ease-fluid) 1.5s forwards;
}

#getWaitlistContainer {
  width: 100%;
  color: var(--c-text-main);
  background: transparent;
}

#getWaitlistContainer,
#getWaitlistContainer * {
  font-family: var(--font-mono) !important;
  text-transform: uppercase !important;
}

#getWaitlistContainer input[type="text"],
#getWaitlistContainer input[type="email"],
#getWaitlistContainer input:not([type]),
#getWaitlistContainer textarea {
  background-color: rgba(253, 242, 233, 0.65) !important;
}

@keyframes waitlistFadeIn {
  to {
    opacity: 1;
  }
}

.text-hero {
  font-size: clamp(4rem, 12vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.text-display {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  border-left: 1px solid #000000;
  background: #ffffff;
}

::-webkit-scrollbar-thumb {
  background: #000000;
}

@media (min-width: 768px) {
  .landing-nav {
    flex-direction: row;
  }

  .hero-copy {
    margin-top: 8rem;
    margin-bottom: auto;
  }

}

@media (max-width: 640px) {
  #landing-view {
    padding: 1.5rem;
  }

  .hero-copy {
    margin-bottom: 8rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }
}
