:root {
  color: #000;
  background: #f2f1f0;
  font-family: "Rubik", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  background: #f2f1f0;
}

button,
input {
  font: inherit;
}

.page {
  position: relative;
  width: 100%;
  max-width: 390px;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: #f2f1f0;
}

.copy {
  position: absolute;
  top: calc(50% - 230px);
  left: 41px;
  width: 319px;
}

h1 {
  margin: 0 0 20px;
  font-size: 32px;
  font-style: italic;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -2px;
}

.details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.2px;
}

.details p {
  margin: 0;
}

.signup {
  position: absolute;
  top: calc(50% + 140px);
  left: 41px;
  display: flex;
  width: 307px;
  flex-direction: column;
  gap: 12px;
}

.signup input[type="email"],
.signup button {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 13px;
  font-size: 20px;
  letter-spacing: -0.2px;
}

.signup input[type="email"] {
  padding: 0 16px;
  outline: 0;
  background: #fff;
  color: #000;
  font-weight: 500;
}

.signup input[type="email"]::placeholder {
  color: #bdbdbd;
  opacity: 1;
}

.signup input[type="email"]:focus-visible {
  box-shadow: 0 0 0 3px rgb(255 166 0 / 35%);
}

.signup input[type="email"][aria-invalid="true"] {
  box-shadow: 0 0 0 2px #d84646;
}

.signup button {
  cursor: pointer;
  background: #ffa600;
  color: #fff;
  font-weight: 600;
  transition:
    transform 120ms ease,
    opacity 120ms ease;
}

.signup button:hover {
  background: #f59f00;
}

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

.signup button:focus-visible {
  outline: 3px solid rgb(0 0 0 / 65%);
  outline-offset: 2px;
}

.signup button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.status {
  min-height: 18px;
  margin: -2px 2px 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.status[data-kind="success"] {
  color: #287a36;
}

.status[data-kind="error"] {
  color: #ad2f2f;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

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

@media (max-width: 389px) {
  .copy,
  .signup {
    left: 24px;
    width: calc(100% - 48px);
  }

  .design-break {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signup button {
    transition: none;
  }
}
