.register-card {
  width: min(100%, 720px);
  padding: 34px 38px;
}

.register-card h2 {
  font-size: 34px;
}

.register-card .subtitle {
  margin-bottom: 22px;
}

.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  min-width: 0;
}

.register-card label {
  margin-top: 0;
}

.register-card .register-grid + label {
  margin-top: 16px;
}

.password-grid {
  margin-top: 16px;
}

.register-card select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d7e0ea;
  border-radius: 11px;
  background: #fff;
  color: #0c2950;
}

.registration-plans {
  margin-bottom: 22px;
}

.registration-plans-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
  color: #0c2950;
}

.registration-plans-heading span {
  color: #087a60;
  font-size: 12px;
  font-weight: 700;
}

#registration-plan-list {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.registration-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #d9e3ec;
  border-radius: 15px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.registration-plan:hover {
  transform: translateY(-2px);
  border-color: #33d0a1;
}

.registration-plan.selected {
  border-color: #16b98a;
  box-shadow:
    0 0 0 2px rgba(22, 185, 138, .13);
  background:
    linear-gradient(145deg, #fff, #f0fcf8);
}

.registration-plan.featured {
  border-color: rgba(22, 185, 138, .5);
}

.registration-plan.unavailable {
  cursor: not-allowed;
  opacity: .58;
  transform: none;
}

.registration-plan input {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 17px;
  height: 17px;
  accent-color: #16b98a;
}

.plan-name {
  padding-right: 22px;
  color: #0c2950;
  font-size: 14px;
  font-weight: 800;
}

.registration-plan strong {
  color: #087a60;
  font-size: 17px;
}

.registration-plan small,
.registration-plan em {
  color: #63758a;
  font-size: 11px;
  font-style: normal;
  line-height: 1.45;
}

.plan-tag {
  align-self: flex-start;
  padding: 4px 7px;
  border-radius: 999px;
  background: #087a60;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.founder-availability {
  color: #087a60;
  font-size: 10px;
  font-weight: 700;
}

.plan-trial-note {
  margin: 10px 0 0;
  color: #63758a;
  font-size: 11px;
  line-height: 1.5;
}

.terms-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px !important;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.terms-line input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--green);
}

.register-card .form-error {
  margin-top: 8px;
}

.register-card .signup {
  margin: 14px 0 10px;
}

.register-card .secure-note {
  padding-top: 11px;
}

body {
  overflow: hidden;
}

.login-shell {
  height: 100dvh;
  min-height: 0;
}

.login-panel {
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  align-items: flex-start;
  padding-top: 24px;
  padding-bottom: 24px;
}

.login-panel .register-card {
  flex: none;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  margin: auto 0;
  overflow: visible !important;
}

@media (max-height: 760px) and (min-width: 901px) {
  .register-card {
    padding-top: 24px;
    padding-bottom: 22px;
  }

  .register-card .subtitle {
    margin-bottom: 15px;
  }

  .register-card input:not([type=checkbox]):not([type=radio]) {
    height: 48px;
  }

  .password-grid,
  .register-card .register-grid + label,
  .terms-line {
    margin-top: 12px !important;
  }
}

@media (max-width: 1100px) {
  #registration-plan-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body {
    overflow-y: auto;
  }

  .login-shell {
    height: auto;
    min-height: 100dvh;
  }

  .login-panel {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .register-card {
    padding: 28px 30px;
  }

  .register-card .mobile-logo {
    margin-bottom: 20px;
  }
}

@media (max-width: 560px) {
  .register-card {
    padding: 24px 22px;
  }

  .register-card h2 {
    font-size: 29px;
  }

  .register-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .password-grid {
    margin-top: 14px;
  }

  .register-card .register-grid + label {
    margin-top: 14px;
  }

  .register-card input:not([type=checkbox]):not([type=radio]) {
    height: 48px;
  }

  .terms-line {
    margin-top: 13px !important;
  }

  .register-card .mobile-logo {
    margin-bottom: 24px;
  }

  .register-card .subtitle {
    margin-bottom: 18px;
  }

  .registration-plans-heading {
    flex-direction: column;
  }
}