/* Editable styles from the published Hactually site. */
@font-face  {
  font-family: Ezra;
  src: url('../assets/fonts/Ezra-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face  {
  font-family: Ezra;
  src: url('../assets/fonts/Ezra-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #202020;
  --cream: #f4ebdf;
  --lavender: #b9b0df;
  --peach: #f3c3ae;
  --coral: #f3c3ae;
  --mint: #afe1c7;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: Ezra,Arial,sans-serif;
  font-synthesis: none;
  overflow-x: hidden;
}

button {
  font: inherit;
}

input {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--coral);
  color: var(--ink);
}

.site-shell {
  min-height: 100svh;
  background: var(--ink);
}

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.78) contrast(1.06) brightness(.72);
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg,rgba(7,8,10,.3),rgba(7,8,10,.04) 42%,rgba(7,8,10,.6));
}

.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: clamp(28px,6vw,96px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(74px,12vw,190px);
  line-height: .8;
  letter-spacing: -.065em;
  font-weight: 700;
  text-shadow: 0 6px 35px rgba(0,0,0,.26);
}

.hero h1 span {
  display: block;
  color: var(--lavender);
}

.waitlist-content {
  min-height: 100svh;
  padding: clamp(54px,8vw,120px) clamp(20px,7vw,112px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.waitlist-content>h2 {
  margin: 0;
  font-size: clamp(70px,12vw,182px);
  line-height: .78;
  letter-spacing: -.068em;
  text-shadow: 0 6px 35px rgba(0,0,0,.3);
}

.waitlist-form {
  width: min(790px,100%);
  margin-top: clamp(42px,6vw,72px);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  text-align: left;
}

.waitlist-form label {
  min-width: 0;
  padding: 13px 20px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 20px;
  background: rgba(14,14,16,.58);
  backdrop-filter: blur(16px);
}

.waitlist-form label span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,244,232,.56);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: none;
}

.waitlist-form input {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cream);
  font-size: 16px;
}

.waitlist-form input::placeholder {
  color: rgba(255,244,232,.48);
}

.waitlist-form button {
  min-width: 126px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(110deg,var(--lavender),var(--peach) 54%,var(--coral));
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  transition: transform .25s ease,filter .25s ease;
}

.waitlist-form button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.waitlist-form button:disabled {
  opacity: .6;
}

.form-error {
  grid-column: 1/-1;
  margin: 8px 0 0 !important;
  color: #ffb2ad;
  font-size: 14px !important;
  text-align: center;
}

.success-card {
  width: min(620px,100%);
  margin-top: 58px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 28px;
  background: rgba(14,14,16,.64);
  backdrop-filter: blur(18px);
}

.success-card span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.success-card p {
  margin: 16px 0 0;
  font-size: 20px;
}

@media (max-width:900px) {
  .waitlist-form {
    grid-template-columns: 1fr 1fr;
  }

  .waitlist-form button {
    grid-column: 1/-1;
    min-height: 62px;
  }

}

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

  .hero-video {
    object-position: center;
  }

  .hero-copy {
    padding: 24px 18px;
  }

  .hero h1 {
    font-size: clamp(68px,22vw,102px);
    line-height: .82;
  }

  .waitlist-content {
    padding: 56px 20px;
  }

  .waitlist-content>h2 {
    font-size: clamp(68px,21vw,96px);
    line-height: .8;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .waitlist-form button {
    grid-column: auto;
    min-height: 62px;
  }

}

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

  .waitlist-form button {
    transition: none;
  }

}

