/* The landing page: the live Shadow above, one quiet recess for an address below. */
#masthead {
  position: absolute;
  top: calc(var(--safe-top) + 22px);
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
}
#masthead h1 {
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.5em;
  padding-left: 0.5em;
  color: var(--ink-strong);
}
#masthead p {
  margin: 6px 0 0;
  font-style: italic;
  font-size: 17px;
  color: rgba(226, 214, 194, 0.62);
}
#landing-thought {
  transition: opacity 0.6s ease;
}
#landing-thought.fading {
  opacity: 0;
}
#waitlist {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px calc(26px + var(--safe-right))
    calc(
      (14px + var(--safe-bottom)) * (1 - var(--keyboard-progress, 0)) + 8px *
        var(--keyboard-progress, 0)
    )
    calc(26px + var(--safe-left));
  background: linear-gradient(to top, #050505 8%, #050505eb 48%, #05050500);
  will-change: transform;
}
#waitlist-form {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}
.waitlist-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 6px 5px 16px;
  background: #151817;
  border: 1px solid #a18c7133;
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 #e3cfaa0a,
    inset 0 -2px 8px #0003,
    0 6px 24px #0005;
}
.waitlist-line:focus-within {
  border-color: #b078617a;
}
#waitlist-email {
  flex: 1;
  width: 0;
  min-width: 0;
  height: 52px;
  box-sizing: border-box;
  padding: 0;
  font: 500 16px/1.3 var(--serif);
  color: #d5c8b0;
  caret-color: #a76553;
  background: transparent;
  border: 0;
  outline: none;
  touch-action: manipulation;
  user-select: text;
  -webkit-user-select: text;
}
#waitlist-email::placeholder {
  color: #c1b59e;
  opacity: 1;
}
#waitlist-submit {
  flex-shrink: 0;
  min-height: 44px;
  padding: 8px 16px;
  font: 600 17px/1.2 var(--serif);
  color: #f0dcc0;
  background: linear-gradient(#683e33, #492b25);
  border: 1px solid #a46e58;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 #e3cfaa26,
    0 2px 3px #0008;
  cursor: pointer;
  touch-action: manipulation;
}
#waitlist-submit:hover:not(:disabled) {
  background: linear-gradient(#7a4a3c, #573229);
  border-color: #c78c71;
}
#waitlist-submit:active:not(:disabled) {
  background: #492b25;
  box-shadow: inset 0 2px 4px #0006;
}
#waitlist-submit:focus-visible {
  outline: 2px solid #f0dcc0;
  outline-offset: 2px;
}
#waitlist-submit:disabled {
  opacity: 0.4;
  cursor: default;
}
#waitlist-status {
  min-height: 1.4em;
  max-width: 460px;
  margin: 12px auto 0;
  text-align: center;
  font: italic 400 16px/1.4 var(--serif);
  color: #b9ad98;
}
#waitlist.joined #waitlist-form {
  display: none;
}
#waitlist.joined #waitlist-status {
  font-size: 20px;
  color: #d4bfa2;
}
.waitlist-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 420px) {
  #waitlist {
    padding-inline: calc(18px + var(--safe-left)) calc(18px + var(--safe-right));
  }
  #waitlist-submit {
    padding-inline: 10px;
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #landing-thought {
    transition: none;
  }
}
