:root {
  color: #f1f1ed;
  background: #050606;
  font-family: "IBM Plex Mono", "Azeret Mono", "SFMono-Regular", Consolas, monospace;
  font-synthesis: none;
  --acid: #dfff00;
  --acid-strong: #e9ff00;
}

* {
  box-sizing: border-box;
}

html {
  background: #050606;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #050606;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.launch-page {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
}

.hero-background,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-background {
  z-index: -2;
  background-image: url("/assets/industrial-hero.webp");
  background-position: center;
  background-size: cover;
  filter: contrast(1.08) saturate(0.7);
  transform: scale(1.015);
}

.hero-shade {
  z-index: -1;
  background: rgba(0, 0, 0, 0.42);
}

.site-header {
  position: absolute;
  z-index: 2;
  top: clamp(28px, 4.8vw, 72px);
  left: clamp(24px, 4.8vw, 72px);
}

.wordmark {
  color: var(--acid);
  font-size: clamp(14px, 1.28vw, 20px);
  line-height: 1;
  letter-spacing: -0.05em;
  text-decoration: none;
  transition: color 160ms ease;
}

.wordmark:hover {
  color: #fff;
}

.hero {
  width: min(100% - 48px, 1000px);
  margin-left: clamp(24px, 17.7vw, 272px);
  padding-top: clamp(150px, 20vh, 222px);
  padding-bottom: clamp(38px, 7vh, 78px);
}

.eyebrow {
  margin: 0 0 clamp(22px, 3.1vh, 34px);
  color: var(--acid);
  font-size: clamp(13px, 1.34vw, 21px);
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0;
  color: var(--acid-strong);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(58px, 7.6vw, 116px);
  font-weight: 800;
  line-height: 0.89;
  letter-spacing: -0.075em;
}

.intro {
  margin: clamp(28px, 3.9vh, 42px) 0 18px;
  color: #efefec;
  font-size: clamp(16px, 1.48vw, 23px);
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.waitlist-form,
.success-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.95fr);
  width: min(100%, 1000px);
  min-height: 92px;
  border: 1px solid var(--acid);
  background: rgba(3, 4, 4, 0.74);
}

.email-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.email-wrap input {
  width: 100%;
  height: 100%;
  min-height: 90px;
  border: 0;
  outline: 0;
  padding: 0 32px;
  color: #f7f7f0;
  background: transparent;
  font-size: clamp(17px, 1.45vw, 22px);
  caret-color: var(--acid);
}

.email-wrap input::placeholder {
  color: rgba(223, 255, 0, 0.48);
  opacity: 1;
}

.email-wrap:focus-within {
  box-shadow: inset 0 0 0 1px var(--acid);
}

.input-cursor {
  width: 1px;
  height: 24px;
  margin-left: -26px;
  background: var(--acid);
  animation: blink 1.2s steps(1) infinite;
  pointer-events: none;
}

.email-wrap:focus-within .input-cursor,
.email-wrap:has(input:not(:placeholder-shown)) .input-cursor {
  display: none;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 90px;
  border: 0;
  padding: 0 30px 0 52px;
  color: #050606;
  background: var(--acid-strong);
  font-size: clamp(17px, 1.55vw, 24px);
  font-weight: 700;
  letter-spacing: -0.04em;
  cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease;
}

.submit-button i {
  font-size: 34px;
}

.submit-button:hover {
  background: #fff;
}

.submit-button:active {
  transform: translateY(1px);
}

.submit-button:focus-visible,
.wordmark:focus-visible,
.success-panel button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.privacy-note,
.form-message {
  margin: 30px 0 0;
  color: #e8e8e4;
  font-size: clamp(12px, 1.04vw, 16px);
  line-height: 1.45;
  letter-spacing: -0.035em;
}

.form-message {
  min-height: 0;
  margin-top: 14px;
  color: var(--acid);
}

.form-message:empty {
  display: none;
}

.form-message:not(:empty) + .privacy-note {
  margin-top: 10px;
}

.success-panel {
  align-items: stretch;
  color: #050606;
  background: var(--acid-strong);
}

.success-panel > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 32px;
}

.success-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.success-email {
  margin-top: 5px;
  font-size: 12px;
}

.success-panel button {
  border: 0;
  border-left: 1px solid #050606;
  padding: 0 28px;
  color: #050606;
  background: transparent;
  cursor: pointer;
}

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

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

@media (max-width: 900px) {
  .hero-background {
    background-position: 61% center;
  }

  .hero-shade {
    background: rgba(0, 0, 0, 0.6);
  }

  .hero {
    width: calc(100% - 48px);
    margin-inline: 24px;
  }

  .waitlist-form,
  .success-panel {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 680px) {
  .launch-page {
    min-height: 100svh;
    overflow-y: auto;
  }

  .site-header {
    top: 24px;
    left: 20px;
  }

  .hero {
    width: calc(100% - 40px);
    min-height: 100svh;
    margin-inline: 20px;
    padding-top: 128px;
    padding-bottom: 32px;
  }

  .eyebrow {
    margin-bottom: 26px;
    letter-spacing: 0.2em;
  }

  h1 {
    font-size: clamp(54px, 16vw, 76px);
    line-height: 0.91;
  }

  .intro {
    max-width: 320px;
    margin-top: 30px;
  }

  .waitlist-form,
  .success-panel {
    grid-template-columns: 1fr;
  }

  .email-wrap input,
  .submit-button {
    min-height: 72px;
  }

  .submit-button {
    padding-inline: 24px;
  }

  .success-panel button {
    min-height: 62px;
    border-top: 1px solid #050606;
    border-left: 0;
  }

  .privacy-note,
  .form-message {
    max-width: 320px;
  }
}

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