
.form-shell {
  width: min(90vw, 640px);
  margin: 0 auto;
  padding: 2.1rem 0 4rem;
}

.form-shell h1 {
  margin: 0 0 1.5rem;
  font-size: 1.3rem;
  font-weight: 500;
}

.form-grid {
  display: grid;
  gap: .9rem;
}

.form-grid label {
  display: grid;
  gap: .25rem;
  font-size: .84rem;
}

.form-grid input[type="text"] {
  width: min(100%, 29rem);
  height: 2.15rem;
}

.form-grid input[type="password"] {
  width: 6.2rem;
  height: 2.15rem;
}

.form-grid input,
.form-grid textarea {
  border: 1px solid #c9c9c9;
  border-radius: 0;
  background: #fff;
  color: #222;
  padding: .3rem .55rem;
  line-height: 1.35;
}

.form-grid textarea {
  width: 100%;
  height: 6.2rem;
  min-height: 4.8rem;
  resize: vertical;
}

.check-row {
  grid-template-columns: 1.15rem 1fr;
  align-items: center;
  gap: .55rem !important;
  margin-top: .15rem;
}

.check-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  padding: 0;
  border: 1px solid #888;
  background: #fff;
  display: grid;
  place-content: center;
}

.check-row input[type="checkbox"]::after {
  content: "";
  width: .55rem;
  height: .3rem;
  border-left: 2px solid #222;
  border-bottom: 2px solid #222;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
}

.check-row input[type="checkbox"]:checked::after {
  transform: rotate(-45deg) scale(1);
}

button {
  justify-self: start;
  min-width: 7rem;
  border: 1px solid #888;
  border-radius: 0;
  background: transparent;
  color: #222;
  padding: .38rem .85rem;
  line-height: 1.35;
}

.prototype-note {
  margin-top: 1.4rem;
  color: #777;
  font-size: .76rem;
}

@media (max-width: 520px) {
  .form-shell {
    width: 90vw;
  }

  .form-grid input[type="text"] {
    width: 88%;
  }

  .form-grid input[type="password"] {
    width: 6.2rem;
  }
}
