:root {
  --paper: #ffffff;
  --ink: #000000;
  --orange: #ff5500;
  --placeholder: rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
}

body {
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button,
input {
  font: inherit;
}

.page {
  min-height: 100vh;
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  background: var(--paper);
}

.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 112px;
  background: var(--paper);
  z-index: 1;
}

.brand-shape {
  position: absolute;
  left: -8.681vw;
  top: -49.5px;
  width: 58.681vw;
  height: 999px;
  object-fit: contain;
  object-position: center;
  z-index: 2;
}

.copy-stack {
  position: absolute;
  left: 54.792vw;
  top: 190px;
  width: 43.403vw;
  max-width: 625px;
  z-index: 3;
}

h1 {
  margin: 0;
  max-width: 625px;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(86px, 7.778vw, 112px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1.09;
}

.copy-stack > p:not(.form-message) {
  margin: 31px 0 0;
  width: 535px;
  max-width: 100%;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(22px, 1.667vw, 24px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.waitlist-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 560px;
  max-width: 100%;
  height: 74px;
  margin: 41px 0 0;
  padding: 0 8px 0 34px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.10), 0 24px 70px rgba(255, 85, 0, 0.16);
}

.waitlist-form input {
  min-width: 0;
  flex: 1 1 auto;
  height: 100%;
  padding: 0 18px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.waitlist-form input::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.waitlist-form button {
  flex: 0 0 157px;
  width: 157px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  cursor: pointer;
}

.form-message {
  margin: 16px 0 0 34px;
  width: 494px;
  max-width: calc(100% - 34px);
  min-height: 25px;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

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

.form-message.is-error {
  color: var(--orange);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1099px) {
  .hero {
    min-height: 1035px;
  }

  .top-bar {
    height: 86px;
  }

  .brand-shape {
    left: 0;
    top: 53px;
    width: 100vw;
    height: 398px;
  }

  .copy-stack {
    left: 12.099vw;
    top: 526px;
    width: 75.802vw;
    max-width: 614px;
  }

  h1 {
    max-width: 614px;
    font-size: clamp(62px, 10.617vw, 86px);
    letter-spacing: -0.0744em;
    line-height: 0.925;
  }

  .copy-stack > p:not(.form-message) {
    width: 522px;
    margin-top: 33px;
    font-size: clamp(17px, 2.716vw, 22px);
    letter-spacing: -0.0327em;
    line-height: 1.35;
  }

  .waitlist-form {
    width: 560px;
    height: 74px;
    margin-top: 42px;
    padding-left: 34px;
    padding-right: 8px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.10), 0 24px 70px rgba(255, 85, 0, 0.16);
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 900px;
  }

  .top-bar {
    height: 44px;
  }

  .brand-shape {
    left: 0.256vw;
    top: 54px;
    width: 99.487vw;
    height: 301px;
  }

  .copy-stack {
    left: 7.179vw;
    top: 426px;
    width: 86.41vw;
    max-width: 337px;
  }

  h1 {
    max-width: 337px;
    font-size: 62px;
    letter-spacing: -0.0758em;
    line-height: 0.943;
  }

  .copy-stack > p:not(.form-message) {
    width: 320px;
    margin-top: 26px;
    font-size: 17px;
    letter-spacing: -0.0247em;
    line-height: 1.419;
  }

  .waitlist-form {
    display: grid;
    grid-template-rows: 58px 58px;
    width: 334px;
    height: 126px;
    margin-top: 33px;
    padding: 0 8px;
    border-radius: 31px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.10), 0 20px 58px rgba(255, 85, 0, 0.16);
  }

  .waitlist-form input {
    width: 100%;
    height: 58px;
    padding: 0 16px;
    font-size: 17px;
    letter-spacing: -0.0188em;
  }

  .waitlist-form button {
    width: 318px;
    height: 58px;
    flex-basis: auto;
    justify-self: center;
    font-size: 18px;
  }

  .form-message {
    margin: 12px 0 0 4px;
    width: 320px;
    max-width: 320px;
    font-size: 17px;
    line-height: 1.35;
  }
}
